CN105227456A - A kind of aggregated link failures recovers method and the device of transmission - Google Patents

A kind of aggregated link failures recovers method and the device of transmission Download PDF

Info

Publication number
CN105227456A
CN105227456A CN201510563197.4A CN201510563197A CN105227456A CN 105227456 A CN105227456 A CN 105227456A CN 201510563197 A CN201510563197 A CN 201510563197A CN 105227456 A CN105227456 A CN 105227456A
Authority
CN
China
Prior art keywords
detection messages
aggregated links
response message
port
intermediate line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510563197.4A
Other languages
Chinese (zh)
Other versions
CN105227456B (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies Co Ltd
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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201510563197.4A priority Critical patent/CN105227456B/en
Publication of CN105227456A publication Critical patent/CN105227456A/en
Application granted granted Critical
Publication of CN105227456B publication Critical patent/CN105227456B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/14Multichannel or multilink protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides method and device that a kind of aggregated link failures recovers transmission, when having intermediate line link to break down in aggregated links, by mutually sending detection messages and response message between aggregated links one-port switch, make two network switchs all can accurately find out the intermediate line link of disconnection, and the data of transmission are rerun on normal intermediate line link, the data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.The present invention, without the need to the intervention of user, can identify the intermediate line link of fault fast, and the data that fault intermediate line link corresponding ports sends are switched to normal intermediate line link in aggregated links fast and forward.

Description

A kind of aggregated link failures recovers method and the device of transmission
Technical field
The invention belongs to technical field of data transmission, particularly relate to method and device that a kind of aggregated link failures recovers transmission.
Background technology
In monitor network practical application, along with the increase of media stream service amount and the needs of long range propagation, in network, switch ports themselves sends Media Stream by aggregated links, wherein can use fiber optical transceiver or other transmission equipments in aggregated links, if the fiber optical transceiver in aggregated links or the connection line of optic fibre between other transmission equipments disconnect, due to switch perception less than, so send out stream end switch send data may still walk after Hash be disconnect optical fiber, can loss of data be caused like this.
In prior art, for the problem that aggregated links disconnects, LACP agreement is adopted to realize link switching.For static LACP protocol link polymerization, the switch at aggregated links two ends all needs to support LACP agreement, and the selection of active port in aggregated links member port, needs to be determined by the negotiation of LACP protocol massages.But there is following defect in this settling mode:
1, low-end switch does not support LACP agreement, supports that the switch price of LACP agreement, cost are high;
2, LACP protocol aggregation needs keeper to safeguard, increases human input;
3, LACP protocol aggregation, each port all needs periodically to send LACP protocol massages, and performance can increase certain expense, and the LACP protocol convergence time is long, requires that high business is inapplicable to control real-time;
4, some transport layer equipment can abandon operation to the protocol massages of such as LACP class in the operator network.
Even if simultaneously aggregated links supports LACP, intermediate fibres disconnects, switch impression less than, also cannot start LACP immediately to consult, only have the cycle to after just can send LACP message, cannot link switching be done during LACP protocol convergence, cause network failure, data transmission fails.
Summary of the invention
Object of the present invention is just to provide method and the device that a kind of aggregated link failures recovers transmission, overcoming aggregated links in prior art disconnects in rear resume data transmission process, the problems such as cost is high, complicated operation, maintenance trouble, when user is without intervention, all data can be switched to normal intermediate line link in aggregated links fast and forward.
To achieve these goals, technical solution of the present invention is as follows:
Aggregated link failures recovers a method for transmission, and be applied to the network switch, the port of the described network switch is provided with aggregated links, and described method comprises:
Perceive the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages;
Receive the detection messages that aggregated links correspondent network switch sends, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded;
Receive the response message that aggregated links correspondent network switch sends, the intermediate line link judging to receive the port of response message corresponding is normal, does not receive the intermediate line link fault that the port of response message is corresponding;
The data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.
Wherein, the described traffic statistics according to aggregated links corresponding ports perceive the fault of intermediate line link in aggregated links, comprising:
The flow perceiving aggregated links corresponding ports drops sharply to zero instantaneously, collect other port flow statisticss that the aggregated links at this port place is corresponding, if other port flows described are non-full zero, then judge have intermediate line link to there is fault in described aggregated links.
Further, described in be subordinated to this aggregated links each port externally send detection messages after, also comprise step:
Record send mark corresponding to detection messages;
Then whether described detection self sent detection messages, comprising:
Search in the record of storage the mark whether having had detection messages corresponding, if had, judge that self sent detection messages, otherwise judge that self did not send detection messages.
Further, after the response message that described reception aggregated links correspondent network switch sends, also step is comprised:
Remove the mark that the transmission detection messages that records is corresponding.
Detection messages of the present invention and response message are privately owned message, described privately owned message comprises and comprises target MAC (Media Access Control) address field, source MAC field and payload field, described payload field comprises flag bit Break, detection messages mark Req and response message mark Rep, by flag bit Break, detection messages mark Req and response message mark Rep, the described network switch identifies that received message is detection messages or response message.
The invention allows for the device that a kind of aggregated link failures recovers transmission, be applied to the network switch, the port of the described network switch is provided with aggregated links, and described device comprises:
Detection module, for perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages;
Respond module, for receiving the detection messages that aggregated links correspondent network switch sends, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded;
Judge module, for receiving the response message that aggregated links correspondent network switch sends, judging to receive intermediate line link corresponding to the port of response message normal, not receiving the intermediate line link fault that the port of response message is corresponding;
Recover module, for the judgement according to judge module, the data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.
Wherein, described detection module, when perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, performs following operation:
The flow perceiving aggregated links corresponding ports drops sharply to zero instantaneously, collect other port flow statisticss that the aggregated links at this port place is corresponding, if other port flows described are non-full zero, then judge have intermediate line link to there is fault in described aggregated links.
Further, after each port that described detection module is subordinated to this aggregated links externally sends detection messages, also record send mark corresponding to detection messages;
Described respond module, when whether detection self had sent detection messages, performs and operates as follows:
Search in the record of storage the mark whether having had detection messages corresponding, if had, judge that self sent detection messages, otherwise judge that self did not send detection messages.
Further, described judge module, after receiving the response message that aggregated links correspondent network switch sends, also removes the mark that the transmission detection messages that records is corresponding.
A kind of aggregated link failures that the present invention proposes recovers method and the device of transmission, make by hand under aggregation scheme, when an intermediate line link breaks down, exchange function quick sensing and switch flow, flow is switched on normal intermediate line link fast transmit, without the need to user intervention.And link convergence can be realized fast without the need to periodically sending message, alleviating the operation complexity of attendant, subtracting the reduced-maintenance time.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention aggregated links connection diagram;
Fig. 2 is the flow chart that a kind of aggregated link failures of the present invention recovers the method for transmission;
Fig. 3 is privately owned message structure schematic diagram in the present invention.
Embodiment
Be described in further details technical solution of the present invention below in conjunction with drawings and Examples, following examples do not form limitation of the invention.
General thought of the present invention is to provide method and the device that a kind of aggregated link failures recovers transmission, be applied to the network switch, the port of the network switch is provided with aggregated links to transmit data, break down when causing transfer of data normally to carry out when there being intermediate line link in aggregated links, the network switch by aggregated links two ends sends privately owned message mutually, according to the response message received after privately owned message each other, determine the intermediate line link disconnected, reportedly row operation is input into again according to normal intermediate line link again logarithm, transmit in data batchmove to normal intermediate line link, realize the date restoring transmission to disconnecting on intermediate line link.
As shown in Figure 1, in the embodiment of the present invention, to be described with the aggregated links of three intermediate line links 1,2,3.Switch A is connected by aggregated links with switch b, and the two ends of aggregated links are provided with fiber optical transceiver, and intermediate line link adopts Optical Fiber Transmission, for receiving and send the data that switch transmits.The port that intermediate line link 1,2,3 correspondence connects switch A is respectively A1, A2, A3, and the corresponding port connecting switch b is respectively B1, B2, B3.
The present embodiment is described for switch b as data sending terminal, when the intermediate line link 1 in aggregated links breaks down, because the link disconnected does not have and switchboard direct connection (being connected on fiber optical transceiver or other transmission equipments), switch b and switch A can not perceive link failure, so switch b continues each port that message connects from aggregated links respectively to divide to send out, the port A1 of switch A does not but receive flow.In order to address this problem, a kind of aggregated links open circuit of the present embodiment recovers the method for transmission, and be applied to the switch device in network, specific implementation flow process as shown in Figure 2, comprising:
F1, perceive the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages.
In the present embodiment, when the intermediate line link 1 in aggregated links breaks down, suppose the intermediate line link 2 of aggregated links, 3 is normal, switch A port A2, A3 still normally can receive the flow that switch b is sent, because intermediate line link 1 disconnects, switch A port A1 can not receive flow, so traffic statistics can drop sharply to zero instantaneously, switch A perceives extremely, other port flow statistics of collecting in the aggregated links at abnormal A1 place is compared, if the data traffic on port A2 and port A3 is non-full zero, section ports has in flowspec aggregated links has intermediate line link to break down disconnection, therefore, trigger switch A at once from each port (A1 corresponding to aggregated links, A2, A3) externally detection messages is sent, the object of switch A transmission detection messages is used to detect which intermediate line link concrete in aggregated links according to the response of switch b and breaks down.
The detection messages that F2, reception aggregated links correspondent network switch send, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded.
For switch b, intermediate line link 2,3 is normal, and therefore port B2, B3 of switch b are upper can receive selfing and to change planes the detection messages of A transmission, and because intermediate line link 1 disconnects, then the port B1 on switch b does not receive detection messages.Switch b, after receiving the detection messages from switch A, can detect self and whether send detection messages, and each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages.Switch b does not send detection messages, need outwards to send detection messages from each port (B1, B2, B3) that aggregated links is corresponding, the object of switch b transmission detection messages is used to detect which intermediate line link concrete in aggregated links according to the response exchanging A and breaks down.
And port B2, B3 of switch b, after the detection messages receiving switch A transmission, send response message by port B2, the B3 receiving detection messages to switch A.
And switch A is after receiving the detection messages that switch b sends, can detect self whether to have sent detection messages, because switch A had sent detection messages, therefore directly send response message and the detection messages received is responded.
It should be noted that, switch b is after receiving detection messages, also need outwards to send detection messages from each port aggregated links, and switch A is after receiving detection messages, do not need to send detection messages again on the port that switch A belongs to aggregated links, only need to send response message.Therefore the present embodiment is after switch receives detection messages, also need to detect and self whether sent detection messages and determine whether outwards sending detection messages from each port aggregated links, present embodiments provide two kinds of implementations and process respectively:
The first implementation, switch transmission detection messages after, record send mark corresponding to detection messages.Then receive the detection messages of peer switches transmission at switch after, the mark whether having had the detection messages of transmission corresponding can be searched in the record of storage, if had, illustrate that this switch sent detection messages, not need again to send; If not, illustrate that this switch did not send detection messages, need outwards to send detection messages from each port aggregated links.
Such as switch A is after transmission detection messages, and the mark that record detection messages is corresponding, this mark can be the detection messages mark Req in message in payload field, and also can be a character of setting, after transmission detection messages, be its assignment.When it receives the detection messages of switch b transmission, the mark that the detection messages of record is corresponding can be found in the record stored, then judge self to send detection messages, no longer send detection messages; And switch b is when receiving the detection messages that switch A sends, searches in the record stored less than mark corresponding to the detection messages of record, then needing outwards to send detection messages from each port aggregated links.
When detecting self in like fashion and whether having sent detection messages, after reception response message judges fault, the mark that the detection messages needing removing to record is corresponding, so that detection when again running into fault, or after running into fault next time, first remove mark corresponding to the detection messages that records, then when sending detection messages, again record mark corresponding to detection messages, also periodically can remove mark corresponding to recorded detection messages.
The second implementation, after switch sent detection messages, can receive the response message that the other side's switch returns, and therefore can judge whether self sent detection messages according to whether receiving response message.
When switch b receives the detection messages from switch A, because switch b does not also send detection messages, therefore switch b does not receive response message, now switch b needs outwards to send detection messages from each port aggregated links, and responds the detection messages from switch A received; Switch A is when receiving the detection messages from switch b, because switch A also have received the response message from switch b, therefore no longer need outwards to send detection messages from each port aggregated links, directly the detection messages from switch b is responded, send response message.
Which switch A needs just can judge after receiving response message, when network delay causes response message receive delay, easily cause repeating to send detection messages, therefore the present invention preferentially realizes detecting self by the first implementation and whether sent detection messages.
The present invention can also realize detecting self by other means and whether send detection messages, such as, when switch sends detection messages, carries the mark of the detection messages received and the mark of self detection messages.Namely switch b is when receiving the detection messages sent from switch A, the detection messages sent due to switch A does not carry the mark of switch b detection messages, then need to send detection messages on the port of oneself, and carry the mark of switch A detection messages and the mark of self switch b detection messages in the detection messages sent; Switch A, when receiving the detection messages from switch b, owing to it comprises the detection messages mark of switch b and switch A, then directly responds, repeats no more here.
F3, receive the response message that aggregated links correspondent network switch sends, the intermediate line link judging to receive the port of response message corresponding is normal, does not receive the intermediate line link fault that the port of response message is corresponding.
In switch A, port A2, A3 just can determine that intermediate line link 2,3 is normal link, and port A1 do not receive response message after receiving the response message that switch b sends, and judge that intermediate line link 1 breaks down disconnection.
In like manner, port B2, B3 of switch b just can determine that intermediate line link 2,3 is normal link, and port B1 do not receive response message after receiving the response message that switch A sends, and judge that intermediate line link 1 breaks down disconnection.
By two-way detection, which bar intermediate line link switch A and switch b are all aware of is broken down, thus can carry out follow-up data exchange, is carried by the data exchange that fault intermediate line link corresponding ports sends to normal intermediate line link.
F4, by fault intermediate line link corresponding ports send data exchange carry to normal intermediate line link.
By above-mentioned two-way detection, switch A and switch b can be made all can accurately to detect the intermediate line link of normal intermediate line link in aggregated links and disconnection.By re-starting Hash operation to the data of transmission, to fix a breakdown disconnecting link, make switch A and switch b to need the data carrying out transmitting all carried by normal intermediate line link, realize the fault disconnecting link found fast in aggregated links, and when no user intervention, data are switched in aggregated links fast and carry in normal link.
Particularly, the response message that switch A is receiving switch b and sends, confirm that the intermediate line link 1 that port A1 is corresponding has fault, switch A re-starts Hash operation (the port A1 that eliminating is broken down) to the message on link normal port A2, A3, and message is switched to very soon on normal link 2,3 and forwards.Switch b receives the response message that switch A is sent, confirm that the intermediate line link 1 that port B1 link is corresponding breaks down, switch b re-starts Hash operation to the message on link normal port B2, B3, and message is switched to very soon on normal intermediate line link 2,3 and forwards.Now, all messages are all switched on normal intermediate line link and transmit, and achieve the fast transferring of flow, and without the need to user intervention.
As shown in Figure 3, the detection messages of the present embodiment and response message are privately owned message, and message comprises target MAC (Media Access Control) address field (DMA), source MAC field (SMA) and payload field (Payload).Wherein target MAC (Media Access Control) address field comprises the MAC Address that this message sends object switch, uses privately owned message multicast address 0x018c2000001 in the present embodiment; Source MAC field comprises the switch A MC address sending this message; Payload field comprises flag bit Break, detection messages mark Req and response message mark Rep, represents respectively by a byte.
Wherein, flag bit Break is used for identifying the privately owned message that this message is the present embodiment, and switch by distinguishing mark position, can confirm that whether this message is the privately owned message of the present embodiment.And detection messages mark Req and response message mark Rep represents that this message is detection messages or response message respectively, a pair detection messages is identical with the mark of response message.The detection messages that such as switch A sends comprises Req, and its value is 1234, then switch b is after receiving this detection messages, responds it, and response message comprises Rep, and its value is also 1234; And the detection messages that switch b sends comprises Req, and its value is 1235, then switch A is after receiving this detection messages, responds it, and response message comprises Rep, and its value is also 1235.Therefore switch is by identifying flag bit, the message can differentiating reception is the privately owned message of the present embodiment or common message, such as Break is 1 judgement is privately owned message, after being identified as privately owned message, further identification Req and Rep byte, judgement is detection messages or response message, can also judge that whether the response message received is the response of sent detection messages according to the value of Req and Rep byte.
Based on foregoing invention method, a kind of aggregated link failures of the present embodiment recovers the device of transmission, and be applied to the network switch, the port of this network switch is provided with aggregated links, and this device comprises:
Detection module, for perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages;
Respond module, for receiving the detection messages that aggregated links correspondent network switch sends, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded;
Judge module, for receiving the response message that aggregated links correspondent network switch sends, judging to receive intermediate line link corresponding to the port of response message normal, not receiving the intermediate line link fault that the port of response message is corresponding;
Recover module, for the judgement according to judge module, the data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.
Accordingly, the present embodiment detection module, when perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, performs following operation:
The flow perceiving aggregated links corresponding ports drops sharply to zero instantaneously, collect other port flow statisticss that the aggregated links at this port place is corresponding, if other port flows described are non-full zero, then judge have intermediate line link to there is fault in described aggregated links.
Accordingly, after each port that detection module is subordinated to this aggregated links externally sends detection messages, also record send mark corresponding to detection messages;
Then respond module was when whether detection self had sent detection messages, performed and operated as follows:
Search in the record of storage the mark whether having had detection messages corresponding, if had, judge that self sent detection messages, otherwise judge that self did not send detection messages.
Accordingly, judge module, after receiving the response message that aggregated links correspondent network switch sends, also removes the mark that the transmission detection messages that records is corresponding.
It is easily understood that according to response message, detection module can also judge whether switch sent detection messages, repeated no more here.
Above embodiment is only in order to illustrate technical scheme of the present invention but not to be limited; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection range that all should belong to the claim appended by the present invention.

Claims (10)

1. aggregated link failures recovers a method for transmission, and be applied to the network switch, the port of the described network switch is provided with aggregated links, it is characterized in that, described method comprises:
Perceive the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages;
Receive the detection messages that aggregated links correspondent network switch sends, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded;
Receive the response message that aggregated links correspondent network switch sends, the intermediate line link judging to receive the port of response message corresponding is normal, does not receive the intermediate line link fault that the port of response message is corresponding;
The data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.
2. method according to claim 1, is characterized in that, the described traffic statistics according to aggregated links corresponding ports perceive the fault of intermediate line link in aggregated links, comprising:
The flow perceiving aggregated links corresponding ports drops sharply to zero instantaneously, collect other port flow statisticss that the aggregated links at this port place is corresponding, if other port flows described are non-full zero, then judge have intermediate line link to there is fault in described aggregated links.
3. method according to claim 1, is characterized in that, described in be subordinated to this aggregated links each port externally send detection messages after, also comprise step:
Record send mark corresponding to detection messages;
Whether described detection self sent detection messages, comprising:
Search in the record of storage the mark whether having had detection messages corresponding, if had, judge that self sent detection messages, otherwise judge that self did not send detection messages.
4. method according to claim 3, is characterized in that, after the response message that described reception aggregated links correspondent network switch sends, also comprises step:
Remove the mark that the transmission detection messages that records is corresponding.
5. method according to claim 1, it is characterized in that, described detection messages and response message are privately owned message, described privately owned message comprises and comprises target MAC (Media Access Control) address field, source MAC field and payload field, described payload field comprises flag bit Break, detection messages mark Req and response message mark Rep, by flag bit Break, detection messages mark Req and response message mark Rep, the described network switch identifies that received message is detection messages or response message.
6. aggregated link failures recovers a device for transmission, and be applied to the network switch, the port of the described network switch is provided with aggregated links, it is characterized in that, described device comprises:
Detection module, for perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, each port being subordinated to this aggregated links externally sends detection messages;
Respond module, for receiving the detection messages that aggregated links correspondent network switch sends, detect self and whether send detection messages, the each port being subordinated to this aggregated links when self also not sending detection messages externally sends detection messages, and send response message the detection messages received is responded, otherwise directly send response message the detection messages received is responded;
Judge module, for receiving the response message that aggregated links correspondent network switch sends, judging to receive intermediate line link corresponding to the port of response message normal, not receiving the intermediate line link fault that the port of response message is corresponding;
Recover module, for the judgement according to judge module, the data exchange that fault intermediate line link corresponding ports sends is carried to normal intermediate line link.
7. device according to claim 6, is characterized in that, described detection module, when perceiving the fault of intermediate line link in aggregated links according to the traffic statistics of aggregated links corresponding ports, performs following operation:
The flow perceiving aggregated links corresponding ports drops sharply to zero instantaneously, collect other port flow statisticss that the aggregated links at this port place is corresponding, if other port flows described are non-full zero, then judge have intermediate line link to there is fault in described aggregated links.
8. device according to claim 6, is characterized in that, after each port that described detection module is subordinated to this aggregated links externally sends detection messages, also record send mark corresponding to detection messages;
Described respond module, when whether detection self had sent detection messages, performs and operates as follows:
Search in the record of storage the mark whether having had detection messages corresponding, if had, judge that self sent detection messages, otherwise judge that self did not send detection messages.
9. device according to claim 8, is characterized in that, described judge module, after receiving the response message that aggregated links correspondent network switch sends, also removes the mark that the transmission detection messages that records is corresponding.
10. device according to claim 6, it is characterized in that, described detection messages and response message are privately owned message, described privately owned message comprises and comprises target MAC (Media Access Control) address field, source MAC field and payload field, described payload field comprises flag bit Break, detection messages mark Req and response message mark Rep, by flag bit Break, detection messages mark Req and response message mark Rep, the described network switch identifies that received message is detection messages or response message.
CN201510563197.4A 2015-09-07 2015-09-07 A kind of aggregated link failures restore the method and device of transmission Active CN105227456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510563197.4A CN105227456B (en) 2015-09-07 2015-09-07 A kind of aggregated link failures restore the method and device of transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510563197.4A CN105227456B (en) 2015-09-07 2015-09-07 A kind of aggregated link failures restore the method and device of transmission

Publications (2)

Publication Number Publication Date
CN105227456A true CN105227456A (en) 2016-01-06
CN105227456B CN105227456B (en) 2019-03-08

Family

ID=54996159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510563197.4A Active CN105227456B (en) 2015-09-07 2015-09-07 A kind of aggregated link failures restore the method and device of transmission

Country Status (1)

Country Link
CN (1) CN105227456B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026790A (en) * 2016-01-30 2017-08-08 华为技术有限公司 A kind of transmission control method and equipment
CN108632099A (en) * 2018-05-18 2018-10-09 新华三技术有限公司 A kind of fault detection method and device of link aggregation
WO2019007431A1 (en) * 2017-07-07 2019-01-10 中兴通讯股份有限公司 Fault notification and acquisition method and apparatus for flexible ethernet, and communication device
CN109218179A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 Load sharing method and device, interchanger and computer readable storage medium
CN111817955A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment
CN112637010A (en) * 2020-12-17 2021-04-09 深圳前海微众银行股份有限公司 Equipment checking method and device
CN115333994A (en) * 2022-08-01 2022-11-11 北京金山云网络技术有限公司 Method and device for realizing VPN route rapid convergence and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016624A1 (en) * 1998-05-04 2003-01-23 Bare Ballard C. Path recovery on failure in load balancing switch protocols
CN101425942A (en) * 2008-12-09 2009-05-06 华为技术有限公司 Method, apparatus and system for bidirectional forwarding detection implementation
CN101729296A (en) * 2009-12-29 2010-06-09 中兴通讯股份有限公司 Method and system for statistical analysis of ethernet traffic
CN101800682A (en) * 2010-03-29 2010-08-11 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and device
CN102271048A (en) * 2010-06-02 2011-12-07 中兴通讯股份有限公司 Method and device for protecting services of aggregated link
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030016624A1 (en) * 1998-05-04 2003-01-23 Bare Ballard C. Path recovery on failure in load balancing switch protocols
CN101425942A (en) * 2008-12-09 2009-05-06 华为技术有限公司 Method, apparatus and system for bidirectional forwarding detection implementation
CN101729296A (en) * 2009-12-29 2010-06-09 中兴通讯股份有限公司 Method and system for statistical analysis of ethernet traffic
CN101800682A (en) * 2010-03-29 2010-08-11 中兴通讯股份有限公司 Bidirectional forwarding detection (BFD) method and device
CN102271048A (en) * 2010-06-02 2011-12-07 中兴通讯股份有限公司 Method and device for protecting services of aggregated link
CN102355364A (en) * 2011-08-15 2012-02-15 杭州华三通信技术有限公司 Method and device for detecting one-way fault

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107026790A (en) * 2016-01-30 2017-08-08 华为技术有限公司 A kind of transmission control method and equipment
CN107026790B (en) * 2016-01-30 2019-06-28 华为技术有限公司 A kind of transmission control method and equipment
WO2019007431A1 (en) * 2017-07-07 2019-01-10 中兴通讯股份有限公司 Fault notification and acquisition method and apparatus for flexible ethernet, and communication device
CN109218179A (en) * 2017-07-07 2019-01-15 中兴通讯股份有限公司 Load sharing method and device, interchanger and computer readable storage medium
CN108632099A (en) * 2018-05-18 2018-10-09 新华三技术有限公司 A kind of fault detection method and device of link aggregation
CN108632099B (en) * 2018-05-18 2021-09-21 新华三技术有限公司 Fault detection method and device for link aggregation
CN111817955A (en) * 2019-04-12 2020-10-23 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment
CN112637010A (en) * 2020-12-17 2021-04-09 深圳前海微众银行股份有限公司 Equipment checking method and device
CN115333994A (en) * 2022-08-01 2022-11-11 北京金山云网络技术有限公司 Method and device for realizing VPN route rapid convergence and electronic equipment
CN115333994B (en) * 2022-08-01 2024-05-31 北京金山云网络技术有限公司 Method and device for realizing VPN route rapid convergence and electronic equipment

Also Published As

Publication number Publication date
CN105227456B (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN105227456A (en) A kind of aggregated link failures recovers method and the device of transmission
EP2720407B1 (en) Fault processing method, aggregation node and optical network protection system
JP4835422B2 (en) Network device and communication system
CN102281199B (en) Route equipment, route reflector and route information processing method and system
US9628324B2 (en) Openflow switch and failure recovery method in openflow network
AU2014385716B2 (en) Link switching method, device, and system
CN101895437B (en) Method and equipment of distributed bidirectional forwarding detection (BFD)
CN105024836B (en) Method and device for switching primary Service Router (SR) and standby SR and SR
US20100165997A1 (en) Path switching method, communication system, communication device, and program
US10009137B2 (en) Optical communication system, station-side device, subscriber device, and optical communication method
KR20150007623A (en) Method and appratus for protection switching in packet transport system
CN104025511A (en) Service protection method, optical line terminal and system in passive optical network
WO2011134295A1 (en) Method and device for converging layer 2 multicast network
CN100561954C (en) Method, system and the equipment of control detection of connectivity
CN103036724B (en) State information transmission method, the network equipment and unit equipment
EP2479926A1 (en) Method and device for backing up user information
CN110661705A (en) Hardware network switching engine and network fault processing system and method
CN104602285B (en) A kind of disaster recovery method and equipment
CN104253747A (en) Transmission method and transmission device for performing 1: 1 protection on message in link aggregation group
CN102739430B (en) Method and system for realizing Ethernet protection switching
CN102932497B (en) Method, device and system for obtaining internet protocol address
CN103647709A (en) ARP form item establishing method and device
CN104581796A (en) Sending method of M2M application request, CSE and system
CN102014033B (en) Method and system for restoring services of fault nodes in ring network
JP5588548B1 (en) Optical access network system and transmission path switching method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant