CN102752155B - A kind of protection method for handover control and device - Google Patents
A kind of protection method for handover control and device Download PDFInfo
- Publication number
- CN102752155B CN102752155B CN201210271588.5A CN201210271588A CN102752155B CN 102752155 B CN102752155 B CN 102752155B CN 201210271588 A CN201210271588 A CN 201210271588A CN 102752155 B CN102752155 B CN 102752155B
- Authority
- CN
- China
- Prior art keywords
- module
- service
- message
- processing module
- port
- 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
Landscapes
- Small-Scale Networks (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of protection method for handover control, be applied on distributed network equipment, the method comprises: A, regularly read the transmitting-receiving message amount between service port pair and Service Processing Module and the message amount being dropped; B, judge whether the relation between the various message amount that current period data acquisition unit reads meets default fault condition; If it is determine that Service Processing Unit, in malfunction, is set to bypass condition by described protection handover module; Wherein said protection handover module is in the time of bypass condition, and service port is connected Service Processing Module is bypassed meeting. The present invention can be effectively by the collection analysis of data being determined to whether Service Processing Module is in malfunction, by reasonably the set handling cycle can be controlled the status modifier of protecting switch unit, the protection of realization to service message transmission rapidly.
Description
Technical field
The present invention relates to network technology, relate in particular to the protection switching controls side in a kind of transparent network equipmentMethod and device.
Background technology
Transparent network equipment is one of equipment common in network, such as transparent mode fire wall etc., oneAs be to be serially connected in the middle of network the message transmitting in network to carry out transparent processing, to the report that can pass throughLiterary composition does not do any change to it. In the time that fire wall breaks down, can cause current network paralysis. ParticularlyIn the critical network such as gateway, provinces and cities gateway, if there is fault, can cause international at home and abroadOr zonal suspension, therefore the High Reliability Design scheme of transparent network equipment is extremely important.
When the general network equipment is used for transparent transmission, business module can coordinate with light protection module, and light is protectedProtect the optical fiber that module connects business module and both sides opposite equip.. Light protection module has pass and bypassTwo states, when normal condition (also referred to as pass state), light protection module can be by from opposite endThe optical signal of equipment switches to business module, that is to say that light protection module is operated in pass shape under normal circumstancesUnder state. When light protection module, in bypass condition, (while also claiming bypass state, light protection module is by both sidesThe optical signal of opposite equip. is direct-connected, allows directly transparent passing through of all messages. Light protection module is supervised in real timeSurvey luminous power or the optical signal parameter of business module, when luminous power or optical signal parameter are when undesirable,Light protection module switches to bypass, to protect current network.
But such design still has many weak points. First, such scheme can only be in transmissionMedium is to apply in the system of optical fiber; Secondly, this scheme can only be in the index of luminous power and optical signal parameterUnder protect judgement; In addition, this scheme can only play emergency protection effect, industry in the time of business module faultThe fault of business module also needs to wait for that attendant solves.
Summary of the invention
In view of this, the invention provides a kind of protection switching control, be applied to distributed network equipmentUpper, wherein this network equipment comprises master control borad, business board and protection handover module, wherein said businessPlate comprises Service Processing Module and first and second service port, and described first and second service port isTransparent service port pair, this device comprises data acquisition unit and judgement control module, wherein:
Data acquisition unit, for regularly reading the first service port and business place after business board startsTransmitting-receiving message amount between transmitting-receiving message amount, the second service port and the business board of reason between module,The message amount from the first service port that Service Processing Module abandons and business board abandon fromThe message amount of two service ports;
Judgement control module, for the various message amount that judge that current period data acquisition unit readsBetween relation whether meet default fault condition; If it is determine that Service Processing Unit is in faultState, is set to bypass condition by described protection handover module, then described Service Processing Module is answeredPosition, and after this Service Processing Module resets successfully, protection handover module is set to normal condition;
Wherein said protection handover module is in the time of bypass condition, and first and second service port is connected and makes industryBusiness processing module be bypassed, described protection handover module in the time of normal condition, first and second service portBeing connected respectively to Service Processing Module can receive by first and second service port Service Processing ModuleThe literary composition of transmitting messages.
The present invention also provides a kind of protection method for handover control, is applied on distributed network equipment, whereinThis network equipment comprises master control borad, business board and protection handover module, and wherein said business board comprises industryBusiness processing module and first and second service port, described first and second service port is transparent servicePort pair, the method comprises the steps:
A, business board start after regularly read the receipts between the first service port and Service Processing ModuleTransmitting-receiving message amount, the Service Processing Module sent out between message amount, the second service port and business board are lostThe report from the second service port that the message amount from the first service port of abandoning and business board abandonLiterary composition quantity;
B, judge relation between the various message amount that current period data acquisition unit reads whetherMeet default fault condition; If it is determine that Service Processing Unit is in malfunction, by described guarantorProtect handover module and be set to bypass condition, then described Service Processing Module is resetted, and in this businessAfter processing module resets successfully, protection handover module is set to normal condition;
Wherein said protection handover module is in the time of bypass condition, and first and second service port is connected and makes industryBusiness processing module be bypassed, described protection handover module in the time of normal condition, first and second service portBeing connected respectively to Service Processing Module can receive by first and second service port Service Processing ModuleThe literary composition of transmitting messages.
The present invention can be effectively by determining that to the collection analysis of data whether Service Processing Module is in eventBarrier state, can control the status modifier of protection switch unit rapidly by set handling cycle reasonably,Realize the protection to service message transmission.
Brief description of the drawings
Fig. 1 is a kind of Organization Chart of distributed apparatus.
Fig. 2 is the building-block of logic of protecting switching control in one embodiment of the present invention.
Fig. 3 is the process chart of protecting method for handover control in one embodiment of the present invention.
Fig. 4 is that in one embodiment of the present invention, message flow turns over journey schematic diagram.
Detailed description of the invention
The invention provides one and protect more reliably handover mechanism, be applied on the network equipment, be used for rootThe parameter situation collecting according to the network equipment is controlled the state of light protection module. In one embodiment,The network equipment is a distributed fire wall, and it comprises master control borad and one or more and master control borad phaseThe business board connecting, wherein comprises Service Processing Module, is connected with described Service Processing Module on business boardFirst and second service port and protection handover module. Wherein first and second Service Processing Module isBright transmit port pair, the message entering from the first service port, if do not lost by the described network equipmentAbandon, send from the second port pellucidly; Vice versa.
Please refer to Fig. 1 and Fig. 2, one preferred embodiment in, control is switched in protection of the present inventionDevice processed runs on master control borad, realizes by computer program. Described protection switching control comprises:Data acquisition unit and judgement control module; It carries out following steps in the time of operation:
Step 101, business board start after, data acquisition unit regularly read the first service port withTransmitting-receiving message between transmitting-receiving message amount, the second service port and business board between Service Processing ModuleThe message amount from the first service port that quantity, Service Processing Module abandon and business board abandonFrom the message amount of the second service port;
Step 102, judgement control module judges the pass between the various message amount that current period readsWhether system meets default fault condition; If it is determine that Service Processing Unit is in malfunction, andDescribed protection handover module is set to bypass condition, otherwise returns to step 101 after waiting for predetermined period;
Step 103, business board resets described in judgement control module control;
Step 104, judgement control module is set to normal condition by protection switch unit after business board startsAnd return to step 101.
Please refer to Fig. 1, Fig. 2, Fig. 3 and Fig. 4, taking distributed fire wall as example, distributed fire preventionWall generally includes master control borad and business board, and the Service Processing Module of business board can comprise multiple business placeHardware and the software of reason, hardware can comprise CPU, network processing unit (NP), programmable logic devicePart, special purpose logic devices and special chip; Software can be the software module of various communication aspects.Its main effect of hardware on business board and software is to judge that the message entering from a service port isBuilt-in packet loss rule is hit in no meeting; The message that hits packet loss rule is dropped, not lifeThe message of middle packet loss rule is another from Service Processing Module transparent transmission to service port centeringService port, such as the message entering from the first service port does not hit the situation of packet loss ruleCan be transparent to the second service port, send from the second service port.
To open seven layer model as example, packet loss rule can contain the message of link layer to higher levelAbandon rule, such as the packet loss rule of two layers to four layers. Fire wall can based on MAC Address,One or more combination in the parameters such as IP address, protocol type and port numbers forms packet lossRule. The major responsibility of Service Processing Unit is to check whether each message that arrives self can hitAny one packet loss rule, if hit, by packet loss.
Please refer to Fig. 4, in the present embodiment, after business board successfully starts, be positioned at master control boradData acquisition unit can be every the fixed cycle, such as 1 second (can be also other times), statistics A1,The numerical value of A2, B1 and B2, wherein:
A1 represents to flow to from the first service port (port0) in current period the message of Service Processing ModuleQuantity;
A2 represents to flow to from Service Processing Module in current period the message amount of port0;
B1 represents to flow to from the second service port (port1) in current period the message of Service Processing ModuleQuantity;
B2 represents to flow to from Service Processing Module in current period the message amount of port1;
In addition, data acquisition unit also need to be added up D1 and D2 at current period in the present embodimentNumerical value, wherein D1 represents the message amount that by Service Processing Module abandoned of current period from port0;D2 represents the message amount that by Service Processing Module abandoned of current period from port1. Data acquisition listA1, A2, B1, B2, D1 and D2 that unit collects current period report judgement control module.
Judgement control module judges whether the result that data acquisition unit reports meets default fault condition,If it is will protect handover module (taking light protection module as example, can be also electric protection module) settingFor Bypass state. For instance, fault condition can be: A1+B1 > 0 and A2+B2+D1+D2=0.Its implication can be understood as: in current period, two service ports have at least on a port and have messageEnter Service Processing Module, but do not have message to leave and also do not have message to be dropped from any one service port.This explanation Service Processing Module is very likely in malfunction.
Default fault condition can be changed according to actual networking application. For instance, network is establishedFor connecting a server that does depth detection, this server comprises business diagnosis module, mainBe used for doing more complicated or higher level business diagnosis, such as depth analysis of 4-7 layer etc. Now businessProcessing module also comprises message up sending rule except packet loss rule, if any one message lifeSuffered any one message up sending rule, Service Processing Module will be by message up sending to business diagnosis moduleProcess. Business diagnosis module is in the present embodiment mainly that message is carried out to depth analysis, analyzesAfter completing, message transparent transmission will be returned to Service Processing Module.
Suppose that the C1 in Fig. 4 represents that current period Service Processing Module sends to business diagnosis on serverThe message amount of module, C2 represents that current period business diagnosis module sends to the number of Service Processing ModuleAmount; Now fault condition can be: A1+B1 > 0 and A2+B2+C1+D1+D2=0; Its implication canBe interpreted as: in current period, two service ports have at least on a port has message to enter business placeReason module, but do not have message to leave from any one service port, do not have message to be dropped, also do not reportLiterary composition by deliver to business diagnosis module. This situation can illustrate that Service Processing Module has great possibilityIn malfunction. Under this scene, default fault condition can also be: C2 > 0 and A2+B2=0.This default fault condition can be understood as: in current period, business diagnosis module has message to sendTo Service Processing Module, but Service Processing Module does not send message to the first or the second service port.
Once default fault condition is met, can illustrate so Service Processing Module probably inMalfunction, now adjudicating control module is bypass condition by the status modifier of light protection module, then heavyOpen Service Processing Module (being that business board resets), judgement control module perceives business module and restarts successfullyAfter be normal condition by the status modifier of light protection module again. In a preferred embodiment, in order to preventThere is deviation in the court verdict of judgement control module, the mechanism that can introduce repeatedly judgement improves judgementPrecision. In the present embodiment, meeting default fault condition further judges whether connecting afterwardsIn continuous multiple cycles (as 3 cycles), repeatedly (as 3 times) meet identical default fault condition, asFruit is to determine Service Processing Module fault, continues circular treatment otherwise return to step 101.
The present invention can be effectively by determining that to the collection analysis of data whether Service Processing Module is in eventBarrier state, can control the status modifier of protection switch unit rapidly by set handling cycle reasonably,Realize the protection to service message transmission.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all at thisWithin the spirit and principle of invention, any amendment of making, be equal to replacement, improvement etc., all should be included inWithin the scope of protection of the invention.
Claims (8)
1. a protection switching control, is applied on distributed network equipment, and wherein this network is establishedStandby master control borad, business board and the protection handover module of comprising, wherein said business board comprises Business Processing mouldPiece and first and second service port, described first and second service port is transparent service port pair,This device comprises data acquisition unit and judgement control module, it is characterized in that:
Data acquisition unit, for regularly reading the first service port and business place after business board startsTransmitting-receiving message amount between transmitting-receiving message amount, the second service port and the business board of reason between module,The message amount from the first service port that Service Processing Module abandons and business board abandon fromThe message amount of two service ports;
Judgement control module, for the various message amount that judge that current period data acquisition unit readsBetween relation whether meet default fault condition; If it is determine that Service Processing Unit is in faultState, is set to bypass condition by described protection handover module, then described Service Processing Module is answeredPosition, and after this Service Processing Module resets successfully, protection handover module is set to normal condition, wherein,Described fault condition is: in current period, two service ports have at least on a port has message to enterEnter Service Processing Module, but do not have message to leave and also do not have message to be dropped from any one service port;
Wherein said protection handover module is in the time of bypass condition, and first and second service port is connected and makes industryBusiness processing module be bypassed, described protection handover module in the time of normal condition, first and second service portBeing connected respectively to Service Processing Module can receive by first and second service port Service Processing ModuleThe literary composition of transmitting messages.
2. device as claimed in claim 1, is characterized in that, described judgement control module, enters oneStep is for before determining described Service Processing Module fault, and default fault condition meets afterwards furtherJudge this default fault condition whether continuous several times within multiple cycles, be satisfied, if it is trueDetermine Service Processing Module in malfunction.
3. install as claimed in claim 1 or 2, it is characterized in that, the described network equipment connects outside clothesBusiness device, described external server comprises business diagnosis module, described Service Processing Module will be in order on meetingSend regular message up sending to business diagnosis module, and receive the report that business diagnosis module transparent transmission is returnedLiterary composition; Described default fault condition is: in current period, first and second service port has one at leastOn port, there is message to enter Service Processing Module, but do not have message to leave from any one service port, do not haveHave message to be dropped, do not have yet message by deliver to business diagnosis module;
Or described default fault condition is: in current period, business diagnosis module has message to send toService Processing Module, but Service Processing Module does not send message to the first or the second service port.
4. device as claimed in claim 1, is characterized in that, described protection handover module is that light is protectedProtect handover module or electric protection handover module.
5. a protection method for handover control, is applied on distributed network equipment, and wherein this network is establishedStandby master control borad, business board and the protection handover module of comprising, wherein said business board comprises Business Processing mouldPiece and first and second service port, described first and second service port is transparent service port pair,The method comprises the steps:
A, business board start after regularly read the receipts between the first service port and Service Processing ModuleTransmitting-receiving message amount, the Service Processing Module sent out between message amount, the second service port and business board are lostThe report from the second service port that the message amount from the first service port of abandoning and business board abandonLiterary composition quantity;
B, judge relation between the various message amount that current period data acquisition unit reads whetherMeet default fault condition; If it is determine that Service Processing Unit is in malfunction, by described guarantorProtect handover module and be set to bypass condition, then described Service Processing Module is resetted, and in this businessAfter processing module resets successfully, protection handover module is set to normal condition, wherein, described fault conditionFor: in current period, two service ports have at least on a port has message to enter Business Processing mouldPiece, but do not have message to leave and do not have message to be dropped yet from any one service port;
Wherein said protection handover module is in the time of bypass condition, and first and second service port is connected and makes industryBusiness processing module be bypassed, described protection handover module in the time of normal condition, first and second service portBeing connected respectively to Service Processing Module can receive by first and second service port Service Processing ModuleThe literary composition of transmitting messages.
6. method as claimed in claim 5, is characterized in that, wherein step B further comprises:Before determining described Service Processing Module fault, default fault condition further judges that this is pre-after meetingIf fault condition whether continuous several times within multiple cycles, be satisfied, if it is determine business placeReason module is in malfunction.
7. method as described in claim 5 or 6, is characterized in that, the described network equipment connects outside clothesBusiness device, described external server comprises business diagnosis module, described Service Processing Module will be in order on meetingSend regular message up sending to business diagnosis module, and receive the report that business diagnosis module transparent transmission is returnedLiterary composition; Described default fault condition is: in current period, first and second service port has one at leastOn port, there is message to enter Service Processing Module, but do not have message to leave from any one service port, do not haveHave message to be dropped, do not have yet message by deliver to business diagnosis module;
Or described default fault condition is: in current period, business diagnosis module has message to send toService Processing Module, but Service Processing Module does not send message to the first or the second service port.
8. method as claimed in claim 5, is characterized in that, described protection handover module is that light is protectedProtect handover module or electric protection handover module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210271588.5A CN102752155B (en) | 2012-08-01 | 2012-08-01 | A kind of protection method for handover control and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210271588.5A CN102752155B (en) | 2012-08-01 | 2012-08-01 | A kind of protection method for handover control and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102752155A CN102752155A (en) | 2012-10-24 |
CN102752155B true CN102752155B (en) | 2016-05-11 |
Family
ID=47032064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210271588.5A Active CN102752155B (en) | 2012-08-01 | 2012-08-01 | A kind of protection method for handover control and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102752155B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106033994B (en) * | 2015-03-16 | 2018-09-04 | 中国移动通信集团广东有限公司 | A kind of optical transmission method, device and optical transmission device |
CN107612754B (en) * | 2017-10-30 | 2021-07-06 | 新华三技术有限公司 | Bidirectional forwarding link fault detection method and device and network node equipment |
CN111970303B (en) * | 2020-08-28 | 2022-08-26 | 杭州安恒信息技术股份有限公司 | Business site mode switching method and device and computer readable storage medium |
CN116886541B (en) * | 2023-08-04 | 2024-07-19 | 中国联合网络通信有限公司深圳市分公司 | Service broadband 5GCPE protection and bandwidth real-time allocation method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1232556A (en) * | 1996-10-04 | 1999-10-20 | 费希尔控制国际公司 | Process control network with redundant field devices and busses |
CN101340375A (en) * | 2008-08-29 | 2009-01-07 | 南京信风软件有限公司 | Uni-directional series connected IP control method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399697B (en) * | 2007-09-30 | 2011-02-16 | 华为技术有限公司 | System and method for automatically protection switching |
-
2012
- 2012-08-01 CN CN201210271588.5A patent/CN102752155B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1232556A (en) * | 1996-10-04 | 1999-10-20 | 费希尔控制国际公司 | Process control network with redundant field devices and busses |
CN101340375A (en) * | 2008-08-29 | 2009-01-07 | 南京信风软件有限公司 | Uni-directional series connected IP control method |
Also Published As
Publication number | Publication date |
---|---|
CN102752155A (en) | 2012-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102394787B (en) | Based on the Dual-link redundancy control method of EPA switch | |
CN102742228B (en) | Ethernet node port virtual device | |
US9356830B2 (en) | Communication device for a redundantly operable industrial communication network and method for operating the communication device | |
CN102752155B (en) | A kind of protection method for handover control and device | |
CN105721546A (en) | Multi-data integration service platform based on industrial Internet of Things (IoT) communication | |
CN101296065A (en) | Method and system for improving reliability of redundancy main station | |
CN106817249B (en) | FC-AE-1553 simulation communication demonstration system and data transmission method | |
US20130286820A1 (en) | Communication Device For An Industrial Communication Network Which Can Be Operated In A Redundant Manner And Method For Operating A Communication Device | |
CN109039825A (en) | A kind of network data protection device and method | |
CN104639358B (en) | batch network port switching method and switching system | |
CN100596357C (en) | Data translation device and system based on ethernet and serial communication technology | |
CN108462549A (en) | Protection group is superimposed reverse method, control device and optical communication equipment | |
CN104283780A (en) | Method and device for establishing data transmission route | |
CN206559386U (en) | Embedded industry intelligent gateway and internet of things data acquisition monitoring system based on SoC | |
CN106559494B (en) | A kind of scene surveillance radar redundancy control system based on distributed network | |
CN109964450B (en) | Method and device for determining shared risk link group | |
CN113014451A (en) | System and method for testing redundancy reliability of dual-core local area network | |
CN201766606U (en) | Network switching device based on physical layer state detection and fault screening strategy | |
CN105306352A (en) | Industrial field bus protocol gateway device | |
CN104022818B (en) | Service dynamic switch test system based on OTN board, method and device | |
CN1798114A (en) | CAN bus - bridge of Ethernet network | |
CN112637010B (en) | Equipment checking method and device | |
CN205123775U (en) | Network switching device with data diagnosis and memory function | |
CN2927527Y (en) | Fast redundant protection restoring circuit of industrial Ethernet | |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Patentee after: Hangzhou Dipu Polytron Technologies Inc Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building Patentee before: Hangzhou Dipu Technology Co., Ltd. |
|
CP01 | Change in the name or title of a patent holder |