CN1956407A - Method and device for implementing ring configuration in ring network - Google Patents

Method and device for implementing ring configuration in ring network Download PDF

Info

Publication number
CN1956407A
CN1956407A CNA2005101183212A CN200510118321A CN1956407A CN 1956407 A CN1956407 A CN 1956407A CN A2005101183212 A CNA2005101183212 A CN A2005101183212A CN 200510118321 A CN200510118321 A CN 200510118321A CN 1956407 A CN1956407 A CN 1956407A
Authority
CN
China
Prior art keywords
hoop
node
information
self
loop
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
CNA2005101183212A
Other languages
Chinese (zh)
Other versions
CN100493019C (en
Inventor
雷文阳
张义龙
李鉴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101183212A priority Critical patent/CN100493019C/en
Priority to PCT/CN2006/002527 priority patent/WO2007048308A1/en
Publication of CN1956407A publication Critical patent/CN1956407A/en
Application granted granted Critical
Publication of CN100493019C publication Critical patent/CN100493019C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks

Abstract

This invention discloses a method for realizing hoop configuration in a ring network, in which, when a node of the receiving party receives hoop information from the node of the transmission party, it compares its own priority with that of the node of the transmission party to determine the hoop of its own used in ordinary communication. This invention also discloses a device for realizing hoop configuration in the ring network including a RPR management unit, an interface unit and a hoop association unit, which is used in judging if its own position has the relative maximum priority and determines hoop of its belonged devices at ordinary communication based on the judgment result.

Description

A kind of method and apparatus of in loop network, realizing the hoop configuration
Technical field
The present invention relates to a kind of method and apparatus of in loop network, realizing the hoop configuration.
Background technology
Along with the development of communication network, RPR (Resilient packet ring, RPR) technical standard has been proposed at present. RPR has the reverse loop network structure of dicyclo, is independent of Physical layer, and has the advantages such as carrier class disturbance switching ability, high efficient band width utilization rate, therefore is subject to gradually the favor of operator.
Referring to Fig. 1, Fig. 1 is the RPR network structure. Among Fig. 1, on the RPR ring three communication nodes: node A 110, Node B 120, node C 130 are arranged. Node A 110, Node B 120, node C 130 are connected with each other, and have formed two loops that are used for communication, and wherein a loop is clockwise, is commonly called 0 ring; Another loop is counterclockwise, is commonly called 1 ring; The described trend of the communication information on loop that refer to clockwise, counterclockwise. Certainly, 0 ring, 1 ring are artificial appellation, also clockwise loop can be called in actual applications 1 ring, and anticlockwise loop is called 0 ring; And 0 ring, 1 ring can be closed loops as shown in Figure 1, also can be the open loops with sealing form.
The structure of each communication node on the described loop is all identical with achieved function. The below is described the communication node on the RPR ring as an example of node A 110 example:
Be provided with loop interface 111, loop interface 112 among the node A 110, the loop interface 111 that is positioned at 0 ring Inbound is commonly called the west to interface, and the loop interface 112 that is positioned at 1 ring Inbound is commonly called the east orientation interface; And set up the incidence relation that has based on loop between loop interface 111 and the loop interface 112, so that can carry out the communication based on loop between loop interface 111 and the loop interface 112. Wherein, loop interface 111 can receive the information of the upper transmission of 0 ring, and according to described incidence relation the information of receiving is sent to loop interface 112, and the information that loop interface 112 can send sends at 0 ring; And loop interface 112 can receive the information of the upper transmission of 1 ring, and according to described incidence relation the information of receiving is sent to loop interface 111, and the information that loop interface 111 can send sends at 1 ring. Loop interface 111 is connected with dotted line between the loop interface 112 that to represent between loop interface 111 and the loop interface 112 be inner the connection.
As seen, also can think in the communication node on the RPR ring, an end that is positioned at 0 ring Inbound for the west of this communication node to, be positioned at an end of 1 ring Inbound and be the east orientation of this communication node. In order to ensure all communication nodes energy proper communications on the RPR ring, the east, west that must pre-determine each communication node to, to guarantee that RPR encircles in upper two continuous communication nodes, what the west of a communication node connected to loop interface is the east orientation loop interface of another communication node, so that the communication direction of all communication nodes on the RPR ring on 0 ring, 1 ring is consistent respectively.
At present, described pre-determine each communication node east, west to task be to finish in the mode of artificial setting, the east of operating personnel's each communication node on the RPR ring is set, west to the time, must keep firmly in mind the communication node east of having finished setting on the RPR ring, west to, and according to the communication node east of finishing setting, west to arrange other communication node east on the RPR ring, west to. As seen, use at present manually arrange communication node east, west to the method workload large, efficient is low, it is higher to cause RPR to encircle operation maintenance cost; And operating personnel probably misremember or forget the communication node east of finishing setting, west to, cause and communication node east, west are set to makeing mistakes, when the communication node number that especially comprises at RPR ring is numerous, arrange communication node east, west to error rate higher, had a strong impact on the proper communication of whole RPR ring.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that realizes the hoop configuration in loop network, with the workload of hoop configuration in the minimizing loop network, and reduces hoop configuration error rate.
Another object of the present invention is to provide a kind of device of in loop network, realizing the hoop configuration, with the workload of hoop configuration in the minimizing loop network, and reduce hoop configuration error rate.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method that realizes the hoop configuration in loop network, the method may further comprise the steps:
A. the transmit leg node send comprise self loop to the hoop information of precedence information;
When b. recipient's node is received hoop information from the transmit leg node, the corresponding priority of precedence information that relatively comprises in self priority and the hoop information of receiving, when the priority of recipient's node was hanged down relatively, recipient's node determined self to comply with the hoop of loop according to the hoop that comprises in the hoop information of receiving; Otherwise, recipient's node according to the hoop collocation strategy that sets in advance determine self loop to.
Among the step b, described recipient's node according to described hoop collocation strategy determine self loop to the time, further determine from as host node and send self hoop information;
Described recipient's node according to the hoop that comprises in the described hoop information of receiving determine self loop to the time, the described hoop information that further will receive continues to send; Or further determine to continue to send from the described hoop information that also will receive as slave node.
Before the step a, determine that further the transmit leg node is host node.
The method that described definite transmit leg node is host node comprises:
State conversion timing device is set, and described recipient's node determination is certainly as host node when this state conversion timing device is overtime.
Among the step a, described precedence information comprises node priority parameter and node address, and then among the step b, the method for described comparison comprises:
The node priority parameter that the hoop information that recipient's node is relatively received comprises and self node priority parameter, if the node priority parameter value of recipient's node is relatively large, the priority of recipient's node determination self is relatively high; If the node priority parameter value of recipient's node is relatively little, the priority of recipient's node determination self is relatively low; If the node priority parameter value that described hoop information comprises is identical with the node priority parameter value of recipient's node, the node address that the described hoop information that recipient's node then continues relatively to receive comprises and the node address of self, if recipient address of node value is relatively large, the priority of recipient's node determination self is relatively high; Otherwise recipient's node determines that then the priority of self is relatively low.
Described node address is the medium access control MAC Address.
Described hoop is by the hoop Parametric Representation, and described hoop information is to be received by the loop interface that arranges in described recipient's node; Then among the step b, described recipient's node according to described hoop determine self loop to method comprise:
The described hoop information read loop that recipient's node is received from the loop interface that is arranged in the one end is to parameter, determine the corresponding hoop of described hoop information and get opposite hoop according to the hoop parameter that reads, again will this opposite hoop be defined as self receiving the hoop of an end of described hoop information.
Described recipient's node further get the opposite hoop of definite hoop, and will this opposite hoop be defined as the hoop of self other end.
Described hoop information is to be received by the loop interface that arranges in described recipient's node, and the loop interface that lays respectively at its two ends in recipient's node is set up incidence relation in advance, and described hoop collocation strategy is to determine hoop according to the sequencing of loop interface association; Then among the step b, described recipient's node according to described hoop collocation strategy determine self loop to method comprise:
Recipient's node is in laying respectively at the loop interface at self two ends, determine the hoop of a loop interface end of living in of once elder generation's association, and get the opposite hoop of definite hoop, the hoop of a related loop interface end of living in after being defined as this opposite hoop once.
Described loop network is the RPR network, and described transmit leg node, recipient's node are the communication nodes on the RPR network.
Among the step a, the hoop that comprises in the described hoop information that the transmit leg node sends arranges when the transmit leg node is carried out initial configuration, and the method for setting is:
According to the shut sequence of transmit leg node intermediate ring road interface arrange the transmit leg node cycle to.
Described transmit leg node and recipient's node are different communication nodes, or same communication node.
The invention also discloses a kind of device of in loop network, realizing the hoop configuration, comprise the RPR administrative unit, and the interface unit that links to each other with the RPR administrative unit; This device also comprises the hoop negotiation element;
Wherein, interface unit is used for carrying out the transmitting-receiving of loop information;
The RPR administrative unit is used for safeguarding described interface unit incidence relation and communicating management work;
The hoop negotiation element, the hoop information that comprises hoop and precedence information for other communication node of receiving according to interface unit, judge whether self corresponding device has relatively the highest priority, if so, determine the hoop of self corresponding device according to the hoop collocation strategy that sets in advance; Otherwise, determine that according to the hoop that comprises in the hoop information from the relatively the highest communication node of priority self corresponding device complies with the hoop of loop.
Described hoop negotiation element determine according to described hoop collocation strategy self loop to the time, be further used for determining self to belong to host node and send the corresponding hoop information of described hoop of determining by interface unit;
Determine according to described hoop self loop to the time, be further used for that the described hoop information exchange of receiving is crossed interface unit and continue send; Or be further used for determining self to belong to slave node and the described hoop information exchange that will receive is crossed interface unit and continued to send.
State conversion timing device further is set, determines that by the hoop negotiation element self belongs to host node to negotiation element for notification ring when overtime.
This device further comprises configuration management element, the interface management unit that is connected with each other; Configuration management element also links to each other with the RPR administrative unit, and interface management unit also links to each other with interface unit;
Wherein, configuration management element is used for resolving and processing the configuration order of receiving;
Interface management unit is used for management interface unit.
Described interface unit comprises first interface unit, the second interface unit that is connected with each other.
Compared with prior art, the method that in loop network, realizes the hoop configuration provided by the present invention, when recipient's node is received hoop information from the transmit leg node, the priority of comparison self priority and transmit leg node, no matter the priority of recipient's node is relatively high or lower, and recipient's node all can determine self to be used for the hoop of proper communication.
The device of realizing the hoop configuration in loop network provided by the present invention comprises RPR administrative unit, interface unit, hoop negotiation element; Wherein, the hoop negotiation element is used for the hoop information of other communication node of receiving according to interface unit, judges whether self residing device has relatively the highest priority, and determines that according to judged result self corresponding device is used for the hoop of proper communication.
As seen, the communication node in the equal supporting ring mesh network of method and apparatus provided by the present invention carries out the hoop configuration voluntarily, no longer needs operating personnel's participation therebetween, can obviously reduce the workload of hoop configuration in the loop network, improves the hoop allocative efficiency; And owing to no longer need manual operation, hoop configuration error rate is obviously reduced, even can effectively avoid makeing mistakes when hoop disposes.
Description of drawings
Fig. 1 is the RPR network structure;
Fig. 2 is the hoop configuration schematic diagram of the embodiment of the invention one;
Fig. 3 is the hoop configuration schematic diagram of the embodiment of the invention two;
Fig. 4 is the hoop configuration schematic diagram of the embodiment of the invention three;
Fig. 5 is the hoop configuration schematic diagram of the embodiment of the invention four;
Fig. 6 is the RPR Network Communication Principle figure that finishes among Fig. 5 after hoop disposes;
Fig. 7 is RPR node structure figure;
Fig. 8 is main state, the schematic diagram of state conversion between the slave mode, Init state;
Fig. 9 is the heading structural representation that comprises in the hoop information;
Figure 10 is key operation flow chart in the hoop configuration of the present invention.
The specific embodiment
Below in conjunction with drawings and the specific embodiments to the detailed description of the invention.
The method of hoop configuration that realizes in loop network provided by the invention comprises: the transmit leg node send comprise self loop to the hoop information of precedence information; When recipient's node is received from the hoop information of transmit leg node, the corresponding priority of precedence information that relatively comprises in self priority and the hoop information of receiving, when the priority of recipient's node was hanged down relatively, recipient's node determined self to comply with the hoop of loop according to the hoop that comprises in the hoop information of receiving; Otherwise, recipient's node according to the hoop collocation strategy that sets in advance determine self loop to.
The system of hoop configuration that realizes in loop network provided by the invention comprises RPR administrative unit and the interface unit that links to each other with the RPR administrative unit, also comprises the hoop negotiation element; Wherein, interface unit is used for carrying out the transmitting-receiving of loop information; The RPR administrative unit is used for safeguarding described interface unit incidence relation and communicating management work; The hoop negotiation element, the hoop information that comprises hoop and precedence information for other communication node of receiving according to interface unit, judge whether self corresponding device has relatively the highest priority, if so, determine the hoop of self corresponding device according to the hoop collocation strategy that sets in advance; Otherwise, determine that according to the hoop that comprises in the hoop information from the relatively the highest communication node of priority self corresponding device complies with the hoop of loop.
After having set up incidence relation between two loop interface that application prior art each communication node on the RPR ring comprises, just can carry out having disposed for the hoop of each communication node. In multiple situation, the communication node on the RPR ring might need to carry out hoop configuration, as: RPR only is provided with on the ring and adds/deleted communication node on a communication node, the RPR ring, two RPR rings are formed a RPR encircles etc. during initial networking. The below uses a plurality of embodiment and respectively the hoop layoutprocedure under the different situations is described.
Embodiment one: RPR only is provided with a communication node during initial networking on the ring.
Referring to Fig. 2, Fig. 2 is the hoop configuration schematic diagram of the embodiment of the invention one. Only comprise node A 210 on the RPR ring among Fig. 2, loop interface 211 is connected with dotted line between the loop interface 212 that to represent between loop interface 211 and the loop interface 212 be inner the connection.
In actual applications, also can further comprise other communication node on the RPR ring, but other communication node except node A 210 all is in (shutdown) state of closing, a communication node communication information that self is received that is in the shutdown state is carried out transparent transmission, and does not carry out other operation.
When carrying out the hoop configuration, node A 210 determines the hoop of self according to the hoop collocation strategy that sets in advance. Described hoop collocation strategy can be to determine hoop according to the loop interface shut sequence of node A 210, as: when related loop interface 211, the loop interface 212, shut sequence is again related loop interface 212 of the related loop interface 211 of elder generation, 210 definite loop interface 211 of node A are that the west is to interface, loop interface 212 is the east orientation interface, that is: node A 210 determine its upper loop interface 211 residing ends be western to, loop interface 212 residing ends are east orientation. Certainly, also first related loop interface can be defined as the west to interface, the loop interface of rear association is defined as the east orientation interface, that is: node A 210 determines that its upper loop interface 211 residing ends are east orientation, loop interface 212 residing ends be western to.
Described hoop collocation strategy also can be random setting, determines at random that such as: node A 210 its upper loop interface 211 residing ends are east orientation, loop interface 212 residing ends be western to.
After node A 210 has finished and self has been arranged circumferentially, sent to end goes out the west to direction from hoop information to the local terminal loop by self west; And by self east orientation end the direction that east orientation hoop information goes out to the local terminal loop is sent. Concrete operations are: by loop interface 211 direction that the west goes out to hoop information to this interface loop is sent; By loop interface 212 east orientation hoop information is sent to the direction that this interface loop goes out.
Described east, west to hoop information except comprising heading of the prior art, also comprise node priority parameter and this hoop information of indication the hoop parameter of corresponding hoop. Described hoop information normally periodically sends. The nodal informations such as address that comprise node A 210 in the described heading.
Described node priority parameter sets in advance in each communication node on the RPR ring usually, described hoop parameter is a numerical value normally, as: the hoop parameter is 0 o'clock, represent described hoop information for the west to hoop information, send this west to an end of the communication node of hoop information for the west to; The hoop parameter is 1 o'clock, and representing described hoop information is east orientation hoop information, and an end that sends the communication node of this east orientation hoop information is east orientation.
Certainly, also can set in advance the master slave mode of communication node, and set and to only have host node could send hoop information, described state setting as; The master slave mode of communication node is set to slave mode, makes the communication node acquiescence certainly as slave node. Arranging of master slave mode can pass through to add the realization of master slave mode parameter in the configuration parameter of communication node, as: the master slave mode parameter value of communication node is 0, and the master slave mode that represents this communication node is slave mode.
Have again, state conversion timing device can be set in communication node, make state conversion timing device when not receiving hoop information, continue timing, and when state conversion timing device is overtime, determined certainly as host node by the communication node at state conversion timing device place; State conversion timing device restarts when receiving hoop information. Described state conversion timing device does not have strict some start-up time, and its any time in communication process all can start.
Described communication node is determined to have from the method as host node multiple, as: the master slave mode parameter value of communication node self is set to 1, and representing this communication node is host node. The duration of described state conversion timing device can be according to the settings such as transmission cycle of described hoop information, as: the duration of state conversion timing device is three times that hoop information sends the cycle.
As seen, if be provided with the master slave mode of communication node, communication node will be given tacit consent to certainly at first as slave node; Communication node is determined certainly as host node when state conversion timing device is overtime. And, communication node application of aforementioned correlation method determine self loop to; After having determined hoop, the application of aforementioned correlation method sends described hoop information.
By the above as can be known, among Fig. 2, if the RPR ring is open loop, then no matter only have node A 210 still further to comprise the communication node that other is in the shutdown state on the RPR ring, node A 210 can not receive the hoop information from self or other node, and node A 210 can determine when state conversion timing device is overtime from as host node and send self hoop information so. Aforesaid operations will circulate down always. If the RPR ring is closed loop, then no matter only have node A 210 still further to comprise the communication node that other is in the shutdown state on the RPR ring, node A 210 can both receive hoop information before state conversion timing device is overtime, and peels off this hoop information when definite this hoop information belongs to self.
Above-mentioned hoop collocation strategy, node priority parameter, master slave mode, state conversion timing device etc. also can be applied among other the embodiment. And the node priority parameter of each communication node and hoop can arrange when the initial configuration communication node on the RPR ring, and the respective rings of describing in can Application Example one when described hoop is set is to collocation method.
In actual applications, if newly added a communication node on the RPR ring shown in Figure 2, the visible embodiment two of hoop layoutprocedure so afterwards.
Embodiment two: added communication node on the RPR ring.
Referring to Fig. 3, Fig. 3 is the hoop configuration schematic diagram of the embodiment of the invention two. Comprise node 310, node 320 on the RPR ring among Fig. 3. Wherein, node 310 is originally just to be arranged on the RPR ring, and 320 of nodes are newly to add the RPR ring. Under normal circumstances, node 310 should be determined certainly as host node, and send the hoop information of self; Node 320 is given tacit consent to certainly as slave node when the new RPR of adding ring.
When node 320 is received hoop information from node 310, the priority that the hoop information that node 320 is relatively received comprises and the priority of self, if the priority of node 320 is relatively high, node 320 is determined to send the hoop information of self from the hoop of also determining self as host node according to the hoop collocation strategy that sets in advance again; If the priority of node 320 is relatively low, the hoop information that 320 bases of node are received determines self to comply with the hoop of loop, and the described hoop information that will receive continues to send.
Describedly determine that the hoop of complying with loop refers to: receive the communication node from other communication node hoop information, determine self to receive the hoop of this hoop information one end, and the definite hoop of assurance can be supported other communication node proper communication on this communication node and the RPR ring. Such as: if an end of node 320 is received west from node 310 to hoop information, 320 of nodes are determined self to receive that described west is east orientation to an end of hoop information; Equally, if an end of node 320 is received the east orientation hoop information from node 310, the end that 320 of nodes determine self to receive described east orientation hoop information for the west to.
Particularly, above-mentioned compare operation comprises: the node priority parameter that the hoop information that node 320 is relatively received comprises and the node priority parameter that self arranges, if the node priority parameter value of node 320 is relatively large, node 320 determines that the priority of self is relatively high; If the node priority parameter value less of node 320, node 320 determines that the priority of self is relatively low; If the node priority parameter value that described hoop information comprises is identical with the node priority parameter value of node 320, the node address that the more described hoop information of 320 continuation of node comprises and the node address of self, if the address value of node 320 is relatively large, node 320 determines that the priority of self is relatively high; Otherwise 320 priority of determining self of node are relatively low.
When node 320 determines that self priority is relatively low, described node 320 determines that self loops comprise to the method for information: the hoop information read loop that node 320 is received from the loop interface that is arranged in the one end is to parameter, determine the corresponding hoop of described hoop information and get opposite hoop according to the hoop parameter that reads, again will this opposite hoop be defined as the hoop of described loop interface. Receive west on the loop to hoop information such as: node 320 from the loop interface that is positioned at its left side, 320 loop interface of determining its left side of node are the east orientation interface; Equally, if node 320 is received east orientation hoop information on the loop from the loop interface that is positioned at its right side, 320 of nodes determine that the loop interface on its right sides be western to interface.
Certainly, node 320 behind the hoop of having determined self end, also can directly get the opposite hoop of definite hoop, and will this opposite hoop be defined as the hoop of node 320 other ends.
Node 320 has determined that self loop backward, the method that described continuation sends the hoop information of receiving comprises: node 320 with the loop interface of one end by the hoop information of receiving on the loop, send to another loop interface of node 320, by this loop interface described hoop information is sent at loop.
Through behind the aforesaid operations, node 310 might be received the hoop information that self once sent, and also might receive the hoop information from node 320. When node 310 had been received the hoop information that self once sent, node 310 was peeled off this hoop information; When node 310 has been received hoop information from node 320, the priority that the hoop information that 310 of nodes are relatively received comprises and the priority of self, if the priority of node 310 is relatively high, node 310 is determined to send the hoop information of self from the hoop of also determining self as host node according to the hoop collocation strategy that sets in advance again; If the priority of node 310 is relatively low, the hoop information that 310 bases of node are received determines self to comply with the hoop of loop, and the described hoop information that will receive continues to send. As seen, the operation that node 310 carries out when receiving from the hoop information of node 320, the operation of carrying out when receiving hoop information from node 310 with aforesaid node 320 is identical.
Have, if node 320 has been received the hoop information that self once sent, 320 of nodes are peeled off this hoop information again.
In actual applications, also further arrange in the communication node on the RPR ring and seize parameter, seize the Parametric Representation communication node with this and whether have the ability as host node. As: the value of seizing parameter is 1 o'clock, represents communication node and has the ability as host node; The value of seizing parameter is 0 o'clock, and representing communication node does not have ability as host node. In this case, communication node on the RPR ring is after receiving hoop information and determining that self priority is relatively high, what also need further to read self seizes parameter to determine whether self has the ability as host node, if have the ability as host node, described communication node is then determined to send the hoop information of self from the hoop of also determining self as host node according to the hoop collocation strategy that sets in advance again; Otherwise described communication node can only determine self to comply with according to the hoop information of receiving the hoop of loop, and the described hoop information that will receive continues to send.
If added again new communication node on RPR ring shown in Figure 3, the hoop layoutprocedure after then is substantially identical with aforementioned as described in Figure 3 hoop layoutprocedure, distinguishes and only is that the communication node number on the RPR ring increases to some extent.
Embodiment three: deleted communication node on the RPR ring.
Referring to Fig. 4, Fig. 4 is the hoop configuration schematic diagram of the embodiment of the invention three.
Comprise node A 410, Node B 420, node C 430, node D 440 on the RPR ring among Fig. 4, each communication node has all been determined hoop.
In application process, single board default/machine failure might occur in communication node, and this will cause it can't normally carry out hoop configuration even can't proper communication. Suppose that single board default/machine failure has occured Node B 420.
When single board defaults/machine failure occured for Node B 420, Node B 420 was used prior aries self and is set to the shutdown state. Like this, 420 communication informations that self is received of Node B are carried out transparent transmission, and do not carry out other operation, at this moment can think Node B 420 from the deletion of RPR ring, and any appellation in the subsequent descriptions, operation etc. are all irrelevant with Node B 420. Certainly, if Node B 420 can't proper communication, even Node B 420 is the shutdown state so, Node B 420 may also can't normally be received and sent messages.
If Node B 420 is slave node, other communication node on the RPR ring can be used prior art continuation proper communication so, need not additionally carry out other any special operational.
If Node B 420 is host node, when other communication node application prior art on the RPR ring is known Node B 420 fault, send respectively the hoop information of self so. Certainly, other communication node on the RPR ring also can when the described state conversion timing device that arranges is overtime, send respectively the hoop information of self.
As seen, each communication node on the RPR ring all can be received the hoop information that other each communication nodes are sent. The below describes as an example of node A 410 example:
The priority that each hoop information that node A 410 relatively receives comprises and the priority of self, if comparative result is that the priority of node A 410 is relatively high, node A 410 determines from the hoop information that also no longer continues to send as host node from other communication node; If comparative result is that the priority of node C 430 is relatively high, the node C 430 hoop information that 410 bases of node A are received determine self to comply with the hoop of loop, and the hoop information of node C 430 continued to send, and no longer send the hoop information of other communication node.
Node D 440 receives that the operation of carrying out after each hoop information is identical with the described operation that node A 410 carries out.
After node C 430 receives hoop information from each communication node, the priority that each hoop information of relatively receiving comprises and the priority of self, if the priority of node C 430 is relatively high, node C 430 determines from the hoop information that also no longer continues to send as host node from other communication node; If node C 430 determines that the priority of other certain communication node is relatively high, the hoop information of this communication node that 430 bases of node C are received determines self to comply with the hoop of loop, and the hoop information of this communication node continued to send, and no longer send the hoop information of other communication node.
As seen, through behind the aforesaid operations, all communication nodes on the RPR ring can finally be determined a host node, and determine that other communication node is slave node, and all slave nodes have all determined self to comply with the hoop of loop according to the host node hoop.
Have, host node might be received the hoop information that self once sent again, and at this moment host node is peeled off this hoop information.
In actual applications, also further arrange in the communication node on the RPR ring and seize parameter, and carry out follow-up seizing the operation of parameter correlation with this, this operation is identical with corresponding operating among the embodiment two.
By Fig. 4 is described, can find out that Fig. 4 and Fig. 3 have correlation: when the node 310 among Fig. 3 and node 320 are arranged on the RPR ring simultaneously, 320 of node 310 and nodes be on being arranged into the RPR ring time or the state conversion timing device of setting when overtime, carries out respectively with the described identical really fixed ring of Fig. 4 to, the relatively operation such as priority; Difference only is that the communication node number on the RPR ring is relatively less.
Embodiment four: two RPR rings are formed a RPR ring.
Referring to Fig. 5, Fig. 5 is the hoop configuration schematic diagram of the embodiment of the invention four. Among Fig. 5, node A 510, Node B 520, node C 530, node D 540 are former to belong to a RPR ring, and a communication node is wherein arranged is host node, and other communication node is slave node, and each communication node has all been determined hoop; From node A 510, Node B 520, node C 530, node H 550, node I 560, node J 570, node K 580 former another RPR rings that belong to that node D 540 colors are different, and it is host node that a communication node is wherein arranged, other communication node is slave node, and each communication node has all been determined hoop. When networking, node A 510 can be linked to each other with node H 550, node D 540 is linked to each other with node K 580, make the communication node that originally belongs to two different RPR rings belong to same RPR ring.
If the hoop of the hoop of node A 510, Node B 520, node C 530, node D 540 and node H 550, node I 560, node J 570, node K 580 coincide, but the new then proper communication of RPR ring that forms, each communication node on this RPR ring also need not additionally carry out other any special operational; If each communication node on the new RPR ring that forms as shown in Figure 5, this RPR ring then can't proper communication, each communication node on this RPR ring need to carry out the hoop configuration operation so that the hoop of each communication node coincide, but guarantees the new RPR ring proper communication that forms.
When all communication nodes among Fig. 5 newly form the state conversion timing device of RPR when ring or setting when overtime, each communication node on the new RPR ring that forms sends respectively the hoop information of self.
As seen, each communication node on the new RPR ring that forms all can be received the hoop information that other each communication nodes are sent. The below describes as an example of node H 550 example:
The priority that each hoop information that node H 550 relatively receives comprises and the priority of self, if comparative result is that the priority of node H 550 is relatively high, node H 550 determines from the hoop information that also no longer continues to send as host node from other communication node; If comparative result is that the priority of node A 510 is relatively high, the node A 510 hoop information that 550 bases of node H are received determine self to comply with the hoop of loop, and the hoop information of node A 510 continued to send, and no longer send the hoop information of other communication node.
After node A 510 receives hoop information from each communication node, the priority that each hoop information of relatively receiving comprises and the priority of self, if the priority of node A 510 is relatively high, node A 510 determines from the hoop information that also no longer continues to send as host node from other communication node; If node A 510 determines that the priority of other certain communication node is relatively high, the hoop information of this communication node that 510 bases of node A are received determines self to comply with the hoop of loop, and the hoop information of this communication node continued to send, and no longer send the hoop information of other communication node.
Other communication node on the new RPR ring that forms receives that the operation of carrying out after each hoop information is identical with the described operation that node H 550 carries out.
As seen, through behind the aforesaid operations, all communication nodes on the new RPR ring that forms can finally be determined a host node, and determine that other communication node is slave node, and all slave nodes have all determined self to comply with the hoop of loop according to the host node hoop, and at this moment the hoop of each communication node as shown in Figure 6. Each communication node color is identical among Fig. 6, represents that each communication node hoop coincide, and the new RPR ring that forms can proper communication.
Have, host node might be received the hoop information that self once sent again, and at this moment host node is peeled off this hoop information.
Certainly, also further arrange in the communication node on the RPR ring and seize parameter, and carry out follow-up seizing the operation of parameter correlation with this, this operation is identical with corresponding operating among the embodiment two.
In actual applications, need to arrange in each communication node on the RPR ring, can normally carry out to guarantee the hoop configuration operation of describing in the various embodiments described above. Finish the communication node architecture of setting as shown in Figure 7. Among Fig. 7, be provided with configuration management element 712 and coupled RPR administrative unit 711, interface management unit 713 in the communication node 710; Also be provided with the interface unit 714, the interface unit 715 that all link to each other with RPR administrative unit 711, interface management unit 713, interface unit 714, interface unit 715 are connected with each other.
In order to guarantee that described hoop configuration operation can normally carry out, also hoop negotiation element 716 to be set in RPR administrative unit 711. In actual applications, hoop negotiation element 716 can independently arrange as a logic entity, also can be arranged in the logical/physical entities such as configuration management element 712.
In the communication node 710, interface unit 714, interface unit 715 are loop interface of communication node 710, are used for carrying out the transmitting-receiving of loop information; Interface management unit 713 is used for the communication interface of supervisory communications node 710; Configuration management element 712 is used for the configuration orders such as pattern configurations, protected mode configuration of resolving and deal with the work when proper communication; RPR administrative unit 711 is used for the communication interface incidence relation of maintain communications node 710, also communicates other communication node management work such as node 710 mode of operations arrange; Hoop negotiation element 716 is used for carrying out aforesaid definite communication node master slave mode, determine the operation relevant with the hoop configuration such as communication node hoop.
Have, described hoop collocation strategy, node priority parameter, master slave mode, state conversion timing device etc. are used for supporting ring all should be arranged at hoop negotiation element 716 to the information, the entity that dispose again. Certainly, also can be with one or more being arranged in configuration management element 712 or other communication entity in described hoop collocation strategy, node priority parameter, master slave mode, the state conversion timing device etc., again by configuration management element 712 or described communication entity with the described notification ring that arranges to negotiation element 716, or need to from configuration management element 712 or communication entity, obtain when relevant information is set with described at hoop negotiation element 716. When state conversion timing device is overtime usually with mode notification rings such as pulse signals to negotiation element 716. As seen, RPR administrative unit 711, hoop negotiation element 716, interface unit 714, interface unit 715 are be used to the main devices of carrying out the hoop configuration.
Above-described node address represents with medium access control (MAC) address usually.
By the above as seen, the communication node on the RPR ring can be used as host node, slave node, or is in the shutdown state. Can think to be in major state when communication node is as host node that communication node is in slave mode during as slave node; The present shutdown state of communication node can also be called the Init state.
Can change as shown in Figure 8 between above-mentioned each state. Wherein, the state that is positioned at arrow tail place can be changed to the state that is positioned at the arrow place. The implication of each state as shown in Table 1.
State Implication
Major state Other communication node is all take the communication node that is in major state as the basis on the RPR ring, determine respectively self loop to; The priority of communication node is higher, more might be in major state; The communication node that only is in major state periodically sends this node hoop information.
Slave mode The communication node that is not in limit priority on the RPR ring is in slave mode; For the node of new adding, though the current primary node height of priority ratio, if but node does not dispose contention mode, also can be in this state; The communication entity that is in slave mode does not send self loop to information.
The Init state The communication node that is in the shutdown state is in the Init state; The communication node that is in the Init state is not is not received and dispatched hoop information, or transparent transmission hoop information only.
Table one
Change the condition that will satisfy between above-mentioned each state as shown in Table 2. In the table two, the corresponding form high order end of every row state is residing state before the state of communication nodes conversion, and the corresponding form of every row topmost state is residing state after the state of communication nodes conversion; There is not the corresponding state conversion in "---" expression in the form.
Major state Slave mode The Init state
Major state   —— Communication node receives the hoop information that other communication node higher than self priority sends from the RPR ring Communication node is in shutdown state or fault
Slave mode Communication node with the ability of seizing is determined self according to the hoop information of receiving   —— Communication node is in shutdown
Priority is the highest, or the set state conversion timing device of communication node is overtime. State or fault
The Init state   —— The residing shutdown state of communication node is disengaged or Failure elimination   ——
Table two
The structure of described heading as shown in Figure 9. Among Fig. 9, the bit number in the respective field that the numeral heading in heading structure left side comprises. Particularly, the implication of each field of comprising of heading structure as shown in Table 3.
Field Implication
  ttl Life span (time to live) represents the jumping figure that this message maximum can be passed through, and initial value is 255, message every during through a communication node this value subtract 1.
  BasControl   ri Ring sign (ringlet identifier), value are zero or 1.
  fe Whether the indication message retrained by fair algorithm, and value represents that message is not subjected to fair algorithm constraint (fairness eligible) herein.
  ft Frame type (frame type)
  sc The grade of service (service class)
  we Represent whether this message allows by wrap
  parity Parity check bit
  da The target MAC (Media Access Control) address of message is generally full FF
  sa Send the communication node MAC Address of message,
  ttlBase The initial value of ttl is fixed as 255 usually, and constant in the transmission course intermediate value
  extended   Control   ef Expansion frame (extended frame) is generally zero, and the expression message is basic control message.
Other fields With the hoop configuration-independent
  hec Verification and, comprise from ttl beginning all fields before the hec
  controltype The control type, new field of adding, value is set to the 0x0B equivalence, knows that by the value of this field this is a message that is used for the hoop configuration so that receive the communication entity of message.
  controlversion Protocol version is fixed as zero usually
  controlDataUnit The control data cell comprises the protocol fields such as priority parameters, hoop parameter
  fcs Cyclic redundancy (CRC) verification, from control field begin to
All fields before the fcs
Table three
The implication of the priority parameters that comprises among the above-mentioned controlDataUnit, hoop parameter as shown in Table 4.
Protocol fields Implication
 DirectionFlag The expression communication node sends the hoop of message one end: 0: representative ring to be western to; 1; Representative ring is to being east orientation.
  Priority Expression sends the priority of the communication node of message, scope normally 0 to 255, and numerical value is larger, and expression priority is higher.
Table four
As seen, carry out the key operation in hoop when configuration as shown in figure 10, flow process shown in Figure 10 may further comprise the steps:
Step 1001: the transmit leg node send comprise self loop to the hoop information of precedence information.
Step 1002: recipient's node according to from the hoop information of transmit leg node determine self loop to. The concrete operations of described definite hoop are: when recipient's node is received from the hoop information of transmit leg node, the corresponding priority of precedence information that relatively comprises in self priority and the hoop information of receiving, when the priority of recipient's node was relatively low, recipient's node determined self to comply with the hoop of loop according to the hoop that comprises in the hoop information of receiving; Otherwise, recipient's node according to the hoop collocation strategy that sets in advance determine self loop to.
In actual applications, transmit leg node and recipient's node also can be same communication nodes. As seen, when communication node is received the hoop information that self once sent, also can carry out corresponding hoop configuration operation.
Can be found out that by the above the method and apparatus of realizing the hoop configuration in loop network provided by the present invention all can reduce the workload that hoop disposes in the loop network, improves the hoop allocative efficiency; And hoop configuration error rate is obviously reduced, even can effectively avoid makeing mistakes when hoop disposes.

Claims (17)

1, a kind of method that realizes the hoop configuration in loop network is characterized in that the method may further comprise the steps:
A. the transmit leg node send comprise self loop to the hoop information of precedence information;
When b. recipient's node is received hoop information from the transmit leg node, the corresponding priority of precedence information that relatively comprises in self priority and the hoop information of receiving, when the priority of recipient's node was hanged down relatively, recipient's node determined self to comply with the hoop of loop according to the hoop that comprises in the hoop information of receiving; Otherwise, recipient's node according to the hoop collocation strategy that sets in advance determine self loop to.
2, the method for claim 1 is characterized in that, among the step b, described recipient's node according to described hoop collocation strategy determine self loop to the time, further determine from as host node and send self hoop information;
Described recipient's node according to the hoop that comprises in the described hoop information of receiving determine self loop to the time, the described hoop information that further will receive continues to send; Or further determine to continue to send from the described hoop information that also will receive as slave node.
3, the method for claim 1 is characterized in that, before the step a, determines that further the transmit leg node is host node.
4, method as claimed in claim 3 is characterized in that, the method that described definite transmit leg node is host node comprises:
State conversion timing device is set, and described recipient's node determination is certainly as host node when this state conversion timing device is overtime.
Such as each described method of claim 1 to 4, it is characterized in that 5, among the step a, described precedence information comprises node priority parameter and node address, then among the step b, the method for described comparison comprises:
The node priority parameter that the hoop information that recipient's node is relatively received comprises and self node priority parameter, if the node priority parameter value of recipient's node is relatively large, the priority of recipient's node determination self is relatively high; If the node priority parameter value of recipient's node is relatively little, the priority of recipient's node determination self is relatively low; If the node priority parameter value that described hoop information comprises is identical with the node priority parameter value of recipient's node, the node address that the described hoop information that recipient's node then continues relatively to receive comprises and the node address of self, if recipient address of node value is relatively large, the priority of recipient's node determination self is relatively high; Otherwise recipient's node determines that then the priority of self is relatively low.
6, method as claimed in claim 5 is characterized in that, described node address is the medium access control MAC Address.
Such as each described method of claim 1 to 4, it is characterized in that 7, described hoop is by the hoop Parametric Representation, described hoop information is to be received by the loop interface that arranges in described recipient's node; Then among the step b, described recipient's node according to described hoop determine self loop to method comprise:
The described hoop information read loop that recipient's node is received from the loop interface that is arranged in the one end is to parameter, determine the corresponding hoop of described hoop information and get opposite hoop according to the hoop parameter that reads, again will this opposite hoop be defined as self receiving the hoop of an end of described hoop information.
8, method as claimed in claim 7 is characterized in that, described recipient's node further get the opposite hoop of definite hoop, and will this opposite hoop be defined as the hoop of self other end.
9, such as each described method of claim 1 to 4, it is characterized in that, described hoop information is to be received by the loop interface that arranges in described recipient's node, and the loop interface that lays respectively at its two ends in recipient's node is set up incidence relation in advance, and described hoop collocation strategy is to determine hoop according to the sequencing of loop interface association; Then among the step b, described recipient's node according to described hoop collocation strategy determine self loop to method comprise:
Recipient's node is in laying respectively at the loop interface at self two ends, determine the hoop of a loop interface end of living in of once elder generation's association, and get the opposite hoop of definite hoop, the hoop of a related loop interface end of living in after being defined as this opposite hoop once.
Such as each described method of claim 1 to 4, it is characterized in that 10, described loop network is the RPR network, described transmit leg node, recipient's node are the communication nodes on the RPR network.
Such as each described method of claim 1 to 4, it is characterized in that 11, among the step a, the hoop that comprises in the described hoop information that the transmit leg node sends arranges when the transmit leg node is carried out initial configuration, the method for setting is:
According to the shut sequence of transmit leg node intermediate ring road interface arrange the transmit leg node cycle to.
12, the method for claim 1 is characterized in that, described transmit leg node and recipient's node are different communication nodes, or same communication node.
13, a kind of device of realizing the hoop configuration in loop network comprises the RPR administrative unit, and the interface unit that links to each other with the RPR administrative unit; It is characterized in that this device also comprises the hoop negotiation element;
Wherein, interface unit is used for carrying out the transmitting-receiving of loop information;
The RPR administrative unit is used for safeguarding described interface unit incidence relation and communicating management work;
The hoop negotiation element, the hoop information that comprises hoop and precedence information for other communication node of receiving according to interface unit, judge whether self corresponding device has relatively the highest priority, if so, determine the hoop of self corresponding device according to the hoop collocation strategy that sets in advance; Otherwise, determine that according to the hoop that comprises in the hoop information from the relatively the highest communication node of priority self corresponding device complies with the hoop of loop.
14, device as claimed in claim 13, it is characterized in that, described hoop negotiation element determine according to described hoop collocation strategy self loop to the time, be further used for determining self to belong to host node and send the corresponding hoop information of described hoop of determining by interface unit;
Determine according to described hoop self loop to the time, be further used for that the described hoop information exchange of receiving is crossed interface unit and continue send; Or be further used for determining self to belong to slave node and the described hoop information exchange that will receive is crossed interface unit and continued to send.
15, device as claimed in claim 13 is characterized in that, state conversion timing device further is set, and determines that by the hoop negotiation element self belongs to host node to negotiation element for notification ring when overtime.
Such as each described device of claim 13 to 15, it is characterized in that 16, this device further comprises configuration management element, the interface management unit that is connected with each other; Configuration management element also links to each other with the RPR administrative unit, and interface management unit also links to each other with interface unit;
Wherein, configuration management element is used for resolving and processing the configuration order of receiving;
Interface management unit is used for management interface unit.
Such as each described device of claim 13 to 15, it is characterized in that 17, described interface unit comprises first interface unit, the second interface unit that is connected with each other.
CNB2005101183212A 2005-10-29 2005-10-29 Method and device for implementing ring configuration in ring network Expired - Fee Related CN100493019C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2005101183212A CN100493019C (en) 2005-10-29 2005-10-29 Method and device for implementing ring configuration in ring network
PCT/CN2006/002527 WO2007048308A1 (en) 2005-10-29 2006-09-25 A method and device for implementing the ring direction configure in the ring network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101183212A CN100493019C (en) 2005-10-29 2005-10-29 Method and device for implementing ring configuration in ring network

Publications (2)

Publication Number Publication Date
CN1956407A true CN1956407A (en) 2007-05-02
CN100493019C CN100493019C (en) 2009-05-27

Family

ID=37967401

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101183212A Expired - Fee Related CN100493019C (en) 2005-10-29 2005-10-29 Method and device for implementing ring configuration in ring network

Country Status (2)

Country Link
CN (1) CN100493019C (en)
WO (1) WO2007048308A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193758A1 (en) * 2016-05-13 2017-11-16 华为技术有限公司 Method, device and system for data transmission
CN107547330A (en) * 2017-08-31 2018-01-05 新华三技术有限公司 A kind of method and node device of transmission services data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1298139C (en) * 2003-08-15 2007-01-31 中兴通讯股份有限公司 Multi-stage dispatch method for supporting multi-port multi-business
CN100370780C (en) * 2004-01-17 2008-02-20 华为技术有限公司 Method for automatic adjusting business path for flexible packet ring network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017193758A1 (en) * 2016-05-13 2017-11-16 华为技术有限公司 Method, device and system for data transmission
CN107547330A (en) * 2017-08-31 2018-01-05 新华三技术有限公司 A kind of method and node device of transmission services data
CN107547330B (en) * 2017-08-31 2021-05-28 新华三技术有限公司 Method and node equipment for transmitting service data

Also Published As

Publication number Publication date
WO2007048308A1 (en) 2007-05-03
CN100493019C (en) 2009-05-27

Similar Documents

Publication Publication Date Title
CN1145283C (en) Appts. and method for designating reverse common channel for dedicated communication in mobile communication system
CN1722726A (en) Layer-2 VPN equipment supporting pseudo line tag reflection and networking method
CN1925656A (en) Multimode communication IC and its information interacting method
CN1245842C (en) System information receiving and reassembling method in the third generation wireless communication system
CN101040550A (en) Method and apparatus for power savings in wireless systems
CN101047624A (en) Tag distribution method and tag selling method
CN1795644A (en) Radio communication system
CN1836400A (en) Controlling data link layer elements with network layer elements
CN101043510A (en) PCI-E bus distributed system intra-board and inter-board data communication method
CN1859260A (en) Resource distributing method while traditional optical transfer net and intelligent optical network grouping
CN1638342A (en) System and method for managing protocol network failures in a cluster system
CN1599375A (en) Technology for improving STP protocols in Ethernet networks supporting VLANS
CN1889547A (en) Base band unit ring cascade resource back-up method and base band unit
CN101060524A (en) A multicast service application method and system
CN1801802A (en) Node restarting method on universal multi protocol label exchange path
CN1852086A (en) Binding interface in RPR and its realizing method and apparatus
CN101039263A (en) Method for processing node overload of core network and mobile switch equipment and communication system
CN1725730A (en) Method of multilayer VLAN switching
CN1722664A (en) Method for realizing high-usability of network security equipment under cluster mode
CN1833456A (en) Mobile communication system, radio base station replacement control device in the mobile communication system and control method thereof
CN1946064A (en) Message repeat method and device
CN1956407A (en) Method and device for implementing ring configuration in ring network
CN1946044A (en) Self configuration radio net bridge network and its realizing and automatically restoring method
CN1675884A (en) Intermittent communication method and intermittent communication apparatus
CN1889501A (en) Method and system for deciding bridge role

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527

Termination date: 20121029