CN101436986B - Method for implementing communication route based on ELCP protocol - Google Patents
Method for implementing communication route based on ELCP protocol Download PDFInfo
- Publication number
- CN101436986B CN101436986B CN2008101223425A CN200810122342A CN101436986B CN 101436986 B CN101436986 B CN 101436986B CN 2008101223425 A CN2008101223425 A CN 2008101223425A CN 200810122342 A CN200810122342 A CN 200810122342A CN 101436986 B CN101436986 B CN 101436986B
- Authority
- CN
- China
- Prior art keywords
- port
- elcp
- network
- real
- state
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The invention provides an implementation method based on ELCP protocol communication routing. The implementation method comprises the processes of HDLC mapping, communication link backup, bandwidth automatic allocation, loopback detection, real-time packet management, automatic routing and fault management, wherein a loopback detection process is used to complete networking topology calculation, solve loop problems and restore network connectivity; and the real-time packet management process is used to solve a single-pass phenomenon occurs in an edge access network. The implementation method has the advantages that single loop, loop plus link, loop plus loop and other networking modes can be realized based on the practical physical positions of base stations; when communication errors occur, a system can detect the operating states of node equipment in a network and eliminates the errors through network management soft reset, positive closing of a fault point and so on. For single pass in a communication link, real-time packet management can realize quick detection and positioning and then solves the problem through forced closing of a port.
Description
(1) technical field
The present invention relates to the agreement and the method for communication network, be specifically related to that a kind of (Full Name in English of ELCP is: Ethernet Loop Check Protocol, definite Chinese implication is: the loop detection agreement) implementation method of protocol communication route based on ELCP.
(2) background technology
Existing operator public network, trade Special Network machine room base station centralized monitoring system and electric power, water gas industry metering automation and remote automatic meter reading system networking mode mainly comprise following mode: the point-to-point networking of (1) E1 or optical fiber, E1 take out unidirectional ring of time slot or chain mode, this dual mode can't be formed and switches the protection loop, the central service workload is huge, need a large amount of E1 or Optical Fiber Transmission resource, the system cost height; (2) IP-based E1 or optical fiber bidirectional ring mode, be equipped with the loop circuit switching defencive function, but there is following defective: can only support single ring, can not supporting ring+chain, ring+other networking modes such as ring, the effectively geographical distribution of adaline foundations station and metering automation data acquisition unit complexity; The protocol stack of all data such as business and webmaster all adopts IP+ Ethernet+physical layer mode to realize the network paralysis that the Ethernet fault causes, can't recover automatically, need manual intervention, occur under the single-pass situation at communication link especially, whole network can be paralysed because there being unidirectional loopback.
(3) summary of the invention
The present invention has overcome the deficiencies in the prior art part, and purpose is to realize a kind of networking flexibility by the implementation method based on ELCP protocol communication route, reliability height, the communication network with automatically restoring fault function.
The present invention achieves the above object by the following technical programs: a kind of implementation method based on ELCP protocol communication route, comprise HDLC mapping, communication link backup, bandwidth distribution automatically, loop detection, real-time packet management, route and each process of fault management automatically, the HDLC mapping process is used for that various data messages all are mapped into the HDLC frame to be transmitted and discerns; The communication link backup procedure is used to be provided with two circuits and arrives each node; The automatic assigning process of bandwidth is used for the automatic allocation algorithm of design bandwidth, initiatively discharges its occupied bandwidth when node does not have transfer of data; The loop detection process is used to finish the calculating of networking topology, solves the connectedness of loop problem and recovery network; Real-time packet management process is used to solve the single-pass phenomenon that edge access network occurs; Automatically routing procedure is used for when the link of activity disconnects, and prunes topological structure again to recover the connectedness of network by the redundant link that activation is blocked; The fault management process is used to detect the operating state with managing network device; Loop detection process concrete steps are as follows: all of the port that 1) powers on system equipment is changed to learning state, and the port under this state has only the elcp bag can't pass by normal packet; 2) send out elcp and wrap the whole network, seek the equipment that same operation has the elcp agreement, campaign for out a root node by comparing priority; 3) if certain port is not received any priority to be higher than the elcp bag of oneself then this port is opened, be changed to forwarding state; 4) if certain port is received priority to be higher than the elcp bag of oneself then to close the port, be changed to blocking state; 5) be in and confiscate elcp bag that priority is higher than oneself in the port certain hour of blocking state then to put the port be learning state; 6) real-time inspection grouping if to find to have in same group two ports all be forwarding state then the situation that has occurred single-pass in the network is described, be fallen the low port shutdown of priority, is changed to the preparation learning state; Be changed to learning state in case the single-pass situation disappears being in the port of preparing learning state, wait for again entering forwarding state.
Described real-time packet management process concrete steps are as follows: 1) a plurality of ports are arranged in the equipment, and the port that exists the path to link to each other is divided into same group; 2) node server constantly sends the ELCP protocol Data Unit toward each port, has comprised source port, mac address information in each ELCP protocol Data Unit; 3) node server is received the ELCP protocol Data Unit, earlier port information is added in the ELCP protocol Data Unit, transfers to the real-time packet management process on upper strata then and handles; 4) the real-time packet management process is received the ELCP protocol Data Unit, detect ELCP protocol Data Unit bag type and mac address earlier, if mac address and own inconsistent this bag that directly abandons, otherwise from the ELCP protocol Data Unit, take out source port and inbound port, it is divided into same group; 5) port association that will exist the path to link to each other arrives same group, thereby port is associated to each group in real time; 6) operating state of each member port in detecting same group after association is finished, same group of interior synchronization can only have a port to be in state of activation; 7) if there are two ports to activate simultaneously in same group, node server is given equipment hairnet network status poll bag in the group respectively, and connect and determine the single-pass origination point in the group behind the network state response to query bag of equipment, send out parameter then and bag is set the functional area is disconnected, network is trimmed to tree topology.
As preferably, two communication roads arrive distant-end nodes, and two links back up mutually, open for one, and a blocking-up is when if the link of certain bar activity disconnects, by activating another redundant link that is blocked to recover the connectedness of network.
As preferably, when detecting apparatus for network node and break down, the fault management process solves by webmaster warm reset, positive closing fault point mode.
As preferably, any network equipment port at any time can positive closing.
Beneficial effect of the present invention: according to the implementation method based on ELCP protocol communication route provided by the invention, can adopt E1 and optical fiber according to the real network resource flexibly, or E1 and optical fiber adopt simultaneously, and, also can save E1 or Optical Fiber Transmission resource when improving bandwidth availability ratio according to the communication flows dynamic bandwidth allocation of node reality.Can realize single ring at the base station actual physical location, ring+chain, networking modes such as ring+ring, in case communication abnormality, system can detect the operating state of each node device in the network, and solves by modes such as webmaster warm reset, positive closing fault points.For communication link single-pass situation, real-time packet management can be found and locate fast, solves by the positive closing port then.
(4) description of drawings
Fig. 1 is the network topology based on ELCP protocol communication route;
Fig. 2 is the real-time packet management process schematic diagram;
Fig. 3 is loop detection process workflow journey figure;
Among the figure, the 1-node server; The 2-device A; The 3-equipment B; 4-equipment C; 5-next stage node server D; 6-equipment E; 7-equipment F; 8-equipment G; 9-equipment H; The 10-equipment I; 11-equipment J; 12-equipment K; 13-node server port I; 14-node server port II; 15-next stage node server port I; 16-next stage node server port II; 17-forces to disconnect.
(5) embodiment
The present invention is further elaborated by embodiment below in conjunction with accompanying drawing:
Implementation method based on ELCP protocol communication route, comprise HDLC mapping, communication link backup, bandwidth distribution automatically, loop detection, real-time packet management, route and each process of fault management automatically, the HDLC mapping process all is mapped into the HDLC frame to various data messages and transmits and discern; The communication link backup procedure is provided with two circuits and arrives each node; The automatic allocation algorithm of the automatic assigning process design bandwidth of bandwidth initiatively discharges its occupied bandwidth when node does not have transfer of data; The loop detection process is finished the calculating of networking topology, solves the connectedness of loop problem and recovery network; Real-time packet management process solves the single-pass phenomenon that edge access network occurs; Automatically routing procedure is pruned topological structure to recover the connectedness of network again by the redundant link that activation is blocked when the link of activity disconnects; The fault management process detects the operating state of each node device in the network, solves by webmaster warm reset, positive closing fault point.
1, HDLC mapping:
Various data messages all are mapped into the HDLC frame, and the HDLC frame is filled with 7E during the free of data transmission with 8 bit groups 01111110 (16 systems then are expressed as 7E) sign frame head and postamble.For the packet of coming in, earlier itself and string are changed, serial sends then, there are continuous 51 among the serial Bit in case detect, then inserting 0 thereafter, so just having guaranteed does not have 0x7E in the data segment, because the 0x7E binary system is (01111110), in case receive 7E at receiving terminal then can be judged as packet header at once, in case receive 51 then do 0 operation continuously at data segment.So operation can make equipment catch frame head fast, improves systematic function.For physical layer, can easily the HDLC frame be modulated to E1, optical fiber, or other transmission medium.So just can support the networking of E1/ fiber mix, the Optical Fiber Transmission transmission rate can be according to networking bandwidth demand and cost requirement adjustment from 2.048Mbps~150Mbps.
2, communication link backup:
Designed two links and arrived distant-end nodes, networking as shown in Figure 1:
3, bandwidth is distributed automatically:
The automatic allocation algorithm of design bandwidth initiatively discharges its occupied bandwidth when certain node does not have transfer of data, so promptly be beneficial to the utilization of resources and can improve network moment throughput again.
4, loop detection:
The ELCP agreement is transmitted special message each other between node device, this message is called ELCP protocol Data Unit ELCP protocol Data Unit.Comprised enough information in the ELCP protocol Data Unit and guaranteed that node device finishes the calculating of networking topology; there is the network in loop to be trimmed to a loop-free tree topology by the blocking-up redundant link with one; both solved loop problem; in the time of disconnecting at the link of certain bar activity again; again prune topological structure to recover the connectedness of network by the redundant link that activation is blocked; thereby back-up system constitutes the networking topology of mixing, protection of back-up system routing switch and network self-healing.
ELCP protocol Data Unit form is as follows:
As shown in Figure 3, the course of work is as follows:
(1) all of the port that powers on equipment is changed to learning state, and the port under this state has only the ELCP bag can't pass by normal packet.
(2) whether power on a back ELCP unicast packet to the whole network, seeking has same operation that the equipment of ELCP agreement is arranged.If have, then campaign for out a root node by comparing priority mutually.
(3) if certain port is not received the Bao Ze that any priority is higher than oneself opens this port, be changed to forwarding state.
(4) in case certain port is received priority is higher than the ELCP bag of oneself then closes the port, be changed to blocking state.
(5) be in and confiscate ELCP bag that priority is higher than oneself in the port certain hour of blocking state then to put the port be learning state.
(6) upper strata real-time inspection grouping if to find to have in same group two ports all be forwarding state then the situation that has occurred single-pass in the network is described, be fallen the low port shutdown of priority, is changed to the preparation learning state.Be changed to learning state in case the single-pass situation is recovered being in the port of preparing learning state, enter forwarding state from new wait.
(7) any port at any time can positive closing, is set to closed condition.
5, real-time packet management:
According to the single-pass phenomenon that occurs in the edge access network practical application, carry out real-time packet management, the port that has mulitpath to link to each other in the same equipment is divided into same group.Upper-layer protocol constantly detects each port working state of same group, has the single-pass link to exist in the network in case have a plurality of ports to be activated in same group then illustrate.The inquiry packet of the ELCP consultation sending out automatically finds the single-pass node and forces its thorough disconnection, and then it is normal with maintain communications to activate suitable spare line.
As shown in Figure 2, the edge inserts and transmits by E1, and the transmission of E1 and reception are independently, so the single-pass phenomenon shown in the figure just may occur, because the node server port II14 that priority is low can not receive the high ELCP protocol Data Unit bag of priority, think and oneself can open, even and node server port I13 also can open because of the high ELCP protocol Data Unit of receiving of priority, like this, just in network, form the 2M ring of a single-pass, if what transmit in the network shows Ethernet data, can cause whole network paralysis.Pass through real-time packet management, upper layer software (applications) can be found that node server port I13 and node server port II14 exist together one and organize, but be in state of activation, ELCP agreement requester network topology then, equipment C4 is forced to disconnect 17 to equipment E6, remove the single-pass ring.
The real-time packet management flow process is as follows:
(1) node server 1 constantly sends the ELCP protocol Data Unit toward each port, has comprised source port, information such as MAC Address in each ELCP protocol Data Unit.
(3) the real-time packet management process is received the ELCP protocol Data Unit, detects ELCP protocol Data Unit bag type and mac address earlier, if mac address and own inconsistent this bag that directly abandons.Otherwise from the ELCP protocol Data Unit, take out source port and inbound port.It is divided into same group.
(4) in real time related each group, if 2 one groups of port one and ports, 3 one groups of port 2 and ports then will be with port ones, port 2, port 3 are associated as same group.
(5) operating state of each member port in detecting same group after association is finished, same group of interior synchronization can only have a port to be in state of activation.
(6) if there are two ports to activate simultaneously in same group, node server 1 is given device A 2, equipment B 3, equipment C4, equipment E6, equipment F7 hairnet network status poll bag respectively, receive behind the network state response to query bag of equipment and between discovering device C4, the equipment E6 single-pass phenomenon is arranged, 1 parameter of node server is provided with bag and gives equipment C4, equipment E6 then, allow them that the functional area is disconnected, network is trimmed to tree topology.Reply parameter is provided with and replys bag if equipment C4, equipment E6 are provided with success, replys bag then overtime repeating transmission if node server was confiscated in 1 overtime time limit.
The network state inquiry packet:
Network state response to query bag:
Parameter is provided with bag:
Parameter is provided with replys bag:
6, automatic route
When the link of certain bar activity disconnects, prune topological structure again to recover the connectedness of network by the redundant link that activation is blocked.System group network is as shown in Figure 1: if shown in circuit all normal, then node server port II14 closes, equipment all passes through node server port I13 and communicates by letter with node server 1 on the all-network.Next stage node server port II16 also will close, and its network equipment of hanging is down communicated by letter with node server 1 by next stage node server port I15.If equipment C4 and next stage node server D5, open circuit between equipment H9 and the equipment I 10, then ELCP consultation automatic opened nodes Service-Port II14 and next stage node server port II16, device A 2, equipment B 3, equipment C4 communicate by letter with node server 1 by node server port I13, and equipment E6 communicates by letter with node server 1 by node server port II14 with equipment F7.Equipment G8 and equipment H9 communicate by letter with node server 1 by node server port II14 more earlier by next stage node server port II16.Equipment I 10, equipment J11, equipment K12 communicate by letter with node server 1 by node server port II14 more earlier by next stage node server port II16.
7, fault management: when network broke down, system can detect the operating state of each node device in the network, and solved by modes such as webmaster warm reset, positive closing fault points.And a close friend's graphical use interface is provided, realizes automatic data accquisition, analysis, warning, report, fault recovery etc., support reliably for the system manager provides in time.
Above described be specific embodiments of the invention and the know-why used, if the change of doing according to conception of the present invention, when the function that it produced does not exceed spiritual that specification and accompanying drawing contain yet, must belong to protection scope of the present invention.
Claims (5)
1. implementation method based on ELCP protocol communication route, comprise HDLC mapping, communication link backup, bandwidth distribution automatically, loop detection, real-time packet management, route and each process of fault management automatically, the HDLC mapping process is used for that various data messages all are mapped into the HDLC frame to be transmitted and discerns; The communication link backup procedure is used to be provided with two circuits and arrives each node; The automatic assigning process of bandwidth is used for the automatic allocation algorithm of design bandwidth, initiatively discharges its occupied bandwidth when node does not have transfer of data; The loop detection process is used to finish the calculating of networking topology, solves the connectedness of loop problem and recovery network; Real-time packet management process is used to solve the single-pass phenomenon that edge access network occurs; Automatically routing procedure is used for when the link of activity disconnects, and prunes topological structure again to recover the connectedness of network by the redundant link that activation is blocked; The fault management process is used to detect the operating state with managing network device; It is characterized in that loop detection process concrete steps are as follows: all of the port that 1) powers on system equipment is changed to learning state, and the port under this state has only the elcp bag can't pass by normal packet; 2) send out elcp and wrap the whole network, seek the equipment that same operation has the elcp agreement, campaign for out a root node by comparing priority; 3) if certain port is not received any priority to be higher than the elcp bag of oneself then this port is opened, be changed to forwarding state; 4) if certain port is received priority to be higher than the elcp bag of oneself then to close the port, be changed to blocking state; 5) be in and confiscate elcp bag that priority is higher than oneself in the port certain hour of blocking state then to put the port be learning state; 6) real-time inspection grouping if to find to have in same group two ports all be forwarding state then the situation that has occurred single-pass in the network is described, be fallen the low port shutdown of priority, is changed to the preparation learning state; Be changed to learning state in case the single-pass situation disappears being in the port of preparing learning state, wait for again entering forwarding state.
2. a kind of implementation method based on ELCP protocol communication route according to claim 1 is characterized in that described real-time packet management process concrete steps are as follows: 1) a plurality of ports are arranged in the equipment, and the port that exists the path to link to each other is divided into same group; 2) node server constantly sends the ELCP protocol Data Unit toward each port, has comprised source port, mac address information in each ELCP protocol Data Unit; 3) node server is received the ELCP protocol Data Unit, earlier port information is added in the ELCP protocol Data Unit, transfers to the real-time packet management process on upper strata then and handles; 4) the real-time packet management process is received the ELCP protocol Data Unit, detect ELCP protocol Data Unit bag type and mac address earlier, if mac address and own inconsistent this bag that directly abandons, otherwise from the ELCP protocol Data Unit, take out source port and inbound port, it is divided into same group; 5) port association that will exist the path to link to each other arrives same group, thereby port is associated to each group in real time; 6) operating state of each member port in detecting same group after association is finished, same group of interior synchronization can only have a port to be in state of activation; 7) if there are two ports to activate simultaneously in same group, node server is given equipment hairnet network status poll bag in the group respectively, and connect and determine the single-pass origination point in the group behind the network state response to query bag of equipment, send out parameter then and bag is set the functional area is disconnected, network is trimmed to tree topology.
3. a kind of implementation method according to claim 1 based on ELCP protocol communication route, it is characterized in that, two communication links arrive distant-end node, article two, link backs up mutually, article one, open,, a blocking-up is when if the link of certain bar activity disconnects, by activating another redundant link that is blocked to recover the connectedness of network.
4. a kind of implementation method based on ELCP protocol communication route according to claim 1 is characterized in that, solves by webmaster warm reset, positive closing fault point mode when the fault management process detects apparatus for network node and breaks down.
5. according to the described a kind of implementation method of arbitrary claim among the claim 1-4, it is characterized in that any port at any time can positive closing based on ELCP protocol communication route.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101223425A CN101436986B (en) | 2008-11-20 | 2008-11-20 | Method for implementing communication route based on ELCP protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008101223425A CN101436986B (en) | 2008-11-20 | 2008-11-20 | Method for implementing communication route based on ELCP protocol |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101436986A CN101436986A (en) | 2009-05-20 |
CN101436986B true CN101436986B (en) | 2010-12-22 |
Family
ID=40711218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008101223425A Expired - Fee Related CN101436986B (en) | 2008-11-20 | 2008-11-20 | Method for implementing communication route based on ELCP protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101436986B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102142987B (en) * | 2010-12-09 | 2014-01-08 | 浪潮(北京)电子信息产业有限公司 | Serial bus equipment and data transmission method thereof |
CN102035715B (en) * | 2010-12-17 | 2013-04-10 | 南京中兴力维软件有限公司 | 2M ring network fault diagnosis method and system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030939A (en) * | 2007-03-27 | 2007-09-05 | 华为技术有限公司 | Method and apparatus for establishing and restoring label exchange path in automatic-exchange optical network |
CN101039333A (en) * | 2007-04-12 | 2007-09-19 | 华为技术有限公司 | Method and apparatus for dynamically adjusting bandwidth of advanced data link control channel |
-
2008
- 2008-11-20 CN CN2008101223425A patent/CN101436986B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101030939A (en) * | 2007-03-27 | 2007-09-05 | 华为技术有限公司 | Method and apparatus for establishing and restoring label exchange path in automatic-exchange optical network |
CN101039333A (en) * | 2007-04-12 | 2007-09-19 | 华为技术有限公司 | Method and apparatus for dynamically adjusting bandwidth of advanced data link control channel |
Also Published As
Publication number | Publication date |
---|---|
CN101436986A (en) | 2009-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104104570B (en) | Aggregation processing method in IRF systems and device | |
CN101262401B (en) | A method for realizing network recovery in loop network | |
JP4610621B2 (en) | Network system | |
CN100469036C (en) | An implementation method for industrial Ethernet fast-speed redundancy | |
CN101771618B (en) | Host routing reachable method and system in access ring of packet transport network | |
CN103595626A (en) | Method for achieving dynamic path planning in ring network | |
CN101764706B (en) | Link redundant control method based on EPA network bridge | |
CN101378333B (en) | System, apparatus and method for transmitting and receiving check information message continuously | |
CN102724030A (en) | Stacking system with high reliability | |
CN102045332A (en) | Method for processing control message in intelligent resilient framework and line card boards | |
CN101252503B (en) | Method and apparatus for switching traffic of looped network | |
CN102571612A (en) | Virtual router redundancy protocol (VRRP) state switching method and three-layer exchange equipment | |
CN100446476C (en) | Method and apparatus for communicating network trouble dtecting result | |
CN102223312A (en) | Flow control method and equipment based on link status | |
CN102480409A (en) | Method for realizing rapid ring protection protocol (RRPP) loop shunting uplink, RRPP loop and device | |
JP5491623B2 (en) | Address refresh method and system | |
CN103916318A (en) | Single-loop network implementation method | |
CN102326370A (en) | Message processing method, apparatus and system | |
CN102957588A (en) | Method and system for protecting looped network from broadcast storm | |
CN101641915B (en) | Method for reconfiguring a communication network | |
CN101436986B (en) | Method for implementing communication route based on ELCP protocol | |
CN102215165B (en) | A kind of message processing method of tangent ring networks and Ethernet switch | |
CN100493222C (en) | XDSL networking system, data transmitting method and base station in XDSL networking system | |
CN107070739A (en) | A kind of router operation troubles intelligent detecting method and system | |
CN108282383B (en) | Method and equipment for realizing fault processing |
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 | ||
DD01 | Delivery of document by public notice |
Addressee: Hangzhou Lead Information Technology Co., Ltd. Document name: Notification to Pay the Fees |
|
DD01 | Delivery of document by public notice |
Addressee: Hangzhou Lead Information Technology Co., Ltd. Document name: Notification of Termination of Patent Right |
|
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101222 Termination date: 20141120 |
|
EXPY | Termination of patent right or utility model |