CN106878164A - A kind of message transmitting method and device - Google Patents
A kind of message transmitting method and device Download PDFInfo
- Publication number
- CN106878164A CN106878164A CN201611146630.5A CN201611146630A CN106878164A CN 106878164 A CN106878164 A CN 106878164A CN 201611146630 A CN201611146630 A CN 201611146630A CN 106878164 A CN106878164 A CN 106878164A
- Authority
- CN
- China
- Prior art keywords
- message
- devices
- port
- member devices
- sent
- 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
Abstract
The application provides a kind of message transmitting method and device, and the method includes:Receive the first message of other DR member devices transmission, when first message is that described other DR member devices detect the IPL between other DR member devices and the DR member devices and break down, by the intermediate forwarding devices transmission that be connected with described other DR member devices;Judge whether the first message carries the mark of this equipment;If it is, the port of this equipment is placed in into working condition according to first message or the state of being stopped is placed in.By the technical scheme of the application, loop problem can be avoided, it is ensured that the normal of network function is used.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of message transmitting method and device.
Background technology
Link aggregation refers to bundle multiple physical ports, as a logic port, to realize flow each
The load sharing of physical port.When a physical port breaks down, flow can also be transmitted by other physical ports, with
Realize link redundancy, it is ensured that reliability.At present, not only the multiple physical ports on a network equipment can be bundled in one
Rise, it is also possible to bundle the multiple physical ports in heterogeneous networks equipment.As shown in figure 1, can be by the network equipment 1
Port 1 and port 2, the network equipment 2 on port 3 and port 4 bundle, so as to realize across a network equipment port gather
Close, and the port trunking of this across a network equipment is referred to as DR (Distributed Relay, distribution polymerization).
Under normal conditions, the network equipment 1 and the network equipment 2 can be referred to as DR member devices, and by the He of the network equipment 3
The network equipment 4 is referred to as the intermediate forwarding devices of the DR member devices.And, the port for condensing together can constitute a DR end
Each port in mouth group, and the DR port sets is referred to as DR member ports, port described above 1, port 2, port 3 and port 4
It is DR member ports.
As shown in figure 1, also including IPL between two DR member devices (such as network equipment 1 and the network equipment 2)
(Intra-Portal Link, interior inlet link), the IPL is for transmitting the protocol massages between two DR member devices, matching somebody with somebody
Confidence breath, list item information etc., and IPL is to that should have unique IPL to identify.
When the IPL between two DR member devices breaks down, two DR member devices can work independently, so,
For intermediate forwarding devices, two equal normal works of DR member devices are considered as, so as to cause STP (Spanning Tree
Protocol, Spanning-Tree Protocol) calculate abnormal, and loop can be caused.
The content of the invention
The application provides a kind of message transmitting method, is applied to distributed polymerization DR member devices, including:
The first message of other DR member devices transmission is received, first message is other DR member devices detection
When being broken down to the interior inlet link IPL between described other DR member devices and the DR member devices, by with institute
State the intermediate forwarding devices transmission of other DR member devices connection;Judge whether first message carries the mark of this equipment
Know;If it is, the port of this equipment is placed in into working condition according to first message or the state of being stopped is placed in.
The application provides a kind of message transmitting method, is applied to intermediate forwarding devices, including:
The message that the distributed polymerization DR member devices that reception is connected with this equipment send;Wherein, the message is described
DR member devices detect what is sent when itself and the interior inlet link IPL between other DR member devices break down, and
The message carries the mark of other DR member devices;
The message is sent to described other DR member devices, so that described other DR member devices are it is determined that the report
When text carries the mark of other DR member devices, the port of other DR member devices is placed according to the message
Working condition is placed in the state of being stopped.
The application provides a kind of message transmitting device, is applied to distributed polymerization DR member devices, including:
Receiver module, for receive other DR member devices transmission the first message, first message be it is described other
DR member devices detect the interior inlet link IPL between other DR member devices and the DR member devices and event occur
During barrier, sent by the intermediate forwarding devices being connected with described other DR member devices;Judge module, for judging described
Whether one message carries the mark of this equipment;Processing module, for when judged result is to be, then according to first message
The port of this equipment is placed in working condition or the state of being stopped is placed in.
The application provides a kind of message transmitting device, is applied to intermediate forwarding devices, including:
Receiver module, for receiving the message that the distributed polymerization DR member devices being connected with this equipment send;Wherein, institute
It is that the DR member devices detect itself and the interior inlet link IPL between other DR member devices breaks down to state message
When send, and the message carries the mark of other DR member devices;
Sending module, for the message to be sent into described other DR member devices, so that described other DR members set
It is standby when it is determined that the message carries the mark of other DR member devices, according to the message will described in other DR members
The port of equipment is placed in working condition or is placed in the state of being stopped.
Based on above-mentioned technical proposal, in the embodiment of the present application, when the IPL between two DR member devices breaks down,
In two DR member devices, only have a DR member device and the port of this equipment is placed in working condition, and another DR
The port of this equipment can be placed in the state of being stopped by member device, so, for intermediate forwarding devices, be considered as only having
One DR member device normal work, so as to avoid STP calculate exception, it is to avoid loop problem, it is ensured that network function it is normal
Use.
Brief description of the drawings
In order to clearly illustrate the embodiment of the present application or technical scheme of the prior art, below will be to the application
The accompanying drawing to be used needed for embodiment or description of the prior art is briefly described, it should be apparent that, in describing below
Accompanying drawing is only some embodiments described in the application, for those of ordinary skill in the art, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the networking schematic diagram of distributed polymerization;
Fig. 2 is the flow chart of the message transmitting method in a kind of implementation method of the application;
Fig. 3 is the flow chart of the message transmitting method in the application another embodiment;
Fig. 4 is the application scenarios schematic diagram in a kind of implementation method of the application;
Fig. 5 is the hardware structure diagram of the DR member devices in a kind of implementation method of the application;
Fig. 6 is the structure chart of the message transmitting device in a kind of implementation method of the application;
Fig. 7 is the hardware structure diagram of the intermediate forwarding devices in a kind of implementation method of the application;
Fig. 8 is the structure chart of the message transmitting device in a kind of implementation method of the application.
Specific embodiment
In term used in this application merely for the sake of the purpose for describing specific embodiment, and unrestricted the application.This Shen
Please it is also intended to include most forms with " one kind ", " described " and " being somebody's turn to do " of the singulative used in claims, unless
Context clearly shows that other implications.It is also understood that term "and/or" used herein refers to comprising one or more
Associated any or all of project listed may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for being distinguished from each other open same type of information.For example, not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, additionally, used word " if " can be construed to " and ... when ", or " when ...
When ", or " in response to determining ".
A kind of message transmitting method is proposed in the embodiment of the present application, the method can apply to include at least two DR systems
Network in, for each DR system, may each comprise at least two DR member devices.Additionally, during the network can also include
Between forwarding unit, the intermediate forwarding devices are the network equipments being connected with DR member devices, and the intermediate forwarding devices can be by one
The message that individual DR member devices send is transmitted to another DR member device, and the quantity of intermediate forwarding devices can be one or one
More than individual.And, the intermediate forwarding devices can be the DR member devices of another DR system, it is also possible to not be setting for DR systems
It is standby.
It is shown in Figure 1, the port 1 of the network equipment 1 and port 2, the port 3 of the network equipment 2 and port 4 can be bundled
Together, so as to realize the port trunking of across a network equipment, therefore, the network equipment 1 and the network equipment 2 can set for DR member
It is standby.Assuming that a network equipment X is connected (depending on not going out in Fig. 1) with the network equipment 1 and the network equipment 2 respectively, then network equipment X is
Intermediate forwarding devices between the network equipment 1 and the network equipment 2, and, network equipment X is not the equipment of DR systems.Assuming that net
Network equipment 3 and the network equipment 4 are connected (as shown in Figure 1) with the network equipment 1 and the network equipment 2 respectively, then the network equipment 3 and network
Equipment 4 is the intermediate forwarding devices between the network equipment 1 and the network equipment 2, and, the network equipment 3 and the network equipment 4 are another
The DR member devices of individual DR systems.
In one example, for DR member devices, a DR port set 1 can be included, and DR in DR port sets 1 into
Member port includes port 1, port 2, port 3 and port 4.Likewise, being directed to intermediate forwarding devices, it is also possible to including DR port sets
DR member ports in 1, and DR port sets 1 include port 5, port 6, port 7 and port 8.And, in two DR member devices
Between also include IPL.
It is shown in Figure 2, it is the flow chart of the message transmitting method of proposition in the embodiment of the present application, the method can be applied
Be may comprise steps of in DR member devices, and the method:
Step 201, receives the first message of other DR member devices transmission, and first message is other DR member devices
When detecting the IPL between other DR member devices and this DR member devices and breaking down, set by other DR members with this
What the intermediate forwarding devices of standby connection sent.
Step 202, judges whether first message carries the mark of this DR member devices.
If it is, step 203 is performed, if it is not, then abandoning first message.
Step 203, according to first message by the port of this DR member devices be placed in working condition (i.e. port be in UP shapes
State) or it is placed in the state of being stopped (i.e. port is in DOWN states).
In one example, for " according to first message by the port of this DR member devices be placed in working condition or
Be placed in the state of being stopped " process, can include:The preferential of other DR member devices is parsed from first message
Level, and compare the priority of this DR member devices and the priority of other DR member devices;According to the comparative result of priority,
The port of this DR member devices is placed in working condition or the state of being stopped is placed in.
For " according to the comparative result of priority, the port of this DR member devices being placed in working condition or is placed in and is stopped
The process of only working condition ", if priority of the priority of this DR member devices higher than other DR member devices, by this DR
The port of member device is placed in working condition;If the priority of this DR member devices is preferential less than other DR member devices
Level, then be placed in the state of being stopped by the port of this DR member devices.Or, if the priority of this DR member devices is less than this its
The priority of its DR member device, then be placed in working condition by the port of this DR member devices;If this DR member devices is preferential
The port of this DR member devices is then placed in the state of being stopped by level higher than the priority of other DR member devices.
In one example, when detecting the IPL between this DR member devices and other DR member devices and breaking down,
Then send the second message to the intermediate forwarding devices that are connected with this DR member devices, second message can carry other DR into
Member's mark (such as MAC (Media Access Control, medium access control) address etc.) of equipment, this DR member devices it is excellent
The contents such as first level, so that second message is sent to other DR member devices by the intermediate forwarding devices, and make other DR
The port of other DR member devices is placed in working condition or is placed in the shape that is stopped by member device according to second message
State.
Wherein, other DR member devices send the process of the first message, with the mistake that this DR member devices send the second message
Journey is similar to, and in order to simplify description, in subsequent process, is said by taking the process that this DR member devices send the second message as an example
It is bright, repeated no more for the process that other DR member devices send the first message.
In one example, can there is IPL between two DR member devices, the IPL is for transmission protocol message, with confidence
Contents such as breath, list item information, and the IPL is to that should have IPL to identify, if DR member devices detect IPL ports DOWN (exception) or
Person's communication abnormality, is considered as IPL and breaks down.Additionally, there is likely to be keep-alive (keepalive) between two DR member devices
Link, if there is keep-alive link, each DR member device can be reported by the transmission keepalive of keep-alive isl cycle
Text, if not receiving the keepalive messages of the DR member devices from opposite end within a specified time, it is believed that keep-alive link occurs
Failure.
Based on this, when there is keep-alive link between this DR member devices and other DR member devices, then:As this DR members
IPL between equipment and other DR member devices breaks down, and the guarantor between this DR member devices and other DR member devices
When link living breaks down, just the second message is sent to the intermediate forwarding devices being connected with this DR member devices.Or, as this DR
When IPL between member device and other DR member devices breaks down, no matter this DR member devices and other DR member devices
Between keep-alive link whether break down, send the second message to the intermediate forwarding devices that are connected with this DR member devices.
In one example, for the mistake of " sending the second message to the intermediate forwarding devices being connected with this DR member devices "
Journey, can include but is not limited to following manner:The first contingency table that inquiry is safeguarded in advance is identified by the corresponding IPL of the IPL, is obtained
Mark, the DR port sets of corresponding other DR member devices are identified to the IPL;Wherein, first contingency table include IPL mark,
Corresponding relation between mark, the DR port sets of other DR member devices.Further, generation includes other DR member devices
Mark and this DR member devices priority the second message, and (i.e. the IPL identifies corresponding DR ends by the DR port sets
Mouthful group) in DR member ports send second message to the intermediate forwarding devices being connected with this DR member devices.
In one example, for " by the DR member ports in the DR port sets to being connected with this DR member devices
Intermediate forwarding devices send second message " process, can include but is not limited to:
If it is one that the IPL identifies corresponding DR port sets, can from all normal DR in the DR port sets into
M DR member port is chosen in member port, and second report is sent to intermediate forwarding devices by the M DR member port chosen
Text, the M is the positive integer more than or equal to 1.
If it is at least two that the IPL identifies corresponding DR port sets, can be chosen from least two DR port sets and referred to
Determine DR port sets, and N number of DR member ports are chosen from all normal DR member ports in the specified DR port sets, and lead to
Cross the N number of DR member ports chosen and send second message to intermediate forwarding devices, the N is the positive integer more than or equal to 1;Its
In, the Selection Strategy of the specified DR port sets can include:Preferential DR member ports of choosing are normal DR port sets.
Wherein, above-mentioned second message is periodically to send, in order to reduce message quantity forwarded, if IPL mark correspondences
DR port sets be one, then only by choose M DR member port transmission the second message, rather than from DR port sets
All normal DR member ports send the second message, so as to reduce message quantity forwarded.If the IPL identifies corresponding DR ports
Group is at least two, then the N number of DR member ports only by choosing send the second message, rather than from least two DR port sets
All normal DR member ports send the second message, so as to reduce message quantity forwarded.
Wherein, for the process of " chosen from least two DR port sets and specify DR port sets ", it is assumed that DR port sets 1 are wrapped
Including port A and port B, DR port set 2 includes port C and port D, if port A exceptions, port B, port C and port D are normal,
Then the DR member ports of DR port sets 2 are normally, and DR port sets 1 have an abnormal, therefore choose DR port sets 2 as referring to
Determine DR port sets.
In one example, the second message is sent to intermediate forwarding devices in M/N number of DR member ports by choosing
When, in order to avoid the second message cannot be transferred to other DR member devices, can also be selected from remaining DR member ports are chosen
K DR member port is taken, and the second message is sent to intermediate forwarding devices by the K DR member port chosen.Therefore, every
In the individual transmission cycle, can be sent out to intermediate forwarding devices by the M/N number of DR member ports chosen and K DR member port
Send the second message.
For the process of " K DR member port is chosen from remaining DR member ports are chosen ", can at random from selection
K DR member port is chosen in remaining DR member ports, it is also possible to be ranked up to choosing remaining DR member ports, formed
One transmit queue.The cycle is sent at first, first DR member port of transmit queue is chosen to k-th DR member end
Mouthful, the cycle is sent at second, the K+1 DR member port to the 2K DR member port is chosen, by that analogy.Additionally,
After choosing last DR member port of transmit queue, restart to choose from first DR member port of transmit queue.
For example, it is assumed that the M/N number of DR member ports chosen are port A, and remaining DR member ports are chosen for port B
It is 1 with the value of port C, and K, then sends the cycle at first, the is sent to intermediate forwarding devices by port A and port B
Two messages, the cycle is sent at second, and the second message is sent to intermediate forwarding devices by port A and port C, in the 3rd hair
The cycle is sent, the second message is sent to intermediate forwarding devices by port A and port B, by that analogy.Certainly, said process is
Several examples that the second message is sent to intermediate forwarding devices are given, in actual applications, other manner can also be used,
It is without limitation as long as the second message can be sent into intermediate forwarding devices.
In one example, the second message except carry the mark of other DR member devices, this DR member devices it is preferential
Outside level, one of herein below or any combination can also be carried:(this DR member devices set IPL marks with other DR members
The IPL marks of the IPL between standby), the hop count that passes through of the mark (such as MAC Address) of this DR member devices, the second message (often passes through
One equipment just adds 1, when hop count reaches predetermined threshold value, no longer transmits the second message), marker bit (represent the second message whether
By the IPL between intermediate forwarding devices).And, the second message can include identification list, and above-mentioned other DR member devices
Mark be located at identification list in.And, when the IPR between this DR member devices and at least two other DR member devices occurs
During failure, then the mark of at least two other DR member devices is respectively positioned on identification list.
In one example, this DR member devices are after the first message for receiving the transmission of other DR member devices, if sheet
The mark of DR member devices is carried in the identification list of the first message, then this can be deleted from the identification list of the first message
The mark of DR member devices.If the identification list no longer mark including any DR member devices, this DR member devices no longer turn
Send out the first message.If the identification list also mark including another DR member devices (such as or at least two DR member devices)
Know, then this DR member devices can also be by the IPL between this DR member devices and another DR member devices, after modification
The first message (deleting the first message of the mark of this DR member devices) be transmitted to another DR member devices.
Based on above-mentioned technical proposal, in the embodiment of the present application, when the IPL between two DR member devices breaks down,
In two DR member devices, only have a DR member device and the port of this equipment is placed in working condition, and another DR
The port of this equipment can be placed in the state of being stopped by member device, so, for intermediate forwarding devices, be considered as only having
One DR member device normal work, so as to avoid STP calculate exception, it is to avoid loop problem, it is ensured that network function it is normal
Use.
It is shown in Figure 3, it is the flow chart of the message transmitting method of proposition in the embodiment of the present application, the method can be applied
Be may comprise steps of in intermediate forwarding devices, and the method:
Step 301, the message that the DR member devices that reception is connected with this intermediate forwarding devices send;Wherein, the message is
The DR member devices detect what is sent when itself and the IPL between other DR member devices break down, and the message is carried
The mark of other DR member devices.
Step 302, other DR member devices are sent to by the message, so that other DR member devices are it is determined that the report
When text carries the mark of other DR member devices, the port of other DR member devices is placed in by work shape according to the message
State is placed in the state of being stopped.
In one example, the message can be the first message or the second message in above-described embodiment.
In one example, for the process of " message is sent into other DR member devices ", can include but not
It is limited to following manner:Mode one, determination receive the DR port sets belonging to the DR member ports of the message, and by the DR ports
The mark (mark is carried in the message) of group and other DR member devices, the second contingency table that inquiry is safeguarded in advance is obtained
To corresponding DR member ports, and the message is sent to by other DR member devices by the DR member ports for obtaining.Mode
2nd, determine to receive the DR port sets belonging to the DR member ports of the message, and by the DR member end in the DR port sets
Other DR member ports outside mouthful send the message, and the message is sent into other DR member devices.
Wherein, when intermediate forwarding devices safeguard have the second contingency table when, then intermediate forwarding devices employing mode one or side
Formula two, other DR member devices are sent to by the message.It is when intermediate forwarding devices do not safeguard the second contingency table, then middle
Forwarding unit employing mode two, other DR member devices are sent to by the message.
In one example, second contingency table can at least include DR port sets, the mark of DR member devices and DR
Corresponding relation between member port.Based on this, intermediate forwarding devices are by the DR port sets and other DR member devices
Mark inquire about after second contingency table, it is possible to obtain corresponding with the mark of the DR port sets and other DR member devices
DR member ports.
In another example, if also there is IPL between intermediate forwarding devices and another intermediate forwarding devices, will report
Text is sent to the process of other DR member devices, can also include following manner:The DR port sets are added in the message,
And amended message is sent to by described another intermediate forwarding devices by the IPL;So that described another middle forwarding
Equipment inquires about the second contingency table by the DR port sets and the mark of other DR member devices, obtains corresponding DR member
Port, and message is sent to by other DR member devices by the DR member ports;Or, by the DR port sets
Each DR member port sends message, and the message is sent into other DR member devices.
Based on above-mentioned technical proposal, in the embodiment of the present application, when the IPL between two DR member devices breaks down,
In two DR member devices, only have a DR member device and the port of this equipment is placed in working condition, and another DR
The port of this equipment can be placed in the state of being stopped by member device, so, for intermediate forwarding devices, be considered as only having
One DR member device normal work, so as to avoid STP calculate exception, it is to avoid loop problem, it is ensured that network function it is normal
Use.
Below in conjunction with the application scenarios shown in Fig. 4, the above-mentioned technical proposal to the embodiment of the present application is illustrated.
As shown in figure 4, the network equipment 1 and the network equipment 2 are DR member devices, the network equipment 3 and the network equipment 4 are network
Intermediate forwarding devices between equipment 1 and the network equipment 2, the network equipment 5 is the centre between the network equipment 1 and the network equipment 2
Forwarding unit.And, the network equipment 3 and the network equipment 4 are the DR member devices of another DR system, now, the He of the network equipment 1
The network equipment 2 is also the intermediate forwarding devices between the network equipment 3 and the network equipment 4.The network equipment 5 is not setting for DR systems
It is standby.Describe for convenience, in subsequent process, with the network equipment 1 and the network equipment 2 for DR member devices, the network equipment 3, net
Network equipment 4 and the network equipment 5 are to illustrate as a example by intermediate forwarding devices.
For DR member devices, including DR port sets 1 and DR port sets 2, the DR member ports in the DR port sets 1 include
Port 1, port 2, port 3 and port 4, the DR member ports in the DR port sets 2 include port 9 and port 10.For network
The intermediate forwarding devices of equipment 3 and the composition of the network equipment 4, including the DR member ports in DR port sets 1, and the DR port sets 1
Including port 5, port 6, port 7 and port 8.For this intermediate forwarding devices of the network equipment 5, including DR port sets 2, and should
DR member ports in DR port sets 2 include port 11 and port 12.Under this application scene, it is assumed that the network equipment 1 and network set
The corresponding IPL of IPL between standby 2 are designated IPL marks 1, additionally, the IPL between the network equipment 3 and the network equipment 4 is corresponding
IPL is designated IPL marks 2.
In one example, the first contingency table that the network equipment 1 is safeguarded can be as shown in table 1, the network equipment 2 safeguard the
One contingency table can be as shown in table 2, and the second contingency table of network equipment 3-dimensional shield can be as shown in table 3, what the network equipment 4 was safeguarded
Second contingency table can be as shown in table 4, and the second contingency table that the network equipment 5 is safeguarded can be as shown in table 5.Certainly, it is above-mentioned to be
The example of the first contingency table and the second contingency table, is not limited thereto in actual applications, and this first contingency table and second are closed
The structure of connection table is repeated no more.
Table 1
IPL is identified | DR port sets | The mark of DR member devices |
IPL marks 1 | DR port sets 1 | The MAC Address of the network equipment 2 |
IPL marks 1 | DR port sets 2 | The MAC Address of the network equipment 2 |
Table 2
IPL is identified | DR port sets | The mark of DR member devices |
IPL marks 1 | DR port sets 1 | The MAC Address of the network equipment 1 |
IPL marks 1 | DR port sets 2 | The MAC Address of the network equipment 1 |
Table 3
IPL is identified | DR port sets | DR member ports | The mark of DR member devices |
IPL marks 2 | DR port sets 1 | Port 5 | The MAC Address of the network equipment 1 |
IPL marks 2 | DR port sets 1 | Port 6 | The MAC Address of the network equipment 2 |
Table 4
IPL is identified | DR port sets | DR member ports | The mark of DR member devices |
IPL marks 2 | DR port sets 1 | Port 7 | The MAC Address of the network equipment 1 |
IPL marks 2 | DR port sets 1 | Port 8 | The MAC Address of the network equipment 2 |
Table 5
DR port sets | DR member ports | The mark of DR member devices |
DR port sets 2 | Port 11 | The MAC Address of the network equipment 1 |
DR port sets 2 | Port 12 | The MAC Address of the network equipment 2 |
Under above-mentioned application scenarios, the message transmitting method that the embodiment of the present application is proposed may comprise steps of:
Step 1, when the IPL that the network equipment 1 detects this equipment and the network equipment 2 breaks down, to intermediate forwarding devices
Message is sent, the message carries MAC Address, the priority of the network equipment 1 of the network equipment 2.
As shown in figure 4, due to there is keep-alive link between the network equipment 1 and the network equipment 2, therefore, when the network equipment 1 with
IPL between the network equipment 2 breaks down, and keep-alive link between the network equipment 1 and the network equipment 2 is when breaking down, net
Network equipment 1 can send message to intermediate forwarding devices.Or, when the IPL between the network equipment 1 and the network equipment 2 occurs event
Barrier, but keep-alive link between the network equipment 1 and the network equipment 2, when not breaking down, the network equipment 1 can also be forwarded to centre
Equipment sends message.
The network equipment 1 can obtain network by the first contingency table shown in the IPL 1 inquiry tables 1 of corresponding IPL marks
The MAC Address of equipment 2, DR port sets 1 and DR port sets 2.Afterwards, the network equipment 1 can generate the MAC including the network equipment 2
The message of the priority of address and this equipment, and by the DR member ports in DR port sets 1 and/or DR port sets 2 to centre
Forwarding unit sends the message.
In one example, for " network equipment 1 is by the DR member ports in DR port sets 1 and/or DR port sets 2
Send the message to intermediate forwarding devices " process, the network equipment 1 can be chosen from DR port sets 1 and DR port sets 2 specify
DR port sets (such as DR port sets 1 and/or DR port sets 2, specific Selection Strategy repeat no more), and from specified DR port sets
N number of DR member ports are chosen in DR member ports, and report is sent to intermediate forwarding devices by the N number of DR member ports chosen
Text.
For example, the network equipment 1 is chosen specifies DR port sets for DR port sets 1, and from the DR member ports of DR port sets 1
Port 1 is chosen, and message is sent to the network equipment 3 by port 1.Or, it is DR ends that the network equipment 1 is chosen and specifies DR port sets
Mouth group 2, and port 9 is chosen from the DR member ports of DR port sets 2, and message is sent to the network equipment 5 by port 9.Or
Can be defined as DR port sets 1 and DR port sets 2 specifying DR port sets by person, the network equipment 1, from the DR of DR port sets 1 into
Member chooses port 1 and port 2 in port, and port 9 is chosen from the DR member ports of DR port sets 2, and so, the network equipment 1 leads to
Cross port 1 and send message to the network equipment 3, message is sent to the network equipment 4 by port 2, by port 9 to the network equipment 5
Message is sent, so as to improve reliability of the message transmissions to the network equipment 2.Describe for convenience, subsequently as a example by choosing port 1
Illustrate.
In one example, the message except carry the network equipment 2 MAC Address, the priority of the network equipment 1 in addition to,
One of herein below or any combination can also be carried:The jump that the IPL marks 1, MAC Address of the network equipment 1, message pass through
Number, marker bit etc..And, the message can also include an identification list, and the MAC Address of the above-mentioned network equipment 2 can be with
It is carried in the identification list.
Step 2, intermediate forwarding devices (such as network equipment 3) receive the message that the network equipment 1 sends.
The message is sent to the network equipment 2 by step 3, intermediate forwarding devices (such as network equipment 3).
The network equipment 3 checks whether the hop count that message passes through reaches predetermined threshold value after the message is received, first, if reached
To predetermined threshold value, then the message is abandoned, no longer transmit the message, so as to avoid loop problem.If not up to predetermined threshold value,
Whether the identification list for checking the message is empty.If sky, then the message is abandoned, no longer transmit the message.If not being sky,
Then check and locally whether there is corresponding second contingency table of the message, if it is present the employing mode one of the network equipment 3, by this
Message is sent to the network equipment 2.If it does not exist, then the employing mode two of the network equipment 3, the network equipment 2 is sent to by the message.
Mode one, the network equipment 3 determine to receive the DR port sets belonging to the DR member ports (i.e. port 5) of the message,
The DR port sets are DR port sets 1.The network equipment 3 (is carried in the message by the MAC Address of DR port sets 1 and the network equipment 2
In), the second contingency table shown in inquiry table 3 obtains corresponding DR member ports for port 6, and is sent out the message by port 6
Give the network equipment 2.
In one example, the network equipment 3 can also be by the IPL between the network equipment 3 and the network equipment 4, by message
It is sent to the network equipment 4.Before the message is sent, the marker bit of the message can be set to IPL correspondences by the network equipment 3
IPL marks 2, and add transparent transmission information in the message, the transparent transmission information can include that IPL identifies 2 and DR port sets 1 (i.e.
Receive the DR port sets belonging to the port 5 of the message).
The network equipment 4 finds that marker bit is IPL marks 2 after the message is received, and represents that the message comes from IPL marks
Know 2 corresponding IPL, therefore, the network equipment 4 no longer sends the message by the IPL to the network equipment 3.And, the network equipment 4
Can by the MAC Address (carrying is in the message) of transparent transmission information (i.e. IPL identify 2 and DR port sets 1) and the network equipment 2,
The second contingency table shown in inquiry table 4, obtains corresponding DR member ports for port 8, and be sent to the message by port 8
The network equipment 2.
Mode two, the network equipment 3 determine to receive the DR port sets belonging to the DR member ports (i.e. port 5) of the message,
The DR port sets are DR port sets 1, and are sent out by other the DR member ports (i.e. port 6) outside the port 5 in DR port sets 1
The message is given, message is sent to the network equipment 2.
In one example, the network equipment 3 can also be by the IPL between the network equipment 3 and the network equipment 4, by message
It is sent to the network equipment 4.Before the message is sent, the marker bit of the message can be set to IPL correspondences by the network equipment 3
IPL marks 2, and add transparent transmission information in the message, the transparent transmission information can include that IPL identifies 2 and DR port sets 1 (i.e.
Receive the DR port sets belonging to the port 5 of the message).
The network equipment 4 finds that marker bit is IPL marks 2 after the message is received, and represents that the message comes from IPL marks
Know 2 corresponding IPL, therefore, the network equipment 4 no longer sends the message by the IPL to the network equipment 3.And, the network equipment 4
DR port sets 1 can be determined by transparent transmission information (i.e. IPL identifies 2 and DR port sets 1), and by the institute in DR port sets 1
There is port (such as port 7 and port 8) to send the message, the message is sent separately to the network equipment 1 and the network equipment 2.Network
Equipment 1 does not include the MAC Address of the network equipment 1, therefore dropping packets due to identification list after the message is received.
Step 4, the network equipment 2 judges whether the MAC ground of the network equipment 2 is carried in the message after the message is received
Location, if do not carried, abandons the message, if carried, performs step 5.
Step 5, the priority of the network equipment 1 that the priority that the network equipment 2 compares this equipment is carried with the message, and root
According to the comparative result of priority, the port of present networks equipment 2 is placed in working condition or the state of being stopped is placed in.At one
In example, if the port of present networks equipment 2 is placed in work by the priority of present networks equipment 2 higher than the priority of the network equipment 1
Make state (port is in UP states);If the priority of present networks equipment 2 is less than the priority of the network equipment 1, by present networks
The port of equipment 2 is placed in the state of being stopped (port is in DOWN states), that is, carry out inactivation treatment.
In one example, the MAC Address of the network equipment 2 carries the identification list in message, and the network equipment 2 is received
After message, the MAC Address of the network equipment 2 can also be deleted from identification list.Because identification list no longer includes other networks
The mark of equipment, therefore, no longer forward the message.
Said process is the process that the network equipment 1 sends message to the network equipment 2, and the network equipment 2 can also set to network
Standby 1 sends message, and its handling process is similar with above-mentioned steps 1- steps 5, will not be repeated here.Above-mentioned message is properly termed as living more
Detection messages, the information that above-mentioned message is carried is properly termed as many biopsy measurement informations.
In one example, it is assumed that the priority of the network equipment 1 is 100, the priority of the network equipment 2 is 50, and preferentially
Value of series is bigger, and priority is higher.Based on this, the network equipment 1 is excellent with the network equipment 2 in the priority of comparing cell equipment 1
After first level, the priority of the priority higher than the network equipment 2 of the network equipment 1 is found, therefore, the network equipment 1 is by the end of this equipment
Mouth is placed in working condition, the i.e. network equipment 1 and works on.Priority and the network equipment of the network equipment 2 in comparing cell equipment 2
After 1 priority, the priority of the priority less than the network equipment 1 of the network equipment 2 is found, therefore, the network equipment 2 is by this equipment
Port be placed in the state of being stopped, the i.e. network equipment 2 and be stopped.Aforesaid way causes that the only one of which network equipment 1 is normal
Work, and the network equipment 2 can be stopped, so as to avoid two network equipments from working.
Based on above-mentioned technical proposal, in the embodiment of the present application, when the IPL between two DR member devices breaks down,
Each DR member device can compare the priority of this equipment and the priority of another DR member device, if this equipment is preferential
Higher than the priority of another DR member device, then this equipment works on level, if the priority of this equipment is less than another DR
The priority of member device, then this equipment be stopped.So, in two DR member devices, only have a DR member and set
Standby work, and another DR member device can be stopped, and for intermediate forwarding devices, be considered as only one of which DR member
Equipment normal work, so as to the exception for avoiding STP from calculating, it is to avoid loop problem, it is ensured that the normal of network function is used.
Conceived based on the application same with the above method, the embodiment of the present application also provides a kind of message transmitting device, the report
Literary transmitting device is applied on DR member devices.The message transmitting device can be realized by software, it is also possible to by hardware or
The mode of person's software and hardware combining is realized.It is by where it as the device on a logical meaning as a example by implemented in software
The processor of DR member devices, corresponding computer program instructions are formed in reading non-volatile storage.From hardware view
For, as shown in figure 5, a kind of hardware structure diagram of the DR member devices where the message transmitting device proposed for the application, removes
Outside processor, nonvolatile memory shown in Fig. 5, DR member devices can also include other hardware, such as be responsible for treatment report
Forwarding chip, network interface, internal memory of text etc.;For from hardware configuration, DR member devices are also possible to be distributed apparatus, can
Multiple interface cards can be included, to carry out the extension of Message processing in hardware view.
As shown in fig. 6, the structure chart of the message transmitting device proposed for the application, described device includes:
Receiver module 11, for receive other DR member devices transmission the first message, first message be it is described its
When its DR member device detects the IPL between other DR member devices and the DR member devices and breaks down, pass through
What the intermediate forwarding devices being connected with described other DR member devices sent;
Judge module 12, for judging whether first message carries the mark of this equipment;
Processing module 13, for when judged result is to be, being then placed in the port of this equipment according to first message
Working condition is placed in the state of being stopped.
In one example, the processing module 13, specifically for according to first message by the port of this equipment
During being placed in working condition or being placed in the state of being stopped, described other DR members are parsed from first message
The priority of equipment, and compare the priority of this equipment and the priority of other DR member devices;According to the ratio of priority
Relatively result, is placed in the port of this equipment working condition or is placed in the state of being stopped.
In one example, the message transmitting device also includes (not embodied in figure):
Sending module, for when detecting the IPL between this equipment and other DR member devices and breaking down, then to
The intermediate forwarding devices of this equipment connection send the second message, and second message carries the mark of other DR member devices
Knowledge, the priority of this equipment;So that second message is sent to described other DR member devices by the intermediate forwarding devices,
And make described other DR member devices that the port of other DR member devices are placed in into working condition according to second message
Or it is placed in the state of being stopped.
The sending module, specifically for sending the process of the second message to the intermediate forwarding devices being connected with this equipment
In, the first contingency table that inquiry is safeguarded in advance is identified by the corresponding IPL of the IPL, obtain the IPL marks it is corresponding other
The mark of DR member devices, DR port sets;Wherein, first contingency table includes IPL marks, the mark of other DR member devices
Corresponding relation between knowledge, DR port sets;
Generation includes the second message of the mark of other DR member devices and the priority of this equipment;
Second message is sent to intermediate forwarding devices by the DR member ports in the DR port sets.
The sending module, sends out specifically for the DR member ports in by the DR port sets to intermediate forwarding devices
During sending second message, if it is one, the institute from the DR port sets that the IPL identifies corresponding DR port sets
Have and M DR member port is chosen in normal DR member ports, and by M DR member port of selection to intermediate forwarding devices
Second message is sent, the M is the positive integer more than or equal to 1;Or, if the IPL identifies corresponding DR port sets being
At least two, then chosen from least two DR port sets and specify DR port sets, and it is all from the specified DR port sets
N number of DR member ports are chosen in normal DR member ports, and is sent out to intermediate forwarding devices by the N number of DR member ports chosen
Second message is sent, the N is the positive integer more than or equal to 1;Wherein, specifying the Selection Strategy of DR port sets includes:Preferentially
Choose DR member ports and be normal DR port sets.
Conceived based on the application same with the above method, the embodiment of the present application also provides a kind of message transmitting device, the report
Literary transmitting device is applied on intermediate forwarding devices.The message transmitting device can be realized by software, it is also possible to by hardware
Or the mode of software and hardware combining is realized.It is by where it as the device on a logical meaning as a example by implemented in software
Intermediate forwarding devices processor, corresponding computer program instructions are formed in reading non-volatile storage.From hardware
For aspect, as shown in fig. 7, a kind of hardware configuration of the intermediate forwarding devices where the message transmitting device proposed for the application
Figure, except the processor shown in Fig. 7, in addition to nonvolatile memory, intermediate forwarding devices can also include other hardware, such as be responsible for place
Manage forwarding chip, network interface, internal memory of message etc.;For from hardware configuration, intermediate forwarding devices are also possible to be distributed
Equipment, potentially includes multiple interface cards, to carry out the extension of Message processing in hardware view.
As shown in figure 8, the structure chart of the message transmitting device proposed for the application, described device includes:
Receiver module 21, for receiving the message that the distributed polymerization DR member devices being connected with this equipment send;Wherein,
The message is that the DR member devices are detected when itself and the IPL between other DR member devices break down and sent,
And the message carries the mark of other DR member devices;
Sending module 22, for the message to be sent into described other DR member devices, so that described other DR members
Equipment when it is determined that the message carries the mark of other DR member devices, according to the message will described in other DR into
The port of member's equipment is placed in working condition or is placed in the state of being stopped.
In one example, the sending module 22, specifically for the message is being sent into described other DR members
During equipment, it is determined that receiving the DR port sets belonging to the DR member ports of the message;By the DR port sets and
The mark of other DR member devices, the second contingency table that inquiry is safeguarded in advance, obtains corresponding DR member ports;Wherein,
Second contingency table includes the corresponding relation between DR port sets, the mark of DR member devices, DR member ports;By obtaining
DR member ports the message is sent to described other DR member devices;Or, it is determined that receive the DR of the message into
DR port sets belonging to member port;Sent out by other the DR member ports outside the DR member ports in the DR port sets
The message is sent, the message is sent to described other DR member devices.
In one example, if also there is IPL between the intermediate forwarding devices and another intermediate forwarding devices;It is described
Sending module 22, is additionally operable to during the message to be sent to described other DR member devices, add in the message
Plus the DR port sets, and amended message is sent to by described another intermediate forwarding devices by the IPL;So that described
Another intermediate forwarding devices inquires about the second contingency table by the DR port sets and the mark of other DR member devices,
Corresponding DR member ports are obtained, and message is sent to by described other DR member devices by the DR member ports, or, lead to
Each the DR member port crossed in the DR port sets sends message, and message is sent into described other DR member devices.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity,
Or realized by the product with certain function.A kind of typically to realize equipment for computer, the concrete form of computer can
Being personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play
In device, navigation equipment, E-mail receiver/send equipment, game console, tablet PC, wearable device or these equipment
The combination of any several equipment.
For convenience of description, it is divided into various units with function during description apparatus above to describe respectively.Certainly, this is being implemented
The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the embodiment of the present application can be used and wherein include computer usable program code at one or more
The computer implemented in computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of program product.
The application is the flow with reference to method, equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram are described.It is generally understood that each in realizing flow chart and/or block diagram by computer program instructions
The combination of flow and/or square frame in flow and/or square frame and flow chart and/or block diagram.These computer journeys can be provided
Sequence instruction to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices processor with
Produce a machine so that being produced by the instruction of computer or the computing device of other programmable data processing devices is used for
The dress of the function that realization is specified in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames
Put.
And, these computer program instructions can also be stored can guide computer or the treatment of other programmable datas to set
In the standby computer-readable memory for working in a specific way so that instruction of the storage in the computer-readable memory is produced
Manufacture including command device, the command device is realized in one flow of flow chart or multiple flows and/or block diagram one
The function of being specified in individual square frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer
Or the instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram
The step of function of being specified in one square frame or multiple square frames.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product.
Therefore, the application can be using the implementation in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
The form of example.And, the application can be used and wherein include the calculating of computer usable program code at one or more
The computer implemented in machine usable storage medium (magnetic disk storage, CD-ROM, optical memory etc. can be included but is not limited to)
The form of program product.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art
For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent
Replace, improve etc., within the scope of should be included in claims hereof.
Claims (17)
1. a kind of message transmitting method, is applied to distributed polymerization DR member devices, it is characterised in that including:
The first message of other DR member devices transmission is received, first message is that described other DR member devices detect institute
When stating the interior inlet link IPL between other DR member devices and the DR member devices and breaking down, by with it is described its
What the intermediate forwarding devices of its DR member device connection sent;
Judge whether first message carries the mark of this equipment;
If it is, the port of this equipment is placed in into working condition according to first message or the state of being stopped is placed in.
2. method according to claim 1, it is characterised in that described to be put the port of this equipment according to first message
In working condition or the process of the state of being stopped is placed in, specifically included:
The priority of other DR member devices is parsed from first message, and compares the priority and institute of this equipment
State the priority of other DR member devices;According to the comparative result of priority, by the port of this equipment be placed in working condition or
It is placed in the state of being stopped.
3. method according to claim 1, it is characterised in that methods described also includes:
When detecting the IPL between this equipment and other DR member devices and breaking down, then to the centre being connected with this equipment
Forwarding unit sends the second message, and second message carries mark, the priority of this equipment of other DR member devices;
So that second message is sent to described other DR member devices by the intermediate forwarding devices, and make described other DR members
The port of other DR member devices is placed in working condition or is placed in the shape that is stopped by equipment according to second message
State.
4. method according to claim 3, it is characterised in that
The process that the second message is sent to the intermediate forwarding devices being connected with this equipment, specifically includes:
The first contingency table that inquiry is safeguarded in advance is identified by the corresponding IPL of the IPL, obtain the IPL marks it is corresponding its
The mark of its DR member device, DR port sets;Wherein, first contingency table includes IPL marks, the mark of other DR member devices
Corresponding relation between knowledge, DR port sets;
Generation includes the second message of the mark of other DR member devices and the priority of this equipment;
Second message is sent to intermediate forwarding devices by the DR member ports in the DR port sets.
5. method according to claim 4, it is characterised in that the DR member ports by the DR port sets to
Intermediate forwarding devices send the process of second message, specifically include:
If it is one, all normal DR member ports from the DR port sets that the IPL identifies corresponding DR port sets
M DR member port of middle selection, and second message is sent to intermediate forwarding devices by the M DR member port chosen,
The M is the positive integer more than or equal to 1;Or,
If it is at least two that the IPL identifies corresponding DR port sets, is chosen from least two DR port sets and specify DR ends
Mouth group, and N number of DR member ports are chosen from all normal DR member ports in the specified DR port sets, and by choosing
The N number of DR member ports for taking send second message to intermediate forwarding devices, and the N is the positive integer more than or equal to 1;Its
In, specifying the Selection Strategy of DR port sets includes:Preferential DR member ports of choosing are normal DR port sets.
6. method according to claim 1, it is characterised in that
The mark of this equipment is carried in the identification list of first message;
After first message for receiving the transmission of other DR member devices, methods described also includes:
The mark of this equipment is deleted from the identification list of first message;
If the identification list also mark including another DR member devices, by this equipment and another DR member devices
Between IPL, amended first message is transmitted to another DR member devices.
7. a kind of message transmitting method, is applied to intermediate forwarding devices, it is characterised in that including:
The message that the distributed polymerization DR member devices that reception is connected with this equipment send;Wherein, the message be the DR into
Member's equipment detects what is sent when itself and the interior inlet link IPL between other DR member devices break down, and described
Message carries the mark of other DR member devices;
The message is sent to described other DR member devices, so that described other DR member devices are it is determined that the message is taken
During mark with other DR member devices, the port of other DR member devices is placed in by work according to the message
State is placed in the state of being stopped.
8. method according to claim 7, it is characterised in that
The process that the message is sent to other DR member devices, specifically includes:
It is determined that receiving the DR port sets belonging to the DR member ports of the message;By the DR port sets and described other DR
The mark of member device, the second contingency table that inquiry is safeguarded in advance, obtains corresponding DR member ports;Wherein, described second close
Connection table includes the corresponding relation between DR port sets, the mark of DR member devices, DR member ports;By the DR member end for obtaining
The message is sent to described other DR member devices by mouth;Or,
It is determined that receiving the DR port sets belonging to the DR member ports of the message;By the DR in the DR port sets into
Other DR member ports outside member port send the message, and the message is sent into described other DR member devices.
9. method according to claim 8, it is characterised in that
If also there is IPL between the intermediate forwarding devices and another intermediate forwarding devices;
The process that the message is sent to other DR member devices, also includes:
Add the DR port sets in the message, and be sent to amended message by the IPL described in another
Between forwarding unit;So that described another intermediate forwarding devices are by the DR port sets and the mark of other DR member devices
Know, inquire about the second contingency table, obtain corresponding DR member ports, and by the DR member ports by message be sent to it is described other
DR member devices, or, message is sent by each the DR member port in the DR port sets, message is sent to described
Other DR member devices.
10. a kind of message transmitting device, is applied to distributed polymerization DR member devices, it is characterised in that including:
Receiver module, the first message for receiving the transmission of other DR member devices, first message be described other DR into
Member's equipment detects the interior inlet link IPL between other DR member devices and the DR member devices and breaks down
When, sent by the intermediate forwarding devices being connected with described other DR member devices;
Judge module, for judging whether first message carries the mark of this equipment;
Processing module, for when judged result is to be, then the port of this equipment being placed in into work shape according to first message
State is placed in the state of being stopped.
11. devices according to claim 10, it is characterised in that the processing module, specifically for according to described
During the port of this equipment is placed in working condition or is placed in the state of being stopped by one message, from first message
The priority of other DR member devices is parsed, and it is excellent with other DR member devices to compare the priority of this equipment
First level;According to the comparative result of priority, the port of this equipment is placed in working condition or the state of being stopped is placed in.
12. devices according to claim 10, it is characterised in that also include:
Sending module, for when detecting the IPL between this equipment and other DR member devices and breaking down, then to originally set
The intermediate forwarding devices of standby connection send the second message, second message carry other DR member devices mark, this
The priority of equipment;So that second message is sent to described other DR member devices by the intermediate forwarding devices, and make
Described other DR member devices according to second message by the port of other DR member devices be placed in working condition or
It is placed in the state of being stopped.
13. devices according to claim 12, it is characterised in that
The sending module, specifically for the intermediate forwarding devices being connected with this equipment send the second message during,
The first contingency table that inquiry is safeguarded in advance is identified by the corresponding IPL of the IPL, the IPL is obtained and is identified corresponding other DR
The mark of member device, DR port sets;Wherein, first contingency table include IPL marks, the mark of other DR member devices,
Corresponding relation between DR port sets;
Generation includes the second message of the mark of other DR member devices and the priority of this equipment;
Second message is sent to intermediate forwarding devices by the DR member ports in the DR port sets.
14. devices according to claim 13, it is characterised in that the sending module, specifically for by the DR
During DR member ports in port set send second message to intermediate forwarding devices, if IPL mark correspondences
DR port sets be one, then from all normal DR member ports in the DR port sets choose M DR member port, and
Second message is sent to intermediate forwarding devices by the M DR member port chosen, the M is just whole more than or equal to 1
Number;Or,
If it is at least two that the IPL identifies corresponding DR port sets, is chosen from least two DR port sets and specify DR ends
Mouth group, and N number of DR member ports are chosen from all normal DR member ports in the specified DR port sets, and by choosing
The N number of DR member ports for taking send second message to intermediate forwarding devices, and the N is the positive integer more than or equal to 1;Its
In, specifying the Selection Strategy of DR port sets includes:Preferential DR member ports of choosing are normal DR port sets.
A kind of 15. message transmitting devices, are applied to intermediate forwarding devices, it is characterised in that including:
Receiver module, for receiving the message that the distributed polymerization DR member devices being connected with this equipment send;Wherein, the report
Text is that the DR member devices detected and sent out when itself and the interior inlet link IPL between other DR member devices break down
Send, and the message carries the mark of other DR member devices;
Sending module, for the message to be sent into described other DR member devices, so that described other DR member devices exist
When determining that the message carries the mark of other DR member devices, other DR member devices according to the message is incited somebody to action
Port be placed in working condition or be placed in the state of being stopped.
16. devices according to claim 15, it is characterised in that
The sending module, specifically for during the message to be sent to described other DR member devices, it is determined that connecing
Receive the DR port sets belonging to the DR member ports of the message;By the DR port sets and other DR member devices
Mark, the second contingency table that inquiry is safeguarded in advance, obtains corresponding DR member ports;Wherein, second contingency table includes DR
Corresponding relation between port set, the mark of DR member devices, DR member ports;By the DR member ports that obtain by the report
Text is sent to described other DR member devices;Or, it is determined that receiving the DR port sets belonging to the DR member ports of the message;
The message is sent by other the DR member ports outside the DR member ports in the DR port sets, by the report
Text is sent to described other DR member devices.
17. devices according to claim 16, it is characterised in that
If also there is IPL between the intermediate forwarding devices and another intermediate forwarding devices;
The sending module, is additionally operable to during the message to be sent to described other DR member devices, in the report
The DR port sets are added in text, and amended message is sent to by described another intermediate forwarding devices by the IPL;With
Make described another intermediate forwarding devices by the DR port sets and the mark of other DR member devices, inquiry second is closed
Connection table, obtains corresponding DR member ports, and message is sent into described other DR member devices by the DR member ports, or
Person, message is sent by each the DR member port in the DR port sets, and message is sent into described other DR members sets
It is standby.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146630.5A CN106878164B (en) | 2016-12-13 | 2016-12-13 | Message transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611146630.5A CN106878164B (en) | 2016-12-13 | 2016-12-13 | Message transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106878164A true CN106878164A (en) | 2017-06-20 |
CN106878164B CN106878164B (en) | 2020-04-03 |
Family
ID=59164569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611146630.5A Active CN106878164B (en) | 2016-12-13 | 2016-12-13 | Message transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106878164B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995110A (en) * | 2017-11-16 | 2018-05-04 | 新华三技术有限公司 | Flow forwarding method and device |
CN108173757A (en) * | 2017-12-26 | 2018-06-15 | 新华三技术有限公司 | Port status setting method and device |
CN108259299A (en) * | 2017-06-23 | 2018-07-06 | 新华三技术有限公司 | A kind of forwarding-table item generation method, device and machine readable storage medium |
CN109194521A (en) * | 2018-09-29 | 2019-01-11 | 新华三技术有限公司 | A kind of flow forwarding method and equipment |
CN109194511A (en) * | 2018-09-03 | 2019-01-11 | 新华三技术有限公司 | A kind of file transmitting method and device |
CN109302344A (en) * | 2018-10-30 | 2019-02-01 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN109347746A (en) * | 2018-10-16 | 2019-02-15 | 新华三技术有限公司 | A kind of MAC address learning method and device |
CN109462515A (en) * | 2018-09-11 | 2019-03-12 | 锐捷网络股份有限公司 | Loop circuit processing method, the network equipment, MLAG networking and storage medium |
CN110708275A (en) * | 2018-12-18 | 2020-01-17 | 新华三技术有限公司 | Protocol message processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752187A (en) * | 2011-04-21 | 2012-10-24 | 中兴通讯股份有限公司 | Elastic network interface realization method and system |
CN104125088A (en) * | 2013-04-28 | 2014-10-29 | 中兴通讯股份有限公司 | Method of interaction information between systems in same terminal of DRNI and system thereof |
CN105393505A (en) * | 2013-04-23 | 2016-03-09 | 瑞典爱立信有限公司 | A method and system for synchronizing with neighbor in a distributed resilient network interconnect (DRNI) link aggregation group |
-
2016
- 2016-12-13 CN CN201611146630.5A patent/CN106878164B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752187A (en) * | 2011-04-21 | 2012-10-24 | 中兴通讯股份有限公司 | Elastic network interface realization method and system |
CN105393505A (en) * | 2013-04-23 | 2016-03-09 | 瑞典爱立信有限公司 | A method and system for synchronizing with neighbor in a distributed resilient network interconnect (DRNI) link aggregation group |
CN104125088A (en) * | 2013-04-28 | 2014-10-29 | 中兴通讯股份有限公司 | Method of interaction information between systems in same terminal of DRNI and system thereof |
US20160105324A1 (en) * | 2013-04-28 | 2016-04-14 | Zte Corporation | Method and System for Information Interaction Among Systems in the Same End in DRNI |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259299A (en) * | 2017-06-23 | 2018-07-06 | 新华三技术有限公司 | A kind of forwarding-table item generation method, device and machine readable storage medium |
WO2018233588A1 (en) * | 2017-06-23 | 2018-12-27 | 新华三技术有限公司 | Forwarding entry generation |
US11196589B2 (en) | 2017-06-23 | 2021-12-07 | New H3C Technologies Co., Ltd. | Forwarding entry generation |
CN108259299B (en) * | 2017-06-23 | 2020-04-03 | 新华三技术有限公司 | Forwarding table item generating method and device and machine-readable storage medium |
CN107995110A (en) * | 2017-11-16 | 2018-05-04 | 新华三技术有限公司 | Flow forwarding method and device |
CN107995110B (en) * | 2017-11-16 | 2020-12-01 | 新华三技术有限公司 | Traffic forwarding method and device |
CN108173757B (en) * | 2017-12-26 | 2020-08-11 | 新华三技术有限公司 | Port state setting method and device |
CN108173757A (en) * | 2017-12-26 | 2018-06-15 | 新华三技术有限公司 | Port status setting method and device |
CN109194511A (en) * | 2018-09-03 | 2019-01-11 | 新华三技术有限公司 | A kind of file transmitting method and device |
CN109194511B (en) * | 2018-09-03 | 2021-09-10 | 新华三技术有限公司 | Message sending method and device |
CN109462515A (en) * | 2018-09-11 | 2019-03-12 | 锐捷网络股份有限公司 | Loop circuit processing method, the network equipment, MLAG networking and storage medium |
CN109194521A (en) * | 2018-09-29 | 2019-01-11 | 新华三技术有限公司 | A kind of flow forwarding method and equipment |
CN109347746A (en) * | 2018-10-16 | 2019-02-15 | 新华三技术有限公司 | A kind of MAC address learning method and device |
CN109347746B (en) * | 2018-10-16 | 2021-11-23 | 新华三技术有限公司 | MAC address learning method and device |
CN109302344B (en) * | 2018-10-30 | 2021-06-29 | 新华三技术有限公司 | Message forwarding method and device |
CN109302344A (en) * | 2018-10-30 | 2019-02-01 | 新华三技术有限公司 | A kind of message forwarding method and device |
CN110708275B (en) * | 2018-12-18 | 2020-11-06 | 新华三技术有限公司 | Protocol message processing method and device |
CN110708275A (en) * | 2018-12-18 | 2020-01-17 | 新华三技术有限公司 | Protocol message processing method and device |
US11936762B2 (en) | 2018-12-18 | 2024-03-19 | New H3C Technologies Co., Ltd. | Processing protocol packet |
Also Published As
Publication number | Publication date |
---|---|
CN106878164B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878164A (en) | A kind of message transmitting method and device | |
CN103905447B (en) | Service link selects control method and equipment | |
EP2474916B1 (en) | Device identifier selection | |
CN110855531B (en) | Forwarding path detection method and device | |
CN109495320B (en) | Data message transmission method and device | |
CN106161256B (en) | A kind of processing method and processing device of Border Gateway Protocol (BGP) routing | |
CN103051557A (en) | Data stream processing method and system, controller and switching equipment | |
US7971110B2 (en) | System and method for testing a serial attached small computer system interface | |
CN104216761B (en) | It is a kind of that the method for sharing equipment is used in the device that can run two kinds of operating system | |
CN106878194A (en) | A kind of message processing method and device | |
CN102571492B (en) | Method and device for detecting failure of routing equipment | |
CN107466079A (en) | Automatic relay switching method and device | |
CN106921578A (en) | The generation method and device of a kind of forwarding-table item | |
CN102473121A (en) | System-on-chip fault identification | |
CN106372026A (en) | Link detection method and receiving device | |
CN106452894A (en) | Fault connection detection method and apparatus | |
CN104780123B (en) | A kind of network pack receiving and transmitting processing unit and its design method | |
CN107086960B (en) | Message transmission method and device | |
CN107332793A (en) | A kind of message forwarding method, relevant device and system | |
CN109542834A (en) | A kind of method and NC chip of determining NC chip connection error | |
CN105721190A (en) | Data transmission path fault detection method and device, and server | |
CN107547451A (en) | A kind of multipath server, CPU connection methods and device | |
CN107547412B (en) | STP calculation method and device | |
CN108141374A (en) | A kind of network inferior health diagnostic method and device | |
CN104679687B (en) | A kind of method and device for identifying interrupt source |
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 |