CN101605079B - Ethernet link protecting method, system and device - Google Patents

Ethernet link protecting method, system and device Download PDF

Info

Publication number
CN101605079B
CN101605079B CN2009101467797A CN200910146779A CN101605079B CN 101605079 B CN101605079 B CN 101605079B CN 2009101467797 A CN2009101467797 A CN 2009101467797A CN 200910146779 A CN200910146779 A CN 200910146779A CN 101605079 B CN101605079 B CN 101605079B
Authority
CN
China
Prior art keywords
link
switching command
protection
hit
parameter
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
Application number
CN2009101467797A
Other languages
Chinese (zh)
Other versions
CN101605079A (en
Inventor
耿忠
徐海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2009101467797A priority Critical patent/CN101605079B/en
Publication of CN101605079A publication Critical patent/CN101605079A/en
Application granted granted Critical
Publication of CN101605079B publication Critical patent/CN101605079B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an Ethernet link protecting method, system and device, which is used for solving the problems of long address refresh response time and complex implementation when performing link protection in the prior Ethernet. When a protecting device determines a link protecting system of a terminal to be switched, the method obtains a switching instruction of the link protecting system of the terminal, wherein the switching instruction comprises information of a switched link; and sends a hit instruction to the link, which enables the port corresponding to the link of the terminal equipment to refresh addresses. Through sending hit signal to a switched link, the electrical signal or optical signal of the link is switched off, the port corresponding to the link is forced to be refreshed, thereby shortening the link protection switching time and achieving the purpose of quickly refreshing the addresses.

Description

A kind of method, system and device of ethernet link protection
Technical field
The present invention relates to network communications technology field, relate in particular to a kind of method, system and device of ethernet link protection.
Background technology
Along with the continuous development of the various link protection technology of Ethernet, the application of ethernet link more and more widely.But because traditional ethernet link protection switching time has influenced the extensive use of Ethernet in communication network.And the decision ethernet link protects the factor of switching time to comprise the address flush technology.
In the ethernet address refresh technique of prior art; mainly the mode by software refreshes the address on the physical port, but can't satisfy the requirement (it is 50 milliseconds that requirement is switched in this protection) that the protection of carrier class ethernet link is switched its switching time by the mode of software.Fig. 1 is ethernet link protection normal condition schematic diagram; wherein; node A and Node B are by active link 4-6 transmitting data stream; the medium access control of upstream (Media Access Control; MAC) all learn on the port 6 of opposite equip. U1 the address; when active link 4-6 breaks down; link protection switches to reserve link 3-5; by software the MAC Address on this opposite equip. U1 port 6 is worn out; when carrying out downlink data transmission; because the MAC Address on this port 6 does not also arrive the aging time; MAC Address on this port 6 still exists; U1 is sent to this MAC Address corresponding port by searching MAC Address on the port 6 with data flow.And in fact the active link of this port has switched on the reserve link, has therefore caused a large amount of packet losses, and has delayed the time of switching.
And because the dissimilar communication equipments and the chip that may adopt different manufacturer to produce in ethernet link, and various manufacturer produces communication equipment and chip when realizing address flush by software mode, and method also is not quite similar.Therefore, when the communication equipment and the chip that adopt different manufacturers to produce, when realizing address flush, need to consider the consistency problem of address flush implementation method by software mode.For example the communication equipment that provides of two manufacturers carries out the link butt joint; the communication equipment of these two manufacturers realizes that the mode of link protection switching is inconsistent; the address flush method that adopts is also different; thereby cause the address flush of the link protection communication equipment of needs butt joint to realize interlock, thereby can not satisfy the requirement that the protection of telecommunications grade ethernet link is switched.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of method, system and device of ethernet link protection, and when carrying out link protection in order to solve in the prior art Ethernet, the address flush response time is long, and realizes than complicated problems.
The method of a kind of ethernet link protection that the embodiment of the invention provides; this method is applied in the ethernet link protection system; comprise at least two nodes and opposite equip. in this system; link by link corresponding between the node and between node and the opposite equip.; link outside this opposite equip. and node are arranged in the link protection system of local terminal, and this method comprises:
Protective device when the link protection system of judging local terminal is switched, obtains the switching command of the link protection system of local terminal according to the protection link parameter of this setting, wherein, comprises the information of the link that is switched in this switching command;
Described protective device is according to this switching command, sends hit instruction to this link, makes this opposite equip. to port refresh address that should link.
The device of a kind of ethernet link protection that the embodiment of the invention provides comprises:
Initialization module is used to be provided with the protection link parameter, according to this protection link parameter of this setting, when the link protection system of judging local terminal is switched, to Executive Module output switching command, wherein comprises the information of the link that is switched in this switching command;
The clock memory module is used for timing, and stores the hit protection blanking time of every link;
Executive Module; be used for according to the switching command that receives; obtain the moment that receives this switching command; and the hit of this switching command respective links is protected blanking time; and calculate moment after the protection of this link hit; constantly send the hit instruction according to this, make opposite equip. port refresh address that should link to described link.
A kind of ethernet link protection system, this system comprise the link protection system of opposite equip. and local terminal, comprise protective device in the link protection system of described local terminal:
Described protective device, protection link parameter according to this setting, when the link protection system of judging local terminal is switched, obtain the switching command of the link protection system of local terminal, wherein, comprise the information of the link that is switched in this switching command, and according to this switching command, send hit instruction to this link, make this opposite equip. port refresh address that should link;
Described opposite equip. is according to this hit instruction, to the port refresh address of this respective links.
The embodiment of the invention provides a kind of guard method, system and device of ethernet link, in this method when protective device judges that the link protection system of local terminal is switched, obtain the switching command of the link protection system of local terminal, wherein, the information that comprises the link that is switched in this switching command; And send hit instruction to this link, make this opposite equip. to port refresh address that should link.Send the hit signal by the link that has been switched to this, cut off the signal of telecommunication or the light signal of this link, force this link corresponding port to refresh, thereby shortened link protection switching time, and reached the purpose of quick refresh address.
Description of drawings
Fig. 1 is the normal condition schematic diagram of ethernet link protection;
Fig. 2 is the malfunction schematic diagram of ethernet link protection;
Fig. 3 carries out the process that ethernet link is protected for the device by this ethernet link protection in the embodiment of the invention;
Fig. 4 is the structural representation of this ethernet link protective device in the embodiment of the invention;
Fig. 5 installs each module in the embodiment of the invention in conjunction with this, describes the process of carrying out the ethernet link protection in detail;
Fig. 6 is another normal link view of ethernet link protection in the embodiment of the invention;
Fig. 7 is another fault linking status schematic diagram of ethernet link protection in the embodiment of the invention;
Another detailed process of link protection is carried out in the ethernet link guard method that Fig. 8 provides for the embodiment of the invention;
The ethernet link protection system structural representation that Fig. 9 provides for the embodiment of the invention.
Embodiment
Shorten in the ethernet link protection process for effective in the embodiment of the invention; the time of address flush; improve the efficient of address flush; a kind of method of ethernet link protection is provided; this method is applied in the ethernet link protection system; comprise at least two nodes and opposite equip. in this system; the link protection system of this local terminal comprises link and the node before this opposite equip.; this method comprises: protective device is according to the protection link parameter of this setting; when the link protection system of judging local terminal is switched; obtain the switching command of the link protection system of local terminal; wherein, comprise the information of the link that is switched in this switching command, according to this switching command; send hit instruction to this link, make this opposite equip. port refresh address that should link.Send the hit signal by the link that has been switched to this in the embodiment of the invention; cut off the signal of telecommunication or the light signal of this link; force this link corresponding port to refresh, thereby shortened link protection switching time, and reached the purpose of quick refresh address.
Wherein, the instruction of this hit is the operation of moment disconnecting link, the difference of the function of supporting at chip and difference can be passed through application-specific integrated circuit (ASIC) (Application Specific Integrated Circuit at present, ASIC) hit of chip operation link makes the physical port refresh address.Have different brands for asic chip, for example broadcom brand and marvell brand etc., the hit instruction is all issued by asic chip.Chip for other can adopt function corresponding to send the hit instruction according to the function of its definition.
Below in conjunction with Figure of description, the embodiment of the invention is elaborated.
Fig. 1 is the normal condition schematic diagram of ethernet link protection; in this ethernet link, comprise node A; Node B; opposite equip. U1; comprise 2 on the node A; 3 ports; comprise 1 on the Node B; 4 ports; comprise 5 on the opposite equip. U1; 6 ports; node A is connected by link 1-2 with Node B; node A is connected by link 3-5 with opposite equip. U1; Node B is connected by link 4-6 with opposite equip. U1; should first network and second network linking be got up above link syndeton; and carried out the link protection backup; wherein link 4-6 is for realizing the active link of first network and second network linking; link 3-5 is for realizing the reserve link of first network and second network linking; port 4 is for transmitting (forward) port; port 3 is for blocking (block) port; wherein; node A; Node B and link 1-2; link 3-5 and link 4-6 have constituted the link protection system of local terminal; being the link protection system that the link except that opposite equip. and equipment are called local terminal in the whole system, also is the link protection system that whole system comprises opposite equip. and local terminal.
Under the normal linking status of this ethernet link shown in Figure 1 protection; port 4 is for transmitting port; port 3 is a port blocked; first network is called upstream to the data flow of second network; second network is called downstream data flow to the data flow of first network, and first network communicates by link 4-6 with data flow between second network.In upstream, the source address of this data flow is the MAC Address of the first network of network side apparatus, destination address is the MAC Address of the second network of network side apparatus, in this upstream, the MAC Address of the first network of network device request, the second network of network equipment has been learnt on should the port 6 of active link by opposite equip. U1.
When this active link breaks down, this first network is switched to reserve link 3-5 with linking of second network, when this first network is switched to reserve link with linking of second network, Fig. 2 in the embodiment of the invention after active link breaks down, switch to the view of reserve link, port 4 is moved to blocked state from forwarding state, and port 3 is moved to forwarding state by blocked state.This active link breaks down and comprises: the flow appearance of active link is congested, packet loss phenomenon etc. appears in active link.
In this Fig. 2; because the link protection system of local terminal can only refresh the address of the port of equipment in the native system; it is the address that the link protection system of local terminal can only refresh port 4; and opposite equip. U1 is positioned at outside the link protection system of this local terminal; the address of the port 6 on this opposite equip. U1 can't know that the link switchover that this first network communicates with second network arrived on the reserve link; and the port 6 on this opposite equip. U1 can carry out refreshing of address by the device that the ethernet link that the embodiment of the invention provides is protected and protect; Fig. 3 carries out the process that ethernet link is protected for the device by this ethernet link protection in the embodiment of the invention, and this process may further comprise the steps:
S301: protective device is provided with the protection link parameter; this protection link parameter according to this setting; whether the link protection system of judging local terminal is switched; when the link protection system of judging local terminal receives when switching; carry out S302; otherwise this protection link parameter according to being provided with continues to judge whether the link protection system of local terminal is switched.
S302: protective device obtains the switching command of the link protection system of local terminal, determines the active link that is switched in the link protection system of this local terminal.
S303: protective device is according to this switching command, sends hit instruction to this active link, make this opposite equip. carry out address flush to port that should active link, and this active link changes the obstruction link into.
Wherein, this hit instruction is the instruction of this active link signal of telecommunication of cut-out, or cuts off the instruction of this active link light signal.This protective device comprises to the process that this active link sends hit instruction: protective device is verified the legitimacy of this switching command, when checking by the time generate the hit instruction, and this hit instruction is sent to this active link.And at this protective device the process that the instruction of this hit sends to this active link can also be comprised: this protective device is verified the legitimacy of this hit instruction, when checking by the time this hit instruction sent to this active link.
In embodiments of the present invention, this protection link parameter is the condition that this active link and reserve link switch, wherein this protection link parameter comprises: the switching command parameter, the flow parameter of link, with packet loss parameter of link etc., judge that the main process of method whether the link protection system of local terminal is switched comprises: when the protection link parameter of this setting is the switching command parameter, when the link protection system of this local terminal received this switching command, this protective device judged that the link protection system of this local terminal switches; When the protection link parameter of this setting was the flow parameter of link, this protective device was monitored the flow of this link, and when the flow of this link was not more than this flow parameter, this protective device judged that the link protection system of this local terminal switches; When the parameter of the protection link of this setting was the packet loss parameter, this protective device was monitored the packet loss of this link, and when the packet loss of this link was not less than the packet loss parameter of setting, this protective device judged that the link protection system of this local terminal switches.How much what wherein, the flow of link can be according to the data flow that receives in the setting-up time judges how many packet loss of link can judging according to the packet that receives in the setting-up time.
Fig. 4 is the structural representation of this ethernet link protective device in the embodiment of the invention, and hereinafter to be referred as protective device, this protective device comprises: initialization module 41, Executive Module 42, clock memory module 43 and processing module 44.Wherein:
Initialization module 41, be used to be provided with the protection link parameter, according to this protection link parameter of this setting, when the link protection system of judging local terminal is switched, to Executive Module 42 output switching commands, wherein comprise the information of the link that is switched in this switching command;
Executive Module 42, be used for switching command according to initial module 41 transmissions that receive, this switching command is sent to processing module 44, and the moment of obtaining this switching command of reception from clock memory module 43, and the hit of this switching command respective links is protected blanking time, and calculate moment after the protection of this link hit, and send the hit instruction to described link constantly according to this, make opposite equip. to port refresh address that should link;
Clock memory module 43 is used for timing, and stores the hit protection blanking time of every link.
Also comprise in this device:
Processing module 44 is used for the switching command that sends according to the Executive Module 42 that receives, verifies the legitimacy of this switching command, when checking by the time when generating the hit instruction, and this hit instruction sent to Executive Module 42;
Comprise in the initialization module 41 in this device:
Memory cell 411 is used to preserve the protection link parameter of setting;
Judging unit 412 is used for judging according to the protection link parameter that is provided with whether the link protection system of local terminal is switched;
Output unit 413 when the link protection system that is used for determining this local terminal is switched, is determined the link that switches and is exported switching command.
This processing module 44 comprises:
Call unit 441 is used to resolve the switching command of reception, calls units corresponding and handles this switching command, and send the legal hit instruction of checking;
Judging unit 442, be used for when receiving the switching command that this call unit 441 sends, this switching command being sent to authentication unit 443, when the switching command that receives after checking that authentication unit 443 sends is passed through, the generation hit instructs, and this hit instruction is sent to authentication unit 443;
Authentication unit 443, be used to verify the legitimacy of the switching command that judging unit 442 sends, and verify the legitimacy of the hit instruction that this judging unit 442 sends, when judging that this switching command is legal, and this hit instructs when legal, send this hits instruction to this call unit 441, when judging that this switching command or this hit instruct when illegal, judge that this link is subjected to malicious attack.
Fig. 5 installs each module in the embodiment of the invention in conjunction with this, describes the process of carrying out the ethernet link protection in detail, and this process may further comprise the steps:
S501: initialization module is provided with the protection link parameter of every link, and for example the protection link parameter of a certain link of She Zhiing is the link flow parameter.
Wherein, this initialization module is that the protection link parameter of every link setting can be the same or different; determine according to specific circumstances; for example the protection link parameter for the setting of article one link is the link flow parameter; this parameter is L1, and for the protection link parameter of second link setting is the link packet drop rate parameter, this parameter is D1; the protection link parameter that is the 3rd link setting is the link flow parameter, and this parameter is L2 or the like.
S502: initialization module judges according to the protection link parameter of every link of this setting whether the link protection system of local terminal is switched, and when being judged as when being, carries out S503, otherwise, carry out S502.
S503: initialization module obtains the switching command of the link protection system of local terminal, wherein comprises the information of the active link that is switched in this switching command.
The process of the active link of specifically judging and determining to be switched comprises: the initialization module of protective device that is arranged in Node B is according to the link flow parameter of this setting; when the flow of monitoring this link 6-4 during less than the link flow parameter that is provided with; the link protection system of judging this local terminal is switched; promptly fault has appearred in this link 6-4, and this active link 6-4 is switched in the link protection system of this local terminal.
S504: initialization module sends to Executive Module with this switching command.
S505: Executive Module is according to the information of the active link that is switched that comprises in this switching command; from the clock memory module, obtain the moment of this switching command; reach the hit protection blanking time of this active link correspondence, calculate the moment after this active link hit is protected.
Specifically comprise: Executive Module obtains from the clock memory module and receives the moment that all link 6-4 of this master switch; and from this clock memory module, obtain the hit protection blanking time of this active link 6-4; on the basis in this moment of switching, add this hit protection blanking time, obtain the moment after this active link hit protection.
S506: Executive Module sends to processing module with this switching command.
S507: processing module is judged this switching command, and is generated the hit instruction according to the result who judges.
S508: this processing module is verified the legitimacy of this switching command and the instruction of this hit, when verifying that the instruction of this switching command and this hit is all legal, carries out S509, otherwise, carry out S511.
S509: this processing module sends to Executive Module with this hit instruction.
S510: Executive Module is forced to disconnect this active link according to the instruction of this hit, cuts off the signal of telecommunication or the light signal of this active link, thereby makes this opposite equip. U1 to port 6 hardware refresh addresses that should active link, reaches quick refresh address.
Behind these port 6 hardware refresh addresses, after opposite equip. U1 carried out address flush, this port 6 changed port blocked into, and this active link 4-6 changes the obstruction link into.
In embodiments of the present invention, forcing the mode of this active link of disconnection 4-6 is the hardware disconnect mode, make this link 4-6 not have the signal of telecommunication or light signal, make this opposite equip. U1, delete the MAC Address of learning on this port by hardware automatically port 6 that should link 4-6.
S511: this processing module determines that this link is subjected to malicious attack.
In embodiments of the present invention; when this protective device monitors that the system of protection link of local terminal is active and standby to be switched with link; the instruction of generation hit; and by the active link before this hit instruction pressure disconnection active/standby link switchover; make this active link not have the signal of telecommunication; or there is not a light signal; when the port to this opposite equip. that should active link does not have the signal of telecommunication; or when not having light signal; this port refresh address; thereby shortened link protection switching time, and reached the purpose of quick refresh address.
The judging unit of processing module inside and authentication unit in embodiments of the present invention; can verify the validity of this switching command; and whether the switching command of effectively determining this reception is the switching command that can generate the hit instruction; avoided the interference of signal in the link; can generate the hit instruction effectively, and after generating the hit instruction, continue checking by authentication unit; strengthened the reliability of this protective device, thereby can make the link protection of this protective device safer.
Wherein, the order of the step of S505 and S506 can be exchanged, as long as before this processing module sends to Executive Module with this hit instruction, the moment that this Executive Module can obtain after this link hit protection gets final product.
This ethernet link protective device can be positioned at each node or the network equipment.
Fig. 6 is another normal link view of ethernet link protection in embodiments of the present invention; this Fig. 6 has increased node C on the basis of this Fig. 1; comprise 9 on the node C; 10 ports; also comprise 7 ports on this node A; also comprise 8 ports on the Node B; node A is connected by link 7-9 with node C; Node B is connected by link 8-10 with node C; this port 7 is for transmitting port; port 8 is a port blocked; communicating by letter between first network and second network comprises: node C arrives node A by link 9-7, and node A arrives Node B by link 2-1, and Node B arrives opposite equip. U1 by link 4-6.The link protection system of this local terminal comprises: remove opposite equip. U1 link and equipment before in this whole system, specifically comprise: node A, Node B, node C, link 7-9, link 8-10, link 1-2, link 3-5 and link 4-6.
When the link 1-2 among this Fig. 6 breaks down, link 1-2 between this node A and the Node B disconnects as shown in Figure 7, and the port 8 on the Node B is a port blocked, and downstream data flow can't send on Node B, causes first network and second network to communicate.Therefore; need protect link switchover; with the active link of link 3-5 as the link protection system communication of opposite equip. U1 and local terminal; this port 3 is set to transmit port; this port 4 is set to port blocked; port 6 for fear of opposite equip. U1 can't carry out address flush timely, another detailed process that Fig. 8 carries out link protection for the ethernet link guard method of adopting the embodiment of the invention to provide, and this process comprises:
S801: the memory cell in the initialization module is preserved the protection link parameter of every link of setting, and for example the protection link parameter of the link 4-6 of She Zhiing is the link packet drop rate parameter.
In embodiments of the present invention; because this protective device is positioned at the node or the network equipment, the link protection parameter of the setting of preserving in this memory cell is for the link that links to each other with this node or the network equipment is provided with the link protection parameter; for example; this protective device is positioned at Node B, and the link that links to each other in this Node B comprises: link 6-4, link 2-1; link 8-10; therefore, preserve in the memory cell in this initial module and be respectively link 6-4, link 2-1, the link protection parameter that link 8-10 is provided with.
S802: the judging unit in the initialization module judges according to the protection link parameter of every the link that is provided with whether the link protection system of local terminal is switched, and when being judged as when being, carries out S803, otherwise, carry out S802.
Wherein, because all may there be protective device in each intranodal, for example whether the intrasystem link 6-4 of link protection of the judgment unit judges local terminal of the protective device in the Node B switches.
S803: the output unit in the initialization module obtains the switching command of the link protection system of local terminal, wherein, comprises the information of the link that this is switched in this switching command.
For example the link protection system of this local terminal has arrived link 3-5 with the link switchover of the link protection system communication of this opposite equip. and local terminal; judge packet loss parameter in the initialization module of this Node B according to this link 6-4 that is provided with; the packet loss of this link 6-4 is not less than the packet loss parameter of this setting in the time that is provided with, and determines that by this output unit this link 6-4 switches.
Wherein, comprise the information of the link 6-4 that this is switched in this switching command, so as other modules in this protective device, the link of determining to carry out subsequent operation.
S804: the output unit in the initialization module sends to Executive Module with this switching command.
S805: Executive Module is according to the information of the link 6-4 that is switched that comprises in this switching command; from the clock memory module, obtain the moment of this switching command; reach the hit protection blanking time of this link 6-4 correspondence, calculate the moment after this active link hit is protected.
Have clocking capability owing to be arranged in the clock memory module of the protective device of Node B, and preserved, therefore, be convenient to searching of this Executive Module the hit protection blanking time of every link of this Node B connection.
S806: Executive Module sends to processing module with this switching command.
S807: the judging unit in the processing module is judged this switching command, and is generated the hit instruction according to the result who judges.
S808: the authentication unit in this processing module is verified this switching command, and the legitimacy of this hit instruction, when verifying that the instruction of this switching command and this hit is all legal, carries out S809, otherwise, carry out S811.
S809: the authentication unit in this processing module sends to Executive Module with this hit instruction.
S810: Executive Module is forced to disconnect this active link according to the instruction of this hit, cuts off the signal of telecommunication or the light signal of this active link, thereby makes this opposite equip. U1 to port 6 hardware refresh addresses that should the 6-4 link, reaches quick refresh address.This link 6-4 changes the obstruction link into.
S811: the authentication unit in this processing module determines that this link is subjected to malicious attack.
Wherein, the order of S805 and S806 step can be exchanged, as long as before this processing module sends to Executive Module with this hit instruction, the moment that this Executive Module can obtain after this link hit protection gets final product.
Because the link protection system of local terminal can only refresh the address of the port 4 among this link 6-4 in this system, and the port 6 of the opposite equip. U1 outside this system can't learn that this link 6-4 has been switched, thereby this port 6 can't refresh address.The ethernet link guard method that the embodiment of the invention provides, the mode of employing hit makes this link 6-4 lose the signal of telecommunication or light signal, thereby forces this port 6 to carry out refreshing of address by hardware.After this port 6 has carried out refreshing of address by the hit mode, this downstream data flow turns to port 5 from the port 6 of this opposite equip. U1, this link 5-3 is a conversion link, active link after promptly switching, by link 5-3 to node A, reach node C from link 7-9 again, thereby realize communicating by letter of first network and second network.
The structural representation of a kind of ethernet link protection system that Fig. 9 provides for the embodiment of the invention comprises in this system the link protection system of opposite equip. and local terminal comprising protective device in the link protection system of described local terminal:
Described protective device, protection link parameter according to this setting, when the link protection system of judging local terminal is switched, obtain the switching command of the link protection system of local terminal, wherein, comprise the information of the link that is switched in this switching command, and according to this switching command, send hit instruction to this link, make this opposite equip. port refresh address that should link;
Described opposite equip. is according to this hit instruction, to the port refresh address of this respective links.
The embodiment of the invention provides a kind of method, system and device of ethernet link protection, this method is applied in the ethernet link protection system, comprise at least two nodes and opposite equip. in this system, the link protection system of this local terminal comprises link and the node before this opposite equip., this method comprises: when protective device judges that the link protection system of local terminal is switched, obtain the switching command of the link protection system of local terminal, wherein, the information that comprises the link that is switched in this switching command; And send hit instruction to this link, make this opposite equip. to port refresh address that should link.Send the hit signal by the link that has been switched to this in the embodiment of the invention; cut off the signal of telecommunication or the light signal of this link; force this link corresponding port to refresh, thereby shortened link protection switching time, and reached the purpose of quick refresh address.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (12)

1. ethernet link guard method; it is characterized in that; this method is applied in the ethernet link protection system; comprise at least two nodes and opposite equip. in this system; link by link corresponding between the node and between node and the opposite equip.; link outside this opposite equip. and node are arranged in the link protection system of local terminal, and this method comprises:
Protective device is provided with the protection link parameter, when described protective device judges that according to the protection link parameter of this setting the link protection system of local terminal is switched, obtain the switching command of the link protection system of local terminal, wherein, comprise the information of the link that is switched in this switching command;
Described protective device is according to this switching command, sends hit instruction to this link, makes this opposite equip. to port refresh address that should link.
2. the method for claim 1 is characterized in that, described protection link parameter comprises:
The switching command parameter, the packet loss parameter of the flow parameter of link and link.
3. the method for claim 1 is characterized in that, when described protection link parameter was the flow parameter of link, the link protection system of described judgement local terminal switched and comprises:
This protective device is monitored the flow of this link, and when the flow of this link was not more than this flow parameter, this protective device judged that the link protection system of this local terminal switches.
4. the method for claim 1 is characterized in that, when described protection link parameter was the packet loss parameter, the link protection system of described judgement local terminal switched and comprises:
This protective device is monitored the packet loss of this link, and when the packet loss of this link was not less than the packet loss parameter of setting, this protective device judged that the link protection system of this local terminal switches.
5. the method for claim 1 is characterized in that, when described protection link parameter was the switching command parameter, the link protection system of described judgement local terminal switched and comprises:
When this protective device determines that the link protection system of this local terminal receives this switching command, judge that the link protection system of this local terminal is switched.
6. the method for claim 1 is characterized in that, described protective device sends the hit instruction to this link and comprises according to this switching command:
Described protective device is verified the legitimacy of described switching command, when checking by the time generate the hit instruction, and this hit instruction is sent to this link.
7. method as claimed in claim 6 is characterized in that, describedly the instruction of this hit is sent to this link comprises:
Described protective device is verified the legitimacy of this hit instruction, when checking by the time this hit instruction sent to this link.
8. an ethernet link protective device is characterized in that, described device comprises:
Initialization module is used to be provided with the protection link parameter, according to this protection link parameter of this setting, when the link protection system of judging local terminal is switched, to Executive Module output switching command, wherein comprises the information of the link that is switched in this switching command;
The clock memory module is used for timing, and stores the hit protection blanking time of every link;
Executive Module; be used for according to the switching command that receives; obtain the moment that receives this switching command; and the hit of this switching command respective links is protected blanking time; and calculate moment after the protection of this link hit; constantly send the hit instruction according to this, make opposite equip. port refresh address that should link to described link.
9. device as claimed in claim 8 is characterized in that, described device also comprises:
Processing module is used for the switching command that sends according to the Executive Module that receives, verifies the legitimacy of this switching command, when checking by the time when generating the hit instruction, and this hit instruction sent to Executive Module.
10. device as claimed in claim 9 is characterized in that, described processing module comprises:
Call unit is used to resolve the switching command of reception, calls units corresponding and handles this switching command, and send the legal hit instruction of checking;
Judging unit, be used for when receiving the switching command that this call unit sends, this switching command being sent to authentication unit, when the switching command that receives after checking that authentication unit sends is passed through, the generation hit instructs, and this hit instruction is sent to authentication unit;
Authentication unit, be used to verify the legitimacy of the switching command that judging unit sends, and verify the legitimacy of the hit instruction that this judging unit sends, when judging that this switching command is legal, and this hit instructs when legal, send the instruction of this hit to this call unit, when judging that this switching command or this hit instruct when illegal, judge that this link is subjected to malicious attack.
11. device as claimed in claim 8 is characterized in that, described initialization module comprises:
Memory cell is used to preserve the protection link parameter of setting;
Judging unit is used for judging according to the protection link parameter that is provided with whether the link protection system of local terminal is switched;
Output unit when the link protection system that is used for determining this local terminal is switched, is determined the link that switches and is exported switching command.
12. ethernet link protection system, this system comprises the link protection system of opposite equip. and local terminal, it is characterized in that, comprise the ethernet link protective device in the link protection system of described local terminal: described ethernet link protective device, comprise: initialization module, be used to be provided with the protection link parameter, this protection link parameter according to this setting, when the link protection system of judging local terminal is switched, to Executive Module output switching command, wherein comprise the information of the link that is switched in this switching command;
The clock memory module is used for timing, and stores the hit protection blanking time of every link;
Executive Module, be used for according to the switching command that receives, obtain the moment that receives this switching command, and the hit of this switching command respective links is protected blanking time, and calculate moment after the protection of this link hit, constantly send the hit instruction according to this, make opposite equip. port refresh address that should link to described link;
Described opposite equip. is according to this hit instruction, to the port refresh address of this respective links.
CN2009101467797A 2009-07-01 2009-07-01 Ethernet link protecting method, system and device Active CN101605079B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101467797A CN101605079B (en) 2009-07-01 2009-07-01 Ethernet link protecting method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101467797A CN101605079B (en) 2009-07-01 2009-07-01 Ethernet link protecting method, system and device

Publications (2)

Publication Number Publication Date
CN101605079A CN101605079A (en) 2009-12-16
CN101605079B true CN101605079B (en) 2011-12-07

Family

ID=41470638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101467797A Active CN101605079B (en) 2009-07-01 2009-07-01 Ethernet link protecting method, system and device

Country Status (1)

Country Link
CN (1) CN101605079B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487679B (en) * 2015-09-02 2019-11-08 北京国基科技股份有限公司 The active-standby switch system and switching method of Ethernet switch
CN105515642A (en) * 2015-11-30 2016-04-20 上海市共进通信技术有限公司 Optical network unit (ONU) packet loss rate monitoring based system and method for realizing channel switch

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101163038A (en) * 2007-08-16 2008-04-16 中兴通讯股份有限公司 Ethernet equipment link protecting method
CN101399737A (en) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 Protection method and apparatus used for link convergence group of loop Ethernet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101022390A (en) * 2007-03-21 2007-08-22 华为技术有限公司 Method, system and equipment for protecting double-return switch-in RRPP loop network
CN101163038A (en) * 2007-08-16 2008-04-16 中兴通讯股份有限公司 Ethernet equipment link protecting method
CN101399737A (en) * 2008-10-21 2009-04-01 中兴通讯股份有限公司 Protection method and apparatus used for link convergence group of loop Ethernet

Also Published As

Publication number Publication date
CN101605079A (en) 2009-12-16

Similar Documents

Publication Publication Date Title
US8755685B2 (en) Joint switching method for an aggregation node, aggregation node and system
CN101001192B (en) Method, system and equipment for protecting ring network link
CA2941538C (en) Link switching method, device, and system
US9853856B2 (en) Method and device for protecting service reliability and network virtualization system
US20080117827A1 (en) Method and system for verifying connectivity of logical link
CN104025511A (en) Service protection method, optical line terminal and system in passive optical network
US10554296B2 (en) Optical network system
CN105323080B (en) A kind of link backup, power supply backup method, apparatus and system
CN108055163A (en) A kind of dual-homed equipment and its protection switching method
CN101227371A (en) Method and apparatus of backup switch among same level switch equipments
CN102957607A (en) Method, related device and system for switching over links
KR101825030B1 (en) Ring network apparatus and system using PoE and network recovering method for the system
CN100561954C (en) Method, system and the equipment of control detection of connectivity
CN101605079B (en) Ethernet link protecting method, system and device
CN103414510A (en) EPON protection device and method
CN103516534A (en) Method for realizing dual-homing protection switching, and home node
CN104753754A (en) Method and apparatus for transmitting messages
US20110299388A1 (en) Implementation Method for Protocol Channel in Ethernet Protection
CN101883008A (en) Subnet protection method for transport multi-protocol label switching network and device thereof
CN103125099B (en) Transmission equipment, transmission system and failure notification method
CN102932172A (en) Method, equipment and system for detecting Ethernet ring failure node
US8942640B2 (en) Absolute control of virtual switches
US8553530B1 (en) Operating state control in redundancy protection systems
CN102215098B (en) Method, device and system for transmitting service data of client equipment
JP2006067239A (en) Transmission equipment, fault notification method therefor, and transmission 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
C14 Grant of patent or utility model
GR01 Patent grant