CN1463081A - Method for realization of fast rearranging main spared device in communication devices - Google Patents
Method for realization of fast rearranging main spared device in communication devices Download PDFInfo
- Publication number
- CN1463081A CN1463081A CN 02121024 CN02121024A CN1463081A CN 1463081 A CN1463081 A CN 1463081A CN 02121024 CN02121024 CN 02121024 CN 02121024 A CN02121024 A CN 02121024A CN 1463081 A CN1463081 A CN 1463081A
- Authority
- CN
- China
- Prior art keywords
- master
- slave device
- device switching
- submodule
- instruction
- 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
Links
Landscapes
- Hardware Redundancy (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The control module for rearranging main spared device composed of the detecting sub module, the command sending sub module and the executing sub module is realized by using the field programmable gate array (FPGA) in communication device. When a fault happened in the main device being detected, the detecting sub module informs the command sending sub module, which sends the command to the executing sub module to carry out and complete the rearrangement procedure. In the invention, the rearranging functions are realized by hardware. Thus, the rearranging speed is increased greatly. Moreover, when the rearrangement procedure is carried out, there is no spike generated. Thus, the rearranging time can be decreased further. The invention omits the MUX chip, saving the area of the board in communication devices.
Description
Technical field
The present invention relates to communication technical field, relate in particular to and realize the method that master/slave device is switched fast in a kind of communication equipment.
Background technology
At communication technical field, in order to increase the stability of communication system, be typically provided with backup for the relative pith equipment of communication system, promptly be respectively equipped with host apparatus and stand-by equipment, as the cross board among the SDH (synchronous digital hierarchy), the power board in the switch etc., to guarantee when wherein host apparatus breaks down, system can switch to stand-by equipment immediately, make stand-by equipment replace host apparatus to carry out operate as normal, to keep the continuity of whole system, not can because of a certain equipment can't operate as normal causes whole communication system can't operate as normal.
At present, carrying out master/slave device after host apparatus breaks down in the communication system switches the method adopted and mainly contains two kinds.A kind of master/slave device switching method as shown in Figure 1, this method is that the present behavior that detects main equipment and be equipped with equipment by CPU is to determine whether to carry out master/slave device switching.When detection module detected host apparatus and breaks down, with this message informing CPU, CPU reinformed MUX (masterslave switchover) chip and makes stand-by equipment take over host apparatus entering operating state.As everyone knows, the reaction speed of general CPU is tens microsecond levels, as MPC850, and in communication system, require at present in fault the masterslave switchover work of treatment to take place must finish within 2~3 microseconds of back, when need finding masterslave switchover, CPU instruct the execution of MUX chip to switch to sending to switch, its time interval often can't be satisfied communication system to the requirement of master/slave device switching time, and especially the requirement to master/slave device switching is higher in the backbone network of communication system.Simultaneously, the MUX chip is realized by combinational logic, input signal is through different paths, combinational logic is easy to generate competition and takes a risk, so also can jaggedly produce, need just to have stable signal output in the short time, to carry out corresponding operation, this has just further increased the time interval of master/slave device switching.
Another kind of master/slave device switching method breaks down when detection module detects host apparatus as shown in Figure 2 exactly, in the time of need carrying out master/slave device switching, then sends to switch by inter-process and instructs the MUX chip.This method has alleviated the burden of CPU to a certain extent, but does not fundamentally eliminate the influence to the master/slave device switching time of burr that the MUX chip produced.
Therefore, though the technical scheme of existing realization master/slave device switching is simple, and be easier to design and debugging, speed is too slow when carrying out master/slave device switching, can't satisfy the demand of communication system.
Summary of the invention
The purpose of this invention is to provide and realize the method that master/slave device is switched fast in a kind of communication equipment, to satisfy the requirement of communication system the master/slave device switching time.
The object of the present invention is achieved like this: realize in the communication equipment comprising the method that master/slave device is switched fast:
(1) utilize FPGA (Field Programmable Gate Array) to set up the master/slave device switching control module, the master/slave device switching control module comprises: master/slave device switching detection sub-module, master/slave device switching instruction are sent submodule and are carried out the master/slave device switching submodule;
(2) the master/slave device switching detection sub-module detects host apparatus and breaks down, and submodule is sent in the instruction of notice master/slave device switching;
(3) the master/slave device switching instruction is sent submodule to carrying out master/slave device switching submodule transmission the carrying out instruction of master/slave device switching;
(4) carrying out the master/slave device switching submodule makes stand-by equipment enter operating state.
Described FPGA adopts is FPGA on the veneer in the communication equipment.
Described step (2) comprising:
(31) the master/slave device switching detection sub-module detects host apparatus according to the working condition of master/slave device and breaks down;
(32) the master/slave device switching detection sub-module is sent submodule to master/slave device switching instruction and is given notice.
Described step (3) comprising:
(41) notice that submodule is received the master/slave device switching detection sub-module is sent in the master/slave device switching instruction;
(42) the master/slave device switching instruction is sent submodule to carrying out master/slave device switching submodule transmission the carrying out instruction of master/slave device switching.
Described step (4) is: the execution master/slave device switching submodule with alternative function according to master/slave device switching instruction send the Instruction Selection stand-by equipment that submodule sends and enter operating state.
By technique scheme as can be seen, realize in the communication equipment provided by the present invention that method that master/slave device is switched fast is to have utilized the FPGA on the communication equipment veneer to realize the detection of master/slave device and switch instruction and function such as send, whole switch functions all adopts hardware to realize, therefore, can improve the speed of switching of master/slave device greatly.And the function of carrying out masterslave switchover among the present invention is to adopt the synchronous circuit of FPGA inside to realize equally, so almost there is not burr to produce when carrying out masterslave switchover, this has just further reduced the time of master/slave device switching.In addition, the present invention has saved the MUX chip of carrying out masterslave switchover in the prior art owing to adopt FPGA to realize corresponding function, has saved the area of veneer in the communication equipment.
Description of drawings
Fig. 1 is the theory diagram A that realizes masterslave switchover in the prior art;
Fig. 2 is the theory diagram B that realizes masterslave switchover in the prior art;
Fig. 3 is for realizing the theory diagram of masterslave switchover among the present invention;
Fig. 4 realizes the flow chart of masterslave switchover for the present invention.
Embodiment
The specific embodiment of the present invention is described below in conjunction with the accompanying drawings, referring to Fig. 3, Fig. 4:
The veneer of communication equipment all has FPGA usually at present, be used for handling variety of protocol and control circuit, the present invention detects masterslave switchover and switch that instruction is sent and one of MUX device is accomplished the FPGA the inside, promptly utilize FPGA to realize having the master/slave device switching control module of corresponding function, see step 1, the master/slave device switching control module comprises: master/slave device switching detection sub-module, master/slave device switching instruction are sent submodule and are carried out the master/slave device switching submodule.
The FPGA circuit is to adopt the synchronous circuit design, all inputs are all come synchronously by clock, overcome the shortcoming that MUX chip in the prior art easily produces burr, so safe and reliable characteristics of reversed process, and owing to all adopted hardware realization, the speed of realization will be far longer than the speed that available technology adopting CPU handles.
After having set up master/slave device switching control module, just can control by its process to master/slave device switching in the communication equipment with corresponding function.Referring to step 2, the master/slave device switching detection sub-module detects host apparatus according to the working condition of master/slave device and breaks down; For example, can whether lose according to the clock of the work at present plate of power board in the switch, or whether the signal of work at present plate is lost and is judged whether host apparatus breaks down, judge promptly whether the work at present plate breaks down, if the clock of work at present plate or dropout think that then the work at present plate breaks down.
After the master/slave device switching detection sub-module detected host apparatus and breaks down, then execution in step 3, sent submodule by the master/slave device switching detection sub-module to the master/slave device switching instruction and gave notice; Referring to step 4, master/slave device switching instruction is sent submodule and is received the notice that needs that the master/slave device switching detection sub-module sends carry out master/slave device switching.
Step 5: receive need carry out the notice of master/slave device after, master/slave device switching instruction is sent submodule and is sent and carry out the instruction of master/slave device switching to carrying out the master/slave device switching submodule.
Step 6: the execution master/slave device switching submodule with alternative function according to master/slave device switching instruction send the Instruction Selection stand-by equipment that submodule sends and enter operating state.
Through said process, the present invention has realized switching fast the goal of the invention of carrying out work to stand-by equipment when the host apparatus in the communication equipment breaks down.
Claims (5)
1, realize the method that master/slave device is switched fast in a kind of communication equipment, comprising:
(1) utilize FPGA (Field Programmable Gate Array) to set up the master/slave device switching control module, the master/slave device switching control module comprises: master/slave device switching detection sub-module, master/slave device switching instruction are sent submodule and are carried out the master/slave device switching submodule;
(2) the master/slave device switching detection sub-module detects host apparatus and breaks down, and submodule is sent in the instruction of notice master/slave device switching;
(3) the master/slave device switching instruction is sent submodule to carrying out master/slave device switching submodule transmission the carrying out instruction of master/slave device switching;
(4) carrying out the master/slave device switching submodule makes stand-by equipment enter operating state.
2, realize the method that master/slave device is switched fast in the communication equipment according to claim 1, that it is characterized in that described FPGA adopts is FPGA on the veneer in the communication equipment.
3, realize the method that master/slave device is switched fast in the communication equipment according to claim 1, it is characterized in that described step (2) comprising:
(31) the master/slave device switching detection sub-module detects host apparatus according to the working condition of master/slave device and breaks down;
(32) the master/slave device switching detection sub-module is sent submodule to master/slave device switching instruction and is given notice.
4, realize the method that master/slave device is switched fast in the communication equipment according to claim 3, it is characterized in that described step (3) comprising:
(41) notice that submodule is received the master/slave device switching detection sub-module is sent in the master/slave device switching instruction;
(42) the master/slave device switching instruction is sent submodule to carrying out master/slave device switching submodule transmission the carrying out instruction of master/slave device switching.
5, realize the method that master/slave device is switched fast in the communication equipment according to claim 3, it is characterized in that described step (4) is: the execution master/slave device switching submodule with alternative function according to master/slave device switching instruction send the Instruction Selection stand-by equipment that submodule sends and enter operating state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02121024 CN1251419C (en) | 2002-05-30 | 2002-05-30 | Method for realization of fast rearranging main spared device in communication devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02121024 CN1251419C (en) | 2002-05-30 | 2002-05-30 | Method for realization of fast rearranging main spared device in communication devices |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1463081A true CN1463081A (en) | 2003-12-24 |
CN1251419C CN1251419C (en) | 2006-04-12 |
Family
ID=29742721
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02121024 Expired - Fee Related CN1251419C (en) | 2002-05-30 | 2002-05-30 | Method for realization of fast rearranging main spared device in communication devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1251419C (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006007785A1 (en) * | 2004-07-23 | 2006-01-26 | Huawei Technologies Co., Ltd. | Master-spare converting control circuit and method thereof |
CN1306777C (en) * | 2004-10-18 | 2007-03-21 | 北京首信股份有限公司 | Method for realizing seamless changing of master and spare service module |
CN100353710C (en) * | 2004-06-16 | 2007-12-05 | 华为技术有限公司 | Upgradable communication system and method for upgrading communication system |
CN100407727C (en) * | 2004-01-18 | 2008-07-30 | 中兴通讯股份有限公司 | An inter-processor communication method based on message |
CN100530996C (en) * | 2004-08-06 | 2009-08-19 | 华为技术有限公司 | System and method for realizing veneer active/standby changeover in communication equipment |
CN101155061B (en) * | 2006-09-28 | 2010-05-12 | 中兴通讯股份有限公司 | Master/standby control method |
CN101159525B (en) * | 2007-11-13 | 2011-04-20 | 上海华为技术有限公司 | Veneer master-slave rearranging method and system and a veneer |
CN102073562A (en) * | 2010-12-31 | 2011-05-25 | 山石网科通信技术(北京)有限公司 | Hardware-based main/standby switch arbitration method |
WO2011079658A1 (en) * | 2009-12-29 | 2011-07-07 | 中兴通讯股份有限公司 | Device and method for realizing switch between active and standby services |
CN102340407A (en) * | 2010-07-21 | 2012-02-01 | 中兴通讯股份有限公司 | Protection switching method and system |
CN102820981A (en) * | 2011-06-08 | 2012-12-12 | 中兴通讯股份有限公司 | Single board switching method and protective single board |
CN103077091A (en) * | 2012-12-28 | 2013-05-01 | 瑞斯康达科技发展股份有限公司 | Method and system for master and standby interchangeable management |
CN106850423A (en) * | 2015-12-04 | 2017-06-13 | 北京东土军悦科技有限公司 | A kind of pair of fast replacing method and device of network port device |
CN109768884A (en) * | 2018-12-26 | 2019-05-17 | 京信通信系统(中国)有限公司 | The implementation method of communication system and its high availability, device and computer equipment |
WO2023280041A1 (en) * | 2021-07-09 | 2023-01-12 | 三维通信股份有限公司 | Active-standby switching processing method and system, and electronic apparatus and storage medium |
-
2002
- 2002-05-30 CN CN 02121024 patent/CN1251419C/en not_active Expired - Fee Related
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100407727C (en) * | 2004-01-18 | 2008-07-30 | 中兴通讯股份有限公司 | An inter-processor communication method based on message |
CN100353710C (en) * | 2004-06-16 | 2007-12-05 | 华为技术有限公司 | Upgradable communication system and method for upgrading communication system |
WO2006007785A1 (en) * | 2004-07-23 | 2006-01-26 | Huawei Technologies Co., Ltd. | Master-spare converting control circuit and method thereof |
CN100530996C (en) * | 2004-08-06 | 2009-08-19 | 华为技术有限公司 | System and method for realizing veneer active/standby changeover in communication equipment |
CN1306777C (en) * | 2004-10-18 | 2007-03-21 | 北京首信股份有限公司 | Method for realizing seamless changing of master and spare service module |
CN101155061B (en) * | 2006-09-28 | 2010-05-12 | 中兴通讯股份有限公司 | Master/standby control method |
CN101159525B (en) * | 2007-11-13 | 2011-04-20 | 上海华为技术有限公司 | Veneer master-slave rearranging method and system and a veneer |
WO2011079658A1 (en) * | 2009-12-29 | 2011-07-07 | 中兴通讯股份有限公司 | Device and method for realizing switch between active and standby services |
CN101777996B (en) * | 2009-12-29 | 2013-04-10 | 中兴通讯股份有限公司 | Device and method for realizing switching primary and spare services |
CN102340407A (en) * | 2010-07-21 | 2012-02-01 | 中兴通讯股份有限公司 | Protection switching method and system |
CN102340407B (en) * | 2010-07-21 | 2015-07-22 | 中兴通讯股份有限公司 | Protection switching method and system |
CN102073562A (en) * | 2010-12-31 | 2011-05-25 | 山石网科通信技术(北京)有限公司 | Hardware-based main/standby switch arbitration method |
CN102073562B (en) * | 2010-12-31 | 2014-08-20 | 山石网科通信技术有限公司 | Hardware-based main/standby switch arbitration method |
CN102820981A (en) * | 2011-06-08 | 2012-12-12 | 中兴通讯股份有限公司 | Single board switching method and protective single board |
CN103077091A (en) * | 2012-12-28 | 2013-05-01 | 瑞斯康达科技发展股份有限公司 | Method and system for master and standby interchangeable management |
CN106850423A (en) * | 2015-12-04 | 2017-06-13 | 北京东土军悦科技有限公司 | A kind of pair of fast replacing method and device of network port device |
CN106850423B (en) * | 2015-12-04 | 2019-12-03 | 北京东土军悦科技有限公司 | A kind of fast replacing method and device of double network port devices |
CN109768884A (en) * | 2018-12-26 | 2019-05-17 | 京信通信系统(中国)有限公司 | The implementation method of communication system and its high availability, device and computer equipment |
WO2023280041A1 (en) * | 2021-07-09 | 2023-01-12 | 三维通信股份有限公司 | Active-standby switching processing method and system, and electronic apparatus and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN1251419C (en) | 2006-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1251419C (en) | Method for realization of fast rearranging main spared device in communication devices | |
CN101488844B (en) | Method and system for communication link switching control between boards and an interface board | |
CN1874201A (en) | Method and equipment for triggering protection of optical network under shared configuration of receiving devices | |
CN1128558C (en) | Base station control maintenance module backup system | |
CN100530996C (en) | System and method for realizing veneer active/standby changeover in communication equipment | |
CN102763087B (en) | Method and system for realizing interconnection fault-tolerance between CPUs | |
CN1184744C (en) | Master-spare converting control circuit and method for realizing it | |
CN1248425C (en) | Exchange method between on-line and off-line communicator | |
JP2008141729A (en) | Network device and method for synchronously transmitting data employed by the same | |
CN100364246C (en) | Method and device for realizing single board backup in communication network device | |
CN1512675A (en) | Conversion method for main and spare communication channels | |
CN1722628A (en) | Method and system for equipment switching in communication system | |
CN1324859C (en) | Device and method of processing main spared inversion of synchronous system | |
CN103744755A (en) | Implement system for primary and standby veneer single port shared protection and method thereof | |
CN111245206B (en) | Frequency converter IGBT drive control method and control device | |
CN100479341C (en) | A device and method for the E1/T1 interface backup | |
CN117608231B (en) | Redundancy control method and device for converter valve control system | |
CN1829166A (en) | Method for card redundancy backup | |
CN1172450C (en) | Method for providing clock in network equipment and its equipment | |
CN218040784U (en) | Frequency converter system with double power supply loops and frequency converter with double power supply loops | |
KR100247419B1 (en) | Duplexing active/standby control method using giltch delete circuit | |
US8762597B2 (en) | Method and apparatus for switching the main/standby single board | |
CN109149653B (en) | Parallel inverter system, wave-by-wave current limiting control method and interface board | |
CN1504915A (en) | Method and apparatus for multi machines switching | |
CN113312089B (en) | Low-cost high-efficiency inter-disc communication physical channel switching control system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060412 Termination date: 20110530 |