CN101741675B - Communication node and ring forming method and ring establishing method for communication system - Google Patents

Communication node and ring forming method and ring establishing method for communication system Download PDF

Info

Publication number
CN101741675B
CN101741675B CN2009102581662A CN200910258166A CN101741675B CN 101741675 B CN101741675 B CN 101741675B CN 2009102581662 A CN2009102581662 A CN 2009102581662A CN 200910258166 A CN200910258166 A CN 200910258166A CN 101741675 B CN101741675 B CN 101741675B
Authority
CN
China
Prior art keywords
frame
ring
communication node
loop
communication
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.)
Active
Application number
CN2009102581662A
Other languages
Chinese (zh)
Other versions
CN101741675A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to CN2009102581662A priority Critical patent/CN101741675B/en
Publication of CN101741675A publication Critical patent/CN101741675A/en
Application granted granted Critical
Publication of CN101741675B publication Critical patent/CN101741675B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention aims to acquire communication nodes used in a ring communication system. The communication nodes are connected through Ethernet (registered trademark) in the ring communication system without using a relay. A communication node (10) is used for forming a communication system circularly connected by a plurality of communication nodes one to one through the Ethernet (registered trademark), wherein the Ethernet is dually cyclized by a standard system ring (1) and a spare system ring (2). The communication node is provided with a port A (11), a port B (14) and a communication processing part (17); when the communication node is in normal communication, a frame output from the port B is received and processed, and the processing of the frame is sent to the standard system ring from the port B; and the frame from the spare system ring at the port B is forwarded and processed but not received due to abnormal communication under the condition of performing loopback processing for other communication nodes so as to send the processing of the frame from the port A to the spare system ring.

Description

The ring configuration method of communication node and communication system and ring establishing method
The application is based on the PCT/JP2006/313128 (China national application number 200680055191.5) that proposed on June 30th, 2006 and applies for dividing an application of (ring configuration method of communication node and communication system and ring establishing method), below quotes its content.
Technical field
The ring configuration method and the ring establishing method that the present invention relates to a kind of communication node that in annular communication system, uses and be used for carrying out the communication system of dereliction formula token ring communication in this communication system based on Ethernet (registered trade mark); Wherein, above-mentioned annular communication system connects Ethernet (registered trade mark) ring-type and communicates.
Background technology
At present, known through FDDI (Fiber-Distributed Data Interface) with the mode (for example, with reference to non-patent literature 1) that connects between the communication terminal (below, be called " communication node ") and build network.In this FDDI, usually communication node is built network with the ring-type connection.In utilizing the network of FDDI; The dicyclo structure that employing is made up of the 1st loop and the 2nd loop; The 1st loop is just often carrying out the transmission of data; The 2nd loop constitutes and is used under the situation that the cable that take place to constitute the 1st loop is cut off or communication node fault etc. is unusual, carry out loopback and unusually part from network, separate, can partly communicating normally.
In addition, in FDDI, adopt token passing scheme, that is, use the transmission route data be called " token " to control, make with communication node that network is connected between the data of sending can not clash.In this token transfer mode; Token is transmitted on the 1st loop; The communication node of wanting to send data is caught and is taken this token, replaces this token and transmits and oneself want the data of sending, send finish after; Once more token is discharged in the network, thereby is once to utilize cable all the time by 1 station terminal.
Non-Patent Document 1: Karl? F.Pieper, William? J.Cronin? Jr., WendyH.Michael with water slide still monitoring device translation, "FDDI technical details-100Mbps? LAN's build -", the first edition, published by Kyoritsu Shuppan Corporation, August 30, 1993, p.67-73
Summary of the invention
In addition, at present, popularized connecting the mode of building network between the communication node through Ethernet (registered trade mark).This Ethernet (registered trade mark) adopts CSMA/CD (Carrier Sense Multiple Access/Collision Detection) mode; Promptly; When the communication node that is connected with Ethernet (registered trade mark) sends data; Guarantee right of correspondence while avoiding conflict, with transfer of data to the communication nodes that all connected.For this mode is worked; The connected mode of the communication node in the Ethernet (registered trade mark) has 2 kinds of topological structures; That is: through being the center,, dispose a plurality of communication nodes and the bus topology that constitutes from extend breakout cable here with proper spacing with 1 cable as backbone; And through with 1 control device (hub) as the center, dispose a plurality of communication nodes radially and the Star topology that constitutes.
But; Because in Ethernet (registered trade mark); Employing ends the mode of (discarding) by the terminal equipment that is connected with network with Ethernet (registered trade mark) frame, thus there are above-mentioned bus topology and Star topology, but the problem of its existence is to form ring topology.In addition, in stelliform connection topology configuration, have following problems, that is, if repeater (hub) breaks down, all communication nodes that then are connected with repeater can't communicate, and the communication information focuses in the repeater, and repeater becomes the bottleneck of communication performance.In addition, in the topological structure of existing Ethernet (registered trade mark), exist because of clashing or crowd, and be difficult to ensure the problem of punctuality.
In addition, after network is set up, need to exist on the network except the communication node dispatching station dot information this communication node, so that the structure that each communication node can recognition network.At this moment, the transmission source of site information need be through receiving the response from other communication nodes, and all communication nodes that whether site information have been sent on the network are confirmed, has the more loaded down with trivial details problem of this processing.
In addition,, there is above-mentioned FDDI, but exists the network of current use FDDI not have the problem of as the network that uses Ethernet (registered trade mark), popularizing as ring topology.In addition, constitute the network that uses Ethernet (registered trade mark), also can't the specification of FDDI directly be used for the problem of Ethernet (registered trade mark) even also exist with ring topology.
The present invention proposes in view of the above problems; Its purpose is to obtain a kind of communication node that in the annular communication system based on Ethernet (registered trade mark), uses; In this annular communication system, utilize Ethernet (registered trade mark) to connect between with communication node, and do not use repeater.In addition, its purpose is to obtain the ring configuration method of a kind of communication node and communication system, and it can easily constitute loop, and in the ring topology network that utilizes Ethernet (registered trade mark) to construct, finds can eliminate fault under the situation of fault.
In addition, its purpose is to obtain the path establishment method in a kind of annular communication system, and it is used for being defined in the annular communication system based on Ethernet (registered trade mark), between communication node, communicates required step.Specifically, its purpose is to obtain the ring establishing method of a kind of communication node and communication system, and it can confirm whether the path that is made up of normal communication node has constituted ring-type in the annular communication system based on Ethernet (registered trade mark).
In addition; Its purpose is to obtain the ring establishing method of a kind of communication node and communication system; It can be in the annular communication system based on Ethernet (registered trade mark), after loop is set up, easily all communication nodes that whether site information have been sent on the network is confirmed.
In order to achieve the above object; Communication node involved in the present invention is used to constitute communication system; To connect with ring-type through a plurality of communication nodes that 1 pair 1 of Ethernet (registered trade mark) connects in this communication system, this Ethernet is by modular system ring and back-up system ring and dicycloization, and this modular system ring is used under the normal situation of communications status, carrying out the transmission of frame; This back-up system ring is used under the unusual situation of communications status, carrying out the transmission of frame; It is characterized in that this communication node has: the 1st port, it has the input part of said modular system ring and the efferent of said back-up system ring; The 2nd port, it has the efferent of said modular system ring and the input part of said back-up system ring; And communications processor element; It receives processing to the frame from the input part input of the said modular system ring of said the 1st port when proper communication, carry out the transmission of said frame from the efferent of the said modular system ring of said the 2nd port and handle; Because of communication abnormality; Other communication nodes carry out under the situation of loop back processing being, handle and do not receive to only transmitting from the frame of the input part input of the said back-up system ring of said the 2nd port, carry out the transmission of frame from the efferent of the back-up system ring of said the 1st port and handle; And adjacent communication node between produce under the situation of communication abnormality; The port that will be connected with the said adjacent communication node not modular system ring of the port of the same side is connected with the back-up system ring, carries out loop back processing being, and said communications processor element has: ring is set up the acknowledgement frame issuance unit; Its when power connection or this communication node carry out loop back processing being and constitute under the situation of new loop; Distribution writes distribution ring constantly and sets up acknowledgement frame, sets up acknowledgement frame if receive the said ring that circulation is returned in said loop, and then the later ring of the stoppage of publication is set up acknowledgement frame; Frame computing unit circulation timei, it is set up in the moment of acknowledgement frame from receiving by the said ring that said ring is set up acknowledgement frame issuance unit distribution and circulation is returned said loop, deduct said ring set up in the acknowledgement frame distribution constantly, calculate frame circulation timei; And ring sets up identifying unit, and it judges after the said ring of the stoppage of publication is set up acknowledgement frame, whether during more than or equal to said frame circulation timei in, do not detect the ring that in said loop, transmits and set up acknowledgement frame.
The effect of invention
According to the present invention; Because through communication node is connected to ring-type; And need not use necessary repeater in the connected mode of stelliform connection topology configuration or bus topology; So can eliminate by the repeater state that all communication nodes of causing can't communicate that breaks down, can avoid the communication information to be concentrated to the situation of repeater.In addition, owing to can save repeater, so have the effect of the cost in the time of can reducing system and arranging.
Description of drawings
Fig. 1 is the figure that schematically representes the schematic configuration of annular communication system based on Ethernet (registered trade mark) involved in the present invention.
Fig. 2 is the block diagram of structure of communication node of schematically representing the annular communication system of pie graph 1.
Fig. 3 is the figure of the state schematically representing to break down in the annular communication system.
Fig. 4 be when schematically representing to constitute the loop of annular communication system cable by the figure of the state of incorrect link.
Fig. 5 is the block diagram that the function of the communication node of representing that schematically this execution mode 2 is related constitutes.
Fig. 6-the 1st representes that schematically ring in the annular communication system set up to confirm the figure (its 1) of an example of processed steps.
Fig. 6-the 2nd representes that schematically ring in the annular communication system set up to confirm the figure (its 2) of an example of processed steps.
Fig. 6-the 3rd representes that schematically ring in the annular communication system set up to confirm the figure (its 3) of an example of processed steps.
Fig. 6-the 4th representes that schematically ring in the annular communication system set up to confirm the figure (its 4) of an example of processed steps.
Fig. 6-the 5th representes that schematically ring in the annular communication system set up to confirm the figure (its 5) of an example of processed steps.
Fig. 6-the 6th representes that schematically ring in the annular communication system set up to confirm the figure (its 6) of an example of processed steps.
Fig. 7 is the block diagram that the function of the communication node of representing that schematically this execution mode 3 is related constitutes.
Fig. 8-the 1st schematically representes to encircle the figure (its 1) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 2nd schematically representes to encircle the figure (its 2) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 3rd schematically representes to encircle the figure (its 3) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 4th schematically representes to encircle the figure (its 4) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 9-the 1st is illustrated in the figure of an example of the received frame information that 4 websites are held under the state of Fig. 8-1.
Fig. 9-the 2nd is illustrated in the figure of an example of the received frame information that 1 website is held under the state of Fig. 8-1.
Figure 10-the 1st schematically representes to take place the figure (its 1) of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.
Figure 10-the 2nd schematically representes to take place the figure (its 2) of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.
Figure 10-the 3rd schematically representes to take place the figure (its 3) of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.
Figure 10-the 4th schematically representes to take place the figure (its 4) of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.
Figure 10-the 5th schematically representes to take place the figure (its 5) of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.
Contingent meeting became the figure (its 1) of the state of problem during Figure 11-the 1st, representative ring set up and confirm to handle.
Contingent meeting became the figure (its 2) of the state of problem during Figure 11-the 2nd, representative ring set up and confirm to handle.
Contingent meeting became the figure (its 3) of the state of problem during Figure 11-the 3rd, representative ring set up and confirm to handle.
Figure 12 is the block diagram that the function of the communication node of representing that schematically this execution mode 5 is related constitutes.
Figure 13-the 1st schematically is illustrated in the communication node that replace to break off, and has inserted the figure (its 1) that ring under the situation of new communication node is set up an example confirming processed steps.
Figure 13-the 2nd schematically is illustrated in the communication node that replace to break off, and has inserted the figure (its 2) that ring under the situation of new communication node is set up an example confirming processed steps.
Figure 14-the 1st schematically is illustrated in the figure (its 1) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 14-the 2nd schematically is illustrated in the figure (its 2) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 14-the 3rd schematically is illustrated in the figure (its 3) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 14-the 4th schematically is illustrated in the figure (its 4) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 14-the 5th schematically is illustrated in the figure (its 5) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 14-the 6th schematically is illustrated in the figure (its 6) of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.
Figure 15 is the block diagram that the function of the communication node of representing that schematically this execution mode 7 is related constitutes.
Figure 16-the 1st schematically representes to delete and encircle the figure (its 1) of an example setting up the step of confirming to handle irrelevant frame.
Figure 16-the 2nd schematically representes to delete and encircle the figure (its 2) of an example setting up the step of confirming to handle irrelevant frame.
Figure 16-the 3rd schematically representes to delete and encircle the figure (its 3) of an example setting up the step of confirming to handle irrelevant frame.
Figure 16-the 4th schematically representes to delete and encircle the figure (its 4) of an example setting up the step of confirming to handle irrelevant frame.
Figure 16-the 5th schematically representes to delete and encircle the figure (its 5) of an example setting up the step of confirming to handle irrelevant frame.
Figure 17 is the figure that the function of the communication node of representing that schematically this execution mode 8 is related constitutes.
Figure 18-the 1st schematically representes the figure (its 1) of an example of the step of the site information notifier processes in the annular communication system.
Figure 18-the 2nd schematically representes the figure (its 2) of an example of the step of the site information notifier processes in the annular communication system.
Figure 18-the 3rd schematically representes the figure (its 3) of an example of the step of the site information notifier processes in the annular communication system.
Figure 18-the 4th schematically representes the figure (its 4) of an example of the step of the site information notifier processes in the annular communication system.
Figure 18-the 5th schematically representes the figure (its 5) of an example of the step of the site information notifier processes in the annular communication system.
Figure 18-the 6th schematically representes the figure (its 6) of an example of the step of the site information notifier processes in the annular communication system.
The explanation of symbol
1 modular system ring
2 back-up system rings
10,10-1~10-5 communication node
11,11-1~11-5A port
14,14-1~14-5B port
17,17-1~17-5 communication process portion
20 rings are set up and are confirmed handling part
21 rings are set up acknowledgement frame distribution department
22,72 frame calculating parts circulation timei
23,73 frame storage parts circulation timei
24 rings are set up detection unit
31 received frame Information Management Departments
32 received frame information storage parts
51 wrapped state control parts
61 frame waste treatment portions
71 site information management departments
74 site information are notified the detection unit that finishes
75 network configuration information storage parts
Embodiment
Below, the preferred implementation of the ring configuration method and the ring establishing method of communication node involved in the present invention and communication system at length is described with reference to accompanying drawing.In addition, the invention is not restricted to these execution modes.Below, schematic configuration of the present invention common between each execution mode is described, then, each execution mode is described.
Fig. 1 is the figure that schematically representes the schematic configuration of annular communication system based on Ethernet (registered trade mark) involved in the present invention.This annular communication system has the structure that a plurality of communication nodes (communication equipment is labeled as " node " among the figure) 10-1~10-4 ring-type is connected, and above-mentioned a plurality of communication nodes connect through the mode of Ethernet (registered trade mark) with 1 pair 1.Here; With the Ethernet that connects between communication node 10-1~10-4 (registered trade mark) cable; Physically carry out two-foldization through 2 loops, these 2 loops are: the modular system ring 1 that along clockwise direction frame is transmitted in the annular communication system of representing with solid line in the drawings; And the back-up system ring 2 that in this system, frame is transmitted that is represented by dotted lines along counter clockwise direction.Modular system ring 1 is the loop that when the communication node 10-1~10-4 that constitutes annular communication system and cable are in normal condition, uses.In addition, back-up system ring 2 is any loops that take place to use under the unusual situation in the communication node 10-1~10-4 that constitutes annular communication system and cable, as after state shown in, be used for should partly separating unusually from system through loop back processing being.
Fig. 2 is the block diagram of structure of communication node of schematically representing the annular communication system of pie graph 1.This communication node 10 has: 2 port ones 1,14, and it is used between adjacent communication node, connecting Ethernet (registered trade mark) cable; And communication process portion 17, its frame that receives from port one 1,14 is handled and be used for and other communication nodes between set up the path processing.
Port (among the figure, is labeled as PortA by the A port.) 11 with the B port (among the figure, be labeled as PortB.) 14 these 2 ports formations.A port one 1 has: modular system input part 12, and it receives the frame from modular system ring 1; And back-up system efferent 13, it is sent to back-up system ring 2 with frame.In addition, B port one 4 has: modular system efferent 16, and it is sent to modular system ring 1 with frame; And back-up system input part 15, it receives the frame from back-up system ring 2.In addition, A port one 1 is corresponding with the 1st port in claims, and B port one 4 is corresponding with the 2nd port in claims.
The frame from modular system ring 1 that the modular system input part through A port one 1 receives is at first read in communication process portion 17; Under the situation of necessity; Carry out that the modular system efferent from B port one 4 is sent to modular system ring 1 after the predetermined process, on the other hand, the frame from back-up system ring 2 that will receive through the back-up system input part of B port one 4; Directly be sent to the back-up system efferent of A port one 1, and do not read in.More particularly,, only, under the situation of necessity, carry out predetermined process, and the frame that in communication node, transfers to A port one 1 from B port one 4 is not carried out any processing frame from B port one 4 output just often.
In this annular communication system based on Ethernet (registered trade mark), usually state communication down is in modular system ring 1, to be used for the token frame that obtaining communication weighs by each communication node 10-1~10-4 to carry out.The communication node of wanting to communicate 10 is received in the token frame of transmission in the modular system ring 1 through the modular system input part 12 of A port one 1, thus obtaining communication power.Get access to the communication node 10 of right of correspondence, replace token frame and the Frame that will want to send is sent to modular system ring 1 from the modular system efferent 16 of B port one 4.If the transmission of Frame finishes, then the modular system efferent 16 from B port one 4 sends it back token frame the modular system ring 1, returns the state that other communication nodes 10 can communicate.
Above-mentioned is the summary of common annular communication system based on Ethernet (registered trade mark) between each execution mode that describes subsequently.Below, based on this content, each execution mode is described.In addition, in following explanation, communication node 10-1,10-2,10-3,10-4 are labeled as 1 website, 2 websites, 3 websites, 4 websites respectively.
In addition; In this manual, for the purpose of simplifying the description, situation about being made up of 4 communication node 10-1~10-4 with annular communication system is that example describes; But so long as, just can be suitable for following execution mode with the structure of a plurality of communication nodes through the connection of Ethernet (registered trade mark) ring-type.
Execution mode 1
In this execution mode 1, to the part at annular communication system based on Ethernet (registered trade mark) shown in Figure 1 break down or the situation of cable incorrect link under loop back processing being describe.
< situation about breaking down >
Fig. 3 is the figure of the state schematically representing to break down in the annular communication system.Suppose in the network that the communication node 10-1~10-4 of 1 website~4 websites is connected with ring-type as shown in Figure 1, as shown in Figure 3 when using modular system ring 1 to carry out common communication, cable takes place between 3 website 10-3 and 4 website 10-4 to be broken off.In the case; The 17-4 of communication process portion of 4 website 10-4 has received from this state continuance of signal of 3 website 10-3 more than or equal to official hour according to the A port one 1-4 through 4 website 10-4 not; Be judged to be and 3 website 10-3 between cable break down, the back-up system input part of B port one 4-4 be connected with the modular system efferent and carry out loopback.Here; Because it is all identical that each communication node (website) 10-1~10-4 that constitutes annular communication system is judged to be the fiducial value that breaks down according to the time that does not receive frame; So after the cable between 3 website 10-3 and the 4 website 10-4 broke off, detecting unusual at first was the 4 nearest website 10-4 of abort situation of criterion distance system ring 1.Its result, 4 website 10-4 carry out loop back processing being.Then, send the abnormity notifying signal that this situation of cable disconnection takes place between expression 3 website 10-3 and the 4 website 10-4.If receive the abnormity notifying signal; Then the 17-3 of communication process portion of 3 website 10-3 knows that cable takes place between 3 website 10-3 and the 4 website 10-4 to be broken off; The modular system input part of A port one 1-3 is connected with the back-up system efferent and carries out loopback, with not to B port one 4-3 side output frame.
Through above-mentioned processing; 3 website 10-3 and 4 website 10-4 carry out loopback with transmission path, use back-up system ring 2, and the 3 website 10-3 at abort situation place and the cable between the 4 website 10-4 are separated and reconstitute new loop; Then, each website restarts communication.In addition; In the processing afterwards; The 17-3 of communication process portion of 3 website 10-3 at first reads in the frame from modular system ring 1 that the modular system input part by A port one 1-3 receives; After carrying out predetermined process, to 2 outputs of back-up system ring, the 17-4 of communication process portion of 4 website 10-4 at first reads in the frame from back-up system ring 2 that the back-up system input part by B port one 4-4 receives from the back-up system efferent of this A port one 1-3; After carrying out predetermined process, carry out processing to the modular system efferent transmission of this B port one 4-4.
In addition; In Fig. 3, be broken as example with the cable between 3 website 10-3 and the 4 website 10-4 loopback is illustrated, break off but cable takes place in other positions; Or under communication node (website) 10-1~10-4 situation about breaking down, carry out the reconstruct of loop with identical step.
< situation of Ethernet (registered trade mark) cable incorrect link >
Fig. 4 be when schematically representing to constitute the loop of annular communication system cable by the figure of the state of incorrect link.At first, suppose that as shown in Figure 4, port and the connection between the cable of 3 website 10-3 are wrong in the operation that utilizes cable to connect between with communication node 10-1~10-4.That is, utilize cable that the B port one 4-2 of 2 website 10-2 and the B port one 4-3 of 3 website 10-3 are connected, the A port one 1-4 of 4 website 10-4 and the A port one 1-3 of 3 website 10-3 are connected.
After the cable connection finishes; The communication negotiation (negotiation) of the 17-1~17-4 of communication process portion of each communication node 10-1~10-4 through carrying out according to predetermined rule; Whether the connectivity port of confirming this communication node normally is connected with the connectivity port of adjacent communication node; Specifically, whether the A port one of this communication node 1 is connected with the B port one 4 of adjacent communication node, and whether the B port one of this communication node 4 is connected with the A port one 1 of adjacent communication node.At this moment, the 17-2 of communication process portion of 2 website 10-2 knows that through communication negotiation the B port one 4-2 of this website is connected with the B port one 4-3 of 3 website 10-3, identify and 3 website 10-3 between the connectivity port be wrong.Identical ground, the 17-4 of communication process portion of 4 website 10-4 knows that through communication negotiation the A port one 1-4 of this website is connected with the A port one 1-3 of 3 website 10-3, identify and 3 website 10-3 between the connectivity port be wrong.
Identify the connectivity port by the communication process portion 17 of the communication node of incorrect link, to except being carried out loop back processing being by the port the port of incorrect link.That is, the 17-2 of communication process portion of 2 website 10-2 carries out loopback at A port one 1-2, and the 17-4 of communication process portion of 4 website 10-4 carries out loopback at B port one 4-4.
Thus, the formation loop that will separate as 3 website 10-3 of the reason of incorrect link.Then, carry out common communication through this loop.
According to this execution mode 1; Even because under communication node 10 that constitutes annular communication system or situation that cable breaks down; Also can be abort situation be separated through carrying out loopback, thus have can realize possessing anti-fault property, the effect of annular communication system that reliability is high.In addition; Because through communication node 10 is connected with ring-type; Thereby need not use necessary repeater in the connected mode of stelliform connection topology configuration or bus topology; So can eliminate by the repeater state that all communication nodes 10 of causing can't communicate that breaks down, can avoid the communication information to be concentrated to the situation of repeater.In addition, owing to can save repeater, so have the effect of the cost in the time of can reducing system and arranging.In addition, because the incorrect link can find that network is constructed the time is separated the part that has incorrect link, so have the effect that can easily carry out system and arranging.
Execution mode 2
In this execution mode 2, the method for the affirmation ring connection status of behind the state that correctly connects between the port with each communication node through Ethernet (registered trade mark) cable, carrying out is described.For example, with 1 website 10-1~4 website 10-4 after normal the connection, in order to constitute loop, and connect the power supply of each communication node as shown in Figure 1.At this moment, the state that all communication node 10-1~10-4 become power connection simultaneously gets final product, but also maybe something unexpected happened.For example, exist 3 website 10-3 owing to power system failure, though energized, the situation that also can't start.In this case, must carry out loopback at the A port one 1-2 of 2 website 10-2 and the B port one 4-4 of 4 website 10-4.The explanation ring is set up and is confirmed processed steps below; This ring is set up to confirm to handle and is used for behind the power connection with each communication node 10-1~10-4 just as noted above, confirms whether to be made up of the communication node 10-1~10-4 in the annular communication system path of ring-type.
Fig. 5 is the block diagram that the function of the communication node of representing that schematically this execution mode 2 is related constitutes.The communication process portion 17 of the communication node 10 of this execution mode 2 comprises that ring is set up acknowledgement frame distribution department 21, frame calculating part circulation timei 22, frame storage part circulation timei 23 and ring is set up detection unit 24.In addition, the identical label of inscape mark for identical with above-mentioned explanation omits its explanation.
Ring sets up that acknowledgement frame distribution department 21 is every to set up acknowledgement frame at a distance from official hours distribution ring, and this ring is set up the path (below, abbreviate " loop " as) that acknowledgement frame is used for confirming whether having set up at annular communication system after the energized ring-type.Set up in the acknowledgement frame at ring, write the moment that this ring of distribution is set up acknowledgement frame.In addition, receive the ring that self sends and set up acknowledgement frame if ring is set up acknowledgement frame distribution department 21, then the later ring of the stoppage of publication is set up acknowledgement frame, and the discarded simultaneously ring that receives is set up acknowledgement frame.
Frame calculating part circulation timei 22 is set up acknowledgement frame when A port one 1 returns at the ring of this communication node distribution; Calculating receives ring and sets up the moment of acknowledgement frame and be written in this ring and set up poor between the distribution constantly in the acknowledgement frame; Obtain ring set up acknowledgement frame in time of loop cocycle, be frame circulation timei, and be stored in frame storage part circulation timei 23.
Ring is set up detection unit 24 and is judged that setting up acknowledgement frame from the ring that receives this communication node or the distribution of other communication nodes at last begins; Whether on network, do not detect the state that ring sets up acknowledgement frame continued more than or equal to the frame time of circulation timei; At this state continuance more than or equal under the frame situation of circulation timei, be judged to be all communication nodes 10 and all identified loop and connect.
Fig. 6-1~Fig. 6-the 6th representes that schematically ring in the annular communication system set up to confirm the figure of an example of processed steps.At first, the ring of the 17-1 of communication process portion of 1 website 10-1 is set up acknowledgement frame distribution department 21 and will be write distribution ring constantly and set up acknowledgement frame and be sent to (Fig. 6-1) the modular system ring 1 from B port one 4-1.Here, 1 website 10-1 sends the 1st ring at moment T1 and sets up acknowledgement frame 201-1,, at moment T2 the 2nd ring is set up acknowledgement frame 201-2 and is sent in the modular system ring 1 through behind the official hour from moment T1.
Then, do not set up acknowledgement frame because 1 website 10-1 receives the ring that self sends, thus further moment T3, T4 respectively with the 3rd and the 4th ring set up acknowledgement frame 201-3,201-4 is sent in the modular system ring 1.Then, suppose that the 1st ring that 1 website 10-1 issues at first sets up acknowledgement frame 201-1 for some reason, (Fig. 6-2) disappears between 4 website 10-4 and 1 website 10-1.In addition, the communication node 10-2~10-4 except 1 website 10-1 makes and sets up acknowledgement frame 201-1~201-4 from the ring of 1 website 10-1 and directly pass through.In addition, because of the disappearance that the 1st ring is set up acknowledgement frame 201-1,1 website 10-1 does not still receive the ring that self sends and sets up acknowledgement frame, is sent in the modular system ring so at moment T5 the 5th ring is set up acknowledgement frame 201-5.
Then, 1 website 10-1 sets up acknowledgement frame 201-2 through the 2nd ring that A port one 1-1 receives self distribution, and storage should the time of reception T6.Frame calculating part circulation timei 22 of the 17-1 of communication process portion of 1 website 10-1, deduct the distribution moment T2 that writes in this frame and calculate frame cycle time T (=T6-T2) (Fig. 6-3) time of reception of setting up acknowledgement frame 201-2 from the 2nd ring the T6.The frame that calculates is stored in frame storage part circulation timei 23 circulation timei.In addition, the ring of the 17-1 of communication process portion of 1 website 10-1 is set up acknowledgement frame distribution department 21, and it is discarded from network that the 2nd ring that returns is set up acknowledgement frame 201-2.In addition, because the ring of the 17-1 of communication process portion of 1 website 10-1 is set up acknowledgement frame distribution department 21, receive the ring of self issuing first and set up acknowledgement frame, so after this stoppage of publication ring is set up acknowledgement frame (Fig. 6-4).In addition, before this moment, 1 website 10-1 has been issued to the 5th ring and has set up acknowledgement frame 201-5.
Then; 1 website 10-1 receives the ring of this website distribution successively and sets up acknowledgement frame; And carrying out waste treatment, the 5th ring that receives and discard last distribution is set up acknowledgement frame 201-5, makes thus not exist the ring of 1 website 10-1 distribution to set up acknowledgement frame 201-1~201-5 (Fig. 6-5) on the network (loop).The processing of above Fig. 6-1~Fig. 6-5 is undertaken by other 2 website 10-2~4 website 10-4 simultaneously.
After all rings of in Fig. 6-5, issuing from the discarded 1 website 10-1 of network are set up acknowledgement frame 201-1~201-5; Whether the ring of the 17-1 of communication process portion of 1 website 10-1 is set up detection unit 24 and is begun to measure and on network, do not exist any ring to set up the time of acknowledgement frame, more than or equal to the frame circulation timei of in Fig. 6-3, obtaining.That is,, judge that whether detecting the ring that other communication nodes 10-2~10-4 sends before overtime sets up acknowledgement frame to timer settings frame circulation timei.In addition, in this is judged, receive ring that other communication nodes 10-2~10-4 sends when setting up acknowledgement frame at every turn, reset timer.This is in order to confirm that not only this website set up loop, will confirm that also other websites have likewise set up loop.In addition; Beginning from observing the moment that ring sets up acknowledgement frame at last; Do not observe on the network (ring) ring set up acknowledgement frame state continuance under the situation more than or equal to the frame cycle time T, form (foundation of loop) (Fig. 6-6) by what ring set up that detection unit 24 is judged to be that other all communication node 10-2~10-4 on the network have identified equally that network connects.
In addition; In above-mentioned explanation; Showing ring that each website uses the distribution of this website sets up the ring that returns at first in the acknowledgement frame and sets up acknowledgement frame; Carry out the situation of the calculating of frame circulation timei, come the computation cycles time but also can set up acknowledgement frame to all rings that return, with its mean value or maximum etc. as frame circulation timei to timer settings.
According to this execution mode 2; Because under the situation that the communication node ring-type is connected; Time of reception and the issuing date thereof of using ring to set up acknowledgement frame calculated frame circulation timei; The ring of last transmission is set up acknowledgement frame and is begun from the network, during more than or equal to frame circulation timei in, ring is set up in the absence of acknowledgement frame transmission; All communication nodes 10 that are judged as on the network that frame circulates have all identified the formation that loop connects, and set the frame effect of circulation timei accordingly so have the number of the communication node 10 that can be connected with ring-type.Pass through the time with the frame that for example preestablishes a communication node; It multiply by the number and the coefficient of safety that is used to get rid of error of the communication node 10 that constitutes annular communication system; The value that obtains is compared as the situation of timer settings value, had and to shorten the effect that 10 pairs of each communication nodes identify the time that formation that network connects judges.
Execution mode 3
In execution mode 2, if setting up the ring that the communication node of acknowledgement frame receives self, distribution ring sets up acknowledgement frame, then discard (ending).Set up in the process of confirming to handle at the ring of this execution mode 2,, cause this communication node from network, to break away from (disconnection), then carry out loopback and constitute new loop, with this communication node eliminating if certain communication node breaks down.At this moment, in new loop, possibly set up acknowledgement frame by residual ring by the communication node distribution of having broken off.In this execution mode 3, in this case processing method is described.
Fig. 7 is the block diagram that the function of the communication node of representing that schematically this execution mode 3 is related constitutes.The communication process portion 17 of the communication node of this execution mode 3 constitutes, and on the basis of Fig. 5 of execution mode 2, also has received frame Information Management Department 31 and received frame information storage part 32.
When each ring of transmitting other communication nodes 10 distribution that receive from A port one 1 is set up acknowledgement frame; Received frame Information Management Department 31 is set up acknowledgement frame to this ring; Obtain received frame information and contrast with the received frame information that is stored in the received frame information storage part 32; Wherein, this received frame information distribution (the perhaps time of reception of frame) constantly of comprising frame identifying information such as this ring is set up the transmission sources traffic node of acknowledgement frame, sequence number that frame is discerned and frame.Then, under the ring that receives is set up acknowledgement frame and the frame that received in the past situation inequality (that is, being under the situation of frame of new issue),, upgrade and be stored in the received frame information storage part 32 as this received frame information of sending the sources traffic node.On the other hand, set up under the situation that acknowledgement frame is the frame that received in the past at the ring that receives, it is discarded that this ring is set up acknowledgement frame.
The received frame information of each communication node 10 that storage is connected with network in received frame information storage part 32.For example; As implement shown in the explanation of mode 2; Set up under the situation of acknowledgement frame receiving certain communication node 10 every rings at a distance from official hours distribution, because sequence number different (sequence number increases progressively with 1) separately, so bring in constant renewal in the received frame information of setting up acknowledgement frame for new ring.
In addition, ring is set up acknowledgement frame distribution department 21 and is had at ring and set up the function that writes the frame identifying informations such as sequence number that are used for frame is discerned in the acknowledgement frame.At the frame identifying information is under the situation of sequence number, for example carries out following processing, promptly sets up at every ring at a distance from the official hour distribution to write with 1 sequence number that increases progressively in the acknowledgement frame etc.In addition, the identical label of inscape mark for identical with above-mentioned explanation omits its explanation.
Fig. 8-1~Fig. 8-the 4th schematically is illustrated in the figure that the ring confirming electrical connection status will encircle an example setting up the discarded treatment step of acknowledgement frame in handling, and wherein, it is by issuing because of the communication node that breaks from network that breaks down that this ring is set up acknowledgement frame.The ring of the 17-3 of communication process portion of 3 website 10-3 is set up acknowledgement frame distribution department 21, and the 1st and the 2nd ring that is respectively " No.1 " and " No.2 " at moment T1, T2 distribution sequence number is set up acknowledgement frame 202-1,202-2, makes above-mentioned frame at loop cocycle (Fig. 8-1).
Fig. 9-the 1st is illustrated in the figure of an example of the received frame information that 4 websites are held under the state of Fig. 8-1, and Fig. 9-the 2nd is illustrated in the figure of an example of the received frame information that 1 website is held under the state of Fig. 8-1.In the example that illustrates, have as the received frame information stores: the communication section of setting up the transmission source of acknowledgement frame as ring is called the roll; Write to ring as the frame identifying information and set up the sequence number in the acknowledgement frame; And this ring is set up the distribution moment of acknowledgement frame.In addition, as node name, also can use unique in the world MAC (Media Access Control) address.Shown in Fig. 9-1, in 4 website 10-4, receive the 1st and the 2nd ring successively and set up acknowledgement frame 202-1,202-2, but because the 2nd ring is set up acknowledgement frame 202-2 is up-to-date, so store the received frame information that the 2nd ring is set up acknowledgement frame 202-2.On the other hand, shown in Fig. 9-2, in 1 website 10-1, set up acknowledgement frame 202-1 owing to only receive the 1st ring, so store its received frame information., 4 website 10-4 and 1 website 10-1 only have been described here, but other websites obtain also identically and store the received frame information of setting up acknowledgement frame from the ring of B port one 4 transmissions.
Then, suppose that 3 website 10-3 break down.Thus; The A port one 1-4 of the B port one 4-2 of 2 website 10-2 and 4 website 10-4; At cable is under the situation of optical fiber, and the light that detects from 3 website 10-3 interrupts this situation, is under the situation of cable at cable perhaps; The signal of telecommunication that detects from 3 website 10-3 interrupts this situation, breaks down thereby detect 3 website 10-3.Then, shown in the explanation of enforcement mode 1,2 website 10-2 carry out loopback at A port one 1-2, and 4 website 10-4 carry out loopback (Fig. 8-2) at B port one 4-4.Thus, the ring that becomes 3 website 10-3 distribution is set up acknowledgement frame and is remained in the state in the new loop of setting up through loopback.Then, shown in Fig. 8-2, the 1st ring is set up acknowledgement frame and in back-up system ring 2, is transmitted.
Then, the B port one 4-4 of 4 website 10-4 receives the 1st ring and sets up acknowledgement frame 202-1, owing to be in wrapped state, so become from B port one 4-4 the 1st ring is set up the state that acknowledgement frame 202-1 sends.Before this sends; If the received frame Information Management Department 31 of the 17-4 of communication process portion of 4 website 10-4 receives the 1st ring and sets up acknowledgement frame 202-1; Its received frame information of obtaining then as noted above contrasts the received frame information of the 3 corresponding website 10-3 of storage in this received frame information and the received frame information storage part 32.At this moment; The sequence number that the 1st ring that receives is set up acknowledgement frame 202-1 is " No.1 "; But shown in Fig. 9-1; Because the sequence number of received frame information of storage is " No.2 ", be identified as the ring of transmitting over and set up acknowledgement frame so the 1st ring that received frame Information Management Department 31 will receive is set up acknowledgement frame 202-1, and with this frame discarded (Fig. 8-3).
Identical ground; In the received frame Information Management Department 31 of the 17-4 of communication process portion of 4 website 10-4, set up acknowledgement frame 202-2 likewise for the 2nd ring that receives, its sequence number is " No.2 "; But shown in Fig. 9-1; The sequence number of received frame information of storage is " No.2 ", is identified as the ring of transmitting over and sets up acknowledgement frame so the 2nd ring that received frame Information Management Department 31 will receive is set up acknowledgement frame 202-2, and with this frame discarded (Fig. 8-4).Thus, set up acknowledgement frame and remove processing break off the ring remain in the new loop because of 3 website 10-3 by 3 website 10-3 distribution.
In addition, in Fig. 8-3, receive in back-up system ring 2 the 1st and the 2nd of transmission and encircle the 1 website 10-1 that sets up acknowledgement frame 202-1,202-2 and do not carry out waste treatment; As explanation at first; Be because following hypothesis promptly, is only carried out filtration treatment to the frame that sends from B port one 4-1; To transmitting merely to the Frame of A port one 1-1 transmission from B port one 4-1 in the communication node, and do not read in.
In addition, above-mentioned situation only is an example, and the two carries out waste treatment the Frame that also can send to the Frame that sends from A port one 1 with from B port one 4.In the case, the received frame information of acknowledgement frame is set up in storage from the ring of each port transmission.If have the communication node of this structure, then can be in Fig. 8-3, by 1 website 10-1 to the 1st and the 2nd ring set up acknowledgement frame 202-1,202-2 carries out waste treatment.But; If judge whether the processing of discarding to the Frame that sends from A port one 1 and B port one 4 these two ports; Then under the bigger situation of the transmission speed of cable; This is handled and goes up spended time, and it is slower than the transmission speed of cable that processing speed becomes, thereby possibly make whole communication speed slack-off.
In addition, the frame identifying information under the situation with 1 sequence number that increases progressively, can use sequence number to judge that ring sets up the new and old of acknowledgement frame shown in above-mentioned example, so in received frame information, do not need " time " (distribution constantly etc.).But, under the situation that the frame identifying information forms through other marks or random value, in received frame information, must comprise and store " time " (the distribution moment etc.).This is because through adding temporal information, can set up the new and old of acknowledgement frame to the ring that receives and judge.
According to this execution mode 3; Owing to set up in the process of confirming to handle at ring; Certain communication node 10 breaks down, and causes this communication node 10 to break from network, after constituting new loop; The discarded ring by the communication node that has broken off 10 distribution that remains in this loop is set up acknowledgement frame, is trapped in the effect on the loop so have the useless frame of the communication node 10 that can prevent to have broken off.
Execution mode 4
In execution mode 2, set up acknowledgement frame and begin from detecting ring at last, during more than or equal to frame circulation timei in, detect ring and set up in the absence of acknowledgement frame, encircle the affirmation of connection status.Yet, set up in the process of confirming to handle at the ring of execution mode 2, if certain communication node breaks down, cause this communication node to break from network, carry out loopback so that this communication node is got rid of.In execution mode 3, to the new loop of after carrying out loopback, setting up, the method that removal is set up acknowledgement frame by the ring of the communication node distribution that is excluded is illustrated.But, in above-mentioned execution mode 2,3, the ring behind the loopback is set up and is confirmed that processing describes.Therefore, in this execution mode 4, explain and encircle the method handled confirmed of setting up behind the loopback.
The communication node of this execution mode 4 has the structure identical with Fig. 7 of execution mode 3.But, writing distribution in the acknowledgement frame constantly with the identification serial number that is used for frame is discerned except setting up at ring, ring is set up acknowledgement frame distribution department 21 and is also had following function; Promptly; When distribution ring is set up acknowledgement frame, set up write paths state information in the acknowledgement frame and send at ring, this this communication node of path status information representation 10 be in common can through A port one 1 and B port one 4 send reception state (below; Be called " pass-through state "), still be in wrapped state.In addition, under the situation of wrapped state, comprise and be illustrated in A port one 1 and the B port one 4 which and carry out the information of loopback.In addition, ring is set up acknowledgement frame distribution department 21 and is had following function, promptly; Set up acknowledgement frame if receive the ring of this communication node 10 distribution, under the situation that then the path status information in frame is identical with current path status, stoppage of publication ring is set up acknowledgement frame; But under path status information in frame and the current path status condition of different, continue the distribution ring and set up acknowledgement frame, simultaneously; In the case, make frame calculating part circulation timei not carry out the frame computing of circulation timei.
Figure 10-1~Figure 10-the 5th schematically representes to take place the figure of an example of the confirming electrical connection status processed steps of the new loop that forms behind the loopback.The situation that above-mentioned Figure 10-1~Figure 10-5 expression is confirmed the foundation of loop with 4 website 10-4 is the state of focus.At first, 1 website 10-1~4 website 10-4 do not break down and all are in normal condition, and all communication node 10-1~10-4 all are in pass-through state.The ring of the 17-4 of communication process portion of 4 website 10-4 is set up acknowledgement frame distribution department 21; Issue the 1st and the 2nd ring at moment T1, T2 and set up acknowledgement frame 203-1,203-2; Set up at above-mentioned ring and to write following information in the acknowledgement frame respectively; Sequence number is respectively " No.1 " and " No.2 ", and path status information is respectively " leading directly to " and " leading directly to " (Figure 10-1).
Then, suppose that 3 website 10-3 break down.Thus, the A port one 1-4 of the B port one 4-2 of 2 website 10-2 and 4 website 10-4 detects 3 website 10-3 and breaks down, and shown in the explanation of enforcement mode 1,2 website 10-2 carry out loopback at A port one 1-2, and 4 website 10-4 carry out loopback at B port one 4-4.Thus, the path status of 2 website 10-2 becomes " Loop-A " (diagram slightly) that carries out loopback at A port one 1-2, and the path status of 4 website 10-4 becomes " Loop-B " that carries out loopback at B port one 4-4.Issuing the 2nd ring sets up behind the acknowledgement frame 203-2 through official hour; At moment T3, the ring of 4 website 10-4 is set up acknowledgement frame distribution department 21 distribution, and to write sequence number be that " No.3 ", path status information are set up acknowledgement frame 203-3 (Figure 10-2) for the 3rd ring of " Loop-B " such information.In addition, set up acknowledgement frame at the ring of 3 website 10-3 distribution and remain in through loopback under the situation in the new loop that constitutes, discard through the step of above-mentioned execution mode 3.
Then; The ring of the 17-4 of communication process portion of 4 website 10-4 is set up path status information that acknowledgement frame distribution department 21 receives this website distribution the 1st encircling and set up acknowledgement frame 203-1 for " lead directly to "; But because the path status of current website is the wrapped state of B port one 4, i.e. " Loop-B "; Both are inconsistent, set up acknowledgement frame (Figure 10-3) so continue every the ring at a distance from the official hour distribution.In addition, discarded the 1st ring that receives is set up acknowledgement frame 203-1.Then, set up under the situation of acknowledgement frame 203-2 and also carry out same treatment receiving the 2nd ring.
Then; Process along with the time; If the ring of the 17-4 of communication process portion of 4 website 10-4 is set up the path status information that acknowledgement frame distribution department 21 receives this website distribution and is set up acknowledgement frame 203-3 for the 3rd ring of " Loop-B "; Then since with the path status of current website, promptly " Loop-B " consistent, so stoppage of publication ring is set up acknowledgement frame (Figure 10-4).Frame calculating part circulation timei 22 uses the 3rd ring to set up acknowledgement frame 203-3, through the step of explanation in the execution mode 2 frame is calculated circulation timei.Then, discarded the 3rd ring that receives is set up acknowledgement frame 203-3.
Then; The sequence number that receives the distribution of this website is successively set up acknowledgement frame 203-4 for " No.4 ", path status information for the 4th ring of " Loop-B "; With sequence number be " No.5 ", path status information for after the 5th ring of " Loop-B " sets up acknowledgement frame 203-5,4 website 10-4 are respectively with they discarded (Figure 10-5).In addition, other websites also carry out identical processing.Then, shown in the explanation of Fig. 6-5~Fig. 6-6 of enforcement mode 2, set up acknowledgement frame and begin to have passed through more than or equal to the frame time of circulation timei through confirming from observing ring at last, the ring confirming electrical connection status processing behind the loopback finishes.
According to this execution mode 4; Have following effect, that is, and the communication node 10 that breaks off even in the ring confirming electrical connection status is handled, occur breaking down; And make under the situation of loop structure change; Since with the connection status of new loop accordingly, at least 1 ring that must receive 10 distribution of this communication node via the transmission path of final network that is connected in the communication node 10 on the network is set up acknowledgement frame 203, so even in the process that constitutes loop; A plurality of communication nodes 10 further insert disengaging, also can constitute loop.
Execution mode 5
Contingent meeting became the figure of the state of problem during Figure 11-1~Figure 11-the 3rd, representative ring set up and confirm to handle.At first, 1 website 10-1~4 website 10-4 are in the state that connects with normal condition.Then, suppose that the ring of the 17-3 of communication process portion of 3 website 10-3 is set up acknowledgement frame distribution department 21, issue the 1st and the 2nd ring that writes sequence number " No.1 " and " No.2 " respectively at moment T1, moment T2 and set up acknowledgement frame 204-1,204-2 (Figure 11-1).
Then, suppose that 3 website 10-3 break down.Thus, the A port one 1-4 of the B port one 4-2 of 2 website 10-2 and 4 website 10-4 detects 3 website 10-3 and breaks down, and shown in the explanation of enforcement mode 1,2 website 10-2 carry out loopback at A port one 1-4, and 4 website 10-4 carry out loopback at B port one 4-4.Thus, the 1st and the 2nd ring that becomes 3 website 10-3 distribution is set up acknowledgement frame 204-1,204-2 remains in through the state (Figure 11-2) in the new loop of loopback formation.
Then, before the 1st and the 2nd ring of discarded 3 website 10-3 distribution is set up acknowledgement frame 204-1,204-2, replace the 3 website 10-3 that break off, 5 website 10-5 access in the network.In the case, reconstitute new loop once more, 2 website 10-2 are direct mode operation from the state transformation that carries out loopback at A port one 1-2, and 4 website 10-4 are direct mode operation (Figure 11-3) from the state transformation that carries out loopback at B port one 4-4.Its result, the 1st and the 2nd ring of 3 website 10-3 distribution is set up acknowledgement frame 204-1,204-2 and in back-up system ring 2, is circulated.Because the above-mentioned the 1st and the 2nd ring is set up acknowledgement frame 204-1,204-2 and in common obsolete back-up system ring 2, is transmitted; And in each communication node 10, transmit to A port one 1 from B port one 4; Do not filter,, will transmit constantly forever so can not go out of use.
Therefore, in this execution mode 5, the method for the ring foundation affirmation processing that is used to address this is that is described.Figure 12 is the block diagram that the function of the communication node of representing that schematically this execution mode 5 is related constitutes.The communication process portion 17 of the communication node of this execution mode 5 constitutes, and on the basis of Fig. 7 of execution mode 3, also has wrapped state control part 51.In addition,, mark identical label, omit its explanation for the inscape identical with above-mentioned explanation.
Wrapped state control part 51 has following function, that is, and and the path status transitional information of the path status of this communication node of storage representation conversion in advance; Simultaneously, break off and constitute new loop at adjacent communication node, before this ring is set up and confirmed that processing finishes; The communication node that replace to break off and having inserted under the situation of other communication node; Port is controlled and made it can not remove wrapped state, set up acknowledgement frame until the ring of the communication node distribution of having broken off and go out of use, finally become more than or equal to frame in the time of circulation timei; Do not detect any ring and set up the state of acknowledgement frame (that is, setting up the affirmation processing until ring finishes).
Below, describe with reference to Figure 11-1 and Figure 13-1~Figure 13-2 pair action.Figure 13-1~Figure 13-the 2nd schematically is illustrated in the communication node that replace to break off, and has inserted the figure that ring under the situation of new communication node is set up an example confirming processed steps.At first; Shown in Figure 11-1; 1 website 10-1~4 website 10-4 are in the state that connects with normal condition; The ring of the 17-3 of communication process portion of 3 website 10-3 is set up acknowledgement frame distribution department 21, issues the 1st and the 2nd ring that writes sequence number " No.1 " and " No.2 " respectively at moment T1, moment T2 and sets up acknowledgement frame.
Then, suppose that 3 website 10-3 break down.Thus, the A port one 1-4 of the B port one 4-2 of 2 website 10-2 and 4 website 10-4 detects 3 website 10-3 and breaks down, and shown in the explanation of enforcement mode 1,2 website 10-2 carry out loopback at A port one 1-2, and 4 website 10-4 carry out loopback at B port one 4-4.At this moment, the 17-2 of communication process portion of 2 website 10-2 and 4 website 10-4, the wrapped state control part 51 of 17-4, storage representation path status convert the path status transitional information (Figure 13-1) of this situation of wrapped state into from pass-through state.
In addition, suppose before the 1st and the 2nd ring of discarded 3 website 10-3 distribution is set up acknowledgement frame 205-1,205-2 that replace the 3 website 10-3 that break off, 5 website 10-5 are linked in the network.At this moment, 3 website 10-3 detect 5 website 10-5 and are linked into this situation in the network, but because the path status transitional information is in the state that converts wrapped state from pass-through state into, so do not constitute loop (Figure 13-2) with 5 website 10-5.Promptly; Circulate in back-up system ring 2 in order to prevent that the ring by 3 website 10-3 distribution of explanation is set up acknowledgement frame among Figure 11-3, the wrapped state control part 51 of the 17-2 of communication process portion of 2 website 10-2 is controlled, and keeps the state that A port one 1-2 carries out loopback; Make B port one 4-2 be in out of use state; The wrapped state control part 51 of the 17-4 of communication process portion of 4 website 10-4 is controlled, and keeps the state that B port one 4-4 carries out loopback, makes port A11-4 be in out of use state.The affirmation processing of keeping the new loop that this state set up by loopback in Figure 13-2 finishes.
Then; As implement shown in the explanation of mode 2; Become will encircle on the loop set up all discarded states of acknowledgement frame 205-1,205-2 after; Wrapped state control part 51 controls of the communication process portion 17 of 2 website 10-2 and 4 website 10-4 make path status convert pass-through state into from wrapped state, and the path status transitional information also is updated to pass-through state.Thus, the ring of 2 website 10-2 and 4 website 10-4 is set up acknowledgement frame distribution department 21, in the network of the 5 website 10-5 that comprise new access, carries out new loop and sets up the affirmation processing.In addition; Because 2 website 10-2 and 4 website 10-4; Be that the ring that can know the loop when 3 website 10-3 break off is set up the communication node of confirming this situation of processing end; And be to have known that 5 website 10-5 are communication nodes of new this situation of communication node that inserts, so begin to carry out new loop foundation affirmation processing from above-mentioned 2 website 10-2 and 4 website 10-4.
According to this execution mode 5; Have following effect, that is, break off at adjacent communication node; The ring of this communication node 10 distribution is set up acknowledgement frame and is present in the back-up system and before going out of use; The communication node that replace to break off and having inserted under the situation of other communication node can prevent not have discarded ring by the communication node distribution of having broken off to set up acknowledgement frame, transmits on the new loop that the access through other communication node constitutes and make this ring set up the acknowledgement frame continuation.
Execution mode 6
In this execution mode 6, identical ground with execution mode 5 is set up structure and the processing method thereof that acknowledgement frame is trapped in the communication node in the back-up system ring to anti-stop ring and is described.The structure of the communication node that in this execution mode 6, uses is identical with the structure shown in Fig. 7 of execution mode 3.But the received frame Information Management Department 31 of the communication node of this execution mode 6 also has following function, promptly; Circulate on the back-up system ring 2, from B port one 4 to the frame of A port one 1 transmission; Only set up acknowledgement frame, obtain the received frame information that comprises its frame identifying information, contrast with the received frame information of storing in the received frame information storage part 32 to the ring of this communication node distribution; With the frame that received in the past situation inequality under; The received frame information stores that this ring is set up acknowledgement frame is in received frame information storage part 32, and under the situation identical with the frame that received in the past, discarded this ring is set up acknowledgement frame.In addition, received frame information storage part 32 is also stored received frame information 31 that obtain by the received frame Information Management Department, that ring this communication node distribution in the frame of back-up system ring 2 cocycles is set up acknowledgement frame.In addition,, mark identical label, omit its explanation for the inscape identical with above-mentioned explanation.
Below, pair action describes with reference to Figure 14-1~Figure 14-6.Figure 14-1~Figure 14-the 6th schematically is illustrated in the figure of an example of step that the ring that transmits on the back-up system ring is set up the waste treatment of acknowledgement frame.At first; Suppose at 1 website 10-1~4 website 10-4 to be under the state of normal connection that the modular system ring 1 between 1 website 10-1 and the 2 website 10-2 is cut off, and the dump of 1 website 10-1 becomes " OFF "; Like this; The A port one 1-2 of 2 website 10-2 detects modular system ring 1 and is cut off, and shown in the explanation of enforcement mode 1,4-2 carries out loopback at the B port one.In addition, the B port one 4-4 of 4 website 10-4 detects and can't communicate with 1 website 10-1, shown in the explanation of enforcement mode 1, carries out loopback (Figure 14-1) at A port one 1-4.
Then, suppose the power connection of 1 website 10-1 and become " ON " state that like this, the B port one 4-4 of 4 website 10-4 detects 1 website 10-1 and recovers this situation, from wrapped state to common pass-through state conversion.In addition, the modular system ring 1 that the B port one 4-1 of 1 website 10-1 behind the power connection detects between 1 website 10-1 and the 2 website 10-2 is cut off, and shown in the explanation of enforcement mode 1,1-1 carries out loopback at the A port one.Then, the ring of the 17-1 of communication process portion of 1 website 10-1 is set up acknowledgement frame distribution department 21 and is set up acknowledgement frame 220 (Figure 14-2) to back-up system ring 2 distribution sequence numbers for the ring of " No.1 " from A port one 1-1.
Then; If the disconnection of the modular system ring 1 between 1 website 10-1 and the 2 website 10-2 is repaired; Then the A port one 1-2 of the B port one 4-1 of 1 website and 2 websites detects the reparation of the modular system ring 1 between them, changes (Figure 14-3) from wrapped state to common pass-through state.Thus, 1 website 10-1~4 website 10-4 are connected by modular system ring 1, can under the state that does not carry out loopback, communicate.Therefore, the ring of 1 website distribution is set up acknowledgement frame 220 and is remained in the back-up system ring 2.
Then, suppose the process along with the time, ring is set up acknowledgement frame 220 and in back-up system ring 2, is transmitted, and arrives between 2 website 10-2 and the 1 website 10-1 (Figure 14-4).At this moment; Received frame Information Management Department 31 to the 17-2~17-4 of communication process portion of the 2 website 10-2~4 website 10-4 that receive of frame of transmission in the back-up system ring 2; The ring that receives 1 website distribution from B port one 4-2~14-4 is respectively set up acknowledgement frame 220; But,, transmit ring and sets up acknowledgement frame 220 so directly transmit to back-up system ring 2 from A port one 1-2~11-4 owing to be not the frame of this communication node distribution.
If 1 website 10-1 sets up acknowledgement frame 220 from the ring that B port one 4-1 receives the distribution of this website; Then the received frame Information Management Department 31 of the 17-1 of its communication process portion judges whether be that the ring that received is in the past set up acknowledgement frame 220 with reference to the received frame information of received frame information storage part 32.In the case,, set up the sequence number of acknowledgement frame 220 " No.1 ", in received frame information storage part 32, send (Figure 14-5) from A port one 1-1 then as the received frame information stores so obtain this ring owing to be not the frame that received in the past.
Then, ring is set up acknowledgement frame 220 and in back-up system ring 2, is circulated, but for 2 website 10-2~4 website 10-4, owing to be not that the ring that this website is issued is set up acknowledgement frame 220, so directly transmit.Then; If the B port one 4-1 of 1 website 10-1 receives ring and sets up acknowledgement frame 220; Then the received frame Information Management Department 31 of the 17-1 of its communication process portion is with reference to received frame information storage part 32; Owing to wherein there is the received frame information corresponding with sequence number " No.1 ", be the frame that received in the past so be judged as, discarded this ring is set up acknowledgement frame 220 (Figure 14-6).In addition; In above-mentioned explanation; Stressed after becoming normal condition; Discard on back-up system ring 2 processing that the ring of transmission is set up acknowledgement frame 220, but in the modular system ring 1 that returns to common state shown in Figure 14-3, the parallel ring that carries out explaining in the above-mentioned execution mode is set up and is confirmed to handle.
According to this execution mode 6; Owing to make the received frame Information Management Department 31 of communication process portion 17 have following function, that is, set up acknowledgement frame 220 to the ring that this communication node of transmission in back-up system ring 2 is issued; Obtain received frame information and based on this received frame information and the discarded ring that receives for the 2nd time is set up acknowledgement frame 220; So have following effect, can discard ring former because of some thereby that remain in the back-up system ring 2 and set up acknowledgement frame 220, it is trapped in the back-up system ring 2.In addition; Keep the record that receives and transmit owing to only set up acknowledgement frame 220 to the ring of this communication node distribution; Set up acknowledgement frame 220 for the ring of other node distribution and then only transmit, so have the effect that can suppress the frame of transmission in back-up system ring 2 is carried out load of processing.
Execution mode 7
In this execution mode 7; Ring under the following situation is set up the affirmation processing to be described; That is, set up the affirmation processing at ring and finish, under the state of common the transmitted communication information that token frame has transmitted in modular system ring 1; The communication node that constitutes network breaks down, and causes this communication node to break off from network.
Figure 15 is the block diagram that the function of the communication node of representing that schematically this execution mode 7 is related constitutes.The communication process portion 17 of the communication node of this execution mode 7 constitutes, and on the basis of Figure 12 of execution mode 5, also has frame waste treatment portion 61.In addition,, mark identical label, omit its explanation for the inscape identical with above-mentioned explanation.
When being in the state of ring foundation affirmation processing, the processing that frame waste treatment portion 61 discards the frame except ring is set up acknowledgement frame.For example; In the common transmit status that token frame transmits in loop; Break down and under the situation of breaking off at certain communication node that constitutes network; Then convert ring into and set up the state of confirming processing, discarded token frame that at this moment in the loop that reconstitutes, transmits or Frame etc. are set up the frame of confirming that processing is irrelevant with ring.
Figure 16-1~Figure 16-the 5th representes that schematically being transformed into ring from common communications status set up to confirm under the situation of treatment state, and deletion and ring are set up the figure of an example of the step of confirming to handle irrelevant frame.At first, hypothetical network is in common communications status., suppose that 3 website 10-3 receive token frame 208 from 2 website 10-2 here, obtain transmission route.Then; 3 website 10-3 are to the transmission source of token frame 208, promptly 2 website 10-2 send the token that these websites of expression (3 website 10-3) have obtained token frame 208 these situation and receive the notification frame 206 that finishes; Simultaneously after sending Frame 207, discharge token frame 208 (Figure 16-1) to communication node as the transmission object of data.
Then, suppose 3 website 10-3 break down (Figure 16-2).Thus, the A port one 1-4 of the B port one 4-2 of 2 website 10-2 and 4 website 10-4 detects 3 website 10-3 and breaks down, and shown in the explanation of enforcement mode 1,2 website 10-2 carry out loopback at A port one 1-2, and 4 website 10-4 carry out loopback at B port one 4-4.Thus, the token that becomes 3 website 10-3 distribution receives the notification frame 206 that finishes and remains in the state in the new loop that constitutes through loopback with Frame 207.In addition, detect 3 website 10-3 the break down 2 website 10-2 and the 4 website 10-4 of this situation, convert ring into from common communications status and set up and confirm treatment state.Therefore, the ring of the 17-2 of communication process portion of 2 website 10-2 and 4 website 10-4,17-4 is set up acknowledgement frame distribution department 21 and is got off the ground ring respectively and set up acknowledgement frame 209-1,210-1 (Figure 16-3).At this moment, 1 website 10-1 still is in common communications status.Therefore, receive the notification frame 206 that finishes, then owing to be not to be target, so directly send to B port one 4-1 with this website if receive token from A port one 1-1.
In addition, because 2 website 10-2 are at interval and have issued ring behind the official hour and set up the state of acknowledgement frame 209-2, wait for that the ring that this website sends sets up the reception wait state that acknowledgement frame returns so be in.At this moment, set up the frame of confirming that treatment state is irrelevant, then discard (Figure 16-4) if the frame waste treatment portion 61 of the 17-2 of communication process portion the frame that receives from A port one 1-2, detects and encircles.Here, the discarded token that receives receives the notification frame 206 that finishes.4 website 10-4 also at interval behind the official hour distribution ring set up acknowledgement frame 210-2.
At this moment, 1 website 10-1 carries out receiving from the 1st ring of 4 website 10-4 from A port one 1-1 and sets up acknowledgement frame 210-1, and the processing of sending to B port one 4-1.Thus, the ring of the 17-1 of communication process portion of 1 website 10-1 set up acknowledgement frame distribution department 21 know convert into the ring set up this situation of affirmation state, the ring that gets off the ground this website is set up acknowledgement frame.In addition; Since with set up acknowledgement frame 210-1 from the ring of 4 website 10-4 and compare, receive the Frame 207 of 3 website 10-3 distribution earlier, when receiving data frames 207, be not in ring and set up the affirmation state; So at this constantly, 1 website 10-1 does not carry out the discarded of Frame.
Then, the frame waste treatment portion 61 of the 17-2 of communication process portion of 2 website 10-2 carries out the processing (Figure 16-5) that the Frame 207 of the 3 website 10-3 distribution that receives from A port one 1-2 is discarded.Thus, after converting ring from common communications status into and set up confirming treatment state, the waste treatment of the frame of issuing when remaining in the common communications status in the new loop finishes.Then, according to the step of explanation in the execution mode 2~5, encircle to set up and confirm to handle.
According to this execution mode 7, have the effect that can avoid following situation, that is, when converting ring foundation affirmation treatment state into from common communications status, the frame of when being in communications status, issuing is trapped in the new loop.
Execution mode 8
In this execution mode 8, the site information notifier processes is described, this site information notifier processes is that all communication nodes on network send the site information relevant with each communication node after above-mentioned execution mode 2~6 intermediate ring roads are set up.
Figure 17 is the figure that the function of the communication node of representing that schematically this execution mode 8 is related constitutes.The communication process portion 17 of this communication node has ring and set up to confirm handling part 20, site information management department 71, frame calculating part circulation timei 72, frame storage part circulation timei 73, site information notice finish detection unit 74 and network configuration information storage part 75.In addition, ring foundation affirmation handling part 20 is the execution ring of explanation in each execution mode 2~6 to be set up obtain after communication process portion 17 each interior handling part of confirming processing make up.In addition, for the identical inscape of using in the above-described embodiment of figure, mark identical label, omit its explanation.
After above-mentioned execution mode 2~6 intermediate ring roads are set up; All communication nodes in the network after site information management department 71 sets up to loop; Every at a distance from official hour issue station dot information notification frame, this site information notification frame comprises the site information of this required communication node of the structural information that generates this network.In this site information notification frame, write the moment of this site information notification frame of distribution.In addition, site information management department 71 is after the moment that receives the site information notification frame of self sending first, and stoppage of publication site information notification frame is discarded the site information notification frame that receives simultaneously.Here, so-called site information comprises: the MAC Address of this communication node; Be used to discern this communication node identifying informations such as website sequence number of this communication node; Be in the wrapped state information which port of expression under the situation of wrapped state is in wrapped state at this communication node; Be positioned at the MAC Address of the communication node of upstream and downstream.In addition, if site information management department 71 receives the site information notification frame that other communication nodes send, then this site information is stored in the network configuration information storage part 75.
Frame calculating part circulation timei 72 in the site information notification frame of this communication node distribution when A port one 1 returns; Calculating receives poor between the distribution constantly that writes in the moment and this site information notification frame of site information notification frame, obtains time that the site information notification frame circulates in loop, is frame circulation timei.In addition, frame storage part circulation timei 73 is stored the frame circulation timei that calculates through frame calculating part circulation timei 72.
After stoppage of publication site information notification frame; Site information notifies detection unit 74 judgements that finish to begin from the site information notification frame that receives this communication node or the distribution of other communication nodes at last; Whether the state that on network, does not detect the site information notification frame continued more than or equal to the frame time of circulation timei; At this state continuance more than or equal under the frame situation of circulation timei, all communication nodes that are judged to be on the network have all obtained site information each other.
Network configuration information storage part 75 is stored the site information corresponding with the communication node that constitutes the network after loop is set up, is network configuration information.That is, network configuration information is that the site information that receives from other communication nodes and this communication node are carried out information of managing accordingly.Through this network configuration information, each communication node can be known the connection status of the network after loop is set up etc.
Figure 18-1~Figure 18-the 6th schematically representes the figure of an example of the step of the site information notifier processes in the annular communication system.At first, the site information management department 71 of the 17-1 of communication process portion of 1 website 10-1 will write distribution constantly and the site information notification frame that comprises the site information of 1 website 10-1 send (Figure 18-1) from B port one 4-1 to modular system ring 1.Here; Suppose that 1 website 10-1 sends the 1st site information notification frame 211-1 of the site information (1-info) that comprises 1 website 10-1 at moment T1; At the moment T2 behind moment T1 process official hour, the 2nd site information notification frame 211-2 that will comprise the site information (1-info) of 1 website 10-1 is sent in the modular system ring 1.
Then, because 1 website 10-1 does not receive the site information notification frame that self sends, so further send the 3rd and the 4th site information notification frame 211-3,211-4 respectively to modular system ring 1 at moment T3, T4.Then, suppose the 1st site information notification frame 211-1 that 1 website 10-1 issues at first between 4 website 10-4 and 1 website 10-1, disappear (Figure 18-2) because of some reason.In addition; If the communication node 10-2~10-4 except 1 website 10-1 receives the site information notification frame from 1 website 10-1, then the site information management department 71 of the 17-2~17-4 of its communication process portion duplicates and site information and 1 website 10-1 is stored among network configuration information storage part 75-2~75-4 accordingly.
Then, 1 website 10-1 receives the 2nd site information notification frame 211-2 that self issues through A port one 1-1.For 1 website 10-1, because the 1st site information notification frame 211-1 disappears on network, thereby the 2nd site information notification frame 211-2 becomes the site information notification frame that receives first, so store its time of reception of T6.Frame calculating part circulation timei 72 of the 17-1 of communication process portion of 1 website 10-1 deducted the issuing date T2 that writes in this frame and calculates frame cycle time T (=T6-T2) (Figure 18-3) from time of reception of the 2nd site information notification frame 211-2 the T6.The frame that calculates is stored in frame storage part circulation timei 73 circulation timei.In addition, the site information management department 71 of the 17-1 of communication process portion of 1 website 10-1, the 2nd site information notification frame 211-2 that returns is discarded from network.In addition, because the site information management department 71 of the 17-1 of communication process portion of 1 website 10-1 has received the site information notification frame that self issues first, so the notification frame of stoppage of publication site information after this (Figure 18-4).In addition, before this moment, 1 website 10-1 has been issued to the 5th site information notification frame 211-5.
Then; 1 website 10-1 receives the site information notification frame of this website distribution successively; And carrying out waste treatment, the 5th site information notification frame 211-5 through receiving last distribution also discards, and makes the site information notification frame (Figure 18-5) that on network, does not have 1 website 10-1 distribution.The processing of above Figure 18-1~Figure 18-5 is undertaken by other 2 website 10-2~4 website 10-4 that constitute network simultaneously.
If in Figure 18-5, discarded all site information notification frame 211-1~211-5 that 1 website 10-1 issues from network, then the site information of the 17-1 of communication process portion of 1 website 10-1 notifies the transmission of site information notification frame on the detection unit 74 beginning Measurement Network that finish to stop fully whether having continued the frame circulation timei more than or equal to obtaining among Figure 18-3.That is,, judge before overtime, whether to detect the site information notification frame that other communication nodes 10-2~10-4 sends to timer settings frame circulation timei.In addition, in this is judged, receive the site information notification frame that other communication nodes 10-2~10-4 sends from A port one 1-1 at every turn, then reset timer.This is for the site information that not only will confirm this website has been sent to all communication node 10-1~10-4, will confirm that also the site information of other websites is sent to all communication node 10-1~10-4 also identically.Then; After stoppage of publication site information notification frame; Do not observe on the network site information notification frame state continuance more than or equal under the situation during the frame cycle time T; That is, under the situation of timer expired, other all communication nodes that site information notifies the detection unit 74 that finishes to be judged to be on the network have sent site information (Figure 18-6) to all communication nodes too.In addition, the site information that comprises in the site information notification frame that Figure 18-6 " 2-info ", " 3-info ", " 4-info " expression 2 websites, 3 websites, 4 websites send separately.
According to this execution mode 8; Because after loop is set up; The site information notification frame of the site information that comprises this communication node is circulated,, can confirm that other websites have received the site information notification frame so return this website once more through this site information notification frame.Thus; Because and unlike the situation of constructing through Ethernet (registered trade mark) etc. in the prior art, after notifying site information to each communication node, need be from the reception response message of each communication node; So have following effect; That is, can cut down required number of frames, can easily confirm that the site information of all communication nodes is shared simultaneously.
In addition; Because the continuous issue station of communication node dot information notification frame is in the moment that the site information notification frame of self issuing is returned first, stoppage of publication site information notification frame; So have following effect; That is, can prevent to postpone the reply time in the time of to shorten the site information notification frame simultaneously and disappear by on the path, the disappear notice of the site information that causes of site information notification frame.
In addition; Because the frame circulation timei that measuring station dot information notification frame circulates; And use all communication nodes on this frame decision network circulation timei whether to send site information each other; So have following effect, that is, can set accordingly with loop structure (quantity of communication node) and be used to judge whether all communication nodes have sent the time (timeout value) of site information each other.Thus, because timeout value is different in a fairly large number of loop structure of the loop structure of the negligible amounts of communication node and communication node, so under the situation of the negligible amounts of communication node, can more promptly accomplish the setting that site information exchanges.
Industrial applicibility
As stated, the annular communication system based on Ethernet (registered trade mark) involved in the present invention is applicable to the network that is made up of a plurality of communication nodes.

Claims (17)

1. communication node; It is used to constitute communication system; To connect with ring-type through a plurality of communication nodes that 1 pair 1 of Ethernet connects in this communication system, this Ethernet is by modular system ring and back-up system ring and dicycloization, and this modular system ring is used under the normal situation of communications status, carrying out the transmission of frame; This back-up system ring is used under the unusual situation of communications status, carrying out the transmission of frame
It is characterized in that this communication node has:
The 1st port, it has the input part of said modular system ring and the efferent of said back-up system ring;
The 2nd port, it has the efferent of said modular system ring and the input part of said back-up system ring; And
Communications processor element, it receives processing to the frame of importing from the input part of said the 1st port under the said the 1st and the 2nd normal situation of port; Send this frame from the efferent of said the 2nd port; And adjacent communication node between produce under the situation of communication abnormality, to from the port that is connected with said adjacent communication node not the frame of the input part input of the port of the same side receive processing, from this frame of efferent transmission of the port identical with the input part of this frame of input; Promptly; Carry out loop back processing being, carry out at other communication nodes under the situation of said loop back processing being, the frame of importing from the input part of said the 2nd port is not received processing; And send this frame from the efferent of said the 1st port
Said communications processor element has:
Ring is set up the acknowledgement frame issuance unit; Its when power connection or this communication node carry out loop back processing being and constitute under the situation of new loop; Distribution writes distribution ring constantly and sets up acknowledgement frame; Set up acknowledgement frame if receive the said ring that circulation is returned in said loop, then the later ring of the stoppage of publication is set up acknowledgement frame;
Frame computing unit circulation timei, it is set up in the moment of acknowledgement frame from receiving by the said ring that said ring is set up acknowledgement frame issuance unit distribution and circulation is returned said loop, deduct said ring set up in the acknowledgement frame distribution constantly, calculate frame circulation timei; And
Ring is set up identifying unit, and it judges after the said ring of the stoppage of publication is set up acknowledgement frame, whether during more than or equal to said frame circulation timei in, do not detect the ring that in said loop, transmits and set up acknowledgement frame.
2. communication node according to claim 1 is characterized in that,
The said ring of said communications processor element is set up the acknowledgement frame issuance unit and is had at said ring and set up the function that writes the intrinsic information that is used for discerning uniquely this frame in the acknowledgement frame,
Said communications processor element also has:
Received frame information memory cell, its storage received frame information, this received frame information comprise transmission sources traffic node and the said intrinsic information that ring that other communication nodes in the said communication system receive is set up acknowledgement frame; And
The received frame information management unit; It will be according to set up the said received frame information that acknowledgement frame obtains from the ring of said other communication nodes; Compare with the received frame information in the said received frame information memory cell corresponding to said other communication nodes; Set up under the situation that acknowledgement frame is the frame that received in the past discarded this frame at the said ring that receives.
3. communication node according to claim 1 is characterized in that,
Said communications processor element also has the wrapped state control unit; It breaks from loop in the 1st adjacent communication node adjacent with this communication node; Carry out loop back processing being and after forming new loop; And before the ring that said ring is set up this loop that the acknowledgement frame issuance unit carries out is set up and is confirmed that processing finishes; The 2nd adjacent communication node accesses under the locational situation of said the 1st adjacent communication node, the ring of said loop set up confirm processing before finishing during in, control makes the state of keeping said loopback with the adjacent communication node of said the 2nd adjacent communication node.
4. communication node according to claim 2 is characterized in that,
Said received frame information management unit also has following function; Promptly; State-transition carry out loop back processing being from this communication node or other communication nodes is under the normal situation; Obtain comprise from the ring of the input part of the 2nd port input set up set up acknowledgement frame by the ring of this communication node distribution the acknowledgement frame intrinsic information in interior received frame information
In said received frame information memory cell, do not exist under the situation of identical received frame information, with the said received frame information stores of being obtained in said received frame information memory cell,
Under the situation that has identical received frame information, discarded said ring is set up acknowledgement frame.
5. communication node according to claim 1 is characterized in that,
Said communications processor element also has frame waste treatment unit; The state that it communicates with token passing scheme transmitting said loop from token frame; Because adjacent communication node breaks from said loop; Set up under the situation of confirming treatment state the frame in the discarded frame that receives except ring is set up acknowledgement frame and change ring into.
6. communication node according to claim 1 is characterized in that,
If the said ring of said communications processor element is set up the acknowledgement frame issuance unit and is detected the reception that ring is set up acknowledgement frame, then convert ring into and set up the affirmation treatment state, get off the ground ring and set up acknowledgement frame.
7. communication node according to claim 1 is characterized in that,
Said communications processor element has the site information administrative unit; It is after ring is set up affirmation processing end; Issue station dot information notification frame; And be received in the said site information notification frame that circulation is returned in the said loop, comprise the required site information relevant of generation network configuration information in this site information notification frame with this communication node.
8. communication node according to claim 7 is characterized in that,
The said site information administrative unit issue station dot information notification frame of said communications processor element circulates in said loop and returns until the said site information notification frame of being issued.
9. communication node according to claim 8 is characterized in that,
The said site information administrative unit of said communications processor element also has following function; That is, the distribution that in said site information notification frame, writes this frame constantly, if receive the said site information notification frame of returning in said loop cocycle; The later site information notification frame of the stoppage of publication then
Said communications processor element also has:
Frame computing unit circulation timei, it is from receiving in the moment by distribution of said site information administrative unit and the said site information notification frame that circulation is returned said loop, deduct in the said site information notification frame distribution constantly, calculate frame circulation timei; And
The site information notice identifying unit that finishes, it judges after the said site information notification frame of the stoppage of publication, whether during more than or equal to said frame circulation timei in, do not detect the site information notification frame of in said loop, transmitting.
10. the ring of a communication system is set up confirmation method; To connect with ring-type through 1 pair 1 a plurality of communication nodes that connect of Ethernet in this communication system; This Ethernet is by modular system ring and back-up system ring and dicycloization; This modular system ring is used under the normal situation of communications status, carrying out the transmission of frame, and this back-up system ring is used under the unusual situation of communications status, carrying out the transmission of frame
It is characterized in that this ring is set up confirmation method and comprised:
Ring is set up acknowledgement frame distribution operation; In this operation, said communication node when power connection or this communication node carry out loop back processing being and constitute under the situation of new loop, to ring set up write this frame in the acknowledgement frame distribution constantly; And issue this ring and set up acknowledgement frame; And, set up acknowledgement frame if receive ring, then the later ring of the stoppage of publication is set up acknowledgement frame; And
Ring set up to be confirmed operation, and in this operation, communication node is set up the ring of issuing in the acknowledgement frame distribution operation and set up acknowledgement frame through being received in said ring, confirms that loop set up this situation,
Said ring is set up and is confirmed that operation comprises:
Frame calculation process circulation timei in this operation, is set up in the moment of acknowledgement frame from receiving said loop the said ring that circulation returns, deduct said ring set up in the acknowledgement frame distribution constantly, calculate frame circulation timei; And
Ring set up to be judged operation, and in this operation, after the said ring of the stoppage of publication was set up acknowledgement frame, the transmission that the above ring of said loop is set up acknowledgement frame had stopped more than or equal under the said frame situation of circulation timei, confirms that said loop sets up.
11. the ring of communication system according to claim 10 is set up confirmation method, it is characterized in that,
Set up in the acknowledgement frame distribution operation at said ring, set up at said ring and write the intrinsic information that is used for discerning uniquely this frame in the acknowledgement frame,
This ring is set up confirmation method and is comprised:
Received frame information stores operation, in this operation, storage received frame information, this received frame information comprise transmission sources traffic node and the said intrinsic information that ring that other communication nodes in the said communication system receive is set up acknowledgement frame; And
Received frame information management operation; In this operation; To set up the said received frame information that acknowledgement frame obtains according to the ring that receives from said other communication nodes; Comparing with the received frame information corresponding to said other communication nodes of having stored, is under the situation of the frame that received in the past at this frame that receives, discarded this frame.
12. the ring of communication system according to claim 10 is set up confirmation method, it is characterized in that,
Also comprise loopback control operation, in this operation,
Break from said loop at the 1st communication node, carry out loop back processing being and after constituting new loop, and to the said ring of this new loop set up confirm that operation finishes before, the 2nd communication node accesses under the locational situation of said the 1st communication node,
The ring of said new loop set up confirm processing before finishing during in, make the state of keeping loop back processing being with the adjacent communication node of said the 2nd communication node.
13. the ring of communication system according to claim 11 is set up confirmation method, it is characterized in that,
In said received frame information management operation, also carry out following processing; Promptly; State-transition carry out loop back processing being from this communication node or other communication nodes is under the normal situation; Obtain comprise from the ring of the input part of the 2nd port input set up set up acknowledgement frame by the ring of this communication node distribution the acknowledgement frame intrinsic information in interior received frame information
Do not exist corresponding to the frame that is obtained under the situation of the received frame information of having stored, the said received frame information that storage is obtained,
Exist corresponding to the frame that is obtained under the situation of received frame information, discarded said ring is set up acknowledgement frame.
14. the ring of communication system according to claim 10 is set up confirmation method, it is characterized in that,
Also comprise frame waste treatment operation, in this operation,
The state that communicates with token passing scheme transmitting said loop from token frame because communication node breaks from said loop, encircles under the situation of setting up the said ring foundation affirmation operation of confirming and convert into,
Frame in the discarded frame that receives except ring is set up acknowledgement frame.
15. the ring of communication system according to claim 10 is set up confirmation method, it is characterized in that,
After said ring is set up the affirmation operation, also comprise site information management operation, in this operation, dispatching station dot information notification frame, this site information notification frame comprise the required site information relevant with this communication node of generation network configuration information.
16. the ring of communication system according to claim 15 is set up confirmation method, it is characterized in that,
In said site information management operation, issue station dot information notification frame circulates in said loop and returns until the said site information notification frame of being issued.
17. the ring of communication system according to claim 16 is set up confirmation method, it is characterized in that,
In said site information management operation, the distribution that in said site information notification frame, writes this frame constantly, if receive the said site information notification frame of being issued, the later site information notification frame of the stoppage of publication then,
This ring is set up confirmation method and is also comprised:
Frame calculation process circulation timei; In this operation; From the moment that receives said loop that circulation returns by the said site information notification frame of said site information management operation distribution, deduct in the said site information notification frame distribution constantly, calculate frame circulation timei; And
Site information is notified the judgement operation that finishes; In this operation; After the said site information notification frame of the stoppage of publication; The transmission of the above site information notification frame of said loop has stopped being judged to be the exchange of between the communication node on the said network, having carried out site information more than or equal under the said frame situation of circulation timei.
CN2009102581662A 2006-06-30 2006-06-30 Communication node and ring forming method and ring establishing method for communication system Active CN101741675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102581662A CN101741675B (en) 2006-06-30 2006-06-30 Communication node and ring forming method and ring establishing method for communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102581662A CN101741675B (en) 2006-06-30 2006-06-30 Communication node and ring forming method and ring establishing method for communication system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2006800551915A Division CN101479996B (en) 2006-06-30 2006-06-30 Communication node, communication system ring configuration method, and ring establishing method

Publications (2)

Publication Number Publication Date
CN101741675A CN101741675A (en) 2010-06-16
CN101741675B true CN101741675B (en) 2012-11-14

Family

ID=42464601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102581662A Active CN101741675B (en) 2006-06-30 2006-06-30 Communication node and ring forming method and ring establishing method for communication system

Country Status (1)

Country Link
CN (1) CN101741675B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9876857B2 (en) * 2014-08-27 2018-01-23 Hyundai Motor Company Operation method of communication node in network
CN112965847A (en) * 2021-03-03 2021-06-15 北京百度网讯科技有限公司 Fault processing method, device, equipment and storage medium of micro-service architecture

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381647B1 (en) * 1998-09-28 2002-04-30 Raytheon Company Method and system for scheduling network communication

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6381647B1 (en) * 1998-09-28 2002-04-30 Raytheon Company Method and system for scheduling network communication

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
JP特开2000-278306A 2000.10.06
JP特开2002-101107A 2002.04.05

Also Published As

Publication number Publication date
CN101741675A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101479996B (en) Communication node, communication system ring configuration method, and ring establishing method
US7406029B1 (en) Fault tolerant optical data communication network having auto discovery
JP4503678B2 (en) Token ring communication method for communication node and ring communication system
CN102307131B (en) Double ring network system, communication control method thereof, and transmission station
CN100534048C (en) Distributed Ethernet system and method for inspecting fault based thereon
EP2458797B1 (en) Method, device and system for updating ring network topology information
US9356830B2 (en) Communication device for a redundantly operable industrial communication network and method for operating the communication device
JP5776618B2 (en) Network switch
JP2017505586A (en) Bus participant apparatus and method of operation of bus participant apparatus
WO2020243542A1 (en) Power outage detection and reporting
JP4273312B2 (en) SIGNAL RELAYER, SWITCHING DEVICE AND METHOD FOR DETECTING CONNECTION RELATIONSHIP BETWEEN
CN101741675B (en) Communication node and ring forming method and ring establishing method for communication system
CN101547131B (en) EAPS looped network single-channel fault location and protection method
CN101309525A (en) Route recovery method according to failure positioning in automatic exchange optical network
CN101494801B (en) Method, system and network appliance for fault recovery
CN105357040B (en) A kind of annular carries the method and system of MOST network abscission ring detection
CN101848128A (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
JP4100528B2 (en) Loop network configuration management method and loop network system
CN106301882A (en) Cable with spare signal line for automatic fault recovery
CN101820374A (en) The method for issuing token of communication node and annular communication system, token-ring communication method
JP2000183929A5 (en)
CN102325071A (en) Communication node and token-ring communication method
JP4995294B2 (en) Communication node and token ring communication method
JP4938875B2 (en) Communication node and token ring communication method
CN101820375A (en) The method for issuing token of communication node and annular communication system, token-ring communication method

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