CN107026790A - A kind of transmission control method and equipment - Google Patents
A kind of transmission control method and equipment Download PDFInfo
- Publication number
- CN107026790A CN107026790A CN201610071144.5A CN201610071144A CN107026790A CN 107026790 A CN107026790 A CN 107026790A CN 201610071144 A CN201610071144 A CN 201610071144A CN 107026790 A CN107026790 A CN 107026790A
- Authority
- CN
- China
- Prior art keywords
- equipment
- destination mark
- mark
- forwarding
- destination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/24—Multipath
- H04L45/245—Link aggregation, e.g. trunking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
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 that the first equipment confirms aggregated links, the generation of the first equipment carries the first detection messages of the first destination mark, and sends the first detection messages to the second equipment by failure Member Link;If the first equipment receives the second equipment and responds first response message recovered for the forwarding-table item for indicating to associate with the first destination mark in the second equipment that the first detection messages are returned, failure Member Link is defined as the link for allowing to send the first data message for including the first destination mark by the first equipment.It can be seen that, by implementing the embodiment of the present invention, it is to avoid data message is lost after reaching second equipment.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of transmission control method and equipment.
Background technology
Aggregated links be by physically separate multilink bundling together, formed a data forwarding logic chain
Road.Fig. 1 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 bundle the logical links to form a device A to equipment B, i.e. aggregated links;
Wherein, physical link 1, physical link 2 and physical link 3 are the Member Link of aggregated links.
Aggregated links can strengthen the reliability of link connection, when event occurs for a certain Member Link of aggregated links
During barrier, the data message on the Member Link can be switched on other Member Links of aggregated links and be passed
It is defeated, it is to avoid single one physical link causes the unavailable of network because of the failure of link.For example, such as Fig. 1
Shown, if device A is upstream equipment, equipment B is upstream device, where equipment B member interface 1
When interface board breaks down, device A determines that physical link 1 breaks down, and device A can be by physical link 1
On data message switch to physical link 2 or physical link 3 is transmitted.Connect where member interface 1
During the fault recovery of oralia, device A determines the fault recovery of physical link 1, and device A is again by data message
Switchback to physical link 1 is transmitted.
But in practice, it has been found that when the place interface board of member interface 1 breaks down, the institute of member interface 1
The forwarding-table item stored in interface board can be lost.The place interface board of member interface 1 fault recovery it
Afterwards, data message switchback to physical link 1 is transmitted by device A, is often occurred data message arrival and is set
Situation about being dropped after standby B.
The content of the invention
The embodiment of the invention discloses a kind of transmission control method and equipment, it can solve the problem that and cut by data message
Shift to fault recovery Member Link be transmitted after, the problem of data message is lost.
First aspect of the embodiment of the present invention discloses a kind of transmission control method, and methods described includes:
After the failure Member Link fault recovery that the first equipment confirms aggregated links, the first equipment life
Into the first detection messages, first detection messages carry the first destination mark, the terrestrial reference of first mesh
Know the corresponding destination mark of aggregation interface mark with the aggregated links stored for first equipment,
First destination mark is used for the sending destination for indicating the first data message;
First equipment sends first detection messages by the failure Member Link to the second equipment;
Should if first equipment receives first that second equipment responds that first detection messages return
Message is answered, then the failure Member Link is defined as allowing to send first datagram by first equipment
The link of text, wherein, first response message is used to indicate in second equipment and first purpose
The forwarding-table item of ground mark association is recovered, and first data message includes first destination mark.
It is so whether extensive come the forwarding-table item for detecting the second device losses by sending detection messages to the second equipment
It is multiple, and after the forwarding-table item for detecting the second equipment recovers, just allow failure Member Link to be set to second
Preparation, which is sent, includes the data message of the target destination mark in the forwarding-table item that has recovered, so as to avoid number
It is lost after reaching the second equipment according to message.
In the first possible implementation of first aspect of the embodiment of the present invention, first detection messages
Also carry the first service feature, first service feature be first equipment store with it is described polymerize connect
The corresponding service feature of mouth mark, first destination mark is gathering with described for first equipment storage
Interface identifier and the corresponding destination mark of first service feature are closed, first response message is used for
Indicate the forwarding associated with first destination mark and first service feature in second equipment
List item is recovered, and the service feature of first data message belongs to first service feature.So exist
Under the scene that first equipment sends datagram according to service feature, it can avoid in failure Member Link failure
After recovery, the feelings being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
Condition occurs.
With reference to the first possible implementation of first aspect of the embodiment of the present invention or first aspect, in this hair
In second of possible implementation of bright embodiment first aspect, the event of aggregated links is confirmed in the first equipment
Hinder after Member Link fault recovery, methods described also includes:
First equipment generates the second detection messages, and second detection messages carry the second destination mark,
Second destination mark is the aggregation interface mark pair with the aggregated links that first equipment is stored
The destination mark answered, second destination mark is used for the sending destination for indicating the second data message,
Second destination mark is differed with first destination mark;
First equipment sends second detection messages by the failure Member Link to the second equipment;
Methods described also includes:
Should if first equipment receives second that second equipment responds that second detection messages return
Message is answered, then the failure Member Link is defined as not allowing to send second data by first equipment
The link of message, wherein, second response message is used to indicate in second equipment and second mesh
Ground mark association forwarding-table item do not recover, second data message include second destination mark;
Or,
If first equipment does not receive the second equipment response second detection in preset time period
Message return the 3rd response message, then first equipment failure Member Link is defined as not allowing
The link of second data message is sent, wherein, the 3rd response message is used to indicate that described second sets
The forwarding-table item associated in standby with second destination mark is recovered, and second data message includes
Second destination mark.So after the forwarding-table item for detecting the second equipment recovers, just allow event
Barrier Member Link sends the data of the target destination mark in the forwarding-table item for including having recovered to the second equipment
Message, is lost so as to avoid after data message reaches the second equipment.
With reference to second of possible implementation of first aspect of the embodiment of the present invention, in the embodiment of the present invention
In the third possible implementation of one side, second detection messages also carry the second service feature,
Second service feature is that the business corresponding with aggregation interface mark that first equipment is stored is special
Levy, second destination mark be first equipment store with aggregation interface mark and described the
The corresponding destination mark of two service features, second response message is used to indicate in second equipment
The forwarding-table item associated with second destination mark and second service feature does not recover, and described
Three response messages are used to indicate special with second destination mark and second business in second equipment
Levy the forwarding-table item associated to have recovered, the service feature of second data message belongs to second business
Feature.So 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 thus send datagram arrival the second equipment it
Situation about being dropped afterwards occurs.
Second aspect of the embodiment of the present invention discloses a kind of transmission control method, and methods described includes:
The first equipment confirm aggregated links failure Member Link fault recovery after, first equipment from
In the destination mark set corresponding with the aggregation interface mark of the aggregated links of the first equipment storage
Sampling obtains N number of destination mark, wherein, the destination mark is used for the transmission mesh for indicating data message
Ground, the N is integer more than or equal to 2;
First equipment generates any one detection messages in N number of detection messages, N number of detection messages
Carry any one destination mark in N number of destination mark, and N number of detection messages with
N number of destination mark is corresponded;
First equipment sends N number of detection messages by the failure Member Link to the second equipment;
If first equipment receives the second equipment response, N number of the N number of of detection messages return should
Message is answered, N number of response message is corresponded with N number of detection messages, then first equipment will
The failure Member Link is defined as allowing to send each destination mark pair in the destination mark set
The link for the data message answered, wherein, the corresponding data message of each destination mark is to include the mesh
Ground mark data message, N number of response message be used for indicate in second equipment with it is described N number of
The forwarding-table item of destination mark association is recovered.The workload of the second equipment so can be greatly reduced,
And can quickly determine being associated with each destination mark in destination mark set for the second equipment storage
Whether forwarding-table item has recovered, and it is logical can avoid after failure Member Link fault recovery, pass through the event
Barrier Member Link sends datagram reach the second equipment after situation about being dropped occur.
In the first possible implementation of second aspect of the embodiment of the present invention, N number of detection messages
In each detection messages also carry service feature, the service feature stored for first equipment with institute
State aggregation interface and identify corresponding service feature, each destination in the destination mark set is designated
Corresponding destination mark, N number of response message are identified with the service feature and the aggregation interface
For the forwarding for indicating to associate with N number of destination mark and the service feature in second equipment
List item is recovered, and the corresponding data message of each destination mark is the number for belonging to the service feature
According to message.So under the scene that the first equipment sends datagram according to service feature, it can avoid in event
Hinder Member Link fault recovery after, by the failure Member Link thus send datagram arrival the second equipment
Situation about being dropped afterwards occurs.
In second of possible implementation of second aspect of the embodiment of the present invention, the N and the purpose
The total quantity positive correlation of destination mark in ground logo collection.So it is dynamically adjusted sampling purpose terrestrial reference
The quantity of knowledge, when the total quantity of the destination mark in destination mark set is bigger, more mesh of sampling
Ground mark detected, so can more accurately determine the second device losses with destination mark set
Each destination mark association forwarding-table item whether recovered.
The third aspect of the embodiment of the present invention discloses a kind of transmission control method, and methods described includes:
Second equipment receives the first detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, first detection messages carry the first destination mark, and first destination mark is described first
The corresponding destination mark of aggregation interface mark with the aggregated links of equipment storage, first purpose
Ground identifies the sending destination for indicating the first data message;
First destination mark of second equipment in first detection messages, sets described second
Search whether there is the forwarding-table item associated with first destination mark in the forwarding-table item of standby storage;
If there is the forwarding associated with first destination mark in the forwarding-table item of the second equipment storage
List item, then second equipment to first equipment send the first response message, set with triggering described first
The standby link for being defined as allowing to send first data message by the failure Member Link, described first should
Answering message is used to indicate that the forwarding-table item associated with first destination mark in second equipment is extensive
Multiple, first data message includes first destination mark.So detecting turning for the second equipment
After forwarding list item recovers, just failure Member Link is allowed to send the forwarding-table item for including having recovered to the second equipment
In target destination mark data message so that avoid data message reach the second equipment after lost
Lose.
In the first possible implementation of the third aspect of the embodiment of the present invention, first detection messages
The first service feature is also carried, first service feature is first equipment storage and the polymeric chain
The aggregation interface on road identifies corresponding service feature, and first destination mark stores for first equipment
With the aggregation interface mark and the corresponding destination mark of first service feature, described first answer
Answer message equal with first destination mark and first service feature in second equipment for indicating
The forwarding-table item of association is recovered, and the service feature of first data message belongs to the first business spy
Levy;
First destination mark of second equipment in first detection messages, sets described second
Search whether there is the forwarding-table item associated with first destination mark, bag in the forwarding-table item of standby storage
Include:
First destination mark and first business of second equipment in first detection messages are special
Levy, second equipment store forwarding-table item in search whether exist with first destination mark and
The forwarding-table item that first service feature is associated;
If having what is associated with first destination mark in the forwarding-table item of the second equipment storage
Forwarding-table item, then second equipment to first equipment send the first response message, including:
If existing and first destination mark and described first in the forwarding-table item of the second equipment storage
The forwarding-table item that service feature is associated, then second equipment to first equipment send the first response report
Text.So under the scene that the first equipment sends datagram according to service feature, can avoid failure into
After member's link failure recovery, by the failure Member Link therefore after the second equipment of arrival that sends datagram
Situation about being dropped occurs.
With reference to the first possible implementation of the third aspect of the embodiment of the present invention or the third aspect, in this hair
In second of possible implementation of the bright embodiment third aspect, methods described also includes:
Second equipment receives the second detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, second detection messages carry the second destination mark, and second destination mark is described first
The corresponding destination mark of aggregation interface mark with the aggregated links of equipment storage, second purpose
Ground identifies the sending destination for indicating the second data message, second destination mark and described first
Destination mark is differed;
Second destination mark of second equipment in second detection messages, sets described second
Search whether there is the forwarding-table item associated with second destination mark in the forwarding-table item of standby storage;
If turn associated with second destination mark is not present in the forwarding-table item of the second equipment storage
Forwarding list item, then second equipment is to first equipment the second response message of transmission, to trigger described first
The failure Member Link is defined as the link for not allowing to send second data message, described by equipment
Two response messages are used to indicate the forwarding-table item associated with second destination mark in second equipment not
Recover, second data message includes second destination mark.So detecting the second equipment
After forwarding-table item recovers, just failure Member Link is allowed to send the forward table for including having recovered to the second equipment
The data message of target destination mark in, so that avoiding data message reaches quilt after the second equipment
Lose.
With reference to second of possible implementation of the third aspect of the embodiment of the present invention, in the embodiment of the present invention
In the third possible implementation of three aspects, second detection messages also carry the second service feature,
Second service feature is the corresponding with the aggregation interface mark of the aggregated links of first equipment storage
Service feature, second destination mark be first equipment store and the aggregation interface identify
Destination mark corresponding with second service feature, second response message is used to indicate described the
The forwarding-table item associated with second destination mark and second service feature in two equipment is not extensive
Multiple, the service feature of second data message belongs to second service feature;
Second destination mark of second equipment in second detection messages, sets described second
Search whether there is the forwarding-table item associated with second destination mark, bag in the forwarding-table item of standby storage
Include:
Second destination mark and second business of second equipment in second detection messages are special
Levy, second equipment store forwarding-table item in search whether exist with second destination mark and
The forwarding-table item that second service feature is associated;
Associated if being not present in the forwarding-table item of the second equipment storage with second destination mark
Forwarding-table item, then second equipment to first equipment send the second response message, including:
If being not present in the forwarding-table item of second equipment storage and second destination mark and described the
The forwarding-table item that two service features are associated, then second equipment to first equipment send the second response
Message.So 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 thus send datagram arrival the second equipment it
Situation about being dropped afterwards occurs.
Fourth aspect of the embodiment of the present invention discloses a kind of transmission control method, and methods described includes:
Second equipment receives N number of detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, wherein, any one detection messages in N number of detection messages are carried in N number of destination mark
Any one destination mark, and N number of detection messages and N number of destination mark one-to-one corresponding,
N number of destination mark be first equipment stored from first equipment with the aggregated links
Aggregation interface identifies what sampling in corresponding destination mark set was obtained, and the destination mark is used to indicate
The sending destination of data message, the N is the integer more than or equal to 2;
The N number of destination mark of second equipment in N number of detection messages, described
Search whether exist and each purpose in N number of destination mark in the forwarding-table item of two equipment storage
The forwarding-table item of ground mark association;
If in the presence of the forwarding-table item associated with each destination mark in N number of destination mark,
Second equipment returns to N number of response message to first equipment, will be described to trigger first equipment
Failure Member Link is defined as allowing each destination mark sent in the destination mark set corresponding
The link of data message, wherein, the corresponding data message of each destination mark is to include the destination
The data message of mark, N number of response message is corresponded with N number of detection messages, described N number of
Response message is used to indicate the forwarding-table item associated with N number of destination mark in second equipment
Recover.The workload of the second equipment so can be greatly reduced, and can quickly determine the storage of the second equipment
Whether recover with the forwarding-table item that associate of each destination mark in destination mark set, and lead to can
Avoid after failure Member Link fault recovery, sent datagram arrival by the failure Member Link
Situation about being dropped after two equipment occurs.
In the first possible implementation of fourth aspect of the embodiment of the present invention, N number of detection messages
In each detection messages also carry service feature, the service feature stored for first equipment with institute
State aggregation interface and identify corresponding service feature, each destination in the destination mark set is designated
Corresponding destination mark, N number of response message are identified with the service feature and the aggregation interface
For the forwarding for indicating to associate with N number of destination mark and the service feature in second equipment
List item has recovered, and the corresponding data message of each destination mark is the number for belonging to the service feature
According to message;
The N number of destination mark of second equipment in N number of detection messages, described
Search whether exist and each purpose in N number of destination mark in the forwarding-table item of two equipment storage
The forwarding-table item of ground mark association, including:
The service feature and the N number of destination of second equipment in N number of detection messages
Mark, searches whether exist in the forwarding-table item associated with the service feature that second equipment is stored
The forwarding-table item associated with each destination mark in N number of destination mark;
If in the presence of the forwarding-table item associated with each destination mark in N number of destination mark,
Second equipment returns to N number of response message to first equipment, including:
If in the forwarding-table item associated with the service feature exist with it is each in N number of destination mark
The forwarding-table item of individual destination mark association, then second equipment return to N number of response to first equipment
Message.So 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 thus send datagram arrival the second equipment it
Situation about being dropped afterwards occurs.
In second of possible implementation of fourth aspect of the embodiment of the present invention, the N and the purpose
The total quantity positive correlation of destination mark in ground logo collection.So it is dynamically adjusted sampling purpose terrestrial reference
The quantity of knowledge, when the total quantity of the destination mark in destination mark set is bigger, more mesh of sampling
Ground mark detected, so can more accurately determine the second device losses with destination mark set
Each destination mark association forwarding-table item whether recovered.
The aspect of the embodiment of the present invention the 5th discloses a kind of first equipment, and first equipment includes:
Generation module, for after the failure Member Link fault recovery of aggregated links is confirmed, generating first
Detection messages, first detection messages carry the first destination mark, and first destination mark is institute
State the corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, described the
One destination mark is used for the sending destination for indicating the first data message;
Sending module, for sending first detection messages to the second equipment by the failure Member Link;
Determining module, second equipment responds the first detection messages return first is received for working as
During response message, the failure Member Link is defined as to the link for allowing to send first data message,
Wherein, first response message is used to indicate in second equipment to associate with first destination mark
Forwarding-table item it is recovered, first data message include first destination mark.So pass through
Send detection messages to detect whether the forwarding-table item of the second device losses has recovered to the second equipment, and in inspection
After the forwarding-table item recovery for measuring the second equipment, just allowing failure Member Link to be sent to the second equipment includes
The data message of target destination mark in the forwarding-table item recovered, so as to avoid data message arrival
It is lost after second equipment.
In the first possible implementation of the aspect of the embodiment of the present invention the 5th, first detection messages
Also carry the first service feature, first service feature be first equipment store with it is described polymerize connect
The corresponding service feature of mouth mark, first destination mark is gathering with described for first equipment storage
Interface identifier and the corresponding destination mark of first service feature are closed, first response message is used for
Indicate the forwarding associated with first destination mark and first service feature in second equipment
List item is recovered, and the service feature of first data message belongs to first service feature.So exist
Under the scene that first equipment sends datagram according to service feature, it can avoid in failure Member Link failure
After recovery, the feelings being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
Condition occurs.
With reference to the aspect of the embodiment of the present invention the 5th or the first possible implementation of the 5th aspect, in this hair
In second of possible implementation of the bright aspect of embodiment the 5th, the generation module is additionally operable to confirming
After the failure Member Link fault recovery of aggregated links, the second detection messages, the second detection report are generated
Text carries 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 second
The sending destination of data message, second destination mark is differed with first destination mark;
The sending module, is additionally operable to send second inspection to the second equipment by the failure Member Link
Observe and predict text;
The determining module, is additionally operable to:
, will when receiving the second response message that the second equipment response second detection messages are returned
The failure Member Link is defined as the link for not allowing to send second data message, wherein, described
Two response messages are used to indicate the forwarding-table item associated with second destination mark in second equipment not
Recover, second data message includes second destination mark;
Or,
When do not receive that second equipment responds that second detection messages return in preset time period the
During three response messages, the failure Member Link is defined as to the chain for not allowing to send second data message
Road, wherein, the 3rd response message is used to indicate in second equipment and second destination mark
The forwarding-table item of association is recovered, and second data message includes second destination mark.So
After the forwarding-table item for detecting the second equipment recovers, just failure Member Link is allowed to be sent to the second equipment
Include the data message of the target destination mark in the forwarding-table item that has recovered, so as to avoid data message
Reach and be lost after the second equipment.
With reference to second of possible implementation of the aspect of the embodiment of the present invention the 5th, in the embodiment of the present invention the
In the third possible implementation of five aspects, second detection messages also carry the second service feature,
Second service feature is that the business corresponding with aggregation interface mark that first equipment is stored is special
Levy, second destination mark be first equipment store with aggregation interface mark and described the
The corresponding destination mark of two service features, second response message is used to indicate in second equipment
The forwarding-table item associated with second destination mark and second service feature does not recover, and described
Three response messages are used to indicate special with second destination mark and second business in second equipment
Levy the forwarding-table item associated to have recovered, the service feature of second data message belongs to second business
Feature.So 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 thus send datagram arrival the second equipment it
Situation about being dropped afterwards occurs.
The aspect of the embodiment of the present invention the 6th discloses a kind of first equipment, and first equipment includes:
Acquisition module, for after the failure Member Link fault recovery of aggregated links is confirmed, from described the
Sample and obtain in the destination mark set corresponding with the aggregation interface mark of the aggregated links of one equipment storage
N number of destination mark is taken, wherein, the destination mark is used for the sending destination for indicating data message,
The N is the integer more than or equal to 2;
Generation module, for generating any one detection report in N number of detection messages, N number of detection messages
Text carries any one destination mark in N number of destination mark, and N number of detection messages
Corresponded with N number of destination mark;
Sending module, for sending N number of detection messages to the second equipment by the failure Member Link;
Determining module, the N number of of the second equipment response N number of detection messages return is received for working as
During response message, N number of response message is corresponded with the N number of detection messages, by the failure into
Member's link is defined as allowing to send the corresponding datagram of each destination mark in the destination mark set
The link of text, wherein, the corresponding data message of each destination mark is to include the destination mark
Data message, N number of response message is used to indicate in second equipment and N number of destination mark
The forwarding-table item of association is recovered.The workload of the second equipment so can be greatly reduced, and can be quickly
Determining the forwarding-table item associated with each destination mark in destination mark set of the second equipment storage is
It is no to have recovered, and it is logical can avoid after failure Member Link fault recovery, pass through the failure Member Link
Send datagram the situation generation for reaching and being dropped after the second equipment.
In the first possible implementation of the aspect of the embodiment of the present invention the 6th, N number of detection messages
In each detection messages also carry service feature, the service feature stored for first equipment with institute
State aggregation interface and identify corresponding service feature, each destination in the destination mark set is designated
Corresponding destination mark, N number of response message are identified with the service feature and the aggregation interface
For the forwarding for indicating to associate with N number of destination mark and the service feature in second equipment
List item is recovered, and the corresponding data message of each destination mark is the number for belonging to the service feature
According to message.So under the scene that the first equipment sends datagram according to service feature, it can avoid in event
Hinder Member Link fault recovery after, by the failure Member Link thus send datagram arrival the second equipment
Situation about being dropped afterwards occurs.
In second of possible implementation of the aspect of the embodiment of the present invention the 6th, the N and the purpose
The total quantity positive correlation of destination mark in ground logo collection.So it is dynamically adjusted sampling purpose terrestrial reference
The quantity of knowledge, when the total quantity of the destination mark in destination mark set is bigger, more mesh of sampling
Ground mark detected, so can more accurately determine the second device losses with destination mark set
Each destination mark association forwarding-table item whether recovered.
The aspect of the embodiment of the present invention the 7th discloses a kind of second equipment, and second equipment includes:
First receiving module, for receive that the first equipment sends by the failure Member Link of aggregated links the
One detection messages, first detection messages carry the first destination mark, and first destination mark is
The corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, it is described
First destination mark is used for the sending destination for indicating the first data message;
First searching modul, for the first destination mark in first detection messages, described
Search whether there is the forward table associated with first destination mark in the forwarding-table item of second equipment storage
;
First sending module, the forwarding for finding the second equipment storage when first searching modul
When there is forwarding-table item associate with first destination mark in list item, to first equipment transmission the
One response message, is defined as allowing sending described the to trigger first equipment by the failure Member Link
The link of one data message, first response message is used to indicate in second equipment and first mesh
Ground mark association forwarding-table item it is recovered, first data message includes the terrestrial reference of first mesh
Know.So after the forwarding-table item for detecting the second equipment recovers, just allow failure Member Link to second
Equipment sends the data message of the target destination mark in the forwarding-table item for including having recovered, so as to avoid
Data message is lost after reaching the second equipment.
In the first possible implementation of the aspect of the embodiment of the present invention the 7th, first detection messages
The first service feature is also carried, first service feature is first equipment storage and the polymeric chain
The aggregation interface on road identifies corresponding service feature, and first destination mark stores for first equipment
With the aggregation interface mark and the corresponding destination mark of first service feature, described first answer
Answer message equal with first destination mark and first service feature in second equipment for indicating
The forwarding-table item of association is recovered, and the service feature of first data message belongs to the first business spy
Levy;
First searching modul specifically for:
The first destination mark and the first service feature in first detection messages, described second
Search whether exist and first destination mark and first business spy in the forwarding-table item of equipment storage
Levy the forwarding-table item associated;
First sending module specifically for:
When existing in the forwarding-table item that first searching modul finds second equipment storage and described the
During the forwarding-table item that one destination mark is associated with first service feature, then sent out to first equipment
Send the first response message., can so under the scene that the first equipment sends datagram according to service feature
Avoid after failure Member Link fault recovery, by the failure Member Link thus the arrival that sends datagram
Situation about being dropped after the second equipment occurs.
With reference to the aspect of the embodiment of the present invention the 7th or the first possible implementation of the 7th aspect, in this hair
In second of possible implementation of the bright aspect of embodiment the 7th, second equipment also includes:
Second receiving module, for receive that the first equipment sends by the failure Member Link of aggregated links the
Two detection messages, second detection messages carry the second destination mark, and second destination mark is
The corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, it is described
Second destination mark be used for indicate the second data message sending destination, second destination mark with
First destination mark is differed;
Second searching modul, for the second destination mark in second detection messages, described
Search whether there is the forward table associated with second destination mark in the forwarding-table item of second equipment storage
;
Second sending module, the forwarding for finding the second equipment storage when second searching modul
When the forwarding-table item associated with second destination mark being not present in list item, sent to first equipment
The failure Member Link, is defined as not allowing to send institute by the second response message to trigger first equipment
State the link of the second data message, second response message is used to indicate in second equipment and described the
The forwarding-table item of two destination marks association does not recover, and second data message includes second destination
Mark.So after the forwarding-table item for detecting the second equipment recovers, just permission failure Member Link is to the
Two equipment send the data message of the target destination mark in the forwarding-table item for including having recovered, so as to avoid
Data message is lost after reaching second equipment.
With reference to second of possible implementation of the aspect of the embodiment of the present invention the 7th, in the embodiment of the present invention the
In the third possible implementation of seven aspects, second detection messages also carry the second service feature,
Second service feature is the corresponding with the aggregation interface mark of the aggregated links of first equipment storage
Service feature, second destination mark be first equipment store and the aggregation interface identify
Destination mark corresponding with second service feature, second response message is used to indicate described the
The forwarding-table item associated with second destination mark and second service feature in two equipment is not extensive
Multiple, the service feature of second data message belongs to second service feature;
Second searching modul specifically for:
The second destination mark and the second service feature in second detection messages, described second
Search whether exist and second destination mark and second business spy in the forwarding-table item of equipment storage
Levy the forwarding-table item associated;
Second sending module specifically for:
When be not present in the forwarding-table item that second searching modul finds second equipment storage with it is described
During the forwarding-table item that the second destination mark is associated with second service feature, sent out to first equipment
Send the second response message.
Eighth aspect of the embodiment of the present invention discloses a kind of second equipment, and second equipment includes:
Receiving module, N number of inspection that the first equipment is sent is received for the failure Member Link by aggregated links
Text is observed and predicted, wherein, any one detection messages in N number of detection messages carry N number of destination mark
In any one destination mark, and a pair of N number of detection messages and the N number of destination mark 1
Should, N number of destination mark is that first equipment storing with the polymeric chain from first equipment
The aggregation interface on road identifies what sampling in corresponding destination mark set was obtained, and the destination mark is used for
The sending destination of data message is indicated, the N is the integer more than or equal to 2;
Searching modul, for N number of destination mark in N number of detection messages, described
Search whether exist and each mesh in N number of destination mark in the forwarding-table item of second equipment storage
Ground mark association forwarding-table item;
Sending module, for existing when in the forwarding-table item that the searching modul searches the second equipment storage
During the forwarding-table item associated with each destination mark in N number of destination mark, to described first
Equipment returns to N number of response message, is defined as the failure Member Link to allow to trigger first equipment
The link of the corresponding data message of each destination mark in the destination mark set is sent, wherein,
The corresponding data message of each destination mark is to include the data message of the destination mark, the N
Individual response message is corresponded with the N number of detection messages, and N number of response message is used to indicating described the
The forwarding-table item associated in two equipment with N number of destination mark has recovered.So can greatly it reduce
The workload of second equipment, and can quickly determine the second equipment storage with it is every in destination mark set
Whether the forwarding-table item of individual destination mark association has recovered, and logical can avoid in failure Member Link failure
After recovery, sent datagram by the failure Member Link and reach situation about being dropped after the second equipment
Occur.
In the first possible implementation of eighth aspect of the embodiment of the present invention, N number of detection messages
In each detection messages also carry service feature, the service feature stored for first equipment with institute
State aggregation interface and identify corresponding service feature, each destination in the destination mark set is designated
Corresponding destination mark, N number of response message are identified with the service feature and the aggregation interface
For the forwarding for indicating to associate with N number of destination mark and the service feature in second equipment
List item has recovered, and the corresponding data message of each destination mark is the number for belonging to the service feature
According to message;
The searching modul specifically for:
The service feature and N number of destination mark in N number of detection messages, described
Search whether there is N number of purpose in the forwarding-table item associated with the service feature of second equipment storage
The forwarding-table item of each destination mark association in ground mark;
The sending module specifically for:
There is N number of mesh when the searching modul is found in the forwarding-table item associated with the service feature
Ground mark in each destination mark association forwarding-table item when, to first equipment return it is N number of
Response message.So 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 thus the arrival that sends datagram second is set
Situation about being dropped after standby occurs.
In second of possible implementation of eighth aspect of the embodiment of the present invention, the N and the purpose
The total quantity positive correlation of destination mark in ground logo collection.So it is dynamically adjusted sampling purpose terrestrial reference
The quantity of knowledge, when the total quantity of the destination mark in destination mark set is bigger, more mesh of sampling
Ground mark detected, so can more accurately determine the second device losses with destination mark set
Each destination mark association forwarding-table item whether recovered.
In embodiments of the present invention, the first equipment confirm aggregated links the fault recovery of failure Member Link it
Afterwards, the first equipment generation carries the first detection messages of the first destination mark, and passes through failure Member Link
The first detection messages are sent to the second equipment;If the first equipment receives the second equipment and responds the first detection messages
What is returned is used for indicate that the forwarding-table item that is associated with the first destination mark is recovered in the second equipment first
Response message, then failure Member Link is defined as allowing sending by the first equipment includes the first destination mark
The link of first data message.It can be seen that, by implementing the embodiment of the present invention, it is recovered in failure Member Link
Afterwards, the first equipment is after the forwarding-table item for confirming the second equipment recovers, and just permission failure Member Link is to the
Two equipment send the data message of the target destination mark in the forwarding-table item for including having recovered, so as to avoid
Data message is lost after reaching second equipment.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to required in embodiment
The accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are some realities of the present invention
Example is applied, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying 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 in the embodiment of the present invention;
Fig. 3 is the schematic diagram of another system architecture disclosed in the embodiment of the present invention;
Fig. 4 is a kind of schematic flow sheet of transmission control method disclosed in the embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another transmission control method disclosed in the embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another transmission control method disclosed in the embodiment of the present invention;
Fig. 7 is a kind of structural representation of first equipment disclosed in the embodiment of the present invention;
Fig. 8 is the structural representation of another first equipment disclosed in the embodiment of the present invention;
Fig. 9 is a kind of structural representation of second equipment disclosed in the embodiment of the present invention;
Figure 10 is the structural representation of another second equipment disclosed in the embodiment of the present invention;
Figure 11 is the structural representation of another second equipment disclosed in the embodiment of the present invention;
Figure 12 is a kind of structural representation of first equipment disclosed in the embodiment of the present invention;
Figure 13 is the structural representation of another first equipment disclosed in the embodiment of the present invention;
Figure 14 is a kind of structural representation of second equipment disclosed in the embodiment of the present invention;
Figure 15 is the structural representation of another second equipment disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the invention, rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under the premise of dynamic, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of transmission control method and equipment, it can solve the problem that and cut by data message
Shift to fault recovery Member Link be transmitted after, the problem of data message is lost.In order to preferably manage
The embodiment of the present invention is solved, the system architecture first to the embodiment of the present invention is described below.The embodiment of the present invention
The disclosed system architecture suitable for transmission control method and equipment includes following two:
In the first system architecture of the embodiment of the present invention, the first equipment passes through aggregated links with the second equipment
Communication.As shown in Fig. 2 Fig. 2 is a kind of schematic diagram of system architecture disclosed in the embodiment of the present invention, in Fig. 2
In shown system architecture, aggregated links includes 3 Member Links;First equipment includes connection aggregated links
Member Link member interface and the aggregation interface A of the aggregated links.Wherein, the first equipment and second
Equipment can be the equipment such as interchanger, router and main frame.Wherein, what Fig. 2 was exemplary show 3 into
Member's link, it will be appreciated 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,
As shown in figure 3, Fig. 3 is the schematic diagram of another system architecture disclosed in the embodiment of the present invention, in Fig. 3 institutes
In the system architecture shown, the first equipment is connected with transponder, and transponder passes through aggregated links and the second equipment
It is connected.Wherein, what Fig. 3 was exemplary shows 3 Member Links, it will be appreciated that Member Link may be used also
Think 2 or more than 3.Compared with the system architecture shown in Fig. 2, the system architecture shown in Fig. 3 is one
Plant the framework of control and forwarding separation.It should be appreciated that the work(that the first equipment and transponder shown in Fig. 3 are realized
The function that can be realized with the first equipment shown in Fig. 2 is identical, i.e., the first equipment and Fig. 2 shown in Fig. 3
Control function is suitable in the first shown equipment, in the first equipment shown in transponder and Fig. 2 shown in Fig. 3
Forwarding capability is suitable.
Aggregation interface A is illustrate only in Fig. 2 and Fig. 3 system architecture, it will be appreciated that shown in Fig. 2
The aggregation interface quantity that first equipment or the transponder shown in Fig. 3 include can be with more than one.
In the system architecture shown in Fig. 2, the first equipment stores forwarding-table item, and the forwarding-table item is basis
What the corresponding relation that the destination mark of the first equipment storage is identified with aggregation interface was obtained.Wherein, the forwarding
List item includes destination mark and aggregation interface corresponding with destination mark mark (aggregation interface mark
For the information of aggregation interface, such as aggregation interface title can be distinguished).It is designated for indicated number to the target
According to the information of the sending destination of message, such as destination mark can be Internet protocol address (Internet
Protocol, IP) address, medium education (Media Access Control, MAC) address or mesh
The mark such as ground label.The destination label can be multiprotocol label switching (Multi-Protocol Label
Switching, MPLS) label such as label.When the first equipment sends datagram to the second equipment, first
Equipment is searched in extracting the destination mark in the data message, and the forwarding-table item stored from the first equipment
The corresponding aggregation interface mark of the destination mark.If for example, as shown in Fig. 2 with the mesh in data message
Ground identify the mark that corresponding aggregation interface is designated aggregation interface A, then the first equipment will be from member interface
1st, select one or more member interfaces to send the data message in member interface 2 and member interface 3
Two equipment.Wherein, user can be selected by way of directly configuring from the corresponding member interfaces of aggregation interface A
Member interface is selected, or the first equipment can be automatic from the corresponding member interfaces of aggregation interface A by hash algorithm
Select one or more member interfaces and send the data message, the embodiment of the present invention is not limited.
In the system architecture shown in Fig. 2, as shown in Fig. 2 going out when the first equipment detects Member Link 1
During existing failure, the link that Member Link 1 is defined as not allowing to send datagram by the first equipment.First
When the Member Link of equipment selective polymerization link sends datagram, member interface 1 is foreclosed, only selected
Member interface 2 and member interface 3 is selected to send datagram.
In the system architecture shown in Fig. 3, the first equipment can according to the first equipment store destination mark with
The corresponding relation of aggregation interface mark, forwarding-table item is issued to the forward table of transponder.Wherein, the forward table
Item includes destination mark and aggregation interface corresponding with destination mark is identified.If for example, the first equipment
The corresponding relation that destination mark 1 identifies 1 with aggregation interface is stored, and destination mark 2 is with polymerizeing
The corresponding relation of interface identifier 2, then the first equipment can be issued to transponder including destination mark 1 and polymerization
The forwarding-table item of interface identifier 1, and the forwarding-table item including destination mark 2 and aggregation interface mark 2.
When transponder sends datagram to the second equipment, transponder can extract the purpose terrestrial reference in the data message
Know, and the corresponding aggregation interface mark of the destination mark is searched in the forwarding-table item stored from transponder.Example
Such as, if as shown in figure 3, aggregation interface corresponding with the destination mark in data message is designated polymerization and connect
Mouthful A mark, then transponder one will be selected from member interface 1, member interface 2 and member interface 3
Or multiple member interfaces send the data message to the second equipment.
In the system architecture shown in Fig. 3, as shown in figure 3, going out when the first equipment detects Member Link 1
During existing failure, the first equipment will indicate that Member Link 1 is set to not allow what is sent datagram by transponder
Link.When the Member Link of transponder selective polymerization link sends datagram, member interface 1 is excluded
Outside, member interface 2 and member interface 3 is only selected 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 mesh
Ground mark forwarding-table item.As shown in Fig. 2 when interface board 1 breaks down, Member Link 1 can quilt
It is defined as failure Member Link, the forwarding-table item that interface board 1 is stored can be lost.In the failture evacuation of interface board 1
Afterwards, the interface " UP " of member interface 4, if the first equipment is detecting the interface " UP " of member interface 4
When just sent datagram by Member Link 1, then after the second equipment receives the data message, if
The forwarding-table item for the destination mark including the data message that interface board 1 is stored does not recover, and the second equipment will
Abandon the data message.
Based on above two system architecture, Fig. 4 is referred to, Fig. 4 is a kind of forwarding disclosed in the embodiment of the present invention
The schematic flow sheet of control method.As shown in figure 4, the transmission control method may comprise steps of.
401st, after the failure Member Link fault recovery that the first equipment confirms aggregated links, the life of the first equipment
Into the first detection messages.
In the embodiment of the present invention, first detection messages carry the first destination mark, the terrestrial reference of first mesh
Know any one destination mark corresponding with the aggregation interface mark of aggregated links stored for the first equipment,
First destination mark is used for the sending destination for indicating the first data message.
Specifically, the first equipment stores the corresponding relation that destination mark is identified with aggregation interface, and first sets
It is standby after the failure Member Link fault recovery of aggregated links is confirmed, will be according to the corresponding relation from polymerizeing
The aggregation interface of link identifies one destination mark of acquisition in corresponding destination mark and is used as the first destination
Mark, and generate the first detection messages for carrying first destination mark.
For example, if as shown in Fig. 2 Member Link 1 is failure Member Link, if aggregation interface A
Mark correspondence destination mark 1 and destination mark 2, then the first destination mark is destination mark 1 or mesh
Ground mark 2.
402nd, the first equipment sends first detection messages by the failure Member Link to the second equipment.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment generation first is detected
After message, the first detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment generation first is detected
After message, will via transponder by failure Member Link to the second equipment send the first detection messages.
403rd, the second equipment receives first detection messages that the first equipment is sent by the failure Member Link.
404th, first destination mark of second equipment in first detection messages, in the storage of the second equipment
Forwarding-table item in search whether there is the forwarding-table item that is associated with first destination mark.
In the embodiment of the present invention, the second equipment is received after the first detection messages, will be according to the first detection messages
In the first destination mark, the second equipment store forwarding-table item in search whether exist and the first purpose
Ground mark association forwarding-table item, forwarding-table item associate with first destination mark as include this first
The forwarding-table item of destination mark.If there is the terrestrial reference with first mesh in the forwarding-table item of the second equipment storage
Know the forwarding-table item of association, then perform step 405.
405th, 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 to close with the first destination mark
The forwarding-table item of connection is recovered.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the second equipment generates the first response
After message, first response message is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the second equipment generates the first response
After message, the first response message will be sent by failure Member Link to transponder, and by transponder by the
One response message is sent to the first equipment.
406th, the first equipment receives first response message that the second equipment responds first detection messages return.
407th, the failure Member Link is defined as the link for allowing to send the first data message by the first equipment.
In the embodiment of the present invention, the first equipment is received after the first response message, by the failure Member Link
It is defined as the link for allowing to send the first data message.Wherein, the first data message includes the terrestrial reference of the first mesh
Know.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment is by failure member
Link is defined as allowing sending after the link of the first data message, when the first equipment by aggregated links to the
When two equipment send the first data message, the first equipment may be selected the failure Member Link and be transmitted.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment is by failure member's chain
Road is defined as allowing the embodiment of the link of the first data message of transmission to be:First equipment is indicated
Failure Member Link is positioned to allow for sending the link of the first data message by transponder.Gather when transponder passes through
When closing the second equipment of chain road direction the first data message of transmission, transponder may be selected the failure Member Link and be sent out
Send.
Optionally, if being not present what is associated with first destination mark in the forwarding-table item of the second equipment storage
Forwarding-table item, then the second equipment is not to any response message of the first equipment return to the first detection messages.That
Correspondingly, when the first equipment does not receive the first response message of the second equipment return in preset time period,
The failure Member Link is defined as the link for not allowing to send the first data message by the first equipment.By implementing
The forward table associated with first destination mark is not present in the forwarding-table item for finding the storage of the second equipment
Xiang Shi, this mode to any response message of the first detection messages is not returned, the second equipment can be saved
CUP resources, while can also save bandwidth resources.
Optionally, it is not present and first mesh in the second equipment finds the forwarding-table item that the second equipment is stored
Ground mark association forwarding-table item when, the second equipment to the first equipment return for indicate the second equipment in
The unrecovered response message of forwarding-table item of first destination mark association.So correspondingly, when the first equipment
Receive the forwarding-table item for being used to indicate to associate with the first destination mark in the second equipment of the second equipment return
During unrecovered response message, the failure Member Link is defined as not allowing to send the first data by the first equipment
The link of message.
Wherein, when based on system architecture shown in Fig. 2, the failure Member Link is set to by the first equipment
After the link for not allowing the first data message of transmission, when the first equipment is sent out by aggregated links to the second equipment
When sending the first data message, the first equipment selects the member in addition to the failure Member Link of the aggregated links
Link sends the first data message.
Wherein, when based on system architecture shown in Fig. 3, the failure Member Link is defined as by the first equipment
The embodiment for sending the link of the first data message is not allowed to be:First equipment indicates transponder
Failure Member Link is set to the link for not allowing to send the first data message.Transponder is by failure member
Link is set to not allow to send after the link of the first data message, when transponder by aggregated links to the
Two equipment send the first data message when, transponder select the aggregated links in addition to the failure Member Link
Member Link send the first data message.
In actual applications, for example, if as shown in Fig. 2 in the forward table of the first equipment, polymerization connects
The mouth A corresponding destination mark of mark includes destination mark 1, then the first equipment may pass through member's chain
Road 1 is sent to the second equipment includes the data message 1 of destination mark 1;If Member Link 1 is failure member
Link, then after the failture evacuation of interface board 1, the interface " UP " of member interface 4;In connecing for member interface 4
After mouth " UP ", if the second equipment receives data message 1, but now the second equipment includes purpose terrestrial reference
The forwarding-table item for knowing 1 does not recover, then the second equipment can abandon data message 1.By implementing described by Fig. 4
Embodiment, after the fault recovery that the first equipment detects Member Link 1, the first equipment can generate including
First detection messages of destination mark 1, and first detection messages are sent to the second equipment;Second equipment
What destination mark 1 detection second equipment of the meeting in the first detection messages was stored includes destination mark 1
Forwarding-table item whether recover, detecting after the forwarding-table item including destination mark 1 recovers, to the
One equipment notifies the forwarding-table item including destination mark 1 that the second equipment is stored to recover;First equipment is true
Recognize the storage of the second equipment the forwarding-table item including destination mark 1 recovered after, just permission is from member's chain
Road 1 sends datagram 1.It can be seen that, by implementing the embodiment described by Fig. 4, it can avoid in failure member
After link failure recovery, by the failure Member Link send datagram arrival the second equipment after lost
Situation about abandoning occurs.
Based on above two system architecture, Fig. 5 is referred to, Fig. 5 is another turn disclosed in the embodiment of the present invention
Send out the schematic flow sheet of control method.As shown in figure 5, the transmission control method may comprise steps of.
501st, after the failure Member Link fault recovery that the first equipment confirms aggregated links, the life of the first equipment
Into the first detection messages.
In the embodiment of the present invention, first detection messages carry the first destination mark, the terrestrial reference of first mesh
Know any one destination mark corresponding with the aggregation interface mark of aggregated links stored for the first equipment,
First destination mark is used for the sending destination for indicating the first data message.
502nd, the first equipment sends first detection messages by the failure Member Link to the second equipment.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment generation first is detected
After message, the first detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment generation first is detected
After message, will via transponder by failure Member Link to the second equipment send the first detection messages.
503rd, the second equipment receives first detection messages that the first equipment is sent by the failure Member Link.
504th, first destination mark of second equipment in first detection messages, in the storage of the second equipment
Forwarding-table item in search whether there is the forwarding-table item that is associated with first destination mark.
In the embodiment of the present invention, the second equipment is received after the first detection messages, will be according to the first detection messages
In the first destination mark, the second equipment store forwarding-table item in search whether exist and the first purpose
Ground mark association forwarding-table item, forwarding-table item associate with first destination mark as include this first
The forwarding-table item of destination mark.If there is the terrestrial reference with first mesh in the forwarding-table item of the second equipment storage
Know the forwarding-table item of association, then perform step 505.
505th, 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 to close with the first destination mark
The forwarding-table item of connection is recovered.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the second equipment generates the first response
After message, first response message is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the second equipment generates the first response
After message, the first response message will be sent by failure Member Link to transponder, and by transponder by the
One response message is sent to the first equipment.
506th, 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, first are also carried in the first detection messages
Also the identity information of the first detection messages is carried in response message.The first response message is received in the first equipment
Afterwards, the identity information for the first detection messages that the first equipment is carried by the first response message, to determine
One response message is that the second equipment responds the response message that the first detection messages are returned.
507th, the failure Member Link is defined as the link for allowing to send the first data message by the first equipment.
In the embodiment of the present invention, the first equipment is received after the first response message, by the failure Member Link
It is defined as the link for allowing to send the first data message.Wherein, first data message includes the first destination
Mark.
508th, after the failure Member Link fault recovery that the first equipment confirms aggregated links, the life of the first equipment
Into the second detection messages.
In the embodiment of the present invention, the execution sequence of step 501 and step 508 is in no particular order, you can first generate
First detection messages regenerate the second detection messages, also can first generate the second detection messages regeneration first and detect
Message, the embodiment of the present invention is not limited.
In the embodiment of the present invention, second detection messages carry the second destination mark, the terrestrial reference of second mesh
Know for the corresponding in addition to the first destination mark with the aggregation interface mark of aggregated links of the first equipment storage
Any one destination mark, second destination mark be used for indicate the second data message transmission purpose
Ground.
509th, the first equipment sends second detection messages by the failure Member Link to the second equipment.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment generation second is detected
After message, the second detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment generation second is detected
After message, will via transponder by failure Member Link to the second equipment send the second detection messages.
510th, the second equipment receives second detection messages that the first equipment is sent by the failure Member Link.
511st, second destination mark of second equipment in second detection messages, in the storage of the second equipment
Forwarding-table item in search whether there is the forwarding-table item that is associated with second destination mark.
In the embodiment of the present invention, the second equipment is received after second detection messages, will be reported according to the second detection
The second destination mark in text, the second equipment store forwarding-table item in search whether exist with this second
The forwarding-table item of destination mark association, the forwarding-table item associated with second destination mark is to include being somebody's turn to do
The forwarding-table item of second destination mark;If being not present and second mesh in the forwarding-table item of the second equipment storage
Ground mark association forwarding-table item, then perform step 512.If existing in the forwarding-table item of the second equipment storage
The forwarding-table item associated with second destination mark, then the second equipment returned to the first equipment for indicating the
The 3rd recovered response message of the forwarding-table item that is associated in two equipment with the second destination mark is set to first
It is standby.
If as an alternative embodiment, the second equipment storage forwarding-table item in be not present with this second
Destination mark association forwarding-table item, then the second equipment not to the first equipment return to the second detection messages
Any response message.So correspondingly, if the first equipment does not receive the second equipment sound in preset time period
Answer the forwarding-table item for being used to indicate to associate with the second destination mark in the second equipment that the second detection messages are returned
The 3rd recovered response message, then the first equipment failure Member Link is defined as not allow transmission second
The link of data message.
512nd, 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 to close with the first destination mark
The forwarding-table item of connection does not recover.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the second equipment generates the second response
After message, second response message is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the second equipment generates the second response
After message, the second response message will be sent by failure Member Link to transponder, and by transponder by the
Two response messages are sent to the first equipment.
513rd, 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, second are also carried in the second detection messages
Also the identity information of the second detection messages is carried in response message.The second response message is received in the first equipment
Afterwards, the identity information for the second detection messages that the first equipment is carried by the second response message, to determine
Two response messages are that the second equipment responds the response message that the second detection messages are returned.
514th, the failure Member Link is defined as the link for not allowing to send the second data message by the first equipment.
In the embodiment of the present invention, the first equipment is received after the second response message, by the failure Member Link
It is defined as the link for not allowing to send the second data message.Wherein, second data message is to include the second mesh
Ground mark data message.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment is by failure member
Link is defined as not allowing sending after the link of the second data message, when the first equipment by aggregated links to
Second equipment send the second data message when, the first equipment select the aggregated links remove the failure Member Link
Outside Member Link send the second data message.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment is by failure member
Link is defined as not allowing the embodiment of the link of the second data message of transmission to be:First equipment
Indicate that the failure Member Link is defined as the link for not allowing to send the second data message by transponder.
For example, if as shown in Fig. 2 Member Link 1 is failure Member Link, the forwarding of the first equipment
In table, the aggregation interface A corresponding destination mark of mark includes destination mark 1 and including purpose terrestrial reference
Know 2, then when the first destination mark is destination mark 1, and the second destination mark is destination mark 2,
First equipment can generate the first detection messages including destination mark 1 and include the second of destination mark 2
Detection messages, and sent the first detection messages and the second detection messages to the second equipment by Member Link 1.
If the first equipment receive the return of the second equipment be used for indicate to associate with destination mark 1 in the second equipment
The first response message that forwarding-table item has recovered, then the first equipment Member Link 1 is defined as allowing sending and wrapped
Include the link of the data message of destination mark 1;If the first equipment does not receive second in preset time and set
Standby the first response message returned, then the first equipment Member Link 1 is defined as not allowing to send to include purpose
Ground mark 1 data message link, or the first equipment receive the second equipment return be used for indicate second
The unrecovered response message of forwarding-table item associated in equipment with destination mark 1, then the first equipment is by member
Link 1 is defined as the link for not allowing to send the data message for including destination mark 1.Similarly, if first
Equipment receives the forward table for being used to indicate to associate with destination mark 2 in the second equipment of the second equipment return
The 3rd response message that has recovered of item, then the first equipment Member Link 1 is defined as allowing to send to include purpose
The link of the data message of ground mark 2;If the first equipment does not receive the return of the second equipment in preset time
The 3rd response message, then Member Link 1 is defined as not allowing sending by the first equipment includes destination mark 2
Data message link, or the first equipment receive the second equipment return be used for indicate the second equipment in
Unrecovered second response message of forwarding-table item that destination mark 2 is associated, then the first equipment is by Member Link 1
It is defined as the link for not allowing to send the data message for including destination mark 2.
It can be seen that, by implementing the embodiment described by Fig. 5, can avoid the fault recovery of failure Member Link it
Afterwards, situation about being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram occurs.
As an alternative embodiment, the first detection messages also carry the first service feature, first industry
Business be characterized as the storage of the first equipment with the corresponding service feature of aggregation interface mark, the first destination mark is
What the first equipment was stored should with aggregation interface mark and the corresponding destination mark of the first service feature, first
Answer message be used for indicate the second equipment in the forward table that is associated with the first destination mark and the first service feature
Item is recovered, and the service feature of the first data message belongs to the first service feature.So correspondingly, second
The forwarding-table item of equipment also includes destination mark and the corresponding service feature of the destination mark, step
504 embodiment is:
First destination mark and first service feature of second equipment in the first detection messages, second
Search whether to exist in the forwarding-table item of equipment storage and associated with the first destination mark and the first service feature
Forwarding-table item;If existing and the first destination mark and the first business in the forwarding-table item of the second equipment storage
The forwarding-table item that feature is associated, then perform step 505.
In this embodiment, specifically, the first equipment store service feature, aggregation interface mark and
Corresponding relation between destination mark three.Optionally, the service feature may include type of service, business
The combination of any one or more in priority and business datum message size scope.Wherein, the business
Type may include word type of service, speech business type or video traffic type etc..
In this embodiment, the first equipment confirm aggregated links failure Member Link fault recovery after,
It can obtain aggregation interface according to the corresponding relation between the three and identify corresponding first service feature, wherein,
First service feature is that aggregation interface identifies any one corresponding service feature;First equipment obtains first
After service feature, it will be obtained and the first service feature and aggregation interface according to the corresponding relation between the three
Corresponding first destination mark of mark.
For example, if service feature is type of service, type of service, aggregation interface are identified and destination mark
Corresponding relation between three is as shown in table 1 below, then when aggregation interface is designated aggregation interface mark 2,
First type of service can be word type of service or video traffic type.
Table 1
Corresponding relation sequence number | Type of service | Aggregation interface is identified | Destination mark |
1 | Word type of service | Aggregation interface mark 1 | Destination mark 1 |
2 | Word 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
The corresponding relation identified between three is as shown in table 2 below, then when aggregation interface is designated aggregation interface mark 2
When, the first service priority can be service priority one or service priority two.
Table 2
Corresponding relation sequence number | Service priority | Aggregation interface is identified | 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, it is business datum message size scope, poly- if service feature is business datum message size scope
The corresponding relation closed between interface identifier and destination mark three is as shown in table 3 below, then works as aggregation interface
When being designated aggregation interface mark 2, the first business datum message size may range from the word of 200 bytes~300
Section or the byte of 300 bytes~400.
Table 3
Corresponding relation sequence number | Business datum message size scope | Aggregation interface is identified | Destination mark |
1 | The byte of 200 bytes~300 | Aggregation interface mark 1 | Destination mark 1 |
2 | The byte of 200 bytes~300 | Aggregation interface mark 2 | Destination mark 2 |
3 | The byte of 300 bytes~400 | Aggregation interface mark 2 | Destination mark 2 |
4 | The byte of 300 bytes~400 | Aggregation interface mark 2 | Destination mark 3 |
As an alternative embodiment, the second detection messages also carry the second service feature, the second business is special
For the storage of the first equipment and corresponding service feature of aggregation interface mark is levied, the second destination mark is first
What equipment was stored identifies and the corresponding destination mark of the second service feature with aggregation interface, the second response report
Text is used to indicate the forwarding-table item associated with the second destination mark and the second service feature in the second equipment not
Recover, the 3rd response message is used for equal with the second destination mark and the second service feature in the second equipment of instruction
The forwarding-table item of association has recovered, and the service feature of the second data message belongs to the second service feature.So phase
Ying Di, the forwarding-table item of the second equipment also includes destination mark and the corresponding business of the destination mark is special
Levy, the embodiment of step 511 is:
Second destination mark and second service feature of second equipment in the second detection messages, second
Search whether to exist in the forwarding-table item of equipment storage and associated with the second destination mark and the second service feature
Forwarding-table item;If being not present and the second destination mark and the second industry in the forwarding-table item of the second equipment storage
The forwarding-table item that business feature is associated, then perform step 512.
In this embodiment, the second service feature can be identical with the first service feature, also can be with the first business
Feature is different, and the embodiment of the present invention is not limited.
In actual applications, when based on system architecture shown in Fig. 2, if the first equipment is according to service feature
To send datagram, then stored in the forwarding-table item of the first equipment service feature, aggregation interface mark with
And the corresponding relation between destination mark three.When based on system architecture shown in Fig. 3, if transponder
Sent datagram according to service feature, then service feature, polymerization are stored in the forwarding-table item of transponder
Corresponding relation between interface identifier and destination mark three.
For example, when based on system architecture shown in Fig. 2, the first equipment is sent according to service feature
Data message may include following steps:Include destination mark 1 when the first equipment needs to send to the second equipment
Data message 1 when, the first equipment can recognize the service feature of the data message 1, and from the storage of the first equipment
Polymerization corresponding with the service feature of destination mark 1 and the data message 1 is searched in the forwarding-table item deposited
Interface identifier 1;First equipment is found after aggregation interface mark 1, and the first equipment selects the aggregation interface to mark
Know 1 corresponding member interface and send the equipment of data message 1 to the second.
Again for example, when based on system architecture shown in Fig. 3, transponder is sent according to service feature
Data message may include following steps:Include destination mark 1 when transponder needs to send to the second equipment
During data message 1, transponder can recognize the service feature of the data message 1, and turn stored from transponder
Aggregation interface corresponding with the service feature of destination mark 1 and the data message 1 is searched in forwarding list item to mark
Know 1;First equipment is found after aggregation interface mark 1, then transponder selects the aggregation interface to identify 1 pair
The member interface answered sends the equipment of data message 1 to the second.
Correspondingly, when based on system architecture shown in Fig. 2 and Fig. 3, the forwarding-table item of the second equipment is also stored up
There is the corresponding relation of destination mark and service feature.For example, when the forwarding-table item of the second equipment is stored
When destination mark, aggregation interface identify the corresponding relation between service feature three, the second equipment is received
To after the data message 1, the industry of the data message 1 is searched in the forwarding-table item that will be stored from the second equipment
Feature of being engaged in and the corresponding aggregation interface of destination mark 1 mark, and identify corresponding member from the aggregation interface
Interface sends the data message 1.Therefore, sent datagram in the first equipment or transponder according to service feature
Under the scene of text, by implementing the embodiment, the first equipment is confirming the special with business of the second equipment storage
After the forwarding-table item that destination mark of seeking peace is associated recovers, just sent by the Member Link of fault recovery
Including the destination mark and belong to the data message of the service feature, so as to avoid in failure Member Link
After fault recovery, it is dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
Situation occur.
Based on above two system architecture, Fig. 6 is referred to, Fig. 6 is another turn disclosed in the embodiment of the present invention
Send out the schematic flow sheet of control method.As shown in fig. 6, the transmission control method may comprise steps of.
601st, the first equipment confirm aggregated links failure Member Link fault recovery after, the first equipment from
Sample and obtain in the destination mark set corresponding with the aggregation interface mark of aggregated links of first equipment storage
N number of destination mark.
In the embodiment of the present invention, specifically, the first equipment stores what destination mark was identified with aggregation interface
Corresponding relation, wherein, the destination mark is used for the sending destination for indicating data message.First equipment exists
After the failure Member Link fault recovery for confirming aggregated links, it will be determined according to the corresponding relation and polymeric chain
The aggregation interface on road identifies corresponding destination mark set, each destination in the destination mark set
It is designated the corresponding destination mark of aggregation interface mark with aggregated links.In the destination mark set
The quantity of destination mark is more than or equal to 3.
If for example, including destination mark 1, destination mark with the corresponding destination mark of aggregation interface mark
2nd, destination mark 3 and destination mark 4, then with the aggregation interface corresponding destination of mark of aggregated links
Logo collection may include destination mark 1, destination mark 2, destination mark 3 and destination mark 4;
Or destination mark set corresponding with the aggregation interface mark of aggregated links may include this 4 destination marks
In any three destination marks.
In the embodiment of the present invention, the first equipment is determined after destination mark set, will be from destination mark collection
Sampling obtains N number of destination mark in conjunction, wherein, N is the integer more than or equal to 2.
If for example, destination mark set include destination mark 1, destination mark 2 and destination mark 3,
Then the first equipment can sample from destination mark set obtains destination mark 1 and destination mark 2, or can
Sampling obtains destination mark 1 and destination mark 3, or can sample acquisition destination mark 2 and purpose terrestrial reference
Know 3.
As an alternative embodiment, N and the sum of the destination mark in the destination mark set
Measure positive correlation.
In this embodiment, specifically, the first equipment prestores the mark total quantity S of destination mark set
With quantity N corresponding relation, in the corresponding relation, the S more big N then corresponding with the S of value value is more
Greatly.For example, if S is 100, N corresponding with S is 50;If S is 200, N corresponding with S
For 70.In this embodiment, the corresponding mesh of aggregation interface mark with aggregated links is determined in the first equipment
Ground logo collection after, the first equipment by determine destination mark set in destination mark total quantity
S, and obtain N corresponding with S value.After the value that the first equipment obtains N, the first equipment is from the
Sampling obtains N in the destination mark set corresponding with the aggregation interface mark of aggregated links of one equipment storage
Individual destination mark.
By implementing the embodiment, the quantity of sampling destination mark is dynamically adjusted, when purpose terrestrial reference
When the total quantity of destination mark in knowledge set is bigger, more destination marks of sampling are detected, this
Sample can more accurately determine being associated with each destination mark in destination mark set for the second device losses
Forwarding-table item whether recovered.
602nd, the first equipment generates N number of detection messages.
In the embodiment of the present invention, the first equipment is obtained after N number of destination mark, can generate N number of detection report
Text.Wherein, any one detection messages in N number of detection messages are carried in N number of destination mark
Any one destination mark, and N number of detection messages and N number of destination mark one-to-one corresponding.
For example, if the first equipment is sampled from destination mark set obtains destination mark 1 and mesh
Ground mark 2, then the first equipment will generate two detection messages, respectively include the detection of destination mark 1
Message 1 and the detection messages 2 including destination mark 2.
603rd, the first equipment sends N number of detection messages by failure Member Link to the second equipment.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the first equipment generates N number of inspection
Observe and predict after text, N number of detection messages are sent to the second equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment generates N number of inspection
After observing and predicting text, N number of detection messages will be sent to the second equipment by failure Member Link via transponder.
604th, the second equipment receives N number of inspection that the first equipment is sent by the failure Member Link of aggregated links
Observe and predict text.
605th, N number of destination mark of second equipment in N number of detection messages, in the storage of the second equipment
Forwarding-table item in search whether exist associate with each destination mark in N number of destination mark turn
Forwarding list item.
In the embodiment of the present invention, the second equipment is received after N number of detection messages, will be reported according to N number of detection
N number of destination mark in text, searches whether exist and N number of mesh in the forwarding-table item that the second equipment is stored
Ground mark in each destination mark association forwarding-table item.When in the presence of in N number of destination mark
Each destination mark association forwarding-table item when, perform step 606.
For example, if N number of detection messages are to include the detection messages 1 of destination mark 1 and including mesh
Ground mark 2 detection messages 2, then after the second equipment receives detection messages 1 and detection messages 2, can exist
Search whether there is the forwarding-table item associated with destination mark 1 in the forwarding-table item of storage, and can search
With the presence or absence of the forwarding-table item associated with destination mark 2;Exist and destination mark 1 if the second equipment is searched
The forwarding-table item of association, and there is the forwarding-table item associated with destination mark 2, then the second equipment is returned
It is corresponding with detection messages 1 to be used to indicate the forwarding-table item associated with destination mark 1 in the second equipment
The response message 1 of recovery, and return to be used to indicate in second equipment and destination corresponding with detection messages 2
Identify the recovered response message 2 of the forwarding-table item of 2 associations.
606th, 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 is corresponded with the N number of detection messages, this it is N number of should
Answer message be used for indicate the second equipment in the forwarding-table item that is associated with N number of destination mark recovered.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the second equipment generate this it is N number of should
Answer after message, N number of response message is sent to the first equipment by failure Member Link.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the second equipment generate this it is N number of should
Answer after message, N number of response message will be sent by failure Member Link to transponder, and by transponder
N number of response message is sent to the first equipment.
607th, the first equipment receives the second equipment and responds N number of response message that N number of detection messages are returned.
608th, failure Member Link is defined as allowing each mesh in sending destination logo collection by the first equipment
Ground identify the link of corresponding data message.
In the embodiment of the present invention, the first equipment is received after N number of response message, and failure Member Link is true
Being set to allows the link of the corresponding data message of each destination mark in sending destination logo collection.Its
In, the corresponding data message of each destination mark is to include the data message of the destination mark.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the first equipment is by failure member's chain
Road is defined as allowing the link of the corresponding data message of each destination mark in sending destination logo collection
Embodiment can be:First equipment indicates that the failure Member Link is defined as allowing hair by transponder
Send the link of the corresponding data message of each destination mark in destination mark set.
For example, if destination mark set includes destination mark 1, destination mark 2 and purpose terrestrial reference
Know 3, the first equipment generates two detection messages, the respectively detection messages 1 including destination mark 1 and bag
Include the detection messages 2 of destination mark 2.When the first equipment receive it is corresponding with detection messages 1 be used for indicate
The recovered response message 1 of the forwarding-table item that is associated in second equipment with destination mark 1, and receive
It is corresponding with detection messages 2 to be used to indicate the forwarding-table item associated with destination mark 2 in the second equipment
During the response message 2 of recovery, the first equipment determine in the second equipment with destination mark 1, destination mark 2
The forwarding-table item being respectively associated with destination mark 3 is recovered;And then first equipment by failure member's chain
The data message that road is confirmed as allowing transmission to include destination mark 1 includes the datagram of destination mark 2
The link of data message literary and including destination mark 3.
In actual applications, many mesh are potentially included in destination mark set corresponding with aggregation interface mark
Ground mark, if the first equipment to each destination mark generate a detection messages, the second equipment will
Receive and handle many detection messages, the detection messages of the second equipment processing are more, the workload of the second equipment
It is bigger.In the method described by Fig. 6 is implemented, the first equipment can sample from destination mark set obtains N
Individual destination mark, and one detection messages of destination mark generation that each sampling is obtained are sent to second
Equipment;When receive the return of the second equipment be used for indicate to associate with N number of destination mark in the second equipment
During N number of response message that forwarding-table item has recovered, determine the second equipment storage with destination mark set
In each destination mark association forwarding-table item recovered.It can be seen that, by implementing the side described by Fig. 6
Method, can greatly reduce the workload of the second equipment.And by generation detection messages of sampling, can be quickly true
Whether the forwarding-table item associated with each destination mark in destination mark set of fixed second equipment storage
Recover.And by implementing the method described by Fig. 6, can also avoid in failure Member Link fault recovery
Afterwards, sent datagram by the failure Member Link and reach situation about being dropped after the second equipment generation.
As an alternative embodiment, each detection messages in N number of detection messages also carry business
Feature, the service feature is the storage of the first equipment and aggregation interface mark corresponding service feature, destination
Each destination in logo collection is designated identifies corresponding destination with the service feature and aggregation interface
Mark, N number of response message is used to indicate to close with N number of destination mark and service feature in the second equipment
The forwarding-table item of connection is recovered, and the corresponding data message of each destination mark is the number for belonging to service feature
According to message.So correspondingly, the embodiment of step 605 can be:
Service feature of second equipment in N number of detection messages and N number of destination mark, second
Equipment storage forwarding-table item associate with service feature in search whether in the presence of with N number of destination mark
Each destination mark association forwarding-table item;If in the forwarding-table item associated with service feature exist with
The forwarding-table item of each destination mark association in N number of destination mark, then perform step 606.
In this embodiment, specifically, the first equipment store service feature, aggregation interface mark and
Corresponding relation between destination mark three.Optionally, the service feature may include type of service, business
The combination of any one or more in priority and business datum message size scope.Wherein, the business
Type may include word type of service, speech business type or video traffic type etc..
In this embodiment, specifically, the first equipment is confirming the failure Member Link failure of aggregated links
After recovery, the first equipment can obtain aggregation interface mark corresponding according to the corresponding relation between the three
Service feature, and determination will be identified with identifying corresponding all purposes with the service feature and the aggregation interface
For the destination mark in the logo collection of destination, and destination mark set only include with the service feature and
The aggregation interface identifies corresponding destination mark.
For example, if service feature is type of service, if type of service, aggregation interface mark and purpose
Corresponding relation between ground mark three is as shown in table 4 below, then when aggregation interface is designated aggregation interface mark 2
When, it is video traffic type that what the first equipment was obtained identifies 2 corresponding types of service with aggregation interface.
Table 4
Corresponding relation sequence number | Type of service | Aggregation interface is identified | Destination mark |
1 | Word 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 connect with video traffic type and polymerizeing
Mouth 2 corresponding destination marks of mark are defined as the destination mark in destination mark set, i.e. purpose
Ground logo collection includes destination mark 2, destination mark 3 and destination mark 4.First equipment is determined
After destination mark set, will sample acquisition any two destination mark from destination mark set,
For example, the destination mark that the sampling of the first equipment is obtained can identify 2 and destination mark 3 for the purpose of.The
One equipment can generate the detection messages 1 for carrying video traffic type and destination mark 2, and generate carrying video
The detection messages 2 of type of service and destination mark 3, concurrently send detection messages 1 and detection messages 2 to the second
Equipment.The forwarding-table item of second equipment also stores the corresponding relation between type of service and destination mark,
Second equipment by the video traffic type and destination mark 2 in detection messages 1, storage and video
Search whether there is the forwarding-table item associated with destination mark 1 in the forwarding-table item of type of service association, and
And second video traffic type and destination mark 2 of the equipment in detection messages 2, storage and video
Search whether there is the forwarding-table item associated with destination mark 2 in the forwarding-table item of type of service association;If
With there is the forwarding-table item associated with destination mark 1 in the forwarding-table item of video traffic type association, and deposit
In the forwarding-table item associated with destination mark 2, then the second equipment is returned to the first equipment is used to indicate second
The response report that the forwarding-table item associated with video traffic type and destination mark 1 of equipment storage has recovered
Text, and returned to the first equipment for instruction the second equipment storage and video traffic type and destination mark 2
The response message that the forwarding-table item associated has recovered.
It can be seen that, under the scene that the first equipment or transponder send datagram according to service feature, pass through
Implement the embodiment, the forwarding-table item that the first equipment is associated in confirmation with service feature and destination mark
After recovery, the destination mark is just included by the Member Link transmission of fault recovery and belongs to business spy
The data message levied, so as to avoid after failure Member Link fault recovery, passes through failure member's chain
Road thus send datagram reach the second equipment after situation about being dropped occur.
Based on above two system architecture, referring to Fig. 7, Fig. 7 is one kind first disclosed in the embodiment of the present invention
The structural representation of equipment.Wherein, the first equipment shown in Fig. 7 can include generation module 701, send mould
Block 702 and determining module 703.Wherein:
Generation module 701, for after the failure Member Link fault recovery of aggregated links is confirmed, generation the
One detection messages, first detection messages carry the first destination mark, and first destination mark is first
The corresponding destination mark of aggregation interface mark with aggregated links of equipment storage, first destination mark
Sending destination for indicating the first data message.
Sending module 702, for sending what generation module 701 was generated to the second equipment by failure Member Link
First detection messages.
In the embodiment of the present invention, generation module 701 is generated after the first detection messages, triggers sending module 702
First detection messages that generation module 701 is generated are sent to the second equipment by failure Member Link.
Determining module 703, the first response that the second equipment responds first detection messages return is received for working as
During message, failure Member Link is defined as to the link for allowing to send the first data message, wherein, this first
Response message is used to indicate that the forwarding-table item associated with the first destination mark in the second equipment is recovered, should
First data message includes the first destination mark.
As an alternative embodiment, generation module 701, be additionally operable to confirm the failure of aggregated links into
After member's link failure recovery, the second detection messages are generated, second detection messages carry the terrestrial reference of the second mesh
Know, second destination mark is the corresponding mesh of aggregation interface mark with aggregated links that the first equipment is stored
Ground mark, second destination mark be used for indicate the second data message sending destination, second mesh
Ground mark differed with the first destination mark.
Sending module 702, is additionally operable to generate to the second equipment transmission generation module 701 by failure Member Link
Second detection messages.
In the embodiment of the present invention, generation module 701 is generated after the second detection messages, triggers sending module 702
Second detection messages that generation module 701 is generated are sent to the second equipment by failure Member Link.
Determining module 703, is additionally operable to:
When receive the second equipment respond second detection messages return the second response message when, by failure into
Member's link is defined as the link for not allowing to send the second data message, wherein, second response message is used to refer to
Show that the forwarding-table item associated in the second equipment with the second destination mark does not recover, second data message includes
Second destination mark;
Or,
The 3rd response that second detection messages are returned is responded when not receiving the second equipment in preset time period
During message, failure Member Link is defined as not allowing sending to the link of the second data message, wherein, this
Three response messages are used to indicate that the forwarding-table item associated with the second destination mark in the second equipment is recovered,
Second data message includes the second destination mark.
As an alternative embodiment, first detection messages also carry the first service feature, this first
Service feature is the storage of the first equipment and the corresponding service feature of aggregation interface mark, the terrestrial reference of first mesh
Know for the storage of the first equipment and aggregation interface mark and the corresponding destination mark of the first service feature, be somebody's turn to do
First response message is used to indicate what is associated with the first destination mark and the first service feature in the second equipment
Forwarding-table item is recovered, and the service feature of first data message belongs to the first service feature.
As an alternative embodiment, second detection messages also carry the second service feature, this second
Service feature is the storage of the first equipment and the corresponding service feature of aggregation interface mark, the terrestrial reference of second mesh
Know for the storage of the first equipment and aggregation interface mark and the corresponding destination mark of the second service feature, be somebody's turn to do
Second response message is used to indicate what is associated with the second destination mark and the second service feature in the second equipment
Forwarding-table item does not recover, and the 3rd response message is used to indicate in the second equipment and the second destination mark and the
The forwarding-table item that two service features are associated has recovered, and the service feature of second data message belongs to the second industry
Business feature.
It can be seen that, by implementing the first equipment described by Fig. 7, it can avoid in failure Member Link fault recovery
Afterwards, the situation hair being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
It is raw.
Based on above two system architecture, referring to Fig. 8, Fig. 8 is another disclosed in the embodiment of the present invention
The structural representation of one equipment.As shown in figure 8, first equipment at least includes:Processor 801, by total
Memory 803, receiver 804 and transmitter 805 that line 802 is connected with processor 801.Wherein, deposit
Reservoir 803 is used to store batch processing code, wherein, processor 801 is used to call to deposit in memory 803
The program code of storage, for performing following operation:
After the failure Member Link fault recovery of aggregated links is confirmed, the first detection messages are generated, this
One detection messages carry the first destination mark, and first destination mark is the storage of memory 803 and this
The aggregation interface of aggregated links identifies corresponding destination mark, and first destination mark is used to indicate first
The sending destination of data message;
Control transmitter 805 sends first detection messages by the failure Member Link to the second equipment;
If receiving the second equipment by receiver 804 responds the first response report that first detection messages are returned
Text, then be defined as allowing sending the link of first data message by the failure Member Link, wherein, this
One response message is used to indicate that the forwarding-table item associated with first destination mark in second equipment is extensive
Multiple, first data message includes first destination mark.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the transmitter 805 can be to turn
Send out device.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, the generation of processor 801 first is examined
Observe and predict after text, control transmitter 805 sends the first detection messages to transponder, and is passed through by transponder
Failure Member Link sends the first detection messages to the second equipment.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, processor 801 is by failure member's chain
Road is defined as allowing the embodiment of the link of the first data message of transmission to be:Processor 801 is indicated
Failure Member Link is positioned to allow for sending the link of the first data message by transponder.Gather when transponder passes through
When closing the second equipment of chain road direction the first data message of transmission, transponder may be selected the failure Member Link and be sent out
Send.
As an alternative embodiment, processor 801 calls the program code stored in memory 803,
After the failure Member Link fault recovery of aggregated links is confirmed, following operate also is performed:
The second detection messages are generated, second detection messages carry the second destination mark, second destination
The corresponding destination mark of aggregation interface mark with the aggregated links of the storage of memory 803 is designated, should
Second destination mark is used for the sending destination for indicating the second data message, and second destination mark is with being somebody's turn to do
First destination mark is differed;
Control transmitter 805 sends second detection messages by the failure Member Link to the second equipment;
Processor 801 calls the program code stored in memory 803, also performs following operate:
If receiving second equipment by receiver 804 responds the second response that second detection messages are returned
The failure Member Link, then be defined as the link for not allowing to send the second data message by message, wherein, should
Second response message is used to indicate that the forwarding-table item associated with second destination mark in second equipment is not extensive
Multiple, second data message includes second destination mark;Or,
If not receiving second equipment by receiver 804 in preset time period responds the second detection report
The failure Member Link, then be defined as not allowing to send the second data message by the 3rd response message that text is returned
Link, wherein, the 3rd response message is used to indicate in second equipment and second destination mark is closed
The forwarding-table item of connection is recovered, and second data message includes second destination mark.
In this embodiment, when based on system architecture shown in Fig. 3, the generation of processor 801 second is examined
Observe and predict after text, control transmitter 805 sends the second detection messages to transponder, and is passed through by transponder
Failure Member Link sends the second detection messages to the second equipment.
When based on system architecture shown in Fig. 3, the failure Member Link is defined as not permitting by processor 801
Perhaps sending the embodiment of the link of the second data message can be:Processor 801 indicates that transponder will
The failure Member Link is defined as the link for not allowing to send the second data message.
As an alternative embodiment, first detection messages also carry the first service feature, first industry
Business be characterized as memory 803 store with the corresponding service feature of aggregation interface mark, first destination
It is designated being identified with the aggregation interface and the corresponding destination of first service feature for the storage of memory 803
Mark, first response message is used to indicate in second equipment and first destination mark and first industry
The forwarding-table item that business feature is associated is recovered, and the service feature of first data message belongs to first industry
Business feature.
As an alternative embodiment, second detection messages also carry the second service feature, this second
Service feature is the storage of memory 803 and the corresponding service feature of aggregation interface mark, second purpose
Ground is designated being identified with the aggregation interface and the corresponding purpose of second service feature for the storage of memory 803
Ground identify, second response message be used for indicate in second equipment with second destination mark and this second
The forwarding-table item that service feature is associated does not recover, the 3rd response message be used for indicate in second equipment with
The forwarding-table item that second destination mark is associated with second service feature has recovered, second datagram
The service feature of text belongs to second service feature.
It can be seen that, by implementing the first equipment described by Fig. 8, it can avoid in failure Member Link fault recovery
Afterwards, the situation hair being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
It is raw.
Based on above two system architecture, referring to Fig. 9, Fig. 9 is another disclosed in the embodiment of the present invention
The structural representation of two equipment.Wherein, the second equipment shown in Fig. 9 can include the first receiving module 901,
First searching modul 902 and the first sending module 903.Wherein:
First receiving module 901, receives what the first equipment was sent for the failure Member Link by aggregated links
First detection messages, first detection messages carry the first destination mark, and first destination mark is the
The corresponding destination mark of aggregation interface mark with aggregated links of one equipment storage, the terrestrial reference of first mesh
Know the sending destination for indicating the first data message.
First searching modul 902, for the first destination mark in the first detection messages, sets second
Search whether there is the forwarding-table item associated with the first destination mark in the forwarding-table item of standby storage.
In the embodiment of the present invention, the first receiving module 901 receive the first equipment send the first detection messages it
Afterwards, first destination mark of the first searching modul 902 of triggering in the first detection messages, sets second
Search whether there is the forwarding-table item associated with the first destination mark in the forwarding-table item of standby storage.
First sending module 903, the forward table for finding the storage of the second equipment when the first searching modul 902
When there is the forwarding-table item associated with the first destination mark in, the first response message is sent to the first equipment,
The link for allowing to send the first data message to trigger the first equipment to be defined as failure Member Link, this first
Response message is used to indicate that the forwarding-table item associated with the first destination mark in the second equipment is recovered, should
First data message includes the first destination mark.
As an alternative embodiment, first detection messages also carry the first service feature, this first
Service feature is the corresponding service feature of aggregation interface mark with aggregated links that the first equipment is stored, and this
One destination mark is being identified with aggregation interface and the corresponding purpose of the first service feature for the first equipment storage
Ground is identified, and first response message is used to indicate special with the first destination mark and the first business in the second equipment
Levy that the forwarding-table item associated is recovered, the service feature of first data message belongs to the first service feature.
First searching modul 902 specifically for:
The first destination mark and the first service feature in the first detection messages, in the storage of the second equipment
Forwarding-table item in search whether exist and first destination mark and first service feature associate turn
Forwarding list item.
First sending module 903 specifically for:
Exist and the first destination in the first searching modul 902 finds the forwarding-table item that the second equipment is stored
When identifying the forwarding-table item associated with the first service feature, then the first response message is sent to the first equipment.
It can be seen that, by implementing the second equipment described by Fig. 9, it can avoid in failure Member Link fault recovery
Afterwards, the situation hair being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
It is raw.
Based on above two system architecture, also referring to Figure 10, Figure 10 is another disclosed in the embodiment of the present invention
A kind of structural representation of second equipment.Wherein, the second equipment shown in Figure 10 is second as shown in Figure 9
Equipment optimizes what is obtained.Compared with the second equipment shown in Fig. 9, the second equipment shown in Figure 10 is removed
Outside all modules including the second equipment shown in Fig. 9, it may also include the second receiving module 904, second look into
Look for the sending module 906 of module 905 and second.Wherein:
Second receiving module 904, receives what the first equipment was sent for the failure Member Link by aggregated links
Second detection messages, second detection messages carry the second destination mark, and second destination mark is the
The corresponding destination mark of aggregation interface mark with aggregated links of one equipment storage, the terrestrial reference of second mesh
Know the sending destination for indicating the second data message, the second destination mark and the first destination mark are not
It is identical.
Second searching modul 905, for the second destination mark in the second detection messages, sets second
Search whether there is the forwarding-table item associated with the second destination mark in the forwarding-table item of standby storage.
In the embodiment of the present invention, the second receiving module 904 receive the first equipment send the second detection messages it
Afterwards, second destination mark of the second searching modul 905 of triggering in the second detection messages, sets second
Search whether there is the forwarding-table item associated with the second destination mark in the forwarding-table item of standby storage.
Second sending module 906, the forward table for finding the storage of the second equipment when the second searching modul 905
When the forwarding-table item associated with the second destination mark being not present in, the second response report is sent to the first equipment
Text, the link for not allowing to send the second data message to trigger the first equipment to be defined as failure Member Link,
Second response message is used to indicate that the forwarding-table item associated with the second destination mark in the second equipment is not extensive
Multiple, second data message 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 disparate modules;First searching modul 902 and the second searching modul 905 can be same module or different moulds
Block;The sending module 906 of first sending module 903 second can be same module or disparate modules.
As an alternative embodiment, second detection messages also carry the second service feature, this second
Service feature is the corresponding service feature of aggregation interface mark with aggregated links that the first equipment is stored, and this
Two destination marks are being identified with aggregation interface and the corresponding purpose of the second service feature for the first equipment storage
Ground is identified, and second response message is used to indicate special with the second destination mark and the second business in the second equipment
Levy the forwarding-table item associated not recover, the service feature of second data message belongs to the second service feature.
Second searching modul 905 specifically for:
The second destination mark and the second service feature in the second detection messages, in the storage of the second equipment
Forwarding-table item in search whether there is the forward table that is associated with the second destination mark and the second service feature
.
Second sending module 906 specifically for:
It is not present and the second purpose in the second searching modul 905 finds the forwarding-table item that the second equipment is stored
During the forwarding-table item that ground mark is associated with the second service feature, the second response message is sent to the first equipment.
It can be seen that, by implementing the second equipment described by Figure 10, it can avoid in failure Member Link fault recovery
Afterwards, the situation hair being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
It is raw.
Based on above two system architecture, Figure 11 is referred to, Figure 11 is another disclosed in the embodiment of the present invention
The structural representation of second equipment.As shown in figure 11, second equipment at least includes:It is processor 1101, logical
Cross memory 1103, receiver 1104 and transmitter 1105 that bus 1102 is connected with processor 1101.
Wherein, memory 1103 is used to store batch processing code, wherein, processor 1101 is used to call storage
The program code stored in device 1103, for performing following operation:
Receiver 1104 is controlled to receive the first inspection that the first equipment is sent by the failure Member Link of aggregated links
Text is observed and predicted, first detection messages carry the first destination mark, first destination mark first sets for this
The corresponding destination mark of aggregation interface mark with the aggregated links of standby storage, first destination mark
Sending destination for indicating the first data message.
According to the first destination mark in first detection messages, the forwarding-table item stored in memory 1103
In search whether there is the forwarding-table item that is associated with first destination mark.
If there is the forward table associated with first destination mark in the forwarding-table item that memory 1103 is stored
, then the first response message is sent to first equipment by transmitter 1105, will to trigger first equipment
The failure Member Link is defined as the link for allowing to send first data message, and first response message is used for
Indicate that the forwarding-table item associated in memory 1103 with first destination mark is recovered, first data
Message includes first destination mark.
As an alternative embodiment, processor 1101 calls the program code stored in memory 1103,
Also perform following operate:
Receiver 1104 is controlled to receive the second inspection that the first equipment is sent by the failure Member Link of aggregated links
Text is observed and predicted, second detection messages carry the second destination mark, second destination mark first sets for this
The corresponding destination mark of aggregation interface mark with the aggregated links of standby storage, second destination mark
Sending destination for indicating the second data message, second destination mark and first destination mark
Differ;
According to the second destination mark in second detection messages, the forwarding-table item stored in memory 1103
In search whether there is the forwarding-table item that is associated with second destination mark;
If the forward table associated with second destination mark is not present in the forwarding-table item that memory 1103 is stored
, then the second response message is sent to first equipment by transmitter 1105, will to trigger first equipment
The failure Member Link is defined as the link for not allowing to send second data message, and second response message is used
Do not recover in the forwarding-table item for indicating to associate with second destination mark in memory 1103, second data
Message includes second destination mark.
As an alternative embodiment, first detection messages also carry the first service feature, this first
Service feature is the corresponding service feature of aggregation interface mark with the aggregated links that first equipment is stored,
First destination mark is the equal with aggregation interface mark and first service feature of first equipment storage
Corresponding destination mark, first response message is used to indicate the terrestrial reference in memory 1103 with first mesh
Know the forwarding-table item associated with first service feature recovered, the service feature of first data message
Belong to first service feature;So correspondingly, processor 1101 in first detection messages first
Destination mark, searches whether the terrestrial reference for having with first mesh in the forwarding-table item that memory 1103 is stored
Knowing the embodiment of the forwarding-table item of association may include following operation:
First destination mark and first service feature of the processor 1101 in first detection messages,
Search whether exist and first destination mark and first business in the forwarding-table item that memory 1103 is stored
The forwarding-table item that feature is associated;
Correspondingly, if having what is associated with first destination mark in the forwarding-table item that memory 1103 is stored
Forwarding-table item, then processor 1101 by transmitter 1105 to first equipment send the first response message tool
Body embodiment may include following operation:
If existing in the forwarding-table item that memory 1103 is stored special with first destination mark and first business
The forwarding-table item associated is levied, then processor 1101 sends first by transmitter 1105 to first equipment
Response message.
As an alternative embodiment, second detection messages also carry the second service feature, this second
Service feature is the corresponding service feature of aggregation interface mark with the aggregated links that first equipment is stored,
Second destination mark is the equal with aggregation interface mark and second service feature of first equipment storage
Corresponding destination mark, second response message is used to indicate the terrestrial reference in memory 1103 with second mesh
Know the forwarding-table item associated with second service feature not recover, the service feature category of second data message
In second service feature;So correspondingly, second mesh of the processor 1101 in second detection messages
Ground mark, memory 1103 store forwarding-table item in search whether exist and second destination mark
The embodiment of the forwarding-table item of association may include following operation:
Second destination mark and second service feature of the processor 1101 in second detection messages,
Search whether exist and second destination mark and second business in the forwarding-table item that memory 1103 is stored
The forwarding-table item that feature is associated;
Correspondingly, associated if being not present in the forwarding-table item that memory 1103 is stored with second destination mark
Forwarding-table item, then processor 1,101 second response message is sent to first equipment by transmitter 1105
Embodiment may include following operation:
If being not present and second destination mark and second business in the forwarding-table item that memory 1103 is stored
The forwarding-table item that feature is associated, then processor 1101 send the to first equipment by transmitter 1105
Two response messages.
It can be seen that, by implementing the second equipment described by Figure 11, it can avoid in failure Member Link fault recovery
Afterwards, the situation hair being dropped by the failure Member Link therefore after the second equipment of arrival that sends datagram
It is raw.
Based on above two system architecture, Figure 12 is referred to, Figure 12 is another disclosed in the embodiment of the present invention
The structural representation of first equipment.Wherein, the first equipment shown in Figure 12 can include acquisition module 1201,
Generation module 1202, sending module 1203 and determining module 1204.Wherein:
Acquisition module 1201, for after the failure Member Link fault recovery of aggregated links is confirmed, from the
Sampling obtains N in the destination mark set corresponding with the aggregation interface mark of aggregated links of one equipment storage
Individual destination mark, wherein, the destination mark is used for the sending destination for indicating data message, and N is big
In or equal to 2 integer.
Generation module 1202, for generating N number of detection messages, any one detection in N number of detection messages
Message carries any one destination mark in N number of destination mark, and N number of detection messages with
N number of destination mark is corresponded.
In the embodiment of the present invention, the sampling of acquisition module 1201 is obtained after N number of destination mark, triggering generation
Module 1202 generates 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, generation module 1202 is generated after N number of detection messages, triggers sending module
1203 send N number of detection messages by failure Member Link to the second equipment.
Determining module 1204, for when receive that the second equipment responds that the N number of detection messages return it is N number of should
When answering message, N number of response message is corresponded with N number of detection messages, and failure Member Link is defined as
Allow the link of the corresponding data message of each destination mark in sending destination logo collection, wherein,
The corresponding data message of each destination mark is to include the data message of the destination mark, this it is N number of should
Answer message be used for indicate the second equipment in the forwarding-table item that is associated with N number of destination mark it is recovered.
As an alternative embodiment, each detection messages in N number of detection messages also carry business
Feature, the service feature is the storage of the first equipment and the corresponding service feature of aggregation interface mark, the purpose
Each destination in ground logo collection is designated identifies corresponding destination with service feature and aggregation interface
Mark, N number of response message is used to indicate to close with N number of destination mark and service feature in the second equipment
The forwarding-table item of connection is recovered, and the corresponding data message of each destination mark belongs to service feature
Data message.
As an alternative embodiment, N and the total quantity of the destination mark in destination mark set
Positive correlation.
In actual applications, many mesh are potentially included in destination mark set corresponding with aggregation interface mark
Ground mark, if the first equipment to each destination mark generate a detection messages, the second equipment will
Receive and handle many detection messages, the detection messages of the second equipment processing are more, the workload of the second equipment
It is bigger.In the first equipment described by Figure 12 is implemented, the first equipment can sample from destination mark set
N number of destination mark is obtained, and the destination mark obtained to each sampling generates a detection messages and sent
To the second equipment;When receive the second equipment return be used for indicate the second equipment in and N number of destination mark
During N number of response message that the forwarding-table item of association has recovered, determine the second equipment storage with purpose terrestrial reference
The forwarding-table item for knowing the mark association of each destination in set has recovered.It can be seen that, retouched by implementing Figure 12
The first equipment stated, can greatly reduce the workload of the second equipment.And by generation detection messages of sampling,
Turn associated with each destination mark in destination mark set of the second equipment storage can quickly be determined
Whether forwarding list item has recovered.And by implementing the first equipment described by Figure 12, can also avoid failure into
After member's link failure recovery, sent datagram by the failure Member Link and reach quilt after the second equipment
The situation of discarding occurs.
Based on above two system architecture, Figure 13 is referred to, Figure 13 is another disclosed in the embodiment of the present invention
The structural representation of first equipment.As shown in figure 13, first equipment at least includes:It is processor 1301, logical
Cross memory 1303, receiver 1304 and transmitter 1305 that bus 1302 is connected with processor 1301.
Wherein, memory 1303 is used to store batch processing code, wherein, processor 1301 is used to call storage
The program code stored in device 1303, for performing following operation:
After the failure Member Link fault recovery of aggregated links is confirmed, from the storage of memory 1303 with gathering
The aggregation interface for closing link identifies the N number of destination mark of sampling acquisition in corresponding destination mark set, its
In, the destination mark is used for the sending destination for indicating data message, and 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 mesh
Ground mark in any one destination mark, and N number of detection messages and N number of destination mark one
One correspondence.
Control transmitter 1305 sends N number of detection messages by failure Member Link to the second equipment.
N number of response that N number of detection messages are returned is responded when receiving the second equipment by receiver 1304
During message, N number of response message is corresponded with N number of detection messages, and failure Member Link is defined as permitting
Perhaps the link of the corresponding data message of each destination mark in sending destination logo collection, wherein, should
The corresponding data message of each destination mark is to include the data message of the destination mark, N number of response
Message is used to indicate that the forwarding-table item associated with N number of destination mark in the second equipment is recovered.
In the embodiment of the present invention, when based on system architecture shown in Fig. 2, the transmitter 1305 can be to turn
Send out device.
In the embodiment of the present invention, when based on system architecture shown in Fig. 3, processor 801 generates N number of inspection
Observe and predict after text, control transmitter 1305 sends N number of detection messages to transponder, and is led to by transponder
Cross failure Member Link and send N number of detection messages to the second equipment.
As an alternative embodiment, each detection messages in N number of detection messages also carry business
Feature, the service feature is the storage of memory 1303 and the corresponding service feature of aggregation interface mark, the mesh
Ground logo collection in each destination be designated and service feature and aggregation interface identify corresponding purpose
Ground is identified, and N number of response message is used to indicate in the second equipment and N number of destination mark and service feature
The forwarding-table item associated is recovered, and the corresponding data message of each destination mark is that to belong to business special
The data message levied.
As an alternative embodiment, N and the total quantity of the destination mark in destination mark set
Positive correlation.
It can be seen that, by implementing the first equipment described by Figure 13, it can greatly reduce the workload of the second equipment.
And by sample generation detection messages, can quickly determine the second equipment storage with destination mark set
Each destination mark association forwarding-table item whether recovered.And by implementing described by Figure 13
One equipment, can also be avoided after failure Member Link fault recovery, and number is sent by the failure Member Link
Situation about being dropped after the second equipment is reached according to message to occur.
Based on above two system architecture, Figure 14 is referred to, Figure 14 is another disclosed in the embodiment of the present invention
The structural representation of second equipment.Wherein, the second equipment shown in Figure 14 can include receiving module 1401,
Searching modul 1402 and sending module 1403.Wherein:
Receiving module 1401, the N that the first equipment is sent is received for the failure Member Link by aggregated links
Individual detection messages, wherein, any one detection messages in N number of detection messages carry N number of purpose terrestrial reference
Any one destination mark in knowledge, and N number of detection messages and N number of destination mark one-to-one corresponding,
N number of destination mark is the aggregation interface mark pair with aggregated links that the first equipment is stored from the first equipment
Sampling is obtained in the destination mark set answered, and the destination mark is used for the transmission mesh for indicating data message
Ground, N is integer more than or equal to 2.
Searching modul 1402, for N number of destination mark in N number of detection messages, second
Search whether exist and each purpose terrestrial reference in N number of destination mark in the forwarding-table item of equipment storage
Know the forwarding-table item of association.
In the embodiment of the present invention, receiving module 1401 is received after N number of detection messages that the first equipment is sent,
The N number of destination mark of searching modul 1402 in N number of detection messages is triggered, in the second equipment
Search whether to exist in the forwarding-table item of storage and closed with each destination mark in N number of destination mark
The forwarding-table item of connection.
Sending module 1403, for existing when in the forwarding-table item that searching modul 1402 searches the storage of the second equipment
During the forwarding-table item associated with each destination mark in N number of destination mark, returned to the first equipment
N number of response message is returned, is defined as failure Member Link to allow sending destination to identify to trigger the first equipment
The link of the corresponding data message of each destination mark in set, wherein, each destination mark pair
The data message answered is to include the data message of the destination mark, N number of response message and N number of detection
Message is corresponded, and N number of response message is used to indicate to associate with N number of destination mark in the second equipment
Forwarding-table item recovered.
As an alternative embodiment, each detection messages in N number of detection messages also carry business
Feature, the service feature is the storage of the first equipment and the corresponding service feature of aggregation interface mark, the purpose
Each destination in ground logo collection is designated identifies corresponding destination with service feature and aggregation interface
Mark, N number of response message is used for equal with N number of destination mark and service feature in the second equipment of instruction
The forwarding-table item of association has recovered, and the corresponding data message of each destination mark is to belong to service feature
Data message.
Searching modul 1402 specifically for:
Service feature and N number of destination mark in N number of detection messages, in the storage of the second equipment
The forwarding-table item associated with service feature in search whether exist N number of destination mark in each mesh
Ground mark association forwarding-table item.
Sending module 1403 specifically for:
There is N number of purpose terrestrial reference in the forwarding-table item associated with service feature when searching modul 1402 is found
During the forwarding-table item of each destination mark association in knowledge, N number of response message is returned to the first equipment.
It can be seen that, by implementing the second equipment described by Figure 14, it can greatly reduce the workload of the second equipment.
And by sample generation detection messages, can quickly determine the second equipment storage with destination mark set
Each destination mark association forwarding-table item whether recovered.And by implementing described by Figure 14
Two equipment, can also be avoided after failure Member Link fault recovery, and number is sent by the failure Member Link
Situation about being dropped after the second equipment is reached according to message to occur.
Based on above two system architecture, Figure 15 is referred to, Figure 15 is another disclosed in the embodiment of the present invention
The structural representation of second equipment.As shown in figure 15, second equipment at least includes:It is processor 1501, logical
Cross memory 1503, receiver 1504 and transmitter 1505 that bus 1502 is connected with processor 1501.
Wherein, memory 1503 is used to store batch processing code, wherein, processor 1501 is used to call storage
The program code stored in device 1503, for performing following operation:
Receiver 1504 is controlled to receive N number of inspection that the first equipment is sent by the failure Member Link of aggregated links
Text is observed and predicted, wherein, any one detection messages in N number of detection messages are carried in N number of destination mark
Any one destination mark, and N number of detection messages correspond with the N number of destination mark, should
N number of destination mark is the aggregation interface mark with the aggregated links that first equipment is stored from first equipment
Know what sampling in corresponding destination mark set was obtained, the destination mark is used for the hair for indicating data message
Destination is sent, the N is the integer more than or equal to 2.
N number of destination mark in N number of detection messages, the forwarding stored in memory 1503
Search whether there is the forward table associated with each destination mark in N number of destination mark in list item
.
When memory 1503 store forwarding-table item in exist and each purpose in N number of destination mark
During the forwarding-table item of ground mark association, N number of response message is returned to the first equipment by transmitter 1505, with
The first equipment is triggered to be defined as the failure Member Link to allow to send each mesh in the destination mark set
Ground identify the link of corresponding data message, wherein, the corresponding data message of each destination mark is
Data message including the destination mark, N number of response message is corresponded with N number of detection messages,
N number of response message is used to indicate that the forwarding-table item associated with N number of destination mark in second equipment is equal
Recover.
As an alternative embodiment, each detection messages in N number of detection messages also carry business
Feature, the service feature is the storage of the first equipment and the corresponding service feature of aggregation interface mark, the mesh
Ground logo collection in each destination be designated with the service feature and the aggregation interface mark it is corresponding
Destination mark, N number of response message be used for indicate in memory 1503 with N number of destination mark and
The forwarding-table item that the service feature is associated has recovered, and the corresponding data message of each destination mark is
Belong to the data message of the service feature;So correspondingly, processor 1501 is according in N number of detection messages
N number of destination mark, memory 1503 store forwarding-table item in search whether exist and the N
The embodiment of forwarding-table item of each destination mark association in individual destination mark can be:
The service feature of processor 1501 in N number of detection messages and N number of destination mark,
Search whether there is N number of purpose in the forwarding-table item associated with the service feature that memory 1503 is stored
The forwarding-table item of each destination mark association in ground mark;
When memory 1503 store forwarding-table item in exist and each purpose in N number of destination mark
During the forwarding-table item of ground mark association, processor 1501 returns to N by transmitter 1505 to first equipment
The embodiment of individual response message can be:
Exist when existing in the forwarding-table item that memory 1503 is stored in the forwarding-table item associated with the service feature
During the forwarding-table item of each destination mark association in N number of destination mark, processor 1501 passes through
Transmitter 1505 returns to N number of response message to the first equipment.
It can be seen that, by implementing the second equipment described by Figure 15, it can greatly reduce the workload of the second equipment.
And by sample generation detection messages, can quickly determine the second equipment storage with destination mark set
Each destination mark association forwarding-table item whether recovered.And by implementing described by Figure 15
Two equipment, can also be avoided after failure Member Link fault recovery, and number is sent by the failure Member Link
Situation about being dropped after the second equipment is reached according to message to occur.
Step in present invention method 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 closed according to actual needs
And, divide and delete.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment
The program of can be by carrys out the device-dependent hardware of command terminal to complete, and the program can be stored in a calculating
In machine readable storage medium storing program for executing, storage medium can include:Flash disk, read-only storage (Read-Only
Memory, ROM), random access device (Random Access Memory, RAM), disk or CD
Deng.
A kind of transmission control method and equipment disclosed in the embodiment of the present invention are described in detail above, this
Apply specific case in text to be set forth the principle and embodiment of the present invention, above example is said
The bright method and its core concept for being only intended to help to understand the present invention;Simultaneously for the general skill of this area
Art personnel, according to the thought of the present invention, will change in specific embodiments and applications,
In summary, this specification content should not be construed as limiting the invention.
Claims (28)
1. a kind of transmission control method, it is characterised in that methods described includes:
After the failure Member Link fault recovery that the first equipment confirms aggregated links, the first equipment life
Into the first detection messages, first detection messages carry the first destination mark, the terrestrial reference of first mesh
Know the corresponding destination mark of aggregation interface mark with the aggregated links stored for first equipment,
First destination mark is used for the sending destination for indicating the first data message;
First equipment sends first detection messages by the failure Member Link to the second equipment;
Should if first equipment receives first that second equipment responds that first detection messages return
Message is answered, then the failure Member Link is defined as allowing to send first datagram by first equipment
The link of text, wherein, first response message is used to indicate in second equipment and first purpose
The forwarding-table item of ground mark association is recovered, and first data message includes first destination mark.
2. according to the method described in claim 1, it is characterised in that first detection messages also carry
One service feature, first service feature is first equipment storage and aggregation interface mark pair
The service feature answered, first destination mark is being marked with the aggregation interface for first equipment storage
Know and the corresponding destination mark of first service feature, first response message is described for indicating
The forwarding-table item associated with first destination mark and first service feature in second equipment is
Recover, the service feature of first data message belongs to first service feature.
3. method according to claim 1 or 2, it is characterised in that confirm polymeric chain in the first equipment
After the failure Member Link fault recovery on road, methods described also includes:
First equipment generates the second detection messages, and second detection messages carry the second destination mark,
Second destination mark is the aggregation interface mark pair with the aggregated links that first equipment is stored
The destination mark answered, second destination mark is used for the sending destination for indicating the second data message,
Second destination mark is differed with first destination mark;
First equipment sends second detection messages by the failure Member Link to the second equipment;
Methods described also includes:
Should if first equipment receives second that second equipment responds that second detection messages return
Message is answered, then the failure Member Link is defined as not allowing to send second data by first equipment
The link of message, wherein, second response message is used to indicate in second equipment and second mesh
Ground mark association forwarding-table item do not recover, second data message include second destination mark;
Or,
If first equipment does not receive the second equipment response second detection in preset time period
Message return the 3rd response message, then first equipment failure Member Link is defined as not allowing
The link of second data message is sent, wherein, the 3rd response message is used to indicate that described second sets
The forwarding-table item associated in standby with second destination mark is recovered, and second data message includes
Second destination mark.
4. method according to claim 3, it is characterised in that second detection messages also carry
Two service features, second service feature is first equipment storage and aggregation interface mark pair
The service feature answered, second destination mark is being marked with the aggregation interface for first equipment storage
Know and the corresponding destination mark of second service feature, second response message is described for indicating
The forwarding-table item associated with second destination mark and second service feature in second equipment is not extensive
Multiple, the 3rd response message is used to indicate in second equipment and second destination mark and described
The forwarding-table item that second service feature is associated has recovered, and the service feature of second data message belongs to institute
State the second service feature.
5. a kind of transmission control method, it is characterised in that methods described includes:
The first equipment confirm aggregated links failure Member Link fault recovery after, first equipment from
In the destination mark set corresponding with the aggregation interface mark of the aggregated links of the first equipment storage
Sampling obtains N number of destination mark, wherein, the destination mark is used for the transmission mesh for indicating data message
Ground, the N is integer more than or equal to 2;
First equipment generates any one detection messages in N number of detection messages, N number of detection messages
Carry any one destination mark in N number of destination mark, and N number of detection messages with
N number of destination mark is corresponded;
First equipment sends N number of detection messages by the failure Member Link to the second equipment;
If first equipment receives the second equipment response, N number of the N number of of detection messages return should
Message is answered, N number of response message is corresponded with N number of detection messages, then first equipment will
The failure Member Link is defined as allowing to send each destination mark pair in the destination mark set
The link for the data message answered, wherein, the corresponding data message of each destination mark is to include the mesh
Ground mark data message, N number of response message be used for indicate in second equipment with it is described N number of
The forwarding-table item of destination mark association is recovered.
6. method according to claim 5, it is characterised in that each in N number of detection messages
Detection messages also carry service feature, the service feature be first equipment store with it is described polymerize connect
The corresponding service feature of mouth mark, each destination in the destination mark set is designated and the industry
Feature of being engaged in and the aggregation interface identify corresponding destination mark, and N number of response message is used to indicate
The forwarding-table item associated with N number of destination mark and the service feature in second equipment is
Recover, the corresponding data message of each destination mark is the data message for belonging to the service feature.
7. the method according to claim 5 or 6, it is characterised in that the N and the purpose terrestrial reference
Know the total quantity positive correlation of the destination mark in set.
8. a kind of transmission control method, it is characterised in that methods described includes:
Second equipment receives the first detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, first detection messages carry the first destination mark, and first destination mark is described first
The corresponding destination mark of aggregation interface mark with the aggregated links of equipment storage, first purpose
Ground identifies the sending destination for indicating the first data message;
First destination mark of second equipment in first detection messages, sets described second
Search whether there is the forwarding-table item associated with first destination mark in the forwarding-table item of standby storage;
If there is the forwarding associated with first destination mark in the forwarding-table item of the second equipment storage
List item, then second equipment to first equipment send the first response message, set with triggering described first
The standby link for being defined as allowing to send first data message by the failure Member Link, described first should
Answering message is used to indicate that the forwarding-table item associated with first destination mark in second equipment is extensive
Multiple, first data message includes first destination mark.
9. method according to claim 8, it is characterised in that first detection messages also carry
One service feature, first service feature is polymerizeing with the aggregated links of storing of first equipment
The corresponding service feature of interface identifier, first destination mark be first equipment store with it is described
Aggregation interface is identified and the corresponding destination mark of first service feature, and first response message is used
In turn for indicating to associate with first destination mark and first service feature in second equipment
Forwarding list item is recovered, and the service feature of first data message belongs to first service feature;
First destination mark of second equipment in first detection messages, sets described second
Search whether there is the forwarding-table item associated with first destination mark, bag in the forwarding-table item of standby storage
Include:
First destination mark and first business of second equipment in first detection messages are special
Levy, second equipment store forwarding-table item in search whether exist with first destination mark and
The forwarding-table item that first service feature is associated;
If having what is associated with first destination mark in the forwarding-table item of the second equipment storage
Forwarding-table item, then second equipment to first equipment send the first response message, including:
If existing and first destination mark and described first in the forwarding-table item of the second equipment storage
The forwarding-table item that service feature is associated, then second equipment to first equipment send the first response report
Text.
10. method according to claim 8 or claim 9, it is characterised in that methods described also includes:
Second equipment receives the second detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, second detection messages carry the second destination mark, and second destination mark is described first
The corresponding destination mark of aggregation interface mark with the aggregated links of equipment storage, second purpose
Ground identifies the sending destination for indicating the second data message, second destination mark and described first
Destination mark is differed;
Second destination mark of second equipment in second detection messages, sets described second
Search whether there is the forwarding-table item associated with second destination mark in the forwarding-table item of standby storage;
If turn associated with second destination mark is not present in the forwarding-table item of the second equipment storage
Forwarding list item, then second equipment is to first equipment the second response message of transmission, to trigger described first
The failure Member Link is defined as the link for not allowing to send second data message, described by equipment
Two response messages are used to indicate the forwarding-table item associated with second destination mark in second equipment not
Recover, second data message includes second destination mark.
11. method according to claim 10, it is characterised in that second detection messages are also carried
Second service feature, second service feature is the poly- with the aggregated links of first equipment storage
Close the corresponding service feature of interface identifier, second destination mark stored for first equipment with institute
State aggregation interface mark and the corresponding destination mark of second service feature, second response message
For indicating what is associated with second destination mark and second service feature in second equipment
Forwarding-table item does not recover, and the service feature of second data message belongs to second service feature;
Second destination mark of second equipment in second detection messages, sets described second
Search whether there is the forwarding-table item associated with second destination mark, bag in the forwarding-table item of standby storage
Include:
Second destination mark and second business of second equipment in second detection messages are special
Levy, second equipment store forwarding-table item in search whether exist with second destination mark and
The forwarding-table item that second service feature is associated;
Associated if being not present in the forwarding-table item of the second equipment storage with second destination mark
Forwarding-table item, then second equipment to first equipment send the second response message, including:
If being not present in the forwarding-table item of second equipment storage and second destination mark and described the
The forwarding-table item that two service features are associated, then second equipment to first equipment send the second response
Message.
12. a kind of transmission control method, it is characterised in that methods described includes:
Second equipment receives N number of detection report that the first equipment is sent by the failure Member Link of aggregated links
Text, wherein, any one detection messages in N number of detection messages are carried in N number of destination mark
Any one destination mark, and N number of detection messages and N number of destination mark one-to-one corresponding,
N number of destination mark be first equipment stored from first equipment with the aggregated links
Aggregation interface identifies what sampling in corresponding destination mark set was obtained, and the destination mark is used to indicate
The sending destination of data message, the N is the integer more than or equal to 2;
The N number of destination mark of second equipment in N number of detection messages, described
Search whether exist and each purpose in N number of destination mark in the forwarding-table item of two equipment storage
The forwarding-table item of ground mark association;
If in the presence of the forwarding-table item associated with each destination mark in N number of destination mark,
Second equipment returns to N number of response message to first equipment, will be described to trigger first equipment
Failure Member Link is defined as allowing each destination mark sent in the destination mark set corresponding
The link of data message, wherein, the corresponding data message of each destination mark is to include the destination
The data message of mark, N number of response message is corresponded with N number of detection messages, described N number of
Response message is used to indicate the forwarding-table item associated with N number of destination mark in second equipment
Recover.
13. method according to claim 12, it is characterised in that every in N number of detection messages
Individual detection messages also carry service feature, and the service feature is polymerizeing with described for first equipment storage
The corresponding service feature of interface identifier, each destination in the destination mark set be designated with it is described
Service feature and the aggregation interface identify corresponding destination mark, and N number of response message is used to refer to
Show that the forwarding-table item associated with N number of destination mark and the service feature in second equipment is equal
It has been recovered that, the corresponding data message of each destination mark is the data message for belonging to the service feature;
The N number of destination mark of second equipment in N number of detection messages, described
Search whether exist and each purpose in N number of destination mark in the forwarding-table item of two equipment storage
The forwarding-table item of ground mark association, including:
The service feature and the N number of destination of second equipment in N number of detection messages
Mark, searches whether exist in the forwarding-table item associated with the service feature that second equipment is stored
The forwarding-table item associated with each destination mark in N number of destination mark;
If in the presence of the forwarding-table item associated with each destination mark in N number of destination mark,
Second equipment returns to N number of response message to first equipment, including:
If in the forwarding-table item associated with the service feature exist with it is each in N number of destination mark
The forwarding-table item of individual destination mark association, then second equipment return to N number of response to first equipment
Message.
14. the method according to claim 12 or 13, it is characterised in that the N and the purpose
The total quantity positive correlation of destination mark in ground logo collection.
15. a kind of first equipment, it is characterised in that first equipment includes:
Generation module, for after the failure Member Link fault recovery of aggregated links is confirmed, generating first
Detection messages, first detection messages carry the first destination mark, and first destination mark is institute
State the corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, described the
One destination mark is used for the sending destination for indicating the first data message;
Sending module, for sending first detection messages to the second equipment by the failure Member Link;
Determining module, second equipment responds the first detection messages return first is received for working as
During response message, the failure Member Link is defined as to the link for allowing to send first data message,
Wherein, first response message is used to indicate in second equipment to associate with first destination mark
Forwarding-table item it is recovered, first data message include first destination mark.
16. the first equipment according to claim 15, it is characterised in that first detection messages are also
The first service feature is carried, first service feature is first equipment storage and the aggregation interface
Corresponding service feature is identified, first destination mark is polymerizeing with described for first equipment storage
Interface identifier and the corresponding destination mark of first service feature, first response message are used to refer to
Show the forward table associated with first destination mark and first service feature in second equipment
Item is recovered, and the service feature of first data message belongs to first service feature.
17. the first equipment according to claim 15 or 16, it is characterised in that
The generation module, is additionally operable to after the failure Member Link fault recovery of aggregated links is confirmed, raw
Into the second detection messages, second detection messages carry the second destination mark, the terrestrial reference of second mesh
Know the corresponding destination mark of aggregation interface mark with the aggregated links stored for first equipment,
Second destination mark is used for the sending destination for indicating the second data message, the terrestrial reference of second mesh
Knowledge is differed with first destination mark;
The sending module, is additionally operable to send second inspection to the second equipment by the failure Member Link
Observe and predict text;
The determining module, is additionally operable to:
, will when receiving the second response message that the second equipment response second detection messages are returned
The failure Member Link is defined as the link for not allowing to send second data message, wherein, described
Two response messages are used to indicate the forwarding-table item associated with second destination mark in second equipment not
Recover, second data message includes second destination mark;
Or,
When do not receive that second equipment responds that second detection messages return in preset time period the
During three response messages, the failure Member Link is defined as to the chain for not allowing to send second data message
Road, wherein, the 3rd response message is used to indicate in second equipment and second destination mark
The forwarding-table item of association is recovered, and second data message includes second destination mark.
18. the first equipment according to claim 17, it is characterised in that second detection messages are also
The second service feature is carried, second service feature is first equipment storage and the aggregation interface
Corresponding service feature is identified, second destination mark is polymerizeing with described for first equipment storage
Interface identifier and the corresponding destination mark of second service feature, second response message are used to refer to
Show the forward table associated with second destination mark and second service feature in second equipment
Item does not recover, and the 3rd response message is used to indicate in second equipment and second destination mark
The forwarding-table item associated with second service feature has recovered, the service feature of second data message
Belong to second service feature.
19. a kind of first equipment, it is characterised in that first equipment includes:
Acquisition module, for after the failure Member Link fault recovery of aggregated links is confirmed, from described the
Sample and obtain in the destination mark set corresponding with the aggregation interface mark of the aggregated links of one equipment storage
N number of destination mark is taken, wherein, the destination mark is used for the sending destination for indicating data message,
The N is the integer more than or equal to 2;
Generation module, for generating any one detection report in N number of detection messages, N number of detection messages
Text carries any one destination mark in N number of destination mark, and N number of detection messages
Corresponded with N number of destination mark;
Sending module, for sending N number of detection messages to the second equipment by the failure Member Link;
Determining module, the N number of of the second equipment response N number of detection messages return is received for working as
During response message, N number of response message is corresponded with the N number of detection messages, by the failure into
Member's link is defined as allowing to send the corresponding datagram of each destination mark in the destination mark set
The link of text, wherein, the corresponding data message of each destination mark is to include the destination mark
Data message, N number of response message is used to indicate in second equipment and N number of destination mark
The forwarding-table item of association is recovered.
20. the first equipment according to claim 19, it is characterised in that in N number of detection messages
Each detection messages also carry service feature, the service feature be first equipment store with it is described
Aggregation interface identifies corresponding service feature, each destination in the destination mark set be designated with
The service feature and the aggregation interface identify corresponding destination mark, and N number of response message is used
In the forward table for indicating to associate with N number of destination mark and the service feature in second equipment
Recovered, the corresponding data message of each destination mark is the data for belonging to the service feature
Message.
21. the first equipment according to claim 19 or 20, it is characterised in that the N with it is described
The total quantity positive correlation of destination mark in destination mark set.
22. a kind of second equipment, it is characterised in that second equipment includes:
First receiving module, for receive that the first equipment sends by the failure Member Link of aggregated links the
One detection messages, first detection messages carry the first destination mark, and first destination mark is
The corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, it is described
First destination mark is used for the sending destination for indicating the first data message;
First searching modul, for the first destination mark in first detection messages, described
Search whether there is the forward table associated with first destination mark in the forwarding-table item of second equipment storage
;
First sending module, the forwarding for finding the second equipment storage when first searching modul
When there is forwarding-table item associate with first destination mark in list item, to first equipment transmission the
One response message, is defined as allowing sending described the to trigger first equipment by the failure Member Link
The link of one data message, first response message is used to indicate in second equipment and first mesh
Ground mark association forwarding-table item it is recovered, first data message includes the terrestrial reference of first mesh
Know.
23. the second equipment according to claim 22, it is characterised in that first detection messages are also
The first service feature is carried, first service feature is first equipment storage and the aggregated links
Aggregation interface identify corresponding service feature, first destination mark is what first equipment was stored
With aggregation interface mark and the corresponding destination mark of first service feature, first response
Message is used to indicate in second equipment to close with first destination mark and first service feature
The forwarding-table item of connection is recovered, and the service feature of first data message belongs to first service feature;
First searching modul specifically for:
The first destination mark and the first service feature in first detection messages, described second
Search whether exist and first destination mark and first business spy in the forwarding-table item of equipment storage
Levy the forwarding-table item associated;
First sending module specifically for:
When existing in the forwarding-table item that first searching modul finds second equipment storage and described the
During the forwarding-table item that one destination mark is associated with first service feature, then sent out to first equipment
Send the first response message.
24. the second equipment according to claim 22 or 23, it is characterised in that second equipment
Also include:
Second receiving module, for receive that the first equipment sends by the failure Member Link of aggregated links the
Two detection messages, second detection messages carry the second destination mark, and second destination mark is
The corresponding destination mark of aggregation interface mark with the aggregated links of the first equipment storage, it is described
Second destination mark be used for indicate the second data message sending destination, second destination mark with
First destination mark is differed;
Second searching modul, for the second destination mark in second detection messages, described
Search whether there is the forward table associated with second destination mark in the forwarding-table item of second equipment storage
;
Second sending module, the forwarding for finding the second equipment storage when second searching modul
When the forwarding-table item associated with second destination mark being not present in list item, sent to first equipment
The failure Member Link, is defined as not allowing to send institute by the second response message to trigger first equipment
State the link of the second data message, second response message is used to indicate in second equipment and described the
The forwarding-table item of two destination marks association does not recover, and second data message includes second destination
Mark.
25. the second equipment according to claim 24, it is characterised in that second detection messages are also
The second service feature is carried, second service feature is first equipment storage and the aggregated links
Aggregation interface identify corresponding service feature, second destination mark is what first equipment was stored
With aggregation interface mark and the corresponding destination mark of second service feature, second response
Message is used to indicate in second equipment to close with second destination mark and second service feature
The forwarding-table item of connection does not recover, and the service feature of second data message belongs to second service feature;
Second searching modul specifically for:
The second destination mark and the second service feature in second detection messages, described second
Search whether exist and second destination mark and second business spy in the forwarding-table item of equipment storage
Levy the forwarding-table item associated;
Second sending module specifically for:
When be not present in the forwarding-table item that second searching modul finds second equipment storage with it is described
During the forwarding-table item that the second destination mark is associated with second service feature, sent out to first equipment
Send the second response message.
26. a kind of second equipment, it is characterised in that second equipment includes:
Receiving module, N number of inspection that the first equipment is sent is received for the failure Member Link by aggregated links
Text is observed and predicted, wherein, any one detection messages in N number of detection messages carry N number of destination mark
In any one destination mark, and a pair of N number of detection messages and the N number of destination mark 1
Should, N number of destination mark is that first equipment storing with the polymeric chain from first equipment
The aggregation interface on road identifies what sampling in corresponding destination mark set was obtained, and the destination mark is used for
The sending destination of data message is indicated, the N is the integer more than or equal to 2;
Searching modul, for N number of destination mark in N number of detection messages, described
Search whether exist and each mesh in N number of destination mark in the forwarding-table item of second equipment storage
Ground mark association forwarding-table item;
Sending module, for existing when in the forwarding-table item that the searching modul searches the second equipment storage
During the forwarding-table item associated with each destination mark in N number of destination mark, to described first
Equipment returns to N number of response message, is defined as the failure Member Link to allow to trigger first equipment
The link of the corresponding data message of each destination mark in the destination mark set is sent, wherein,
The corresponding data message of each destination mark is to include the data message of the destination mark, the N
Individual response message is corresponded with the N number of detection messages, and N number of response message is used to indicating described the
The forwarding-table item associated in two equipment with N number of destination mark has recovered.
27. the second equipment according to claim 26, it is characterised in that in N number of detection messages
Each detection messages also carry service feature, the service feature be first equipment store with it is described
Aggregation interface identifies corresponding service feature, each destination in the destination mark set be designated with
The service feature and the aggregation interface identify corresponding destination mark, and N number of response message is used
In the forward table for indicating to associate with N number of destination mark and the service feature in second equipment
Xiang Junyi recovers, and the corresponding data message of each destination mark is the data for belonging to the service feature
Message;
The searching modul specifically for:
The service feature and N number of destination mark in N number of detection messages, described
Search whether there is N number of purpose in the forwarding-table item associated with the service feature of second equipment storage
The forwarding-table item of each destination mark association in ground mark;
The sending module specifically for:
There is N number of mesh when the searching modul is found in the forwarding-table item associated with the service feature
Ground mark in each destination mark association forwarding-table item when, to first equipment return it is N number of
Response message.
28. the second equipment according to claim 26 or 27, it is characterised in that the N with it is described
The total quantity positive correlation of destination mark in destination mark set.
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 true CN107026790A (en) | 2017-08-08 |
CN107026790B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108092853A (en) * | 2017-12-27 | 2018-05-29 | 珠海市君天电子科技有限公司 | Method, apparatus, system, electronic equipment and the storage medium of monitoring server link state |
CN110417761A (en) * | 2019-07-17 | 2019-11-05 | 上海东土远景工业科技有限公司 | Communication means and device based on dual-computer redundancy |
CN111817955A (en) * | 2019-04-12 | 2020-10-23 | 阿里巴巴集团控股有限公司 | Data transmission system, method, device and equipment |
CN112291116A (en) * | 2020-11-23 | 2021-01-29 | 迈普通信技术股份有限公司 | Link fault detection method and device and network equipment |
CN112564931A (en) * | 2019-09-25 | 2021-03-26 | 华为技术有限公司 | Fault processing method, device and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113794641B (en) * | 2021-08-20 | 2022-10-21 | 新华三信息安全技术有限公司 | Message processing method and device |
Citations (5)
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 |
Family Cites Families (1)
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 |
-
2016
- 2016-01-30 CN CN201610071144.5A patent/CN107026790B/en active Active
- 2016-12-24 WO PCT/CN2016/111934 patent/WO2017128901A1/en active Application Filing
Patent Citations (5)
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)
Title |
---|
T.NADEAU 等: "Pseudowire Virtual Circuit Connectivity Verification (VCCV):A Control Channel for Pseudowires", 《NETWORK WORKING GROUP REQUEST FOR COMMENTS:5085》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108092853A (en) * | 2017-12-27 | 2018-05-29 | 珠海市君天电子科技有限公司 | Method, apparatus, system, electronic equipment and the storage medium of monitoring server link state |
CN108092853B (en) * | 2017-12-27 | 2021-09-21 | 珠海市君天电子科技有限公司 | Method, device and system for monitoring link state of server, electronic equipment and storage medium |
CN111817955A (en) * | 2019-04-12 | 2020-10-23 | 阿里巴巴集团控股有限公司 | Data transmission system, method, device and equipment |
CN111817955B (en) * | 2019-04-12 | 2022-10-21 | 阿里巴巴集团控股有限公司 | Data transmission system, method, device and equipment |
CN110417761A (en) * | 2019-07-17 | 2019-11-05 | 上海东土远景工业科技有限公司 | Communication means and device based on dual-computer redundancy |
CN112564931A (en) * | 2019-09-25 | 2021-03-26 | 华为技术有限公司 | Fault processing method, device and storage medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
WO2017128901A1 (en) | 2017-08-03 |
CN107026790B (en) | 2019-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107026790A (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 | |
CN106612211B (en) | Path detection method, controller and network equipment in VxLAN | |
CN100395994C (en) | Channel failure handling method in ASON | |
CN100558111C (en) | Metro Ethernet provides reliability processing method and the system under the multi-service networking | |
CA2593221C (en) | Packet transmission method and packet transmission system | |
CN107078957A (en) | The link of network service function in communication network | |
CN113259143B (en) | Information processing method, device, system and storage medium | |
CN104243239B (en) | The condition detection method and device of controller in a kind of SDN clusters | |
CN102801596B (en) | Service processing method for ring network and network equipment | |
CN102035694A (en) | Link detection device and method | |
CN102088387A (en) | Tunnel protection method and device of ring network | |
CN103957157A (en) | Route method for network interface to define forwarding rule | |
CN106411727A (en) | Message processing method and device and autonomous system | |
CN105704021B (en) | A kind of heavy route method based on elastic label | |
US8432790B2 (en) | Hierarchical protection switching framework | |
CN103368844A (en) | Message processing method and label switching router in MPLS network | |
CN110149276A (en) | Multicast forward method and device | |
CN100426754C (en) | A method to realize protection switching of stream media and system | |
CN101232508A (en) | Equipment and method for speeding up poly spanning tree protocol network topological convergence | |
CN109412851B (en) | Link layer path detection method, device and system | |
CN102143081B (en) | Message multiple-transfer method, device and system | |
US7929451B2 (en) | Switch and packet forwarding method | |
CN103746891B (en) | A kind of guard method of looped network access service, apparatus and system |
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 |