CN101741675A - 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
CN101741675A
CN101741675A CN200910258166A CN200910258166A CN101741675A CN 101741675 A CN101741675 A CN 101741675A CN 200910258166 A CN200910258166 A CN 200910258166A CN 200910258166 A CN200910258166 A CN 200910258166A CN 101741675 A CN101741675 A CN 101741675A
Authority
CN
China
Prior art keywords
frame
ring
communication node
communication
loop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910258166A
Other languages
Chinese (zh)
Other versions
CN101741675B (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 by 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 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 this unusual part is separated from network, communicating in normal part.
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 that send can not clash.In this token transfer mode, token is transmitted on the 1st loop, this token is caught and taken to the communication node of wanting to send data, replace this token and transmit and oneself want the data that send, after sending end, once more token is discharged in the network, thereby is once to utilize cable all the time by 1 station terminal.
Non-patent literature 1:Karl F.Pieper, William J.Cronin Jr., WendyH.Michael work, eaves gutter still device prison translate, " the Agencies Building of FDDI skill Intraoperative Details Fine-100Mbps LAN-", and front page, the upright altogether Co., Ltd. that publishes, on August 30th, 1993, p.67-73
Summary of the invention
In addition, at present, popularized connecting the mode of building network between the communication node by 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: by 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 by 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, have following problems in stelliform connection topology configuration, 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 by 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 the specification of FDDI can't be directly used in the problem in the 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 uses in the annular communication system based on Ethernet (registered trade mark), 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 finds can eliminate fault under the situation of fault in the ring topology network that utilizes Ethernet (registered trade mark) to construct.
In addition, its purpose is to obtain the path establishment method in a kind of annular communication system, and the annular communication system that it is used for being defined in based on Ethernet (registered trade mark) communicates required step between communication node.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 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 by 1 pair 1 a plurality of communication nodes that connect of Ethernet (registered trade mark) in this communication system, this Ethernet is by modular system ring and back-up system ring and dicycloization, this modular system ring is used for carrying out the transmission of frame under the normal situation of communications status, this back-up system ring is used for carrying out the transmission of frame under the unusual situation of communications status, it is characterized in that, this communication node has: the 1st port, and it has the input part of described modular system ring and the efferent of described back-up system ring; The 2nd port, it has the efferent of described modular system ring and the input part of described back-up system ring; And communications processor element, it is when proper communication, frame from the input part input of the described modular system ring of described the 1st port is received processing, carry out the transmission of described frame handles from the efferent of the described modular system ring of described the 2nd port, because of communication abnormality, other communication nodes carry out under the situation of loop back processing being, handle and do not receive at only transmitting from the frame of the input part input of the described back-up system ring of described the 2nd port, carry out the transmission of frame handles from the efferent of the back-up system ring of described the 1st port, and adjacent communication node between produce under the situation of communication abnormality, the port that will be connected with the described adjacent communication node not modular system ring of the port of the same side is connected with the back-up system ring, carry out loop back processing being, described 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 described ring that loops back in described loop, then the later ring of the stoppage of publication is set up acknowledgement frame; Frame computing unit circulation timei, it sets up acknowledgement frame issuance unit distribution and the described ring that loops back was set up in the moment of acknowledgement frame from receiving by described ring described loop, deduct described ring set up in the acknowledgement frame distribution constantly, calculate frame circulation timei; And ring sets up identifying unit, and it judges after the described ring of the stoppage of publication is set up acknowledgement frame, whether during more than or equal to described frame circulation timei in, do not detect the ring that in described loop, transmits and set up acknowledgement frame.
The effect of invention
According to the present invention, because by communication node is connected to ring-type, and do not need to 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 represents 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 that schematically represents the state that breaks 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 present embodiment 2 is related constitutes.
Fig. 6-the 1st schematically represents the figure (its 1) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 6-the 2nd schematically represents the figure (its 2) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 6-the 3rd schematically represents the figure (its 3) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 6-the 4th schematically represents the figure (its 4) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 6-the 5th schematically represents the figure (its 5) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 6-the 6th schematically represents the figure (its 6) of an example of the step that the ring in the annular communication system set up to confirm is handled.
Fig. 7 is the block diagram that the function of the communication node of representing that schematically present embodiment 3 is related constitutes.
Fig. 8-the 1st schematically represents to encircle the figure (its 1) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 2nd schematically represents to encircle the figure (its 2) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 3rd schematically represents to encircle the figure (its 3) of an example setting up the discarded treatment step of acknowledgement frame.
Fig. 8-the 4th schematically represents 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 represents to take place the figure (its 1) of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.
Figure 10-the 2nd schematically represents to take place the figure (its 2) of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.
Figure 10-the 3rd schematically represents to take place the figure (its 3) of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.
Figure 10-the 4th schematically represents to take place the figure (its 4) of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.
Figure 10-the 5th schematically represents to take place the figure (its 5) of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.
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 present embodiment 5 is related constitutes.
Figure 13-the 1st schematically is illustrated in the communication node that replace to disconnect, and has inserted the figure (its 1) that ring under the situation of new communication node is set up an example confirming the step handled.
Figure 13-the 2nd schematically is illustrated in the communication node that replace to disconnect, and has inserted the figure (its 2) that ring under the situation of new communication node is set up an example confirming the step handled.
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 present embodiment 7 is related constitutes.
Figure 16-the 1st schematically represents 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 represents 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 represents 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 represents 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 represents 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 present embodiment 8 is related constitutes.
Figure 18-the 1st schematically represents 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 represents 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 represents 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 represents 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 represents 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 represents 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, explain the preferred implementation of the ring configuration method and the ring establishing method of communication node involved in the present invention and communication system 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 represents 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 by the mode of Ethernet (registered trade mark) with 1 pair 1.Here, with Ethernet (registered trade mark) cable that connects between communication node 10-1~10-4, physically undertaken two-foldization by 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, in the counterclockwise direction frame is transmitted that is represented by dotted lines.Modular system ring 1 is the loop that uses when the communication node 10-1~10-4 that constitutes annular communication system and cable are in normal condition.In addition, back-up system ring 2 is in the communication node 10-1~10-4 that constitutes annular communication system and in the cable any one loop that uses under the unusual situation to take place, as described later shown in, be used for this unusual part being separated from system by 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 for connecting Ethernet (registered trade mark) cable between adjacent communication node; 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 and 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 by A port one 1 receives is at first read in communication process portion 17, in the case of necessary, 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 by 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, carry out predetermined process in the case of necessary, and the frame that transfers to A port one 1 from B port one 4 in communication node 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 to be used for the token frame that obtaining communication weighs by each communication node 10-1~10-4 to carry out in modular system ring 1.Want the modular system input part 12 of the communication node that communicates 10, be received in the token frame of transmission in the modular system ring 1 by 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 the following description, 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 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 by the connection of Ethernet (registered trade mark) ring-type.
Execution mode 1
In present embodiment 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 that schematically represents the state that breaks down in the annular communication system.Suppose in the network that as shown in Figure 1 the communication node 10-1~10-4 of 1 website~4 websites is connected with ring-type, when using modular system ring 1 to carry out common communication, as shown in Figure 3, cable takes place between 3 website 10-3 and 4 website 10-4 disconnect.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 by 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 disconnected, 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, between transmission expression 3 website 10-3 and the 4 website 10-4 abnormity notifying signal that cable disconnects this situation takes place.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 disconnected, 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.
By above-mentioned processing, 3 website 10-3 and 4 website 10-4 carry out loopback with transmission path, use back-up system ring 2, 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, export to back-up system ring 2 from the back-up system efferent of this A port one 1-3, 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, 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, disconnect 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.
The 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 by 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 1 of this communication node 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 by 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.In the same manner, the 17-4 of communication process portion of 4 website 10-4 knows that by 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 by this loop.
According to present embodiment 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 by carrying out loopback, thus have can realize possessing anti-fault, the effect of annular communication system that reliability is high.In addition, because by communication node 10 is connected with ring-type, thereby do not need to 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, with existing the part of incorrect link to separate, so have the effect that can easily carry out system and arranging.
Execution mode 2
In present embodiment 2, the method for the affirmation ring connection status of carrying out behind the state that correctly connects between the port with each communication node by Ethernet (registered trade mark) cable 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 may something unexpected happened.For example, exist 3 website 10-3 owing to power system failure, even energized, the also situation that 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 following describes ring and set up the step of confirming processing, 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 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 present embodiment 2 is related constitutes.The communication process portion 17 of the communication node 10 of present embodiment 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 is set up acknowledgement frame distribution department 21 and is set up acknowledgement frame every official hour 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 judgements and is set up acknowledgement frame from the ring that receives the distribution of this communication node or other communication nodes at last, whether do not detect the state that ring sets up acknowledgement frame on network 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 schematically represents the figure of an example of the step that the ring in the annular communication system set up to confirm is handled.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, be sent in the modular system ring 1 so further respectively the 3rd and the 4th ring is set up acknowledgement frame 201-3,201-4 at moment T3, T4 because 1 website 10-1 receives the ring that self sends.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 receives the 2nd ring of self issuing by A port one 1-1 and sets up acknowledgement frame 201-2, and stores this time of reception of 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 issuing from the discarded 1 website 10-1 of network in Fig. 6-5 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 do not exist any ring to set up the time of acknowledgement frame on network, more than or equal to the frame circulation timei of obtaining in Fig. 6-3.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 similarly set up loop.In addition, encircling the moment of setting up acknowledgement frame from observing 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 the above description, showing ring that each website uses this website distribution 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 at all rings that return, with its mean value or maximum etc. as frame circulation timei to timer settings.
According to present embodiment 2, because under the situation that the communication node ring-type is connected, use ring to set up the time of reception of acknowledgement frame and issuing date thereof and calculate frame circulation timei, the ring of last transmission is set up acknowledgement frame from the network, in during more than or equal to frame circulation timei, 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, with its coefficient of safety that multiply by the number of the communication node 10 that constitutes annular communication system and be used to get rid of error, 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, may set up acknowledgement frame by residual ring by the communication node distribution that has disconnected.In present embodiment 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 present embodiment 3 is related constitutes.The communication process portion 17 of the communication node of present embodiment 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 at 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 that sends 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 every the ring of official hour distribution receiving certain communication node 10, 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 to set up at ring and write the function that is used for frame identifying informations such as sequence number that 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 writes with 1 sequence number that increases progressively in the acknowledgement frame etc. setting up every the ring of official hour distribution.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 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 also obtain and store the received frame information of setting up acknowledgement frame from the ring of B port one 4 transmissions in the same manner.
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, the light that detects from 3 website 10-3 interrupts this situation, be under the situation of cable perhaps at cable, 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 state in the new loop of setting up by loopback.Then, shown in Fig. 8-2, the 1st ring is set up acknowledgement frame and is transmitted in back-up system ring 2.
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 the 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).
In the same manner, 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 similarly 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 disconnect 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, the 1 website 10-1 that the 1st and the 2nd ring that receives in back-up system ring 2 transmission is set up acknowledgement frame 202-1,202-2 does not carry out waste treatment, as explanation at first, be because following hypothesis promptly, is only carried out filtration treatment at 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, also the Frame that can send at the Frame that sends from A port one 1 with from B port one 4 the two carry out waste treatment.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 in Fig. 8-3, by 1 website 10-1 the 1st and the 2nd ring be set up acknowledgement frame 202-1,202-2 and carry out waste treatment.But, if judge whether the processing of discarding at 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, it is slower than the transmission speed of cable that processing speed becomes, thereby may 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 judgement ring to set up the new and old of acknowledgement frame, so do not need " time " (the distribution moment etc.) in received frame information shown in above-mentioned example.But, under the situation that the frame identifying information forms by other marks or random value, in received frame information, must comprise and store " time " (the distribution moment etc.).This is because by adding temporal information, can set up the new and old of acknowledgement frame to the ring that receives and judge.
According to present embodiment 3, owing to set up in the process of confirming to handle at ring, certain communication node 10 breaks down, cause this communication node 10 to break from network, after constituting new loop, the discarded ring by communication node 10 distribution that disconnected that remains in this loop is set up acknowledgement frame, is trapped in effect on the loop so have the useless frame that can prevent the communication node 10 that disconnected.
Execution mode 4
In execution mode 2, set up acknowledgement frame 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, at the new loop of setting up after carrying out loopback, 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 present embodiment 4, illustrate and encircle the method handled confirmed of setting up behind the loopback.
The communication node of present embodiment 4 has the structure identical with Fig. 7 of execution mode 3.But, except set up the identification serial number that writes the distribution moment in the acknowledgement frame and be used for frame is discerned 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 by 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, that is, set up acknowledgement frame if receive the ring of this communication node 10 distribution, then under the situation that the path status information in frame is identical with current path status, stoppage of publication ring is set up acknowledgement frame, but under the situation different of the path status information in frame, continue the distribution ring and sets up acknowledgement frame, simultaneously with current path status, 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 represents to take place the figure of an example of the step that the confirming electrical connection status of the new loop that forms behind the loopback handles.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 by loopback under the situation in the new loop that constitutes, discard by 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, so continue to set up acknowledgement frame (Figure 10-3) every official hour distribution ring.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, by 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 from observing ring at last by confirming, the ring confirming electrical connection status processing behind the loopback finishes.
According to present embodiment 4, has following effect, promptly, the communication node 10 that disconnects 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, even so 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 and is remained in state (Figure 11-2) in the new loop that constitutes by loopback.
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 disconnect, 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 is circulated in back-up system ring 2.Because the above-mentioned the 1st and the 2nd ring is set up acknowledgement frame 204-1,204-2 and is transmitted in common obsolete back-up system ring 2, 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 present embodiment 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 present embodiment 5 is related constitutes.The communication process portion 17 of the communication node of present embodiment 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, promptly, the path status transitional information of the path status of this communication node of storage representation conversion in advance, simultaneously, constitute new loop in adjacent communication node disconnection, before this ring is set up and is confirmed that processing finishes, the communication node that replace to disconnect and having inserted under the situation of other communication node, port is controlled and made it can not remove wrapped state, setting up acknowledgement frame until the ring of the communication node distribution that has disconnected goes out of use, finally become and in the time of circulation timei, do not detecting any ring and setting up the state of acknowledgement frame (that is, setting up the affirmation processing until ring finishes) more than or equal to frame.
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 disconnect, and has inserted the figure that ring under the situation of new communication node is set up an example confirming the step handled.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 are converted to the path status transitional information (Figure 13-1) of this situation of wrapped state 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 disconnect, 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 is converted to wrapped state from pass-through state, 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, keep 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 be converted to pass-through state 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, carries out new loop and set up the affirmation processing in the network of the 5 website 10-5 that comprise new access.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 disconnect is set up the communication node that the affirmation processing finishes this situation, 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 present embodiment 5, has following effect, promptly, disconnect 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 disconnect and having inserted under the situation of other communication node can prevent from not have discarded ring by the communication node distribution that has disconnected to set up acknowledgement frame, transmits on the new loop that the access by other communication node constitutes and make this ring set up the acknowledgement frame continuation.
Execution mode 6
In present embodiment 6, with execution mode 5 in the same manner, anti-stop ring is set up structure and the processing method thereof that acknowledgement frame is trapped in the communication node in the back-up system ring describes.The structure of the communication node that uses in present embodiment 6 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 present embodiment 6 also has following function, promptly, on back-up system ring 2, circulate, from B port one 4 to the frame of A port one 1 transmission, only set up acknowledgement frame at the ring of this communication node distribution, obtain the received frame information that comprises its frame identifying information, contrast with the received frame information of storage in the received frame information storage part 32, with the frame that received in the past situation inequality under, this ring is set up the received frame information stores of acknowledgement frame in received frame information storage part 32, 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 and be under the state of normal connection, 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 communicate under the state that does not carry out loopback.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 is transmitted in back-up system ring 2, 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 set up acknowledgement frame 220 respectively, but owing to be not the frame of this communication node distribution, so directly transmit to back-up system ring 2, transmit ring and sets up acknowledgement frame 220 from A port one 1-2~11-4.
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 is circulated in back-up system ring 2, 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 ", so being judged as is the frame that received in the past, discarded this ring is set up acknowledgement frame 220 (Figure 14-6).In addition, in the above description, 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 illustrating in the above-mentioned execution mode is set up and is confirmed to handle.
According to present embodiment 6, owing to make the received frame Information Management Department 31 of communication process portion 17 have following function, promptly, set up acknowledgement frame 220 at 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 at the ring of this communication node distribution, set up acknowledgement frame 220 for the ring of other nodes distribution and then only transmit, so have the effect that can suppress load that the frame of transmission in back-up system ring 2 is handled.
Execution mode 7
In present embodiment 7, ring under the following situation is set up the affirmation processing to be described, promptly, setting up the affirmation processing at ring finishes, 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 disconnect from network.
Figure 15 is the block diagram that the function of the communication node of representing that schematically present embodiment 7 is related constitutes.The communication process portion 17 of the communication node of present embodiment 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 about disconnecting at certain communication node that constitutes network, then be converted to ring and set up the state of confirming processing, discarded token frame that at this moment transmits in the loop that reconstitutes or Frame etc. are set up the frame of confirming that processing is irrelevant with ring.
Figure 16-1~Figure 16-the 5th represents 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 situations and receive notification frame 206, 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 notification frame 206 and Frame 207 and remains in state in the new loop that constitutes by loopback.In addition, detect 3 website 10-3 the break down 2 website 10-2 and the 4 website 10-4 of this situation, be converted to ring from common communications status and set up and confirm treatment state.Therefore, the ring of the 17-2 of communication process portion, the 17-4 of 2 website 10-2 and 4 website 10-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 notification frame 206, 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 notification frame 206.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 that sends 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 be converted to 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, the processing (Figure 16-5) that the Frame 207 that the 3 website 10-3 that carry out receiving from A port one 1-2 issue is discarded.Thus, after being converted to ring from common communications status 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 present embodiment 7, have the effect that can avoid following situation, that is, when being converted to ring foundation affirmation treatment state from common communications status, the frame of issuing when being in communications status is trapped in the new loop.
Execution mode 8
In present embodiment 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 present embodiment 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 that the execution ring foundation that will illustrate in each execution mode 2~6 is confirmed to obtain after communication process portion 17 each interior handling part of 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 at loop, every 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 that self sends 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 moment of site information notification frame and this 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 by frame calculating part circulation timei 72.
After stoppage of publication site information notification frame, the site information notice finishes detection unit 74 judgements from receiving the site information notification frame of this communication node or other communication nodes distribution at last, whether the state that does not detect the site information notification frame on network 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 the information that the site information that will receive from other communication nodes and this communication node manage accordingly.By 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 represents 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 by 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 by receiving last distribution also discards, and makes the site information notification frame (Figure 18-5) that does not have 1 website 10-1 distribution on network.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 discarded all site information notification frame 211-1~211-5 of 1 website 10-1 distribution from network in Figure 18-5, then the finish transmission of site information notification frame on the detection unit 74 beginning Measurement Network of the site information of the 17-1 of communication process portion of 1 website 10-1 notice stops whether to have continued frame circulation timei more than or equal to obtaining among Figure 18-3 fully.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 also is sent to all communication node 10-1~10-4 in the same manner.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, promptly, 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 present embodiment 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 by this site information notification frame.Thus, because and the situation of in prior art, constructing by Ethernet (registered trade mark) etc., after each communication node notice site information, 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, 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 finish the setting of site information exchange.
Industrial applicibility
As mentioned above, the annular communication system based on Ethernet (registration mark) involved in the present invention is applicable to the network that is made of a plurality of communication nodes.

Claims (17)

1. communication node, it is used to constitute communication system, will connect with ring-type by a plurality of communication nodes that Ethernet (registered trade mark) connects in this communication system,
It is characterized in that this communication node has:
The the 1st and the 2nd port, it has input part that is used for incoming frame and the efferent that is used for output frame; And
Communications processor element, it is under the described the 1st and the 2nd normal situation of port, the frame of importing from the input part of described the 1st port is received processing, send this frame from the efferent of described the 2nd port, and adjacent communication node between produce under the situation of communication abnormality, to from the port that is connected with described adjacent communication node not the frame of the input part input of the port of the same side receive processing, send this frame from the efferent 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 described loop back processing being, the frame of importing from the input part of described the 2nd port is not received processing, and send this frame from the efferent of described the 1st port
Described 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 described ring that loops back in described loop, then the later ring of the stoppage of publication is set up acknowledgement frame;
Frame computing unit circulation timei, it sets up acknowledgement frame issuance unit distribution and the described ring that loops back was set up in the moment of acknowledgement frame from receiving by described ring described loop, deduct described 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 described ring of the stoppage of publication is set up acknowledgement frame, whether during more than or equal to described frame circulation timei in, do not detect the ring that in described loop, transmits and set up acknowledgement frame.
2. communication node according to claim 1 is characterized in that,
The described ring of described communications processor element is set up the acknowledgement frame issuance unit and is had at described ring and set up the function that writes the intrinsic information that is used for discerning uniquely this frame in the acknowledgement frame,
Described 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 described intrinsic information that ring that other communication nodes in the described communication system receive is set up acknowledgement frame; And
The received frame information management unit, it will be according to set up the described received frame information that acknowledgement frame obtains from the ring of described other communication nodes, compare with the received frame information in the described received frame information memory cell corresponding to described other communication nodes, set up under the situation that acknowledgement frame is the frame that received in the past discarded this frame at the described ring that receives.
3. communication node according to claim 1 is characterized in that,
Described 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 described 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 described the 1st adjacent communication node, in during before the ring of described loop is set up affirmation processing end, control makes the communication node adjacent with described the 2nd adjacent communication node keep the state of described loopback.
4. communication node according to claim 2 is characterized in that,
Described received frame information management unit also has following function, promptly, in the state-transition of carrying out loop back processing being from this communication node or other communication nodes is under the normal situation, obtain to comprise to set up the acknowledgement frame and set up the intrinsic information of acknowledgement frame in interior received frame information by the ring of this communication node distribution from the ring of the input part of the 2nd port input
In described received frame information memory cell, do not exist under the situation of identical received frame information, with the described received frame information stores obtained in described received frame information memory cell, under the situation that has identical received frame information, discarded described ring is set up acknowledgement frame.
5. communication node according to claim 1 is characterized in that,
Described communications processor element also has frame waste treatment unit, the state that it communicates with token passing scheme transmitting described loop from token frame, change ring into and set up under the situation of confirming treatment state, the frame in the discarded frame that receives except ring is set up acknowledgement frame.
6. communication node according to claim 1 is characterized in that,
If the described ring of described communications processor element is set up the acknowledgement frame issuance unit and is detected the reception that ring is set up acknowledgement frame, then be converted to ring 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,
Described 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 described site information notification frame that loops back in the described 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 described site information administrative unit issue station dot information notification frame of described communications processor element circulates in described loop and returns until the described site information notification frame of being issued.
9. communication node according to claim 8 is characterized in that,
The described site information administrative unit of described communications processor element also has following function, that is, the distribution that in described site information notification frame, writes this frame constantly, if receive the described site information notification frame of returning in described loop cocycle, the later site information notification frame of the stoppage of publication then
Described communications processor element also has:
Frame computing unit circulation timei, it is from receiving in the moment by distribution of described site information administrative unit and the described site information notification frame that loops back described loop, deduct in the described site information notification frame distribution constantly, calculate frame circulation timei; And
The site information notice identifying unit that finishes, it judges after the described site information notification frame of the stoppage of publication, whether during more than or equal to described frame circulation timei in, do not detect the site information notification frame of in described loop, transmitting.
10. the ring of a communication system is set up confirmation method, will connect with ring-type by a plurality of communication nodes that Ethernet (registered trade mark) connects in this communication system,
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, described communication node when power connection or this communication node carry out loop back processing being and constitute under the situation of new loop, set up the distribution moment that writes this frame in the acknowledgement frame to ring, 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 by being received in described ring, confirms that loop set up this situation,
Described ring is set up and is confirmed that operation comprises:
Frame calculation process circulation timei in this operation, is set up the moment of acknowledgement frame from receiving described ring, deduct described 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 described ring of the stoppage of publication was set up acknowledgement frame, the transmission that the above ring of described loop is set up acknowledgement frame had stopped more than or equal under the described frame situation of circulation timei, confirms that described 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 described ring, set up at described 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 described intrinsic information that ring that other communication nodes in the described communication system receive is set up acknowledgement frame; And
Received frame information management operation, in this operation, to set up the described received frame information that acknowledgement frame obtains according to the ring that receives from described other communication nodes, compare with the received frame information corresponding to described other communication nodes of having stored, be 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 described loop at the 1st communication node, carry out loop back processing being and after constituting new loop, and at the described ring of this new loop set up confirm that operation finishes before, the 2nd communication node accesses under the locational situation of described the 1st communication node,
The ring of described new loop set up confirm processing before finishing during in, make the communication node adjacent keep the state of loop back processing being with described 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 described received frame information management operation, also carry out following processing, promptly, in the state-transition of carrying out loop back processing being from this communication node or other communication nodes is under the normal situation, obtain to comprise to set up the acknowledgement frame and set up the intrinsic information of acknowledgement frame in interior received frame information by the ring of this communication node distribution from the ring of the input part of the 2nd port input
Do not exist corresponding to the frame that is obtained under the situation of the received frame information of having stored, the described received frame information that storage is obtained,
Exist corresponding to the frame that is obtained under the situation of received frame information, discarded described 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,
, be converted to and encircle under the situation of setting up the described ring foundation affirmation operation of confirming with the state that token passing scheme communicates described loop, transmitting from token frame,
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,
Also comprise site information management operation after described ring is set up the affirmation 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 described site information management operation, issue station dot information notification frame circulates in described loop and returns until the described 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 described site information management operation, the distribution that in described site information notification frame, writes this frame constantly, if receive the described 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 receiving in the moment that described loop, loops back by the described site information notification frame of described site information management operation distribution, deduct in the described 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 described site information notification frame of the stoppage of publication, the transmission of the above site information notification frame of described loop has stopped being judged to be the exchange of having carried out site information between the communication node on the described network more than or equal under the described 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 true CN101741675A (en) 2010-06-16
CN101741675B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388858A (en) * 2014-08-27 2016-03-09 现代自动车株式会社 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

Family Cites Families (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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105388858A (en) * 2014-08-27 2016-03-09 现代自动车株式会社 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

Also Published As

Publication number Publication date
CN101741675B (en) 2012-11-14

Similar Documents

Publication Publication Date Title
CN101479996B (en) Communication node, communication system ring configuration method, and ring establishing method
US7603033B1 (en) Fault tolerant optical data communication network
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
EP2458797B1 (en) Method, device and system for updating ring network topology information
JP6076373B2 (en) Technology to cope with changes in the state of interconnection nodes
JP5776618B2 (en) Network switch
JP2017505586A (en) Bus participant apparatus and method of operation of bus participant apparatus
CN102342050A (en) Ldp igp synchronization for broadcast networks
WO2020243542A1 (en) Power outage detection and reporting
CN101741675B (en) Communication node and ring forming method and ring establishing method for communication system
CN101494801B (en) Method, system and network appliance for fault recovery
CN101848128A (en) Method, system and topological structure for realizing stabilized communication among multi-ring topologies
JP4287734B2 (en) Network equipment
CN101478775A (en) Detection method, system and equipment for multi-neighbor connection state
JP4906910B2 (en) Communication node and communication system ring establishment confirmation method
JP4100528B2 (en) Loop network configuration management method and loop network system
CN101820374B (en) The method for issuing token of communication node and annular communication system, token-ring communication method
JP2000183929A5 (en)
CN102325071B (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
JP4938875B2 (en) Communication node and token ring communication method
JP4995294B2 (en) Communication node and token ring communication method
TW201044817A (en) Communication management device, communication node, and data 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