CN101582797B - Management board and two-unit standby system and method - Google Patents

Management board and two-unit standby system and method Download PDF

Info

Publication number
CN101582797B
CN101582797B CN2009100872998A CN200910087299A CN101582797B CN 101582797 B CN101582797 B CN 101582797B CN 2009100872998 A CN2009100872998 A CN 2009100872998A CN 200910087299 A CN200910087299 A CN 200910087299A CN 101582797 B CN101582797 B CN 101582797B
Authority
CN
China
Prior art keywords
management board
management
board
state
plate
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.)
Active
Application number
CN2009100872998A
Other languages
Chinese (zh)
Other versions
CN101582797A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN2009100872998A priority Critical patent/CN101582797B/en
Publication of CN101582797A publication Critical patent/CN101582797A/en
Application granted granted Critical
Publication of CN101582797B publication Critical patent/CN101582797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a management board, a two-unit standby system and a method. The system comprises a primary management board, a secondary management board and at least one business line card, wherein, the business line card is respectively connected with the primary management board and the secondary management board by adopting a cross data bus and is used for sending business data to the primary management board or the secondary management board; the primary management board is used for acquiring the status of the primary management board, controlling a channel and the secondary management board to interact mutual status messages according to the acquired status, setting the mapping relation between the primary management board and the business line card as well as between the secondary management and the business line card, sending the mapping relation to the secondary management board, and opening the corresponding data channel for transmitting business data according to thestatus of the primary management board and the mapping relation between the primary management board and the business line card; the secondary management board is used for opening the corresponding d ata channel for transmitting business data according to the status of the secondary management board and the mapping relation between the secondary management board and the business line card. The invention can ensure all the business of the whole system not to be completely broken off when one management board is abnormal, thus greatly improving the disaster recovery capability of the system.

Description

Management board, two-unit standby system and method
Technical field
The present invention relates to network technology, particularly a kind of management board, two-unit standby system and method belong to communication technical field.
Background technology
Central processing unit in the network equipment of communication network (Central Process Unit is called for short CPU) has business datum to be transmitted and the selection of transmission paths function, is the main control unit of the network equipment, is positioned on the management board; Each business unit of the network equipment is positioned on the professional ply-yarn drill, respectively through data/address bus connection management plate.The system that is made up of management board and professional ply-yarn drill can be divided into distributed system and integrated system.Wherein, Management board in the integrated system is accomplished the management work of business datum forwarding and whole system; Professional ply-yarn drill is responsible for converging of business datum, and through the data/address bus that links to each other with management board business datum is sent to management board, gives management board and handles; And the forwarding of the business datum of distributed system is accomplished on professional ply-yarn drill.
In the network topology of communication network; It is higher to reliability requirement to be positioned at the above network equipment of convergence-level and convergence-level; In order to guarantee professional stable operation; Need carry out redundancy backup to the main control unit of the network equipment, promptly 1+1 dual-host backup technology--two-unit standby system comprises two management boards and several professional ply-yarn drills.In distributed system, business datum is transmitted and on professional ply-yarn drill, is accomplished, and can be relatively easy to accomplish the dual-host backup function, and still, system is very complicated, and cost is very high.In integrated system; Professional ply-yarn drill does not have business datum message forwarding ability, and the business datum message forwarding is accomplished by management board, and two management boards are identical on hardware; One is the main management plate; One is subsequent use management board, and the main management plate is responsible for the management work and the business datum message forwarding of all professional ply-yarn drills, any professional ply-yarn drill of the not responsible system of subsequent use management board; After the main management plate was unusual, it is unusual that subsequent use management board perceives the main management plate, is upgraded to the main management plate then; After main management plate originally was unusual, system can make it automatically reset, and reruns initialization task after resetting; If initialization success; Then get into subsequent use management board status,, then should produce alarm signal if initialization is unsuccessful; Show it to be the management board hardware anomalies unusually, the management board that need more renew.
In the two-unit standby system; Active and standby switching takes place have two kinds of possible reasons: (1) main management plate hardware or software anomaly cause system business to interrupt, and after subsequent use management board perceives, are upgraded to the main management plate automatically; Take over the work of main management plate, accomplish active and standby switching; (2) the active and standby switching of the compulsory execution of user; When a certain management board needs maintenance; Perhaps on the main management plate, produce alarm signal (some the non-key modules like the main management plate possibly produce unusually); When injuring the stability of a system, need the user to select whether to execute active and standby switching according to actual conditions.
There is following shortcoming at least in this dual-host backup technology: the mode of operation of (1) management board is active and standby pattern (active-standby mode); A management board is responsible for the business datum forwarding on all professional ply-yarn drills; Be in activation (active) state, the business datum of an other not responsible any service line card of management board is transmitted, and is in dormancy (standby) state; The hardware resource that is in like this above the management board of resting state is not utilized fully, causes the bigger wasting of resources; (2) the dual-host backup technology of this active and standby pattern is when carrying out active and standby switching; All business of system all can be interrupted, because all professional ply-yarn drills of main management board management, in case the main management plate is because software or hardware anomalies; Subsequent use management board need perceive the main management plate unusual after; Just begin by of the active and standby switching of subsequent use management board, need carry out initialization again to the professional ply-yarn drill of working in the handoff procedure to the main management plate, so; Before new main management plate is taken over the work of former main management plate; The business of whole system all can be interrupted, and has only when subsequent use management board and takes over after the work of former main management plate, and the business of whole system could be recovered; The service outage duration length of system is decided by that subsequent use management board is upgraded to the time that the professional ply-yarn drill of initialization is consumed behind the main management plate, and the business recovery time during therefore active and standby the switching is prolonged greatly.
Summary of the invention
The purpose of this invention is to provide a kind of management board, two-unit standby system and method, to make full use of the resource and shortening time of service interruption on the management board.
For realizing above-mentioned purpose, the invention provides a kind of management board, comprising:
State machine is used to gather the state of said management board and passes through the State Control passage and the mutual state information each other of another management board;
The configuration process module; Be used to be provided with the mapping relations of said management board and another management board and professional ply-yarn drill; Perhaps receive the mapping table that comprises the said management board and the mapping relations of another management board and professional ply-yarn drill; Said service line cartoon is crossed the staggered form data channel and is connected to said management board and another management board; So that, opening corresponding data channel according to the mapping relations of state and said another management board and the professional ply-yarn drill of said another management board, said another management board carries out the business datum forwarding;
Forwarding module is used for basis from the state of the said management board of said state machine acquisition and from the said management board of said configuration process module acquisition and the mapping relations of professional ply-yarn drill, opens corresponding data channel and carries out the business datum forwarding.
Be to realize above-mentioned purpose, the present invention also provides a kind of two-unit standby system, comprising: main management plate, from management board and at least one professional ply-yarn drill, wherein
Said professional ply-yarn drill adopts the staggered form data channel to connect said main management plate respectively and from management board, is used for to said main management plate or said from management board transmission business datum;
The state that said main management plate is used to gather said main management plate is also through State Control passage and said from the mutual status information each other of management board; Be used to be provided with said main management plate and from the mapping relations of management board and professional ply-yarn drill and be sent to said through collocation channel from management board; And, open corresponding data channel and carry out business datum and transmit based on the mapping relations of state and the said main management plate and the professional ply-yarn drill of said main management plate;
Said from management board be used to gather said from management board state and through State Control passage and said main management plate each other state information alternately; Be used for through collocation channel receive that said main management plate sends comprise said main management plate and from the mapping table of the mapping relations of management board and professional ply-yarn drill; And, open corresponding data channel and carry out the business datum forwarding according to said state and said mapping relations from management board and professional ply-yarn drill from management board.
For realizing above-mentioned purpose, the present invention also provides a kind of dual-host backup method, comprising:
The main management plate is through the State Control passage with from the mutual state information each other of management board;
Said main management plate is provided with said main management plate and from the mapping relations of management board and professional ply-yarn drill, and is sent to saidly from management board through collocation channel, and said professional ply-yarn drill adopts the staggered form data channel to connect said main management plate respectively and from management board;
Said main management buttress is opened the data channel that is connected to the corresponding service ply-yarn drill according to the state of said main management plate and the mapping relations of said main management plate and professional ply-yarn drill, carries out the forwarding of business datum;
Said from management board according to said state and said mapping relations from management board and professional ply-yarn drill from management board, open the data channel that is connected to the corresponding service ply-yarn drill, carry out the forwarding of business datum.
Can know by technique scheme; Management board provided by the invention, two-unit standby system and method are through on the data channel between management board and the professional ply-yarn drill, introducing cross-coupled method, at two the business datum forwarding capabilitys that all can be responsible for the partial service ply-yarn drill above the management board; Again through flexible control to the responsible professional ply-yarn drill of two management boards; Successfully solved in the two-unit standby system of traditional active and standby pattern, can cause the problem of the service disconnection of whole system after the main management plate is unusual, after a management board is unusual; Can not make all professional all interruptions of whole system; Partial service is interrupted, improved the utilance of hardware resource on the subsequent use management board greatly, improve stability, flexibility and the ease for use of system simultaneously.
Description of drawings
Fig. 1 is the structural representation of management board first embodiment of the present invention;
Fig. 2 is the structural representation of management board second embodiment of the present invention;
Fig. 3 is the structural representation of two-unit standby system first embodiment of the present invention;
Fig. 4 is the structural representation of two-unit standby system second embodiment of the present invention;
Fig. 5 is the structural representation of the embodiment of the invention through backboard connection management plate and professional ply-yarn drill;
Fig. 6 is the management board state variation sketch map among the dual-host backup embodiment of the present invention;
Fig. 7 is the schematic flow sheet of dual-host backup method embodiment of the present invention.
Embodiment
Through accompanying drawing and embodiment, technical scheme of the present invention is done further detailed description below.
Fig. 1 is the structural representation of management board first embodiment of the present invention.As shown in Figure 1, this management board 1 comprises: state machine 11, configuration process module 12 and forwarding module 13.Wherein state machine 11 is used for the state of acquisition management plate 1 and passes through State Control passage 14 and the mutual state information each other of another management board; Configuration process module 12 is used to be provided with the mapping relations of management board 1 and another management board and professional ply-yarn drill; Perhaps receive the mapping table that comprises the management board 1 and the mapping relations of another management board and professional ply-yarn drill, wherein the service line cartoon is crossed staggered form data channel 15 and is connected to management board 1 and another management board; Forwarding module 13 is used for basis from the state of the management board 1 of state machine 11 acquisitions and from the management board 1 of configuration process module 12 acquisitions and the mapping relations of professional ply-yarn drill, opens the data channel of correspondence and carries out the business datum forwarding.
The management board that present embodiment provides; Management board is mutual at state of management board with another through being provided with, the mapping relations of management board and the professional ply-yarn drill that is connected through the staggered form data channel; Make and all be responsible for the business datum forwarding capability of partial service ply-yarn drill above the management board, therefore after a management board is unusual, can not make all professional whole interruptions of whole system at management board and another; Partial service is interrupted, and the calamity that has improved system greatly is equipped with ability.
Fig. 2 is the structural representation of management board second embodiment of the present invention.As shown in Figure 2, this management board 2 comprises: state machine 21, configuration process module 22 and forwarding module 23.Wherein can comprise in the state machine 21: the principal and subordinate elects module 211, acquisition module 212 and status control module 213.The principal and subordinate elects module 211 to be used to elect management board 2 for the main management plate or from management board; Acquisition module 212 be used for according to the principal and subordinate elect module 211 election results acquisition management plate 2 state and be sent to another management board through State Control passage 24, and the state that receives another management board; Status control module 213 is used for according to the state of the state of the management board 2 of acquisition module 212 collections and another management board management board 2 being carried out corresponding state renewal.
Particularly, acquisition module 212 is used for when the principal and subordinate elects module 211 election management boards 2 for the main management plate, and then another management board election is from management board, and gather the state of main management plate and be sent to from management board through State Control passage 24 this moment; Elect module 211 to judge management boards 2 for from management board the time the principal and subordinate, then another management board is the main management plate, and gather and be sent to the main management plate from the state of management board and through State Control passage 24 this moment; Status control module 213 is used for when the principal and subordinate elects module 211 to elect management boards 2 for the main management plate, and then another management board is from management board, receives this moment from what management board was exported to carry out corresponding state renewal from the state of management board and to the main management plate; Elect module 211 election management boards 2 for from management board the time the principal and subordinate, then another management board is the main management plate, receive this moment the output of main management plate the main management plate state and upgrade carry out corresponding state from management board.
Wherein, can also comprise in the status control module 213: the first control submodule 2131 and the second control submodule 2132.Wherein, When acquisition module 212 collects another management board from being updated to new main management plate from management board and according to this new main management plate when opening corresponding partial data passage with the mapping relations of professional ply-yarn drill, first controls submodule 2131 is used for control and management plate 2 and is updated to newly from management board from the main management plate; The management board 2 that forwarding module 23 also is used for collecting according to acquisition module 212 is updated to newly from management board and newly opens corresponding remainder data channel from management board and the mapping relations of professional ply-yarn drill and carry out the business datum forwarding; When acquisition module 212 collects another management board when invalid, the second control submodule 2132 is used to control corresponding management board 2 and is updated to single main management plate; The management board 2 that forwarding module 23 also is used for collecting according to acquisition module 212 is updated to single main management plate and opens the data channel that is connected to all professional ply-yarn drills and carry out business datum and transmit.
When the principal and subordinate elects module 211 election management boards 2 for the main management plate; Configuration process module 22 can for: the mapping relations that sending module 221 is used to be provided with management board 2 and another management board and professional ply-yarn drill are set, and will comprise that the mapping table of these mapping relations is sent to another management board through collocation channel 25; Elect module 211 election management boards 2 for the time the principal and subordinate from management board; Configuration process module 22 can for: receive configuration module 222 and be used for receiving the mapping table that comprises the management board 2 and the mapping relations of another management board and professional ply-yarn drill that another management boards send, and based on this mapping table configuration management board 2 through collocation channel 25.
In addition; Owing to must can only be communicated with through data channel with a management board by professional ply-yarn drill of maintenance in the mapping relations of management board and another management board and professional ply-yarn drill; Therefore; This management board can also comprise a mutual exclusion detection module 26, is used for mapping relations to management board 2 and another management board and professional ply-yarn drill and whether satisfies the mutual exclusion condition and detect.
The management board that present embodiment provides; Owing to all be responsible for the business datum forwarding capability of partial service ply-yarn drill above the management board at management board and another; And can upgrade the connection of professional ply-yarn drill according to the state variation of two management boards, therefore after a management board is unusual, can not make all professional all interruptions of whole system; And can fast the business on the unusual management board be switched on the other management board, the calamity that has improved system greatly is equipped with ability.
Fig. 3 is the structural representation of two-unit standby system first embodiment of the present invention.As shown in Figure 3, this two-unit standby system comprises: main management plate 31, from management board 32 and at least one professional ply-yarn drill 33.Wherein, professional ply-yarn drill 33 adopts staggered form data channel 34 to connect main management plate 31 respectively and from management board 32, is used for sending business datum to main management plate 31 or from management board 32; The state that main management plate 31 is used to gather main management plate 31 is also through State Control passage 35 and from management board 32 mutual state informations each other; Be used to be provided with main management plate 31 and be sent to from management board 32 with the mapping relations of professional ply-yarn drill 33 and through collocation channel 36 from management board 32; And, open corresponding data channel 34 and carry out business datum and transmit according to the state of main management plate 31 and main management plate 31 mapping relations with professional ply-yarn drill 33; Be used to gather from the state of management board 32 and through State Control passage and main management plate 31 mutual state informations each other from management board 32; Be used for through collocation channel 36 receive that main management plates 31 send comprise main management plate 31 and from the mapping table of management board 32 with the mapping relations of professional ply-yarn drill 33; And, open corresponding data channel 34 and carry out the business datum forwarding according to from the state of management board 32 and from the mapping relations of management board 32 with professional ply-yarn drill 33.
Present embodiment is an example with 8 professional ply-yarn drills, is numbered Slot1~Slot8 respectively, can control through the said system of present embodiment Slot5~Slot8 is connected to main management plate 31, and Slot1~Slot4 is connected to from management board 32.Main management plate 31 can be responsible for the business datum forwarding of partial service ply-yarn drill 33 like this, also can be responsible for the business datum of partial service ply-yarn drill 33 from management board 32 and transmit.After main management plate 31 is unusual, only can have influence on the partial service ply-yarn drill 33 that main management plate 31 is responsible for, the business datum that can not have influence on all professional ply-yarn drills 33 is transmitted; And from management board 32 perceive main management plate 31 unusual after, the business datum forwarding work of the professional ply-yarn drill 33 that main management plate 31 is responsible for is taken over; In like manner, owing to also be responsible for the business datum forwarding work of partial service ply-yarn drill 33 from management board 32, therefore after unusual from management board 32, main management plate 31 also will be taken over from the responsible professional ply-yarn drill 33 of management board 32.
The two-unit standby system of the master slave mode that present embodiment provides; Because at two business datum forwarding capabilitys of all being responsible for the partial service ply-yarn drill above the management board; Therefore after a management board is unusual; Can not make all professional all interruptions of whole system, partial service is interrupted, the calamity that has improved system greatly is equipped with ability.
Fig. 4 is the structural representation of two-unit standby system second embodiment of the present invention.As shown in Figure 4, this two-unit standby system comprises: main management plate 41, from management board 42 and at least one professional ply-yarn drill 43.Wherein, professional ply-yarn drill 43 adopts staggered form data channel 44 to connect main management plate 41 respectively and from management board 42, is used for sending business datum to main management plate 41 or from management board 42; The state that main management plate 41 is used to gather main management plate 41 is also through State Control passage 45 and from management board 42 mutual state informations each other; Be used to be provided with main management plate 41 and be sent to from management board 42 with the mapping relations of professional ply-yarn drill 43 and through collocation channel 46 from management board 42; And, open corresponding data channel 44 and carry out business datum and transmit according to main management plate 41 with from the state of management board 42 and main management plate 41 with from the mapping relations of management board 42 with professional ply-yarn drill 43.
Specifically can also comprise in this main management plate 41: first state machine 411 is used to gather the state of main management plate 41 and is sent to from management board 42 through State Control passage 45, receives from what management board 42 was exported to carry out corresponding state renewal from the state of management board 42 and to main management plate 41; Be provided with that sending module 412 is used to be provided with main management plate 41 and from the mapping relations of management board 42, and will comprise that the mapping table of these mapping relations is sent to from management board 42 through collocation channel 46 with professional ply-yarn drill 43; First forwarding module 413 is used for according to the state of the main management plate 41 that obtains from first state machine 411 and from the mapping relations of main management plate 41 that sending module 412 obtains and professional ply-yarn drill 43 are set, and opens corresponding data channel 44 and carries out business datum and transmit.
Should from management board 42, specifically can also comprise: second state machine 421 be used to gather from the state of management board 42 and through State Control passage 45 and be sent to main management plate 41, receive 41 outputs of main management plate main management plate 41 state and upgrade carry out corresponding state from management board 42; Receive configuration module 422 be used for through collocation channel 46 receive that main management plates 41 send comprise main management plate 41 and from the mapping table of management board 42 with the mapping relations of professional ply-yarn drill 43, and according to this mapping table configuration from management board 42; Second forwarding module 423 is used for basis and reaches the mapping relations from management board 42 and professional ply-yarn drill 43 that obtain from reception configuration module 422 from the state from management board 42 that second state machine 421 obtains, and opens corresponding data channel 44 and carries out the business datum forwarding.
Concrete control in said first state machine 411 can be; Be updated to new main management plate and according to this new main management plate when opening corresponding partial data passage 44 when collecting with the mapping relations of professional ply-yarn drill 43 from management board 42; Control this main management plate 41 and be updated to newly, and be updated to newly from management board according to the main management plate 41 that collects and should newly open corresponding remainder data channel 44 and carry out the business datum forwarding from management board and the mapping relations of professional ply-yarn drill 43 by first forwarding module 413 from management board; Collecting from management board 42 when invalid; This corresponding main management plate 41 of control is updated to single main management plate, and is updated to single main management plate by first forwarding module 413 according to main management plate 41 and opens the data channel 44 that is connected to all professional ply-yarn drills 43 and carry out business datum and transmit.
Concrete control in said second state machine 421 can be; When control should be when management board 42 be updated to new main management plate, opens corresponding partial data passage 44 with the mapping relations of professional ply-yarn drill 43 and carry out the business datum forwarding according to be updated to new main management plate and this new main management plate from management board 42 by second forwarding module 423; Collecting main management plate 41 when invalid; What control was corresponding should be updated to single main management plate from management board 42, and was opened the data channel 44 that is connected to all professional ply-yarn drills 43 and carry out business datum and transmit according to be updated to single main management plate from management board 42 by second forwarding module 423.
Particularly; Comprise two management boards in the present embodiment; One is from management board 42 for 41, one of main management plates, also has 8 professional ply-yarn drills 43; Main management plate 41 adopts interleaved modes to be connected with data channel from management board 42 to professional ply-yarn drill 43 44, existence control channel 45 and collocation channel 46 between two management boards.State Control passage 45 can be the passage that directly is made up of the hardware line of transmission state notification signal (being respectively p_status_out [3:0] and s_status_in [3:0]).State machine on every management board, promptly first state machine 411 and second state machine 421 can be realized by programmable logic device (CPLD), the CPLD on the management board gathers the state of local terminal management board, announces to the opposite end management board with the mode of hardware encoding; CPLD receives the status signal of opposite end management board output simultaneously, judges the state of opposite end management board, so that the state that the local terminal management board is taked to be correlated with new element more, promptly upgrades the state of local terminal management board accordingly.Collocation channel 46 is made up of a port; Be used for main management plate 41 to configuration information from management board 42 synchronous all professional ply-yarn drills; Like the configuration of the relevant information of management board hardware and driving, different port, QoS etc., and routing table, comprise the information such as mapping table of the mapping relations of management board and professional ply-yarn drill.It should be noted that configuration information can only not allow to carry out synchronously to main management plate 41 from management board 42 by main management plate 41 to synchronous from management board 42.
Fig. 5 is the structural representation of the embodiment of the invention through backboard connection management plate and professional ply-yarn drill.On the network equipment of data communication field; The data/address bus of management board generally is connected to above the backboard (backplane); And the interface shape of this data/address bus also is relatively-stationary (such as adopting PCI or PCI Express); Professional ply-yarn drill also is connected to above the backboard with identical data bus interface form; The different service ply-yarn drill is identical to the access form of backboard, forms the data channel of management board to professional ply-yarn drill like this, and realizes the support of relatively-stationary management board to the multiple business ply-yarn drill.As shown in Figure 5, in the two-unit standby system, management board is linked into data/address bus above the backboard, and professional ply-yarn drill also is linked into above the backboard with identical form.Different is; In the two-unit standby system; Have the data/address bus of two management boards to be linked into above the backboard, and main management plate and the data channel from the management board to the backboard all partially open, but for a certain fixing professional ply-yarn drill; Can only have the data channel of a management board and the data channel of professional ply-yarn drill on backboard, to be connected, and an other management board is closed to the data channel of this professional ply-yarn drill.But; Above the data communications equipment that reliability and maintainability is had relatively high expectations; The requirement backboard is a passive backplane, and therefore the switch of foregoing data channel can not be realized on backboard, can only on management board, realize; And in order can data channel can having of part to be selected to open or close, the control precision of the switch of data channel must be sub-divided into every professional ply-yarn drill.
Thereby the embodiment of the invention can adopt the state machine on the management board to realize the connection control to professional ply-yarn drill.Wherein be used for the mapping table that can revise that the mapping table of the mapping relations of record management plate and professional ply-yarn drill can make up for CPLD, realize the flexible management of management board professional ply-yarn drill.Comprise the set of the slot number of the professional ply-yarn drill that every management board is specifically responsible in the mapping table, under the default situations, a management board is in charge of half the professional ply-yarn drill, promptly makes professional balanced.But; Under specific circumstances, overweight such as the cpu load of main management plate, need the administration authority of partial service ply-yarn drill (such as like the slot among Fig. 15 and 6 two professional ply-yarn drills of slot) be carried out the transition to from management board; At this moment; Can slot 5 and slot 6 be mapped to above management board through the mapping table of software modification CPLD, this process is called traffic smoothing.It should be noted that; Carry out before the traffic smoothing; Need source control plate (like the main management plate) to close the data channel of the professional ply-yarn drill of wanting level and smooth; And announce and give purpose management board (as from management board), the purpose management board is opened the data channel of the professional ply-yarn drill of wanting level and smooth then, accomplishes the operation of traffic smoothing.Mapping table can be made amendment through software, but the mutual exclusion that needs the maintenance management board to connect professional ply-yarn drill.In the present embodiment; It no matter is main management plate or from management board; All need a detection software to realize whether the modification of mapping table effectively being detected, can not satisfy the mutual exclusion condition, opened the data channel of a certain professional ply-yarn drill simultaneously such as two management boards among the CPLD on it if detect amended mapping relations; Then forbid this modification, and return warning message.
Fig. 6 is the management board state variation sketch map among the dual-host backup embodiment of the present invention.As shown in Figure 6, be example with a management board, the main management plate is described and from the control of the enable signal of the state variation of management board and the ply-yarn drill that activates the service.
Initialization (Idle) state is waited for (Insert_wait) state with insertion: after management board receives the reset signal of power-on reset signal or opposite end input; Get into initialization (Idle) state and wait for the signal on the throne of local terminal management board, promptly whether the local terminal management board has been inserted in the corresponding slot;
(Timer_wait) state is waited in timing: when detecting local terminal signal on the throne; Get into timing and wait for (Timer_wait) state; Wait for the system initialization completion at management board and professional ply-yarn drill place, following three kinds of states can occur according to this management board of system initialization situation:
I, fault processing (Error_process) state: if system initialization exceeds that the timing stand-by period does not also accomplish and errors number less than 2; Then get into fault processing (Error_process) state; Enter into then from (Slave_reset) state that resets, and return timing and wait for that (Timer_wait) state restarts system initialization;
II, warning (alarm) state: the timing stand-by period does not also accomplish and errors number equals 2 if system initialization exceeds, and then this management board can be reported to the police;
III, from waiting for (Slave_wait) state: if system initialization accomplishes in the timing stand-by period, then this management board gets into should become the main management plate or from management board from waiting for (Slave_wait) state, waiting for.
If from waiting under (Slave_wait) state, local terminal management board (being the management board of being lifted in embodiment illustrated in fig. 4) competition is the main management plate, then gets into and rises main (Master_pre) state in advance.Rise under the major state in advance at this; If detecting two management boards, the state machine of local terminal management board adopt master slave modes (master_slave_mode) and professional ply-yarn drill all to be ready to complete and to be written in the register of state machine of local terminal management board; Then the local terminal management board enters into part master (Master_half) state; Be that the local terminal management board is the main management plate, and open the partial data passage and connect the partial service ply-yarn drill that the state machine on this moment opposite end management board receives after the local terminal management board enters into the signal of part master (Master_half) state; Can be stabilized in from state promptly becomes from management board, and opens the professional ply-yarn drill of data channel connection remainder of remainder.Rise in advance under main (Master_pre) state at this; If the state machine of local terminal management board detects two management boards and adopts active and standby pattern (active_standy_mode) and professional ply-yarn drill all to be ready to complete and be written in the register of state machine of local terminal management board; Then get into single master (Master_single) state; Promptly only the local terminal management board and is opened the whole professional ply-yarn drill of all data channel switch connections as the main management plate, and the opposite end management board is as idle subsequent use management board.
If under wait (Slave_wait) state; The state machine of local terminal management board detects two management boards and adopts master slave mode (master_slave_mode) and opposite end management board to be main (Master_half) state of part; Then the competition of local terminal management board gets into from (Slave) state for from management board.
In addition; Under main (Master_half) state of part; If detecting, the state machine of local terminal management board feed dog unusual (unusual) like the program redirect; Then turn back to fault processing (Error_process) state, thereby enter into, and return timing and wait for that (Timer_wait) state restarts system initialization from (Slave_reset) state that resets; If detect opposite end unusual (losing efficacy), then enter into preparatory liter and lead (Master_all_pre) state entirely, thereby after professional ply-yarn drill is ready to complete, enter into single master (Master_single) state like the opposite end management board; Or if when receiving the extraneous pressure switching command that sends; Enter into from (Slave_reset) state that resets; Opposite end management board competition this moment is main (Master_half) state of part, the local terminal management board will wait for from timing (Timer_wait) state to from wait (Slave_wait) state again to becoming from management board from (Slave) state.
Under (Slave) state,, then enter into the preparatory master of liter (Master_pre) state once more if detect opposite end unusual (losing efficacy) like the opposite end management board.
Under single master (Master_single) state, if the opposite end management board is ready to complete and system is master slave mode and has stopped the service of partial service ply-yarn drill, then the local terminal ply-yarn drill will enter into part master (Master_half) state; If detecting, the state machine of local terminal management board feed dog unusual (unusual) like the program redirect; Then turn back to the fault processing (state of Error _ process); Thereby enter into from (Slave_reset) state that resets, and return timing and wait for that (Timer_wait) state restarts system initialization; If detecting the opposite end management board is ready to complete, then get into main (Master_supervise) state of keeping watch on, promptly be similar to active and standby pattern, the local terminal management board is as the whole professional ply-yarn drills of main management board management, and the opposite end management board is as subsequent use management board;
Further, keep watch under (Master_supervise) state,, then return single master (Master_single) state if detect opposite end unusual (losing efficacy) like the opposite end management board main; If detecting, the state machine of local terminal management board feed dog unusual (unusual) like the program redirect; Then turn back to fault processing (Error_process) state; Thereby enter into from (Slave_reset) state that resets, and return timing and wait for that (Timer_wait) state restarts system initialization; Or if when receiving the extraneous pressure switching command that sends; Enter into from (Slave_reset) state that resets; Opposite end management board competition this moment is main (Master_half) state of part, the local terminal management board will wait for from timing (Timer_wait) state to from wait (Slave_wait) state again to becoming from management board from (Slave) state.
Present embodiment is described two-unit standby system of the present invention in detail; Through on the data channel between management board and the professional ply-yarn drill, introducing cross-coupled method; And the flexible control of combination programmable logic device, successfully solved in the two-unit standby system of traditional active and standby pattern, can cause the problem of the service disconnection of whole system after the main management plate is unusual; And improved the utilance of hardware resource on the subsequent use management board greatly, improved stability, flexibility and the ease for use of system simultaneously.
Fig. 7 is the schematic flow sheet of dual-host backup method embodiment of the present invention.As shown in Figure 7, comprise the steps:
Step 701, main management plate are through the State Control passage with from the mutual state information each other of management board;
Wherein, the main management plate is gathered the state of main management plate and is sent to from management board through the State Control passage, receives from what management board was exported to carry out corresponding state renewal from the state of management board and to the main management plate; The perhaps state from the management board collection from management board and be sent to the main management plate through the State Control passage, receive the output of main management plate the main management plate state and upgrade carry out corresponding state from management board;
Step 702, main management plate are provided with the main management plate and from the mapping relations of management board and professional ply-yarn drill, and are sent to from management board through collocation channel, and wherein, professional ply-yarn drill adopts the staggered form data channel to connect the main management plate respectively and from management board;
Wherein, the main management plate is provided with the main management plate and from the mapping relations of management board and professional ply-yarn drill, and will comprise that the mapping table of mapping relations is sent to from management board through collocation channel; From management board through collocation channel receive that the main management plate sends comprise the main management plate and from the mapping table of the mapping relations of management board and professional ply-yarn drill, and according to mapping table configuration from management board.
Step 703, main management buttress are opened the data channel that is connected to the corresponding service ply-yarn drill according to the mapping relations of state and the main management plate and the professional ply-yarn drill of main management plate, carry out the forwarding of business datum; And from management board according to from the state of management board and from the mapping relations of management board and professional ply-yarn drill, open the data channel that is connected to the corresponding service ply-yarn drill, carry out the forwarding of business datum.
In addition, when collecting when management board is updated to new main management plate and opens corresponding partial data passage according to new main management plate with the mapping relations of professional ply-yarn drill, control the main management plate and be updated to newly from management board; Be updated to newly from management board and newly open corresponding remainder data channel and carry out the business datum forwarding according to the main management plate from management board and the mapping relations of professional ply-yarn drill.When collecting from management board that invalid or main management plate is invalid, the main management plate that control is corresponding or be updated to single main management plate from management board; According to the main management plate or be updated to single main management plate from management board and open the data channel that is connected to all professional ply-yarn drills and carry out business datum and transmit.
The dual-host backup method of the master slave mode that present embodiment provides; Through on the data channel between management board and the professional ply-yarn drill, introducing cross-coupled method; At two the business datum forwarding capabilitys that all can be responsible for the partial service ply-yarn drill above the management board, through flexible control, successfully solved in the two-unit standby system of traditional active and standby pattern again the responsible professional ply-yarn drill of two management boards; The problem that can cause the service disconnection of whole system after the main management plate is unusual; After a management board is unusual, can not make all professional all interruptions of whole system, partial service is interrupted; Improve the utilance of hardware resource on the subsequent use management board greatly, improved stability, flexibility and the ease for use of system simultaneously.
What should explain at last is: above embodiment is only in order to technical scheme of the present invention to be described but not limit it; Although the present invention has been carried out detailed explanation with reference to preferred embodiment; Those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, also can not make amended technical scheme break away from the spirit and the scope of technical scheme of the present invention and these are revised or be equal to replacement.

Claims (12)

1. a management board is characterized in that, comprising:
State machine is used to gather the state of said management board and passes through the State Control passage and the mutual state information each other of another management board;
The configuration process module; Be used to be provided with the mapping relations of said management board and another management board and professional ply-yarn drill; Perhaps receive the mapping table that comprises the said management board and the mapping relations of another management board and professional ply-yarn drill; Said service line cartoon is crossed the staggered form data channel and is connected to said management board and another management board; So that, opening corresponding data channel according to the mapping relations of state and said another management board and the professional ply-yarn drill of said another management board, said another management board carries out the business datum forwarding;
Forwarding module is used for basis from the state of the said management board of said state machine acquisition and from the said management board of said configuration process module acquisition and the mapping relations of professional ply-yarn drill, opens corresponding data channel and carries out the business datum forwarding.
2. management board according to claim 1 is characterized in that, said state machine comprises:
The principal and subordinate elects module, and being used to elect said management board is main management plate or from management board;
Acquisition module is used for electing the election results of module to gather the state of said management board and being sent to said another management board through said State Control passage according to said principal and subordinate, receives the state of said another management board;
Status control module is used for state according to the state of the said management board of said acquisition module collection and said another management board and said management board is carried out corresponding state upgrades.
3. management board according to claim 2 is characterized in that, said status control module comprises: the first control submodule and the second control submodule,
When said acquisition module collect said another management board from said when management board is updated to new main management plate and opens corresponding partial data passage according to said new main management plate with the mapping relations of professional ply-yarn drill, the said first control submodule is used to control said management board and is updated to newly from management board from said main management plate; Said forwarding module also is used for being updated to according to the said management board that said acquisition module collects new for management board and said newly from the mapping relations of management board and professional ply-yarn drill, opens corresponding remainder data channel and carries out the business datum forwarding;
When said acquisition module collects said another management board when invalid, the said second control submodule is used to control corresponding said management board and is updated to single main management plate; Said forwarding module also is used for being updated to single main management plate according to the said management board that said acquisition module collects, and opens the data channel that is connected to all professional ply-yarn drills and carries out the business datum forwarding.
4. management board according to claim 2 is characterized in that,
When said principal and subordinate elects module to elect said management board to be the main management plate; Said configuration process module is: sending module is set; Be used to be provided with the mapping relations of said management board and another management board and professional ply-yarn drill, and will comprise that the mapping table of said mapping relations is sent to said another management board through collocation channel;
Elect module to elect said management board for the time said principal and subordinate from management board; Said configuration process module is: receive configuration module; Be used for receiving the mapping table that comprises the said management board and the mapping relations of another management board and professional ply-yarn drill that said another management board sends through collocation channel, and according to the said management board of said mapping table configuration.
5. according to the arbitrary described management board of claim 1-4, it is characterized in that, also comprise:
The mutual exclusion detection module is used for mapping relations to said management board and another management board and professional ply-yarn drill and whether satisfies the mutual exclusion condition and detect.
6. a two-unit standby system is characterized in that, comprising: main management plate, from management board and at least one professional ply-yarn drill, wherein
Said professional ply-yarn drill adopts the staggered form data channel to connect said main management plate respectively and from management board, is used for to said main management plate or said from management board transmission business datum;
The state that said main management plate is used to gather said main management plate is also through State Control passage and said from the mutual status information each other of management board; Be used to be provided with said main management plate and from the mapping relations of management board and professional ply-yarn drill and be sent to said through collocation channel from management board; And, open corresponding data channel and carry out business datum and transmit based on the mapping relations of state and the said main management plate and the professional ply-yarn drill of said main management plate;
Said from management board be used to gather said from management board state and through State Control passage and said main management plate each other state information alternately; Be used for through collocation channel receive that said main management plate sends comprise said main management plate and from the mapping table of the mapping relations of management board and professional ply-yarn drill; And, open corresponding data channel and carry out the business datum forwarding according to said state and said mapping relations from management board and professional ply-yarn drill from management board.
7. two-unit standby system according to claim 6 is characterized in that, said main management plate comprises:
First state machine, be used to gather the state of said main management plate and be sent to through said State Control passage said from management board, receive said from management board output said from management board state and said main management plate is carried out corresponding state upgrades;
Sending module is set, is used to be provided with said main management plate and, and will comprise that the mapping table of said mapping relations is sent to said from management board through collocation channel from the mapping relations of management board and said professional ply-yarn drill;
First forwarding module is used for basis from the state of the said main management plate of said first state machine acquisition and from the said said main management plate of sending module acquisition and the mapping relations of professional ply-yarn drill of being provided with, and opens corresponding data channel and carries out the business datum forwarding.
8. two-unit standby system according to claim 7 is characterized in that, saidly comprises from management board:
Second state machine is used to gather and saidly is sent to said main management plate from the state of management board and through said State Control passage, receive said main management plate output said main management plate state and carry out corresponding state from management board and upgrade said;
Receive configuration module, be used for through collocation channel receive that said main management plate sends comprise said main management plate and from the mapping table of the mapping relations of management board and professional ply-yarn drill, and said from management board according to said mapping table configuration;
Second forwarding module is used for basis and reaches the said mapping relations from management board and professional ply-yarn drill that obtain from said reception configuration module from the said state from management board that said second state machine obtains, and opens corresponding data channel and carries out the business datum forwarding.
9. a dual-host backup method is characterized in that, comprising:
The main management plate is through the State Control passage with from the mutual state information each other of management board;
Said main management plate is provided with said main management plate and from the mapping relations of management board and professional ply-yarn drill, and is sent to saidly from management board through collocation channel, and said professional ply-yarn drill adopts the staggered form data channel to connect said main management plate respectively and from management board;
Said main management buttress is opened the data channel that is connected to the corresponding service ply-yarn drill according to the state of said main management plate and the mapping relations of said main management plate and professional ply-yarn drill, carries out the forwarding of business datum;
Said from management board according to said state and said mapping relations from management board and professional ply-yarn drill from management board, open the data channel that is connected to the corresponding service ply-yarn drill, carry out the forwarding of business datum.
10. dual-host backup method according to claim 9 is characterized in that, said main management plate specifically comprises through the State Control passage with from the mutual state information each other of management board:
Said main management plate gather the state of said main management plate and be sent to through the State Control passage said from management board, receive said from management board output said from management board state and said main management plate is carried out corresponding state upgrades;
The said collection from management board saidly is sent to said main management plate from the state of management board and through the State Control passage, receive said main management plate output said main management plate state and carry out corresponding state from management board and upgrade said.
11. dual-host backup method according to claim 10 is characterized in that, also comprises:
Said main management plate is provided with said main management plate and from the mapping relations of management board and said professional ply-yarn drill, and will comprise that the mapping table of said mapping relations is sent to said from management board through collocation channel;
Said from management board through collocation channel receive that said main management plate sends comprise said main management plate and from the mapping table of the mapping relations of management board and professional ply-yarn drill, and said from management board according to said mapping table configuration.
12. according to claim 9,10 or 11 described dual-host backup methods, it is characterized in that, also comprise:
Said when management board is updated to new main management plate and opens corresponding partial data passage according to said new main management plate with the mapping relations of professional ply-yarn drill when collecting, control said main management plate and be updated to newly from management board; Be updated to newly from management board and said according to said main management plate, open corresponding remainder data channel and carry out the business datum forwarding newly from the mapping relations of management board and professional ply-yarn drill;
Said when invalid or main management plate is invalid from management board when collecting, the said main management plate that control is corresponding or be updated to single main management plate from management board; Be updated to single main management plate according to said main management plate or from management board, open the data channel that is connected to all professional ply-yarn drills and carry out the business datum forwarding.
CN2009100872998A 2009-06-15 2009-06-15 Management board and two-unit standby system and method Active CN101582797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100872998A CN101582797B (en) 2009-06-15 2009-06-15 Management board and two-unit standby system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100872998A CN101582797B (en) 2009-06-15 2009-06-15 Management board and two-unit standby system and method

Publications (2)

Publication Number Publication Date
CN101582797A CN101582797A (en) 2009-11-18
CN101582797B true CN101582797B (en) 2012-06-27

Family

ID=41364772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100872998A Active CN101582797B (en) 2009-06-15 2009-06-15 Management board and two-unit standby system and method

Country Status (1)

Country Link
CN (1) CN101582797B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006223B (en) * 2010-11-17 2013-06-19 福建星网锐捷网络有限公司 Data transmission method, device and system between cards, board card and distributed system
CN102320318B (en) * 2011-05-31 2013-10-09 南京康尼电子科技有限公司 MVB (multifunction vehicle bus) dual-redundancy car door network system
CN102497243B (en) * 2011-12-14 2014-11-12 南京科远自动化集团股份有限公司 Ethernet-based major state and secondary state quick arbitration method of redundancy module
CN104065499B (en) * 2013-03-19 2017-06-27 鼎点视讯科技有限公司 Master control borad, main preparation system, information backup method and device
CN103338154B (en) * 2013-06-20 2016-05-04 福建星网锐捷网络有限公司 The chip, method and the network equipment that start for complete machine
CN104092563B (en) * 2014-06-13 2017-10-27 新华三技术有限公司 The transmission method and equipment of a kind of service configuration information
CN104410502B (en) * 2014-10-28 2017-11-10 新华三技术有限公司 The network equipment and the interface board power-up initializing method for the network equipment
CN109583183B (en) * 2018-12-03 2020-04-14 无锡华云数据技术服务有限公司 Client management method and device
CN110850776B (en) * 2019-11-21 2021-03-23 杭州迪普科技股份有限公司 Control method and control device of frame type equipment and frame type equipment
CN111338992A (en) * 2020-02-25 2020-06-26 邦彦技术股份有限公司 VPX machine frame board card management method and device based on FPGA

Citations (3)

* 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
CN1738214A (en) * 2004-08-17 2006-02-22 华为技术有限公司 Inter-board channel protection device and method

Patent Citations (3)

* 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
CN1738214A (en) * 2004-08-17 2006-02-22 华为技术有限公司 Inter-board channel protection device and method

Also Published As

Publication number Publication date
CN101582797A (en) 2009-11-18

Similar Documents

Publication Publication Date Title
CN101582797B (en) Management board and two-unit standby system and method
CN101150430B (en) A method for realizing network interface board switching based heartbeat mechanism
CN102638735B (en) Optical node device and business switching method thereof
CN101478435A (en) Topology collecting method for stacking system and dual control board equipment
CN110636015A (en) Communication system and board card configuration method
CN102104531B (en) Message processing device, method and system
CN102843259A (en) Middleware self-management hot backup method and middleware self-management hot backup system in cluster
CN105871592A (en) Duplicated hot-redundancy method of telephone dispatching device in distributed system architecture
CN112416969B (en) Parallel task scheduling system in distributed database
CN103139033A (en) Primary device redundancy switching method of single main communication control bus
CN103428114A (en) ATCA (advanced telecom computing architecture) 10-gigabit switching board and system
CN101667953B (en) Reporting method of rapid looped network physical link state and device therefor
CN101938369A (en) Comprehensive network management access management system, management method and network management system applying same
CN103324554A (en) Standby system device, a control method, and a program thereof
CN104639358A (en) Batched network port switching method and system
CN102231700B (en) Exchange card switching information transmission method and exchange card hot backup system
CN101499910A (en) Modulated switch and communication method thereof
CN1968075B (en) Distributed hot-standby logic device and primary/standby board setting method
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN101247213A (en) Method and system for master/standby rearrangement
CN103401708A (en) Port configuration method and device
CN111262745A (en) Information processing platform redundancy system design
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN101000572A (en) Mainframe management system and method
CN104135411A (en) Device and method of implementing multi-node communication based on RS232 interface

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