CN101986626B - Method and device for protecting equipment - Google Patents
Method and device for protecting equipment Download PDFInfo
- Publication number
- CN101986626B CN101986626B CN201010548833.3A CN201010548833A CN101986626B CN 101986626 B CN101986626 B CN 101986626B CN 201010548833 A CN201010548833 A CN 201010548833A CN 101986626 B CN101986626 B CN 101986626B
- Authority
- CN
- China
- Prior art keywords
- control board
- board
- main control
- slave control
- passage
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/74—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information operating in dual or compartmented mode, i.e. at least one secure mode
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a device for protecting equipment. The method comprises the following step of: performing chip stacking on primary and standby master control boards, connecting the primary and standby master control boards to ports of the same service board for port trunking, and performing port trunking on the ports which are connected to the primary and standby master control boards at the service board side; and when protection switching is performed, the primary and standby master control boards are switched through a channel formed by chip stacking, and the service board and the standby master control board perform interaction through a trunked channel which is formed by port trunking. By stacking the chips of a plurality of master control boards and trunking the ports of the chips, communication equipment is protected, and the problem of long broken link time during switching in the conventional mode is effectively solved.
Description
Technical field
The present invention relates to technical field of communication equipment, particularly relate to a kind of guard method and device of equipment.
Background technology
For communication system devices, generally take master control borad (NCP) to add the framework of business board, clock board usually and master control borad be integrated, business board comprises intersection (exchange) plate, interface board, wiring board and tributary card etc.Between master control borad and business board, have one or more passage, master control borad is responsible for the management and supervision to each business board, and business board needs timing or not timing to report various state information, as information such as alarm, expense and heartbeats.Pretection switch control centre is generally arranged on master control borad, and the information such as alarm and heartbeat that master control borad feeds back according to business board issues switching control information after treatment.Because the importance and functions of master control borad is extremely important, so generally arrange two or more than two master control borad in system, the protected modes such as 1+1,1:1,1+N or 1:N are taked to carry out work.
Passage (may be S mouth passage, ECC passage and alarm passage etc., be referred to as management channels here) between master control borad and business board adopts Ethernet (as FE, GE etc.) usually, and power mode and optical mode are applied all to some extent; And have one or several data syn-chronization passage (can be the passages such as FE, GE, 10GE) between each master control borad, for the data syn-chronization between active and standby and mutual; Leave some hardware interconnection lines between simultaneously active and standby, transmit activestandby state and carry out switching control.
Communication chip between traditional active and standby NCP is separately independently, for whole system, if adopt Ethernet interconnect architecture, as shown in Figure 1, then obviously can find out to there is multiple loop between active and standby NCP and each veneer, therefore, need the broadcast storm preventing Ethernet Cheng Huan from causing, traditional way has two kinds:
(1) Link(closing standby board connects) state, ensure that synchronization only has a master control borad to be connected with other service boards, although this method eliminates the problem of Ethernet Cheng Huan, be lost most of defencive function simultaneously.As we can see from the figure, Protection path to lack a lot.In addition, in the process of switch Link, also can cause the chain rupture of certain hour.
(2) the Ethernet broadcast storm adopting spanning tree (STP) or rapid spanning-tree (RSTP) agreement to prevent Ethernet Cheng Huan from causing, and no matter be STP or RSTP algorithm, owing to there being the participation of CPU, can protocols having operation time, simultaneously when node too much (slot is too much) time, find ROOT(root) time of node can lengthen, so said method is when switching generation, the protocol convergence time is slow, and the chain rupture time can be long.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of guard method and device of equipment, solves the problem that when active and standby NCP switches, the chain rupture time is long.
For solving the problems of the technologies described above, the guard method of a kind of equipment of the present invention, comprising:
Primary and backup master control borad is carried out chip-stacked, and the port being connected to same business board of this primary and backup master control borad is carried out port trunking, in described business board side, the port being connected to described primary and backup master control borad is carried out port trunking;
When there is pretection switch, described main control board and slave control board are switched by the passage of chip-stacked rear formation, and described business board and slave control board are undertaken by the converging channels formed after port trunking alternately.
Further, described business board and slave control board carry out mutual step by the converging channels formed after port trunking and comprise:
Described business board detect with described main control board chain rupture after, described converging channels carrying out flow equalization, sending to described slave control board by sending to the information of described main control board by the passage be connected with described slave control board in described converging channels.
Further, the step that described main control board and slave control board are undertaken switching by the passage of chip-stacked rear formation comprises:
Activestandby state information and switching control information, by the passage of the described chip-stacked rear formation between described slave control board, are sent to described slave control board by described main control board, to realize the switching of master control borad.
Further, the method also comprises:
After described main control board and slave control board switch, described business board is carrying out in mutual process with described slave control board, also detects the Link State between described slave control board.
Further, the method also comprises:
Before generation pretection switch, described business board carries out information interaction by the passage that is connected with described main control board in described converging channels and this main control board.
Further, a kind of protective device of equipment, comprise: main control board and slave control board, it is characterized in that, adopt chip-stacked between described main control board and slave control board, further, the port being connected to same business board of described main control board and slave control board adopts port trunking, and the port described business board being connected to described primary and backup master control borad adopts port trunking;
Described main control board and slave control board, for when there is pretection switch, switched by the passage of chip-stacked rear formation;
Described business board, for being undertaken by the converging channels formed after port trunking with described slave control board alternately.
Further, described business board and described slave control board carry out mutual step by the converging channels formed after port trunking and comprise:
Described business board detect with described main control board chain rupture after, described converging channels carrying out flow equalization, sending to described slave control board by sending to the information of described main control board by the passage be connected with described slave control board in described converging channels.
Further, the step that described main control board and slave control board are undertaken switching by the passage of chip-stacked rear formation comprises:
Activestandby state information and switching control information, by the passage of the described chip-stacked rear formation between described slave control board, are sent to described slave control board by described main control board, to realize the switching of master control borad.
Further, described business board, also for after described main control board and slave control board switch, is carrying out in mutual process with described slave control board, detects the Link State between described slave control board.
Further, described business board, also for before generation pretection switch, carries out information interaction by the passage that is connected with described main control board in described converging channels and this main control board.
In sum; the present invention is by realizing the protection to communication apparatus by the mode of chip-stacked for polylith master control borad (Stack) and chip port polymerization (Trunk); effectively can solve the traditional approach problem that the chain rupture time is long when switching generation; link between master control borad and the link between master control borad and business board all reach the fastest information transmission and pretection switch; thus the protective capability of whole system can be promoted under succinct system architecture, communication system is set up a kind of efficiently protection mechanism of stalwartness.
Accompanying drawing explanation
Fig. 1 is the schematic block diagram of existing equipment protection scheme;
Fig. 2 is that present embodiment is based on the chip-stacked schematic diagram with the protective device of port trunking;
Fig. 3 is the flow chart of the guard method of the equipment of present embodiment.
Embodiment
Present embodiment is based on the system interconnection framework of Ethernet; what realize between each primary and backup master control borad is chip-stacked; and the port being connected to same slot on same business board of each master control borad is carried out port trunking, thus set up a complete closed data transmission and protection channel.
Chip-stacked (also claiming chip cascade) be by more than two or two chips by high-speed channel interconnected (sometimes needing the cooperation of communication packet form or communications protocol), realize effect multiple chips being modeled to a chips.
Port trunking is that multiple trunking is become a port, thus improves the bandwidth of port.
Chip-stacked generation is to increase chip capacity and interface quantity, with the function of expensive chip.In present embodiment, by the chip of more than two or two be positioned over respectively on master control borad, be modeled to a chips, main purpose is not capacity increasing, but the port analog of the chip be positioned on different master control borad is become the port on a chips, because different chips is placed on different master control borad, chip stack is just equivalent to active and standby master control borad after building up one be same plate, on standby usage master control borad, the information interaction of more than two or two chips has been modeled to the information interaction between a chips different port, when switching generation, the switching rate of active and standby master control borad will improve greatly, on chip-stacked basis, recycling port trunking, thus realize pretection switch fast.
Below in conjunction with accompanying drawing, present embodiment is described in detail.
As shown in Figure 2, master control borad is configured with CPU, three layers/Layer2 switching chip, wherein, L3 Switching chip can select the BCM56XXX series of BroadCom company, and that supports by HiGig interface (physical layer is the transmission rate of XAUI interface, maximum 10Gbps) is stacking; Business board is configured with CPU, Layer2 switching chip.
After the exchange chip on each master control borad is stacked into a chips, the port being connected to same business board is polymerized, is modeled to a port; In business board side, the port linking active and standby NCP is respectively polymerized.After completing polymerization, the passage between business board to active and standby NCP aggregates into a passage, when master control borad generation masterslave switchover, can realize switching of active and standby NCP by the flow equalization in converging channels.
As shown in Figure 3, the method that present embodiment realizes equipment protection comprises:
Step 301, chip-stacked by active and standby NCP carries out, and the port of the same slot active and standby NCP being connected to same business board is carried out port trunking, port business board side being connected respectively to identical slot on active and standby NCP carries out port trunking;
Step 302, when master control borad 2 is main control board, business board side uses the passage be connected with master control borad 2 of converging channels 2 and master control borad 2 to carry out information interaction;
Step 303, when the unexpected chain rupture of the backboard side Ethernet of master control borad 2, the corresponding switching chip port of business board can detect chain rupture in time, and by carrying out flow equalization on converging channels 2, to the information of master control borad 2 be sent to, send to master control borad 1 by the passage be connected with master control borad 1 of converging channels 2;
Step 304, master control borad 2 transmits activestandby state and switching control information by the stacked channels between master control borad 1;
Step 305, master control borad 1 is as main control board, and business board side uses the passage be connected with master control borad 1 of converging channels 2 and master control borad 1 to carry out information interaction, and detects the Link State between master control borad 1.
There is no opening and shutoff of Link in present embodiment, generally only need to run LACP(link aggregate control protocol), therefore, pretection switch can be completed in a short period of time.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have numerous embodiments; do not deviating from the situation of the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change or change according to the present invention; in every case done within the spirit and principles in the present invention any amendment, equivalent replacement, improvement, all should be included within protection scope of the present invention.
Claims (6)
1. a guard method for equipment, comprising:
Primary and backup master control borad is carried out chip-stacked, and the port being connected to same business board of this primary and backup master control borad is carried out port trunking, in described business board side, the port being connected to described primary and backup master control borad is carried out port trunking;
When there is pretection switch, described main control board and slave control board are switched by the passage of chip-stacked rear formation, and described business board and slave control board are undertaken alternately by the converging channels formed after port trunking;
Described business board and slave control board carry out mutual step by the converging channels formed after port trunking and comprise:
Described business board detect with described main control board chain rupture after, described converging channels carrying out flow equalization, sending to described slave control board by sending to the information of described main control board by the passage be connected with described slave control board in described converging channels;
The step that described main control board and slave control board are undertaken switching by the passage of chip-stacked rear formation comprises:
Activestandby state information and switching control information, by the passage of the described chip-stacked rear formation between described slave control board, are sent to described slave control board by described main control board, to realize the switching of master control borad.
2. the method for claim 1, is characterized in that, the method also comprises:
After described main control board and slave control board switch, described business board is carrying out in mutual process with described slave control board, also detects the Link State between described slave control board.
3. the method for claim 1, is characterized in that, the method also comprises:
Before generation pretection switch, described business board carries out information interaction by the passage that is connected with described main control board in described converging channels and this main control board.
4. the protective device of an equipment, comprise: main control board and slave control board, it is characterized in that, adopt chip-stacked between described main control board and slave control board, and, the port being connected to same business board of described main control board and slave control board adopts port trunking, and the port described business board being connected to described primary and backup master control borad adopts port trunking;
Described main control board and slave control board, for when there is pretection switch, switched by the passage of chip-stacked rear formation;
Described business board, for being undertaken alternately with described slave control board by the converging channels formed after port trunking;
Described business board and described slave control board carry out mutual step by the converging channels formed after port trunking and comprise:
Described business board detect with described main control board chain rupture after, described converging channels carrying out flow equalization, sending to described slave control board by sending to the information of described main control board by the passage be connected with described slave control board in described converging channels;
The step that described main control board and slave control board are undertaken switching by the passage of chip-stacked rear formation comprises:
Activestandby state information and switching control information, by the passage of the described chip-stacked rear formation between described slave control board, are sent to described slave control board by described main control board, to realize the switching of master control borad.
5. device as claimed in claim 4, is characterized in that:
Described business board, also for after described main control board and slave control board switch, is carrying out in mutual process with described slave control board, detects the Link State between described slave control board.
6. device as claimed in claim 4, is characterized in that:
Described business board, also for before generation pretection switch, carries out information interaction by the passage that is connected with described main control board in described converging channels and this main control board.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010548833.3A CN101986626B (en) | 2010-11-18 | 2010-11-18 | Method and device for protecting equipment |
PCT/CN2011/072864 WO2012065400A1 (en) | 2010-11-18 | 2011-04-15 | Device protection method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010548833.3A CN101986626B (en) | 2010-11-18 | 2010-11-18 | Method and device for protecting equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101986626A CN101986626A (en) | 2011-03-16 |
CN101986626B true CN101986626B (en) | 2015-04-01 |
Family
ID=43710930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010548833.3A Active CN101986626B (en) | 2010-11-18 | 2010-11-18 | Method and device for protecting equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101986626B (en) |
WO (1) | WO2012065400A1 (en) |
Families Citing this family (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101986626B (en) * | 2010-11-18 | 2015-04-01 | 中兴通讯股份有限公司 | Method and device for protecting equipment |
CN102820981A (en) * | 2011-06-08 | 2012-12-12 | 中兴通讯股份有限公司 | Single board switching method and protective single board |
CN103179178B (en) * | 2011-12-26 | 2016-06-15 | 杭州华三通信技术有限公司 | The method and apparatus of aggregation group member port between extension cluster |
CN103744755A (en) * | 2014-01-08 | 2014-04-23 | 烽火通信科技股份有限公司 | Implement system for primary and standby veneer single port shared protection and method thereof |
CN104394102B (en) * | 2014-11-28 | 2017-08-01 | 迈普通信技术股份有限公司 | The active-standby switching method and stacked switch of a kind of stacked switch |
CN105871614A (en) * | 2016-03-31 | 2016-08-17 | 国网山西省电力公司信息通信分公司 | Protection method and device of board cards in communication device |
CN108234308B (en) * | 2016-12-14 | 2022-04-01 | 迈普通信技术股份有限公司 | Distributed equipment internal communication system and method |
CN109286537B (en) * | 2018-10-23 | 2020-11-17 | 智强通达科技(北京)有限公司 | Board management system and management method for frame type multi-service board |
CN110636393B (en) * | 2019-09-10 | 2021-11-16 | 烽火通信科技股份有限公司 | Double-master-control 1+1 concurrent working method and system of OLT equipment |
CN110543390B (en) * | 2019-09-19 | 2024-07-09 | 深圳市友华通信技术有限公司 | Quick response method, device and communication equipment for interrupt reconnection |
CN111181845B (en) * | 2019-12-31 | 2022-03-15 | 苏州盛科通信股份有限公司 | Method for realizing LACP (Master-slave high availability) and LACP-based stacking system |
CN112235192B (en) * | 2020-10-10 | 2022-07-08 | 苏州盛科通信股份有限公司 | Linkagg port switching method for stacking equipment and Linkagg-based stacking equipment |
CN112311621B (en) * | 2020-10-15 | 2022-05-24 | 新华三技术有限公司合肥分公司 | Communication detection method and device |
CN112564579A (en) * | 2020-11-30 | 2021-03-26 | 中国航空工业集团公司西安航空计算技术研究所 | Master-slave architecture electromechanical controller and health management method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482769A (en) * | 2002-09-13 | 2004-03-17 | 华为技术有限公司 | Master-standby switching and load sharing system and method based on Ethernet access platform |
CN1859244A (en) * | 2005-10-19 | 2006-11-08 | 华为技术有限公司 | Master and slave frame cascade system in cut-in device |
CN101047597A (en) * | 2007-04-30 | 2007-10-03 | 华为技术有限公司 | Accessequipment based on Ethernet bus and its host-slave frame communication method |
CN101170394A (en) * | 2007-11-27 | 2008-04-30 | 华为技术有限公司 | A method and device for realizing inter-board interconnection |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101197634B (en) * | 2007-12-29 | 2011-07-27 | 上海华为技术有限公司 | Method, system and single board device for implementing automatic protection rearrangement of main and standby plate |
CN101986626B (en) * | 2010-11-18 | 2015-04-01 | 中兴通讯股份有限公司 | Method and device for protecting equipment |
-
2010
- 2010-11-18 CN CN201010548833.3A patent/CN101986626B/en active Active
-
2011
- 2011-04-15 WO PCT/CN2011/072864 patent/WO2012065400A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482769A (en) * | 2002-09-13 | 2004-03-17 | 华为技术有限公司 | Master-standby switching and load sharing system and method based on Ethernet access platform |
CN1859244A (en) * | 2005-10-19 | 2006-11-08 | 华为技术有限公司 | Master and slave frame cascade system in cut-in device |
CN101047597A (en) * | 2007-04-30 | 2007-10-03 | 华为技术有限公司 | Accessequipment based on Ethernet bus and its host-slave frame communication method |
CN101170394A (en) * | 2007-11-27 | 2008-04-30 | 华为技术有限公司 | A method and device for realizing inter-board interconnection |
Also Published As
Publication number | Publication date |
---|---|
WO2012065400A1 (en) | 2012-05-24 |
CN101986626A (en) | 2011-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101986626B (en) | Method and device for protecting equipment | |
CN101986594B (en) | Method and device for realizing communication between single boards | |
JP5943221B2 (en) | Network device and information transmission method | |
CN102907057B (en) | Exchange in network equipment | |
CN103560955B (en) | Redundance unit changing method and device | |
CN100384169C (en) | Master and slave frame cascade system in cut-in device | |
CN101753397B (en) | System, method and device for rapidly self-healing Ethernet ring | |
CN101984606A (en) | Device-level redundancy protection method and system based on LACP | |
CN100550798C (en) | But the method for the access device of smooth upgrade bandwidth and realization bandwidth smooth upgrade | |
CN104025511A (en) | Service protection method, optical line terminal and system in passive optical network | |
CN111083580B (en) | Method and device for protecting Ethernet link in optical transmission network | |
CN101340381A (en) | Aggregation link management method and apparatus | |
WO2012174905A1 (en) | Method and device for implementing virtual switch cluster cross-device data forwarding | |
CN101394309A (en) | Cluster system expanding method, apparatus and cluster system | |
WO2006078950A2 (en) | Dual-purpose uplinks used in a fault-tolerant stack | |
CN102404102B (en) | A kind of method and apparatus of synchronous ethernet | |
CN201766606U (en) | Network switching device based on physical layer state detection and fault screening strategy | |
CN107277652A (en) | Across the disk LACP link aggregation methods and device of PON access systems | |
CN108234308A (en) | A kind of distributed apparatus intercom system and method | |
CN103067151A (en) | Device for keeping state synchronization on both ends of serially-connected links and method therefor | |
CN101340315A (en) | End-to-end Ethernet protection method and communication apparatus adopting the same | |
CN101895793B (en) | Packet-switching network and TDM (Time Division Multiplexer) network interworking service protection method as well as network equipment | |
CN101902317B (en) | Protection method of active/standby TRUNK changeover in broadband access device | |
CN101141218A (en) | Protection switching system and method for wavelength division multiplexing load client network | |
CN107306248A (en) | A kind of light quantum interchanger and its communication means |
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 |