CN102594592A - Communication management device, communication nodes, communication system and data communication method - Google Patents

Communication management device, communication nodes, communication system and data communication method Download PDF

Info

Publication number
CN102594592A
CN102594592A CN201210026699XA CN201210026699A CN102594592A CN 102594592 A CN102594592 A CN 102594592A CN 201210026699X A CN201210026699X A CN 201210026699XA CN 201210026699 A CN201210026699 A CN 201210026699A CN 102594592 A CN102594592 A CN 102594592A
Authority
CN
China
Prior art keywords
frame
token
network
communication node
information
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
CN201210026699XA
Other languages
Chinese (zh)
Other versions
CN102594592B (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 CN201210026699.XA priority Critical patent/CN102594592B/en
Publication of CN102594592A publication Critical patent/CN102594592A/en
Application granted granted Critical
Publication of CN102594592B publication Critical patent/CN102594592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a communication management device, communication nodes, a communication system and a data communication method, which comprise a network existence confirming unit, a token circular sequence determining unit, a setting processing unit, a token frame processing unit and a data frame communication processing unit, wherein the network existence confirming unit performs network existence confirming processing which generates network existence information; the token circular sequence determining unit determines a token circular sequence according to the network existence information; the setting processing unit informs each of the communication nodes in the network of token circular target information; the data frame communication processing unit sends data frames to the token frame processing unit, and the token frame processing unit sends a token frame containing information of a next transmission right acquiring device, moreover, and the token frame processing unit judge whether the received information of the transmission right acquiring device of the token frame belongs to the device; and the data frame communication processing unit performs receiving and sending processing of data frames after acquiring a sending right.

Description

Communications Management Units, communication node, communication system and data communications method
The application is based on the China national application number 200880132540.8 (international application no PCT/JP2008/073631) that proposed on December 25th, 2008 and applies for dividing an application of (Communications Management Units, communication node, communication system and data communications method), below quotes its content.
Technical field
The present invention relates to a kind of Communications Management Units, communication node, communication system and data communications method that between the communication node that utilizes Ethernet (registered trade mark) to connect, utilizes token frame to communicate.
Background technology
Current, as the mode of between the communication node that connects by cable, carrying out the reception/transmission of data, known Ethernet (registered trade mark, below identical).For the connected mode of the communication node in the Ethernet, known have (for example, with reference to non-patent literatures 1) such as bus topology, Star topology and linear topologies.
Bus topology formation as follows promptly, will be the center as 1 cable of backbone, begin to extend breakout cable across proper spacing from this backbone, thereby dispose a plurality of communication nodes.Because in this bus topology; If a plurality of communication nodes send data simultaneously; Then cause data collision, guarantee transmission route when avoiding conflict and carry out the data transmission to CSMA/CD (the Carrier Sense Multiple Access/Collision Detection) mode that whole communication nodes that connect transmit data so be employed in.
But in the connected mode of communication node in recent years, Star topology becomes main flow.In this Star topology, form following structure; Promptly; To have communication node a plurality of ports, that be called as switch hub as the center, other communication node each port via switch hub will be connected with UTP cable cables such as (Unshielded Twisted Pair Cable).In addition; Because switch hub has buffer storage; Even sent simultaneously under the data conditions at a plurality of communication nodes; Also elder generation in buffer storage, sends data to port that sends target or the whole ports except the port that receives these data, so needn't consider the conflict between the data as bus topology with storage then.
Patent Document 1: Ishida repair, Seto Koichiro editor, "ィ nn pu Ritz su standard textbook Shin re a Season revised edition 10 ギ ga Bldg ッ Suites Ethernet textbook", "Corporation ィ nn pu Ritz su Neko ッ Suites bi ji Neko su grades Lymph ni a," April 11, 2005
Summary of the invention
But, in recent years,, also control usually utilizing Ethernet to connect between each equipment even in the network that between the FA that will require real-time (Factory Automation) equipment, links (below be called the FA network).For example, construct the control system of utilizing Ethernet to connect between the communication unit of the Programmable Logic Controller that controlling object is controlled (below be called home site) and between the communication unit of the communication unit (home site) of Programmable Logic Controller and input-output apparatus (below be called the subordinate website) and forming.
In control system; Owing to require real-time, so a series of processing are also carried out this series of processes repeatedly below in the predetermined time, carrying out, promptly; These a series of processing are meant from the subordinate website sends data to home site; The calculation process that the data that utilization receives from the subordinate website in home site are stipulated calculates control data, and sends control data to each subordinate website.
Usually, in control system, be connected with a plurality of subordinate websites, send mass data at short notice to home site from the subordinate website.At this moment, be under the situation of Star topology in control system, even the subordinate website sends data simultaneously, also can be stored in the buffer storage of switch hub, send to home site in order.But if in control system, connect a plurality of subordinate websites, the data quantitative change that then is stored in the buffer storage is many, and the data of carrying out relaying to home site produce delay.And, under worst condition, be created in can't accomplish in the predetermined time and send and destroy the problem points of the real-time of control system to the data of home site.In addition, might use up and frame takes place give up owing to the buffer storage of switch hub, perhaps the data moment from the subordinate website concentrates in the home site, and is different and LOF might also take place in home site according to the processing speed of home site.
The present invention In view of the foregoing proposes; Its purpose is to obtain a kind of Communications Management Units, communication node, communication system and data communications method; It is in requiring the network of real-time; Utilizing Ethernet to carry out under the state that does not produce data delay, to carry out the reception/transmission of frame under the situation of reception/transmission of frame.
To achieve these goals; Communications Management Units involved in the present invention; Manage utilizing Ethernet (registered trade mark) cable with starlike or wire the data in the network of the same network segment of a plurality of communication nodes connections to be sent, this Communications Management Units is characterised in that to have: there is confirmation unit in network; It carries out network and exists affirmation to handle; In this is handled, from said communication node obtain the said communication node that is present in the said network, and said communication node between annexation, generate network and have information; The token circular order is confirmed the unit, and it utilizes said network to exist information to confirm the token circular order, so that the number of times that the transmission route of data is a token frame through the transmission path between 2 adjacent said communication nodes becomes minimum; Processing unit is set, and it is based on said token circular order, said each communication node in said network, and the communication node of notifying the next one after this communication node to give said transmission route is a token circulation target information; The token frame processing unit; It compares the MAC Address that the transmission route in the said token frame that receives obtains device information and this device; Judge whether obtain transmission route; Obtaining under the situation of transmission route, after sending Frame, sending the token frame of in said transmission route acquisition device information, having set next communication node based on said token circular order by the Frame communications processor element; And the Frame communications processor element, it sends Frame under the situation that obtains said transmission route, receive the Frame from other said communication node.
The effect of invention
According to the present invention, owing in each communication node, make the token frame circulation through the minimum order of the number of times of the transmission path between the communication node according to making, so have following effect; Promptly; In requiring the network of real-time, utilizing Ethernet to carry out to realize and the corresponding best real-time of the connection status of network under the situation of reception/transmission of frame; And through preventing the conflict of frame, thereby can under the state that does not produce data delay, carry out the reception/transmission of frame.
Description of drawings
Fig. 1 representes that schematically this execution mode 1 related token that utilizes communicates
The figure of an example of communication system.
Fig. 2-the 1st schematically representes the block diagram of the functional structure of loop admin site.
Fig. 2-the 2nd schematically representes the block diagram of the functional structure of subordinate website.
Fig. 3-the 1st, there is the figure of an example of the form of acknowledgement frame in the expression network.
Fig. 3-the 2nd, there is the figure of an example of the form of confirming response frame in the expression network.
Fig. 3-the 3rd, expression is provided with the figure of an example of the form of frame (setup frame).
Fig. 3-the 4th, expression is provided with the figure of an example of the form of response frame.
Fig. 3-the 5th, the figure of an example of the form of expression token frame.
Fig. 4-the 1st, the figure (its 1) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 2nd, the figure (its 2) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 3rd, the figure (its 3) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 4th, the figure (its 4) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 5th, the figure (its 5) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 6th, the figure (its 6) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 7th, the figure (its 7) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 8th, the figure (its 8) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 9th, the figure (its 9) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 10th, the figure (its 10) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 11st, the figure (its 11) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 12nd, the figure (its 12) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 13rd, the figure (its 13) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 14th, the figure (its 14) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 4-the 15th, the figure (its 15) that schematically representes the method for building up of the logical loops that this execution mode 1 is related and utilize an example of the method that token communicates.
Fig. 5-the 1st schematically representes to exist from the network that loop admin site X sends the figure of an example of acknowledgement frame.
Fig. 5-the 2nd schematically representes to have the figure of an example confirming response frame from the network of subordinate website A, B transmission.
Fig. 5-the 3rd schematically representes to be existed by the network that subordinate website B sends the figure of an example of acknowledgement frame.
Fig. 5-the 4th schematically representes to have the figure of an example confirming response frame from the network of subordinate website C, D transmission.
Fig. 5-the 5th schematically representes to be existed by the network that subordinate website D sends the figure of an example of acknowledgement frame.
Fig. 5-the 6th schematically representes to exist from the network that subordinate website E sends the figure of an example confirming response frame.
Fig. 5-the 7th schematically representes the figure to the example that frame is set of each subordinate website transmission from loop admin site X.
Fig. 5-the 8th schematically representes from the figure of the example that response frame is set of each subordinate website transmission.
Fig. 5-the 9th, the figure of an example of the token frame of schematically representing to generate by each communication node.
Fig. 6 is the figure that there is an example of information in the network of expression loop admin site X generation.
Fig. 7 is the flow chart of an example of the expression treatment step of confirming the token circular order.
Fig. 8-the 1st schematically representes the figure (its 1) of an example of the generative process of token circular list.
Fig. 8-the 2nd schematically representes the figure (its 2) of an example of the generative process of token circular list.
Fig. 8-the 3rd schematically representes the figure (its 3) of an example of the generative process of token circular list.
Fig. 8-the 4th schematically representes the figure (its 4) of an example of the generative process of token circular list.
Fig. 8-the 5th schematically representes the figure (its 5) of an example of the generative process of token circular list.
Fig. 8-the 6th schematically representes the figure (its 6) of an example of the generative process of token circular list.
Fig. 8-the 7th schematically representes the figure (its 7) of an example of the generative process of token circular list.
Fig. 8-the 8th schematically representes the figure (its 8) of an example of the generative process of token circular list.
Fig. 8-the 9th schematically representes the figure (its 9) of an example of the generative process of token circular list.
Fig. 9-the 1st is illustrated in the figure (its 1) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 2nd is illustrated in the figure (its 2) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 3rd is illustrated in the figure (its 3) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 4th is illustrated in the figure (its 4) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 5th is illustrated in the figure (its 5) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 6th is illustrated in the figure (its 6) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 7th is illustrated in the figure (its 7) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 8th is illustrated in the figure (its 8) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 9th is illustrated in the figure (its 9) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 10th is illustrated in the figure (its 10) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Fig. 9-the 11st is illustrated in the figure (its 11) of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.
Figure 10 is the figure that schematically representes to exist from the network that subordinate website F sends an example confirming response frame.
To be expression receive network from subordinate website F to Figure 11 exist to confirm that there is the figure of an example of information in network behind the response frame.
Figure 12 schematically representes the figure to the example that frame is set of subordinate website C, F transmission from loop admin site X.
Figure 13 is the figure of an example of expression this execution mode 3 related networks structure that has information.
Figure 14 is a flow chart of representing to be made up of again the logical loops that the loop admin site is carried out an example of processing.
Figure 15 is the block diagram of an example of the functional structure of the loop admin site of representing that schematically this execution mode 4 is related.
Figure 16-the 1st schematically representes the figure (its 1) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 2nd schematically representes the figure (its 2) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 3rd schematically representes the figure (its 3) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 4th schematically representes the figure (its 4) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 5th schematically representes the figure (its 5) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 6th schematically representes the figure (its 6) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 7th schematically representes the figure (its 7) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 16-the 8th schematically representes the figure (its 8) of an example re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 17-the 1st schematically representes the figure (its 1) of other example of re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 17-the 2nd schematically representes the figure (its 2) of other example of re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 17-the 3rd schematically representes the figure (its 3) of other example of re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 17-the 4th schematically representes the figure (its 4) of other example of re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 17-the 5th schematically representes the figure (its 5) of other example of re-issuing processed steps of the token frame that this execution mode 4 is related.
Figure 18 is the block diagram of an example of the functional structure of the subordinate website of representing that schematically this execution mode 5 is related.
Figure 19-the 1st schematically representes the figure (its 1) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 2nd schematically representes the figure (its 2) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 3rd schematically representes the figure (its 3) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 4th schematically representes the figure (its 4) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 5th schematically representes the figure (its 5) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 6th schematically representes the figure (its 6) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 7th schematically representes the figure (its 7) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 8th schematically representes the figure (its 8) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 9th schematically representes the figure (its 9) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
Figure 19-the 10th schematically representes the figure (its 10) of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.
The explanation of label
A~F subordinate website
X loop admin site
11-1,11-2,51-1,51-2 port
20,20A, 60,60A communication process portion
21,65 timers
22 networks exist confirms handling part
There is information storage part in 23 networks
24 token circular orders are confirmed portion
25 token circular order information storage parts
26 are provided with handling part
27,63 token frame handling parts
28,64 Frame communication process portions
29 network monitoring portions
30 frame storage parts
51 ports
61 control frame response portions
62 token circulation target information storage parts
66 replacement handling parts
101 switch hubs
102 cables
111,112 transmission paths
There is acknowledgement frame in 200 networks
220 networks exist confirms response frame
240 are provided with frame
260 are provided with response frame
280 token frames
Embodiment
Below, with reference to accompanying drawing, specify the preferred implementation of Communications Management Units, communication node, communication system and data communications method involved in the present invention.In addition, the present invention and can't help these execution modes and limit.
Execution mode 1.
Fig. 1 is the figure that schematically representes an example of related the utilizing of this execution mode 1 communication system that token communicates.This communication system is made up of the network of the same network segment (segment) that a plurality of communication nodes is utilized Ethernet (registered trade mark, below identical) wire or starlike connection.In addition, communication node has 2 ports separately, and cable 102 that can full-duplex communication via twisted pair wire or optical fiber etc. between the port of each communication node connects.In this example; As communication node; Show 1 the situation that is provided with as loop admin site X and 5 subordinate website A~E of Communications Management Units; This loop admin site X manages the reception/transmission of the data in the network of the same network segment (frame), and this subordinate website A~E carries out the transmission of data (frame) based on the setting of loop admin site X.
As shown in Figure 1, loop admin site X is connected with wire with subordinate website A, B.That is, the 1st port x 1 of loop admin site X is connected with the 2nd port A2 of subordinate website A, and the 2nd port x 2 of loop admin site X is connected with the 1st port B1 of subordinate website B.
In addition, subordinate website B, C, D are through switch hub 101 and by starlike connection.That is, the 2nd port B2 of subordinate website B, the 1st port C1 of subordinate website C and the 1st port D1 of subordinate website D are connected via switch hub 101.V and, subordinate website D, E wire connect.That is, the 1st port E1 of the 2nd port D2 of subordinate website D and subordinate website E is connected.
In addition, here, the MAC of each communication node (Media Access Control) address (being expressed as MAC_AD in the drawings) becomes the following value that sets.
Loop admin site X=100
Subordinate website A=1
Subordinate website B=2
Subordinate website C=3
Subordinate website D=4
Subordinate website E=5
In this execution mode 1; Above-mentioned utilize between with each communication node Ethernet with starlike or communication system that wire connects in; Be not that each communication node freely carries out the data transmission; But send the frame that is used to obtain the data transmission route (token frame) that is called as token through order each node in communication system, make the communication node that obtains this token to carry out data and send to other communication node.Here, the sending order of token frame is for example shown in following (A).
Loop admin site X → subordinate website B → subordinate website C → subordinate website D → subordinate website E → subordinate website A → loop admin site X ... (A)
As stated; Though communication system does not have loop structure as the network configuration of physics; But, transmit the structure of transmission route repeatedly with the mode of logical loops structure thereby form through making between the communication node of transmission route (token frame) in communication system of data sequence delivery and make transmission route return loop admin site X.
Fig. 2-the 1st schematically representes the figure of the functional structure of loop admin site.Loop admin site X has: two port one 1-1,11-2, and they are used for and adjacent communication node (subordinate website A~E) or be connected the Ethernet cable between the switch hub 101; And communication process portion 20, it carries out handling and establishing via the frame reception/transmission of port one 1-1,11-2 the processing etc. of the sending order of token frame.
Port one 1-1,11-2 are made up of the 1st port one 1-1 and these two ports of the 2nd port one 1-2.(port of the subordinate website that perhaps is connected via switch hub) connection as long as the port of at least one port among above-mentioned two the port one 1-1,11-2 and adjacent subordinate website.
Communication process portion 20 have timer 21, network exist confirm that handling part 22, network exist information storage part 23, token circular order to confirm portion 24, token circular order information storage part 25, handling part 26 is set, token frame handling part 27 and Frame communication process portion 28.
Timer 21 is started by the handling part in the communication process portion 20, has the function of measuring the stipulated time.In this execution mode 1, to exist confirming that by network handling part 22 sends networks and exists behind the acknowledgement frame through carrying out timing during the stipulated time.
Network exist to be confirmed handling part 22 behind the power connection of this device (loop admin site X) or after producing predefined state, is used for network that the connection status to the communication node that constitutes communication system (network of the same network segment) detects and exists and confirm to handle.Specifically, generate network and have acknowledgement frame and utilize broadcasting to send, according to have the response of acknowledgement frame to network be that network exists and confirms to generate the information that comprised in the response frame network and have information from being present in communication node in the communication system.This processing makes timer 21 start to through carrying out in during till the stipulated time having sent when there is acknowledgement frame in network.
Fig. 3-the 1st, there is the figure of an example of the form of acknowledgement frame in the expression network.It is ethernet frames that there is acknowledgement frame 200 in network, has: send destination-mac address (below be called DA) 201; Send source MAC (below be called SA) 202; Ethernet type (type) 203; Data 204, it stores upper layer data; And FCS (Frame Check Sequence) 208, whether its storage exists the check results of mistake till from the DA 201 of this frame to data 204 institute's canned data.
In this execution mode 1, there is the transmit port information 207 of acknowledgement frame in the network that in the part of data 204, stores mac address information 206 and this website of frame kind of information 205, loop admin site.
Frame kind of information 205 is to be used to discern the information that this ethernet frame is any frame.Here, storage is depicted as the information that there is this situation of acknowledgement frame in network in this frame kind of information 205.In this example, exist acknowledgement frame to be expressed as " TestData " on network.
The MAC Address of store loop admin site X in the mac address information 206 of loop admin site.In addition, exist in the transmit port information 207 of acknowledgement frame at the network of this website, it is which port to send the port information that there is acknowledgement frame 200 in network from that storage illustrates communication node.
Fig. 3-the 2nd, there is the figure of an example of the form of confirming response frame in the expression network.This network exists confirms that response frame 220 also is an ethernet frame, and definition has the information of in this execution mode 1, using in data 224.That is there is the SA information 226 in the acknowledgement frame in the network that, in the part of data 224, store frame kind of information 225, receives and sends the port information 227 that there is the website of acknowledgement frame in network.
Here, storage is depicted as the information that there are affirmation response frame 220 these situation in network in frame kind of information 225.In this manual, exist the affirmation response frame to be expressed as " TestDataACK " on network.In addition, in " there is the SA information in the acknowledgement frame in the network that receives " 226, be stored in the network that communication node (subordinate website) receives and have the MAC Address of being stored in SA 202 zones of acknowledgement frame 200.And; The following information of storage in " sending the port information that there is the website of acknowledgement frame in network " 227; That is, there is the port information of being stored in " there is the transmit port information of acknowledgement frame in the network of this website " 207 in data 204 zones in the acknowledgement frame 200 in the network that receives of communication node (subordinate website).
Here; If existing, network confirms that handling part 22 receives network and has affirmation response frame 220; Then generate there are information in " there is the SA information in the acknowledgement frame in the network that receives " 226 in the data 224, " sending the port information that there is the website of acknowledgement frame in network " 227 with the network that the network that receives exists " SA " 222 of affirmation response frame 220 to be associated, and be stored in network and exist in the information storage part 23.
Network exists information storage part 23 storages to exist the network of confirming handling part 22 generations to have information by network.Exist in the information at this network, contain as stated: send the MAC Address (SA 222) that there is the communication node (subordinate website) of confirming response frame 220 in network; " there is the SA information in the acknowledgement frame in the network that receives " 226; And " sending the port information that there is the website of acknowledgement frame in network " 227.
After exist confirming that by network timer that handling part 22 starts 21 is overtime; The token circular order confirms that portion 24 carries out following processing; Promptly confirm the processing of the circular order of token frame; This processing and utilizing is stored in network and exists the network in the information storage part 23 to have information, hold to constitute the connection status between the communication node of communication system and constitutes logical loops.Here; The token circular order confirms that portion 24 is in the processing that constitutes logical loops; So that the mode of the communication node minimum number of during one week of circulation, being passed through as the token of transmission route (is called transmission path if will link two cables (comprising switch hub) between the communication node; Then make one week of token circulation during the mode of minimum number of the communication path that passed through), construct logical loops.As the method for the token circular order of confirming to satisfy above-mentioned condition, in belonging to the network of the same network segment, utilize a mode of sketching the contours that each communication node is linked and get final product.In addition, record utilizes this method of sketching the contours to confirm the method for token circular order in the back.With the circular order of confirming good token frame as token circular order information stores in token circular order information storage part 25.
If confirm that by the token circular order portion 24 has confirmed token circular order information; Handling part 26 then is set utilizes this token circular order information; Generate the information of communication node that the next one comprise after this communication node is endowed transmission route at the interior frame that is provided with to each communication node in the communication system (subordinate website), and send to each communication node.In addition, handling part 26 is set judges whether to receive to the response that frame is set response frame promptly is set, receiving from whole communication nodes under the situation that response frame is set from whole communication nodes, with this situation to token frame handling part 27 notices.
Fig. 3-the 3rd, expression is provided with the figure of an example of the form of frame.This is provided with frame 240 also is ethernet frame, in the part in data 244 zones, stores frame kind of information 245, reaches token frame transmission destination-mac address set information 246.
Because this is provided with frame 240 and relatively sets with each communication node, so in DA241, set the MAC Address of the subordinate website that loop admin site X wants to set.In addition, storage is depicted as the information that frame 240 these situation are set in frame kind of information 245.In this manual, frame 240 will be set and be expressed as " Setup ".And; When utilizing token frame control transmission route, the next one after token frame sends the communication node that is stored in the transmission target that frame 240 is set as this in the destination-mac address set information 246 is endowed the subordinate website of transmission route or the MAC Address of loop admin site X.
Fig. 3-the 4th, expression is provided with the figure of an example of the form of response frame.This is provided with response frame 260 also is ethernet frame, and in the part in data 264 zones, storing this frame is shown is the frame kind of information 265 that response frame 260 these situation are set.Response frame 260 will be set here, and be expressed as " SetupACK ".
In handling part 26 is set; Through for example existing the network of information storage part 23 to exist in the information at network; Expression is set receives the sign that response frame 260 is set, thereby whether can confirm that whole communication nodes in the communication system receive is provided with response frame 260.
If token frame handling part 27 receives content and receives the notice that response frame 260 is set for the whole communication nodes in the communication system from handling part 26 is set; Then based on the token circular order information of token circular order information storage part 25; Generate token frame, and utilize broadcasting to send from whole port one 1-1, the 11-2 of this website.
Fig. 3-the 5th, the figure of an example of the form of expression token frame.This token frame 280 also is an ethernet frame, and storage frame kind of information 285 and this website are judged with mac address information 286 from belonging to token in the part in data 284 zones.
Storage is depicted as the information of token frame 280 these situation in frame kind of information 285.In this manual, token frame 280 is expressed as " Token ".In addition, store the MAC Address of communication node at this website in judging with mac address information 286 from belonging to token with transmission route.
In addition; If token frame handling part 27 receives the token frame 280 that sends from other communication node, then with these websites in the data of this token frame 280 284 from belong to token judge with mac address information 286, and the MAC Address of this website (loop admin site X) compare, under the situation of unanimity; Be judged to be the acquisition transmission route; Carry out transmission processing, under inconsistent situation, be judged to be and do not obtain transmission route as yet by the Frame of Frame communication process portion 28 execution.In addition, under any situation, all the token frame that receives 280 is passed on (forwarding) from other port outside the port that receives this frame.
Frame communication process portion 28 carries out the reception/transmission of Frame and handles.For example, in the FA network, the data of setting to each subordinate website A~E with the cycle computing of regulation are sent to each subordinate website A~E after these data carry out Frameizations.In addition, also have Frame that reception sends from subordinate website A~E, subordinate website A~E Frame that is target with other subordinate website is passed on the function of (forwarding).
In addition; Be illustrated in the frame kind of information 205,225,245,265,285 of each frame shown in above-mentioned Fig. 3-1~Fig. 3-5; Store the situation of " TestData " or " TestDataACK " etc. in order to discern each frame; But also can set the numerical value of unique this frame of identification to each frame, and with this value storage in frame kind of information 205,225,245,265,285.
Fig. 2-the 2nd schematically representes the block diagram of the functional structure of subordinate website.Subordinate website A~E has: two port 51-1,51-2, they be used for adjacent communication node (loop admin site X, subordinate website) or switch hub 101 between be connected the Ethernet cable; And communication process portion 60, it is carried out via the frame reception/transmission of port 51-1,51-2 and handles.
Port 51-1, the identical ground with loop admin site X of 51-2 are made up of the 1st port 51-1 and these two ports of the 2nd port 51-2.As long as at least one port among above-mentioned two port 51-1, the 51-2 is connected with communication node.
Communication process portion 60 has control frame response portion 61, token circulation target information storage part 62, token frame handling part 63, reaches Frame communication process portion 64.
Control frame response portion 61 is directed against the network of self loop admin site X to have acknowledgement frame 200 or control frames such as frame 240 is set and responds.For example, there is acknowledgement frame 200, then generates the network shown in Fig. 3-2 and have affirmation response frame 220, to loop admin site X loopback if receive network.In addition; If receive frame 240 is set; The token frame that then extracts in the data 244 that frame 240 is set sends destination-mac address set information 246; Be stored in the token circulation target information storage part 62 as token circulation target information, and generate and shown in Fig. 3-4 response frame 260 to be set, to loop admin site X loopback.In addition; In this manual; To exist at network and confirm handle and logical loops constitutes the frame that exchanges between the loop admin site X and subordinate website A~E when handling and is called control frame, will be after constituting logical loops be called Frame through obtaining the frame that token frame send.
In addition, control frame response portion 61 also has following function, and is promptly corresponding with the frame kind of the control frame that receives from loop admin site X or other subordinate website, reconstitutes frame and sends, or only transmits.For example; There is acknowledgement frame 200 if receive network from loop admin site X; Then the port beyond the port that receives this frame has been set up under the situation of transmission path; Carry out the processing that exists the network of this website in SA 202 shown in Fig. 3-1 of acknowledgement frame and the data 204 to exist the transmit port information 207 of acknowledgement frame to rewrite to the network that receives, reconstitute that there is acknowledgement frame in network and from the output of the port beyond the receiving port.
In addition; Also has following function; Promptly; For example comprise coming frame 240 is set, or exists under the situation of the control frame of confirming response frame 220 and response frame 260 being set of self loop admin site X receiving, this frame is not carried out any processing and only transmit from the network of other subordinate website.
Token circulation target information storage part 62 these communication nodes of storage (subordinate website) next one afterwards obtains the MAC Address of the communication node of transmission route.As stated, wherein store the content that the token frames in the data 244 that frame 240 is set send destination-mac address set information 246.In addition, in this execution mode 1,,, can data volume be suppressed for less so compare with the token circular order stored information that loop admin site X is kept because only the storage next one will send the MAC Address of the communication node of token.
If token frame handling part 63 receives the token frame 280 that sends from other communication node; Then this website in the data 284 of this token frame 280 is judged that from belonging to token the MAC Address with mac address information 286 and this website (subordinate website) compares; Under the situation of unanimity; Be judged to be the acquisition transmission route, and carry out transmission processing by the Frame of Frame communication process portion 64 execution.Then; These websites that are created in the data 284 of token frame 280 judge with the token frame 280 that stores the token circulation target information that token circulation target information storage part 62 stored in the mac address information 286 from belonging to token, and utilize to broadcast from whole port 51-1, the 51-2 of this website and send.On the other hand, this website in the data 284 of the token frame that receives 280 is judged under the inconsistent situation of MAC Address with mac address information 286 and this website (subordinate website) from belonging to token, is judged to be and does not obtain transmission route as yet.In addition, under any situation, all the token frame that receives 280 is transmitted by other port beyond the port that receives this frame.
Frame communication process portion 64 carries out the reception/transmission of Frame and handles.Specifically, carry out and loop admin site X or other subordinate website between the reception/transmission of Frame handle.
Below, the method for building up of the logical loops in the above-mentioned communication system and the method for utilizing token to communicate are described.Fig. 4-1~Fig. 4-the 15th, the figure that the method for building up of the related logical loops of this execution mode 1 schematically is shown and utilizes an example of the method that token communicates.
At first, shown in Fig. 4-1, utilize the Ethernet cable with subordinate website A~E with after loop admin site X is connected, with the power connection of subordinate website A~E.Under this state, subordinate website A~E becomes wait and receives the network of self loop admin site X to have the state of acknowledgement frame.
Then, if make the power connection of loop admin site X, then loop admin site X carries out following processing, comprises the subordinate website that loop admin site X is connected with identification on the network of the interior same network segment, sets up logical loops.At first, the network of loop admin site X exist to be confirmed handling part 22 after starting timer 21, shown in Fig. 4-2, generates network and has acknowledgement frame (being expressed as TestDataFrame among the figure), utilizes broadcasting to send from whole port x 1, X2.
Fig. 5-the 1st schematically representes to exist from the network that loop admin site X sends the figure of an example of acknowledgement frame.The network that sends at the 1st port x 1 from loop admin site X exists the acknowledgement frame; As " TestDataFrame (X1 → all) " shown in; In DA, set broadcast address (if for example explain with 2 bytes; Then be " FFFF (all being F) "), the MAC Address " 100 " of setting loop admin site X in SA, storage " TestData " in the frame kind of information; The MAC Address " 100 " of this website of storage in the mac address information of loop admin site is set " port_X1 " that represents the 1st port x 1 in there is the transmit port information of acknowledgement frame in the network of this website.
In addition; The network that sends at the 2nd port x 2 from loop admin site X exists the acknowledgement frame; As " TestDataFrame (X2 → all) " shown in; Project except there is the transmit port information of acknowledgement frame in the network of this website exists acknowledgement frame " TestDataFrame (X1 → all) " identical with the network that sends from the 1st port x 1, in there is the transmit port information of acknowledgement frame in the network of this website, sets " port_X2 " that represents the 2nd port x 2.
Like this, the network that sends from the 1st port x 1 of loop admin site X exists acknowledgement frame to be received by the 2nd port A2 of subordinate website A, and the network that sends from the 2nd port x 2 of loop admin site X exists acknowledgement frame to be received by the 1st port B1 of subordinate website B.
Then, shown in Fig. 4-3, receive network from loop admin site X and have the subordinate website A of acknowledgement frame, the control frame response portion 61 of B, generate network and have affirmation response frame (being expressed as TestDataACKFrame among the figure), and to loop admin site X loopback.
Fig. 5-the 2nd schematically representes to have the figure of an example confirming response frame from the network of subordinate website A, B transmission.Exist the affirmation response frame at the network that the 2nd port A2 from subordinate website A sends; As " TestDataACKFrame (A2 → X) " shown in; In DA, set the MAC Address " 100 " of loop admin site X; In SA, be set at the MAC Address " 1 " of this website; Storage " TestDataACK " in the frame kind of information; There is the SA information in the acknowledgement frame and sends in the port information of website that there is acknowledgement frame in network at the network that receives, exist the network of SA and this website in the acknowledgement frame " TestDataFrame (X1 → all) " to have the transmit port information of acknowledgement frame, be set at " 100 " and " port_X1 " respectively with reference to the network of the Fig. 5-1 that receives.
In addition; Exist the affirmation response frame at the network that the 1st port B1 from subordinate website B sends; Shown in " TestDataACKFrame (B1 → X) ", in SA, set the MAC Address " 2 " of this website, in sending the port information of website that there is acknowledgement frame in network; Exist the network of this website in the acknowledgement frame " TestDataFrame (X2 → all) " to have the transmit port information of acknowledgement frame with reference to the network of Fig. 5-1 of receiving, be set at " port_X2 ".Identical with above-mentioned " TestDataACKFrame (A2 → X) " in addition.
, exist the subordinate website A of acknowledgement frame to return network existence affirmation response frame here, then become the state of the setting of waiting for self loop admin site X to loop admin site X if receive network from loop admin site X.
In addition; Shown in Fig. 4-4; Receive the control frame response portion 61 that there is the subordinate website B of acknowledgement frame in network from loop admin site X; Generation will exist acknowledgement frame to rewrite from the network that the 1st port B1 receives and there is acknowledgement frame in the network that forms (be expressed as TestDataFrame (B2 → all)) in the drawings, the 2nd port B2 that attempts this website outside the 1st port B1 sends network and has acknowledgement frame.Its result has set up under the situation of transmission path at the 2nd port B2 place, sends network and has acknowledgement frame, under the situation of not setting up transmission path, does not send network and has acknowledgement frame.Here, owing to set up transmission path, carry out sending the processing that there is acknowledgement frame in network from the 2nd port B2 at the 2nd port B2 place.
Fig. 5-the 3rd schematically representes to be existed by the network that subordinate website B sends the figure of an example of acknowledgement frame.As shown in the drawing; It is to exist the SA of acknowledgement frame " TestDataFrame (X2 → all) " to be rewritten as the MAC Address " 2 " of this website on the network that receives that there is acknowledgement frame " TestDataFrame (B2 → all) " in network, and the transmit port information rewriting that the network of this website is existed acknowledgement frame forms for " port_B2 ".
Having acknowledgement frame if subordinate website C receives network from the 1st port C1, shown in Fig. 4-5, is that network exists the affirmation response frame to return from the 1st port C1 with its response then.In addition, there is acknowledgement frame in also identical with the subordinate website C ground of subordinate website D if receive network from the 1st port D1, is that network exists the affirmation response frame to return from the 1st port D1 with its response then.
Fig. 5-the 4th schematically representes to have the figure of an example confirming response frame from the network of subordinate website C, D transmission.Exist the affirmation response frame at the network that the 1st port C1 from subordinate website C sends; As " TestDataACKFrame (C1 → X) " shown in; In SA, set the MAC Address " 3 " of this website; Storage " TestDataACK " in the frame kind of information; There is the SA information in the acknowledgement frame and sends in the port information of website that there is acknowledgement frame in network at DA, the network that receives, exist the network of MAC Address, SA and this website of the loop admin site in the acknowledgement frame " TestDataFrame (B2 → all) " to have the transmit port information of acknowledgement frame, be set at " 100 " respectively, " 2 " reach " port_B2 " with reference to the network of the Fig. 5-3 that receives.
In addition, also confirm response frame from the 1st port D1 transmission network existence of subordinate website D.This network exists confirms that response frame is shown in " TestDataACKFrame (D1 → X) "; Except the MAC Address " 4 " that SA is set at this website, form with the network of seeing off from subordinate website C and have the identical content of affirmation response frame " TestDataACKFrame (C1 → X) ".
Then, 61 pairs of networks that receive from subordinate website C, D of the control frame response portion of subordinate website B exist the frame kind of information of confirming response frame to judge, owing to be that network exists the affirmation response frame, so directly transmit to loop admin site X.
, exist the subordinate website C of acknowledgement frame to have the affirmation response frame here, then become the state of the setting of waiting for self loop admin site X to loop admin site X loopback network if receive network from subordinate website B.
In addition; Shown in Fig. 4-6; Receive the control frame response portion 61 that there is the subordinate website D of acknowledgement frame in network from subordinate website B; Generation will exist acknowledgement frame to rewrite network that the back forms from the network that the 1st port D1 receives to exist acknowledgement frame (to be expressed as TestDataFrame (D2 → all), and attempt sending network from the 2nd port D2 of this website beyond the 1st port D1 and have acknowledgement frame in the drawings.Its result has set up under the situation of transmission path at the 2nd port D2 place, sends network and has acknowledgement frame, under the situation of not setting up transmission path, does not send network and has acknowledgement frame.Here, owing to set up transmission path, carry out sending the processing that there is acknowledgement frame in network from the 2nd port D2 at the 2nd port D2 place.
Fig. 5-the 5th schematically representes to be existed by the network that subordinate website D sends the figure of an example of acknowledgement frame.As shown in the drawing; It is to exist the SA of acknowledgement frame " TestDataFrame (B2 → all) " to be rewritten as the MAC Address " 4 " of this website on the network that receives that there is acknowledgement frame " TestDataFrame (D2 → all) " in network, and the transmit port information rewriting that the network of this website is existed acknowledgement frame forms for " port_D2 ".
Have acknowledgement frame if subordinate website E receives network from the 1st port E1, then shown in Fig. 4-7, returning its response from the 1st port is that network exists and confirms response frame (being expressed as " TestDataACKFrame (E1 → X) " in the drawings).
Fig. 5-the 6th schematically representes to exist from the network that subordinate website E sends the figure of an example confirming response frame.Exist the affirmation response frame at the network that the 1st port E1 from subordinate website E sends; In SA, set the MAC Address " 5 " of this website; Storage " TestDataACK " in the frame kind of information; There is the SA information in the acknowledgement frame and sends in the port information of website that there is acknowledgement frame in network at DA, the network that receives; Exist the network of MAC Address, SA and this website of the loop admin site in the acknowledgement frame " TestDataFrame (D2 → all) " to have the transmit port information of acknowledgement frame with reference to the network of Fig. 5-5 of receiving, be set at " 100 " respectively, " 4 " reach " port_D2 ".
And the networks that 61 pairs in the control frame response portion of subordinate website D, B sends from subordinate website E exist the frame kind of information of confirming response frame to judge, owing to be that network exists and confirms response frame, so directly carry out the processing of transmitting to loop admin site X.
In addition, exist the subordinate website E of acknowledgement frame to have the affirmation response frame, then become the state of the setting of waiting for self loop admin site X to loop admin site X loopback network if receive network from subordinate website D.
Here; Suppose that the network of loop admin site X exist to confirm that the wait network that handling part 22 sets existed between the starting period of the timer 21 of confirming response frame in Fig. 4-1, receiving from the communication node in the network of the same network segment is that the network of subordinate website A~E exists and confirms response frame.
In addition; If existing, the network of loop admin site X confirms that handling part 22 receives network from subordinate website A~E and has the affirmation response frame between the starting period of timer 21; Then generate network and have information, and be stored in network and exist in the information storage part 23 according to this frame.
Fig. 6 is the figure that there is an example of information in the network of expression loop admin site X generation.There is the SA information in the acknowledgement frame in the network that the information that has this network contains SA, receive and sends these projects of port information that there is the website of acknowledgement frame in network.The network of loop admin site X exists to be confirmed that handling part 22 exists according to the network that receives and confirms response frame, from the zone that has defined above-mentioned projects, obtains each information, and is stored in network and exists in the information.
Then; If the token circular order of loop admin site X confirms that portion 24 detects timer 21 and passed through and be used to wait for that there is the stipulated time of confirming response frame in network, then utilize to be stored in network till overtime and to exist the network in the information storage part 23 to exist information to constitute the processing of logical loops.Here; Loop admin site X is so that the for example minimum mode of during one week of circulation, being passed through as the token of transmission route of communication node quantity (is called transmission path if will link two cables 102 (being included in the situation that contains switch hub 101 between the cable 102) between the communication node; Then make the quantity of the transmission path that token frame was passed through during one week of circulation for example become minimum mode), construct logical loops.As the method for the token frame circular order of confirming to satisfy this condition, can in belonging to the network of the same network segment, utilize one and sketch the contours (according to the method that travels through along tree) to link each communication node.Explanation utilizes this method of sketching the contours to confirm the method for token circular order below.
Fig. 7 is the flow chart of an example of the expression treatment step of confirming the token circular order.At first, the token circular order of loop admin site X confirms that portion 24 selects the MAC Address (step S11) of these websites, and selects the port (step S12) in the port that this website has.In addition, the token circular order is confirmed portion 24 in the token circular list as token circular order information of token circular order information storage part 25, logins the combination (step S13) of the MAC Address and the port of selected website.
Then, the token circular order confirms that portion 24 retrieves the record (step S14) that has the network of information storage part 23 to exist whether to exist in the information combination of " there is the SA information in the acknowledgement frame in the network that receives " identical with the combination of selected MAC Address and port and " sending the port information that there is the website of acknowledgement frame in network " at network in order.After the retrieval; Under the situation (situation) of the record that has like combinations for being in step S14; With the SA of whole records of correspondence with the MAC Address ways of connecting of the loop admin site X that in step S13, logins, login token circular order information storage part 25 as the token circular list of token circular order information in (step S15).
Then, the SA (step S16) among the SA (MAC Address) of the communication node of selection login in the token circular list.Then, the record that exists in the information retrieval in order whether to exist to have " there is the SA information in the acknowledgement frame in the network that receives " identical with selected SA at network, promptly whether there is the next communication node (step S17) of selected SA.
Then; The next communication node that whether exists to the communication node corresponding with selected SA is judged (step S18); Exist in selected SA the next under the situation (situation) of communication node for being in step S18; The SA of record that will be corresponding with the next communication node with the SA ways of connecting of selected communication node in step S16 (subordinate website), login is in the token circular list (step S19).
Then; Be chosen in the SA (step S20) among the SA that logins among the step S19, the record that exists in the information retrieval in order whether to exist to have " there is the SA information in the acknowledgement frame in the network that receives " identical with selected SA at network, promptly whether have a next communication node (step S21) with the corresponding communication node of selected SA.Then, return step S18, in tree-shaped network configuration, from loop admin site X in order branch and the branch selecting till arriving the most the next communication node, carry out the processing of step S18~S21 repeatedly.
Under the situation of the most the next communication node of certain branch in arriving tree-shaped network configuration, in the retrieval process of the next communication node of the selected SA of step S21, there is not the next communication node.Thus, in step S18, do not exist in selected SA the next under the situation (in step S18, being situation not) of communication node, handle redirect.
In this case, to whether exist with step S16 or S20 in other SA that does not retrieve of the last SA same levels of selecting judge (step S22).Here, so-called rank is meant, is being connected with under the situation of SA from loop admin site X tree-shapedly, arrives the quantity of the communication node on the path of certain SA from loop admin site X.
Under the situation (situation) that exists with other SA that does not retrieve of the last SA same levels of selecting, select login other SA (step S23) in the token circular list with the last SA same levels of selecting for being in step S22.Then, exist in the information retrieval in order whether to exist at network and have the next communication node (step S24) that with the record of selected SA is identical " there is the SA information in the acknowledgement frame in the network that receives ", promptly whether has selected SA here.Then, return step S18.
On the other hand, under the situation (in step S22, being situation not) that does not exist with other SA that does not retrieve of the last SA same levels of selecting, be back to upper level other SA (step S25) nearest with the last SA that selects.Then, judge that whether SA after returning is other SA of upper level, promptly whether is the MAC Address (step S26) of loop admin site X.SA after returning is not under the situation (in step S26 for not situation) of other SA of upper level, to whether exist with return after the not SA of retrieval of login in the token circular list of SA same levels judge (step S27).
Exist with return after the situation of not retrieving SA (situation among step S27s for be) of login in the token circular list of SA same levels under, select and return after login not other SA (step S28) of retrieval in the token circular list of SA same levels.Then, the record that exists in the information retrieval in order whether to exist to have " there is the SA information in the acknowledgement frame in the network that receives " identical with selected SA at network, promptly whether there is the next communication node (step S29) of selected SA.Then, return step S18.
In addition, in step S27, do not exist with return after the login of the SA same levels situation of not retrieving SA (in step S27, being situation not) in the token circular list under, return step S25.
Through carrying out above processing, thereby extract with respect to have the loop admin site of the MAC Address of selecting at step S11, the whole communication nodes that are connected with the port of selecting at step S12 tree-shapedly.
In addition; In step S14; Exist under the situation (in step S14, being situation not) of the record of the combination that does not have " there is the SA information in the acknowledgement frame in the network that receives " identical with the combination of selected MAC Address and port and " sending the port information that there is the website of acknowledgement frame in network " in the information at network; Whether the SA after perhaps in step S26, returning is under other situation of upper level (situation for being in step S26), to existing the not port of retrieval of loop admin site X to judge (step S30).Existing not under the situation of the port of retrieval (situation) for being in step S30, return step S12, carry out above-mentioned processing to the not port of retrieval of loop admin site X.In addition, under the situation that does not have the port of not retrieving (in step S30, being situation not),, confirm the processing end of token circular order because whole communication nodes have all been carried out to the login process of token circular list.
Through above processing; Beginning branch and the network configuration from loop admin site X with tree-shaped connection communication node; If set up from the path of X to communication node the most the next of loop admin site; Then return near the communication node of the position branch of the most the next communication node, set up path from this position to other the most the next communication node.Repeat above-mentioned processing in order, set up the path that arrives all the most the next communication node.Thus, in by the network of forming with the communication node of tree-shaped connection, can be with a method of sketching the contours with connecting between each communication node.And, from set up as stated from loop admin site X on the path till the return loop admin site X, the communication node minimum number of passing through.
Here, to the concrete processing of definite token circular order shown in Figure 7, enumerate the situation that the network that utilizes Fig. 6 exists information to determine and describe as an example.Fig. 8-1~Fig. 8-the 9th schematically representes the figure of an example of the generative process of token circular list.
At first; MAC Address " 100 " of this website of loop admin site X selection and the 2nd port " port_X2 " (step S11~S12); Shown in Fig. 8-1, the MAC Address and the port " 100 (port_X2) " (step S13) of selected website of login in the token circular list.Then, exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " be that " 100 " and " there is the port information of the website of acknowledgement frame in the transmission network " are the record of " port_X2 ".Its result extracts record 302.
Because the SA of this record 302 is " 2 (subordinate website B) ", so this SA " 2 " is logined in the token circular list (step S15)., shown in Fig. 8-2, be illustrated in the right side login SA " 2 " of MAC Address " 100 (port_X2) " here, utilize from the state of MAC Address " 100 (port_X2) " towards the arrow connection of SA " 2 ".Here, to express be the next rank to the direction of arrow.
Then, select this SA " 2 " (step S16) in the token circular list, exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " is the record (step S17) of " 2 ".Its result extracts record 303,304.Because these records SA of 303,304 are respectively " 3 (subordinate website C) " and " 4 (subordinate website D) ", so shown in Fig. 8-3, login at the configuration SA the next arranged side by side " 3 " of the SA " 2 " of token circular list and SA " 4 " (step S19).
Then, select the SA " 3 " (step S20) among the listed SA, exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " is the record (step S21) of " 3 ".But, do not have respective record in the information owing to the network at Fig. 6 exists, so there be not to extract (being situation not among the step S18).That is, at the next communication node that do not exist of SA " 3 ".Here, shown in Fig. 8-4, for ease and in the next record " nothing " of the SA " 3 " of token circular list.
Then, as select SA " 4 " (step S22~S23) with other SA that does not retrieve of SA " 3 " same levels.And, exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " is the record (step S24) of " 4 ".Its result extracts record 305.Because the SA of this record 305 is " 5 (subordinate website E) ", so shown in Fig. 8-5, with the next (the step S19) of this SA " 5 " login at SA " 4 ".
Then, select listed SA " 5 " (step S20), exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " is the record (step S21) of " 5 ".But, do not have respective record in the information owing to the network at Fig. 6 exists, so there be not to extract (in step S18, being situation not).That is, at the next node that do not exist of SA " 5 ".Here, shown in Fig. 8-6, for ease and in the next record " nothing " of the SA " 5 " of token circular list.
In addition and since also not with other SA that does not retrieve (in step S22, being situation not) of SA " 5 " same levels, be SA " 4 " (step S25) so be back to nearest upper other SA of level.Because this SA " 4 " is not upper rank (in step S26, being situation not); Also not existing in the token circular list other of login with SA " 4 " same levels not retrieve SA (in step S27, being situation not) in addition, is SA " 2 " (step S25) so be back to the nearest upper rank of SA " 4 ".
But; Here; Because this SA " 2 " is not upper rank (in step S26, being situation not) yet; Also not existing in the token circular list other of login with SA " 2 " same levels not retrieve SA (in step S27, being situation not) in addition, is MAC Address " 100 " (step S25) so be back to the nearest upper rank of SA " 2 ".
Because MAC Address " 100 " is upper rank (situation for being in step S26); So confirm whether there is the not port (step S30) of retrieval among the loop admin site X; Because the 1st port " port_X1 " is not retrieved, so select the 1st port " port_X1 " (step S 12).And, shown in Fig. 8-7, the MAC Address and the port " 100 (port_X1) " (step S13) of this website of login in the token circular list.Here, the MAC Address of loop admin site X and the 1st port " 100 (port_X1) " dispose with MAC Address and the 2nd port " 100 (port_X2) " side by side.Then, exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " be that " 100 " and " there is the port information of the website of acknowledgement frame in the transmission network " are the record of " port_X1 ".Its result extracts record 301.
Because the SA of this record 301 is " 1 (subordinate website A) ", so this SA " 1 " is logined in the token circular list (step S15).Here, shown in Fig. 8-8, at the next login SA " 1 " of MAC Address " 100 (port_X1) ".
Then, select this SA " 1 " (step S16), exist in the information at the network of Fig. 6, whether retrieval exists " there is the SA information in the acknowledgement frame in the network that receives " is the record (step S17) of " 1 ".But, do not have respective record in the information owing to the network at Fig. 6 exists, so there be not to extract (in step S 18, being situation not).That is, at the next node that do not exist of SA " 1 ".Here, shown in Fig. 8-9, for ease and in the next record " nothing " of the SA " 1 " of token circular list.
In addition and since also not with other SA that does not retrieve (in step S22, being situation not) of SA " 1 " same levels, be MAC Address " 100 " (step S25) so be back to nearest upper other SA of level.Because MAC Address " 100 " is upper rank (situation for being in step S26); So confirm whether there is the not port (step S30) of retrieval among the loop admin site X; Owing to whole ports have been carried out retrieving (in step S30, being situation not) as stated, so finish to confirm the processing of token circular order thus.Its result obtains the token circular list shown in Fig. 8-9.According to this Fig. 8-9, for example obtain the token circular order shown in following (A).
Loop admin site X → subordinate website B → subordinate website C → subordinate website D → subordinate website E → subordinate website A → loop admin site X ... (A)
In addition, in this Fig. 8-9, can make token frame any from the 1st port x 1 of loop admin site X and the 2nd port x 2 begin circulation.Thus, also can adopt the token circular order shown in following (B).
Loop admin site X → subordinate website A → subordinate website B → subordinate website C → subordinate website D → subordinate website E → loop admin site X ... (B)
In addition, with tree-like construction that the 1st port x 1 of loop admin site X links to each other in, dividing the part of expenditure whichsoever to be positioned at the front can.Thus, also can adopt following (C) or (D) shown in the token circular order.
Loop admin site X → subordinate website B → subordinate website D → subordinate website E → subordinate website C → subordinate website A → loop admin site X ... (C)
Loop admin site X → subordinate website A → subordinate website B → subordinate website D → subordinate website E → subordinate website C → loop admin site X ... (D)
The token circular order of above-mentioned (A)~(D) all is to utilize to sketch the contours an order of describing; From the path of loop admin site X and return loop admin site X, the communication node quantity of passing through (number of times of transmission token frame in the transport path between each communication node) is 9 of minimum.As stated, minimum through the quantity that makes token frame transport path of transmitting during one week of circulation, thus can improve the cycle efficieny of token frame, suppress useless communication, help to save energy.
The token circular list that generates as stated is stored in the token circular order information storage part 25 as token circular order information.And, confirm good token circular order based on this, the foundation that communicates the logical loops in the system is handled.
Then, handling part 26 utilization that is provided with of loop admin site X is stored in the token circular list in the token circular order information storage part 25, generate the transmission route cyclical information that is used to carry out each communication node notice frame is set.
Fig. 5-the 7th schematically representes the figure to the example that frame is set of each subordinate website transmission from loop admin site X.For example; Be provided with in the frame what send to subordinate website B, as " SetupFrame (X → B) " shown in, in DA, be set at MAC Address " 2 " as the subordinate website B that sets object; In SA, be set at the MAC Address " 100 " of this website; Storage " Setup " in the frame kind of information is sent in the destination-mac address set information at token frame, and the communication node that is set at subordinate website B next one transmission token frame afterwards is the MAC Address " 3 " of subordinate website C.The frame that is provided with for sending to other subordinate website A, C~E generates also identically.
And, shown in Fig. 4-8, loop admin site X be provided with that handling part 26 will generate frame is set via the 1st and the 2nd port x 1, X2, send to each subordinate website A~E.In addition, it is that the frame that is provided with of subordinate website C, D, E is transmitted that subordinate website B will send target, and it is that the frame that is provided with of subordinate website E is transmitted that subordinate website D will send target.
If in each subordinate website A~E, receive the frame that is provided with of self loop admin site X; Then the MAC Address that is stored in " token frame sends the destination-mac address set information " that is provided with in the frame is read by the control frame response portion 61 of each subordinate website A~E, is stored in the token circulation target information storage part 62 as token circulation target information.Like this; In this execution mode 1; The MAC Address that only keeps the communication node that the next one should send through each subordinate website A~E is as the token target information that circulates; Thereby common to keep the information relevant with all token frame circular orders be that the situation of token circular list is compared with each subordinate website A~E, and the information Control that will be used to token frame is circulated is a Min..
After in token circulation target information storage part 62, having stored token circulation target information; The control frame response portion 61 of each subordinate website A~E generates and the corresponding response of frame is set response frame (being expressed as SetupACK in the drawings) promptly is set; Shown in Fig. 4-9, send to loop admin site X.In addition, subordinate website D will transmit from the response frame that is provided with of subordinate website E, and subordinate website B will transmit from the response frame that is provided with of subordinate website C, D, E.
Fig. 5-the 8th schematically representes from the figure of the example that response frame is set of each subordinate website transmission.For example; Be provided with the response frame to what loop admin site X sent from subordinate website A; As " SetupACKFrame (A → X) " shown in; In DA, be set at the MAC Address " 100 " of loop admin site X, in SA, be set at the MAC Address " 1 " of this website, storage " SetupACK " in the frame kind of information.The response frame that is provided with that sends from other subordinate website B~E generates also identically.
Response frame is set after loop admin site X sends what the control frame response portion 61 of each subordinate website A~E will generate, token frame handling part 63 begins to observe the token frame that on transmission path, transmits.
Then, loop admin site X receives the response frame that is provided with from each subordinate website A~E, and the frame that is provided with that is identified as loop admin site X distribution normally arrives subordinate website A~E.In addition; The response frame that is provided with from subordinate website A~E does not have all to arrive under the situation of loop admin site X at the appointed time; The handling part 26 of being provided with of loop admin site X is not provided with frame to receiving subordinate website that response frame is set or whole subordinate websites being sent again; The power supply that perhaps is judged as subordinate website when being provided with breaks off, thus initially handling from Fig. 4-1.And, under the situation of moving as stated, handling part 26 is set when transmission is provided with frame, starts timer 21, carry out timing with the stipulated time.Here, suppose to receive response frame is set from whole subordinate website A~E.
Then; If the token frame handling part 27 of loop admin site X is identified as whole subordinate website A~E in the communication system and receives response frame is set; Then go out this website and have transmission route, send Frame to subordinate website A~E by Frame communication process portion 28 according to token circular order information Recognition.
Then, the token frame handling part 27 of loop admin site X generates token frame 280 according to the token circular list of token circular order information storage part 25.Here, token frame handling part 27 generates and gives the token frame of transmission route to subordinate website B based on Fig. 8-9.
Fig. 5-the 9th, the figure of an example of the token frame of schematically representing to generate by each communication node.Shown in this figure " TokenFrame (X → B) "; In DA, be set at broadcast address; In SA, be set at the MAC Address " 100 " of this website; In the frame kind of information, be set at " token ", this website from belong to token judge with mac address information in the storage next one communication node that should obtain transmission route be the MAC Address " 2 " of subordinate website B.
Then, shown in Fig. 4-10, the token frame handling part 27 of loop admin site X sends the token frame that generates from the 1st and the 2nd port x 1, X2.Because token frame is to utilize broadcasting to send, so the whole subordinate website A in communication system~E sends.In addition, each subordinate website A~E has the function that receives and transmit token frame.In addition, in the figure,, be depicted as to whole subordinate websites and send token frame simultaneously, but in fact, token frame is transmitted to subordinate website C, D through subordinate website B, and transmits to subordinate website E through subordinate website D for the ease of explanation.
If the token frame handling part 63 of each subordinate website A~E receives token frame, then will be in the data area of token frame " this website from belong to token judge use mac address information " in storage MAC Address, and the MAC Address of this website compare.Here; In the token frame handling part 63 of subordinate website A, C~E; Because the MAC Address (2) that is stored in " this website is used mac address information from belonging to the token judgement " is inconsistent with the MAC Address (being respectively 1,3~5) of this website, can't obtain transmission route so token frame handling part 63 is judged as.On the other hand, in the token frame handling part 63 of subordinate website B, because the MAC Address (2) that is stored in " this website is used mac address information from belonging to the token judgement " is consistent with the MAC Address (2) of this website, so token frame handling part 63 is judged as the acquisition transmission route.Then, the Frame communication process portion 64 of subordinate website B sends data to the transmission target (for example loop admin site X) of regulation, and then, token frame handling part 63 sends the preparation of token frame, to be used for transferring transmission route to next communication node.
The token frame handling part 63 of subordinate website B is obtained token circulation target information, is the MAC Address " 3 " that this website next one afterwards obtains the subordinate website C of transmission route from token circulation target information storage part 62.And, shown in Fig. 5-9 " TokenFrame (B → C) ", the data area of token frame " this website from belong to token judge use mac address information " in be set at " 3 " obtained, in SA, be set at the MAC Address " 2 " of this website.
Then, shown in Fig. 4-11, the token frame handling part 63 of subordinate website B is from whole output ports (the 1st and the 2nd port B1, B2) distribution token frame.Because token frame utilizes broadcasting to send, so the whole communication nodes in communication system send.In addition, the token frame handling part 27,63 of loop admin site X and subordinate website A, C~E has the function that receives and transmit token frame.
At this moment; In loop admin site X and subordinate website A, D, E; " this website is used mac address information from belonging to the token judgement " MAC Address (3) of middle storage in the data area of the token frame that receives is compared with the MAC Address (being respectively 100,1,4,5) of this website; Because both are inconsistent, can't obtain transmission route so be judged as.On the other hand, in subordinate website C,, obtained transmission route so be judged as because both are consistent.And, at subordinate website C data to be sent after target sends to regulation, the preparation of sending token frame is to be used for transferring transmission route to next communication node.
Then, according to the token circular list shown in Fig. 8-9, identical ground with above-mentioned processing sends token frame in order to communication node.That is, subordinate website C generates the token frame shown in " TokenFrame (C → D) " of Fig. 5-9, shown in Fig. 4-12, in communication system, utilizes broadcasting to send.Thus, subordinate website D obtains transmission route.In addition, subordinate website D generates the token frame shown in " TokenFrame (D → E) " of Fig. 5-9, shown in Fig. 4-13, in communication system, utilizes broadcasting to send, and subordinate website E obtains transmission route.And subordinate website E generates the token frame shown in " TokenFrame (E → A) " of Fig. 5-9, shown in Fig. 4-14, in communication system, utilizes broadcasting to send, and subordinate website A obtains transmission route.And subordinate website A generates the token frame shown in " TokenFrame (A → X) " of Fig. 5-9, shown in Fig. 4-15, in communication system, utilizes broadcasting to send, and loop admin site X obtains transmission route.
In addition,, the token frame handling part 63 of subordinate website A do not connect communication node, so from the 2nd port A2 distribution token frame via transmission path because identifying at the 1st port A1.In addition, the token frame handling part 63 of subordinate website C, E identifies the 2nd port C2, E2 does not connect communication node via transmission path, so issue token frame from the 1st port C1, E1.
And, carry out above-mentioned processing repeatedly, between the communication node in the network of the same network segment, make the token frame circulation according to the token circular order, the communication node that receives token frame obtains the transmission route of data, sends data to the transmission target of expectation.Form the method for building up of logical loops and the method for utilizing token to communicate as stated.
According to this execution mode 1; Since utilize Ethernet with communication node between with starlike or communication system that wire connects in; Utilize a method of sketching the contours to confirm to be used to obtain the circular order of the token frame of transmission route, so can the communication node quantity (perhaps transmitting the quantity of road warp) that token frame passes through be controlled to be Min..Its result has the effect that the token vertical frame dimension is circulated with imitating.
In addition; Because after setting up logical loops; Loop admin site X is to (the subordinate website A~E) of the communication node in the communication system; The MAC Address of only notifying this communication node next one afterwards to obtain the communication node of transmission route is used to make the required MIN information of token ring circulation so each communication node only has.Its result; The situation that stores whole circular orders of the token frame in the communication system with subordinate website A~E is compared; Can be with the processing high speed that is used to make the token frame circulation; And, owing to can reduce the capacity of the memory that is used to store token circulation target information, so can reduce the manufacturing cost of device.
And; Because after setting up logical loops, loop admin site X returned from whole communication nodes with communication node in communication system (under the situation that the corresponding response of frame is set of subordinate website A~E) send, the distribution token frame; So also have following effect; That is, can be identified in set up after the logical loops and the distribution token frame before (the logical loops disappearance that the reasons such as power supply disconnection of subordinate website A~E) cause because communication node.
Execution mode 2.
In this execution mode 2, explain and carry out making token frame circulation in the communication system that data (frame) send, newly add the method for building up of the logical loops under the situation of Incoming Communication Node.
Because the loop admin site X in this execution mode 2 has identical structure with the loop admin site X shown in Fig. 2-1 of execution mode 1 basically, so omit its explanation.But token frame handling part 27 also has following function, that is, the number of times that this website is obtained token frame is counted, if reach predefined stipulated number, then carries out the network that exists affirmation handling part 22 to carry out by network and exists affirmation to handle.
In addition, handling part 26 is set also has following function, that is, only confirm that for existing at network the front and back of handling are stored in the communication node (subordinate website) that the token circular order in the token circular order information storage part 25 changes, generation is provided with frame and sends.
In addition, the subordinate website in this execution mode 2 has identical structure with the subordinate website shown in Fig. 2-2 of execution mode 1 basically, so omit its explanation.But; Control frame response portion 61 also has following function, that is, in token circulation target information storage part 62, store under the situation of token circulation target information; Receiving network from loop admin site X when having acknowledgement frame, not loopback network exists confirms response frame.
Below, the method for building up of the logical loops that this execution mode 2 is related is described.Fig. 9-1~Fig. 9-the 11st is illustrated in the figure of an example of the treatment step of the logical loops method for building up under the situation of newly having appended the subordinate website in the communication system.Here, in the network configuration of the Fig. 1 that enumerates at execution mode 1, the situation that connects subordinate website F at the 2nd port C2 place of subordinate website C describes as an example.
At first, if shown in Fig. 4-10 of enforcement mode 1, loop admin site X gets off the ground token frame, and then token frame handling part 27 begins the number of times that obtains token (right of correspondence) is counted.And shown in explanation in the enforcement mode 1, token frame circulates between the communication node in communication system in order, supposes in Fig. 9-1, and loop admin site X has obtained the token of stipulated number (for example 10 times).
The token frame handling part 27 of loop admin site X exists to network confirms that handling part 22 notices have obtained this situation of token frame of stipulated number; Shown in Fig. 9-2; Network exists confirms handling part 22 shown in explanation in the enforcement mode 1, generates network and has acknowledgement frame and (the subordinate website A~E) utilize broadcasting to send of the communication node in communication system.Simultaneously, network exists confirms that handling part 22 starts the timer 21 that is set at the stipulated time, to wait for that there is the affirmation response frame in network.In addition, shown in explanation in the enforcement mode 1,, then send constituting the back again if subordinate website B, D receive network and have acknowledgement frame.
Subordinate website A in the communication system~E receives the network of being broadcasted by loop admin site X and has acknowledgement frame.But; Owing to exist under the state of acknowledgement frame receiving this network; In the token circulation target information storage part 62 of each subordinate website A~E, store token circulation target information; So shown in Fig. 9-3, the control frame response portion 61 of each subordinate website A~E is not directed against the response that there is acknowledgement frame in network.
In addition; Owing to be not to send to be engraved in when there is acknowledgement frame in network at loop admin site X to connect new communications nodes in the communication system; So exist by the network of loop admin site X confirm timer 21 that handling part 22 sets carry out with the stipulated time timing during, loop admin site X does not receive network and exists and confirm response frame.
Because after timer 21 is overtime; Being stored in network exists the network in the information storage part 23 to exist information not change; So the token circular order of loop admin site X confirms that portion 24 does not confirm the processing of token circular order, in addition, because the not change of token circular order; So the transmission processing that handling part 26 is not provided with frame yet is set, and token frame handling part 27 notifies this website to have this situation of transmission route to Frame communication process portion 28.Frame communication process portion 28 carries out other communication node in communication system, and (subordinate website A~E) sends the processing of the data of this website.In addition, at this moment, token frame handling part 27 is reset the acquisition number of times of token frame, restarts the acquisition number of times of token frame is counted.
Then, shown in Fig. 9-4, token frame handling part 27 generates token frame according to token circular order information, and utilizes broadcasting to send from the 1st and the 2nd port x 1, X2, to transfer transmission route to subordinate website B.Then; As implement in the mode 1 shown in the explanation, subordinate website A~E is according to the token target information that circulates, and loop admin site X is according to token circular order information; Communication node in communication system is given transmission route in order, is carried out the transmission of data (frame) by the communication node that obtains transmission route and handles.
At this moment, suppose shown in Fig. 9-5, newly connect subordinate website F at the 2nd port C2 place of subordinate website C via cable 102.The MAC Address of supposing this subordinate website F for " 6 ", A~E has the 1st and the 2nd port F1, F2 identically with other subordinate website.
If make this subordinate website F power connection, then become and wait for the network of self loop admin site X to have the state of acknowledgement frame.In addition, in token circulation target information storage part 62, do not store token circulation target information as the transmission target of next token frame.Thus, under this state, do not become the state of reception/transmission of in communication system, carrying out data, but in communication system, the state of reception/transmission token frame and data (frame) between loop admin site X and subordinate website A~E.
Then; The token frame circulation; Shown in Fig. 9-6, if in loop admin site X, obtained the token frame of stipulated number (for example 10 times), then the token frame handling part 27 of loop admin site X exists affirmation handling part 22 notices to obtain this situation of token frame of stipulated number to network.Then, shown in Fig. 9-7, network exists confirms that handling part 22 generates network and has acknowledgement frame, and (the subordinate website A~F) utilize broadcasting to send of the communication node in communication system.Simultaneously, network exists confirms that handling part 22 starts the timer 21 that is set at the stipulated time, to wait for that there is the affirmation response frame in network.
The content identical ground illustrated with Fig. 9-3; Even the subordinate website A~E in the communication system receives the network of self loop admin site X to have acknowledgement frame; Also because when there is acknowledgement frame in this network of reception; In the token circulation target information storage part 62 of each subordinate website A~E, store token circulation target information, so shown in Fig. 9-8, the control frame response portion 61 of each subordinate website A~E is not directed against the response that there is acknowledgement frame in network.
On the other hand; Owing in the token circulation target information storage part 62 of the new subordinate website F that connects, do not store token circulation target information; If so receive the network of self loop admin site X to have acknowledgement frame, then 61 its responses of generation of control frame response portion are that network exists the affirmation response frame.And shown in Fig. 9-8, there is the network that generates in control frame response portion 61 and confirms that (be expressed as TestDataACKFrame (F1 → X)) in the drawings sends to loop admin site X from the 1st port F1 response frame.In addition, in Fig. 9-8, the network that subordinate website C, B send subordinate website F exists confirms that response frame carries out relaying.
Figure 10 is the figure that schematically representes to exist from the network that subordinate website F sends an example confirming response frame.Exist the affirmation response frame at the network that the 1st port F1 from subordinate website F sends; In DA, be set at the MAC Address " 100 " of loop admin site X; In SA, be set at the MAC Address " 6 " of this website; Storage " TestDataACK " in the frame kind of information, the network that receives exist in the acknowledgement frame SA information with send in the port information of website that there is acknowledgement frame in network, be set at " 3 " and " port_C2 " respectively.
There is the affirmation response frame in the network that sends from subordinate website F; In timer is between 21 starting periods, received by loop admin site X; The network of loop admin site X exists confirms that handling part 22 exists the affirmation response frame at the network that receives from subordinate website F; There is the interior SA information of acknowledgement frame in the network that extract SA, receives, reaches and send the port information that there is the website of acknowledgement frame in network, exists information stores to exist in the information storage part 23 at network as network.To be expression receive network from subordinate website F to Figure 11 exist to confirm that there is the figure of an example of information in network behind the response frame.This network exists information to exist information to compare with the network of Fig. 6 of execution mode 1, has appended the record 306 relevant with subordinate website F.
The token circular order of loop admin site X confirms that portion 24 is after timer 21 is overtime; Exist the network in the information storage part 23 to exist change in information to detect to being stored in network, and utilize network exist information carry out with execution mode 1 illustrated same steps as confirm the token circular order processing, be that the formation again of logical loops is handled.Its result supposes that new token circular order becomes following (E).
Loop admin site X → subordinate website B → subordinate website C → subordinate website F → subordinate website D → subordinate website E → subordinate website A → loop admin site X ... (E)
Then, the handling part 26 that is provided with of loop admin site X compares token circular order before changing with new token circular order, extract token circulation target information and different before changing communication nodes.If token circular order (A) shown in the execution mode 1 and new token circular order (E) are compared; Then owing to newly connected subordinate website F; Thereby to subordinate website F new settings token circulation target information; And the token circulation target information of the subordinate website C in tight the place ahead of subordinate website F changes.
Thus, handling part 26 is set and generates the frame that is provided with to subordinate website C, F.Figure 12 schematically representes the figure to the example that frame is set of subordinate website C, F transmission from loop admin site X.Be provided with in the frame what send to subordinate website C; As " SetupFrame (X → C) " shown in; In DA, be set at MAC Address " 3 ", in SA, be set at the MAC Address " 100 " of this website, storage " Setup " in the frame kind of information as the subordinate website C that sets object; Send in the destination-mac address set information at token frame, the communication node that is set at subordinate website C next one transmission token frame afterwards is the MAC Address " 6 " of subordinate website F.
In addition; Be provided with in the frame what send to subordinate website F, as " SetupFrame (X → F) " shown in, in DA, be set at MAC Address " 6 " as the subordinate website F that sets object; In SA, be set at the MAC Address " 100 " of this website; Storage " Setup " in the frame kind of information is sent in the destination-mac address set information at token frame, and the communication node that is set at subordinate website F next one transmission token frame afterwards is the MAC Address " 4 " of subordinate website D.
And shown in Fig. 9-9, the handling part 26 that is provided with of loop admin site X sends the frame that is provided with that is generated to subordinate website C, F respectively.In addition, subordinate website B will be that the frame that is provided with of target is transmitted with subordinate website C, F, and subordinate website C will be that the frame that is provided with of target is transmitted with subordinate website F.
In subordinate website C, F; If receive the frame that is provided with of self loop admin site X; Then the control frame response portion 61 of subordinate website C, F reads out in the MAC Address of storage in " token frame sends the destination-mac address set information " that is provided with in the frame, and is stored in the token circulation target information storage part 62 as token circulation target information.
After in token circulation target information storage part 62, having stored token circulation target information, the control frame response portion 61 of subordinate website C, F generates to the response that frame is set response frame (being expressed as SetupACK in the drawings) promptly is set.Response frame is set shown in Fig. 5-8 by what subordinate website C generated, in SA, is set at the MAC Address of this website, storage " SetupACK " in the frame kind of information in the data area.The response frame that is provided with that sends from subordinate website F generates also identically.
Then, shown in Fig. 9-10, the control frame response portion 61 of subordinate website C, F will be provided with response frame and send to loop admin site X, and token frame handling part 27 begins to observe the token frame that on transmission path, transmits.
If the token frame handling part 27 of loop admin site X receives the response frame that is provided with from subordinate website C, F, then notify this website to have this situation of transmission route to Frame communication process portion 28.Frame communication process portion 28 carries out other communication node (the subordinate website A~F) processing of transmission of data in communication system with this website.In addition, at this moment, token frame handling part 27 is reset the acquisition number of times of token frame, restarts the acquisition number of times of token frame is counted.
Then, shown in Fig. 9-11, the token frame handling part 27 of loop admin site X is according to token circular order information, generates token frame and utilizes broadcasting to send from the 1st and the 2nd port x 1, X2, to transfer transmission route to subordinate website B.Then; As shown in implementing to explain in the mode 1; In subordinate website A~F according to token circulation target information; According to token circular list (token circular order information), the communication node in the communication system of having added subordinate website F is given transmission route in order in loop admin site X, is carried out the transmission of data (frame) by the communication node that obtains transmission route and handles.
According to this execution mode 2, even in the token frame cyclic process, in communication system, newly connected under the situation of communication node (subordinate website), also can, loop admin site X carry out logical loops and constitute processing again when obtain the token frame of stipulated number.Its result can be identified as the website that constitutes communication system with new communications nodes, comprises the reception/transmission of the data of new communications nodes.
In addition; Because subordinate website A~F constitutes; There is acknowledgement frame in network for regularly sending from loop admin site X; In token circulation target information storage part 62, stored under the situation of token circulation target information, do not responded, thus can not be not intended to the free burial ground for the destitute send have be stored in the loop admin site in the frame of the identical information of content.
In addition; Loop admin site X only carries out the formation again of logical loops under the situation that network exists information generating to change handles; Again confirm token circular order information; And compare with token circular order before confirming again, only to the communication node and the communication node that is connected at its leading portion of new connection, the transmission target of the token frame that the notice next one sends is a token circulation target information.Its result notifies the situation of token circulation target informations to compare with the whole communication nodes in communication system, can the utilized bandwidth of transmission path suppressed lower, can change efficiently.
Execution mode 3.
In execution mode 2; In the token frame cyclic process; Identification newly is connected the communication node in the communication system; Carry out the formation again of logical loops and handle, but whether constitute the network of needs again and exist and confirm processing, once identify the mass communication node sometimes at the decision logic loop that is used for that regularly carries out.Usually in the FA network, require the real-time of communication, if but once newly connected the mass communication node, then the logical loops in the loop admin site constitutes processing again needs the more time, and its result might damage real-time.Thus; In this execution mode 3; Even explain once the mass communication node roughly side by side is being connected under the situation in the communication system, also can comprise new communications nodes can not damaged the real-time in the communication system of carrying out Data Receiving/transmission at the constituting processing again of interior logical loops method.
Because the structure of the loop admin site of this execution mode 3 is substantially the same with the loop admin site of explanation in the execution mode 1,2, omit the explanation of same section.But; Be with the difference of execution mode 1,2; The token circular order confirms that portion 24 newly is stored in network for existing affirmation to handle through the network of in the gap of the communication of using token frame to carry out, carrying out and exists the network of information storage part 23 to have the record in the information; The recording start of (early) storing before from the time appends number with predefined communication node maximum and extracts record, the definite processing of board circular order of playing drinking games of going forward side by side.
Here; The token circular order confirms that the communication node maximum that sets in the portion 24 appends number, is through obtaining in advance that the logical loops of in the gap of the communication of using token frame to carry out, carrying out constitutes the communication node quantity of handling the real-time that the required time can not damage the data transmission/reception in the communication system again and definite.In following explanation, enumerate and the communication node maximum is appended number be set at 5 situation as an example.
In addition, accompany therewith, exist in the information storage part 23, exist the reception sequential storage network of confirming response frame to have information, and whether storage representation is to have carried out the information that logical loops constitutes the communication node of processing again with network at network.Figure 13 is the figure of an example of expression this execution mode 3 related networks structure that has information.This network have information except shown in explanation among Fig. 6, have " SA ", " there is the SA information in the acknowledgement frame in the network that receives " and " sending the port information that there is the website of acknowledgement frame in network ", these were project; Also append " formation of logical loops disposes " this project, whether it illustrates is used record when the formation of logical loops is handled.Suppose in the project of at this " formation again of logical loops disposes " to be provided with under the situation of sign (in Figure 13, having stored " zero "), represent that this record has constituted in the processing in logical loops to use again.That is the record that, sign is not set is represented not constitute in the processing in logical loops to use again.
In addition; In this Figure 13; Supposing with SA to be 21~30 the corresponding record of communication node, is to have the record of confirming to handle and newly appending through the network of in the gap of the communication of using token frame to carry out, carrying out, and exists with network and confirms that response frame arrives the order login record of loop admin site X., suppose communication node more near loop admin site X here, its network exists confirms that response frame just more early arrives loop admin site X.
In addition, because the structure of the subordinate website of this execution mode 3 is identical with the subordinate website of explanation in the execution mode 1,2, so omit its explanation.
Below, explain that this execution mode 3 related logical loops constitute processing again.Figure 14 is that expression utilizes the loop admin site to carry out the flow chart that logical loops constitutes an example of processing again.In addition, suppose here shown in Fig. 9-11 that communication system is made up of loop admin site X and subordinate website A~F.
At first, loop admin site X receives this website is judged the token frame that is set at this website with mac address information from belonging to token, obtains token (step S51).Then, the acquisition number of times of 27 pairs of tokens of token frame handling part of loop admin site X is counted (step S52), whether the acquisition number of times of token is reached stipulated number judge (step S53).Do not reach at token acquisition number of times under the situation (in step S53, being situation not) of stipulated number; After sending Frame to subordinate website A~F; Token frame handling part 27 is after generating the token frame that the communication node as next one circulation target has been carried out setting; Utilize the communication node of broadcasting in communication system to send (step S62), return step S51 then.
In addition; Reach at token acquisition number of times under the situation (situation) of stipulated number for being in step S53; The token circular order confirms that portion 24 exists the network of information storage part 23 to exist the information from network, obtains to constitute used record (step S54) in the processing in logical loops.For example under the situation of Figure 13, obtain the record 301~306 that is provided with " formation of logical loops disposes " sign.
Then, the token circular order is confirmed that (again) that 24 pairs in portion carries out logical loops from the last time constitutes and is handled the new login in back and exist record quantity the information whether to append number greater than the communication node maximum that sets at network to judge (step S55).Exist record quantity in the information to be less than or equal to the communication node maximum that sets in new login at network and append under several situation (in step S55, being situation not), the token circular order confirm portion 24 from network exist whole records of obtaining new login the information, promptly not logical loops constitute handle in used whole records (step S56).
On the other hand; Exist the record quantity in the information to append greater than the communication node maximum that sets under several situation (situation) in new login at network for being in step S55; Exist the information from network; There is the order in the information according to login at network, never in the logical loops formation is handled, appends number with the communication node maximum in the used record and obtain record.For example under the situation of Figure 13, obtain 5 records 307 in the record that does not have setting " formation of logical loops disposes " sign.Its result, remaining record 308 is not used in logical loops and constitutes processing.
Then, the token circular order confirms that there is the record of in step S56 or step S57, being obtained in the information in portion 24 for network, is provided with " formation of logical loops disposes " sign (step S58).For example the record 307 to Figure 13 is provided with " formation of logical loops disposes " sign.
Then; The token circular order is confirmed the record that portion's 24 utilizations obtain; Carry out execution mode 1 illustrated token circular order and confirm to handle (step S59); Handling part 26 is set according to determined token circular order information, carry out to need to its notify token circulation target subordinate website notice token circulation target information processing (step S60) is set.In addition, be provided with in the processing, exist in the information at network for login but be not used in the communication node (subordinate website) that logical loops constitutes processing (definite processing of token circular order) again, do not notify frame is set at this.Then, token frame handling part 27 replacement tokens obtain number of times (step S61), and Frame communication process portion 28 sends Frame to the subordinate website.Then, token frame handling part 63 generates the communication node as next one circulation target has been carried out the token frame of setting, and (step S62) sent in the broadcasting of the communication node utilization in communication system.Then, return step S51, carry out above-mentioned processing repeatedly.
Its result; For example in the example of Figure 13; If obtaining number of times, token reaches stipulated number again; Then loop admin site X uses and to have carried out logical loops and constitute the record 301~307 handled and last and logined to exist in the information but be not used in logical loops at network and constitute the record of handling 308, carries out the formation again of logical loops and handles.
According to this execution mode 3; Judging whether to carry out the reconstituted network of logical loops in being used for of regularly carrying out exists and confirms to handle; Even under the situation of once having discerned the mass communication node; Also can use and carry out logical loops and constitute and drop on the communication node that the communication node maximum appends in several scopes in communication node of handling and the communication node that newly appends and have the record in the information at network, the formation of carrying out logical loops is handled (the token circular order confirms to handle and be provided with processing).Thus, have following effect, that is, and can be so that logical loops constitute to be handled the real-time in Data Receiving/transmission that the required time can not damage communication system.
Execution mode 4.
Utilizing token frame to carry out in Data Receiving/process of transmitting, token frame or Frame can disappear owing to the influence of extraneous noise etc. sometimes.Utilize in the system that token frame communicates current, disappear if produce frame, then admin site is carried out re-issuing of token frame, but this token frame is set to from admin site and begins.Thus, have the communication node of transmission route later at the communication node that sends out the frame that has disappeared, obtain a transmission route less, admin site can't receive data equably from each communication node.And, in above-mentioned frame disappears the frequent system that produces, have the following problems point, that is, send from the data of each communication node to admin site unequal, inferior in the situation that is used to feed back computing from the data of communication node, operational precision is exerted an influence.In this execution mode 4,, also can carry out the communication system that data are sent to admin site equably from each communication node even explain under the situation that frame disappears.
Figure 15 is the block diagram of an example of the functional structure of the loop admin site of representing that schematically this execution mode 4 is related.Loop admin site X also has network monitoring portion 29 and frame storage part 30 in the 20A of communication process portion on the basis of the structure of Fig. 2-1 of execution mode 1.
If the frame that in network, transmits is imported the 1st port one 1-1 or the 2nd port one 1-2, then network monitoring portion 29 is stored in this frame in the frame storage part 30, and timer 21 is started, and the frame that in network, transmits is kept watch on.Start to during from timer 21 through the stipulated time, in the 1st port one 1-1 or the 2nd port one 1-2, imported under the situation of frame, the frame of input newly is stored in the frame storage part 30, and replacement timer 21 and reclocking.In addition; During starting extremely through the stipulated time from timer 21; In the 1st port one 1-1 or the 2nd port one 1-2, do not have under the situation of incoming frame; Be judged as and in network (communication system), produce the frame disappearance, generating the next MAC Address of giving the communication node of transmission route is that token frame is re-issued information, and transfers to token frame handling part 27., re-issue information as token frame here, the MAC Address that can obtain the communication node of transmission route through the next one of from token circular order information, obtaining after the SA that is stored in the frame in the frame storage part 30 obtains.
Frame storage part 30 is stored in the frame that transmits and input to loop admin site X in the network.In addition, owing to re-issue information, as long as it is just enough to have a SA of the frame of being obtained by loop admin site X in the frame that in network, transmits, so also not storage frame but the SA of storage frame in order to generate token frame.Like this, can suppress to be used for the capacity of stored information.
Re-issue under the situation of information receiving token frame from network monitoring portion 29; Token frame handling part 27 is set at token frame in judging with mac address information and re-issues information, the i.e. next MAC Address that should give the communication node of transmission route from belonging to token at this website of token frame, generates also transmission of token frame then.Here, re-issue under the situation of information for the MAC Address of this website at token frame, token frame handling part 27 does not generate token frame, handles but obtained transmission route as this website.In addition, for the structural element identical with Fig. 2-1, the mark same numeral also omits its explanation.
In addition, the structure of subordinate website is basic identical with the subordinate website of explanation in Fig. 2-2 of execution mode 1, but the subordinate website is all to utilize broadcasting or multicast to send the frame of exporting.In addition, under the situation of utilizing multicast to send, the whole communication nodes that constitute communication system are redefined for 1 group.In addition; Under the situation of utilizing broadcasting or multicast that whole frames are sent; Shown in the token frame of Fig. 3-5; Settings in the data area " this website is used mac address information from belonging to the frame judgement " etc. make to be which communication node to be the frame of target with to the frame judgement of broadcasting perhaps multicast.
Below, the processing of re-issuing of token frame is described.Figure 16-1~Figure 16-the 8th representes that schematically this execution mode 4 related token frames re-issue the figure of an example of processed steps.This communication system is made up of the network of the same network segment with loop admin site X and subordinate website A~C shown in Figure 16-1.More particularly, this communication system has following structure, that is, subordinate website A is connected with the 1st port x 1 of loop admin site X, and subordinate website B, C are connected with the 2nd port x 2 of loop admin site X with wire.In addition, the circular order of the token in this communication system is set at following (F).
Loop admin site X → subordinate website A → subordinate website B → subordinate website C → loop admin site X ... (F)
At first, shown in Figure 16-1, in this communication system, after subordinate website A~C sent data necessary, distribution was used for giving the token frame of transmission route to subordinate website A at the loop admin site X that obtains token frame.At this moment, the network monitoring portion 29 of loop admin site X starts timer 21.
Then, subordinate website A receives token frame, is identified as this website and has obtained transmission route.And, shown in Figure 16-2, utilize broadcasting send Frame (after being expressed as DataFrame (A → X)) in the drawings, this data arrives loop admin site X.The network monitoring portion 29 of loop admin site X will be stored in the frame storage part 30 from the frame that 1 input of the 1st port x comes, and replacement timer 21.Then, the token frame circulation supposes that subordinate website B, C have normally accomplished the data transmission too.Figure 16-3 illustrates the state after subordinate website C normally sends data.At this moment, the Frame that storage is sent out by subordinate website C in the frame storage part 30 of loop admin site X, network monitoring portion 29 replacement timers 21 in addition.
Then, shown in Figure 16-4, suppose that the subordinate website C transmission of having sent Frame is used for giving the token frame of transmission route to loop admin site X, but disappear in the transmission path 111 of this token frame between subordinate website C and subordinate website B.Thus, token frame does not arrive subordinate website B, its result, and token frame does not arrive loop admin site X yet.And, shown in Figure 16-5, start to through till the stipulated time from timer 21, continue the state that in network, does not have frame to transmit.
Then; Shown in Figure 16-6; It is overtime that the network monitoring portion 29 of loop admin site X detects timer 21; Utilization is stored in the frame in the frame storage part 30 and is stored in the frame circular order information in the frame circular order information storage part 25, judges that extremely where the data of subordinate website normally send till.That is, the network monitoring portion 29 of loop admin site X obtains the SA that is stored in the frame in the frame storage part 30, and the next one after token circular order information obtains this SA is given the MAC Address of the communication node of transmission route.And network monitoring portion 29 is generated as token frame with the MAC Address of obtaining and re-issues information, and transfers to token frame handling part 27.
In the present example, owing in frame storage part 30, store the Frame that subordinate website C sends, normally accomplished the data transmission so be judged as till subordinate website C.In addition; Shown in above-mentioned token circular order (F); Identifying the website that the next one after the subordinate website C obtains transmission route be this website (loop admin site X), and the token frame that generates the MAC Address " 100 " with this website re-issues information, to 27 transfers of token frame handling part.
In the token frame handling part 27 of loop admin site X,, obtain transmission route so be identified as this website because the transmission target of token frame is this website.Then, shown in Figure 16-7, loop admin site X carries out the transmission of data to be handled.Then, shown in Figure 16-8, generate the token frame that is used for transferring transmission route, and send to subordinate website A.
As stated; Disappear and do not arrive under the situation (Frame produces the situation that frame disappears after arriving loop admin site X) of loop admin site X at token frame; The network monitoring portion 29 of loop admin site X determines the normal communication node that data are sent of having accomplished, and the communication node that the next one after it obtains transmission route reissues token frame.
Below, explain that the token frame under the situation that token frame disappears in the communication that utilizes token frame to carry out is re-issued other example of processing.Figure 17-1~Figure 17-the 5th representes that schematically this execution mode 4 related token frames re-issue the figure of other example of processed steps.In addition, in the present example, communication system has the structure identical with Figure 16-1~Figure 16-8, and the token circular order also is the order shown in above-mentioned (F).
At first, shown in Figure 17-1, the subordinate website A that has obtained transmission route sends the token frame that is used for transferring to subordinate website B transmission route after normally sending data.But shown in Figure 17-1, on the transmission path 112 between loop admin site X and the subordinate website B, token frame disappears.At this moment, the network monitoring portion 29 of loop admin site X is stored in the token frame of subordinate website A distribution in the frame storage part 30, and replacement timer 21.
Then; If shown in Figure 17-2, do not have state continuance that frame transmits more than or equal to the stipulated time; Then shown in Figure 17-3; It is overtime that the network monitoring portion 29 of loop admin site X detects timer 21, utilizes to be stored in the frame in the frame storage part 30 and to be stored in the token circular order information in the token circular order information storage part 25, judges that extremely where the data of subordinate website normally send till.That is, the network monitoring portion 29 of loop admin site X obtains the SA that is stored in the frame in the frame storage part 30, and the next one after token circular order information obtains this SA is given the MAC Address of the communication node of transmission route.And network monitoring portion 29 is generated as token frame with the MAC Address of obtaining and re-issues information, and transfers to token frame handling part 27.
In the present example, owing in frame storage part 30, store the token frame that subordinate website A sends, normally accomplished the data transmission so be judged as till subordinate website A.In addition; Shown in above-mentioned token circular order (F); Being identified as the website that the next one after the subordinate website A obtains transmission route is subordinate website B, and the token frame that generates the MAC Address " 2 " with subordinate website B re-issues information, transfers to token frame handling part 27.
Then; The token frame handling part 27 of loop admin site X is re-issued information based on token frame and is generated token frame, and this token frame is set at MAC Address " 2 " that token frame re-issue the subordinate website B that in information contain from belonging to token in judging with mac address information at this website.And shown in Figure 17-4, token frame handling part 27 sends this token frame utilization broadcasting.In addition, the SA of this token frame is the MAC Address of loop admin site X.
Then, shown in Figure 17-5,, then obtain transmission route, the data of this website are exported on the network if subordinate website B receives the token frame of self loop admin site X.And, in order to give transmission route and to send token frame to next communication node.
As stated; Arrive under the situation about disappearing behind the loop admin site X at token frame; Loop admin site X determines communication node that normal completion data send, the i.e. communication node corresponding with the SA of the token frame that receives at last, and the communication node of the acquisition of the next one after it transmission route is reissued token frame.
As stated,, and store the frame of obtaining at last, thereby can give transmission route as the communication node of token circulation target next after the communication node that has normally sent at last data through the disappearance of frame in the loop admin site X monitoring communication system.
According to this execution mode 4; Under the situation that frame disappears midway; Do not begin to reissue token frame from loop admin site X; Before frame disappears, normally carried out the communication node that data are sent at last but determine, the communication node that the next one after it is given transmission route carries out re-issuing of token frame.Its result has following effect, that is, before and after frame disappeared, loop admin site X can receive the data from each subordinate website A~C equably.
Execution mode 5.
In execution mode 4, explained that the token frame under the situation that frame disappears is re-issued processing.For example, the communication node in communication system breaks away under the situation of communication system owing to power supply disconnection etc., also can utilize the method for explanation in the execution mode 4 to tackle.Promptly; For the communication node that breaks away from, loop admin site X reissues token frame, but after this token frame distribution; Do not have through the stipulated time under the situation of response yet, need only the communication node distribution token frame of the next one after the communication node of this disengaging being given transmission route.
But in the method, till the communication node after breaking away from was returned in the communication system through power connection once more, the circular order of token frame all repeated identical token frame when arriving the position of this communication node at every turn and re-issues processing.
In addition, in Ethernet, connect communication node with wire mostly.In the communication node that this wire connects, produce under the situation about breaking away from upper communication node place near the loop admin site, be positioned at the next communication node of this communication node and also can't communicate.In this case, re-issue processing even carry out above-mentioned token, as long as upper communication node is in disengaged position, frame just can't transmit on communication system, therefore, and with repeating useless processing till the most the next communication node that arrives this wire.In addition, under the situation that a plurality of communication nodes break away from, during 1 week of token frame circulation, carry out repeatedly token frame and re-issue processing.
As stated, after the loop admin site reissues token frame, do not have under the situation of response in the stipulated time,, then can't satisfy the requirement of the real-time in the communication system sometimes if utilize the method for explanation in the execution mode 4 to tackle.Thus, in this execution mode 5, explain that the communication node that constitutes communication system breaks off the processing under the situation about breaking away from owing to power supply.
The structure of the loop admin site of this execution mode 5 is identical with the loop admin site of explanation in the execution mode 4 basically.But; Network monitoring portion 29 also has following function; That is, when re-issuing token frame, also start timer 21, still do not carry out under the situation of frame transmission after the process stipulated time at the communication node of re-issuing object from conduct; Be judged as this communication node and be in power-off state, indication network exists confirms that handling part 22 execution networks exist affirmation to handle.
Figure 18 is the block diagram of an example of the functional structure of the subordinate website of representing that schematically this execution mode 5 is related.The subordinate website also has timer 65 and replacement handling part 66 in the 60A of communication process portion on the basis of the structure of Fig. 2-2 of execution mode 1.
Timer 65 is started by replacement handling part 66, has the function of measuring the stipulated time.In this execution mode 5, begin to during till the stipulated time, carrying out timing receive the data of self loop admin site X by Frame communication process portion 28.In addition, as the data of coming self loop admin site X, for example can be the transfer of transmission route, also can be to Update Information to what the subordinate website sent from loop admin site X.Here, suppose to measuring to the cycle that Updates Information that the subordinate website sends from loop admin site X.
Self loop admin site X's carry out data updated to the subordinate website if replacement handling part 66 for example receives; Then start timer 65; Do not receive at the appointed time under the situation about Updating Information of self loop admin site X; Be judged to be loop admin site X and be in disengaged position, delete the replacement that is stored in the token circulation target information in the token circulation target information storage part 62 and handle.In addition; The time of the timer of setting by replacement handling part 66 65; Forming circulates in communication system with token frame compares average time in a week longlyer, in addition, is 2 times of degree of time of the timer 21 that started by the network monitoring portion of loop admin site X 29.
Below, explain that the formation again of logical loops is handled.Figure 19-1~Figure 19-the 9th schematically representes the figure of the example that determination processing that the related subordinate websites of this execution mode 5 break away from and logical loops constitute processed steps again.In this example, communication system has the structure identical with Figure 16-1~Figure 16-8, and the token circular order also is the order shown in above-mentioned (F).
At first, shown in Figure 19-1, under the state that communicates making the token frame circulation, loop admin site X receives token frame and obtains transmission route, sends data to each subordinate website A~C.If the replacement handling part 66 of each subordinate website A~C receives the data of self loop admin site X, then start timer 65.Then, suppose shown in Figure 19-2 that the power supply of subordinate website C breaks off.
Then, shown in Figure 19-3, token frame is circulated to subordinate website B, after the data of this website of subordinate website B transmission, sends the token frame that is used for transferring to subordinate website C transmission route.At this moment, the network monitoring portion 29 of loop admin site X is stored in this token frame in the frame storage part 30, and replacement timer 21.In addition, because the power supply of subordinate website C breaks off, so can't receive token frame, its result shown in Figure 19-4, continues the state that in communication system, does not have frame to transmit.
Then; Shown in Figure 19-5; If do not have state continuance that frame transmits more than or equal to the stipulated time; It is overtime that then the network monitoring portion 29 of loop admin site X detects timer 21, and based on the information that is stored in the frame in the frame storage part 30, extremely where judgment data normally sends till.Here; Owing to store the token frame that subordinate website B sends; Normally send so be judged as till the data of subordinate website B; Utilize the token circular order information of token circular order information storage part 25, the circulation target that identifies subordinate website B next token frame afterwards is subordinate website C.And shown in Figure 19-6, loop admin site X generates the token frame that is used for transferring to subordinate website C transmission route, and sends.At this moment, the network monitoring portion 29 of loop admin site X starts timer 21 once more.
As stated; Shown in Figure 19-7, because subordinate website C becomes the state that power supply breaks off, so can't receive token frame; Be used for after subordinate website C gives the token frame of transmission route, continuing the state that in communication system, does not have frame to transmit in loop admin site X transmission.
Then, shown in Figure 19-8, if do not have state continuance that frame transmits more than or equal to the stipulated time, it is overtime that then the network monitoring portion 29 of loop admin site X detects timer 21.In addition, it is subordinate website C transmit frame that network monitoring portion 29 detects not from the distribution target of token frame, is judged as subordinate website C and breaks away from communication system, and indication network exists confirms that handling part 22 carries out networks and exist and confirm to handle.
On the other hand; Shown in Figure 19-8; If do not receive self loop admin site X the state continuance that Updates Information the stipulated time; It is overtime that then the replacement handling part 66 of other subordinate website A, B detects timer 65, carries out the replacement that is stored in the token circulation target information deletion in the token circulation target information storage part 62 is handled.
Then, shown in Figure 19-9, the network of loop admin site X exists confirms that handling part 22 sends network and has acknowledgement frame.Here; Shown in Figure 19-10; Because the token circulation target information of token circulation target information storage part 62 is deleted, so the control frame response portion 61 of subordinate website A, B exists acknowledgement frame to carry out response process to the network that sends from loop admin site X.And, shown in explanation in the enforcement mode 1, constitute the processing (constituting processing again for logical loops here) of logical loops.
In addition; In above-mentioned explanation; Make among subordinate website A~C and have timer 65; Do not receiving under the situation about Updating Information of self loop admin site X more than or equal to the stipulated time, making replacement handling part 66, but can utilize the token circulation target information of other method deletion subordinate website A~C yet the token token circulation target information deletion of target information storage part 62 that circulates.For example also can form; The network monitoring portion 29 of loop admin site X is under the situation that is judged to be subordinate website generation disengaging; Generation makes whole subordinate websites force to give up the replacement frame of token circulation target information, and utilizes the communication node of broadcasting in communication system to send through Frame communication process portion 28.
According to this execution mode 5; In the data transmission/reception that utilizes token frame to carry out is handled; Under the situation that frame no longer transmits in communication system; The next communication node of loop admin site X after the normal communication node that sends data sends token frame, even then through after the stipulated time, in communication system, also do not have under the situation that frame transmits; Be judged as as the communication node of re-issuing target of token frame because power supply disconnection etc. are former thereby break away from, thereby reconstitute logical loops.Its result has following effect, that is, for example with continuation the situation that the next communication node after the communication node that is judged as disengaging reissues token frame is compared, and can restart communication quickly.
Especially, in Ethernet, usually with starlike connection communication node, but as industrial network, be asked to mostly save distribution and connect communication node with wire.Under the situation about in the communication node that this wire connects, breaking away from, be positioned at the next communication node of this communication node and all can't communicate by letter near the communication node of loop admin site side.In this case, as stated, reissue under the situation that token frame not have to respond yet to the communication node that breaks away from the method for utilizing execution mode 4, the communication node that the next one after it should obtain transmission route reissues token and does not also have response.In addition, under the situation that the power supply of a plurality of communication nodes breaks off, become the processing that the next communication node that repeats repeatedly to carry out the communication node that breaks off to power supply reissues token frame, the real-time of infringement communication.In this case, shown in explanation in this execution mode 5, handle, thereby can be suppressed at Min., utilize new network configuration to have the communication of real-time postponing through the formation again of carrying out logical loops.
In addition, above-mentioned execution mode can be applied in this communication system that requires real-time communication of FA system.
In addition, the data communications method in above-mentioned loop admin site and the subordinate website also can be carried out the program that writes various treatment steps through the computers such as Programmable Logic Controller or personal computer that utilization has a CPU (central arithmetic processing apparatus) and realize.In this case, the CPU of computer (control unit) carries out each treatment process of above-mentioned data communications method according to program.These programs are recorded in the recording medium that hard disk, soft (registered trade mark) dish, CD (Compact Disk)-ROM (Read Only Memory), MO (Magneto-Optical disk), DVD (Digital Versatile Disk or Digital Video Disk) etc. can read by computer, carry out through utilizing computer from recording medium, to read.In addition, these programs also can be issued via networks such as the Internet (communication line).
In addition, the loop admin site also can form by making each handling part of putting down in writing in the above-mentioned execution mode carry out the telecommunication management circuit that the circuit handled is realized by above-mentioned treatment step.Identical ground, subordinate website also can form by making each handling part of putting down in writing in the above-mentioned execution mode carry out the telecommunication circuit that realize in the loop of handling by above-mentioned treatment step.
In addition, the loop admin site also can form so that the LSI (Large-Scale Integration) that the mode that each handling part of putting down in writing in the above-mentioned execution mode is handled by above-mentioned treatment step execution is made.Identical ground, subordinate website also can form so that the LSI that the mode that each handling part of putting down in writing in the above-mentioned execution mode is handled by above-mentioned treatment step execution is made.
Industrial applicibility
As stated, data communication system involved in the present invention is useful for real-time that requires data communication and the network system of utilizing Ethernet to connect.

Claims (10)

1. Communications Management Units, it is managed utilizing data in the network that Ethernet is starlike with a plurality of communication nodes or wire connects to send, and wherein, Ethernet is a registered trade mark,
It is characterized in that having:
There is confirmation unit in network, and it carries out network exist to confirm handles, in this is handled, from said a plurality of communication nodes obtain and each communication node between the information of join dependency;
The token circular order is confirmed the unit; It utilizes through said network and has the information of confirming that processing obtains; Confirm the token circular order, this token circular order is illustrated in the order of the token frame circulation that is used in the transmission route that obtains data between said a plurality of communication node;
Processing unit is set, and it is based on said token circular order, and said each communication node in said network is notified the next token circulation target information that obtains the communication node of transmission route is shown;
The Frame communications processor element, it receives the Frame from other communication node, under the situation that obtains said transmission route, sends Frame; And
The token frame processing unit; It is analyzed the said token frame that receives; Judge whether obtain transmission route; Obtaining under the situation of transmission route, after carrying out the transmission of Frame, sending the token frame of the information of the communication node of having set next acquisition transmission route based on said token circular order by said Frame communications processor element.
2. Communications Management Units according to claim 1 is characterized in that,
Said processing unit said each communication node in said network that is provided with is notified said token circulation target information; After confirming to receive response, indicate said token frame processing unit to generate said token frame from the whole said communication node of having notified said token circulation target information.
3. Communications Management Units according to claim 1 is characterized in that,
Also have following function, that is, if this website obtains the transmission route of stipulated number, then said network exists confirmation unit to carry out said network and has the affirmation processing.
4. communication node; It is configured in and utilizes in the network that the Ethernet cable is starlike with a plurality of communication nodes or wire connects; If this communication node has obtained then to carry out data and send, wherein according to by the token frame that transmits as the definite token circular order of the Communications Management Units of one of said communication node; Ethernet is a registered trade mark
It is characterized in that having:
Token circulation target information memory cell, the communication node that the next one after its this device of storage is given transmission route is a token circulation target information;
The token frame processing unit; It compares the address that the transmission route that contains the said token frame that receives from other said communication node obtains device information and this device; Judge whether obtain transmission route; Send the processing end if obtain sending the frame that is undertaken by the Frame communications processor element for the time being; Then be sent in the token frame that said transmission route obtains to have set in the device information the said token circulation target information of storing in the said token circulation target information memory cell, wherein, this transmission route obtains device information the next communication node that obtains transmission route is shown; And
The Frame communications processor element, it sends Frame under the situation that obtains said transmission route, and receives the Frame from other said communication node.
5. data communications method; It is the method that the communication node in the communication system carries out data communication; This communication system has utilizing data in the Ethernet cable network that starlike or wire connects with a plurality of communication nodes to send to manage and as the Communications Management Units of one of said communication node and as the subordinate website of other communication node in the said network; Wherein, Ethernet is a registered trade mark
This data communications method is characterised in that, contains following operation:
Token frame sends operation; In this operation; According to the token circular order, be the token frame that transmission route obtains device information with the communication node that stores the next one acquisition transmission route afterwards of this communication node, utilize broadcasting in said network, to send; Wherein, Said token circular order be through the annexation between the said subordinate website that will be connected with said Communications Management Units with tree-shaped expansion, begin to select communication node successively from said Communications Management Units, thereby confirm by said Communications Management Units with said tree-shaped connection according to the method that travels through along tree; And
Token frame receives treatment process, in this operation, if receive said token frame; Judge that then the said transmission route that contains in the said token frame obtains whether device information is this device, obtaining device information in said transmission route is under the situation of this communication node, is judged as this communication node and has obtained transmission route; And transmission Frame; Obtaining device information in said transmission route is not under the situation of this device, and said token frame is transmitted
In said data communications method, carry out repeatedly that said token frame sends operation and said token frame receives treatment process, make and circulate in the whole said communication node of order on being connected in said network of token frame with said token circular order.
6. data communications method according to claim 5 is characterized in that,
Send in the operation at said token frame,
Under the situation of said Communications Management Units, obtain said transmission route according to said token circular order and obtain device information,
Under the situation of said subordinate website, the communication node of giving transmission route according to the next one after this subordinate website of being prenoticed by said Communications Management Units is a token circulation target information, obtains said transmission route and obtains device information.
7. data communications method according to claim 5 is characterized in that,
Before said token frame sends operation, contain following operation:
Network exists acknowledgement frame to send operation, and in this operation, if said Communications Management Units power connection, then the said subordinate website in being present in said network utilizes broadcasting to send the address of containing this device and has acknowledgement frame at interior network;
There is the acknowledgement frame treatment process in network; In this operation, if receiving said network, said subordinate website has acknowledgement frame, then generate and comprise that there is the transmission source address of acknowledgement frame in this network and exist the address of the said Communications Management Units that contains in the acknowledgement frame to have the affirmation response frame as the network that sends target with said network; And send; And, exist the transmission source address of acknowledgement frame to be rewritten as the address of this website on the said network that receives, and transmit;
Network exists information to generate operation; In this operation; If receiving said network, said Communications Management Units has the affirmation response frame; Then exist and confirm response frame, generate and comprise the said network that transmission source address and said subordinate website receive and exist the transmission source address of acknowledgement frame to have information at interior network according to this network;
The token circular order is confirmed operation; In this operation; Said Communications Management Units exists acknowledgement frame to begin through after the stipulated time from sending said network; Utilize said network to exist the said network in the information to exist the transmission source address of acknowledgement frame and said network to have the transmission source address of confirming response frame, confirm said token circular order;
Frame is set sends operation; In this operation; Said Communications Management Units is after confirming said token circular order; Said each subordinate website utilization broadcasting in said network is sent frame is set, and this communication node that is provided with that frame is used to notify the next one after this subordinate website to give said transmission route is a token circulation target information;
Response frame is set sends operation, in this operation,, then store said token circulation target information if said subordinate website receives the said frame that is provided with, and, to said Communications Management Units transmission response frame is set; And
Token frame generates operation, in this operation, if said Communications Management Units receives the said response frame that is provided with from the whole said Communications Management Units in the said network, then generates said token frame according to said token circular order.
8. data communications method according to claim 7 is characterized in that,
Said Communications Management Units also comprises following operation:
Frame is kept watch on operation, and in this operation, what storage inputed to frame in the port of this device comprises transmission source address in interior information; And
Token frame is re-issued operation; In this operation; After receiving said frame; More than or equal to the stipulated time not in the port of this device under the situation of incoming frame, obtain the communication node that the next one after the said transmission source address of the said frame of being stored obtains transmission route according to said network circular order, the said communication node of obtaining is reissued token frame.
9. data communications method according to claim 8 is characterized in that,
Re-issue in the operation at said token frame, said Communications Management Units is under the situation of this device at the communication node that the next one obtains transmission route, does not reissue token frame, has obtained transmission route but regard as, and sends Frame.
10. data communications method according to claim 8 is characterized in that,
After said token frame was re-issued operation, said Communications Management Units did not receive under the situation of frame from the said communication node that has reissued said token frame more than or equal to the stipulated time, processing is transferred to said network exists acknowledgement frame to send operation.
CN201210026699.XA 2008-12-25 2008-12-25 Communication management device, communication nodes, communication system and data communication method Active CN102594592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210026699.XA CN102594592B (en) 2008-12-25 2008-12-25 Communication management device, communication nodes, communication system and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210026699.XA CN102594592B (en) 2008-12-25 2008-12-25 Communication management device, communication nodes, communication system and data communication method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN200880132540.8A Division CN102265562B (en) 2008-12-25 2008-12-25 Communication management device, communication node, communication system, and data communication method

Publications (2)

Publication Number Publication Date
CN102594592A true CN102594592A (en) 2012-07-18
CN102594592B CN102594592B (en) 2015-03-25

Family

ID=46482814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210026699.XA Active CN102594592B (en) 2008-12-25 2008-12-25 Communication management device, communication nodes, communication system and data communication method

Country Status (1)

Country Link
CN (1) CN102594592B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005451A (en) * 2015-03-19 2017-08-01 株式会社东芝 Transmission system and transfer station
CN107026777A (en) * 2015-11-13 2017-08-08 株式会社捷太格特 The information generating method of communication system and communication network
CN113632422A (en) * 2019-05-07 2021-11-09 株式会社东芝 Controller

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1671118A (en) * 2004-03-19 2005-09-21 富士通株式会社 Data transmissions in communication networks using multiple tokens
CN1894890A (en) * 2003-12-19 2007-01-10 国际商业机器公司 System and method for communicating on a virtual ring in an internet protocol network
CN102265562A (en) * 2008-12-25 2011-11-30 三菱电机株式会社 Communication management device, communication node, communication system, and data communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1894890A (en) * 2003-12-19 2007-01-10 国际商业机器公司 System and method for communicating on a virtual ring in an internet protocol network
US20070268913A1 (en) * 2003-12-19 2007-11-22 Lionel Denecheau System and Method For Communicating on a Virtual Ring in an Internet Protocol Network
CN1671118A (en) * 2004-03-19 2005-09-21 富士通株式会社 Data transmissions in communication networks using multiple tokens
CN102265562A (en) * 2008-12-25 2011-11-30 三菱电机株式会社 Communication management device, communication node, communication system, and data communication method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107005451A (en) * 2015-03-19 2017-08-01 株式会社东芝 Transmission system and transfer station
CN107005451B (en) * 2015-03-19 2020-08-18 株式会社东芝 Transmission system and transmission station
CN107026777A (en) * 2015-11-13 2017-08-08 株式会社捷太格特 The information generating method of communication system and communication network
CN107026777B (en) * 2015-11-13 2021-08-24 株式会社捷太格特 Communication system and information generation method for communication network
CN113632422A (en) * 2019-05-07 2021-11-09 株式会社东芝 Controller
CN113632422B (en) * 2019-05-07 2023-02-17 株式会社东芝 Controller

Also Published As

Publication number Publication date
CN102594592B (en) 2015-03-25

Similar Documents

Publication Publication Date Title
CN102265562B (en) Communication management device, communication node, communication system, and data communication method
CN102265560B (en) Communication management device, communication device, and communication method
CN108028792A (en) Industrial equipment communication system, communication means and industrial equipment
CN109901848A (en) A kind of device parameter method for burn-recording and device
US20230141994A1 (en) Quantum internet router
CN102594592A (en) Communication management device, communication nodes, communication system and data communication method
CN102546342B (en) Double-ring network system, method for determining transmission priority in double-ring network and transmission station device
CN102546018A (en) Optical module rate shaping method and device utilizing same
CN102265561B (en) Communication management device, communication device, and communication method
CN100514923C (en) Method for determining network management apparatus in household network
CN102710480B (en) Communications Management Units, communicator and communication means
CN103650423B (en) The network equipment, network and the method that communication performance is provided between networks
JP5106658B2 (en) Communication management device, communication node, and data communication method
CN103346962A (en) Unknown single broadcast message forwarding method and routing bridge
JP2008512755A (en) Network connection switching unit
CN109525430B (en) Dry contact controller, control method, device and storage medium
CN1939008B (en) Data receiving method and transferring method for data link layer
KR100623020B1 (en) Control Method of Digital Camcoder in IEEE1394
CN117479346A (en) Equipment disconnection recovery method and device, intelligent equipment and centralized controller
JP2005137136A (en) Management system for uninterruptible power supply
CN101488901A (en) Network system, spanning tree structuring method, spanning tree structure node, and spanning tree structure program
JP5220165B2 (en) COMMUNICATION MANAGEMENT DEVICE, COMMUNICATION DEVICE, AND COMMUNICATION METHOD
JP2017076934A (en) Communication network system

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