CN101789854A - Main/standby load sharing method, device and system - Google Patents

Main/standby load sharing method, device and system Download PDF

Info

Publication number
CN101789854A
CN101789854A CN200910001967A CN200910001967A CN101789854A CN 101789854 A CN101789854 A CN 101789854A CN 200910001967 A CN200910001967 A CN 200910001967A CN 200910001967 A CN200910001967 A CN 200910001967A CN 101789854 A CN101789854 A CN 101789854A
Authority
CN
China
Prior art keywords
processing module
slave board
board side
main control
control module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910001967A
Other languages
Chinese (zh)
Other versions
CN101789854B (en
Inventor
吕杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200910001967.0A priority Critical patent/CN101789854B/en
Publication of CN101789854A publication Critical patent/CN101789854A/en
Application granted granted Critical
Publication of CN101789854B publication Critical patent/CN101789854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a main/standby load sharing method, a device and a system, relating to the data processing field. The invention solves the problem in prior art that: as only one main control board (a main board) completely works and another main control board (a standby board) is in a resource idle state basically at the same time, the band width resource is wasted. In the embodiment of the invention, the method that a main control module at the main board side carries out main/standby load sharing is as follows: a service processing module at the main board side and a service processing module at the standby board side are controlled, and synchronization and back-up information is transmitted to the main control module at the standby board side; after main/standby switch is carried out, the control of the service processing module at the original main board side and the service processing module at the original standby board side is stopped, the synchronization and back-up information of the main control module at the original standby board side is received, so as to carry out synchronization and back-up procedure. The invention is suitable for the main/standby synchronous system.

Description

The methods, devices and systems of main/standby load sharing
Technical field
The present invention relates to data processing field, relate in particular to a kind of methods, devices and systems of main/standby load sharing.
Background technology
In the present Ethernet access device, network equipment master control borad active/standby backup pattern commonly used is as shown in Figure 1: master control borad 1 and master control borad 2 backup each other on backboard, in network equipment stable operation, synchronization has only one to be mainboard, and another piece is a slave board.Master control borad mainly comprises main control module and Service Processing Module, wherein, Service Processing Module is mainly used in the processing of various Ethernet data frame formats and the forwarding of Business Stream, and main control module is used for Service Processing Module is configured port and initiates control operations such as initialization operation.The master control borad that has also comprises uplink module, is used for sending Ethernet data from the upper strata to Service Processing Module.Uplink module can be made on the same veneer or on the different veneer.Between main control module and the Service Processing Module generally based on pci interface.Active and standby network interface FE passage is arranged between mainboard and the slave board, realize data synchronization and backup between mainboard and the slave board.When mainboard goes wrong when needing protection, switch to slave board rapidly, finish masterslave switchover.
State in realization in the process of main/standby load sharing, the inventor finds that there are the following problems at least in the prior art: an only master control borad (mainboard) work of synchronization, another piece master control borad (slave board) is in the resources idle state basically, has caused the waste of bandwidth resources.
Summary of the invention
Embodiments of the invention provide a kind of method, device, system of main/standby load sharing, can effectively utilize bandwidth resources.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A kind of method of main/standby load sharing comprises:
Mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module are worked, and synchronous and backup information are sent to slave board side main control module;
After masterslave switchover took place, described mainboard side main control module stopped former mainboard side Service Processing Module and former slave board side business processing module are controlled, and received the synchronous and backup information of former slave board side main control module, carried out synchronously and backup.
A kind of method of main/standby load sharing comprises:
Slave board side main control module receives the synchronous and backup information of mainboard side main control module, carries out synchronously and backup;
After masterslave switchover took place, described slave board side main control module carried out former mainboard side Service Processing Module and the work of former slave board side business processing module, and synchronous and backup information are sent to former mainboard side main control module.
A kind of device of main/standby load sharing comprises:
The master uses processing unit: be used for control main board side business processing module and the work of slave board side business processing module, and synchronous and backup information are sent to slave board side main control module;
Standby processing unit: be used for after masterslave switchover takes place, stopping former mainboard side Service Processing Module and former slave board side business processing module are controlled, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup.
A kind of device of main/standby load sharing comprises:
Standby administrative unit: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup;
The master uses administrative unit: be used for after masterslave switchover takes place former mainboard side Service Processing Module and former slave board side business processing module being controlled, and synchronous and backup information are sent to former mainboard side main control module.
A kind of system of main/standby load sharing comprises: mainboard side main control module, slave board side main control module, mainboard side Service Processing Module and slave board side business processing module, wherein,
Mainboard side main control module: be used for mainboard side Service Processing Module and slave board side business processing module are controlled, and synchronous and backup information are sent to slave board side main control module; After masterslave switchover takes place, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup;
Slave board side main control module: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup; After masterslave switchover takes place, former mainboard side Service Processing Module and former slave board side business processing module are controlled, and synchronous and backup information are sent to former mainboard side main control module;
Mainboard side Service Processing Module: be used to carry out message and handle;
Slave board side business processing module: be used to carry out message and handle.
The method of the main/standby load sharing that the embodiment of the invention provides, device, system, by mainboard side master control module controls mainboard side Service Processing Module and the work of slave board side business processing module, can make active and standby plate side business processing module all in running order like this, effectively utilize bandwidth resources.
Description of drawings
Fig. 1 is a prior art active/standby backup mode configuration schematic diagram;
Fig. 2 carries out the method embodiment flow chart of main/standby load sharing for mainboard side main control module of the present invention;
Fig. 3 carries out the method embodiment flow chart of main/standby load sharing for slave board side main control module of the present invention;
Fig. 4 is the flow chart of an embodiment of the inventive method;
Fig. 5 is the flow chart of another embodiment of the inventive method;
Fig. 6 is the flow chart of another embodiment of the inventive method;
Fig. 7 carries out the structural representation of a device embodiment of main/standby load sharing for mainboard side main control module of the present invention;
Fig. 8 carries out the structural representation of another device embodiment of main/standby load sharing for mainboard side main control module of the present invention;
Fig. 9 carries out the main another kind of structural representation with processing unit of another device embodiment of main/standby load sharing for mainboard side main control module of the present invention;
Figure 10 carries out main another structural representation with processing unit of another device embodiment of main/standby load sharing for mainboard side main control module of the present invention;
Figure 11 carries out the structural representation of a device embodiment of main/standby load sharing for slave board side main control module of the present invention;
Figure 12 carries out the structural representation of another device embodiment of main/standby load sharing for slave board side main control module of the present invention;
Figure 13 is the structural representation of the embodiment of the system of main/standby load sharing of the present invention.
Embodiment
Method, device, system to embodiment of the invention main/standby load sharing is described in detail below in conjunction with accompanying drawing.
Mainboard side main control module of the present invention is carried out the method embodiment of main/standby load sharing, as shown in Figure 2, comprising:
S101, mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module are worked, and synchronous and backup information are sent to slave board side main control module.
Behind S102, the generation masterslave switchover, stop former mainboard side Service Processing Module and former slave board side business processing module are controlled, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup.
Present embodiment is controlled mainboard side Service Processing Module and slave board side business processing module by the mainboard side main control module, can make active and standby plate side business processing module all in running order like this, has effectively utilized bandwidth resources.
Slave board side main control module of the present invention is carried out the method for main/standby load sharing, as shown in Figure 3, comprising:
S201, slave board side main control module receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup.
Behind S202, the generation masterslave switchover, former mainboard side Service Processing Module of described slave board side master control module controls and former slave board side business processing module are worked, and synchronous and backup information are sent to former mainboard side main control module.
Present embodiment is undertaken synchronously and backup by slave board side main control module, after the active and standby switching, former slave board becomes mainboard, and mainboard side Service Processing Module and slave board side business processing module are controlled, can make active and standby plate side business processing module all in running order like this, effectively utilize bandwidth resources.
An embodiment of the inventive method as shown in Figure 4, is the simultaneous scene of active and standby plate, may further comprise the steps:
S301, mainboard side main control module carry out initial configuration to mainboard side Service Processing Module and slave board side business processing module.
The mainboard side main control module is at first discerned mainboard side Service Processing Module and slave board side business processing module, utilizing host software (mainly carrying out system's global configuration) that two Service Processing Modules are made port arrangement then (mainly is that each port of setting Service Processing Module externally specifically with which port of miscellaneous equipment is connected, the data format that receives and send etc.), calling drive software again is that two Service Processing Modules install driving additional, realizes service processing function.
S302, virtual two Service Processing Modules of slave board side main control module, and these two virtual service processing modules are carried out initial configuration.
Slave board side main control module is not connected with any Service Processing Module, but according to the state that is connected with Service Processing Module, also carrying out and mainboard side main control module identical operations, just looks like the appearance that slave board side main control module is connected with two virtual service processing modules.Slave board side main control module at first utilizes two virtual Service Processing Modules to carry out identifying operation, utilizes two virtual service processing modules to do the port arrangement operation then, utilizes two virtual service processing modules to call the drive software operation again.
Why slave board side main control module needs virtual two Service Processing Modules, be based on following reason: the operation of slave board side main control module is synchronous with the operation of mainboard side main control module, but, in the present embodiment, the mainboard side main control module can be to the master, slave board side business processing module all manages, and a Service Processing Module simultaneously can only be by a main control module management, this makes slave board side main control module lose management object, in order to reach active and standby synchronous purpose, need provide and the corresponding management object of mainboard side main control module for slave board side main control module, so, virtual two Service Processing Modules of slave board side main control module, the active and standby plate side business processing module of corresponding reality is carried out pseudo operation, to reach the effect synchronous with the mainboard side main control module.
S303, when the mainboard side main control module carries out control operation to mainboard side Service Processing Module or slave board side business processing module, slave board side main control module carries out synchronously and backup this operation in inside, and the virtual service processing module is carried out same control operation.
In order to increase the flexibility that the embodiment of the invention realizes, can select mode of operation to judge to be active/standby backup pattern work by the starting command row when mainboard starts, still use the main/standby load sharing pattern work that the embodiment of the invention proposes according to traditional.
Obviously, S302 and S303 are optional steps, when slave board side main control module can be directly or otherwise realize with the mainboard side main control module operate synchronously and during backup, can need not this step.Present embodiment just provides slave board side main control module and the mainboard side main control module is synchronous and a kind of form of backup, but the invention is not restricted to adopt the synchronous of other form realization slave board side main control module and mainboard side main control module and back up.
Behind S304, the generation masterslave switchover, former slave board side main control module replaces former mainboard side Service Processing Module of former mainboard side master control module controls and the work of former slave board side business processing module.
After masterslave switchover takes place, former slave board side main control module is with the data of two virtual service processing modules, be synchronized to former mainboard side Service Processing Module and former slave board side business processing module, former mainboard side Service Processing Module and former slave board side business processing module are controlled.
The main control module (former mainboard side main control module) that is equipped with by main transformer is carried out virtual two Service Processing Modules synchronously and backup functionality.
In addition, when masterslave switchover took place, optionally, slave board side main control module can be deleted two virtual service processing modules.
Another embodiment of the inventive method, as shown in Figure 5, for mainboard exists, the new scene of inserting of slave board may further comprise the steps:
Before S401, slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to mainboard side Service Processing Module and the slave board side business processing module do not inserted, and issued the drive arrangements to the mainboard side Service Processing Module.
After S402, slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module.
Because port arrangement and global configuration are the systems at the load sharing of whole mainboard and slave board, after slave board inserted, data flow is transmitted relation between port needed to upgrade, so will issue port arrangement and global configuration to Service Processing Module again; And drive arrangements all is independently to mainboard or slave board, therefore only need issue drive arrangements at mainboard or slave board side business processing module.
S403, virtual two Service Processing Modules of slave board side main control module, and these two virtual service processing modules are carried out initial configuration.
S404, when the mainboard side main control module carries out control operation to mainboard side Service Processing Module or slave board side business processing module, slave board side main control module carries out synchronously and backup this operation in inside, and the virtual service processing module is carried out same control operation.
Behind S405, the generation masterslave switchover, former slave board side main control module replaces former mainboard side main control module that former mainboard side Service Processing Module and former slave board side business processing module are controlled.
In addition, when masterslave switchover took place, optionally, slave board side main control module can be deleted two virtual service processing modules.
Obviously, present embodiment does not limit the means of the synchronous and backup that realizes slave board side main control module and mainboard side main control module.
Another embodiment of the inventive method, as shown in Figure 6, for mainboard exists, slave board is extracted the scene of afterwards inserting earlier, may further comprise the steps:
If the active and standby plate of S501 exists simultaneously, slave board is extracted, and the mainboard side main control module keeps port arrangement and the global configuration to the slave board side business processing module of extracting, and deletion is to the drive arrangements of slave board side business processing module.
S502, before slave board inserts again, forbid masterslave switchover.
Owing to after slave board is extracted, depend merely on mainboard and can not realize masterslave switchover, so temporarily forbid masterslave switchover.
After S503, slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module.
S504, virtual two Service Processing Modules of slave board side main control module, and these two virtual service processing modules are carried out initial configuration.
S505, when the mainboard side main control module carries out control operation to mainboard side Service Processing Module or slave board side business processing module, slave board side main control module carries out synchronously and backup this operation in inside, and the virtual service processing module is carried out same control operation.
Behind S506, the generation masterslave switchover, former slave board side main control module replaces former mainboard side main control module that former mainboard side Service Processing Module and former slave board side business processing module are controlled.
In addition, when masterslave switchover took place, optionally, slave board side main control module can be deleted two virtual service processing modules.
Obviously, present embodiment does not limit the means of the synchronous and backup that realizes slave board side main control module and mainboard side main control module.
Present embodiment is controlled mainboard side Service Processing Module and slave board side business processing module by the mainboard side main control module, can make active and standby plate side business processing module all in running order like this, the exchange capacity of system doubles with respect to prior art, thereby makes the effective bandwidth of each port increase by one times.If the mainboard side main control module breaks down, can switch to slave board side main control module and continue the active and standby plate side business processing module of control.If there is a Service Processing Module to break down, cost also only is that the effective bandwidth of each port keeps identical with prior art.And with respect to prior art, present embodiment can be tackled the situation of slave board side main control module and mainboard side Service Processing Module simultaneous faults, has increased system reliability.
Mainboard side main control module of the present invention is carried out a device embodiment of main/standby load sharing, as shown in Figure 7, comprising:
Main with processing unit 11: as to be used for control main board side business processing module and the work of slave board side business processing module, and synchronous and backup information are sent to slave board side main control module.
Standby processing unit 12: be used for after masterslave switchover takes place, stopping to control former mainboard side Service Processing Module and the work of former slave board side business processing module, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup.
Present embodiment can make active and standby plate side business processing module all in running order by mainboard side master control module controls mainboard side Service Processing Module and the work of slave board side business processing module like this, has effectively utilized bandwidth resources.
Mainboard side main control module of the present invention is carried out another device embodiment of main/standby load sharing, as shown in Figure 8, comprising:
Main with processing unit 11: as to be used for control main board side business processing module and the work of slave board side business processing module, and synchronous and backup information are sent to slave board side main control module.
Standby processing unit 12: be used for after masterslave switchover takes place, stopping to control former mainboard side Service Processing Module and the work of former slave board side business processing module, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup.
Wherein, the master comprises with processing unit 11:
Main with initial configuration subelement 111: as to be used for mainboard side Service Processing Module and slave board side business processing module are carried out initial configuration.
Information sends subelement 112: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
Perhaps, the master comprises with processing unit 11 as shown in Figure 9:
Configuration subelement 113 before inserting: before slave board inserts, be used to issue port arrangement and global configuration, and issue drive arrangements to the mainboard side Service Processing Module to mainboard side Service Processing Module and the slave board side business processing module do not inserted.
Insert back configuration subelement 114: slave board is used to issue port arrangement and global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module after inserting.
Information sends subelement 115: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
Perhaps, the master comprises with processing unit 11 as shown in figure 10:
Extract back configuration subelement 116: if active and standby plate exists simultaneously, slave board is extracted, and the mainboard side main control module keeps port arrangement and the global configuration to the slave board side business processing module of extracting, and deletion is to the drive arrangements of slave board side business processing module.
Forbid masterslave switchover subelement 117: be used for before slave board inserts again, forbidding masterslave switchover.
Insert back configuration subelement 118: slave board is used to issue port arrangement and global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module after inserting.
Information sends subelement 119: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
Present embodiment is by mainboard side master control module controls mainboard side Service Processing Module and the work of slave board side business processing module, can make active and standby plate side business processing module all in running order like this, the exchange capacity of system doubles with respect to prior art, thereby makes the effective bandwidth of each port increase by one times.If the mainboard side main control module breaks down, can switch to slave board side main control module and continue the active and standby plate side business processing module of control.If there is a Service Processing Module to break down, cost also only is that the effective bandwidth of each port keeps identical with prior art.And with respect to prior art, present embodiment can be tackled the situation of slave board side main control module and mainboard side Service Processing Module simultaneous faults, has increased system reliability.
Slave board side main control module of the present invention is carried out a device embodiment of main/standby load sharing, as shown in figure 11, comprising:
Standby administrative unit 21: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup.
Main with administrative unit 22: as to be used for after masterslave switchover takes place, controlling former mainboard side Service Processing Module and the work of former slave board side business processing module, and synchronous and backup information are sent to former mainboard side main control module.
Present embodiment is undertaken synchronously and backup by slave board side main control module, after the active and standby switching, former slave board becomes mainboard, control main board side business processing module and the work of slave board side business processing module, can make active and standby plate side business processing module all in running order like this, effectively utilize bandwidth resources.
Slave board side main control module of the present invention is carried out another device embodiment of main/standby load sharing, as shown in figure 12, comprising:
Standby administrative unit 21: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup.
Main with administrative unit 22: as to be used for after masterslave switchover takes place, controlling former mainboard side Service Processing Module and the work of former slave board side business processing module, and synchronous and backup information are sent to former mainboard side main control module.
Wherein, standby administrative unit 21 comprises:
Virtual subnet unit 211: be used for virtual two Service Processing Modules, and these two virtual service processing modules are carried out initial configuration.
Standby operation subelement 212: be used to receive the synchronous and backup information that the mainboard side main control module sends, in inside this operation carried out synchronously and backup, and the virtual service processing module is carried out the operation same with the mainboard side main control module.
Deletion subelement 213: be used for when masterslave switchover takes place deletion virtual service processing module.
Present embodiment is by mainboard side master control module controls mainboard side Service Processing Module and the work of slave board side business processing module, can make active and standby plate side business processing module all in running order like this, the exchange capacity of system doubles with respect to prior art, thereby makes the effective bandwidth of each port increase by one times.If the mainboard side main control module breaks down, can switch to slave board side main control module and continue the active and standby plate side business processing module of control.If there is a Service Processing Module to break down, cost also only is that the effective bandwidth of each port keeps identical with prior art.And with respect to prior art, present embodiment can be tackled the situation of slave board side main control module and mainboard side Service Processing Module simultaneous faults, has increased system reliability.
The embodiment of the system of main/standby load sharing of the present invention, as shown in figure 13, comprise: mainboard side main control module 6, slave board side main control module 7, mainboard side Service Processing Module 8, slave board side business processing module 9, mainboard side communication interface 4 and slave board side communication interface 5, wherein
Mainboard side main control module 6: be used for control main board side business processing module 6 and 7 work of slave board side business processing module, and synchronous and backup information are sent to slave board side main control module 7; After masterslave switchover takes place, receive the synchronous and backup information of former slave board side main control module 7, carry out synchronously and backup.
Slave board side main control module 7: be used to receive the synchronous and backup information of mainboard side main control module 6, carry out synchronously and backup; After masterslave switchover takes place, control former mainboard side Service Processing Module 8 and 9 work of former slave board side business processing module, and synchronous and backup information are sent to former mainboard side main control module 6.
Mainboard side Service Processing Module 8: be used to carry out message and handle.
Slave board side business processing module 9: be used to carry out message and handle.
Mainboard side communication interface 4: be connected with mainboard side main control module 6, mainboard side Service Processing Module 8 and slave board side communication interface 5 respectively, the operational order of 6 pairs of mainboard side Service Processing Modules 8 of mainboard side main control module is transmitted to mainboard side Service Processing Module 8, the operational order of 6 pairs of slave board side business of mainboard side main control module processing module 9 is passed through slave board side communication interface 5, be transmitted to slave board side business processing module 9; After the active and standby switching, former slave board side main control module 7 by the operational order that former slave board side communication interface 5 sends, is transmitted to former mainboard side Service Processing Module 8.
Slave board side communication interface 5: be connected with mainboard side communication interface 4 with slave board side main control module 7, slave board side business processing module 9 respectively, mainboard side main control module 6 by the operational order that mainboard side communication interface 4 sends, is transmitted to slave board side business processing module 9; After the active and standby switching, the operational order of 7 pairs of former slave board side business processing modules 9 of former slave board side main control module is transmitted to former slave board side business processing module 9, the operational order of 7 pairs of former mainboard side Service Processing Modules 8 of former slave board side main control module by former mainboard side communication interface 4, is transmitted to former mainboard side Service Processing Module 8.
Mainboard side communication interface and slave board side communication interface can be used and support the switch of PCIe interface to realize.Described PCIe interface has adjustable function, can the annexation of PCIe interface be adjusted according to user's needs.In addition, active and standby plate side business processing module can cascade together, use as a Service Processing Module.
Present embodiment can make active and standby plate side business processing module all in running order by mainboard side master control module controls mainboard side Service Processing Module and the work of slave board side business processing module like this, has effectively utilized bandwidth resources.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (13)

1. the method for a main/standby load sharing is characterized in that, comprising:
Mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module are worked, and synchronous and backup information are sent to slave board side main control module;
After masterslave switchover took place, described mainboard side main control module stopped former mainboard side Service Processing Module and former slave board side business processing module are controlled, and received the synchronous and backup information of former slave board side main control module, carried out synchronously and backup.
2. method according to claim 1 is characterized in that, the work of described mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module, and will be synchronously and the backup information step that sends to slave board side main control module comprise:
Mainboard side Service Processing Module and slave board side business processing module are carried out initial configuration;
After mainboard side Service Processing Module or slave board side business processing module carried out control operation, will be synchronously and backup information send to slave board side main control module.
3. method according to claim 1 is characterized in that, the work of mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module, and will be synchronously and the backup information step that sends to slave board side main control module comprise:
Before slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to mainboard side Service Processing Module and the slave board side business processing module do not inserted, and issued the drive arrangements to the mainboard side Service Processing Module;
After slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module;
After mainboard side Service Processing Module or slave board side business processing module carried out control operation, will be synchronously and backup information send to slave board side main control module.
4. method according to claim 2 is characterized in that, the work of described mainboard side master control module controls mainboard side Service Processing Module and slave board side business processing module, and will be synchronously and the backup information step that sends to slave board side main control module also comprise:
Slave board is extracted, and the mainboard side main control module keeps port arrangement and the global configuration to the slave board side business processing module of extracting, and deletion is to the drive arrangements of slave board side business processing module;
After slave board inserted, the mainboard side main control module issued port arrangement and the global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module;
After mainboard side Service Processing Module or slave board side business processing module carried out control operation, will be synchronously and backup information send to slave board side main control module.
5. the method for a main/standby load sharing is characterized in that, comprising:
Slave board side main control module receives the synchronous and backup information of mainboard side main control module, carries out synchronously and backup;
After masterslave switchover took place, former mainboard side Service Processing Module of described slave board side master control module controls and former slave board side business processing module were worked, and synchronous and backup information are sent to former mainboard side main control module.
6. method according to claim 5 is characterized in that, slave board side main control module receives the synchronous and backup information of mainboard side main control module, carries out comprising with the step that backs up synchronously:
Virtual two Service Processing Modules of slave board side main control module, and these two virtual service processing modules are carried out initial configuration;
Slave board side main control module receives the synchronous and backup information that the mainboard side main control module sends, and in inside this operation is carried out synchronously and backup, and the virtual service processing module is carried out the operation same with the mainboard side main control module.
7. the device of a main/standby load sharing is characterized in that, comprising:
The master uses processing unit: be used for control main board side business processing module and the work of slave board side business processing module, and synchronous and backup information are sent to slave board side main control module;
Standby processing unit: be used for after masterslave switchover takes place, stopping former mainboard side Service Processing Module and former slave board side business processing module are controlled, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup.
8. device according to claim 7 is characterized in that, the master draws together with the processing unit pack:
The master uses the initial configuration subelement: be used for mainboard side Service Processing Module and slave board side business processing module are carried out initial configuration;
Information sends subelement: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
9. device according to claim 7 is characterized in that, the master draws together with the processing unit pack:
Configuration subelement before inserting: before slave board inserts, be used to issue port arrangement and global configuration, and issue drive arrangements to the mainboard side Service Processing Module to mainboard side Service Processing Module and the slave board side business processing module do not inserted;
Insert back configuration subelement: slave board is used to issue port arrangement and global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module after inserting;
Information sends subelement: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
10. device according to claim 8 is characterized in that, the master also comprises with processing unit:
Extract back configuration subelement: if active and standby plate exists simultaneously, slave board is extracted, and the mainboard side main control module keeps port arrangement and the global configuration to the slave board side business processing module of extracting, and deletion is to the drive arrangements of slave board side business processing module;
Insert back configuration subelement: slave board is used to issue port arrangement and global configuration to the slave board side business processing module of mainboard side Service Processing Module and insertion, and issues the drive arrangements to slave board side business processing module after inserting;
Information sends subelement: be used for after mainboard side Service Processing Module or slave board side business processing module are carried out control operation, will be synchronously and backup information send to slave board side main control module.
11. the device of a main/standby load sharing is characterized in that, comprising:
Standby administrative unit: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup;
The master uses administrative unit: be used for after masterslave switchover takes place former mainboard side Service Processing Module and former slave board side business processing module being controlled, and synchronous and backup information are sent to former mainboard side main control module.
12. device according to claim 11 is characterized in that, standby management unit pack is drawn together:
Virtual subnet unit: be used for virtual two Service Processing Modules, and these two virtual service processing modules are carried out initial configuration;
Standby operation subelement: be used to receive the synchronous and backup information that the mainboard side main control module sends, in inside this operation carried out synchronously and backup, and the virtual service processing module is carried out the operation same with the mainboard side main control module.
13. the system of a main/standby load sharing is characterized in that, comprising: mainboard side main control module, slave board side main control module, mainboard side Service Processing Module and slave board side business processing module, wherein,
Mainboard side main control module: be used for mainboard side Service Processing Module and slave board side business processing module are controlled, and synchronous and backup information are sent to slave board side main control module; After masterslave switchover takes place, receive the synchronous and backup information of former slave board side main control module, carry out synchronously and backup;
Slave board side main control module: be used to receive the synchronous and backup information of mainboard side main control module, carry out synchronously and backup; After masterslave switchover takes place, former mainboard side Service Processing Module and former slave board side business processing module are controlled, and synchronous and backup information are sent to former mainboard side main control module;
Mainboard side Service Processing Module: be used to carry out message and handle;
Slave board side business processing module: be used to carry out message and handle.
CN200910001967.0A 2009-01-24 2009-01-24 Main/standby load sharing method, device and system Active CN101789854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910001967.0A CN101789854B (en) 2009-01-24 2009-01-24 Main/standby load sharing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910001967.0A CN101789854B (en) 2009-01-24 2009-01-24 Main/standby load sharing method, device and system

Publications (2)

Publication Number Publication Date
CN101789854A true CN101789854A (en) 2010-07-28
CN101789854B CN101789854B (en) 2014-02-19

Family

ID=42532922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910001967.0A Active CN101789854B (en) 2009-01-24 2009-01-24 Main/standby load sharing method, device and system

Country Status (1)

Country Link
CN (1) CN101789854B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147511A (en) * 2016-03-01 2017-09-08 深圳市深信服电子科技有限公司 Data center's control method and device
CN107786356A (en) * 2016-08-29 2018-03-09 安徽皖通邮电股份有限公司 A kind of network equipment system of masterslave switchover and load sharing
CN112024450A (en) * 2020-08-28 2020-12-04 苏州富强科技有限公司 Cooperative detection method and system for keyboard detection and detection mechanism
CN112787840A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Method, device and system for realizing service function deployment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN1581826A (en) * 2003-08-15 2005-02-16 上海卓扬科技有限公司 PPPOE load sharing and protective inverting method
CN1909550A (en) * 2005-08-03 2007-02-07 中兴通讯股份有限公司 System and method for realizing inverting of main-standby and load sharing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479453A (en) * 2002-08-28 2004-03-03 华为技术有限公司 Method of realizing main control plate thermal redundancy
CN1482769A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Master-standby switching and load sharing system and method based on Ethernet access platform
CN1581826A (en) * 2003-08-15 2005-02-16 上海卓扬科技有限公司 PPPOE load sharing and protective inverting method
CN1909550A (en) * 2005-08-03 2007-02-07 中兴通讯股份有限公司 System and method for realizing inverting of main-standby and load sharing

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107147511A (en) * 2016-03-01 2017-09-08 深圳市深信服电子科技有限公司 Data center's control method and device
CN107786356A (en) * 2016-08-29 2018-03-09 安徽皖通邮电股份有限公司 A kind of network equipment system of masterslave switchover and load sharing
CN112787840A (en) * 2019-11-11 2021-05-11 华为技术有限公司 Method, device and system for realizing service function deployment
CN112787840B (en) * 2019-11-11 2022-07-22 华为技术有限公司 Method, device and system for realizing service function deployment
CN112024450A (en) * 2020-08-28 2020-12-04 苏州富强科技有限公司 Cooperative detection method and system for keyboard detection and detection mechanism

Also Published As

Publication number Publication date
CN101789854B (en) 2014-02-19

Similar Documents

Publication Publication Date Title
CN102439903B (en) Method, device and system for realizing disaster-tolerant backup
CN102025528B (en) Address management method, device and system
CN202798798U (en) High availability system based on cloud computing technology
CN101110776B (en) Backup method, backup device and backup system for data business
CN102045332B (en) Method for processing control message in intelligent resilient framework and line card boards
CN102388570B (en) Single board running method and system under active-standby mode
CN101160794B (en) Disaster recovery system and method of service controlling device in intelligent network
CN101667140B (en) Method, device and system for controlling switching of operating systems
CN101789854B (en) Main/standby load sharing method, device and system
CN109739622B (en) Main/standby main control configuration synchronization method and device based on frame type equipment
CN104468521A (en) Online migration method, device and system
EP3594781A1 (en) Hw-controlled power domains with automatic power-on request
CN102231703A (en) Method for realizing Virtual Switch Cluster (VSC) cross equipment data forwarding and equipment thereof
CN102647304A (en) Synchronizing method of address resolution protocols and device
CN102801598B (en) Method and device for constructing virtual switching system, and switching devices
CN105591801B (en) A kind of virtual network function VNF fault handling method and VNF management equipment
CN103281720A (en) Method and device for switching wireless controller hot standbys, wireless controller and access system
CN102571311B (en) Master-slave switching communication system and master-slave switching communication method
CN105812221A (en) Data transmission device and method in virtual extensible local area network
CN103812680A (en) System and method for achieving single plate switching
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN103020068A (en) Synchronizing method and synchronizing device
CN110795212B (en) Main/standby main control configuration synchronization method and device based on frame type equipment
CN111211927B (en) Resource synchronization method and device
CN103501239A (en) Port state synchronization method and system and port state synchronization associated devices

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant