CN102355408A - Method and device for controlling linkage state change of communication device - Google Patents
Method and device for controlling linkage state change of communication device Download PDFInfo
- Publication number
- CN102355408A CN102355408A CN2011102350398A CN201110235039A CN102355408A CN 102355408 A CN102355408 A CN 102355408A CN 2011102350398 A CN2011102350398 A CN 2011102350398A CN 201110235039 A CN201110235039 A CN 201110235039A CN 102355408 A CN102355408 A CN 102355408A
- Authority
- CN
- China
- Prior art keywords
- link
- protection
- disconnected
- communication equipment
- state
- 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.)
- Pending
Links
Images
Landscapes
- Communication Control (AREA)
Abstract
The invention discloses a method for controlling linkage state change of a communication device. The method comprises the following steps: sending a request message to inform an opposite terminal communication device to execute linkage flash-breaking protection and sending a linkage flash-breaking protection time, receiving a response message sent by the opposite terminal communication device and executing self-healing protection. Based on a same inventive concept, the invention also provides a device for controlling linkage state change of the communication device, which can be used for solving the problems of frequent change of a linkage state and frequent switching of an upper-layer protocol caused by linkage flash-breaking.
Description
Technical field
The present invention relates to communication technical field, particularly a kind of Link State modification control method and device of communication equipment.
Background technology
Along with internet, applications more and more widely, the deployment of the network equipments such as switch, router in network is also more and more, and be more and more higher to the performance requirement of the network equipment.
As the element interface of the network equipment, in devices interconnect, the pressure of bearing is also increasing, and the instability of the Link State between the port can cause losing of data volume, the switching of network topology, so that cause the unusual of whole system business.Particularly the link that causes of transient state such as link information quality shake dodges disconnectedly, not only can cause the variation of local communication device port status, also can cause the variation of Peer-Port state.And disconnected at 30ms with the link sudden strain of a muscle of interior this transient state, to the influence that customer service causes, be far smaller than Link State and switch the influence that whole network is caused.
Dodge the problem of the Link State frequent variations that reason such as disconnected causes for fear of above-mentioned link, conventional network equipment supplier provides following two kinds of solutions.
First kind of solution is: through the time of the configurable inhibition of user command row.When detecting link-state change, wait for the user configured inhibition time, whether in the inhibition time, equipment gets into the link protection state, change regardless of Link State, not the reporting links state variation; After reaching the inhibition time, obtain current Link State, if inconsistent with the Link State of preserving, then to upper-layer service module reporting links state variation, otherwise, report the upper-layer service module to carry out link switchover.
Second workaround is: after detecting Link State and changing, suitably delay time, obtain Link State once more; When Link State and preceding when once inconsistent; Illustrate that current Link State is unstable, exist to dodge and break, not to upper-layer service module reporting links state variation; Otherwise, report the upper-layer service module to carry out link switchover.
Therefore above-mentioned two kinds of solutions are when detecting Link State and change; It all is Unified Treatment; Get into the link protection state at certain hour, no matter whether detect link-state change, reporting links state variation not; Like this for link when genuine unusual; The upper-layer protocol switching time can be very slow, and for the relatively harsh user of some performance requirement, this is unacceptable; Can cause a large amount of packet losses, cause service exception.Therefore existing solution can not well solve link and dodge the disconnected problem that causes frequent change of Link State and upper-layer protocol frequently to be switched.
Summary of the invention
In view of this, the present invention provides a kind of Link State modification control method and device of communication equipment, can solve because of link dodges to break to cause frequent change of Link State and the frequent problem of switching of upper-layer protocol.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
A kind of Link State modification control method of communication equipment, this method comprises:
Send request message notice opposite end communication equipment and carry out the disconnected protection of link sudden strain of a muscle, and link dodges disconnected guard time;
Receive the response message that the opposite end communication equipment sends, carry out self-healed protection.
A kind of Link State change control appliance of communication equipment, this device comprises: transmitting element, receiving element and processing unit;
Said transmitting element is used to send request message notice opposite end communication equipment execution disconnected protection of link sudden strain of a muscle and link and dodges the guard time that breaks;
Said receiving element is used to receive the response message that sends according to the described request message from the opposite end communication equipment and sends to said processing unit;
Said processing unit is used for carrying out self-healed protection according to the said response message of receiving.
In sum, local communication device of the present invention sends request message notice opposite end communication equipment execution link and dodges the protection of breaking, and need carry out the time that link dodges the protection of breaking, and when receiving the response message of opposite end communication equipment transmission, carries out self-healed protection.Through said method, solved the problem that causes frequent change of Link State and upper-layer protocol frequently to be switched because of the link sudden strain of a muscle is disconnected.
Description of drawings
Fig. 1 is a Link State modification control method flow chart of the present invention;
Fig. 2 is a Link State change ACTIVE CONTROL method flow diagram in the specific embodiment of the invention;
Fig. 3 is a Link State change passive control methods flow chart in the specific embodiment of the invention;
Fig. 4 is a Link State change control device structural representation in the specific embodiment of the invention.
Embodiment
For making the object of the invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, scheme according to the invention is done to describe in detail further.
Referring to Fig. 1, Fig. 1 is a Link State modification control method flow chart of the present invention.Concrete steps are:
When carrying out communication equipment that link dodges disconnected protection and detecting arbitrary link-state change, to the flow of this state variation link not execute protection switch.
In this step, when local communication device carries out self-healed protection, detect arbitrary link-state change, to the flow of this state variation link not execute protection switch.
Detect system exception from local communication device self respectively below in conjunction with Fig. 2 and Fig. 3; How to handle during the self-healed protection that need carry out; And the opposite end communication equipment detects system exception; And in the time of need carrying out self-healed protection; The processing procedure of local communication device when local communication device sends request message, describing the present invention in detail is how to realize Link State change control.Referring to Fig. 2, Fig. 2 is a Link State change ACTIVE CONTROL method flow diagram in the specific embodiment of the invention.Concrete steps are:
If system occurs need carrying out self-healing recovery unusually in this step, when self-healing recovery, self need carry out self-healed protection; And before carrying out self-healing recovery, the notice opposite equip. is carried out link and is dodged disconnected protection; Or before causing the disconnected self-healing recovery of link sudden strain of a muscle, notify opposite equip. to carry out link and dodge the protection of breaking.Cause link to dodge disconnected self-healed protection and comprise in the following processing one or multinomial: crucial list item down brush, process independently restart, chip hot reset, forwarding data self-healing recovery etc.
The request message that local communication device sends to the opposite end in this step can be Ethernet message, DLDP message, LACP message or 802.3ah message.
With the Ethernet message is example, describes concrete request message form in detail.Referring to table 1, table 1 is the form of the request message of the present invention's transmission.
| DMAC | SMAC | Protocal | Type | Delay?time |
Table 1
In the table 1, DMAC is the purpose MAC that request message carries; SMAC is the source MAC that request message carries; Protocol type is 0x8809; Type is request message 0x01; Delay time field can be provided with, and show the time that notice opposite end communication equipment is carried out link protection, and this Delay time meets preferably in the time of carrier-class equipment performance of handoffs, in 10ms.
This execution link protection time is that local communication device was confirmed according to the time that the self-healed protection that will carry out will spend.Concrete definite method is: the delay time that request message carries, promptly carrying out the link protection time is self-healed protection time and message transmitting time sum.Wherein the message transmitting time is the opposite end communication equipment sends time from response message to local communication device.
The message realization of other protocol types increases a kind of protocol type when of the present invention, and expression is the request message that local communication device sends to the opposite end communication equipment, be used for notifying the opposite end communication equipment to carry out link and dodge disconnected protection, and the execution link dodges disconnected guard time.
When step 203, local communication device are received the response message that the opposite end communication equipment sends, begin to carry out self-healed protection, when self-healed protection, detect arbitrary link-state change, the flow protection of this detected variation link is not switched.
The form of the response message in this step is consistent with request message above; In message, type of message is designated 0x02, delay time can carry, and also can not carry; If carry this delay time, dodge disconnected guard time for carrying out link with the delay time in the request message.
Do not carry out self-healed protection in this step, comprise previous execution self-healed protection, self-healed protection now finishes, and does not carry out self-healed protection always.
Referring to Fig. 3, Fig. 3 is a Link State change passive control methods flow chart in the specific embodiment of the invention.Its concrete steps are:
Step 301, local communication device are received opposite end communication equipment sent request message.
Local communication device is received opposite end communication equipment sent request message in this step, obtains the disconnected guard time of link sudden strain of a muscle that request message carries.
Step 302, local communication device are obtained link and are dodged disconnected guard time, and carry out link and dodge disconnected protection.
Step 303, local communication device are sent response message notice opposite end communication equipment self executed link to the opposite end communication equipment and are dodged disconnected protection.
Step 304, local communication device detect arbitrary link-state change, dodge disconnected protection if self carry out link, then to the flow of this state variation link not execute protection switch; Otherwise, the flow execute protection of this state variation link is switched.
Based on above-mentioned same inventive concept, the invention allows for a kind of equipment of Link State change control.This device is the part of communication equipment.Referring to Fig. 4, Fig. 4 is a Link State change control device structural diagrams intention in the specific embodiment of the invention.Device 400 comprises: transmitting element 401, receiving element 402 and processing unit 403.
Transmitting element 401 is used to send request message notice opposite end communication equipment execution disconnected protection of link sudden strain of a muscle and link and dodges the guard time that breaks.
Receiving element 402 is used to receive the response message that sends according to request message from the opposite end communication equipment and sends to processing unit 403.
Processing unit 403 is used for carrying out self-healed protection according to the response message of receiving.
Preferably, this device further comprises: detecting unit 404.
Detecting unit 404 is used to detect Link State and also exports the variation of detected arbitrary Link State to processing unit 403.
Processing unit 403 also is used for confirming the state variation and the executed self-healed protection of arbitrary link, to the flow of the link of state variation not execute protection switch; Perhaps be used for confirming the state variation of arbitrary link and not carrying out self-healed protection, the flow execute protection of the link of state variation is switched.
Preferably,
Receiving element 402 also is used to receive notice that the opposite end communication equipment sends and carries out that link dodges disconnected protection and link dodges the request message of disconnected guard time and sends to processing unit 403.
Processing unit 403 also is used for dodging disconnected protection and the disconnected protection of notice transmitting element 403 executed links sudden strain of a muscle according to the request message execution link of receiving;
Transmitting element 401 also is used for dodging the disconnected notice of protecting according to the executed link from processing unit 403 and sends response message to opposite end communication equipment, and notice opposite end communication equipment executed link dodges disconnected the protection.
Preferably,
Processing unit 403 is used for also confirming that the state variation of arbitrary link and executed link dodge disconnected protection, to the flow of the link of this state variation not execute protection switch.
Preferably,
Processing unit 403, the time of implementation that is further used for the disconnected protection of definite link sudden strain of a muscle has arrived link and has dodged the guard time that breaks, and end is carried out link and is dodged disconnected the protection; And be used for confirming the state variation of arbitrary link and do not carry out link and dodge disconnected protection, the flow execute protection of the link of state variation is switched.
The unit of the foregoing description can be integrated in one, and also can separate deployment; A unit can be merged into, also a plurality of subelements can be further split into.
In sum; Beneficial effect of the present invention is; Communication equipment notified the opposite end communication equipment to get into the disconnected protection of link sudden strain of a muscle before carrying out self-healed protection; Avoid that the opposite end communication equipment is disconnected because of link dodges frequently carries out link switchover and upper-layer protocol is switched; And the opposite end communication equipment detects real Link State when unusual; Carry out link switchover immediately, realize the quick protective switch function.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. the Link State modification control method of a communication equipment is characterized in that, said method comprises:
Send request message notice opposite end communication equipment and carry out the disconnected protection of link sudden strain of a muscle, and link dodges disconnected guard time;
Receive the response message that the opposite end communication equipment sends, carry out self-healed protection.
2. method according to claim 1 is characterized in that, said method further comprises:
Detect arbitrary link-state change and carry out self-healed protection, then for the flow of the link of this state variation not execute protection switch.
3. method according to claim 2 is characterized in that, said method further comprises:
Detect arbitrary link-state change and do not carry out self-healed protection, then the flow execute protection of the link of this state variation is switched.
4. method according to claim 1 is characterized in that, said method further comprises:
Receive the request message that the opposite end communication equipment sends, carry out link and dodge disconnected protection;
Send response message to opposite end communication equipment, notice opposite end communication equipment executed link dodges disconnected protection;
Detect the time of implementation no show link that arbitrary link-state change and link dodge disconnected protection and dodge disconnected guard time, then to the flow of the link of this state variation not execute protection switch;
Confirm that time of implementation that link dodges disconnected protection arrived link and dodged disconnected guard time, then finish to carry out link and dodge disconnected protection.
5. described method according to claim 4 is characterized in that said method further comprises;
Detect arbitrary link-state change and do not carry out link and dodge disconnected protection, then the flow execute protection of the link of this state variation is switched.
6. the Link State of communication equipment change control device is characterized in that said device comprises: transmitting element, receiving element and processing unit;
Said transmitting element is used to send request message notice opposite end communication equipment execution disconnected protection of link sudden strain of a muscle and link and dodges the guard time that breaks;
Said receiving element is used to receive the response message that sends according to the described request message from the opposite end communication equipment and sends to said processing unit;
Said processing unit is used for carrying out self-healed protection according to the said response message of receiving.
7. device according to claim 6 is characterized in that said device further comprises: detecting unit;
Said detecting unit is used to detect Link State and also exports the variation of detected arbitrary Link State to processing unit;
Said processing unit also is used for confirming the state variation and the executed self-healed protection of arbitrary link, to the flow of the link of state variation not execute protection switch; Perhaps be used for confirming the state variation of arbitrary link and not carrying out self-healed protection, the flow execute protection of the link of state variation is switched.
8. device according to claim 6 is characterized in that,
Said receiving element also is used to receive notice that said opposite end communication equipment sends and carries out that link dodges disconnected protection and link dodges the described request message of disconnected guard time and sends to said processing unit;
Said processing unit also is used for carrying out link according to the described request message of receiving and dodges disconnected protection and notify the said link of said transmitting element executed to dodge disconnected protection;
Said transmitting element also is used for dodging the disconnected notice of protecting according to the executed link from said processing unit and sends response message to opposite end communication equipment, and notice opposite end communication equipment executed link dodges disconnected the protection.
9. device according to claim 8 is characterized in that,
Said processing unit is used for also confirming that the state variation of arbitrary link and the said link of executed dodge disconnected protection, to the flow of the link of this state variation not execute protection switch.
10. device according to claim 9 is characterized in that,
Said processing unit, the time of implementation that is further used for the disconnected protection of definite link sudden strain of a muscle has arrived said link and has dodged the guard time that breaks, and end is carried out link and is dodged disconnected the protection; And be used for confirming the state variation of arbitrary link and do not carry out link and dodge disconnected protection, the flow execute protection of the link of state variation is switched.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102350398A CN102355408A (en) | 2011-08-16 | 2011-08-16 | Method and device for controlling linkage state change of communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102350398A CN102355408A (en) | 2011-08-16 | 2011-08-16 | Method and device for controlling linkage state change of communication device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102355408A true CN102355408A (en) | 2012-02-15 |
Family
ID=45578905
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011102350398A Pending CN102355408A (en) | 2011-08-16 | 2011-08-16 | Method and device for controlling linkage state change of communication device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102355408A (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050216578A1 (en) * | 2004-03-29 | 2005-09-29 | Jim Thompson | Methods, devices and computer program products using a node affiliation protocol for monitoring and/or controlling networkable devices |
| CN101141364A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and device for realizing protection switching in ring Ethernet |
| CN101394261A (en) * | 2007-09-17 | 2009-03-25 | 华为技术有限公司 | A state transition method and network node device |
| CN101399824A (en) * | 2007-09-29 | 2009-04-01 | 华为技术有限公司 | Method, system and router realizing elegant restart of route information protocol |
| CN101459549A (en) * | 2007-12-14 | 2009-06-17 | 华为技术有限公司 | Link failure processing method and data forwarding device |
| CN101478615A (en) * | 2008-01-03 | 2009-07-08 | 华为技术有限公司 | Method, device and system for link processing |
-
2011
- 2011-08-16 CN CN2011102350398A patent/CN102355408A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050216578A1 (en) * | 2004-03-29 | 2005-09-29 | Jim Thompson | Methods, devices and computer program products using a node affiliation protocol for monitoring and/or controlling networkable devices |
| CN101141364A (en) * | 2006-09-07 | 2008-03-12 | 华为技术有限公司 | Method and device for realizing protection switching in ring Ethernet |
| CN101394261A (en) * | 2007-09-17 | 2009-03-25 | 华为技术有限公司 | A state transition method and network node device |
| CN101399824A (en) * | 2007-09-29 | 2009-04-01 | 华为技术有限公司 | Method, system and router realizing elegant restart of route information protocol |
| CN101459549A (en) * | 2007-12-14 | 2009-06-17 | 华为技术有限公司 | Link failure processing method and data forwarding device |
| CN101478615A (en) * | 2008-01-03 | 2009-07-08 | 华为技术有限公司 | Method, device and system for link processing |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5233504B2 (en) | Route control apparatus and packet discarding method | |
| CN108965123A (en) | A kind of link switch-over method and network communicating system | |
| CN104301146A (en) | Link switching method and device in software defined network | |
| CN104202334B (en) | A kind of method and device for establishing network connection | |
| US20170054630A1 (en) | Path Switching Method and Device | |
| US20140043960A1 (en) | Method, tor switch, and system for implementing protection switchover based on trill network | |
| CN101378333B (en) | System, apparatus and method for transmitting and receiving check information message continuously | |
| CN111130943B (en) | Method for realizing fast ring network switching, switch and computer readable storage medium | |
| CN111327524B (en) | Flow forwarding method and system, SDN controller and computer readable storage medium | |
| CN105578449A (en) | Method and device for changing virtual SIM card | |
| CN103036728A (en) | Multi- redundancy ethernet data transmission system and transmission method | |
| CN103236942B (en) | A kind of optical line terminal equipment ethernet port character control device and method | |
| JP5974911B2 (en) | Communication system and network relay device | |
| CN108235157B (en) | Control method and system for virtualized gateway state | |
| US11258666B2 (en) | Method, device, and system for implementing MUX machine | |
| CN111327527B (en) | Flow forwarding method and system, SDN controller and computer readable storage medium | |
| CN104883337A (en) | Ring network user safety realizing method and apparatus | |
| WO2014175423A1 (en) | Communication node, communication system, packet processing method and program | |
| US9596129B2 (en) | Communication system, control apparatus, communication apparatus, information-relaying method, and program | |
| CN104753754A (en) | Method and apparatus for transmitting messages | |
| CN102355408A (en) | Method and device for controlling linkage state change of communication device | |
| CN104394012A (en) | Cluster router, MPU (microprocessor unit), determining method for faults of MPU and sensing controller | |
| WO2018209915A1 (en) | Large-scale oam detection system and method in distributed devices | |
| CN105264857B (en) | Send the method, apparatus and system of information | |
| CN101998570A (en) | Network switching method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120215 |