CN101820375A - The method for issuing token of communication node and annular communication system, token-ring communication method - Google Patents

The method for issuing token of communication node and annular communication system, token-ring communication method Download PDF

Info

Publication number
CN101820375A
CN101820375A CN201010148761A CN201010148761A CN101820375A CN 101820375 A CN101820375 A CN 101820375A CN 201010148761 A CN201010148761 A CN 201010148761A CN 201010148761 A CN201010148761 A CN 201010148761A CN 101820375 A CN101820375 A CN 101820375A
Authority
CN
China
Prior art keywords
token
frame
communication
website
begins
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.)
Pending
Application number
CN201010148761A
Other languages
Chinese (zh)
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 CN201010148761A priority Critical patent/CN101820375A/en
Publication of CN101820375A publication Critical patent/CN101820375A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a kind of communication node, it is used for carrying out token ring communication at the ring topology of building based on Ethernet (registered trade mark).This communication node has: token begins power and obtains handling part (21), the token that its distribution comprises intrinsic information begins power and obtains frame, simultaneously, if receiving token from other communication nodes begins power and obtains frame, then use the intrinsic information of other communication nodes and the intrinsic information of this communication node, benchmark is according to the rules judged priority, this communication node than the high situation of the priority of other communication nodes under, issuing token at interval with official hour begins power and obtains frame, this communication node than the low situation of the priority of other communication nodes under, stoppage of publication token begins power and obtains frame, and the token of transmitting other communication nodes begins power and obtains frame; And token begins handling part (22), and it begins to transmit token frame after power obtains frame on loop receiving the token that obtains the handling part distribution that begun to weigh by token of returning in the loop cocycle.

Description

The method for issuing token of communication node and annular communication system, token-ring communication method
The application is based on the PCT/JP2006/312743 (China national application number 200680055121.X) that proposed on June 26th, 2006 and applies for dividing an application of (method for issuing token of communication node and annular communication system, token-ring communication method), below quotes its content.
Technical field
The method for issuing token and the token-ring communication 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 annular communication system of dereliction formula token ring communication in above-mentioned 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 branch 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.Therefore, there are not method for issuing token and token-ring communication method under the situation of for example in the network of the ring topology of building by Ethernet (registered trade mark), carrying out token ring communication at present.
The present invention proposes in view of the above problems, and its purpose is to obtain a kind of communication node, and it is used for carrying out token ring communication at the ring topology of building by Ethernet (registered trade mark).In addition, its purpose also is to obtain a kind of method for issuing token of annular communication system, and it is used for the distribution of regulation based on the annular communication system token frame of Ethernet (registered trade mark).In addition, its purpose also is to obtain a kind of token-ring communication method of annular communication system, and it is used for the method that regulation communicates with token passing scheme based on the annular communication system of Ethernet (registered trade mark).
In order to achieve the above object, communication node involved in the present invention, it is used to constitute communication system, to connect with ring-type by a plurality of communication nodes that Ethernet (registered trade mark) connects in this communication system, this communication node is characterised in that, have: the frame monitoring unit, it monitors the frame that transmits on network; And token begins power and obtains processing unit, it is being detected token frame after described this situation of network disappearance by described frame monitoring unit, distribution comprises the intrinsic information of distributing to this communication node uniquely, being used to obtain token that token begins to weigh begins power and obtains frame, and, if receiving token from other communication nodes begins power and obtains frame, then use the intrinsic information of described other communication nodes and the intrinsic information of this communication node, benchmark is according to the rules judged priority, this communication node than the high situation of the priority of other communication nodes under, issuing described token at interval with official hour begins power and obtains frame, this communication node than the low situation of the priority of other communication nodes under, the described token of the stoppage of publication begins power and obtains frame, and the token of transmitting other communication nodes begins power and obtains frame.
The effect of invention
Has following effect according to the present invention, even utilizing the communication node of making by different manufacturers to constitute under the multivendor environment of loop, also can use the intrinsic information of giving communication node one to one, and determine the token distribution website of distribution token frame uniquely.
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 block diagram that the function of the communication node of representing that schematically present embodiment 1 is related constitutes.
Fig. 4-the 1st represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 1).
Fig. 4-the 2nd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 2).
Fig. 4-the 3rd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 3).
Fig. 4-the 4th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 4).
Fig. 4-the 5th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 5).
Fig. 4-the 6th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 6).
Fig. 4-the 7th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 7).
Fig. 4-the 8th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 8).
Fig. 4-the 9th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 9).
Fig. 4-the 10th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 10).
Fig. 4-the 11st represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 11).
Fig. 4-the 12nd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 12).
Fig. 4-the 13rd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 13).
Fig. 4-the 14th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 14).
Fig. 4-the 15th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 15).
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 represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 1).
Fig. 6-the 2nd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 2).
Fig. 6-the 3rd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 3).
Fig. 6-the 4th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 4).
Fig. 6-the 5th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 5).
Fig. 6-the 6th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 6).
Fig. 6-the 7th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 7).
Fig. 6-the 8th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 8).
Fig. 6-the 9th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 9).
Fig. 6-the 10th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 10).
Fig. 6-the 11st represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 11).
Fig. 6-the 12nd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 12).
Fig. 6-the 13rd represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 13).
Fig. 6-the 14th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 14).
Fig. 6-the 15th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 15).
Fig. 6-the 16th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 16).
Fig. 6-the 17th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing (its 17).
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, the figure (its 1) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 8-the 2nd, the figure (its 2) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 8-the 3rd, the figure (its 3) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 8-the 4th, the figure (its 4) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 8-the 5th, the figure (its 5) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 9-the 1st, the figure (its 1) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 9-the 2nd, the figure (its 2) of an example of the communication process step of token passing scheme in the expression annular communication system.
Fig. 9-the 3rd, the figure (its 3) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 10-the 1st, the figure (its 1) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 10-the 2nd, the figure (its 2) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 11-the 1st, the figure (its 1) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 11-the 2nd, the figure (its 2) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 11-the 3rd, the figure (its 3) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 11-the 4th, the figure (its 4) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 11-the 5th, the figure (its 5) of an example of the communication process step of token passing scheme in the expression annular communication system.
Figure 12 is the block diagram that the function of the communication node of representing that schematically present embodiment 7 is related constitutes.
Figure 13-the 1st schematically represents the figure (its 1) of an example of step of the Regeneration Treatment of the token frame that the disappearance by token frame causes.
Figure 13-the 2nd schematically represents the figure (its 2) of an example of step of the Regeneration Treatment of the token frame that the disappearance by token frame causes.
Figure 13-the 3rd schematically represents the figure (its 3) of an example of step of the Regeneration Treatment of the token frame that the disappearance by token frame causes.
Figure 13-the 4th schematically represents the figure (its 4) of an example of step of the Regeneration Treatment of the token frame that the disappearance by token frame causes.
The explanation of symbol
10,10-1~10-4 communication node
11,11-1~11-4A port
12,12-1~12-4B port
17,17-1~17-4 communication process portion
21 tokens begin power and obtain handling part
22 tokens begin handling part
31 frame monitoring portions
41 right of correspondences obtain handling part
42 logic box State Control portions
43 Frame communication process portions
Embodiment
Below, with reference to accompanying drawing, the method for issuing token of communication node involved in the present invention and annular communication system, the preferred implementation of token-ring communication method are described in detail.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 the communication node of adjacency; 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.
If built above-mentioned annular communication system based on Ethernet (registered trade mark), then each communication node 10-1~10-4 of construction system encircles and set up to confirm handles, and this processing is used to confirm whether the network under self has constituted the path of ring-type.After ring is set up affirmation processing end, in order to generate the structural information of this network, each communication node 10-1 of construction system~10-4 sends the site information of this necessary communication node and exchanges each other, carry out network configuration information and generate processing, this network configuration information comprises the position relation of each communication node 10-1~10-4 and constitutes the number of the communication node 10-1~10-4 of network.Thus, become and in annular communication system, to carry out the state of common communication based on Ethernet (registered trade mark).In the following embodiments, ring set up to confirm is handled and the generation processing end of network configuration information after network in processing as prerequisite.In addition, in the following embodiments, will carry out data communication as prerequisite with token passing scheme based on the annular communication system of Ethernet (registered trade mark).
It more than is the summary of common annular communication system based on Ethernet (registered trade mark) between each execution mode.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 of the present invention 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, method for issuing token is described, this token distributing method is used at the annular communication system based on Ethernet (registered trade mark), ring determines which communication node distribution to be used to carry out the token frame that token ring is communicated by letter by after setting up and confirming that processing and network configuration information generation processing finish.
Fig. 3 is the block diagram that the function of the communication node of representing that schematically present embodiment 1 is related constitutes.The communication process portion 17 of the communication node 10 of present embodiment 1 has token and begins power and obtain handling part 21 and token begins handling part 22.In addition,, mark identical label, omit its explanation the inscape identical with above-mentioned explanation.
Token begins power and obtains handling part 21 and set up at above-mentioned ring and confirm to handle and after network configuration information generates the processing end, obtains the processing that the token that is used to issue token frame begins to weigh.Present embodiment 1 illustrates following situation: the intrinsic information of unique in the world (can not repeat) such as use MAC (Media Access Control) addresses begins token to weigh that communication node of distributing to the value minimum of intrinsic information in the communication node that constitutes network.
In the case, token begins power and obtains handling part 21 and set up to confirm handle and after network configuration information generates processing and finish at ring, and the token that sends the intrinsic information that comprises this communication node at interval with official hour begins to weigh and obtains frame.In addition, the intrinsic information that the token that will receive from other communication node begins to weigh the intrinsic information that obtains the frame and this communication node compares, under the less situation of this communication node, continuation transmission token begins power and obtains frame, and the token of discarding comparison other simultaneously begins power and obtains frame.In addition, under the bigger situation of this communication node, stop to send token and begin power and obtain frame, the token that sends comparison other simultaneously begins power and obtains frame.Begin to weigh the moment of obtaining frame at the token that stops to send this communication node, represent that this communication node can't obtain token and begin power.In addition, begin to weigh at the token of this communication node and obtain under the situation that frame returns, expression has obtained token and has begun power, and token begins power and obtains handling part 21 and stop to send token and begin power and obtain frame.
Obtaining under the situation that token begins to weigh, token begin handling part 22 with official hour at interval the whole communication nodes on the network (loop) send the token that expression begins to send token frame and begin notification frame.In addition, if the token that self sends out begins notification frame in the loop cocycle and return, then discarded this token begins notification frame, simultaneously, stops to send token and begins notification frame, is used for the token frame that communicates with token passing scheme and send.
Fig. 4-1~Fig. 4-the 15th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing.At first, if setting up, ring confirms that processing and network configuration information generate processing and finishes, then shown in Fig. 4-1, the token of the 17-1~17-4 of communication process portion of each website (1 website~4 websites) 10-1~10-4 begins power and obtains handling part 21, and the 1st token that sends the intrinsic information that comprises each website with official hour at interval begins power and obtains frame 301-1~304-1.Supposing that the 1st token that at this moment sends out since 1 website 10-1 is weighed here, obtains frame 301-1 and disappears for a certain reason on the transmission path between 1 website 10-1 and the 2 website 10-2.
Then, shown in Fig. 4-2, if sending out token begins to weigh the communication node that obtains frame and receives token from other websites and begin power and obtain frame, then the token of its communication process portion 17 begins power and obtains handling part 21, and the intrinsic information that the intrinsic information of this communication node and the token that receives is begun to weigh the transmission sources traffic node that obtains in the frame carries out size comparison.In addition, in this example, suppose the intrinsic information of each website, have the magnitude relationship of 1 website<2 websites<3 websites<4 websites.
Begin to weigh 3 website 10-3 and the 4 website 10-4 that obtain frame for the token that receives from the intrinsic information communication node littler than the intrinsic information of this website, the token of their 17-3 of communication process portion, 17-4 begins to weigh and obtains handling part 21 and transmit the 1st token that receives respectively and begin power and obtain frame 302-1,303-1, simultaneously, stopping to send token from this website begins power and obtains frame.That is, 3 website 10-3 and 4 website 10-4 all can't obtain token begin power and fail.
In addition, begin to weigh the 1 website 10-1 that obtains frame for the token that receives from the intrinsic information communication node bigger than the intrinsic information of this website, the token of the 17-1 of its communication process portion begins to weigh the 1st token that obtains the discarded 4 website 10-4 distribution that receives of handling part 21 and begins power and obtain frame 304-1, and the token of proceeding to send from this website begins to weigh the processing of obtaining frame.
In addition, do not receive the 1st token that on transmission path, disappears and begin to weigh the 2 website 10-2 that obtain frame 301-1, compare owing to can't carry out the size of intrinsic information, so do not carry out any processing by 1 website 10-1 distribution.
Then, shown in Fig. 4-3, on the network as yet the communication node of failure send token once more and begin power and obtain frame through behind the official hour, the token that the communication node of having failed is then transmitted other communication nodes that receive begins power and obtains frame.Here, because 1 website 10-1 and 2 website 10-2 belong to as yet the not communication node of failure, begin power and obtain frame 301-2,302-2 so send the 2nd token.In addition, because 3 website 10-3 and 4 website 10-4 are the communication nodes of having failed, begin power and obtain frame 302-1,303-1 so transmit the 1st token that 2 website 10-2 and 3 website 10-3 issue separately respectively.
Then, shown in Fig. 4-4, begin power and obtain frame, then as Fig. 4-2 is illustrated, carry out the size comparison of intrinsic information if each communication node receives next token.Here, 2 website 10-2 then become the state of failure.Its result, shown in Fig. 4-5, discarded the 1st token by 3 website 10-3 distribution of 1 website 10-1 begins power and obtains frame 303-1, simultaneously, send the 3rd token and begin power and obtain frame 301-3,2 website 10-2,3 website 10-3,4 website 10-4 transmit the 2nd token by 1 website 10-1,2 website 10-2,2 website 10-2 distribution respectively and begin power and obtain frame 301-2, the 2nd token and begin that power is obtained frame 302-2, the 1st token begins power and obtains frame 302-1.
In addition, here, because token begins to weigh and obtains frame and send at interval continuously with official hour, so, also can make follow-up token begin power and obtain frame and on loop, circulate even cause token to begin power for some reason obtaining frame and disappear accidentally.Its result, do not receive the 1st token of issuing by 1 website 10-1 before this and begin to weigh the 2 website 10-2 that obtain frame 301-1, receive after this token by 1 website 10-1 distribution and begin power and obtain frame 301-2, the intrinsic information that the intrinsic information and the token of this communication node can be begun to weigh the transmission sources traffic node that obtains frame carries out size comparison.
In addition, stop to send token and begin to weigh communication node (the 3 website 10-3 that obtain frame, 4 website 10-4), receive from other the token of communication node at every turn and begin power when obtaining frame, the intrinsic information that the intrinsic information and the token of this website begun to weigh the transmission Source Site that obtains frame carries out size relatively, and judgement is discarded or transmitting the token that receives begins power and obtain frame.
In the same manner, shown in Fig. 4-6~Fig. 4-9, each token begins that power obtains that frame circulates and when being received by each website, and the intrinsic information that the intrinsic information of this communication node and the token that receives are begun to weigh the transmission Source Site that obtains frame carries out size and compares.Like this, receive the intrinsic information token littler and begin to weigh 2 website 10-2,3 website 10-3 and the 4 website 10-4 that obtain frame than the intrinsic information of this website, transmitting this token begins power and obtains frame, receive the intrinsic information token bigger and begin to weigh the 1 website 10-1 that obtains frame than the intrinsic information of this website, discarded this token begins power and obtains frame, simultaneously, the new token of distribution begins power and obtains frame.That is, obtain frame in the loop cocycle, begin to weigh the communication node that obtains frame, only be limited to the communication node (1 website 10-1) of intrinsic information minimum sending token along with token begins power.
Then, shown in Fig. 4-10, obtain handling part 21 if the token of the 17-1 of communication process portion of 1 website 10-1 of intrinsic information minimum begins power, the 2nd token that receives this website distribution begins power and obtains frame 301-2, then stops to send after this token and begins power and obtain frame.In addition, begin power by the token of obtaining the distribution of this website and obtain frame 301-2,1 website 10-1 becomes the communication node that the acquisition token begins power (winning), in the processing afterwards, becomes token distribution website.
Then, shown in Fig. 4-11, the token that has obtained the 17-1 of communication process portion of the 1 website 10-1 that token begins to weigh begins handling part 22, and beginning sends token at interval with official hour and begins notification frame 311-1.Then, shown in Fig. 4-12~Fig. 4-14, receive communication node (2 website 10-2,3 website 10-3) that token begins notification frame 311-1~311-2 and transmit this token and begin notification frame 311-1~311-2, prepare to carry out the token transmission simultaneously.In addition, the token of discarded self distribution of 1 website 10-1 begins power and obtains frame 301-4.
Then, shown in Fig. 4-15, send the token of the 17-1 of communication process portion that token begins 1 website 10-1 of notification frame and beginning handling part 22, begin notification frame 311-1 in the loop cocycle and return this website according to token, and confirm that on loop token begins power and obtains frame and all disappear (going out of use) transmission of beginning token.Thus, finish based on the method for issuing token in the annular communication system of Ethernet (registered trade mark).
In addition, above-mentioned explanation is an example, for example, also token can be begun to weigh the communication node of distributing to the value maximum of intrinsic information among the communication node 10-1~10-4 that constitutes network.
In addition, the 1 website 10-1 that becomes token distribution website is not in the above description issued token at once, describe but the output token begins the reason of notification frame 311-1.In each communication node 10-1~10-4, shown in the execution mode, be equipped with the not shown frame monitor function that the frame on the network is monitored as described later.In addition,, taking place under the overtime situation, be judged as token frame and disappear, and beginning to send token and begin power and obtain frame by this frame monitor function.At this moment, communication node except the distribution token begins to weigh the communication node 10 that obtains frame, begin power by the reception token and obtain frame, switching to token from common communications status (token transmit mode) begins power and obtains treatment state, with above-mentioned operation in the same manner, determine token distribution website once more.Here, do not begin notification frame if do not issue token, in operation by definite token distribution website, communication node 10 can't obtain that token begins to weigh and under the situation of failing, enter at once and prepare to carry out the state that token transmits, then do not finish, when being in the still undetermined state of token distribution website in this operation of determining token distribution website, the token that can receive 10 distribution of other communication nodes begins power and obtains frame, begins power and obtains treatment state and be transformed into token.Thus, the communication node 10 of failure begins to send token once more and begins power and obtain frame, determines that the operation of token distribution website can't finish.Therefore,, here, be not set at midway, make the communication node 10 of failure switch to the token transmit mode, but enter the token transmit mode after token begins notification frame 311 receiving in the operation of determining token distribution website in order to prevent above-mentioned condition.
According to present embodiment 1, have following effect, that is, even utilizing the communication node of making by different manufacturers 10 to constitute under the multivendor environment of loop, also can determine the token distribution website of distribution token frame uniquely based on the size of the intrinsic information of giving communication node 10 one to one.In addition, by with MAC Address as intrinsic information, thereby the intrinsic information of setting with the user differently, can not repeat, and must determine uniquely that a token issues the effect of website so have.
In addition, since each communication node 10 be judged to be can't obtain token begin power before, issuing token at interval with official hour begins power and obtains frame, so have following effect, even obtain frame and disappear, also can use the token of distribution after this to begin to weigh to obtain frame to be used to obtain the judgement that token begins to weigh because of some reason on the network causes token to begin power.In addition, have to make and do not have useless frame on the network, prevent the effect of the mistake identification of the frame that receives.
Execution mode 2
In present embodiment 2, in that uncertain reason causes token distribution under the situation that token frame disappears to be handled describing because of some.
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 of present embodiment 2 also has frame monitoring portion 31.Be at loop under the situation of common communications status, the frame that transmits is monitored by this frame monitoring portion 31 on loop, the state continuance that interrupts in the transmission on the loop at token frame and other frame under the situation of official hour, be judged to be token frame and disappear.
In addition, disappear if frame monitoring portion 31 is judged to be token frame, then token begins power and obtains handling part 21 and begin to send token and begin power and obtain frame.But, the token that receives from other communication nodes at the communication node that is in the token transmit mode begins to weigh under the situation of obtaining frame, when only the intrinsic information that begins to weigh the transmission sources traffic node that obtains frame at this token is bigger than the intrinsic information of this communication node, the discarded token that receives begins power and obtains frame, and the token that begins to send from this communication node begins to weigh the processing of obtaining frame.In addition, other structure is identical with above-mentioned explanation, to the inscape identical with above-mentioned explanation, marks identical label, omits its explanation.
Fig. 6-1~Fig. 6-the 17th represents that schematically the token in the annular communication system begins to weigh the figure of an example of the step of obtaining processing.At first, suppose under the communications status of common token ring mode, disappear owing to some uncertain reason causes token frame.Then, shown in Fig. 6-1, disappear if the frame monitoring portion 31 of the 17-3 of communication process portion of 3 website 10-3 detects token frame at first, then token begins power and obtains handling part 21 beginnings and send token at interval with official hour and begin power and obtain frame 303-1.
Then, shown in Fig. 6-2, begin power and obtain frame 303-1 if 4 website 10-4 in the token transmission receive token by 3 website 10-3 distribution, then the token of the 17-4 of its communication process portion begins to weigh and obtains handling part 21 intrinsic information that the intrinsic information and the token of this website begins to weigh the transmission sources traffic node (3 website 10-3) that obtains frame 303-1 is carried out size comparison.In addition, here with execution mode 1 in the same manner, suppose that the intrinsic information of each website has the magnitude relationship of 1 website<2 websites<3 websites<4 websites.Its result begins power and obtains frame because 4 website 10-4 receive token from the intrinsic information communication node little than the intrinsic information of this website, does not begin to weigh so obtain token, and is in the state of failure.Then, shown in Fig. 6-3,4 website 10-4 stop the token transmission, the token that receives is begun power obtain frame 303-1 and directly transmit.
On the other hand, shown in Fig. 6-4~Fig. 6-5, token begins power and obtains frame 303-1 and next arrive 1 website 10-1.1 website 10-1 also begins token to weigh the intrinsic information of the transmission sources traffic node (3 website 10-3) that obtains frame in the same manner and the intrinsic information of this website carries out size relatively.Begin to weigh the 1 website 10-1 that obtains frame for the token that receives from the intrinsic information communication node bigger than the intrinsic information of this website, the token of the 17-1 of its communication process portion begins power and obtains handling part 21 and stop the token transmission, simultaneously, the token of the discarded 3 website 10-3 that receive begins power and obtains frame 303-1, begins to send token from this website at interval with official hour and begins power and obtain frame 301-1.Shown in Fig. 6-6~Fig. 6-7, token begins power and obtains frame and circulate, and receives next token and begins to weigh 1 website 10-1, the 2 website 10-2, the 4 website 10-4 that obtain frame and carry out identical processing.In this process, receive the intrinsic information token littler and begin to weigh the 2 website 10-2 that obtain frame 301-1 than the intrinsic information of this website, also become the state that does not obtain the failure that token begins to weigh.
Then, shown in Fig. 6-8~Fig. 6-9, begin to weigh the 3 website 10-3 that obtain frame 303-1 and receive token from 1 website 10-1 and begin power and obtain frame 301-1 if send out token at first, then the token of the 17-3 of its communication process portion begins to weigh and obtains handling part 21 intrinsic information that the intrinsic information and the token of this website begins to weigh the transmission sources traffic node (1 website 10-1) that obtains among the frame 301-1 is carried out size comparison.Here, begin to weigh and obtain frame 301-1, so become the state that does not obtain the failure that token begins to weigh because 3 website 10-3 receive token from the intrinsic information 1 website 10-1 little than the intrinsic information of this website.Then, the token of transmitting the 1 website 10-1 that receives begins power and obtains frame 301-1, and simultaneously, the token that stops to send from this website begins to weigh the processing of obtaining frame.
In addition, at this moment, the token that receives from the intrinsic information communication node bigger than the intrinsic information of this website begins to weigh the communication node (1 website 10-1) that obtains frame, and the discarded token that receives begins power and obtains frame, continues to send token from this communication node and begins power and obtain frame.
Then, shown in Fig. 6-10~Fig. 6-11, obtain frame 301-1,301-2 in the loop cocycle, begin to weigh the communication node that obtains frame, only be limited to the communication node (1 website 10-1) of intrinsic information minimum sending token along with token begins power.
Then, shown in Fig. 6-12, obtain handling part 21 if the token of the 17-1 of communication process portion of 1 website 10-1 of intrinsic information minimum begins power, the token that receives this website distribution begins power and obtains frame 301-1, then stops to send after this token and begins power and obtain frame.In addition, begin power by the token that obtains the distribution of this website and obtain frame 301-1,1 website 10-1 becomes the communication node that the acquisition token begins power (winning), in the processing afterwards, becomes token distribution website.
Then, shown in Fig. 6-13, the token that has obtained the 17-1 of communication process portion of the 1 website 10-1 that token begins to weigh begins handling part 22, and beginning sends token at interval with official hour and begins notification frame 311-1.Then, shown in Fig. 6-14~Fig. 6-17, receive 2 website 10-2~4 website 10-4 that token begins notification frame 311-1~311-4, transmit this token and begin notification frame 311-1~311-4, simultaneously, prepare to carry out the token transmission.In addition, the token of discarded self distribution of 1 website 10-1 begins power and obtains frame 301-2.
Then, shown in Fig. 6-17, send the token of the 17-1 of communication process portion that token begins the 1 website 10-1 of notification frame 311-1~311-4 and beginning handling part 22, begin notification frame 311-1 according to token and return this website, and confirm that on loop token begins power and obtains frame and all disappear (going out of use) transmission of beginning token.Thus, method for issuing token finishes.
In addition, above-mentioned explanation is an example, for example, also token can be begun to weigh the communication node of distributing to the value maximum of intrinsic information among the communication node 10-1~10-4 that constitutes network.
According to present embodiment 2, because the instant disappearance that detects all communication node token frames, the communication node that detects this situation is converted to token from the token transmit mode to begin power and obtains state, so can promptly carry out the token transmission again.In addition, have to make and do not have useless frame on the network, prevent the effect of the mistake identification of the frame that receives.
Execution mode 3
In present embodiment 3, situation about communicating with token passing scheme in based on the annular communication system of Ethernet (registered trade mark) 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 this communication node 10 has right of correspondence and obtains handling part 41, logic box State Control portion 42 and Frame communication process portion 43.In addition,, mark identical label, omit its explanation for the inscape identical with above-mentioned explanation.
Want to carry out under the situation of data transmission at this communication node, right of correspondence obtains handling part 41 and obtains the token frame that transmits and obtain right of correspondence on loop, simultaneously, the token that expression has been obtained this situation of token frame receive notification frame (below, be called " token Ack frame "), send to the communication node that discharges token frame.In addition, if finish the transmission of Frame by Frame communication process portion 43, then right of correspondence obtains handling part 41 and discharges token frames.
Logic box State Control portion 42 carries out the switching controls of state as follows, that is: obtaining by right of correspondence under the situation that handling part 41 obtained right of correspondence, switch to sending mode, promptly, loop in this communication node is logically cut off, whole frames that this communication node receives are discarded and do not transmitted; And, switch to repeat pattern receiving under the situation of token Ack frame from other communication nodes, that is, finish the logic of loop and cut off, whole frames that this communication node receives are transmitted.
If Frame communication process portion 43 has obtained right of correspondence, the data that then will want to send send as Frame, are sent by this communication node.At this moment, the structure of the Frame that communicates is identical with common Ethernet (registered trade mark) frame, comprises destination-mac address and sends source MAC.In addition, Frame communication process portion 43 carries out following processing, that is, be the Frame of target and handle with this communication node from other communication nodes receptions.In addition, Frame communication process portion 43 is under the sending mode situation at this communication node, and the whole frames that receive are discarded and do not transmitted, and is at this communication node under the situation of repeat pattern, transmits the whole frames that receive.
Fig. 8-1~Fig. 8-the 5th is illustrated in the figure based on an example of the communication process step under the token passing scheme in the annular communication system of Ethernet (registered trade mark).In addition, here, be example with the whole communication nodes on the loop as the situation of target in the Frame that sends as the communication information mode by broadcasting.
At first, the 1 website 10-1 that has obtained token frame 320 is in the sending mode state that the logic box State Control portion 42 by the 17-1 of its communication process portion logically cuts off the loop in this website, by Frame communication process portion 43 send the communication informations (below, be called " Frame ") 321, and the Frame of issuing at this website 321 ends processing (waste treatment).In addition, if Frame communication process portion 43 has finished the transmission of total data frame 321, then right of correspondence obtains handling part 41 and sends token frame 320.In addition, after sending token frame 320,1 website 10-1 keeps sending mode state (Fig. 8-1).In addition, shown in 2 website 10-2~4 website 10-4 of this Fig. 8-1, extend the state representation repeat pattern of solid line to B port one 4-2~14-4 from A port one 1-2~11-4, shown in 1 website 10-1, do not extend the sending mode that the state representation loop of solid line is logically cut off to B port one 4-1 from A port one 1-1.
Then, receive 2 website 10-2 of token frame 320, the right of correspondence by the 17-2 of its communication process portion obtain handling part 41 with token frame 320 by (obtaining).Then, owing to be to receive token frame 320, token Ack frame 331 is discharged the i.e. 1 website 10-1 transmission of website to token so right of correspondence obtains handling part 41 from 1 website 10-1.In addition, logic box State Control portion 42 logically cuts off the loop in this website, is converted to sending mode.Then, send Frame 322, and the Frame 322 of this website distribution is ended processing by Frame communication process portion 43.If Frame communication process portion 43 finishes the transmission of total data frame 322, then right of correspondence obtains handling part 41 and sends token frame 320.In addition, behind the transmission token frame 320,2 website 10-2 keep sending mode state (Fig. 8-2).
Then, frame circulates, and 1 website 10-1 receives the Frame 321 that self issues.At this moment, because 1 website 10-1 is in sending mode, so its Frame communication process portion 43 discarded Frames 321 (Fig. 8-3) that receive.
Then, 1 website 10-1 reception is the token Ack frame 331 of target with this website.At this moment, because 1 website 10-1 is in sending mode, so its Frame communication process portion 43 discarded token Ack frames 331 that receive, simultaneously, logic box State Control portion 42 bases receive token Ack frame 331, and the state of this website are converted to the repeat pattern (Fig. 8-4) of the logic cut-out of the loop that is through with from sending mode.Then, the frame that will receive from the A port one 1-1 of 1 website 10-1 is all transmitted (Fig. 8-5).By making each website carry out the processing shown in above Fig. 8-1~Fig. 8-5, carry out the communication of token passing scheme.
According to present embodiment 3, because at each communication node 10, the communication node 10 that obtains right of correspondence is set to the sending mode that in this communication node 10, loop logically cut off, the communication node 10 that will not obtain right of correspondence is set to repeat pattern that the frame that receives is transmitted, so have following effect, that is, the communication node 10 that obtains right of correspondence can be discarded with the frame of this communication node 10 distribution, and fragmentation can not take place.
In addition, send token Ack frame to the transmission sources traffic node of token frame, can use this token Ack frame, the effect of switching to repeat pattern from sending mode so have owing to obtaining the communication node 10 that token frame obtains right of correspondence.Thus, can in loop, remove frame and the token Ack frame that this communication node 10 is issued, can prevent that useless frame is trapped on the loop.
Execution mode 4
In execution mode 3, discharge token frame and be in the sending mode state communication node (below, be called " token release communication node "), by receive from the next one obtain token frame communication node (below, be called " token obtaining communication node ") be the token Ack frame of target with this website, carry out state exchange from sending mode to repeat pattern.But in the case, the token Ack frame that sends from token obtaining communication node disappears sometimes for some reason.In present embodiment 4, token Ack frame is described at the communication means that the arrival token discharges the token passing scheme under the situation about disappearing before the communication node.
The function of the communication node in the present embodiment 4 constitutes identical with Fig. 7 of execution mode 3.But, in present embodiment 4, the logic box State Control portion 42 of the communication process portion 17 of Fig. 7 also has following function, promptly, under the situation that is in the sending mode state, receive with this communication node be the token Ack frame of object before, receive under the situation of the Frame that other communication nodes (token obtaining communication node) send, be converted to repeat pattern.
Fig. 9-1~Fig. 9-the 3rd is illustrated in the figure based on an example of the communication process step under the token passing scheme in the annular communication system of Ethernet (registered trade mark).At first, as implement shown in the explanation of Fig. 8-1~Fig. 8-2 of mode 3,2 website 10-2 obtain token frame 320 from the 1 website 10-1 that sends Frame 321 and discharge token frame 320, on loop, send with token discharge communication node promptly 1 website 10-1 be the token Ack frame 331 and the Frame 322 of target.
Then, frame circulates, and 1 website 10-1 receives the Frame 321 that self issues.At this moment, because 1 website 10-1 is in sending mode, so its Frame communication process portion 43 discarded Frames 321 that receive.In addition, at this moment, suppose on the loop between 4 website 10-4 and the 1 website 10-1, owing to uncertain reason causes 331 disappearances (Fig. 9-1) of token Ack frame.
Then, it is the token Ack frame 331 of target that 1 website 10-1 does not receive with this website, and receives the Frame 322 (Fig. 9-2) of other websites (2 website 10-2) distribution.The logic box State Control portion 42 of the 17-1 of communication process portion of 1 website 10-1 detects the Frame 322 that receives other websites and does not receive token Ack frame 331 these situations, the state of this website is switched to repeat pattern from sending mode, finish the logic of the loop in the 1 website 10-1 and cut off.Thus, the Frame 322 from 2 website 10-2 that the Frame communication process portion 43 of the 17-1 of communication process portion of 1 website 10-1 will receive is directly transmitted, simultaneously, and the whole frames (Fig. 9-3) that receive after transmitting.
According to present embodiment 4, utilize Frame after token Ack frame, to arrive this point, even under the situation that token Ack frame disappears, also token can be discharged communication node and carry out state exchange to repeat pattern from sending mode.Its result, even have under the situation that token Ack frame disappears, can unintentionally that subsequent frame is discarded effect yet.
Execution mode 5
In execution mode 4, even token discharges communication node under the situation that the token Ack frame that with this website is target disappears, also can be according to the reception of the Frame that receives subsequently, and carry out state exchange to repeat pattern from sending mode.But in the case, except the token Ack frame that sends from token obtaining communication node, Frame also can disappear sometimes for some reason.In present embodiment 5, token Ack frame and Frame by the distribution of token obtaining communication node are described at the communication means that the arrival token discharges the token passing scheme under the situation about disappearing before the communication node.
The function of the communication node in the present embodiment 5 constitutes identical with Fig. 7 of execution mode 3.But, in present embodiment 5, the logic box State Control portion 42 of the communication process portion 17 of Fig. 7 also has following function, under the state of sending mode, before reception is the token Ack frame of target with this communication node, receive under the situation of the Frame that other communication nodes (token obtaining communication node) send, perhaps receive with this communication node be the Frame of the token Ack frame of target and other communication nodes (token obtaining communication node) distribution before, what receive another communication node distribution except above-mentioned communication node is under the situation of token Ack frame of target with other communication nodes, is converted to repeat pattern.
Figure 10-1~Figure 10-the 2nd is illustrated in the figure based on an example of the communication process step under the token passing scheme in the annular communication system of Ethernet (registered trade mark).At first, as implement shown in the explanation of Fig. 8-1~Fig. 8-2 of mode 3,2 website 10-2 obtain token frame 320 from the 1 website 10-1 that sends Frame 321 and discharge token frame 320, sending with token release communication node on loop is that 1 website 10-1 is the token Ack frame 331 and the Frame 322 of target, discharges token frame 320 then.Subsequently, shown in the explanation of Fig. 9-1 of enforcement mode 4, frame circulates, after 1 website 10-1 receives the Frame 321 of self distribution, and discarded this Frame 321.In addition, suppose that at this moment 3 website 10-3 obtain token frame 320, on the loop between 4 website 10-4 and the 1 website 10-1, disappear owing to uncertain reason causes token Ack frame 331.
Subsequently, frame circulates, and supposes that the Frame 322 of 2 website 10-2 distribution also disappears on the transmission path between 4 website 10-4 and the 1 website 10-1.On the other hand, the right of correspondence of obtaining 3 website 10-3 of token frame 320 obtain handling part 41 send with the transmission source of token frame 320 promptly 2 website 10-2 be the token Ack frame 332 of target.Then, the Frame communication process portion 43 of 3 website 10-3 sends Frame 323 (Figure 10-1).
Then, 1 website 10-1 do not receive with this website be target token Ack frame 331 and should be by the Frame 322 of other websites (2 website 10-2) distribution, and what receive 3 website 10-3 distribution is the token Ack frame 332 of target with 2 website 10-2.The logic box State Control portion 42 of the 17-1 of communication process portion of 1 website 10-1 detects and do not receive with this website is the Frame 322 of the token Ack frame 331 of target and 2 website 10-2 distribution, and what receive 3 website 10-3 distribution is token Ack frame 332 these situations of target with 2 website 10-2, the state of this website is switched to repeat pattern from sending mode, finish the logic of the loop in the 1 website 10-1 and cut off.Thus, 3 website 10-3 that the Frame communication process portion 43 of the 17-1 of communication process portion of 1 website 10-1 will receive distribution be that the token Ack frame 332 of target is directly transmitted with 2 website 10-2, simultaneously, the frame that receives is later on all transmitted (Figure 10-2).
According to present embodiment 5, utilize Frame after token Ack frame, to arrive, the distribution of other communication nodes be that the token Ack frame of target arrives this point after Frame with other websites, even under the situation of token Ack frame and Frame disappearance, also can make token discharge communication node and carry out state exchange to repeat pattern from sending mode.Its result, even have under the situation of token Ack frame and Frame disappearance, can unintentionally that subsequent frame is discarded effect yet.
Execution mode 6
In execution mode 5, even be under the token Ack frame of target and the situation that follow-up Frame disappears with this communication node, token discharge communication node also can according to other websites distribution that receive subsequently be the token Ack frame of target with another communication node, and carry out state exchange to repeat pattern from sending mode.In present embodiment 6, further the communication means to the token passing scheme under the following situation describes, promptly, the distribution of other communication nodes be that the token Ack frame of target and Frame etc. also disappear with another communication node, should receive with this communication node is that the communication node of the token Ack frame of target does not receive token Ack frame and Frame, and receives token frame.
The function of the communication node in the present embodiment 6 constitutes identical with Fig. 7 of execution mode 3.But, in present embodiment 6, the right of correspondence of the communication process portion 17 of Fig. 7 obtains handling part 41 and also has following function, promptly, under the state of sending mode, not only do not receive with this communication node is the token Ack frame of target, and do not receive the Frame of other communication nodes distribution and be the token Ack frame of target with other communication nodes, and receive once more under the situation of token frame, obtain token frame, and to the distribution sources traffic node transmission token Ack of token frame frame, Frame communication process portion 43 also has following function, that is, will send once more at the Frame that receives with this communication node this communication node distribution that receives before being the token Ack frame of target.
Figure 11-1~Figure 11-the 5th is illustrated in the figure based on an example of the communication process step under the token passing scheme in the annular communication system of Ethernet (registered trade mark).At first, as implement shown in the explanation of Fig. 8-1~Fig. 8-2 of mode 3,2 website 10-2 obtain token frame 320 from the 1 website 10-1 that sends Frame 321 and discharge token frame 320, sending with token release communication node on the loop is after 1 website 10-1 is the token Ack frame 331 and Frame 322 of target, to discharge token frame.
Then, frame circulates, and 1 website 10-1 receives the Frame 321 that self issues.At this moment, because 1 website 10-1 is in sending mode, so its Frame communication process portion 43 discarded Frames 321 that receive.In addition, suppose that 3 website 10-3 obtained token frame 320 and obtained right of correspondence this moment, owing to uncertain reason, causing with 1 website 10-1 is token Ack frame 331 disappearances (Figure 11-1) of target on the loop between 4 website 10-4 and the 1 website 10-1.
Subsequently, frame circulates, suppose that the Frame 322 of 2 website 10-2 distribution and 3 website 10-3 are the token Ack frame 332 of target distribution with 2 website 10-2 when obtaining token frame 320, also on the loop between 4 website 10-4 and the 1 website 10-1 because uncertain former thereby disappear.At this moment, 3 website 10-3 discharge token frame 320 (Figure 11-2) after sending Frame 323.
Then, frame circulates, and supposes that 4 website 10-4 obtain token frame 320 and obtain right of correspondence.In addition, the Frame 323 of 3 website 10-3 distribution and 4 website 10-4 are the token Ack frame 333 of target distribution with 3 website 10-3 when obtaining token frame 320, also on the loop between 4 website 10-4 and the 1 website 10-1, because uncertain former thereby disappear (Figure 11-3).
Then, 4 website 10-4 send Frame 324 and discharge token frame 320.At this moment, suppose that the Frame 324 of 4 website 10-4 distribution is also on the loop between 4 website 10-4 and the 1 website 10-1, because uncertain former thereby disappear (Figure 11-4).Then, 1 website 10-1 receives the token frame 320 that is discharged by 4 website 10-4.Because the right of correspondence of 1 website 10-1 obtains the Frame 321 that handling part 41 receives the distribution of this website earlier, then, do not receive fully with this communication node be target token Ack frame 331, other websites Frame 322~324 and be under the state of token Ack frame 332,333 of target with other websites, receive token frame 320 once more, so obtain the token frame 320 that receives, obtain right of correspondence.Then, right of correspondence obtains handling part 41 to the i.e. 4 website 10-4 transmission of token release communication node token Ack frame 334 (Figure 11-5).In addition, after Frame communication process portion 43 sends the Frame 321 that sends among Fig. 8-1 once more, discharge token frame 320.In addition, because logic box State Control portion 42 has been in sending mode when 1 website 10-1 receives token frame 320, so do not carry out the switching of state.
In addition, after this, if the disappearance of frame does not take place, then the later communication node (3 website 10-3 and 4 website 10-4) of 2 website 10-2 use that 1 website 10-1 sends with the token Ack frame 334 of 4 website 10-4 as target, as implement to carry out state from sending mode to repeat pattern and switch shown in mode 5 explanations.
According to present embodiment 6, because receiving with this website is that the communication node of the token Ack frame of target does not receive token Ack frame and Frame, and receive under the situation of token frame, obtain this token frame, send and the identical Frame of Frame that before reception is the token Ack frame of target with this website, receives, so have the effect that can make data arrive destination communication node reliably.
Execution mode 7
In present embodiment 7, in the communication of carrying out with token passing scheme, token frame is because the regeneration of the token frame under the uncertain former thereby situation about disappearing is handled describes.
Figure 12 is the block diagram that the function of the communication node of representing that schematically present embodiment 7 is related constitutes.This communication node 10 has the structure that the Fig. 7 with Fig. 5 of execution mode 2 and execution mode 3 combines.That is, the communication process portion 17 of this communication node 10 has: token begins power and obtains handling part 21, and it carries out the processing of obtaining that token begins to weigh; Token begins handling part 22, and the communication node that the acquisition token begins to weigh utilizes this token to begin the whole communication nodes notice beginning of handling part 22 on loop and communicates with token passing scheme; Frame monitoring portion 31, it is monitored the token frame, token Ack frame and the Frame that transmit in loop; Right of correspondence obtains handling part 41, and it carries out the processing of obtaining communication power under the state that beginning communicates with token passing scheme; Logic box State Control portion 42, its control is switched the loop in the communication node between logic dissengaged positions and logic connection status; And Frame communication process portion 43, it carries out the communication process of Frame.
Here, the whole frames that comprise token frame, token Ack frame and Frame that 31 pairs in frame monitoring portion transmits on loop are monitored, and frame detects to token and disappears under situation more than or equal to official hour has been interrupted in the transmission on the loop.
Figure 13-1~Figure 13-the 4th schematically represents the figure of an example of the step of the token frame Regeneration Treatment that the disappearance by token frame causes.In addition, in these figure, the stain that on the A of each website 10-1~10-4 port one 1-1~11-4, marks, expression is arranged on the frame monitoring 31-1~31-4 of portion among the 17-1~17-4 of communication process portion.At first, 1 website 10-1 obtains token frame 320, after sending Frame 321, discharges token frame 320.Then, suppose token frame 320 on the loop between 1 website 10-1 and the 2 website 10-2, disappear (Figure 13-1) owing to uncertain reason.At this moment, the 1 website 10-1 that only sends out Frame 321 is in sending mode, and 2 website 10-2~4 website 10-4 are in repeat pattern.
If the Frame 321 of 1 website 10-1 distribution circulates, return once more and receive, then because 1 website 10-1 is in sending mode, so the discarded Frame 321 (Figure 13-2) that receives by 1 website 10-1.In addition, the frame monitoring 31-2 of portion of 2 website 10-2 detects from last receiving data frames 321 and transmits, and does not receive this situation of frame (transmission of frame is interrupted on loop) (Figure 13-3) in more than or equal to official hour.That is, the 31-2 of frame monitoring portion detects token frame 320 and has disappeared.Thus, the token of the 17-2 of communication process portion of 2 website 10-2 begins to weigh and obtains the processing of obtaining that token that handling part 21 carries out in execution mode 2 explanation begins to weigh, and beginning generates the processing (Figure 13-4) of token frame 320 once more.Showing 2 website 10-2 here, sends out token at interval with official hour and begins to weigh the state that obtains frame 302-1.
In addition, in Figure 13-3,2 website 10-2 detect the reason that token frame 320 disappeared at first and are: at the communication node in the downstream that is arranged in the position that token frame 320 disappears, 2 website 10-2 are the nearest communication nodes in position that disappear apart from token frame 320.In the case, to be used for judging that the whole communication node 10-1~10-4s of time (timer value) on loop that token frame 320 has disappeared are all prerequisite mutually.
According to present embodiment 7, even owing in the process that communicates with token passing scheme, under the situation that token frame disappears, also can detect the disappearance of token frame, so can promptly generate token frame once more.Its result has the effect that can recover automatically after token frame disappears.
Industrial applicibility
As shown 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 (4)

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,
This communication node is characterised in that to have:
The frame monitoring unit, it monitors the frame that transmits on network; And
Token begins power and obtains processing unit, it is being detected token frame after described this situation of network disappearance by described frame monitoring unit, distribution comprises the intrinsic information of distributing to this communication node uniquely, being used to obtain token that token begins to weigh begins power and obtains frame, and, if receiving token from other communication nodes begins power and obtains frame, then use the intrinsic information of described other communication nodes and the intrinsic information of this communication node, benchmark is according to the rules judged priority, this communication node than the high situation of the priority of other communication nodes under, issuing described token at interval with official hour begins power and obtains frame, this communication node than the low situation of the priority of other communication nodes under, the described token of the stoppage of publication begins power and obtains frame, and the token of transmitting other communication nodes begins power and obtains frame.
2. communication node according to claim 1 is characterized in that,
Have token and begin processing unit, it is begun to weigh the described token that obtains the processing unit distribution and begins to transmit token frame after power is obtained frame receiving by described token.
3. token-ring communication method, it is used for communicating with token passing scheme in communication system, will connect with ring-type by a plurality of communication nodes that Ethernet (registered trade mark) connects in this communication system,
This token-ring communication method is characterised in that, comprises:
Frame is monitored operation, and it monitors the frame that transmits on network;
Token begins power and obtains treatment process, in this operation, detect under the situation that token frame disappears from described network monitoring operation by described frame, distribution comprise the intrinsic information of distributing to this communication node uniquely, be used to obtain token that token begins to weigh and begin power and obtain frame; And
Token begins power and judges operation, in this operation, if receiving token from other communication nodes begins power and obtains frame, then use the intrinsic information of described other communication nodes and the intrinsic information of this communication node, benchmark is according to the rules judged priority, this communication node than the high situation of the priority of other communication nodes under, issuing described token at interval with official hour begins power and obtains frame, this communication node than the low situation of the priority of other communication nodes under, the described token of the stoppage of publication begins power and obtains frame, and the token of transmitting other communication nodes begins power and obtains frame.
4. token-ring communication method according to claim 3 is characterized in that,
Comprise token and begin treatment process, in this operation, begin to weigh the described token that obtains treatment process distribution by described token and begin power and obtain frame, then transmit token frame if receive.
CN201010148761A 2006-06-26 2006-06-26 The method for issuing token of communication node and annular communication system, token-ring communication method Pending CN101820375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010148761A CN101820375A (en) 2006-06-26 2006-06-26 The method for issuing token of communication node and annular communication system, token-ring communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010148761A CN101820375A (en) 2006-06-26 2006-06-26 The method for issuing token of communication node and annular communication system, token-ring communication method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN200680055121.XA Division CN101473603B (en) 2006-06-26 2006-06-26 Communication node and method for issuing token of annular communication system, token-ring communication method

Publications (1)

Publication Number Publication Date
CN101820375A true CN101820375A (en) 2010-09-01

Family

ID=42655328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010148761A Pending CN101820375A (en) 2006-06-26 2006-06-26 The method for issuing token of communication node and annular communication system, token-ring communication method

Country Status (1)

Country Link
CN (1) CN101820375A (en)

Similar Documents

Publication Publication Date Title
CN101473603B (en) Communication node and method for issuing token of annular communication system, token-ring communication method
CN101056184B (en) Network system and communication device
CN101262401B (en) A method for realizing network recovery in loop network
US7983177B2 (en) Communication node, and ring configuration method and ring establishment method in communication system
US9166922B2 (en) Communication device for an industrial communication network which can be operated in a redundant manner and method for operating a communication device
JP5471240B2 (en) Switch device, ring network system, communication control method, and device program
CN101610193A (en) Ethernet ring network finds and generates the method for ring automatically
CN101252479A (en) Loop detection method and switch
EP2207307A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
CN107508640A (en) Dual loop redundancy self-healing fiber optic network construction method based on Fibre Channel technologies
CN102916862B (en) Intelligent looped network dynamic protection method of industrial Ethernet switch
CN101820374A (en) The method for issuing token of communication node and annular communication system, token-ring communication method
CN102957588A (en) Method and system for protecting looped network from broadcast storm
CN102325071B (en) Communication node and token ring communication method
CN101547131A (en) EAPS looped network single-channel fault location and protection method
CN101820375A (en) The method for issuing token of communication node and annular communication system, token-ring communication method
CN114401324B (en) Message forwarding method, network equipment and system
JP5169798B2 (en) Bridge device and virtual network failure switching method
JP4100528B2 (en) Loop network configuration management method and loop network system
CN101741675B (en) Communication node and ring forming method and ring establishing method for communication system
JP2012129864A (en) Communication system and method for controlling user access device
JP4938875B2 (en) Communication node and token ring communication method
JP4995294B2 (en) Communication node and token ring communication method
CN116318399A (en) Master-slave type point-to-multipoint communication system and method based on high-speed optical fiber communication
JP2012134805A (en) Network relay apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100901