CN107026790B - A kind of transmission control method and equipment - Google Patents

A kind of transmission control method and equipment Download PDF

Info

Publication number
CN107026790B
CN107026790B CN201610071144.5A CN201610071144A CN107026790B CN 107026790 B CN107026790 B CN 107026790B CN 201610071144 A CN201610071144 A CN 201610071144A CN 107026790 B CN107026790 B CN 107026790B
Authority
CN
China
Prior art keywords
equipment
destination mark
mark
destination
table item
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
CN201610071144.5A
Other languages
Chinese (zh)
Other versions
CN107026790A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610071144.5A priority Critical patent/CN107026790B/en
Priority to PCT/CN2016/111934 priority patent/WO2017128901A1/en
Publication of CN107026790A publication Critical patent/CN107026790A/en
Application granted granted Critical
Publication of CN107026790B publication Critical patent/CN107026790B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

The embodiment of the invention discloses a kind of transmission control method and equipment, wherein method includes: after the failure Member Link fault recovery of the first equipment confirmation aggregated links, first equipment generates the first detection messages for carrying the first destination mark, and sends the first detection messages to the second equipment by failure Member Link;If the first equipment receives the first response message recovered with the associated forwarding-table item of the first destination mark in the second equipment that is used to indicate that the second equipment responds the return of the first detection messages, failure Member Link is determined as the link for allowing to send the first data message including the first destination mark by the first equipment.As it can be seen that avoiding after data message reaches the second equipment and being lost by implementing the embodiment of the present invention.

Description

A kind of transmission control method and equipment
Technical field
The present invention relates to field of communication technology more particularly to a kind of transmission control method and equipment.
Background technique
Aggregated links be by physically separate multilink bundling together, formed a data forwarding logical links.Fig. 1 It is a kind of schematic diagram of existing link aggregation, as shown in Figure 1, physical link 1, physical link 2 and physical link 3 are bundled in one It rises and forms an equipment A to the logical links of equipment B, i.e. aggregated links;Wherein, physical link 1, physical link 2 and physics chain Road 3 is the Member Link of aggregated links.
Aggregated links can enhance the reliability of link connection, when a certain Member Link of aggregated links breaks down, Data message on the Member Link can be switched on other Member Links of aggregated links and be transmitted, and avoid single object Reason link causes the unavailable of network because of the failure of link.For example, as shown in Figure 1, if equipment A is upstream equipment, equipment B For upstream device, when the 1 place interface board of member interface of equipment B breaks down, equipment A determines that physical link 1 breaks down, Equipment A the data message on physical link 1 can be switched to physical link 2 or physical link 3 transmits.When member interface 1 When the fault recovery of place interface board, equipment A determines the fault recovery of physical link 1, and equipment A is again by data message switchback to object Reason link 1 is transmitted.
However in practice, it has been found that when 1 place interface board of member interface breaks down, 1 place interface board of member interface The forwarding-table item of storage can be lost.After the fault recovery of 1 place interface board of member interface, equipment A is by data message Switchback to physical link 1 is transmitted, and data message reaches the case where equipment B is dropped later frequent occurrence.
Summary of the invention
The embodiment of the invention discloses a kind of transmission control method and equipment, it is able to solve and data message is being switched into event Barrier restore Member Link transmitted after, data message lose the problem of.
First aspect of the embodiment of the present invention discloses a kind of transmission control method, which comprises
After the failure Member Link fault recovery of the first equipment confirmation aggregated links, first equipment generates first Detection messages, first detection messages carry the first destination mark, and first destination mark is first equipment The destination mark corresponding with the aggregation interface of aggregated links mark of storage, first destination mark are used to indicate The transmission destination of first data message;
First equipment sends first detection messages to the second equipment by the failure Member Link;
If first equipment receives second equipment and responds the first response report that first detection messages return Text, then the failure Member Link is determined as allowing to send the link of first data message by first equipment, wherein First response message is used to indicate in second equipment with the associated forwarding-table item of the first destination mark Restore, first data message includes first destination mark.In this way by the second equipment send detection messages come Whether the forwarding-table item for detecting the second device losses has restored, and after the forwarding-table item for detecting the second equipment restores, Allowing failure Member Link to send to the second equipment includes the datagram of target destination mark in the forwarding-table item that has restored Text is lost after reaching the second equipment so as to avoid data message.
In the first possible implementation of first aspect of the embodiment of the present invention, first detection messages are also carried First service feature, first service feature are the business corresponding with aggregation interface mark of first equipment storage Feature, first destination mark are the special with aggregation interface mark and first business of first equipment storage Corresponding destination mark is levied, first response message is used to indicate the terrestrial reference in second equipment with first mesh Know and the associated forwarding-table item of first service feature is recovered, the service feature of first data message belongs to institute State the first service feature.In this way under the scene that the first equipment sends datagram according to service feature, it can avoid in failure After Member Link fault recovery, by the failure Member Link therefore sends datagram and reach what the second equipment was dropped later It happens.
In conjunction with the possible implementation of the first of first aspect of the embodiment of the present invention or first aspect, implement in the present invention It is extensive in the failure Member Link failure of the first equipment confirmation aggregated links in second of possible implementation of example first aspect After multiple, the method also includes:
First equipment generates the second detection messages, and second detection messages carry the second destination mark, described Second destination mark is the purpose terrestrial reference corresponding with the aggregation interface of aggregated links mark of first equipment storage Know, second destination mark is used to indicate the transmission destination of the second data message, second destination mark and institute It is not identical to state the first destination mark;
First equipment sends second detection messages to the second equipment by the failure Member Link;
The method also includes:
If first equipment receives second equipment and responds the second response report that second detection messages return Text, then the failure Member Link is determined as not allowing to send the link of second data message by first equipment, In, second response message is used to indicate in second equipment with the associated forwarding-table item of the second destination mark not Restore, second data message includes second destination mark;Alternatively,
If first equipment does not receive second equipment within a preset period of time and responds second detection messages The third response message of return, then the failure Member Link is determined as not allowing to send second number by first equipment According to the link of message, wherein the third response message is used to indicate in second equipment and second destination mark Associated forwarding-table item is recovered, and second data message includes second destination mark.Detecting in this way After the forwarding-table item of two equipment restores, just allowing failure Member Link to send to the second equipment includes the forwarding-table item restored In target destination mark data message, so as to avoid data message reach the second equipment after be lost.
In conjunction with second of possible implementation of first aspect of the embodiment of the present invention, in first aspect of the embodiment of the present invention The third possible implementation in, second detection messages also carry the second service feature, second service feature For the service feature corresponding with aggregation interface mark of first equipment storage, second destination mark is described First equipment storage with the aggregation interface mark and the corresponding destination mark of second service feature, described second Response message is used to indicate in second equipment associated with second destination mark and second service feature Forwarding-table item does not restore, and the third response message is used to indicate in second equipment and second destination mark and institute It states the associated forwarding-table item of the second service feature to have restored, the service feature of second data message belongs to second industry Business feature.In this way under the scene that the first equipment sends datagram according to service feature, it can avoid in failure Member Link After fault recovery, by the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later hair It is raw.
Second aspect of the embodiment of the present invention discloses a kind of transmission control method, which comprises
After the failure Member Link fault recovery of the first equipment confirmation aggregated links, first equipment is from described the Sampling obtains N number of purpose in the destination mark set corresponding with the aggregation interface of aggregated links mark of one equipment storage Ground mark, wherein the destination mark is used to indicate the transmission destination of data message, and the N is whole more than or equal to 2 Number;
First equipment generates N number of detection messages, any one detection messages in N number of detection messages carry State any one destination mark in N number of destination mark, and N number of detection messages and N number of destination mark one One is corresponding;
First equipment sends N number of detection messages to the second equipment by the failure Member Link;
If first equipment receives second equipment and responds N number of response message that N number of detection messages return, N number of response message and N number of detection messages correspond, then first equipment determines the failure Member Link For the link for allowing to send the corresponding data message of each destination mark in the destination mark set, wherein described The corresponding data message of each destination mark is the data message for including the destination mark, and N number of response message is used for It indicates recovered with N number of associated forwarding-table item of destination mark in second equipment.It can greatly reduce in this way The workload of second equipment, and can quickly determine the second equipment storage with each destination mark in destination mark set Know whether associated forwarding-table item has restored, and leads to and can avoid passing through the failure after failure Member Link fault recovery Member Link, which sends datagram, reaches the case where the second equipment is dropped later.
It is every in N number of detection messages in the first possible implementation of second aspect of the embodiment of the present invention A detection messages also carry service feature, the service feature be first equipment storage with aggregation interface mark pair The service feature answered, each destination in the destination mark set be identified as with the service feature and it is described polymerize connect Mouth identifies corresponding destination mark, and N number of response message is used to indicate in second equipment and N number of destination Mark and the associated forwarding-table item of the service feature are recovered, and the corresponding data message of each destination mark is Belong to the data message of the service feature.In this way under the scene that the first equipment sends datagram according to service feature, It can avoid after failure Member Link fault recovery, by the failure Member Link therefore send datagram and reach the second equipment The case where being dropped later.
In second of possible implementation of second aspect of the embodiment of the present invention, the N and the destination mark The total quantity of destination mark in set is positively correlated.It is dynamically adjusted the quantity of sampling destination mark in this way, works as purpose When the total quantity of destination mark in ground logo collection is bigger, samples more destination marks and detected, it in this way can be more Accurately determine the second device losses with the associated forwarding-table item of each destination mark in destination mark set whether Restore.
The third aspect of the embodiment of the present invention discloses a kind of transmission control method, which comprises
Second equipment receives the first detection messages that the first equipment is sent by the failure Member Link of aggregated links, described First detection messages carry the first destination mark, and first destination mark is gathering with described for first equipment storage The aggregation interface for closing link identifies corresponding destination mark, and first destination mark is used to indicate the first data message Send destination;
Second equipment is stored according to the first destination mark in first detection messages in second equipment Forwarding-table item in search whether exist and the associated forwarding-table item of the first destination mark;
If exist in the forwarding-table item of second equipment storage with the associated forwarding-table item of the first destination mark, Then second equipment sends the first response message to first equipment, to trigger first equipment for the failure member Link is determined as allowing to send the link of first data message, and first response message is used to indicate second equipment In it is recovered with the associated forwarding-table item of the first destination mark, first data message includes first purpose Ground mark.In this way after the forwarding-table item for detecting the second equipment restores, just failure Member Link is allowed to send out to the second equipment The data message including the target destination mark in the forwarding-table item that has restored is sent, reaches second so as to avoid data message It is lost after equipment.
In the first possible implementation of the third aspect of the embodiment of the present invention, first detection messages are also carried First service feature, first service feature are the aggregation interface mark with the aggregated links that first equipment stores Corresponding service feature, first destination mark be first equipment storage with the aggregation interface mark and it is described The corresponding destination mark of first service feature, first response message are used to indicate in second equipment and described One destination mark and the associated forwarding-table item of first service feature are recovered, the business of first data message Feature belongs to first service feature;
Second equipment is stored according to the first destination mark in first detection messages in second equipment Forwarding-table item in search whether exist and the associated forwarding-table item of the first destination mark, comprising:
Second equipment is according to the first destination mark and the first service feature in first detection messages, in institute It states and searches whether exist and first destination mark and first service feature in the forwarding-table item of the second equipment storage Associated forwarding-table item;
If existing and the associated forwarding of the first destination mark in the forwarding-table item of the second equipment storage List item, then second equipment sends the first response message to first equipment, comprising:
If existing and first destination mark and first business in the forwarding-table item of the second equipment storage The associated forwarding-table item of feature, then second equipment sends the first response message to first equipment.In this way first Under the scene that equipment sends datagram according to service feature, it can avoid passing through after failure Member Link fault recovery The failure Member Link thus send datagram reach the second equipment after the case where being dropped.
In conjunction with the possible implementation of the first of the third aspect of the embodiment of the present invention or the third aspect, implement in the present invention In second of possible implementation of the example third aspect, the method also includes:
Second equipment receives the second detection messages that the first equipment is sent by the failure Member Link of aggregated links, described Second detection messages carry the second destination mark, and second destination mark is gathering with described for first equipment storage The aggregation interface for closing link identifies corresponding destination mark, and second destination mark is used to indicate the second data message Destination is sent, second destination mark and first destination mark be not identical;
Second equipment is stored according to the second destination mark in second detection messages in second equipment Forwarding-table item in search whether exist and the associated forwarding-table item of the second destination mark;
If being not present and the associated forwarding table of the second destination mark in the forwarding-table item of the second equipment storage , then second equipment sends the second response message to first equipment, to trigger first equipment for the failure Member Link is determined as not allowing to send the link of second data message, and second response message is used to indicate described Do not restore in two equipment with the associated forwarding-table item of the second destination mark, second data message includes described second Destination mark.In this way after the forwarding-table item for detecting the second equipment restores, just failure Member Link is allowed to set to second Preparation send the data message including the target destination mark in the forwarding-table item that has restored, so as to avoid data message arrival It is lost after second equipment.
In conjunction with second of possible implementation of the third aspect of the embodiment of the present invention, in the third aspect of the embodiment of the present invention The third possible implementation in, second detection messages also carry the second service feature, second service feature For the service feature corresponding with the aggregation interface of aggregated links mark of first equipment storage, second destination Be identified as first equipment storage with aggregation interface mark and the corresponding purpose terrestrial reference of second service feature Know, second response message is used to indicate in second equipment special with second destination mark and second business It levies associated forwarding-table item not restore, the service feature of second data message belongs to second service feature;
Second equipment is stored according to the second destination mark in second detection messages in second equipment Forwarding-table item in search whether exist and the associated forwarding-table item of the second destination mark, comprising:
Second equipment is according to the second destination mark and the second service feature in second detection messages, in institute It states and searches whether exist and second destination mark and second service feature in the forwarding-table item of the second equipment storage Associated forwarding-table item;
If being not present and associated turn of second destination mark in the forwarding-table item of the second equipment storage Forwarding list item, then second equipment sends the second response message to first equipment, comprising:
If being not present and second destination mark and second industry in the forwarding-table item of the second equipment storage The business associated forwarding-table item of feature, then second equipment sends the second response message to first equipment.In this way It under the scene that one equipment sends datagram according to service feature, can avoid after failure Member Link fault recovery, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Fourth aspect of the embodiment of the present invention discloses a kind of transmission control method, which comprises
Second equipment receives N number of detection messages that the first equipment is sent by the failure Member Link of aggregated links, wherein Any one detection messages in N number of detection messages carry any one destination mark in N number of destination mark, and N number of detection messages and the N number of destination mark correspond, N number of destination mark be first equipment from It samples and obtains in the destination mark set corresponding with the aggregation interface of aggregated links mark of the first equipment storage , the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
Second equipment is deposited according to N number of destination mark in N number of detection messages in second equipment Search whether exist and each of the N number of destination mark associated forwarding table of destination mark in the forwarding-table item of storage ?;
If it exists with each of N number of destination mark associated forwarding-table item of destination mark, then described Two equipment return to N number of response message to first equipment, are determined with triggering first equipment for the failure Member Link For the link for allowing to send the corresponding data message of each destination mark in the destination mark set, wherein described The corresponding data message of each destination mark is the data message for including the destination mark, N number of response message and institute It states N number of detection messages to correspond, N number of response message is used to indicate in second equipment and N number of purpose terrestrial reference Know associated forwarding-table item to have restored.The workload of the second equipment can be greatly reduced in this way, and can quickly determine second Equipment storage identifies whether associated forwarding-table item has restored with each destination in destination mark set, and leading to can It avoids after failure Member Link fault recovery, is sent datagram after reaching the second equipment by the failure Member Link The case where being dropped.
It is every in N number of detection messages in the first possible implementation of fourth aspect of the embodiment of the present invention A detection messages also carry service feature, the service feature be first equipment storage with aggregation interface mark pair The service feature answered, each destination in the destination mark set be identified as with the service feature and it is described polymerize connect Mouth identifies corresponding destination mark, and N number of response message is used to indicate in second equipment and N number of destination Mark and the associated forwarding-table item of the service feature have restored, and the corresponding data message of each destination mark is Belong to the data message of the service feature;
Second equipment is deposited according to N number of destination mark in N number of detection messages in second equipment Search whether exist and each of the N number of destination mark associated forwarding table of destination mark in the forwarding-table item of storage , comprising:
Second equipment according in N number of detection messages the service feature and N number of destination mark, Second equipment storage with search whether to exist in the associated forwarding-table item of the service feature and N number of purpose terrestrial reference Each of the knowledge associated forwarding-table item of destination mark;
If it exists with each of N number of destination mark associated forwarding-table item of destination mark, then described Two equipment return to N number of response message to first equipment, comprising:
If with existing in the associated forwarding-table item of the service feature and each of N number of destination mark purpose Ground identifies associated forwarding-table item, then second equipment returns to N number of response message to first equipment.It is set in this way first Under the standby scene to be sent datagram according to service feature, it can avoid after failure Member Link fault recovery, by this Failure Member Link thus send datagram reach the second equipment after the case where being dropped.
In second of possible implementation of fourth aspect of the embodiment of the present invention, the N and the destination mark The total quantity of destination mark in set is positively correlated.It is dynamically adjusted the quantity of sampling destination mark in this way, works as purpose When the total quantity of destination mark in ground logo collection is bigger, samples more destination marks and detected, it in this way can be more Accurately determine the second device losses with the associated forwarding-table item of each destination mark in destination mark set whether Restore.
The 5th aspect of the embodiment of the present invention discloses a kind of first equipment, and first equipment includes:
Generation module, for after the failure Member Link fault recovery of confirmation aggregated links, generating the first detection report Text, first detection messages carry the first destination mark, and first destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, first destination mark are used to indicate the first number According to the transmission destination of message;
Sending module, for sending first detection messages to the second equipment by the failure Member Link;
Determining module, for working as the first response report for receiving second equipment and responding the first detection messages return The failure Member Link is determined as allowing to send the link of first data message, wherein first response by Wen Shi Message be used to indicate in second equipment it is recovered with the associated forwarding-table item of the first destination mark, described first Data message includes first destination mark.It is lost in this way by sending detection messages to the second equipment to detect the second equipment Whether the forwarding-table item of mistake has restored, and after the forwarding-table item for detecting the second equipment restores, just allows failure member chain The transmission of the second equipment of road direction includes the data message of the target destination mark in the forwarding-table item restored, so as to avoid number It is lost after reaching the second equipment according to message.
In the first possible implementation of the 5th aspect of the embodiment of the present invention, first detection messages are also carried First service feature, first service feature are the business corresponding with aggregation interface mark of first equipment storage Feature, first destination mark are the special with aggregation interface mark and first business of first equipment storage Corresponding destination mark is levied, first response message is used to indicate the terrestrial reference in second equipment with first mesh Know and the associated forwarding-table item of first service feature is recovered, the service feature of first data message belongs to institute State the first service feature.In this way under the scene that the first equipment sends datagram according to service feature, it can avoid in failure After Member Link fault recovery, by the failure Member Link therefore sends datagram and reach what the second equipment was dropped later It happens.
In conjunction with the first possible implementation of the 5th aspect of the embodiment of the present invention or the 5th aspect, implement in the present invention In second of possible implementation of the aspect of example the 5th, the generation module, be also used to failure in confirmation aggregated links at After member's link failure recovery, the second detection messages are generated, second detection messages carry the second destination mark, and described the Two destination marks are the destination mark corresponding with the aggregation interface of aggregated links mark of first equipment storage, Second destination mark is used to indicate the transmission destination of the second data message, second destination mark and described the One destination mark is not identical;
The sending module is also used to send the second detection report to the second equipment by the failure Member Link Text;
The determining module, is also used to:
When receiving second equipment and responding the second response message that second detection messages return, will it is described therefore Barrier Member Link is determined as not allowing to send the link of second data message, wherein second response message is for referring to Show in second equipment and do not restore with the associated forwarding-table item of the second destination mark, second data message includes Second destination mark;
Alternatively,
It is answered when not receiving second equipment within a preset period of time and responding the third that second detection messages return When answering message, the failure Member Link is determined as not allow to send the link of second data message, wherein described Three response messages are used to indicate in second equipment, institute recovered with the associated forwarding-table item of the second destination mark Stating the second data message includes second destination mark.In this way after the forwarding-table item for detecting the second equipment restores, Just allowing failure Member Link to send to the second equipment includes the data of target destination mark in the forwarding-table item that has restored Message is lost after reaching the second equipment so as to avoid data message.
In conjunction with second of possible implementation of the 5th aspect of the embodiment of the present invention, at the 5th aspect of the embodiment of the present invention The third possible implementation in, second detection messages also carry the second service feature, second service feature For the service feature corresponding with aggregation interface mark of first equipment storage, second destination mark is described First equipment storage with the aggregation interface mark and the corresponding destination mark of second service feature, described second Response message is used to indicate in second equipment associated with second destination mark and second service feature Forwarding-table item does not restore, and the third response message is used to indicate in second equipment and second destination mark and institute It states the associated forwarding-table item of the second service feature to have restored, the service feature of second data message belongs to second industry Business feature.In this way under the scene that the first equipment sends datagram according to service feature, it can avoid in failure Member Link After fault recovery, by the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later hair It is raw.
The 6th aspect of the embodiment of the present invention discloses a kind of first equipment, and first equipment includes:
Obtain module, for confirmation aggregated links failure Member Link fault recovery after, from first equipment Sampling obtains N number of purpose terrestrial reference in the destination mark set corresponding with the aggregation interface of aggregated links mark of storage Know, wherein the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
Generation module, for generating N number of detection messages, any one detection messages in N number of detection messages are carried Any one destination mark in N number of destination mark, and N number of detection messages and N number of destination mark It corresponds;
Sending module, for sending N number of detection messages to the second equipment by the failure Member Link;
Determining module, for working as the N number of response message for receiving second equipment and responding N number of detection messages return When, N number of response message and N number of detection messages correspond, and the failure Member Link is determined as allowing to send The link of the corresponding data message of each destination mark in the destination mark set, wherein each destination Identifying corresponding data message is the data message for including the destination mark, and N number of response message is used to indicate described It is recovered with N number of associated forwarding-table item of destination mark in two equipment.The second equipment can be greatly reduced in this way Workload, and can quickly determine the second equipment storage identify associated turn with each destination in destination mark set Whether forwarding list item has restored, and leads to and can avoid after failure Member Link fault recovery, passes through the failure Member Link and sends out The case where being dropped after sending data message to reach the second equipment.
It is every in N number of detection messages in the first possible implementation of the 6th aspect of the embodiment of the present invention A detection messages also carry service feature, the service feature be first equipment storage with aggregation interface mark pair The service feature answered, each destination in the destination mark set be identified as with the service feature and it is described polymerize connect Mouth identifies corresponding destination mark, and N number of response message is used to indicate in second equipment and N number of destination Mark and the associated forwarding-table item of the service feature are recovered, and the corresponding data message of each destination mark is Belong to the data message of the service feature.In this way under the scene that the first equipment sends datagram according to service feature, It can avoid after failure Member Link fault recovery, by the failure Member Link therefore send datagram and reach the second equipment The case where being dropped later.
In second of possible implementation of the 6th aspect of the embodiment of the present invention, the N and the destination mark The total quantity of destination mark in set is positively correlated.It is dynamically adjusted the quantity of sampling destination mark in this way, works as purpose When the total quantity of destination mark in ground logo collection is bigger, samples more destination marks and detected, it in this way can be more Accurately determine the second device losses with the associated forwarding-table item of each destination mark in destination mark set whether Restore.
The 7th aspect of the embodiment of the present invention discloses a kind of second equipment, and second equipment includes:
First receiving module receives the first detection that the first equipment is sent for the failure Member Link by aggregated links Message, first detection messages carry the first destination mark, and first destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, first destination mark is used to indicate first The transmission destination of data message;
First searching module, for being set described second according to the first destination mark in first detection messages Search whether exist and the associated forwarding-table item of the first destination mark in the forwarding-table item of standby storage;
First sending module, for when in the forwarding-table item that first searching module finds the second equipment storage When in the presence of forwarding-table item associated with first destination mark, the first equipment of Xiang Suoshu sends the first response message, with touching Sending out the first equipment described and being determined as the failure Member Link allows to send the link of first data message, and described first Response message be used to indicate in second equipment it is recovered with the associated forwarding-table item of the first destination mark, it is described First data message includes first destination mark.In this way after the forwarding-table item for detecting the second equipment restores, Allowing failure Member Link to send to the second equipment includes the datagram of target destination mark in the forwarding-table item that has restored Text is lost after reaching the second equipment so as to avoid data message.
In the first possible implementation of the 7th aspect of the embodiment of the present invention, first detection messages are also carried First service feature, first service feature are the aggregation interface mark with the aggregated links that first equipment stores Corresponding service feature, first destination mark be first equipment storage with the aggregation interface mark and it is described The corresponding destination mark of first service feature, first response message are used to indicate in second equipment and described One destination mark and the associated forwarding-table item of first service feature are recovered, the business of first data message Feature belongs to first service feature;
First searching module is specifically used for:
According to the first destination mark and the first service feature in first detection messages, deposited in second equipment Search whether exist and first destination mark and the associated forwarding of first service feature in the forwarding-table item of storage List item;
First sending module is specifically used for:
Exist and first mesh when in the forwarding-table item that first searching module finds the second equipment storage Ground mark and first service feature associated forwarding-table item when, then to first equipment send the first response report Text.In this way under the scene that the first equipment sends datagram according to service feature, it can avoid in failure Member Link failure After recovery, by the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
In conjunction with the first possible implementation of the 7th aspect of the embodiment of the present invention or the 7th aspect, implement in the present invention In second of possible implementation of the 7th aspect of example, second equipment further include:
Second receiving module receives the second detection that the first equipment is sent for the failure Member Link by aggregated links Message, second detection messages carry the second destination mark, and second destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, second destination mark is used to indicate second The transmission destination of data message, second destination mark and first destination mark be not identical;
Second searching module, for being set described second according to the second destination mark in second detection messages Search whether exist and the associated forwarding-table item of the second destination mark in the forwarding-table item of standby storage;
Second sending module, for when in the forwarding-table item that second searching module finds the second equipment storage There is no when forwarding-table item associated with second destination mark, the first equipment of Xiang Suoshu sends the second response message, with First equipment is triggered to be determined as the failure Member Link not allow to send the link of second data message, it is described Second response message is used to indicate in second equipment not to be restored with the associated forwarding-table item of the second destination mark, institute Stating the second data message includes second destination mark.In this way after the forwarding-table item for detecting the second equipment restores, Just allowing failure Member Link to send to the second equipment includes the data of target destination mark in the forwarding-table item that has restored Message is lost after reaching the second equipment so as to avoid data message.
In conjunction with second of possible implementation of the 7th aspect of the embodiment of the present invention, at the 7th aspect of the embodiment of the present invention The third possible implementation in, second detection messages also carry the second service feature, second service feature For the service feature corresponding with the aggregation interface of aggregated links mark of first equipment storage, second destination Be identified as first equipment storage with aggregation interface mark and the corresponding purpose terrestrial reference of second service feature Know, second response message is used to indicate in second equipment special with second destination mark and second business It levies associated forwarding-table item not restore, the service feature of second data message belongs to second service feature;
Second searching module is specifically used for:
According to the second destination mark and the second service feature in second detection messages, deposited in second equipment Search whether exist and second destination mark and the associated forwarding of second service feature in the forwarding-table item of storage List item;
Second sending module is specifically used for:
It is not present and described second when in the forwarding-table item that second searching module finds the second equipment storage Destination mark and second service feature associated forwarding-table item when, the first equipment of Xiang Suoshu sends the second response report Text.
Eighth aspect of the embodiment of the present invention discloses a kind of second equipment, and second equipment includes:
Receiving module receives N number of detection messages that the first equipment is sent for the failure Member Link by aggregated links, Wherein, any one detection messages in N number of detection messages carry any one purpose terrestrial reference in N number of destination mark Know, and N number of detection messages and N number of destination mark correspond, N number of destination mark is described first It is adopted in the destination mark set corresponding with the aggregation interface of aggregated links mark that equipment is stored from first equipment What sample obtained, the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
Searching module, for according to N number of destination mark in N number of detection messages, in second equipment Search whether exist and each of the N number of destination mark associated forwarding of destination mark in the forwarding-table item of storage List item;
Sending module, for when exist in the forwarding-table item that the searching module searches second equipment storage with it is described When the associated forwarding-table item of each of N number of destination mark destination mark, the first equipment of Xiang Suoshu returns to N number of response report Text is determined as allowing to send to trigger first equipment for the failure Member Link every in the destination mark set The link of the corresponding data message of one destination mark, wherein the corresponding data message of each destination mark is to include The data message of the destination mark, N number of response message and N number of detection messages correspond, N number of response report Text is used to indicate in second equipment have been restored with N number of associated forwarding-table item of destination mark.It in this way can be very big Ground reduce the second equipment workload, and can quickly determine second equipment store with each mesh in destination mark set Ground identify whether associated forwarding-table item has restored, and logical can avoid passing through after failure Member Link fault recovery The failure Member Link, which sends datagram, reaches the case where the second equipment is dropped later.
It is every in N number of detection messages in the first possible implementation of eighth aspect of the embodiment of the present invention A detection messages also carry service feature, the service feature be first equipment storage with aggregation interface mark pair The service feature answered, each destination in the destination mark set be identified as with the service feature and it is described polymerize connect Mouth identifies corresponding destination mark, and N number of response message is used to indicate in second equipment and N number of destination Mark and the associated forwarding-table item of the service feature have restored, and the corresponding data message of each destination mark is Belong to the data message of the service feature;
The searching module is specifically used for:
According in N number of detection messages the service feature and N number of destination mark, in second equipment Storage with search whether that there are each of N number of destination mark mesh in the associated forwarding-table item of the service feature Ground identify associated forwarding-table item;
The sending module is specifically used for:
When the searching module is found, there are N number of purpose terrestrial references with the associated forwarding-table item of the service feature When each of knowing the associated forwarding-table item of destination mark, the first equipment of Xiang Suoshu returns to N number of response message.In this way It under the scene that one equipment sends datagram according to service feature, can avoid after failure Member Link fault recovery, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
In second of possible implementation of eighth aspect of the embodiment of the present invention, the N and the destination mark The total quantity of destination mark in set is positively correlated.It is dynamically adjusted the quantity of sampling destination mark in this way, works as purpose When the total quantity of destination mark in ground logo collection is bigger, samples more destination marks and detected, it in this way can be more Accurately determine the second device losses with the associated forwarding-table item of each destination mark in destination mark set whether Restore.
In embodiments of the present invention, after the failure Member Link fault recovery of the first equipment confirmation aggregated links, the One equipment generates the first detection messages for carrying the first destination mark, and sends the to the second equipment by failure Member Link One detection messages;If the first equipment receive the second equipment respond the first detection messages return be used to indicate in the second equipment with The first recovered response message of the associated forwarding-table item of first destination mark, then the first equipment is true by failure Member Link It is set to the link for allowing to send the first data message including the first destination mark.As it can be seen that by implementing the embodiment of the present invention, Failure Member Link recovery after, the first equipment confirm the second equipment forwarding-table item restore after, just permission failure at Member's chain the second equipment of road direction transmission includes the data message of the target destination mark in the forwarding-table item restored, to avoid Data message is lost after reaching second equipment.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of existing link aggregation;
Fig. 2 is a kind of schematic diagram of system architecture disclosed by the embodiments of the present invention;
Fig. 3 is the schematic diagram of another system architecture disclosed by the embodiments of the present invention;
Fig. 4 is a kind of flow diagram of transmission control method disclosed by the embodiments of the present invention;
Fig. 5 is the flow diagram of another transmission control method disclosed by the embodiments of the present invention;
Fig. 6 is the flow diagram of another transmission control method disclosed by the embodiments of the present invention;
Fig. 7 is a kind of structural schematic diagram of first equipment disclosed by the embodiments of the present invention;
Fig. 8 is the structural schematic diagram of another first equipment disclosed by the embodiments of the present invention;
Fig. 9 is a kind of structural schematic diagram of second equipment disclosed by the embodiments of the present invention;
Figure 10 is the structural schematic diagram of another second equipment disclosed by the embodiments of the present invention;
Figure 11 is the structural schematic diagram of another second equipment disclosed by the embodiments of the present invention;
Figure 12 is a kind of structural schematic diagram of first equipment disclosed by the embodiments of the present invention;
Figure 13 is the structural schematic diagram of another first equipment disclosed by the embodiments of the present invention;
Figure 14 is a kind of structural schematic diagram of second equipment disclosed by the embodiments of the present invention;
Figure 15 is the structural schematic diagram of another second equipment disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of transmission control method and equipment, it is able to solve and data message is being switched into event Barrier restore Member Link transmitted after, data message lose the problem of.Embodiment in order to better understand the present invention, under Face is first described the system architecture of the embodiment of the present invention.It is disclosed by the embodiments of the present invention to be suitable for transmission control method and set Standby system architecture includes following two:
In the first system architecture of the embodiment of the present invention, the first equipment is communicated with the second equipment by aggregated links. As shown in Fig. 2, Fig. 2 is a kind of schematic diagram of system architecture disclosed by the embodiments of the present invention, in system architecture shown in Fig. 2, Aggregated links includes 3 Member Links;First equipment includes connecting the member interface of the Member Link of aggregated links and this is poly- Close the aggregation interface A of link.Wherein, the first equipment and the second equipment can be the equipment such as interchanger, router and host.Its In, Fig. 2 illustratively shows 3 Member Links, it should be understood that Member Link can also be for 2 or more than 3.
In second of system architecture of the embodiment of the present invention, transponder and the first equipment are independently disposed.For example, such as Fig. 3 Shown, Fig. 3 is the schematic diagram of another system architecture disclosed by the embodiments of the present invention, in system architecture shown in Fig. 3, first Equipment is connected with transponder, and transponder is connected by aggregated links with the second equipment.Wherein, Fig. 3 illustratively shows 3 Member Link, it should be understood that Member Link for 2 or can also be more than 3.It is compared with system architecture shown in Fig. 2, Fig. 3 Shown in system architecture be a kind of control and the isolated framework of forwarding.It should be appreciated that the first equipment shown in Fig. 3 and transponder are real Existing function with the function that the first equipment shown in Fig. 2 is realized be it is identical, i.e., shown in the first equipment shown in Fig. 3 and Fig. 2 The first equipment in control function it is suitable, transponder shown in Fig. 3 is suitable with forwarding capability in the first equipment shown in Fig. 2.
Aggregation interface A is illustrated only in the system architecture of Fig. 2 and Fig. 3, it should be understood that the first equipment shown in Fig. 2 or The aggregation interface quantity for including in transponder shown in Fig. 3 can be more than one.
In system architecture shown in Fig. 2, the first equipment stores forwarding-table item, which is according to the first equipment What the corresponding relationship of the destination mark of storage and aggregation interface mark obtained.Wherein, which includes destination mark And (aggregation interface is identified as the information that can distinguish aggregation interface to aggregation interface mark corresponding with the destination mark, such as Aggregation interface title etc.).The target it is identified as the information for being used to indicate the transmission destination of data message, such as the destination Mark can be the address Internet protocol address (Internet Protocol, IP), media access control (Media Access Control, MAC) mark such as address or destination label.The destination label can be multiprotocol label switching (Multi- Protocol Label Switching, MPLS) labels such as label.When the first equipment sends datagram to the second equipment, First equipment can extract the destination mark in the data message, and search the purpose from the forwarding-table item that the first equipment stores Ground identifies corresponding aggregation interface mark.For example, as shown in Fig. 2, if polymerization corresponding with the destination mark in data message Interface identifier is the mark of aggregation interface A, then the first equipment will be selected from member interface 1, member interface 2 and member interface 3 One or more member interfaces send the data message to the second equipment.Wherein, user can by way of directly configuring from Select member interface or the first equipment can be by hash algorithm automatically from aggregation interface A in the corresponding member interface of aggregation interface A One or more member interfaces are selected in corresponding member interface and send the data message, and the embodiment of the present invention is without limitation.
In system architecture shown in Fig. 2, as shown in Fig. 2, when the first equipment detects that Member Link 1 breaks down, Member Link 1 is determined as the link for not allowing to send datagram by the first equipment.The first equipment selective polymerization link at When member's link sends datagram, member interface 1 is foreclosed, selects member interface 2 and member interface 3 only to send data Message.
In system architecture shown in Fig. 3, the first equipment can be connect according to the destination mark that the first equipment stores with polymerizeing The corresponding relationship of mouth mark, issues forwarding-table item to the forwarding table of transponder.Wherein, the forwarding-table item include destination mark with And aggregation interface mark corresponding with destination mark.For example, if the first equipment stores destination mark 1 and aggregation interface is marked Know 1 corresponding relationship and the corresponding relationship of destination mark 2 and aggregation interface mark 2, then the first equipment can be under transponder Give out a contract for a project and include the forwarding-table item of destination mark 1 and aggregation interface mark 1, and including destination mark 2 and aggregation interface mark 2 Forwarding-table item.When transponder sends datagram to the second equipment, transponder can extract the destination in the data message Mark, and search the corresponding aggregation interface of the destination mark from the forwarding-table item that transponder stores and identify.For example, such as Fig. 3 Shown, if aggregation interface corresponding with the destination mark in data message is identified as the mark of aggregation interface A, transponder will One or more member interfaces are selected from member interface 1, member interface 2 and member interface 3 to send the data message to the Two equipment.
In system architecture shown in Fig. 3, as shown in figure 3, when the first equipment detects that Member Link 1 breaks down, First equipment sets Member Link 1 to instruction transponder to the link for not allowing to send datagram.It is poly- in transponder selection When the Member Link of conjunction link sends datagram, member interface 1 is foreclosed, only selects member interface 2 and member interface 3 To send datagram.
In two kinds of system architectures of the embodiment of the present invention, each interface board of the second equipment is stored including purpose terrestrial reference The forwarding-table item of knowledge.As shown in Fig. 2, Member Link 1 can be confirmed as failure Member Link when interface board 1 breaks down, connect The forwarding-table item that oralia 1 stores can be lost.After 1 troubleshooting of interface board, the interface " UP " of member interface 4, if the first equipment Just pass through Member Link 1 in interface " UP " for detecting member interface 4 to send datagram, then receives this in the second equipment After data message, if the forwarding-table item for the destination mark including the data message that interface board 1 stores does not restore, second is set It is standby to abandon the data message.
Based on above two system architecture, Fig. 4 is referred to, Fig. 4 is a kind of forwarding controlling party disclosed by the embodiments of the present invention The flow diagram of method.As shown in figure 4, the transmission control method may comprise steps of.
401, after the failure Member Link fault recovery of the first equipment confirmation aggregated links, the first equipment generates first Detection messages.
In the embodiment of the present invention, which carries the first destination mark, which is the Any one destination mark corresponding with the aggregation interface of aggregated links mark of one equipment storage, first destination mark It is used to indicate the transmission destination of the first data message.
Specifically, the first equipment stores the corresponding relationship of destination mark and aggregation interface mark, and the first equipment is true Recognize after the failure Member Link fault recovery of aggregated links, will be marked according to the corresponding relationship from the aggregation interface of aggregated links Know and obtain a destination mark in corresponding destination mark as the first destination mark, and generates and carry first purpose First detection messages of ground mark.
For example, as shown in Fig. 2, if Member Link 1 is failure Member Link, if the mark of aggregation interface A corresponds to mesh Ground mark 1 and destination mark 2, then the first destination mark is destination mark 1 or destination mark 2.
402, the first equipment sends first detection messages to the second equipment by the failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the first equipment generate the first detection messages it Afterwards, the first detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the first equipment generate the first detection messages it Afterwards, the first detection messages will be sent to the second equipment by failure Member Link via transponder.
403, the second equipment receives first detection messages that the first equipment is sent by the failure Member Link.
404, the second equipment is according to the first destination mark in first detection messages, in the forwarding of the second equipment storage Search whether exist and the associated forwarding-table item of the first destination mark in list item.
It, will be according to the in the first detection messages after the second equipment receives the first detection messages in the embodiment of the present invention One destination mark searches whether exist and the associated forwarding of the first destination mark in the forwarding-table item of the second equipment storage List item is the forwarding-table item for including first destination mark with the associated forwarding-table item of the first destination mark.If the Two equipment storage forwarding-table item in exist with the associated forwarding-table item of the first destination mark, then follow the steps 405.
405, the second equipment sends the first response message to the first equipment.
In the embodiment of the present invention, the first response message is used to indicate in the second equipment and associated turn of the first destination mark Forwarding list item is recovered.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the second equipment generate the first response message it Afterwards, which is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the second equipment generate the first response message it Afterwards, will be by failure Member Link the first response message of transmission to transponder, and be sent to the first response message by transponder First equipment.
406, the first equipment receives first response message that the second equipment responds first detection messages return.
407, the failure Member Link is determined as the link for allowing to send the first data message by the first equipment.
In the embodiment of the present invention, after the first equipment receives the first response message, which is determined as Allow to send the link of the first data message.Wherein, the first data message includes the first destination mark.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 2, the first equipment determines the failure Member Link After link to allow to send the first data message, when the first equipment sends the first data to the second equipment by aggregated links When message, the first equipment may be selected the failure Member Link and be sent.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 3, failure Member Link is determined as by the first equipment The specific embodiment for allowing to send the link of the first data message can be with are as follows: the first equipment indicates transponder by failure member's chain Road is positioned to allow for sending the link of the first data message.When transponder sends the first data to the second equipment by aggregated links When message, transponder may be selected the failure Member Link and be sent.
Optionally, if being not present and the associated forwarding table of the first destination mark in the forwarding-table item of the second equipment storage , then the second equipment does not return to any response message to the first detection messages to the first equipment.So correspondingly, when first sets When standby the first response message for not receiving the return of the second equipment within a preset period of time, the first equipment is true by the failure Member Link It is set to the link for not allowing to send the first data message.By implementing not deposit in the forwarding-table item for finding the storage of the second equipment In forwarding-table item associated with first destination mark, do not return to this of any response message of the first detection messages Mode, can save the CUP resource of the second equipment, while can also save bandwidth resources.
Optionally, when there is no the terrestrial references with first mesh in the forwarding-table item that the second equipment finds the storage of the second equipment When knowing associated forwarding-table item, the second equipment is used to indicate in the second equipment to the return of the first equipment and closes with the first destination mark The unrecovered response message of the forwarding-table item of connection.So correspondingly, when the first equipment receive the return of the second equipment for referring to When showing response message unrecovered with the associated forwarding-table item of the first destination mark in the second equipment, the first equipment is by the failure Member Link is determined as the link for not allowing to send the first data message.
Wherein, when being based on system architecture shown in Fig. 2, which is set as not allowing to send out by the first equipment After the link for sending the first data message, when the first equipment sends the first data message to the second equipment by aggregated links, First equipment selects the Member Link in addition to the failure Member Link of the aggregated links to send the first data message.
Wherein, when being based on system architecture shown in Fig. 3, which is determined as not allowing to send out by the first equipment Send the specific embodiment of the link of the first data message can be with are as follows: failure Member Link is arranged the first equipment instruction transponder Not allow to send the link of the first data message.The failure Member Link is set as not allowing to send the first data by transponder After the link of message, when transponder sends the first data message to the second equipment by aggregated links, transponder selection should The Member Link in addition to the failure Member Link of aggregated links sends the first data message.
In practical applications, for example, as shown in Fig. 2, if in the forwarding table of the first equipment, the mark of aggregation interface A Corresponding destination mark includes destination mark 1, then the first equipment may include to the transmission of the second equipment by Member Link 1 The data message 1 of destination mark 1;If Member Link 1 is failure Member Link, after 1 troubleshooting of interface board, Cheng Yuanjie The interface " UP " of mouth 4;After the interface " UP " of member interface 4, if the second equipment receives data message 1, but at this time second Equipment includes that the forwarding-table item of destination mark 1 does not restore, then the second equipment can abandon data message 1.It is retouched by implementing Fig. 4 The embodiment stated, after the fault recovery that the first equipment detects Member Link 1, the first equipment can be generated including purpose terrestrial reference Know 1 the first detection messages, and sends first detection messages to the second equipment;Second equipment can be according in the first detection messages Destination mark 1 detect the second equipment storage the forwarding-table item including destination mark 1 whether restore, detect including After the forwarding-table item of destination mark 1 restores, notify the storage of the second equipment to the first equipment includes turning for destination mark 1 Forwarding list item has restored;After first equipment confirms that the forwarding-table item including destination mark 1 of the second equipment storage has restored, Allow to send datagram 1 from Member Link 1.As it can be seen that can avoid by implementing Fig. 4 described embodiment in failure member After link failure recovery, sent datagram the case where being dropped after reaching the second equipment hair by the failure Member Link It is raw.
Based on above two system architecture, Fig. 5 is referred to, Fig. 5 is another forwarding control disclosed by the embodiments of the present invention The flow diagram of method.As shown in figure 5, the transmission control method may comprise steps of.
501, after the failure Member Link fault recovery of the first equipment confirmation aggregated links, the first equipment generates first Detection messages.
In the embodiment of the present invention, which carries the first destination mark, which is the Any one destination mark corresponding with the aggregation interface of aggregated links mark of one equipment storage, first destination mark It is used to indicate the transmission destination of the first data message.
502, the first equipment sends first detection messages to the second equipment by the failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the first equipment generate the first detection messages it Afterwards, the first detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the first equipment generate the first detection messages it Afterwards, the first detection messages will be sent to the second equipment by failure Member Link via transponder.
503, the second equipment receives first detection messages that the first equipment is sent by the failure Member Link.
504, the second equipment is according to the first destination mark in first detection messages, in the forwarding of the second equipment storage Search whether exist and the associated forwarding-table item of the first destination mark in list item.
It, will be according to the in the first detection messages after the second equipment receives the first detection messages in the embodiment of the present invention One destination mark searches whether exist and the associated forwarding of the first destination mark in the forwarding-table item of the second equipment storage List item is the forwarding-table item for including first destination mark with the associated forwarding-table item of the first destination mark.If the Two equipment storage forwarding-table item in exist with the associated forwarding-table item of the first destination mark, then follow the steps 505.
505, the second equipment sends the first response message to the first equipment.
In the embodiment of the present invention, the first response message is used to indicate in the second equipment and associated turn of the first destination mark Forwarding list item is recovered.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the second equipment generate the first response message it Afterwards, which is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the second equipment generate the first response message it Afterwards, will be by failure Member Link the first response message of transmission to transponder, and be sent to the first response message by transponder First equipment.
506, the first equipment receives first response message that the second equipment responds first detection messages return.
Optionally, the identity information for distinguishing the first detection messages, the first response report are also carried in the first detection messages Also the identity information of the first detection messages is carried in text.After the first equipment receives the first response message, the first equipment is logical The identity information of the first detection messages of the first response message carrying is crossed, to determine that the first response message is the second equipment response the The response message that one detection messages return.
507, the failure Member Link is determined as the link for allowing to send the first data message by the first equipment.
In the embodiment of the present invention, after the first equipment receives the first response message, which is determined as Allow to send the link of the first data message.Wherein, which includes the first destination mark.
508, after the failure Member Link fault recovery of the first equipment confirmation aggregated links, the first equipment generates second Detection messages.
In the embodiment of the present invention, the execution sequence of step 501 and step 508 in no particular order, can first generate the first detection Message regenerates the second detection messages, can also first generate the second detection messages and regenerate the first detection messages, the embodiment of the present invention Without limitation.
In the embodiment of the present invention, which carries the second destination mark, which is the The storage of one equipment identifies corresponding any one purpose in addition to the first destination mark with the aggregation interface of aggregated links Ground mark, second destination mark are used to indicate the transmission destination of the second data message.
509, the first equipment sends second detection messages to the second equipment by the failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the first equipment generate the second detection messages it Afterwards, the second detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the first equipment generate the second detection messages it Afterwards, the second detection messages will be sent to the second equipment by failure Member Link via transponder.
510, the second equipment receives second detection messages that the first equipment is sent by the failure Member Link.
511, the second equipment is according to the second destination mark in second detection messages, in the forwarding of the second equipment storage Search whether exist and the associated forwarding-table item of the second destination mark in list item.
It, will be according in the second detection messages after the second equipment receives second detection messages in the embodiment of the present invention Second destination mark searches whether to exist in the forwarding-table item of the second equipment storage associated with second destination mark Forwarding-table item is the forwarding-table item for including second destination mark with the associated forwarding-table item of the second destination mark; If the second equipment storage forwarding-table item in there is no with the associated forwarding-table item of the second destination mark, then follow the steps 512.If existing and the associated forwarding-table item of the second destination mark, the second equipment in the forwarding-table item of the second equipment storage Third recovered with the associated forwarding-table item of the second destination mark in the second equipment is used to indicate to the return of the first equipment Response message is to the first equipment.
As an alternative embodiment, if being not present and second destination in the forwarding-table item of the second equipment storage Associated forwarding-table item is identified, then the second equipment does not return to any response message to the second detection messages to the first equipment.That Correspondingly, if the first equipment do not receive that the second equipment responds that the second detection messages return within a preset period of time for referring to Show third response message recovered with the associated forwarding-table item of the second destination mark in the second equipment, then the first equipment will Failure Member Link is determined as the link for not allowing to send the second data message.
512, the second equipment sends the second response message to the first equipment.
In the embodiment of the present invention, the second response message is used to indicate in the second equipment and associated turn of the first destination mark Forwarding list item does not restore.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the second equipment generate the second response message it Afterwards, which is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the second equipment generate the second response message it Afterwards, will be by failure Member Link the second response message of transmission to transponder, and be sent to the second response message by transponder First equipment.
513, the first equipment receives second response message that the second equipment responds second detection messages return.
Optionally, the identity information for distinguishing the second detection messages, the second response report are also carried in the second detection messages Also the identity information of the second detection messages is carried in text.After the first equipment receives the second response message, the first equipment is logical The identity information of the second detection messages of the second response message carrying is crossed, to determine that the second response message is the second equipment response the The response message that two detection messages return.
514, the failure Member Link is determined as the link for not allowing to send the second data message by the first equipment.
In the embodiment of the present invention, after the first equipment receives the second response message, which is determined as Do not allow to send the link of the second data message.Wherein, which is the datagram for including the second destination mark Text.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 2, the first equipment determines the failure Member Link After link not allow to send the second data message, when the first equipment sends the second number to the second equipment by aggregated links When according to message, the first equipment selects the Member Link in addition to the failure Member Link of the aggregated links to send the second datagram Text.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 3, the first equipment determines the failure Member Link It can be with not allow to send the specific embodiment of the link of the second data message are as follows: the first equipment indicates transponder by the failure Member Link is determined as the link for not allowing to send the second data message.
For example, as shown in Fig. 2, if Member Link 1 is failure Member Link, in the forwarding table of the first equipment, polymerization The corresponding destination mark of the mark of interface A includes destination mark 1 and including destination mark 2, then when the terrestrial reference of the first mesh Knowing is destination mark 1, and when the second destination mark is destination mark 2, the first equipment can be generated including destination mark 1 First detection messages and the second detection messages including destination mark 2, and by Member Link 1 by the first detection messages and the Two detection messages are sent to the second equipment.If the first equipment receives being used to indicate in the second equipment and mesh for the second equipment return Ground identify the first response message for having restored of 1 associated forwarding-table item, then Member Link 1 is determined as allowing to send out by the first equipment Send the link of the data message including destination mark 1;If the first equipment does not receive the return of the second equipment within a preset time The first response message, then the first equipment Member Link 1 is determined as not allowing sending include destination mark 1 data message Link or the first equipment receive the second equipment return be used to indicate in the second equipment and 1 associated turn of destination mark The unrecovered response message of forwarding list item, then it includes destination mark 1 that Member Link 1 is determined as not allowing to send by the first equipment The link of data message.Similarly, if the first equipment receives being used to indicate in the second equipment and destination for the second equipment return The third response message that 2 associated forwarding-table items have restored is identified, then Member Link 1 is determined as allowing to send wrapping by the first equipment Include the link of the data message of destination mark 2;If the first equipment does not receive the of the second equipment return within a preset time Three response messages, then Member Link 1 is determined as the chain for not allowing to send the data message including destination mark 2 by the first equipment Road or the first equipment receive being used to indicate in the second equipment and the associated forwarding table of destination mark 2 for the second equipment return Unrecovered second response message of item, then it includes destination mark 2 that Member Link 1 is determined as not allowing to send by the first equipment The link of data message.
As it can be seen that can avoid passing through after failure Member Link fault recovery by implementing Fig. 5 described embodiment The failure Member Link thus send datagram reach the second equipment after the case where being dropped.
As an alternative embodiment, the first detection messages also carry the first service feature, first business is special Sign is the service feature corresponding with aggregation interface mark of the first equipment storage, and the first destination mark is the storage of the first equipment It is used to indicate in the second equipment with aggregation interface mark and the corresponding destination mark of the first service feature, the first response message Recovered, the service feature of the first data message with the first destination mark and the associated forwarding-table item of the first service feature Belong to the first service feature.So correspondingly, the forwarding-table item of the second equipment also includes destination mark and the purpose terrestrial reference Know corresponding service feature, the specific embodiment of step 504 are as follows:
Second equipment is deposited according to the first destination mark and the first service feature in the first detection messages in the second equipment Search whether exist and the first destination mark and the associated forwarding-table item of the first service feature in the forwarding-table item of storage;If the Two equipment storage forwarding-table item in exist with the first destination mark and the associated forwarding-table item of the first service feature, then hold Row step 505.
In this embodiment, specifically, the first equipment stores service feature, aggregation interface mark and purpose terrestrial reference Know the corresponding relationship between three.Optionally, which may include type of service, service priority and business datum report The combination of any one or more in literary magnitude range.Wherein, which may include text type of service, voice service Type or video traffic type etc..
In this embodiment, the first equipment, can root after the failure Member Link fault recovery of confirmation aggregated links According to the corresponding relationship between the three, obtains aggregation interface and identify corresponding first service feature, wherein first service feature Any one corresponding service feature is identified for aggregation interface;First equipment obtain the first service feature after, will according to this three Corresponding relationship between person, which is obtained, identifies corresponding first destination mark with the first service feature and aggregation interface.
For example, if service feature is type of service, between type of service, aggregation interface mark and destination mark three Corresponding relationship it is as shown in table 1 below, then when aggregation interface be identified as aggregation interface mark 2 when, the first type of service can for text Word type of service or video traffic type.
Table 1
Corresponding relationship serial number Type of service Aggregation interface mark Destination mark
1 Text type of service Aggregation interface mark 1 Destination mark 1
2 Text type of service Aggregation interface mark 2 Destination mark 2
3 Video traffic type Aggregation interface mark 1 Destination mark 2
4 Video traffic type Aggregation interface mark 2 Destination mark 3
5 Video traffic type Aggregation interface mark 2 Destination mark 4
For another example, if service feature is service priority, service priority, aggregation interface mark and destination mark three Between corresponding relationship it is as shown in table 2 below, then when aggregation interface be identified as aggregation interface mark 2 when, the first service priority can Think service priority one or service priority two.
Table 2
Corresponding relationship serial number Service priority Aggregation interface mark Destination mark
1 Service priority one Aggregation interface mark 1 Destination mark 1
2 Service priority one Aggregation interface mark 2 Destination mark 2
3 Service priority two Aggregation interface mark 1 Destination mark 3
4 Service priority two Aggregation interface mark 2 Destination mark 4
For another example, if service feature is business datum message size range, business datum message size range, aggregation interface mark Corresponding relationship between knowledge and destination mark three is as shown in table 3 below, then when aggregation interface is identified as aggregation interface mark 2 When, the first business datum message size may range from 200 bytes~300 bytes or 300 bytes~400 bytes.
Table 3
Corresponding relationship serial number Business datum message size range Aggregation interface mark Destination mark
1 200 bytes~300 bytes Aggregation interface mark 1 Destination mark 1
2 200 bytes~300 bytes Aggregation interface mark 2 Destination mark 2
3 300 bytes~400 bytes Aggregation interface mark 2 Destination mark 2
4 300 bytes~400 bytes Aggregation interface mark 2 Destination mark 3
As an alternative embodiment, the second detection messages also carry the second service feature, the second service feature is First equipment storage service feature corresponding with aggregation interface mark, the second destination mark be the first equipment storage with gather Close interface identifier and the corresponding destination mark of the second service feature, the second response message is used to indicate in the second equipment and the Two destination marks and the associated forwarding-table item of the second service feature do not restore, and third response message is used to indicate the second equipment In restored with the second destination mark and the associated forwarding-table item of the second service feature, the service feature of the second data message Belong to the second service feature.So correspondingly, the forwarding-table item of the second equipment also includes destination mark and the purpose terrestrial reference Know corresponding service feature, the specific embodiment of step 511 are as follows:
Second equipment is deposited according to the second destination mark and the second service feature in the second detection messages in the second equipment Search whether exist and the second destination mark and the associated forwarding-table item of the second service feature in the forwarding-table item of storage;If the Two equipment storage forwarding-table item in there is no with the second destination mark and the associated forwarding-table item of the second service feature, then Execute step 512.
In this embodiment, the second service feature can be identical as the first service feature, can also be with the first service feature Difference, the embodiment of the present invention is without limitation.
In practical applications, when being based on system architecture shown in Fig. 2, if the first equipment sends number according to service feature According to message, then stored in the forwarding-table item of the first equipment service feature, aggregation interface mark and destination mark three it Between corresponding relationship.When being based on system architecture shown in Fig. 3, if transponder sends datagram according to service feature, The corresponding pass between service feature, aggregation interface mark and destination mark three is stored in the forwarding-table item of transponder System.
For example, when being based on system architecture shown in Fig. 2, the first equipment sends datagram according to service feature It can comprise the following steps that when it includes the data message 1 of destination mark 1 that the first equipment, which needs to send to the second equipment, first Equipment can identify the service feature of the data message 1, and search and destination mark 1 from the forwarding-table item that the first equipment stores The corresponding aggregation interface mark 1 with the service feature of the data message 1;After first equipment finds aggregation interface mark 1, First equipment selects the aggregation interface to identify 1 corresponding member interface and sends 1 to the second equipment of data message.
Again for example, when being based on system architecture shown in Fig. 3, transponder sends datagram according to service feature It can comprise the following steps that when it includes the data message 1 of destination mark 1 that transponder, which needs to send to the second equipment, transponder It can identify the service feature of the data message 1, and be searched and destination mark 1 and the number from the forwarding-table item that transponder stores According to the corresponding aggregation interface mark 1 of the service feature of message 1;After first equipment finds aggregation interface mark 1, then forward Device selects the aggregation interface to identify 1 corresponding member interface and sends 1 to the second equipment of data message.
Correspondingly, when being based on Fig. 2 and system architecture shown in Fig. 3, the forwarding-table item of the second equipment is also stored purposefully The corresponding relationship of ground mark and service feature.For example, the forwarding-table item when the second equipment stores destination mark, aggregation interface It, will be from the second equipment after the second equipment receives the data message 1 when identifying the corresponding relationship between service feature three The service feature and the corresponding aggregation interface of destination mark 1 that the data message 1 is searched in the forwarding-table item of storage identify, and from The aggregation interface identifies corresponding member interface and sends the data message 1.Therefore, in the first equipment or transponder according to business spy Under the scene for levying to send datagram, by implementing the embodiment, the first equipment is confirming the second equipment stores and industry After feature of being engaged in and the associated forwarding-table item of destination mark restore, just including by the Member Link transmission of fault recovery should Destination mark and the data message for belonging to the service feature lead to so as to avoid after failure Member Link fault recovery It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Based on above two system architecture, Fig. 6 is referred to, Fig. 6 is another forwarding control disclosed by the embodiments of the present invention The flow diagram of method.As shown in fig. 6, the transmission control method may comprise steps of.
601, after the failure Member Link fault recovery of the first equipment confirmation aggregated links, the first equipment is set from first Sampling obtains N number of destination mark in the destination mark set corresponding with the aggregation interface of aggregated links mark of standby storage.
In the embodiment of the present invention, specifically, the first equipment stores the corresponding pass that destination mark is identified with aggregation interface System, wherein the destination mark is used to indicate the transmission destination of data message.Failure of first equipment in confirmation aggregated links After Member Link fault recovery, destination corresponding with the aggregation interface of aggregated links mark will be determined according to the corresponding relationship Logo collection, each destination in the destination mark set are identified as mesh corresponding with the aggregation interface of aggregated links mark Ground mark.The quantity of destination mark in the destination mark set is greater than or equal to 3.
For example, if destination mark corresponding with aggregation interface mark includes destination mark 1, destination mark 2, purpose Ground mark 3 and destination mark 4, then destination mark set corresponding with the aggregation interface of aggregated links mark may include purpose Ground mark 1, destination mark 2, destination mark 3 and destination mark 4;Or it is corresponding with the aggregation interface of aggregated links mark Destination mark set may include any three destination marks in this 4 destination marks.
In the embodiment of the present invention, after the first equipment determines destination mark set, it will be adopted from destination mark set Sample obtains N number of destination mark, wherein N is the integer more than or equal to 2.
For example, if destination mark set includes destination mark 1, destination mark 2 and destination mark 3, first Equipment can be sampled from destination mark set obtains destination mark 1 and destination mark 2, or can sample and obtain purpose terrestrial reference Know 1 and destination mark 3, or can sample and obtain destination mark 2 and destination mark 3.
As an alternative embodiment, the total quantity positive of the destination mark in N and the destination mark set It closes.
In this embodiment, specifically, the first equipment prestores the mark total quantity S and quantity of destination mark set The corresponding relationship of N, in the corresponding relationship, the value of the more big N then corresponding with the S of the value of S is bigger.For example, if S is 100, with The corresponding N of S is 50;If S is 200, N corresponding with S is 70.In this embodiment, in the determination of the first equipment and polymeric chain After the aggregation interface on road identifies corresponding destination mark set, the first equipment will determine the purpose in destination mark set The total quantity S of ground mark, and obtain the value of N corresponding with the S.After the value that the first equipment obtains N, the first equipment is from first Sampling obtains N number of purpose terrestrial reference in the destination mark set corresponding with the aggregation interface of aggregated links mark of equipment storage Know.
By implementing the embodiment, it is dynamically adjusted the quantity of sampling destination mark, when destination mark set In destination mark total quantity it is bigger when, sample more destination marks and detected, can more accurately be determined in this way Whether the second device losses have been restored with the associated forwarding-table item of each destination mark in destination mark set.
602, the first equipment generates N number of detection messages.
In the embodiment of the present invention, after the first equipment obtains N number of destination mark, N number of detection messages can be generated.Wherein, Any one detection messages in N number of detection messages carry any one destination mark in N number of destination mark, and N number of detection messages and N number of destination mark correspond.
For example, if the first equipment is sampled from destination mark set obtains destination mark 1 and purpose terrestrial reference Know 2, then the first equipment will generate two detection messages, respectively detection messages 1 including destination mark 1 and including destination The detection messages 2 of mark 2.
603, the first equipment sends N number of detection messages to the second equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the first equipment generate N number of detection messages it Afterwards, which is sent to the second equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the first equipment generate N number of detection messages it Afterwards, N number of detection messages will be sent to the second equipment by failure Member Link via transponder.
604, the second equipment receives N number of detection report that the first equipment is sent by the failure Member Link of aggregated links Text.
605, the second equipment is according to N number of destination mark in N number of detection messages, in the forwarding-table item of the second equipment storage In search whether to exist and each of N number of destination mark associated forwarding-table item of destination mark.
It, will be according to N number of in N number of detection messages after the second equipment receives N number of detection messages in the embodiment of the present invention Destination mark searches whether exist and each of N number of destination mark mesh in the forwarding-table item of the second equipment storage Ground identify associated forwarding-table item.When there are each destinations in N number of destination mark to identify associated forwarding-table item When, execute step 606.
For example, if N number of detection messages are to include detection messages 1 of destination mark 1 and including destination mark 2 Detection messages 2, then after the second equipment receives detection messages 1 and detection messages 2, can search in the forwarding-table item of storage be It is no exist and the associated forwarding-table item of destination mark 1, and can search whether exist and the associated forwarding table of destination mark 2 ?;If the second equipment searches presence and the associated forwarding-table item of destination mark 1, and exists associated with destination mark 2 Forwarding-table item, then the second equipment return it is corresponding with detection messages 1 be used to indicate it is associated with destination mark 1 in the second equipment The recovered response message 1 of forwarding-table item, and return to be used to indicate in second equipment and purpose corresponding with detection messages 2 Ground identifies the recovered response message 2 of 2 associated forwarding-table items.
606, the second equipment returns to N number of response message to the first equipment.
In the embodiment of the present invention, N number of response message and N number of detection messages are corresponded, which is used for It indicates to have restored in the second equipment with the associated forwarding-table item of N number of destination mark.
In the embodiment of the present invention, be based on system architecture shown in Fig. 2 when, the second equipment generate N number of response message it Afterwards, which is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, the second equipment generate N number of response message it Afterwards, N number of response message will be sent by failure Member Link to transponder, and be sent N number of response message by transponder To the first equipment.
607, the first equipment receives the second equipment and responds N number of response message that N number of detection messages return.
608, failure Member Link is determined as allowing to send each destination in destination mark set by the first equipment Identify the link of corresponding data message.
In the embodiment of the present invention, after the first equipment receives N number of response message, failure Member Link is determined as allowing Send the link of the corresponding data message of each destination mark in destination mark set.Wherein, each destination mark Corresponding data message is the data message for including the destination mark.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 3, failure Member Link is determined as by the first equipment The specific embodiment for allowing to send the link of the corresponding data message of each destination mark in destination mark set can With are as follows: the first equipment indicates that the failure Member Link is determined as allowing to send each mesh in destination mark set by transponder Ground identify the link of corresponding data message.
For example, if destination mark set includes destination mark 1, destination mark 2 and destination mark 3, One equipment generates two detection messages, the respectively detection messages 1 including destination mark 1 and the inspection including destination mark 2 Observe and predict text 2.It is associated with when the first equipment receives be used to indicate in second equipment corresponding with detection messages 1 with destination mark 1 The recovered response message 1 of forwarding-table item, and receive it is corresponding with detection messages 2 be used to indicate in the second equipment with When the recovered response message 2 of the associated forwarding-table item of destination mark 2, the first equipment determine in the second equipment with destination The forwarding-table item that mark 1, destination mark 2 and destination mark 3 are respectively associated is recovered;And then the first equipment is by failure Member Link is confirmed as allowing to send data message, data message and packet including destination mark 2 including destination mark 1 Include the link of the data message of destination mark 3.
In practical applications, many purpose terrestrial references be may include in destination mark set corresponding with aggregation interface mark Know, if the first equipment generates a detection messages to each destination mark, the second equipment will receive and process many inspections Text is observed and predicted, the detection messages of the second equipment processing are more, and the workload of the second equipment is bigger.Implementing method described in Fig. 6 In, the first equipment can be sampled from destination mark set obtains N number of destination mark, and to the destination that each sampling obtains Mark generates a detection messages and is sent to the second equipment;When receive the second equipment return be used to indicate in the second equipment with When N number of response message that N number of associated forwarding-table item of destination mark has restored, the second equipment stores and destination is determined Each destination in logo collection identifies associated forwarding-table item and has restored.As it can be seen that by implementing method described in Fig. 6, The workload of the second equipment can be greatly reduced.And detection messages are generated by sampling, it can quickly determine that the second equipment stores Identify whether associated forwarding-table item has restored with each destination in destination mark set.And by implementing Fig. 6 Described method also can avoid after failure Member Link fault recovery, be sent datagram by the failure Member Link Text reaches the case where the second equipment is dropped later.
As an alternative embodiment, each detection messages in N number of detection messages also carry service feature, it should Service feature is the service feature corresponding with aggregation interface mark of the first equipment storage, each mesh in destination mark set Ground be identified as and identify corresponding destination mark with the service feature and aggregation interface, which is used to indicate It is recovered with the associated forwarding-table item of N number of destination mark and service feature in second equipment, each destination mark pair The data message answered is the data message for belonging to service feature.So correspondingly, the specific embodiment of step 605 can be with are as follows:
Second equipment is stored according to the service feature and N number of destination mark in N number of detection messages in the second equipment With search whether to exist in the associated forwarding-table item of service feature and each of N number of destination mark destination mark Associated forwarding-table item;If with existing in the associated forwarding-table item of service feature and each of N number of destination mark mesh Ground identify associated forwarding-table item, then follow the steps 606.
In this embodiment, specifically, the first equipment stores service feature, aggregation interface mark and purpose terrestrial reference Know the corresponding relationship between three.Optionally, which may include type of service, service priority and business datum report The combination of any one or more in literary magnitude range.Wherein, which may include text type of service, voice service Type or video traffic type etc..
In this embodiment, specifically, the first equipment confirmation aggregated links the fault recovery of failure Member Link it Afterwards, the first equipment can obtain aggregation interface and identify corresponding service feature, and will be with this according to the corresponding relationship between the three Service feature and the aggregation interface identify the destination being determined as in destination mark set with identifying corresponding all purposes Mark, and destination mark set only includes identifying corresponding destination mark with the service feature and the aggregation interface.
For example, if service feature is type of service, if type of service, aggregation interface mark and destination mark three Corresponding relationship between person is as shown in table 4 below, then when aggregation interface is identified as aggregation interface mark 2, what the first equipment obtained Identifying 2 corresponding types of service with aggregation interface is video traffic type.
Table 4
Corresponding relationship serial number Type of service Aggregation interface mark Destination mark
1 Text type of service Aggregation interface mark 1 Destination mark 1
2 Video traffic type Aggregation interface mark 2 Destination mark 2
3 Video traffic type Aggregation interface mark 2 Destination mark 3
4 Video traffic type Aggregation interface mark 2 Destination mark 4
After the first equipment obtains video traffic type, the first equipment will be identified with video traffic type and aggregation interface 2 corresponding destination marks are determined as the destination mark in destination mark set, i.e., include in destination mark set Destination mark 2, destination mark 3 and destination mark 4.It, will be from purpose after first equipment determines destination mark set Sampling obtains any two destination mark in ground logo collection, for example, the destination mark that the sampling of the first equipment obtains can be with For destination mark 2 and destination mark 3.First equipment can generate the detection for carrying video traffic type and destination mark 2 Message 1, and the detection messages 2 for carrying video traffic type and destination mark 3 are generated, and send detection messages 1 and detection report Literary 2 to the second equipment.The forwarding-table item of second equipment also stores the corresponding relationship between type of service and destination mark, the Two equipment are by according to the video traffic type and destination mark 2 in detection messages 1, in storage and video traffic type association Forwarding-table item in search whether to exist with the associated forwarding-table item of destination mark 1, and the second equipment is according to detection messages 2 In video traffic type and destination mark 2, searched whether in the forwarding-table item with video traffic type association of storage In the presence of with the associated forwarding-table item of destination mark 2;If with existing in the forwarding-table item of video traffic type association and destination 1 associated forwarding-table item, and presence and the associated forwarding-table item of destination mark 2 are identified, then the second equipment is returned to the first equipment It is back to answering with what video traffic type and the associated forwarding-table item of destination mark 1 had been restored for instruction the second equipment storage Message is answered, and is returned to the first equipment and is used to indicate closing with video traffic type and destination mark 2 for the second equipment storage The response message that the forwarding-table item of connection has restored.
As it can be seen that being somebody's turn to do under the scene that the first equipment or transponder send datagram according to service feature by implementing Embodiment, the first equipment is confirming with after the associated forwarding-table item recovery of service feature and destination mark, just passes through It includes the destination mark and the data message for belonging to the service feature that the Member Link of fault recovery, which is sent, so as to avoid After failure Member Link fault recovery, lost by the failure Member Link therefore after the second equipment of arrival that sends datagram The case where abandoning, occurs.
Based on above two system architecture, referring to Fig. 7, Fig. 7 is a kind of first equipment disclosed by the embodiments of the present invention Structural schematic diagram.Wherein, the first equipment shown in Fig. 7 may include generation module 701, sending module 702 and determining module 703.Wherein:
Generation module 701, for after the failure Member Link fault recovery of confirmation aggregated links, generating the first detection Message, first detection messages carry the first destination mark, first destination mark be the first equipment storage with polymerize The aggregation interface of link identifies corresponding destination mark, which is used to indicate the transmission of the first data message Destination.
Sending module 702, for by failure Member Link to the second equipment send generation module 701 generate this first Detection messages.
In the embodiment of the present invention, after generation module 701 generates the first detection messages, triggering sending module 702 passes through event Hinder Member Link and sends first detection messages that generation module 701 generates to the second equipment.
Determining module 703, for working as the first response message for receiving the second equipment and responding first detection messages return When, failure Member Link is determined as to the link for allowing to send the first data message, wherein first response message is used to indicate Recovered with the associated forwarding-table item of the first destination mark in second equipment, which includes the first destination Mark.
As an alternative embodiment, generation module 701, is also used to the failure Member Link in confirmation aggregated links After fault recovery, the second detection messages are generated, which carries the second destination mark, the terrestrial reference of second mesh Know the destination mark corresponding with the aggregation interface of aggregated links mark for the storage of the first equipment, which uses In the transmission destination for indicating the second data message, second destination mark and the first destination mark be not identical.
Sending module 702, be also used to send that generation module 701 generates to the second equipment by failure Member Link this Two detection messages.
In the embodiment of the present invention, after generation module 701 generates the second detection messages, triggering sending module 702 passes through event Hinder Member Link and sends second detection messages that generation module 701 generates to the second equipment.
Determining module 703, is also used to:
When receive the second equipment respond second detection messages return the second response message when, by failure Member Link It is determined as not allowing sending the link of the second data message, wherein second response message is used to indicate in the second equipment and the The associated forwarding-table item of two destination marks does not restore, which includes the second destination mark;
Alternatively,
The third response message that second detection messages return is responded when not receiving the second equipment within a preset period of time When, failure Member Link is determined as to the link for not allowing to send the second data message, wherein the third response message is for referring to Show it is recovered with the associated forwarding-table item of the second destination mark in the second equipment, second data message include the second purpose Ground mark.
As an alternative embodiment, first detection messages also carry the first service feature, first business is special Sign is the service feature corresponding with aggregation interface mark of the first equipment storage, which is the storage of the first equipment With aggregation interface mark and the corresponding destination mark of the first service feature, first response message be used to indicate second and set , the industry of first data message recovered with the first destination mark and the associated forwarding-table item of the first service feature in standby Business feature belongs to the first service feature.
As an alternative embodiment, second detection messages also carry the second service feature, second business is special Sign is the service feature corresponding with aggregation interface mark of the first equipment storage, which is the storage of the first equipment With aggregation interface mark and the corresponding destination mark of the second service feature, second response message be used to indicate second and set Do not restore in standby with the second destination mark and the associated forwarding-table item of the second service feature, the third response message is for referring to Show in the second equipment and has restored with the second destination mark and the associated forwarding-table item of the second service feature, second datagram The service feature of text belongs to the second service feature.
As it can be seen that can avoid after failure Member Link fault recovery by implementing the first equipment described in Fig. 7, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Based on above two system architecture, referring to Fig. 8, Fig. 8 is another first equipment disclosed by the embodiments of the present invention Structural schematic diagram.As shown in figure 8, first equipment includes at least: processor 801 passes through bus 802 and 801 phase of processor Memory 803, receiver 804 and the transmitter 805 of connection.Wherein, memory 803 is used to store a set of program code, wherein Processor 801 is for calling the program code stored in memory 803, for performing the following operations:
After the failure Member Link fault recovery of confirmation aggregated links, the first detection messages are generated, first detection Message carries the first destination mark, which is connecing with polymerizeing for the aggregated links for the storage of memory 803 Mouth identifies corresponding destination mark, which is used to indicate the transmission destination of the first data message;
It controls transmitter 805 and first detection messages is sent to the second equipment by the failure Member Link;
If receiving the first response message that the second equipment responds first detection messages return by receiver 804, The failure Member Link is determined as to allow to send the link of first data message, wherein first response message is for referring to Show it is recovered with the associated forwarding-table item of the first destination mark in second equipment, first data message include this One destination mark.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 2, which can be transponder.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, processor 801 generate the first detection messages it Afterwards, the first detection messages are sent to transponder by control transmitter 805, and are set from transponder by failure Member Link to second Preparation send the first detection messages.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 3, processor 801 determines failure Member Link Can be with to allow to send the specific embodiment of the link of the first data message are as follows: processor 801 indicate transponder by failure at Member's link setting is the link for allowing to send the first data message.When transponder sends first to the second equipment by aggregated links When data message, transponder may be selected the failure Member Link and be sent.
As an alternative embodiment, processor 801 calls the program code stored in memory 803, confirming After the failure Member Link fault recovery of aggregated links, following operation is also executed:
The second detection messages are generated, which carries the second destination mark, which is The destination mark corresponding with the aggregation interface of aggregated links mark that memory 803 stores, second destination mark are used In the transmission destination for indicating the second data message, second destination mark and first destination mark be not identical;
It controls transmitter 805 and second detection messages is sent to the second equipment by the failure Member Link;
Processor 801 calls the program code stored in memory 803, also executes following operation:
If receiving the second response message that second equipment responds second detection messages return by receiver 804, The failure Member Link is then determined as the link for not allowing to send the second data message, wherein second response message is used for Indicate not restore in second equipment with the associated forwarding-table item of the second destination mark, second data message include this Two destination marks;Alternatively,
If not receiving second equipment by receiver 804 within a preset period of time responds second detection messages return Third response message, then the failure Member Link is determined as not allowing sending the link of the second data message, wherein this Three response messages are used to indicate in second equipment recovered with the associated forwarding-table item of the second destination mark, this second Data message includes second destination mark.
In this embodiment, be based on system architecture shown in Fig. 3 when, processor 801 generate the second detection messages it Afterwards, the second detection messages are sent to transponder by control transmitter 805, and are set from transponder by failure Member Link to second Preparation send the second detection messages.
When being based on system architecture shown in Fig. 3, which is determined as not allowing transmission the by processor 801 The specific embodiment of the link of two data messages can be with are as follows: processor 801 indicates that transponder determines the failure Member Link Not allow to send the link of the second data message.
As an alternative embodiment, first detection messages also carry the first service feature, first business is special Sign is the service feature corresponding with aggregation interface mark that memory 803 stores, which is memory 803 Storage with aggregation interface mark and the corresponding destination mark of first service feature, first response message is for referring to Show recovered with first destination mark and the associated forwarding-table item of first service feature in second equipment, this The service feature of one data message belongs to first service feature.
As an alternative embodiment, second detection messages also carry the second service feature, second business is special Sign is the service feature corresponding with aggregation interface mark that memory 803 stores, which is memory 803 Storage with aggregation interface mark and the corresponding destination mark of second service feature, second response message is for referring to Show in second equipment and does not restore with second destination mark and the associated forwarding-table item of second service feature, the third Response message is used to indicate in second equipment and second destination mark and the associated forwarding table of second service feature Item has restored, and the service feature of second data message belongs to second service feature.
As it can be seen that can avoid after failure Member Link fault recovery by implementing the first equipment described in Fig. 8, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Based on above two system architecture, referring to Fig. 9, Fig. 9 is another second equipment disclosed by the embodiments of the present invention Structural schematic diagram.Wherein, the second equipment shown in Fig. 9 may include the first receiving module 901,902 and of the first searching module First sending module 903.Wherein:
First receiving module 901 receives first that the first equipment is sent for the failure Member Link by aggregated links Detection messages, first detection messages carry the first destination mark, first destination mark be the first equipment storage with The aggregation interface of aggregated links identifies corresponding destination mark, which is used to indicate the first data message Send destination.
First searching module 902, for being stored in the second equipment according to the first destination mark in the first detection messages Forwarding-table item in search whether exist and the associated forwarding-table item of the first destination mark.
In the embodiment of the present invention, after the first receiving module 901 receives the first detection messages that the first equipment is sent, triggering First searching module 902 is according to the first destination mark in the first detection messages, in the forwarding-table item of the second equipment storage Search whether exist and the associated forwarding-table item of the first destination mark.
First sending module 903, for being deposited when in the forwarding-table item that the first searching module 902 finds the storage of the second equipment In forwarding-table item associated with the first destination mark, the first response message is sent to the first equipment, to trigger the first equipment Failure Member Link is determined as to the link for allowing to send the first data message, which is used to indicate the second equipment In it is recovered with the associated forwarding-table item of the first destination mark, first data message include the first destination mark.
As an alternative embodiment, first detection messages also carry the first service feature, first business is special Sign is the service feature corresponding with the aggregation interface of aggregated links mark of the first equipment storage, which is the The storage of one equipment is used for aggregation interface mark and the corresponding destination mark of the first service feature, first response message Indicate recovered with the first destination mark and the associated forwarding-table item of the first service feature in the second equipment, first number Belong to the first service feature according to the service feature of message.
First searching module 902 is specifically used for:
According to the first destination mark and the first service feature in the first detection messages, in the forwarding of the second equipment storage Search whether exist and first destination mark and the associated forwarding-table item of first service feature in list item.
First sending module 903 is specifically used for:
When the first searching module 902 find the second equipment storage forwarding-table item in exist with the first destination mark and First service feature associated forwarding-table item when, then to the first equipment send the first response message.
As it can be seen that can avoid after failure Member Link fault recovery by implementing the second equipment described in Fig. 9, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
It is disclosed by the embodiments of the present invention another also referring to Figure 10, Figure 10 based on above two system architecture The structural schematic diagram of two equipment.Wherein, the second equipment shown in Fig. 10 is that the second equipment as shown in Figure 9 optimizes to obtain 's.Compared with the second equipment shown in Fig. 9, the second equipment shown in Fig. 10 is removed all including the second equipment shown in Fig. 9 Except module, it may also include the second receiving module 904, the second searching module 905 and the second sending module 906.Wherein:
Second receiving module 904 receives second that the first equipment is sent for the failure Member Link by aggregated links Detection messages, second detection messages carry the second destination mark, second destination mark be the first equipment storage with The aggregation interface of aggregated links identifies corresponding destination mark, which is used to indicate the second data message Destination is sent, the second destination mark and the first destination mark be not identical.
Second searching module 905, for being stored in the second equipment according to the second destination mark in the second detection messages Forwarding-table item in search whether exist and the associated forwarding-table item of the second destination mark.
In the embodiment of the present invention, after the second receiving module 904 receives the second detection messages that the first equipment is sent, triggering Second searching module 905 is according to the second destination mark in the second detection messages, in the forwarding-table item of the second equipment storage Search whether exist and the associated forwarding-table item of the second destination mark.
Second sending module 906, for being found in the forwarding-table item that the second equipment stores not when the second searching module 905 When in the presence of forwarding-table item associated with the second destination mark, the second response message is sent to the first equipment, is set with triggering first The standby link for being determined as failure Member Link not allow to send the second data message, second response message are used to indicate second Do not restore in equipment with the associated forwarding-table item of the second destination mark, which includes the second destination mark.
In the embodiment of the present invention, the first receiving module 901 and the second receiving module 904 can be same module or different moulds Block;First searching module 902 and the second searching module 905 can be same module or disparate modules;First sending module 903 Two sending modules 906 can be same module or disparate modules.
As an alternative embodiment, second detection messages also carry the second service feature, second business is special Sign is the service feature corresponding with the aggregation interface of aggregated links mark of the first equipment storage, which is the The storage of one equipment is used for aggregation interface mark and the corresponding destination mark of the second service feature, second response message It indicates not restore in the second equipment with the second destination mark and the associated forwarding-table item of the second service feature, second data The service feature of message belongs to the second service feature.
Second searching module 905 is specifically used for:
According to the second destination mark and the second service feature in the second detection messages, in the forwarding of the second equipment storage Search whether exist and the second destination mark and the associated forwarding-table item of the second service feature in list item.
Second sending module 906 is specifically used for:
When the second searching module 905 find the second equipment storage forwarding-table item in be not present and the second destination mark With the second service feature associated forwarding-table item when, to the first equipment send the second response message.
As it can be seen that can avoid after failure Member Link fault recovery by implementing the second equipment described in Figure 10, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Based on above two system architecture, Figure 11 is please referred to, Figure 11 is disclosed by the embodiments of the present invention another second to set Standby structural schematic diagram.As shown in figure 11, which includes at least: processor 1101 passes through bus 1102 and processor 1101 memory 1103, receiver 1104 and the transmitters 1105 being connected.Wherein, memory 1103 is for storing batch processing Code, wherein processor 1101 is for calling the program code stored in memory 1103, for performing the following operations:
It controls and receives device 1104 and the first detection report that first equipment is sent is received by the failure Member Link of aggregated links Text, first detection messages carry the first destination mark, which is the poly- with this of first equipment storage The aggregation interface for closing link identifies corresponding destination mark, which is used to indicate the hair of the first data message Send destination.
According to the first destination mark in first detection messages, searched in the forwarding-table item that memory 1103 stores With the presence or absence of with the associated forwarding-table item of the first destination mark.
If memory 1103 store forwarding-table item in exist with the associated forwarding-table item of the first destination mark, lead to It crosses transmitter 1105 and sends the first response message to first equipment, determined with triggering first equipment for the failure Member Link For the link for allowing to send first data message, which is used to indicate in memory 1103 and first purpose The ground associated forwarding-table item of mark is recovered, which includes first destination mark.
As an alternative embodiment, processor 1101 calls the program code stored in memory 1103, also hold The following operation of row:
It controls and receives device 1104 and the second detection report that first equipment is sent is received by the failure Member Link of aggregated links Text, second detection messages carry the second destination mark, which is the poly- with this of first equipment storage The aggregation interface for closing link identifies corresponding destination mark, which is used to indicate the hair of the second data message Destination is sent, second destination mark and first destination mark be not identical;
According to the second destination mark in second detection messages, searched in the forwarding-table item that memory 1103 stores With the presence or absence of with the associated forwarding-table item of the second destination mark;
If memory 1103 store forwarding-table item in there is no with the associated forwarding-table item of the second destination mark, The second response message is sent to first equipment by transmitter 1105, it is to trigger first equipment that the failure Member Link is true Be set to the link for not allowing to send second data message, second response message be used to indicate in memory 1103 with this second The associated forwarding-table item of destination mark does not restore, which includes second destination mark.
As an alternative embodiment, first detection messages also carry the first service feature, first business is special Sign is the service feature corresponding with the aggregation interface of aggregated links mark of first equipment storage, first destination mark For first equipment storage and aggregation interface mark and the corresponding destination mark of first service feature, this first is answered Message is answered to be used to indicate in memory 1103 and first destination mark and the associated forwarding-table item of first service feature Recovered, the service feature of first data message belongs to first service feature;So correspondingly, 1101 basis of processor The first destination mark in first detection messages searches whether exist and this in the forwarding-table item that memory 1103 stores The specific embodiment of the associated forwarding-table item of first destination mark may include following operation:
Processor 1101 is according to the first destination mark and the first service feature in first detection messages, in memory Search whether exist and first destination mark and associated turn of first service feature in the forwarding-table item of 1103 storages Forwarding list item;
Correspondingly, if existing and the associated forwarding table of the first destination mark in the forwarding-table item that memory 1103 stores , then processor 1101 may include to the specific embodiment that first equipment sends the first response message by transmitter 1105 It operates below:
If existing in the forwarding-table item that memory 1103 stores equal with first destination mark and first service feature Associated forwarding-table item, then processor 1101 sends the first response message to first equipment by transmitter 1105.
As an alternative embodiment, second detection messages also carry the second service feature, second business is special Sign is the service feature corresponding with the aggregation interface of aggregated links mark of first equipment storage, second destination mark For first equipment storage and aggregation interface mark and the corresponding destination mark of second service feature, this second is answered Message is answered to be used to indicate in memory 1103 and second destination mark and the associated forwarding-table item of second service feature Do not restore, the service feature of second data message belongs to second service feature;So correspondingly, processor 1101 is according to this The second destination mark in second detection messages, search whether to exist in the forwarding-table item that memory 1103 stores with this The specific embodiment of the associated forwarding-table item of two destination marks may include following operation:
Processor 1101 is according to the second destination mark and the second service feature in second detection messages, in memory Search whether exist and second destination mark and associated turn of second service feature in the forwarding-table item of 1103 storages Forwarding list item;
Correspondingly, if being not present and the associated forwarding of the second destination mark in the forwarding-table item that memory 1103 stores List item, then processor 1101 can be wrapped by transmitter 1105 to the specific embodiment that first equipment sends the second response message Include following operation:
If being not present and second destination mark and second service feature in the forwarding-table item that memory 1103 stores Associated forwarding-table item, then processor 1101 sends the second response message to first equipment by transmitter 1105.
As it can be seen that can avoid after failure Member Link fault recovery by implementing the second equipment described in Figure 11, lead to It crosses the failure Member Link therefore sends datagram and reach the case where the second equipment is dropped later.
Based on above two system architecture, Figure 12 is please referred to, Figure 12 is disclosed by the embodiments of the present invention another first to set Standby structural schematic diagram.Wherein, the first equipment shown in Figure 12 may include obtaining module 1201, generation module 1202, sending Module 1203 and determining module 1204.Wherein:
Obtain module 1201, for confirmation aggregated links failure Member Link fault recovery after, from the first equipment Sampling obtains N number of destination mark in the destination mark set corresponding with the aggregation interface of aggregated links mark of storage, In, which is used to indicate the transmission destination of data message, and N is the integer more than or equal to 2.
Generation module 1202, for generating N number of detection messages, any one detection messages in N number of detection messages are carried There is any one destination mark in N number of destination mark, and N number of detection messages and N number of destination mark are one by one It is corresponding.
In the embodiment of the present invention, after obtaining the N number of destination mark of the sampling acquisition of module 1201, generation module 1202 is triggered Generate N number of detection messages.
Sending module 1203, for sending N number of detection messages to the second equipment by failure Member Link.
In the embodiment of the present invention, after generation module 1202 generates N number of detection messages, triggering sending module 1203 passes through event Hinder Member Link and sends N number of detection messages to the second equipment.
Determining module 1204, for working as the N number of response message for receiving the second equipment and responding N number of detection messages return When, N number of response message and N number of detection messages correspond, and failure Member Link is determined as allowing to send destination mark The link of the corresponding data message of each destination mark in set, wherein the corresponding datagram of each destination mark Text is the data message for including the destination mark, which is used to indicate in the second equipment and N number of destination mark Associated forwarding-table item is recovered.
As an alternative embodiment, each detection messages in N number of detection messages also carry service feature, it should Service feature is the service feature corresponding with aggregation interface mark of the first equipment storage, each of the destination mark set Destination mark is to identify corresponding destination mark with service feature and aggregation interface, which is used to indicate It is recovered with the associated forwarding-table item of N number of destination mark and service feature in second equipment, each destination mark Corresponding data message is the data message for belonging to service feature.
As an alternative embodiment, the total quantity of the destination mark in N and destination mark set is positively correlated.
In practical applications, many purpose terrestrial references be may include in destination mark set corresponding with aggregation interface mark Know, if the first equipment generates a detection messages to each destination mark, the second equipment will receive and process many inspections Text is observed and predicted, the detection messages of the second equipment processing are more, and the workload of the second equipment is bigger.Implementing first described in Figure 12 In equipment, the first equipment can be sampled from destination mark set obtains N number of destination mark, and to the mesh that each sampling obtains Ground mark generate a detection messages be sent to the second equipment;When receive the second equipment return be used to indicate the second equipment In restored with the associated forwarding-table item of N number of destination mark N number of response message when, determine the second equipment storage and mesh Ground logo collection in each destination identify associated forwarding-table item and restored.As it can be seen that by implementing described in Figure 12 First equipment can greatly reduce the workload of the second equipment.And detection messages are generated by sampling, it can quickly determine second Equipment storage identifies whether associated forwarding-table item has restored with each destination in destination mark set.And pass through Implement the first equipment described in Figure 12, also can avoid after failure Member Link fault recovery, pass through failure member's chain Road, which sends datagram, reaches the case where the second equipment is dropped later.
Based on above two system architecture, Figure 13 is please referred to, Figure 13 is disclosed by the embodiments of the present invention another first to set Standby structural schematic diagram.As shown in figure 13, which includes at least: processor 1301 passes through bus 1302 and processor 1301 memory 1303, receiver 1304 and the transmitters 1305 being connected.Wherein, memory 1303 is for storing batch processing Code, wherein processor 1301 is for calling the program code stored in memory 1303, for performing the following operations:
After the failure Member Link fault recovery of confirmation aggregated links, stored from memory 1303 and aggregated links Aggregation interface identify sampling in corresponding destination mark set and obtain N number of destination mark, wherein the destination mark is used In the transmission destination of designation date message, N is the integer more than or equal to 2.
N number of detection messages are generated, any one detection messages in N number of detection messages carry N number of destination mark In any one destination mark, and N number of detection messages and the N number of destination mark correspond.
It controls transmitter 1305 and N number of detection messages is sent to the second equipment by failure Member Link.
It, should when receiving the second equipment by receiver 1304 and responding N number of response message that the N number of detection messages return N number of response message and N number of detection messages correspond, and failure Member Link is determined as allowing to send in destination mark set The corresponding data message of each destination mark link, wherein the corresponding data message of each destination mark is packet The data message of the destination mark is included, which is used to indicate in the second equipment is associated with N number of destination mark Forwarding-table item it is recovered.
In the embodiment of the present invention, when being based on system architecture shown in Fig. 2, which can be transponder.
In the embodiment of the present invention, be based on system architecture shown in Fig. 3 when, processor 801 generate N number of detection messages it Afterwards, which is sent to transponder by control transmitter 1305, and passes through failure Member Link to second from transponder Equipment sends N number of detection messages.
As an alternative embodiment, each detection messages in N number of detection messages also carry service feature, it should Service feature is the service feature corresponding with aggregation interface mark that memory 1303 stores, every in the destination mark set A destination mark is to identify corresponding destination mark with service feature and aggregation interface, and N number of response message is for referring to Show recovered with N number of destination mark and the associated forwarding-table item of service feature in the second equipment, each destination Identifying corresponding data message is the data message for belonging to service feature.
As an alternative embodiment, the total quantity of the destination mark in N and destination mark set is positively correlated.
As it can be seen that the workload of the second equipment can be greatly reduced by implementing the first equipment described in Figure 13.And pass through Sampling generates detection messages, can quickly determine identifying with each destination in destination mark set for the second equipment storage Whether associated forwarding-table item has restored.And by implementing the first equipment described in Figure 13, also can avoid in failure member After link failure recovery, sent datagram the case where being dropped after reaching the second equipment hair by the failure Member Link It is raw.
Based on above two system architecture, Figure 14 is please referred to, Figure 14 is disclosed by the embodiments of the present invention another second to set Standby structural schematic diagram.Wherein, the second equipment shown in Figure 14 may include receiving module 1401, searching module 1402 and send Module 1403.Wherein:
Receiving module 1401 receives N number of detection that the first equipment is sent for the failure Member Link by aggregated links Message, wherein any one detection messages in N number of detection messages carry any one destination in N number of destination mark Mark, and N number of detection messages and the N number of destination mark correspond, N number of destination mark are the first equipment from the The storage of one equipment identifies what sampling in corresponding destination mark set obtained with the aggregation interface of aggregated links, the destination Mark is used to indicate the transmission destination of data message, and N is the integer more than or equal to 2.
Searching module 1402, for being stored in the second equipment according to N number of destination mark in N number of detection messages Forwarding-table item in search whether to exist and each of N number of destination mark associated forwarding-table item of destination mark.
In the embodiment of the present invention, after receiving module 1401 receives N number of detection messages that the first equipment is sent, triggering is searched According to N number of destination mark in N number of detection messages, search in the forwarding-table item of the second equipment storage is module 1402 It is no to exist and each of the N number of destination mark associated forwarding-table item of destination mark.
Sending module 1403, for when searching module 1402 search the second equipment storage forwarding-table item in exist and the N When the associated forwarding-table item of each of a destination mark destination mark, N number of response message is returned to the first equipment, with The first equipment is triggered to correspond to each destination mark that failure Member Link is determined as allowing to send in destination mark set Data message link, wherein the corresponding data message of each destination mark is the data for including the destination mark Message, N number of response message and N number of detection messages correspond, which is used to indicate in the second equipment and is somebody's turn to do N number of associated forwarding-table item of destination mark has restored.
As an alternative embodiment, each detection messages in N number of detection messages also carry service feature, it should Service feature is the service feature corresponding with aggregation interface mark of the first equipment storage, each of the destination mark set Destination mark is to identify corresponding destination mark with service feature and aggregation interface, which is used to indicate Restore in second equipment with N number of destination mark and the associated forwarding-table item of service feature, each purpose terrestrial reference Knowing corresponding data message is the data message for belonging to service feature.
Searching module 1402 is specifically used for:
According in N number of detection messages service feature and N number of destination mark, the second equipment storage and business Search whether that there are the associated forwardings of each of N number of destination mark destination mark in the forwarding-table item of feature association List item.
Sending module 1403 is specifically used for:
When searching module 1402 is found, there are in N number of destination mark with the associated forwarding-table item of service feature When the associated forwarding-table item of each destination mark, N number of response message is returned to the first equipment.
As it can be seen that the workload of the second equipment can be greatly reduced by implementing the second equipment described in Figure 14.And pass through Sampling generates detection messages, can quickly determine identifying with each destination in destination mark set for the second equipment storage Whether associated forwarding-table item has restored.And by implementing the second equipment described in Figure 14, also can avoid in failure member After link failure recovery, sent datagram the case where being dropped after reaching the second equipment hair by the failure Member Link It is raw.
Based on above two system architecture, Figure 15 is please referred to, Figure 15 is disclosed by the embodiments of the present invention another second to set Standby structural schematic diagram.As shown in figure 15, which includes at least: processor 1501 passes through bus 1502 and processor 1501 memory 1503, receiver 1504 and the transmitters 1505 being connected.Wherein, memory 1503 is for storing batch processing Code, wherein processor 1501 is for calling the program code stored in memory 1503, for performing the following operations:
It controls and receives device 1504 and N number of detection report that first equipment is sent is received by the failure Member Link of aggregated links Text, wherein any one detection messages in N number of detection messages carry any one purpose terrestrial reference in N number of destination mark Know, and N number of detection messages and the N number of destination mark correspond, N number of destination mark be first equipment from this The storage of first equipment identifies what sampling in corresponding destination mark set obtained with the aggregation interface of the aggregated links, the mesh Ground mark be used to indicate the transmission destination of data message, which is the integer more than or equal to 2.
According to N number of destination mark in N number of detection messages, searched in the forwarding-table item that memory 1503 stores With the presence or absence of with each of N number of destination mark associated forwarding-table item of destination mark.
When existing in the forwarding-table item that memory 1503 stores and each of N number of destination mark destination mark When associated forwarding-table item, N number of response message is returned to the first equipment by transmitter 1505, to trigger the first equipment for the event Barrier Member Link is determined as allowing to send the chain of the corresponding data message of each destination mark in the destination mark set Road, wherein the corresponding data message of each destination mark is the data message for including the destination mark, N number of response Message and N number of detection messages correspond, which is used to indicate in second equipment and N number of purpose terrestrial reference Know associated forwarding-table item to have restored.
As an alternative embodiment, each detection messages in N number of detection messages also carry service feature, it should Service feature is the service feature corresponding with aggregation interface mark of the first equipment storage, every in the destination mark set A destination mark is to identify corresponding destination mark with the service feature and the aggregation interface, which uses Restore in instruction memory 1503 with N number of destination mark and the associated forwarding-table item of the service feature, this is every The corresponding data message of one destination mark is the data message for belonging to the service feature;So correspondingly, processor 1501 According to N number of destination mark in N number of detection messages, search whether to exist in the forwarding-table item that memory 1503 stores with The specific embodiment of the associated forwarding-table item of each of N number of destination mark destination mark can be with are as follows:
Processor 1501 is according to service feature and N number of destination mark in N number of detection messages, in memory 1503 storage with search whether that there are each of N number of destination mark mesh in the associated forwarding-table item of the service feature Ground identify associated forwarding-table item;
When existing in the forwarding-table item that memory 1503 stores and each of N number of destination mark destination mark When associated forwarding-table item, processor 1501 returns to the specific reality of N number of response message by transmitter 1505 to first equipment The mode of applying can be with are as follows:
When existing in the forwarding-table item that memory 1503 stores and that there are this in the associated forwarding-table item of the service feature is N number of When the associated forwarding-table item of each of destination mark destination mark, processor 1501 passes through transmitter 1505 to first Equipment returns to N number of response message.
As it can be seen that the workload of the second equipment can be greatly reduced by implementing the second equipment described in Figure 15.And pass through Sampling generates detection messages, can quickly determine identifying with each destination in destination mark set for the second equipment storage Whether associated forwarding-table item has restored.And by implementing the second equipment described in Figure 15, also can avoid in failure member After link failure recovery, sent datagram the case where being dropped after reaching the second equipment hair by the failure Member Link It is raw.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module in the first equipment and the second equipment of the embodiment of the present invention can be merged according to actual needs, be divided With delete.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
A kind of transmission control method disclosed by the embodiments of the present invention and equipment are described in detail above, answered herein With a specific example illustrates the principle and implementation of the invention, the explanation of above example is only intended to help to manage Solve method and its core concept of the invention;At the same time, for those skilled in the art, according to the thought of the present invention, There will be changes in specific embodiment and application range, in conclusion the content of the present specification should not be construed as to this hair Bright limitation.

Claims (28)

1. a kind of transmission control method, which is characterized in that the described method includes:
After the failure Member Link fault recovery of the first equipment confirmation aggregated links, first equipment generates the first detection Message, first detection messages carry the first destination mark, and first destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, first destination mark is used to indicate first The transmission destination of data message;
First equipment sends first detection messages to the second equipment by the failure Member Link;
If first equipment receives second equipment and responds the first response message that first detection messages return, The failure Member Link is determined as allowing to send the link of first data message by first equipment, wherein described First response message be used to indicate in second equipment it is recovered with the associated forwarding-table item of the first destination mark, First data message includes first destination mark.
2. the method according to claim 1, wherein first detection messages also carry the first service feature, The service feature corresponding with aggregation interface mark that first service feature stores for first equipment, described first Destination mark be first equipment storage with the aggregation interface mark and the corresponding mesh of first service feature Ground mark, first response message is used to indicate in second equipment and first destination mark and described first The associated forwarding-table item of service feature is recovered, and it is special that the service feature of first data message belongs to first business Sign.
3. method according to claim 1 or 2, which is characterized in that in the failure member of the first equipment confirmation aggregated links After link failure recovery, the method also includes:
The second detection messages of the first equipment generation, the second destination mark of the second detection messages carrying, described second Destination mark is the destination mark corresponding with the aggregation interface of aggregated links mark of first equipment storage, institute State the transmission destination that the second destination mark is used to indicate the second data message, second destination mark and described first Destination mark is not identical;
First equipment sends second detection messages to the second equipment by the failure Member Link;
The method also includes:
If first equipment receives second equipment and responds the second response message that second detection messages return, The failure Member Link is determined as not allowing to send the link of second data message by first equipment, wherein institute It states the second response message and is used to indicate in second equipment and do not restore with the associated forwarding-table item of the second destination mark, Second data message includes second destination mark;Alternatively,
If first equipment does not receive second equipment within a preset period of time and responds the second detection messages return Third response message, then the failure Member Link is determined as not allowing to send second datagram by first equipment The link of text, wherein the third response message is used to indicate in second equipment and is associated with second destination mark Forwarding-table item it is recovered, second data message includes second destination mark.
4. according to the method described in claim 3, it is characterized in that, second detection messages also carry the second service feature, The service feature corresponding with aggregation interface mark that second service feature stores for first equipment, described second Destination mark be first equipment storage with the aggregation interface mark and the corresponding mesh of second service feature Ground mark, second response message is used to indicate in second equipment and second destination mark and described second The associated forwarding-table item of service feature does not restore, and the third response message is used to indicate in second equipment and described Two destination marks and the associated forwarding-table item of second service feature have restored, and the business of second data message is special Sign belongs to second service feature.
5. a kind of transmission control method, which is characterized in that the described method includes:
After the failure Member Link fault recovery of the first equipment confirmation aggregated links, first equipment is set from described first Sampling obtains N number of purpose terrestrial reference in the destination mark set corresponding with the aggregation interface of aggregated links mark of standby storage Know, wherein the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
First equipment generates N number of detection messages, any one detection messages in N number of detection messages carry the N Any one destination mark in a destination mark, and N number of detection messages and N number of destination mark one are a pair of It answers;
First equipment sends N number of detection messages to the second equipment by the failure Member Link;
If first equipment receives second equipment and responds N number of response message that N number of detection messages return, described N number of response message and N number of detection messages correspond, then the failure Member Link is determined as permitting by first equipment Perhaps the link of the corresponding data message of each destination mark in the destination mark set is sent, wherein described each The corresponding data message of destination mark is the data message for including the destination mark, and N number of response message is used to indicate It is recovered with N number of associated forwarding-table item of destination mark in second equipment.
6. according to the method described in claim 5, it is characterized in that, each detection messages in N number of detection messages are also taken Band service feature, the service feature are the service feature corresponding with aggregation interface mark of first equipment storage, Each destination in the destination mark set is identified as corresponding with the service feature and aggregation interface mark Destination mark, N number of response message is used to indicate in second equipment and N number of destination mark and the industry The associated forwarding-table item of feature of being engaged in is recovered, and the corresponding data message of each destination mark is to belong to the business The data message of feature.
7. method according to claim 5 or 6, which is characterized in that the purpose in the N and the destination mark set The total quantity of ground mark is positively correlated.
8. a kind of transmission control method, which is characterized in that the described method includes:
The first detection messages that second equipment is sent by failure Member Link the first equipment of reception of aggregated links, described first Detection messages carry the first destination mark, first destination mark be first equipment storage with the polymeric chain The aggregation interface on road identifies corresponding destination mark, and first destination mark is used to indicate the transmission of the first data message Destination;
Second equipment is according to the first destination mark in first detection messages, in turning for second equipment storage Search whether exist and the associated forwarding-table item of the first destination mark in forwarding list item;
If existing and the associated forwarding-table item of the first destination mark, institute in the forwarding-table item of the second equipment storage It states the second equipment and sends the first response message to first equipment, to trigger first equipment for the failure Member Link Be determined as allowing to send the link of first data message, first response message be used to indicate in second equipment with The associated forwarding-table item of first destination mark is recovered, and first data message includes the terrestrial reference of first mesh Know.
9. according to the method described in claim 8, it is characterized in that, first detection messages also carry the first service feature, First service feature is that the business corresponding with the aggregation interface of aggregated links mark of first equipment storage is special Sign, first destination mark be first equipment storage with the aggregation interface mark and first service feature Corresponding destination mark, first response message are used to indicate in second equipment and first destination mark Recovered with the associated forwarding-table item of first service feature, the service feature of first data message belongs to described First service feature;
Second equipment is according to the first destination mark in first detection messages, in turning for second equipment storage Search whether exist and the associated forwarding-table item of the first destination mark in forwarding list item, comprising:
Second equipment is according to the first destination mark and the first service feature in first detection messages, described It searches whether to exist in the forwarding-table item of two equipment storage and be closed with first destination mark and first service feature The forwarding-table item of connection;
If exist in the forwarding-table item of second equipment storage with the associated forwarding-table item of the first destination mark, Then second equipment sends the first response message to first equipment, comprising:
If existing and first destination mark and first service feature in the forwarding-table item of the second equipment storage Associated forwarding-table item, then second equipment sends the first response message to first equipment.
10. method according to claim 8 or claim 9, which is characterized in that the method also includes:
The second detection messages that second equipment is sent by failure Member Link the first equipment of reception of aggregated links, described second Detection messages carry the second destination mark, second destination mark be first equipment storage with the polymeric chain The aggregation interface on road identifies corresponding destination mark, and second destination mark is used to indicate the transmission of the second data message Destination, second destination mark and first destination mark be not identical;
Second equipment is according to the second destination mark in second detection messages, in turning for second equipment storage Search whether exist and the associated forwarding-table item of the second destination mark in forwarding list item;
If in the forwarding-table item of second equipment storage there is no with the associated forwarding-table item of the second destination mark, Second equipment sends the second response message to first equipment, to trigger first equipment for the failure member chain Road is determined as not allowing to send the link of second data message, and second response message is used to indicate second equipment In do not restore with the associated forwarding-table item of the second destination mark, second data message includes second destination Mark.
11. according to the method described in claim 10, it is characterized in that, second detection messages also carry the second business spy Sign, second service feature are the business corresponding with the aggregation interface of aggregated links mark of first equipment storage Feature, second destination mark are the special with aggregation interface mark and second business of first equipment storage Corresponding destination mark is levied, second response message is used to indicate the terrestrial reference in second equipment with second mesh Know and the associated forwarding-table item of second service feature does not restore, the service feature of second data message belongs to described Second service feature;
Second equipment is according to the second destination mark in second detection messages, in turning for second equipment storage Search whether exist and the associated forwarding-table item of the second destination mark in forwarding list item, comprising:
Second equipment is according to the second destination mark and the second service feature in second detection messages, described It searches whether to exist in the forwarding-table item of two equipment storage and be closed with second destination mark and second service feature The forwarding-table item of connection;
If being not present and the associated forwarding table of the second destination mark in the forwarding-table item of the second equipment storage , then second equipment sends the second response message to first equipment, comprising:
If there is no special with second destination mark and second business in the forwarding-table item of the second equipment storage Associated forwarding-table item is levied, then second equipment sends the second response message to first equipment.
12. a kind of transmission control method, which is characterized in that the described method includes:
Second equipment receives N number of detection messages that the first equipment is sent by the failure Member Link of aggregated links, wherein described Any one detection messages in N number of detection messages carry any one destination mark in N number of destination mark, and described N number of detection messages and the N number of destination mark correspond, and N number of destination mark is first equipment from described The storage of first equipment identifies what sampling in corresponding destination mark set obtained with the aggregation interface of the aggregated links, institute The transmission destination that destination mark is used to indicate data message is stated, the N is the integer more than or equal to 2;
Second equipment is according to N number of destination mark in N number of detection messages, in second equipment storage Search whether exist and each of the N number of destination mark associated forwarding-table item of destination mark in forwarding-table item;
If it exists with each of N number of destination mark associated forwarding-table item of destination mark, then described second set It is standby to return to N number of response message to first equipment, it is determined as permitting to trigger first equipment for the failure Member Link Perhaps the link of the corresponding data message of each destination mark in the destination mark set is sent, wherein described each The corresponding data message of destination mark is the data message for including the destination mark, N number of response message with it is described N number of Detection messages correspond, and N number of response message is used to indicate in second equipment and is associated with N number of destination mark Forwarding-table item restored.
13. according to the method for claim 12, which is characterized in that each detection messages in N number of detection messages are also Service feature is carried, the service feature is that the business corresponding with aggregation interface mark of first equipment storage is special It levies, each destination in the destination mark set is identified as right with the service feature and aggregation interface mark The destination mark answered, N number of response message are used to indicate in second equipment and N number of destination mark and described The associated forwarding-table item of service feature has restored, and the corresponding data message of each destination mark is to belong to the industry The data message for feature of being engaged in;
Second equipment is according to N number of destination mark in N number of detection messages, in second equipment storage Search whether to exist in forwarding-table item with each of N number of destination mark associated forwarding-table item of destination mark, Include:
Second equipment according in N number of detection messages the service feature and N number of destination mark, described Second equipment storage with searched whether in the associated forwarding-table item of the service feature exist in N number of destination mark The associated forwarding-table item of each destination mark;
If it exists with each of N number of destination mark associated forwarding-table item of destination mark, then described second set It is standby to return to N number of response message to first equipment, comprising:
If with existing in the associated forwarding-table item of the service feature and each of N number of destination mark purpose terrestrial reference Know associated forwarding-table item, then second equipment returns to N number of response message to first equipment.
14. method according to claim 12 or 13, which is characterized in that in the N and the destination mark set The total quantity of destination mark is positively correlated.
15. a kind of first equipment, which is characterized in that first equipment includes:
Generation module, for generating the first detection messages, institute after the failure Member Link fault recovery of confirmation aggregated links State the first detection messages carry the first destination mark, first destination mark be first equipment storage with it is described The aggregation interface of aggregated links identifies corresponding destination mark, and first destination mark is used to indicate the first data message Transmission destination;
Sending module, for sending first detection messages to the second equipment by the failure Member Link;
Determining module, for working as the first response message for receiving second equipment and responding the first detection messages return When, the failure Member Link is determined as to allow to send the link of first data message, wherein the first response report Text is used to indicate in second equipment, first number recovered with the associated forwarding-table item of the first destination mark It include first destination mark according to message.
16. the first equipment according to claim 15, which is characterized in that first detection messages also carry the first business Feature, first service feature are the service feature corresponding with aggregation interface mark of first equipment storage, institute Stating the first destination mark is the right with aggregation interface mark and first service feature of first equipment storage The destination mark answered, first response message are used to indicate in second equipment and first destination mark and institute State that the associated forwarding-table item of the first service feature is recovered, and the service feature of first data message belongs to described first Service feature.
17. the first equipment according to claim 15 or 16, which is characterized in that
The generation module is also used to after the failure Member Link fault recovery of confirmation aggregated links, generates the second detection Message, second detection messages carry the second destination mark, and second destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, second destination mark is used to indicate second The transmission destination of data message, second destination mark and first destination mark be not identical;
The sending module is also used to send second detection messages to the second equipment by the failure Member Link;
The determining module, is also used to:
When receiving second equipment and responding the second response message that second detection messages return, by the failure at Member's link is determined as not allowing to send the link of second data message, wherein second response message is used to indicate institute It states in the second equipment and does not restore with the associated forwarding-table item of the second destination mark, second data message includes described Second destination mark;
Alternatively,
The third response report that second detection messages return is responded when not receiving second equipment within a preset period of time The failure Member Link is determined as not allowing to send the link of second data message, wherein the third is answered by Wen Shi Answer message be used to indicate in second equipment it is recovered with the associated forwarding-table item of the second destination mark, described Two data messages include second destination mark.
18. the first equipment according to claim 17, which is characterized in that second detection messages also carry the second business Feature, second service feature are the service feature corresponding with aggregation interface mark of first equipment storage, institute Stating the second destination mark is the right with aggregation interface mark and second service feature of first equipment storage The destination mark answered, second response message are used to indicate in second equipment and second destination mark and institute The associated forwarding-table item of the second service feature is stated not restore, the third response message be used to indicate in second equipment with Second destination mark and the associated forwarding-table item of second service feature have restored, second data message Service feature belongs to second service feature.
19. a kind of first equipment, which is characterized in that first equipment includes:
Module is obtained, for being stored after the failure Member Link fault recovery of confirmation aggregated links from first equipment Destination mark set corresponding with the aggregation interface of aggregated links mark in sampling obtain N number of destination mark, In, the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
Generation module, for generating N number of detection messages, any one detection messages in N number of detection messages carry the N Any one destination mark in a destination mark, and N number of detection messages and N number of destination mark one are a pair of It answers;
Sending module, for sending N number of detection messages to the second equipment by the failure Member Link;
Determining module, for when receiving second equipment and responding N number of response message that the N number of detection messages return, N number of response message and N number of detection messages correspond, and the failure Member Link is determined as allowing described in transmission The link of the corresponding data message of each destination mark in destination mark set, wherein each destination mark Corresponding data message is the data message for including the destination mark, and N number of response message is used to indicate described second and sets It is recovered with N number of associated forwarding-table item of destination mark in standby.
20. the first equipment according to claim 19, which is characterized in that each detection report in N number of detection messages Text also carries service feature, and the service feature is the business corresponding with aggregation interface mark of first equipment storage Feature, each destination in the destination mark set are identified as equal with the service feature and aggregation interface mark Corresponding destination mark, N number of response message are used to indicate in second equipment and N number of destination mark and institute It is recovered to state the associated forwarding-table item of service feature, the corresponding data message of each destination mark be belong to it is described The data message of service feature.
21. the first equipment described in 9 or 20 according to claim 1, which is characterized in that the N and the destination mark set In destination mark total quantity be positively correlated.
22. a kind of second equipment, which is characterized in that second equipment includes:
First receiving module receives the first detection report that the first equipment is sent for the failure Member Link by aggregated links Text, first detection messages carry the first destination mark, and first destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, first destination mark are used to indicate the first number According to the transmission destination of message;
First searching module, for being deposited in second equipment according to the first destination mark in first detection messages Search whether exist and the associated forwarding-table item of the first destination mark in the forwarding-table item of storage;
First sending module, for existing when in the forwarding-table item that first searching module finds the second equipment storage When forwarding-table item associated with first destination mark, the first equipment of Xiang Suoshu sends the first response message, to trigger The first equipment is stated to be determined as the failure Member Link to allow to send the link of first data message, first response Message be used to indicate in second equipment it is recovered with the associated forwarding-table item of the first destination mark, described first Data message includes first destination mark.
23. the second equipment according to claim 22, which is characterized in that first detection messages also carry the first business Feature, first service feature are the industry corresponding with the aggregation interface of aggregated links mark of first equipment storage Be engaged in feature, first destination mark be first equipment storage with the aggregation interface mark and first business The corresponding destination mark of feature, first response message are used to indicate in second equipment and first destination Mark and the associated forwarding-table item of first service feature are recovered, and the service feature of first data message belongs to First service feature;
First searching module is specifically used for:
According to the first destination mark and the first service feature in first detection messages, in second equipment storage Search whether exist and first destination mark and the associated forwarding-table item of first service feature in forwarding-table item;
First sending module is specifically used for:
Exist and first destination when in the forwarding-table item that first searching module finds the second equipment storage Mark and first service feature associated forwarding-table item when, then to first equipment send the first response message.
24. second equipment according to claim 22 or 23, which is characterized in that second equipment further include:
Second receiving module receives the second detection report that the first equipment is sent for the failure Member Link by aggregated links Text, second detection messages carry the second destination mark, and second destination mark is first equipment storage Destination mark corresponding with the aggregation interface of aggregated links mark, second destination mark are used to indicate the second number According to the transmission destination of message, second destination mark and first destination mark be not identical;
Second searching module, for being deposited in second equipment according to the second destination mark in second detection messages Search whether exist and the associated forwarding-table item of the second destination mark in the forwarding-table item of storage;
Second sending module, for not deposited when in the forwarding-table item that second searching module finds the second equipment storage In forwarding-table item associated with second destination mark, the first equipment of Xiang Suoshu sends the second response message, with triggering The failure Member Link is determined as not allowing to send the link of second data message by first equipment, and described second Response message is used to indicate in second equipment not to be restored with the associated forwarding-table item of the second destination mark, and described Two data messages include second destination mark.
25. the second equipment according to claim 24, which is characterized in that second detection messages also carry the second business Feature, second service feature are the industry corresponding with the aggregation interface of aggregated links mark of first equipment storage Be engaged in feature, second destination mark be first equipment storage with the aggregation interface mark and second business The corresponding destination mark of feature, second response message are used to indicate in second equipment and second destination Mark and the associated forwarding-table item of second service feature do not restore, and the service feature of second data message belongs to institute State the second service feature;
Second searching module is specifically used for:
According to the second destination mark and the second service feature in second detection messages, in second equipment storage Search whether exist and second destination mark and the associated forwarding-table item of second service feature in forwarding-table item;
Second sending module is specifically used for:
It is not present and second purpose when in the forwarding-table item that second searching module finds the second equipment storage Ground mark and second service feature associated forwarding-table item when, the first equipment of Xiang Suoshu send the second response message.
26. a kind of second equipment, which is characterized in that second equipment includes:
Receiving module receives N number of detection messages that the first equipment is sent for the failure Member Link by aggregated links, In, any one detection messages in N number of detection messages carry any one destination mark in N number of destination mark, And N number of detection messages and N number of destination mark correspond, and N number of destination mark sets for described first It is standby to be sampled from the destination mark set corresponding with the aggregation interface of aggregated links mark that first equipment stores It obtains, the destination mark is used to indicate the transmission destination of data message, and the N is the integer more than or equal to 2;
Searching module, for being stored in second equipment according to N number of destination mark in N number of detection messages Forwarding-table item in search whether to exist and each of N number of destination mark associated forwarding table of destination mark ?;
Sending module, for when exist in the forwarding-table item that the searching module searches second equipment storage with it is described N number of When the associated forwarding-table item of each of destination mark destination mark, the first equipment of Xiang Suoshu returns to N number of response message, It is determined as allowing to send to trigger first equipment for the failure Member Link each in the destination mark set The link of the corresponding data message of destination mark, wherein the corresponding data message of each destination mark be include this The data message of destination mark, N number of response message and N number of detection messages correspond, N number of response message It is used to indicate in second equipment and has restored with N number of associated forwarding-table item of destination mark.
27. the second equipment according to claim 26, which is characterized in that each detection report in N number of detection messages Text also carries service feature, and the service feature is the business corresponding with aggregation interface mark of first equipment storage Feature, each destination in the destination mark set are identified as equal with the service feature and aggregation interface mark Corresponding destination mark, N number of response message are used to indicate in second equipment and N number of destination mark and institute The associated forwarding-table item of service feature is stated to have restored, the corresponding data message of each destination mark be belong to it is described The data message of service feature;
The searching module is specifically used for:
According in N number of detection messages the service feature and N number of destination mark, second equipment store With search whether that there are each of N number of destination mark destinations in the associated forwarding-table item of the service feature Identify associated forwarding-table item;
The sending module is specifically used for:
When the searching module is found, there are in N number of destination mark with the associated forwarding-table item of the service feature Each destination mark associated forwarding-table item when, the first equipment of Xiang Suoshu returns to N number of response message.
28. second equipment according to claim 26 or 27, which is characterized in that the N and the destination mark set In destination mark total quantity be positively correlated.
CN201610071144.5A 2016-01-30 2016-01-30 A kind of transmission control method and equipment Active CN107026790B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610071144.5A CN107026790B (en) 2016-01-30 2016-01-30 A kind of transmission control method and equipment
PCT/CN2016/111934 WO2017128901A1 (en) 2016-01-30 2016-12-24 Forwarding control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610071144.5A CN107026790B (en) 2016-01-30 2016-01-30 A kind of transmission control method and equipment

Publications (2)

Publication Number Publication Date
CN107026790A CN107026790A (en) 2017-08-08
CN107026790B true CN107026790B (en) 2019-06-28

Family

ID=59397388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610071144.5A Active CN107026790B (en) 2016-01-30 2016-01-30 A kind of transmission control method and equipment

Country Status (2)

Country Link
CN (1) CN107026790B (en)
WO (1) WO2017128901A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108092853B (en) * 2017-12-27 2021-09-21 珠海市君天电子科技有限公司 Method, device and system for monitoring link state of server, electronic equipment and storage medium
CN111817955B (en) * 2019-04-12 2022-10-21 阿里巴巴集团控股有限公司 Data transmission system, method, device and equipment
CN110417761B (en) * 2019-07-17 2021-12-17 上海东土远景工业科技有限公司 Communication method and device based on dual-computer redundancy
CN112564931B (en) * 2019-09-25 2022-08-19 华为技术有限公司 Fault processing method, device and storage medium
CN112291116A (en) * 2020-11-23 2021-01-29 迈普通信技术股份有限公司 Link fault detection method and device and network equipment
CN113794641B (en) * 2021-08-20 2022-10-21 新华三信息安全技术有限公司 Message processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878135A (en) * 2006-01-17 2006-12-13 华为技术有限公司 Method for judging pseudo wire connection state in packet-switching network and service apparatus
CN101917290A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 method, device and network equipment for processing label transmitting path fault as well as network equipment
CN102142931A (en) * 2011-01-22 2011-08-03 华为数字技术有限公司 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)
CN102142982A (en) * 2010-11-23 2011-08-03 华为数字技术有限公司 Forwarding plane fault repair method and device
CN105227456A (en) * 2015-09-07 2016-01-06 浙江宇视科技有限公司 A kind of aggregated link failures recovers method and the device of transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252500B (en) * 2008-04-16 2012-08-08 杭州华三通信技术有限公司 Intersect looped network, node and realizing method of random topology intersect looped network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878135A (en) * 2006-01-17 2006-12-13 华为技术有限公司 Method for judging pseudo wire connection state in packet-switching network and service apparatus
CN101917290A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 method, device and network equipment for processing label transmitting path fault as well as network equipment
CN102142982A (en) * 2010-11-23 2011-08-03 华为数字技术有限公司 Forwarding plane fault repair method and device
CN102142931A (en) * 2011-01-22 2011-08-03 华为数字技术有限公司 Method, device and system for preventing packet loss of E-TRUNK (Enhanced-Trunk)
CN105227456A (en) * 2015-09-07 2016-01-06 浙江宇视科技有限公司 A kind of aggregated link failures recovers method and the device of transmission

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Pseudowire Virtual Circuit Connectivity Verification (VCCV):A Control Channel for Pseudowires;T.Nadeau 等;《NETWORK WORKING GROUP REQUEST FOR COMMENTS:5085》;20071231;第1-20页

Also Published As

Publication number Publication date
WO2017128901A1 (en) 2017-08-03
CN107026790A (en) 2017-08-08

Similar Documents

Publication Publication Date Title
CN107026790B (en) A kind of transmission control method and equipment
US11228515B2 (en) Data packet detection method, device, and system
US7898942B2 (en) Ring network system, failure recovery method, failure detection method, node and program for node
US10868734B2 (en) Service function chain detection path method and device
CN100454853C (en) Method for service channel detection and system for providing the same
US7607049B2 (en) Apparatus and method for detecting network failure location
CN105337785A (en) Path connectivity detection method and device
CN112751733B (en) Link detection method, device, equipment, system and switch
CN102571492B (en) Method and device for detecting failure of routing equipment
CN101193052A (en) Method and system for sub-network connection protection in multi-protocol label switching
US20120051263A1 (en) Network System, Network Management Server, and OAM Test Method
CN112929200B (en) SDN multi-controller oriented anomaly detection method
CN102088387A (en) Tunnel protection method and device of ring network
CN104618189A (en) Link failure detection method and device
CN110601919A (en) Loopback detection method and system
CN106411727A (en) Message processing method and device and autonomous system
CN103368844A (en) Message processing method and label switching router in MPLS network
CN106850268A (en) A kind of linear protection switching realizes device and method
CN109412851B (en) Link layer path detection method, device and system
CN110391961A (en) A kind of tunnel binding method, equipment and system
CN110417707A (en) Data send guard method, device, system and computer readable storage medium
CN104717143A (en) Method and equipment for many-one reducibility scene multicast data transmission
CN105812152B (en) A kind of ethernet ring network failure notification method
CN101969395B (en) Method for configuring code, method and system for detecting path and network equipment
CN110855566A (en) Method and device for dragging upstream flow

Legal Events

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