CN103944819A - Data message transmission method and device - Google Patents

Data message transmission method and device Download PDF

Info

Publication number
CN103944819A
CN103944819A CN201410151991.3A CN201410151991A CN103944819A CN 103944819 A CN103944819 A CN 103944819A CN 201410151991 A CN201410151991 A CN 201410151991A CN 103944819 A CN103944819 A CN 103944819A
Authority
CN
China
Prior art keywords
node
ring
outer shroud
data message
message transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410151991.3A
Other languages
Chinese (zh)
Other versions
CN103944819B (en
Inventor
徐鹏飞
张京京
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201410151991.3A priority Critical patent/CN103944819B/en
Publication of CN103944819A publication Critical patent/CN103944819A/en
Application granted granted Critical
Publication of CN103944819B publication Critical patent/CN103944819B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a data message transmission method and device. The method comprises the steps that link statuses of a node and other nodes on an inner ring, and link statuses of the node and the other nodes on an outer ring are determined; whether a ring used for transmitting a data message is the inner ring or the outer ring is determined through the link statues on the inner ring and the link statuses on the outer ring; when the ring used for transmitting the data message is the inner ring, the inner ring is recorded in a dynamic ring selection table to transmit the data message; when the ring used for transmitting the data message is the outer ring, the outer ring is recorded in the dynamic ring selection table to transmit the data message; when the data message is received, whether the inner ring or the outer ring transmits the data message is determined by inquiring the dynamic ring selection table; when the inner ring transmits the data message, the data message is sent to a target node through the inner ring; when the outer ring transmits the data message, the data message is sent to the target node through the outer ring. According to the data message transmission method and device, RPR ring network data message transmission stability can be improved.

Description

A kind of data message transmission method and equipment
Technical field
The present invention relates to communication technical field, relate in particular to a kind of data message transmission method and equipment.
Background technology
RPR(Resilient Packet Ring, Resilient Packet Ring) be a kind of novel MAC(Media Access Control, media interviews control) agreement, can run on SONET(Synchronous Optical Network, Synchronous Optical Network)/SDH(Synchronous Digital Hierarchy, synchronous digital hierarchy), DWDM(Dense Wavelength Division Multiplexing, level of confidentiality wavelength division multiplexing) and Ethernet on, and provide flexible and efficient networking plan for broadband IP metropolitan area network operator.Further, RPR technology designs in order to support jumbo data service in metropolitan area network, and RPR technology has following characteristics: physical layer diversity; Bandwidth availability ratio is high; Support broadcast and multicast; Topological automatic discovering, the plug and play of support node; Protection mechanism, can realize the fault self-recovery in 50ms by topology protection fast; Provide flow grade to ensure by tenaculum bandwidth reservation business and rate limit; Fair node bandwidth is distributed.
As shown in Figure 1, be RPR network (adopting the network of RPR technology) networking schematic diagram, RPR network using twin nuclei.Outer shroud is called 0 ring, and data are thereon along sending clockwise, and the sending direction of data is: node A-Node B-node C-node D-node E-node F.Interior ring is called 1 ring, and data are thereon along sending counterclockwise, and the sending direction of data is: node A-node F-node E-node D-node C-Node B.
In prior art, node, after receiving data message, will send datagram based on user configured acquiescence subring, thereby cause node to select the lower forward-path of reliability to send datagram, and then cause the loss of data message.For example, node A is after receiving data message, if user configured acquiescence subring is 0 ring, and the destination node of data message is node D, and the forward-path of data message is " node A-Node B-node C-node D ".The reliability of supposing forward-path " node A-node F-node E-node D " is higher, and the reliability of forward-path " node A-Node B-node C-node D " is lower, in the time using forward-path " node A-node F-node E-node D " to send datagram, what this data message used is the forward-path that reliability is lower, thereby causes data message to be easy to lose.
Summary of the invention
The embodiment of the present invention provides a kind of data message transmission method and equipment, to adopt the forward-path that reliability is higher to send datagram, then can avoid the Loss of data message.
In order to achieve the above object, the embodiment of the present invention provides a kind of data message transmission method, be applied in the RPR network that comprises multiple nodes, and described RPR network using twin nuclei, described method comprises:
Node and other node path cost and described node and the path cost of described other node on outer shroud on interior ring described in node determination; If the path cost on interior ring is identical with the path cost on outer shroud, node and described other node Link State and described node and the Link State of described other node on outer shroud on interior ring described in described node determination, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud; In the time that the ring for data message transmission is interior ring, described node record in dynamic ring selection table transmits the data message of described node to described other node by interior ring; In the time that the ring for data message transmission is outer shroud, described node record in dynamic ring selection table transmits the data message of described node to described other node by outer shroud;
Described node, in the time receiving data message, is determined the destination node of described data message, and dynamic ring selection table is definite transmits the data message of described node to described destination node by interior ring or outer shroud by inquiring about; When transmitted described node to the data message of described destination node by interior ring, described node sends to described destination node by interior ring by described data message; When transmitted described node to the data message of described destination node by outer shroud, described node sends to described destination node by outer shroud by described data message.
At node described in described node determination and other node after the path cost and described node and the path cost of described other node on outer shroud on interior ring, and, transmitted described node by interior ring or outer shroud to before the data message of described other node at described node record in dynamic ring selection table, described method further including: if path cost on ring be less than the path cost on outer shroud, described node determination is interior ring for the ring of data message transmission; Or if the path cost on interior ring is greater than the path cost on outer shroud, described node determination is outer shroud for the ring of data message transmission.
Described Link State comprises plate position type and/or port failure number of times, and described plate position type is specially veneer position or two plates position; Node and described other node Link State on interior ring and the process of described node and the Link State of described other node on outer shroud described in described node determination, specifically comprise:
Described node receives the RPR that in described RPR network, each node sends and controls message, and described RPR controls in message and carries port failure number of times and the described each node port failure number of times on outer shroud of described each node on interior ring; Described in described node determination between node and described other node, be positioned at each node on ring port failure number of times on ring, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between described node and described other node; And/or,
Described node receives the RPR that in described RPR network, each node sends and controls message, and described RPR controls the plate position type that carries described each node in message; The plate position type that is positioned at the each node on ring described in described node determination between node and described other node, and determine the plate position type that is positioned at the each node on outer shroud between described node and described other node.
In the time that Link State is plate position type or port failure number of times, the ring that the Link State of described node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is interior ring or outer shroud, specifically comprise: the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of two plates position, and determine that described node and the plate position type being positioned on outer shroud between described other node are pair number of nodes of plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; Otherwise the ring that is identified for data message transmission is interior ring.
In the time that described Link State is plate position type and port failure number of times, the ring that the Link State of described node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is the process of interior ring or outer shroud, specifically comprise: the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, described in described node determination, between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of two plates position, and determine that described node and the plate position type being positioned on outer shroud between described other node are pair number of nodes of plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, the plate position type being positioned on ring between node and described other node is the number of nodes of veneer position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, the plate position type being positioned on ring between node and described other node is the number of nodes of two plates position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
The embodiment of the present invention provides a kind of data-message transmission equipment, is applied to as node in the RPR network that comprises multiple nodes, and described RPR network using twin nuclei, described node specifically comprises:
Dynamically ring selection table maintenance module, for determining described node and path cost and described node and described other node path cost on outer shroud of other node on interior ring; If the path cost on interior ring is identical with the path cost on outer shroud, determine described node and Link State and described node and described other node Link State on outer shroud of described other node on interior ring, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud; In the time that the ring for data message transmission is interior ring, in dynamic ring selection table, record transmits the data message of described node to described other node by interior ring; In the time that the ring for data message transmission is outer shroud, in dynamic ring selection table, record transmits the data message of described node to described other node by outer shroud;
Data message sending module, in the time receiving data message, determines the destination node of described data message, and dynamic ring selection table is definite transmits the data message of described node to described destination node by interior ring or outer shroud by inquiring about; When transmitted described node to the data message of described destination node by interior ring, by interior ring, described data message is sent to described destination node; When transmitted described node to the data message of described destination node by outer shroud, by outer shroud, described data message is sent to described destination node.
Described dynamic ring selection table maintenance module, further also for after definite described node and the path cost and described node and described other node path cost on outer shroud of other node on interior ring, and, in dynamic ring selection table, record is transmitted described node to before the data message of described other node by interior ring or outer shroud, if the path cost on interior ring is less than the path cost on outer shroud, the ring that is identified for data message transmission is interior ring; Or if the path cost on interior ring is greater than the path cost on outer shroud, the ring that is identified for data message transmission is outer shroud.
Described Link State comprises plate position type and/or port failure number of times, and plate position type is veneer position or two plates position; Described dynamic ring selection table maintenance module, controls message specifically for receiving the RPR that in RPR network, each node sends, and RPR controls in message and carries port failure number of times and the each node port failure number of times on outer shroud of each node on interior ring; Determine to be positioned at each node on ring port failure number of times on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between described node and described other node; And/or, receiving the RPR that in RPR network, each node sends and control message, RPR controls the plate position type that carries each node in message; Determine the plate position type that is positioned at the each node on ring between described node and described other node, and determine the plate position type that is positioned at the each node on outer shroud between described node and described other node.
In the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
In the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; Otherwise the ring that is identified for data message transmission is interior ring.
In the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, in the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
Compared with prior art, the embodiment of the present invention at least has the following advantages: in the embodiment of the present invention, when the path cost of node (i.e. the source node of receiving data packets from RPR network) with destination node on interior ring and node are when identical with the path cost of destination node on outer shroud, Link State and node and the Link State of destination node on outer shroud on interior ring based on node and destination node, the ring that is identified for data message transmission is interior ring or outer shroud, thereby ensure to adopt the higher forward-path of reliability to send datagram, avoid data message Loss, and improve the stability of RPR looped network data-message transmission.
Brief description of the drawings
Fig. 1 is the networking schematic diagram of RPR network in prior art (adopting the network of RPR technology);
Fig. 2 is a kind of data message transmission method schematic flow sheet that the embodiment of the present invention provides;
Fig. 3 is a kind of data-message transmission device structure schematic diagram that the embodiment of the present invention provides.
Embodiment
For problems of the prior art, the embodiment of the present invention provides a kind of data message transmission method, and the method is applied in the RPR network that comprises multiple nodes, and this RPR network using twin nuclei.Application scenarios schematic diagram taking Fig. 1 as the embodiment of the present invention, at least comprises node A, Node B, node C, node D, node E and node F in this RPR network.Wherein, the outer shroud of RPR network is called 0 ring, and data are thereon along sending clockwise, and the sending direction of data is: node A-Node B-node C-node D-node E-node F; The interior ring of RPR network is called 1 ring, and data are thereon along sending counterclockwise, and the sending direction of data is: node A-node F-node E-node D-node C-Node B.
In the embodiment of the present invention, on each node, all need to safeguard dynamic ring selection table.Safeguarding in the process of dynamic ring selection table, path cost on outer shroud of path cost on interior ring of each this node of node determination and other node (be between this node and other node on interior ring the number of nodes of process) and this node and above-mentioned other node (be between this node and other node on outer shroud the number of nodes of process).If the path cost on interior ring is less than the path cost on outer shroud, to be identified for the ring of data message transmission be interior ring to this node.If the path cost on interior ring is greater than the path cost on outer shroud, to be identified for the ring of data message transmission be outer shroud to this node.If the path cost on interior ring is identical with the path cost on outer shroud, this node of this node determination and Link State and this node and above-mentioned other node Link State on outer shroud of above-mentioned other node on interior ring, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud.Further, in the time that the ring for data message transmission is interior ring, this node record in dynamic ring selection table transmits the data message of this node to above-mentioned other node by interior ring; In the time that the ring for data message transmission is outer shroud, this node record in dynamic ring selection table transmits the data message of this node to above-mentioned other node by outer shroud.
Because the process of the dynamic ring selection table of each node maintenance is identical, the follow-up example that is treated to node A describes.As shown in Figure 1, node A is in the process of the dynamic ring selection table of maintenance, for Node B, node A determines that node A and the path cost of Node B on interior ring are that the node of 5(process on interior ring is respectively node F, node E, node D, node C, Node B), node A determines that node A and the Node B path cost on outer shroud is that the node of 1(process on outer shroud is Node B), therefore to be identified for the ring of data message transmission be outer shroud to node A, and in dynamic ring selection table record by outer shroud transmission node A the data message to Node B.For node C, node A determines that node A and the path cost of node C on interior ring are that the node of 4(process on interior ring is respectively node F, node E, node D, node C), node A determines that node A and the path cost of node C on outer shroud are that 2(node of process on outer shroud is respectively Node B, node C), therefore to be identified for the ring of data message transmission be outer shroud to node A, and in dynamic ring selection table record by outer shroud transmission node A the data message to node C.For node E, node A determines that node A and the path cost of node E on interior ring are that the node of 2(process on interior ring is respectively node F, node E), node A determines that node A and the path cost of node E on outer shroud are that 4(node of process on outer shroud is respectively Node B, node C, node D, node E), therefore to be identified for the ring of data message transmission be interior ring to node A, and in dynamic ring selection table record by interior ring transmission node A the data message to node E.For node F, node A determines that node A and the path cost of node F on interior ring are that the node of 1(process on interior ring is node F), node A determines that node A and the path cost of node F on outer shroud are that 5(node of process on outer shroud is respectively Node B, node C, node D, node E, node F), therefore to be identified for the ring of data message transmission be interior ring to node A, and in dynamic ring selection table record by interior ring transmission node A the data message to node F.
In addition, for node D, node A determines that node A and the path cost of node D on interior ring are that the node of 3(process on interior ring is respectively node F, node E, node D), node A determines that node A and the path cost of node D on outer shroud are that 3(node of process on outer shroud is respectively Node B, node C, node D), therefore node A needs further to determine node A and Link State and node A and the node D Link State on outer shroud of node D on interior ring, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud.Suppose that for the ring of data message transmission be interior ring, node A records by interior ring transmission node A the data message to node D in dynamic ring selection table.
Based on above-mentioned situation, the example of the dynamic ring selection table that node A safeguards can be as shown in table 1.
Table 1
Node B Node C Node D Node E Node F
Outer shroud (0 ring) Outer shroud (0 ring) Interior ring (1 ring) Interior ring (1 ring) Interior ring (1 ring)
In the embodiment of the present invention, Link State specifically includes but not limited to: plate position type and/or port failure number of times, and this plate position type is specifically as follows veneer position or two plates position.Further, this node of node determination and the Link State of other node on interior ring and the process of this node and the Link State of other node on outer shroud, specifically comprise: this node receives the RPR that in RPR network, each node sends and controls message, and carry port failure number of times and the each node port failure number of times on outer shroud of each node on interior ring in this RPR control message; Afterwards, between this node of this node determination and other node, be positioned at each node on ring port failure number of times on ring, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between this node and other node; And/or this node receives the RPR that in RPR network, each node sends and controls message, and this RPR controls the plate position type that carries each node in message; Afterwards, the plate position type that is positioned at the each node on ring between this node of this node determination and other node, and determine the plate position type that is positioned at the each node on outer shroud between this node and other node.
Wherein, if port and the node port on interior ring of node on outer shroud is positioned on same plate, the plate position type of node is veneer position; Because the passage between the port on outer shroud and the port on interior ring is passage between plate, therefore the reliability of veneer position is higher.If the port of node on outer shroud and the port of node on interior ring are positioned on two blocks of different plates, the plate position type of node is two plates positions; Because the port on outer shroud and the port on interior ring are positioned on two blocks of different plates, therefore between the port on outer shroud and port on interior ring, need to be connected by MATE mouth optical fiber, and MATE mouth connection line of optic fibre is pulled out or the fault of MATE mouth own all causes link to disconnect, and therefore the reliability of two plates position is lower.
It can be ATD(website attribute that the RPR that each node sends controls message) message, and in ATD message, carry the port failure number of times that the port failure number of times of this node on interior ring and this node encircle outside; And/or, the plate position type of carrying this node in ATD message.Wherein, in ATD message, plate position type attribute is defined as to ATT_STATION_BOARDTYPE, and uses mark 0 to represent that the plate position type of this node is veneer position, and use mark 1 to represent that the plate position type of this node is two plates positions.In addition, in ATD message, be ATT_STATION_PHYDOWNNUM by port failure number of times attribute definition, and use the mode of the mark 0+ number of stoppages to represent the port failure number of times of this node on interior ring, and use the mode of the mark 1+ number of stoppages to represent the port failure number of times that this node encircles outside.
As shown in Figure 1, the RPR sending in Node B controls in message, and carrying the port failure number of times of Node B on interior ring is 10, and to carry the port failure number of times of Node B on outer shroud be 2, and the plate position type of carrying Node B is veneer position.The RPR sending at node C controls in message, and carrying the port failure number of times of node C on interior ring is 10, and to carry the port failure number of times of node C on outer shroud be 2, and the plate position type of carrying node C is veneer position.The RPR sending at node D controls in message, and carrying the port failure number of times of node D on interior ring is 10, and to carry the port failure number of times of node D on outer shroud be 2, and the plate position type of carrying node D is veneer position.The RPR sending at node E controls in message, and carrying the port failure number of times of node E on interior ring is 10, and to carry the port failure number of times of node E on outer shroud be 5, and the plate position type of carrying node E is two plates positions.The RPR sending at node F controls in message, and carrying the port failure number of times of node F on interior ring is 10, and to carry the port failure number of times of node F on outer shroud be 5, and the plate position type of carrying node F is two plates positions.
Control message based on above-mentioned RPR, node A can determine being positioned on ring between node A and node D: the port failure number of times of node F on ring is 10, and its plate position type is two plates positions; The port failure number of times of node E on interior ring is 10, and its plate position type is two plates positions; The port failure number of times of node D on interior ring is 10, and its plate position type is veneer position.In addition, node A can also determine being positioned on outer shroud between node A and node D: the port failure number of times of Node B on outer shroud is 2, and its plate position type is veneer position; The port failure number of times of node C on outer shroud is 2, and its plate position type is veneer position; The port failure number of times of node D on outer shroud is 2, and its plate position type is veneer position.
In a kind of preferred implementation of the embodiment of the present invention, in the time that Link State is plate position type, the ring that the Link State of node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is the process of interior ring or outer shroud, specifically comprise: the plate position type being positioned on ring between this node of node determination and other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or the plate position type being positioned on ring between this node of node determination and other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
As shown in Figure 1, node A determines that the plate position type on ring of being positioned between node A and node D is that the number of nodes of veneer position is 1(node D), and the plate position type on outer shroud of being positioned between definite node A and node D is that the number of nodes of veneer position is 3(Node B, node C and node D), therefore the former is less than the latter, is outer shroud for the ring of data message transmission; Or, node A determines that the plate position type being positioned on ring between node A and node D is that pair number of nodes of plates position is 3(node F, node E and node D), and the plate position type on outer shroud of being positioned between definite node A and node D is that the number of nodes of two plates position is 0, therefore the former is greater than the latter, is outer shroud for the ring of data message transmission.
Further, in a kind of preferred implementation of the embodiment of the present invention, in the time that Link State is port failure number of times, to be identified for the ring of data message transmission be the process of interior ring or outer shroud for the Link State of node utilization on interior ring and the Link State on outer shroud, specifically including: between this node of node determination and other node, be positioned at the port failure number of times sum on the each node ring on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between this node and other node; If the former is greater than the latter, to be identified for the ring of data message transmission be outer shroud to this node; If the former is less than the latter, to be identified for the ring of data message transmission be interior ring to this node.
As shown in Figure 1, node A determine between node A and node D to be positioned at each node (node F, node E and node D) on ring port failure number of times sum on ring be 30(10+10+10); In addition, node A determine between node A and node D to be positioned at each node (Node B, node C and node D) on outer shroud port failure number of times sum on outer shroud be 6(2+2+2), because number of stoppages sum 30 is greater than number of stoppages sum 6, the ring that is therefore identified for data message transmission is outer shroud.
In a kind of preferred implementation of the embodiment of the present invention, in the time that Link State is plate position type and port failure number of times, the ring that the Link State of node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is the process of interior ring or outer shroud, specifically includes but not limited to following mode:
The plate position type being positioned on ring between mode one, this node of node determination and other node is the number of nodes of veneer position, and determines that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between this node and other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite this node and other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
The plate position type being positioned on ring between mode two, this node of node determination and other node is the number of nodes of two plates position, and determines that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between this node and other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite this node and other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
Between mode three, this node of node determination and other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between this node and other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between this node and other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud.
Between mode four, this node of node determination and other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between this node and other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between this node and other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between this node and other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
Under above-mentioned application scenarios, as shown in Figure 2, this data message transmission method comprises the following steps:
Step 201, node, in the time receiving data message, is determined the destination node of this data message.
Wherein, this node refers to the source node of receiving data packets from RPR network, for example, when node A receives data message from RPR network, is determined the destination node of this data message by node A.In addition, owing to can carrying destination address information in data message, based on this destination address information, node A can determine the destination node of data message, if the destination node of node A specified data message is node D.
Step 202, node, by the dynamic ring selection table of inquiry, is determined the data message to destination node by interior ring or outer shroud transmission node.For example, in the time that destination node is node D, by the dynamic ring selection table shown in question blank 1, node A determines by interior ring transmission node A the data message to node D.In the time that destination node is Node B, by the dynamic ring selection table shown in question blank 1, node A determines by outer shroud transmission node A the data message to Node B.By that analogy, for the processing of other destination node, do not repeat them here.
Step 203, when transmitted this node to the data message of destination node by interior ring, this node sends to destination node by interior ring by data message; When transmitted this node to the data message of destination node by outer shroud, this node sends to destination node by outer shroud by data message.For example, in the time that destination node is node D, node A will send to node D by data message by interior ring (node F-node E-node D).
In sum, in the embodiment of the present invention, when node with destination node the path cost on interior ring and node when identical with the path cost of destination node on outer shroud, Link State and node and the Link State of destination node on outer shroud on interior ring based on node and destination node, the ring that is identified for data message transmission is interior ring or outer shroud, thereby ensure to adopt the higher forward-path of reliability to send datagram, avoid data message Loss, and improve the stability of RPR looped network data-message transmission.
Based on the inventive concept same with said method, a kind of data-message transmission equipment is also provided in the embodiment of the present invention, has been applied to as node in the RPR network that comprises multiple nodes, described RPR network using twin nuclei, as shown in Figure 3, described node specifically comprises:
Dynamically ring selection table maintenance module 11, for determining described node and path cost and described node and described other node path cost on outer shroud of other node on interior ring; If the path cost on interior ring is identical with the path cost on outer shroud, determine described node and Link State and described node and described other node Link State on outer shroud of described other node on interior ring, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud; In the time that the ring for data message transmission is interior ring, in dynamic ring selection table, record transmits the data message of described node to described other node by interior ring; In the time that the ring for data message transmission is outer shroud, in dynamic ring selection table, record transmits the data message of described node to described other node by outer shroud;
Data message sending module 12, in the time receiving data message, determines the destination node of described data message, and dynamic ring selection table is definite transmits the data message of described node to described destination node by interior ring or outer shroud by inquiring about; When transmitted described node to the data message of described destination node by interior ring, by interior ring, described data message is sent to described destination node; When transmitted described node to the data message of described destination node by outer shroud, by outer shroud, described data message is sent to described destination node.
In the embodiment of the present invention, described dynamic ring selection table maintenance module 11, further also for after definite described node and the path cost and described node and described other node path cost on outer shroud of other node on interior ring, and, in dynamic ring selection table, record is transmitted described node to before the data message of described other node by interior ring or outer shroud, if the path cost on interior ring is less than the path cost on outer shroud, the ring that is identified for data message transmission is interior ring; Or if the path cost on interior ring is greater than the path cost on outer shroud, the ring that is identified for data message transmission is outer shroud.
In the embodiment of the present invention, described Link State specifically comprises plate position type and/or port failure number of times, and described plate position type is specially veneer position or two plates position; In the case, described dynamic ring selection table maintenance module 11, control message specifically for receiving the RPR that in RPR network, each node sends, and carry port failure number of times and the each node port failure number of times on outer shroud of each node on interior ring in described RPR control message; Determine to be positioned at each node on ring port failure number of times on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between described node and described other node; And/or, receive the RPR that in RPR network, each node sends and control message, and described RPR controls the plate position type that carries each node in message; Determine the plate position type that is positioned at the each node on ring between described node and described other node, and determine the plate position type that is positioned at the each node on outer shroud between described node and described other node.
In the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module 11, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, in the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module 11, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; Otherwise the ring that is identified for data message transmission is interior ring.
In the embodiment of the present invention, in the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module 11, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
In the embodiment of the present invention, in the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module 11, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
Wherein, the modules of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into multiple submodules.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can be distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from the present embodiment.The module of above-described embodiment can be merged into a module, also can further split into multiple submodules.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Disclosed is above only several specific embodiment of the present invention, and still, the present invention is not limited thereto, and the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (10)

1. a data message transmission method, is applied in the RPR network that comprises multiple nodes, and described RPR network using twin nuclei, is characterized in that, said method comprising the steps of:
Node and other node path cost and described node and the path cost of described other node on outer shroud on interior ring described in node determination; If the path cost on interior ring is identical with the path cost on outer shroud, node and described other node Link State and described node and the Link State of described other node on outer shroud on interior ring described in described node determination, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud; In the time that the ring for data message transmission is interior ring, described node record in dynamic ring selection table transmits the data message of described node to described other node by interior ring; In the time that the ring for data message transmission is outer shroud, described node record in dynamic ring selection table transmits the data message of described node to described other node by outer shroud;
Described node, in the time receiving data message, is determined the destination node of described data message, and dynamic ring selection table is definite transmits the data message of described node to described destination node by interior ring or outer shroud by inquiring about; When transmitted described node to the data message of described destination node by interior ring, described node sends to described destination node by interior ring by described data message; When transmitted described node to the data message of described destination node by outer shroud, described node sends to described destination node by outer shroud by described data message.
2. the method for claim 1, it is characterized in that, at node described in described node determination and other node after the path cost and described node and the path cost of described other node on outer shroud on interior ring, and, transmitted described node by interior ring or outer shroud to before the data message of described other node at described node record in dynamic ring selection table, described method further comprises:
If the path cost on interior ring is less than the path cost on outer shroud, described node determination is interior ring for the ring of data message transmission; Or if the path cost on interior ring is greater than the path cost on outer shroud, described node determination is outer shroud for the ring of data message transmission.
3. the method for claim 1, is characterized in that, described Link State comprises plate position type and/or port failure number of times, and described plate position type is specially veneer position or two plates position;
Node and described other node Link State on interior ring and the process of described node and the Link State of described other node on outer shroud described in described node determination, specifically comprise:
Described node receives the RPR that in described RPR network, each node sends and controls message, and described RPR controls in message and carries port failure number of times and the described each node port failure number of times on outer shroud of described each node on interior ring; Described in described node determination between node and described other node, be positioned at each node on ring port failure number of times on ring, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between described node and described other node; And/or,
Described node receives the RPR that in described RPR network, each node sends and controls message, and described RPR controls the plate position type that carries described each node in message; The plate position type that is positioned at the each node on ring described in described node determination between node and described other node, and determine the plate position type that is positioned at the each node on outer shroud between described node and described other node.
4. method as claimed in claim 3, it is characterized in that, in the time that described Link State is plate position type or port failure number of times, the ring that the Link State of described node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is the process of interior ring or outer shroud, specifically comprises:
The plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of veneer position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of two plates position, and determine that described node and the plate position type being positioned on outer shroud between described other node are pair number of nodes of plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
Described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; Otherwise the ring that is identified for data message transmission is interior ring.
5. method as claimed in claim 3, it is characterized in that, in the time that described Link State is plate position type and port failure number of times, the ring that the Link State of described node utilization on interior ring and the Link State on outer shroud are identified for data message transmission is the process of interior ring or outer shroud, specifically comprises:
The plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of veneer position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, described in described node determination, between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or the plate position type being positioned on ring described in described node determination between node and described other node is the number of nodes of two plates position, and determine that described node and the plate position type being positioned on outer shroud between described other node are pair number of nodes of plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
Described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, the plate position type being positioned on ring between node and described other node is the number of nodes of veneer position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, described in described node determination between node and described other node, be positioned at each node on ring port failure number of times sum on ring, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, described in described node determination, the plate position type being positioned on ring between node and described other node is the number of nodes of two plates position, and determines that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
6. a data-message transmission equipment, is applied to as node in the RPR network that comprises multiple nodes, and described RPR network using twin nuclei, is characterized in that, described node specifically comprises:
Dynamically ring selection table maintenance module, for determining described node and path cost and described node and described other node path cost on outer shroud of other node on interior ring; If the path cost on interior ring is identical with the path cost on outer shroud, determine described node and Link State and described node and described other node Link State on outer shroud of described other node on interior ring, and the ring that utilizes the Link State on interior ring and the Link State on outer shroud to be identified for data message transmission is interior ring or outer shroud; In the time that the ring for data message transmission is interior ring, in dynamic ring selection table, record transmits the data message of described node to described other node by interior ring; In the time that the ring for data message transmission is outer shroud, in dynamic ring selection table, record transmits the data message of described node to described other node by outer shroud;
Data message sending module, in the time receiving data message, determines the destination node of described data message, and dynamic ring selection table is definite transmits the data message of described node to described destination node by interior ring or outer shroud by inquiring about; When transmitted described node to the data message of described destination node by interior ring, by interior ring, described data message is sent to described destination node; When transmitted described node to the data message of described destination node by outer shroud, by outer shroud, described data message is sent to described destination node.
7. equipment as claimed in claim 6, is characterized in that,
Described dynamic ring selection table maintenance module, further also for after definite described node and the path cost and described node and described other node path cost on outer shroud of other node on interior ring, and, in dynamic ring selection table, record is transmitted described node to before the data message of described other node by interior ring or outer shroud, if the path cost on interior ring is less than the path cost on outer shroud, the ring that is identified for data message transmission is interior ring; Or if the path cost on interior ring is greater than the path cost on outer shroud, the ring that is identified for data message transmission is outer shroud.
8. equipment as claimed in claim 6, is characterized in that, described Link State comprises plate position type and/or port failure number of times, and described plate position type is specially veneer position or two plates position;
Described dynamic ring selection table maintenance module, controls message specifically for receiving the RPR that in RPR network, each node sends, and this RPR controls in message and carries port failure number of times and the each node port failure number of times on outer shroud of each node on interior ring; Determine to be positioned at each node on ring port failure number of times on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times on outer shroud between described node and described other node; And/or, receiving the RPR that in RPR network, each node sends and control message, this RPR controls the plate position type that carries each node in message; Determine the plate position type that is positioned at the each node on ring between described node and described other node, and determine the plate position type that is positioned at the each node on outer shroud between described node and described other node.
9. equipment as claimed in claim 8, is characterized in that,
In the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
In the time that described Link State is plate position type or port failure number of times, described dynamic ring selection table maintenance module, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; Otherwise the ring that is identified for data message transmission is interior ring.
10. equipment as claimed in claim 8, is characterized in that,
In the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module, specifically for determining that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; Or,
In the time that described Link State is plate position type and port failure number of times, described dynamic ring selection table maintenance module, between described node and described other node, be positioned at each node on ring port failure number of times sum on ring specifically for determining, and be positioned at each node on outer shroud port failure number of times sum on outer shroud between definite described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of veneer position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of veneer position; If the former is greater than the latter, the ring that is identified for data message transmission is interior ring; If the former is less than the latter, the ring that is identified for data message transmission is outer shroud; Or, determine to be positioned at each node on ring port failure number of times sum on ring between described node and described other node, and determine and be positioned at each node on outer shroud port failure number of times sum on outer shroud between described node and described other node; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring; If the former equals the latter, determine that the plate position type being positioned on ring between described node and described other node is the number of nodes of two plates position, and determine that the plate position type being positioned on outer shroud between described node and described other node is the number of nodes of two plates position; If the former is greater than the latter, the ring that is identified for data message transmission is outer shroud; If the former is less than the latter, the ring that is identified for data message transmission is interior ring.
CN201410151991.3A 2014-04-15 2014-04-15 A kind of data message transmission method and equipment Active CN103944819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410151991.3A CN103944819B (en) 2014-04-15 2014-04-15 A kind of data message transmission method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410151991.3A CN103944819B (en) 2014-04-15 2014-04-15 A kind of data message transmission method and equipment

Publications (2)

Publication Number Publication Date
CN103944819A true CN103944819A (en) 2014-07-23
CN103944819B CN103944819B (en) 2017-10-17

Family

ID=51192309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410151991.3A Active CN103944819B (en) 2014-04-15 2014-04-15 A kind of data message transmission method and equipment

Country Status (1)

Country Link
CN (1) CN103944819B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283754A (en) * 2014-09-28 2015-01-14 杭州华三通信技术有限公司 Data transmission method and device
CN113691433A (en) * 2021-08-31 2021-11-23 深圳云天励飞技术股份有限公司 Data transmission system, method, device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567891A (en) * 2003-06-20 2005-01-19 华为技术有限公司 A method for implementing data service transmission routing
CN1691640A (en) * 2004-04-30 2005-11-02 华为技术有限公司 A method of ring selection in resilient packet ring (RPR) network
JP2006094306A (en) * 2004-09-27 2006-04-06 Mitsubishi Electric Corp Node device, packet communication procedure in node device, and program
US20060109802A1 (en) * 2004-11-19 2006-05-25 Corrigent Systems Ltd. Virtual private LAN service over ring networks
CN101159653A (en) * 2007-11-16 2008-04-09 华为技术有限公司 Method and system for elastic packet ring network node to perform working mode switch
US20080159300A1 (en) * 2006-12-27 2008-07-03 Toshihiro Ban Ring node apparatus
CN101304380A (en) * 2008-06-30 2008-11-12 杭州华三通信技术有限公司 Traffic transmission method of elastic packet loop and elastic packet loop node
CN103023771A (en) * 2011-09-28 2013-04-03 华为技术有限公司 Method and device for processing fault of ring topological network and routing equipment
CN103078777A (en) * 2012-12-31 2013-05-01 杭州华三通信技术有限公司 Method and device for eliminating loop in resilient packet ring network

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567891A (en) * 2003-06-20 2005-01-19 华为技术有限公司 A method for implementing data service transmission routing
CN1691640A (en) * 2004-04-30 2005-11-02 华为技术有限公司 A method of ring selection in resilient packet ring (RPR) network
JP2006094306A (en) * 2004-09-27 2006-04-06 Mitsubishi Electric Corp Node device, packet communication procedure in node device, and program
US20060109802A1 (en) * 2004-11-19 2006-05-25 Corrigent Systems Ltd. Virtual private LAN service over ring networks
US20080159300A1 (en) * 2006-12-27 2008-07-03 Toshihiro Ban Ring node apparatus
CN101159653A (en) * 2007-11-16 2008-04-09 华为技术有限公司 Method and system for elastic packet ring network node to perform working mode switch
CN101304380A (en) * 2008-06-30 2008-11-12 杭州华三通信技术有限公司 Traffic transmission method of elastic packet loop and elastic packet loop node
CN103023771A (en) * 2011-09-28 2013-04-03 华为技术有限公司 Method and device for processing fault of ring topological network and routing equipment
CN103078777A (en) * 2012-12-31 2013-05-01 杭州华三通信技术有限公司 Method and device for eliminating loop in resilient packet ring network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周胜源,敖发良,陈名松: "弹性分组环的媒体访问控制", 《桂林电子工业学院院报》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104283754A (en) * 2014-09-28 2015-01-14 杭州华三通信技术有限公司 Data transmission method and device
CN113691433A (en) * 2021-08-31 2021-11-23 深圳云天励飞技术股份有限公司 Data transmission system, method, device, electronic equipment and storage medium
CN113691433B (en) * 2021-08-31 2023-03-03 深圳云天励飞技术股份有限公司 Data transmission system, method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103944819B (en) 2017-10-17

Similar Documents

Publication Publication Date Title
CN103944828A (en) Method and equipment for transmitting protocol messages
WO2019042124A1 (en) Communication method and device, and storage medium
CN107615721B (en) System and method for transmitting software defined network-logical link aggregation member signaling
CN101692652A (en) Method for preventing interrupt of traffics in aggregation link
US20170063666A1 (en) Routing with flow over shared risk link groups
CN104038447A (en) Message transmission method and device
US20160204976A1 (en) Identifying the absence and presence of a ring protection link owner node in an ethernet network
JP2018526918A (en) Passive optical network communication method, apparatus and system
CN101631060B (en) Method and device for managing edge port
CN103825839A (en) Message transmission method and equipment based on aggregated link
CN102326370A (en) Message processing method, apparatus and system
CN102833173A (en) Network device and tunnel adaptation method
US10425319B2 (en) Transport software defined networking (SDN)—zero configuration adjacency via packet snooping
US8615006B2 (en) Systems and methods for reconfiguration of a circuit switched ring to a packet switched ring
CN103944819A (en) Data message transmission method and device
JP2017175176A (en) Optical line terminal, redundant terminal changeover method, and redundant terminal changeover program
US7218607B2 (en) Signaling proxy device for automatically setting up standby paths in optical networks
US20160173472A1 (en) Method for exchanging numerical data frames and associated communication system
US11784741B2 (en) Optical network unit registration method for wavelength-selected wavelength division multiplexing passive optical network
CN101572675B (en) Method for finding operating VRRP network equipment in directly connected network segment and device thereof
CN104168169A (en) MAC entry deleting method and equipment
CN102647424A (en) Data transmission method and data transmission device
CN103916278A (en) Method and device for unified management based on LAN and SAN
US10756813B1 (en) Broadband subscriber switchover in a ring network
JP2008172449A (en) Topology detection method for detecting network logical topology, communication device, management device, and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant