Summary of the invention
The technical problem to be solved in the present invention provides a kind of single-chip protection system and realizes the method for board switchover, has simplified the board switchover process, has shortened switching time.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of single-chip protection system, comprise that network element control unit, M are main with veneer, a N stand-by unit and switch control unit, M and N are positive integer, and described network element control unit is used for configuration information is sent to the master that handles described configuration information simultaneously with veneer and whole standby board; Each main driving of enabling correspondence with veneer respectively according to the configuration information that receives; Each standby board obtains each main drive arrangements with veneer according to the configuration information that receives respectively, and according to the described control information of switching of switching the control unit transmission, enables or forbid corresponding main driving with veneer.
In the such scheme, described each standby board further comprises configuration process unit, corresponding each main driving register and Decision Control unit with veneer; Described configuration process unit is used to receive the configuration information that described network element control unit sends, and it is handled, and obtains described each main drive arrangements with veneer; Each drives register and is used to store corresponding main drive arrangements with veneer; Described Decision Control unit is used for driving register for enabling or disabled status according to the described control information control correspondence of switching of switching the control unit transmission.
A kind of method that realizes board switchover may further comprise the steps:
Each main configuration information with veneer that a, standby board receive and the processing net element control unit sends obtains each main drive arrangements with the veneer correspondence;
B, described standby board are monitored the described control information of switching of switching the control unit transmission, and enable or forbid corresponding main driving with veneer according to it.
In the such scheme, described step a realizes by following steps:
A1, described standby board receive each main configuration information with veneer that described network element control processing unit sends by the configuration process unit;
A2, described configuration process unit are handled the configuration information that receives, and obtain each main drive arrangements with the veneer correspondence.
In the such scheme, among the step a, described standby board stores it into corresponding driving register respectively after obtaining each main drive arrangements with the veneer correspondence, and described each driving register all is set to disabled status.
In the such scheme, among the described step b, described standby board is switched control information by Decision Control unit monitoring is described, describedly switches control information when switching order, and described driving of switching the corresponding main usefulness veneer of order is enabled in described Decision Control unit; Describedly switch control information when switching order for cancelling, forbidding described cancelling in described Decision Control unit switched the corresponding main driving with veneer of order.
In the such scheme, described configuration information comprises service configuration information and control configuration information.
Beneficial effect of the present invention mainly shows: realize by single-chip protection provided by the invention system in the method for board switchover; standby board is stored in corresponding driving register after the configuration information that receives is handled; and according to the driving that corresponding main usefulness veneer was enabled or forbidden in control information of switching of switching the control unit transmission; thereby simplified the board switchover process to greatest extent; shortened switching time; improved and switched efficient; solve the long problem of professional wink break time in the board switchover process, improved the self-healing ability of system.
Embodiment
The invention will be further described below in conjunction with accompanying drawing.
With reference to Fig. 1, M: N single-chip protection system comprises: network element control unit, M are main with veneer, a N stand-by unit and switch control unit, and M and N are positive integer;
The network element control unit is used for configuration information is sent to the master that handles this configuration information simultaneously with veneer and whole standby board; Configuration information comprises service configuration information and control configuration information;
Each main driving of enabling correspondence with veneer respectively according to the configuration information that receives;
Each standby board obtains each main drive arrangements with veneer according to the configuration information that receives respectively, and according to the control information of switching of switching the control unit transmission, enables or forbid corresponding main driving with veneer.
With reference to Fig. 2, each standby board further comprises configuration process unit, corresponding each main driving register and Decision Control unit with veneer;
The configuration process unit is used to receive the configuration information that the network element control unit sends, and it is handled, and obtains each main drive arrangements with veneer;
Each drives register and is used to store corresponding main drive arrangements with veneer;
The Decision Control unit is used for driving register for enabling or disabled status according to the control information control correspondence of switching of switching the control unit transmission, promptly enables or forbid corresponding main driving with veneer.
With reference to Fig. 3, above-mentioned single-chip protection system realizes the method for board switchover, may further comprise the steps:
S301: the configuration process unit of standby board receives each main configuration information with veneer that the network element control processing unit sends; Wherein, configuration information comprises service configuration information and control configuration information;
S302: the configuration process unit of standby board is handled the configuration information that receives, and obtains each main drive arrangements with the veneer correspondence;
S303: standby board stores each main drive arrangements with the veneer correspondence into corresponding driving register respectively, and each driving register all is set to disabled status;
S304: the control information of switching of control unit transmission is switched in the Decision Control unit monitoring of standby board, and enable or forbid correspondence according to it and lead the driving of using veneer, that is: the Decision Control unit monitors switches control information when switching order, enable this and switch the corresponding main driving of order, just enable corresponding driving register with veneer; The Decision Control unit is detected switches control information when switching order for cancelling, and forbids this and cancels and switch the corresponding main driving with veneer of order, the just corresponding driving register of forbidding.
Being example with a single-chip protection system of 1: 3 below is further described the method for above-mentioned board switchover.
The configuration process unit of the first step, standby board receives main with veneer 1, main withveneer 2 and main configuration information with veneer 3;
The configuration process cell processing master of second step, standby board obtains main with veneer 1, main withveneer 2 and main drive arrangements with veneer 3 with veneer 1, main withveneer 2 and main configuration information with veneer 3;
The 3rd step, standby board will be led with veneer 1, main withveneer 2 and mainly store main driving register with veneer 1 correspondence respectively into, mainly use the driving register ofveneer 2 correspondences and the driving register that the master uses veneer 3 correspondences with veneer 3 drive arrangements, and 3 driving registers all are set to disabled status;
The control information of switching of control unit transmission is switched in the monitoring in real time of the Decision Control unit of the 4th step, standby board, switch order if receive, as the main order of switching withveneer 2, then the driving register led withveneer 2 correspondences of Decision Control unit is set to initiate mode, promptly enables main driving withveneer 2 at standby board; If receive again afterwards and main switch order with cancelling ofveneer 2, then the driving register led withveneer 2 correspondences of Decision Control unit is set to disabled status, promptly leads driving withveneer 2 at the standby board forbidding.
From above description as can be seen, the present invention has simplified the board switchover process to greatest extent, has shortened switching time, has improved and has switched efficient, has solved the long problem of professional wink break time in the board switchover process, has improved the self-healing ability of system.
The above is embodiments of the invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.