CN103139034B - Communication management apparatus and a data communication method - Google Patents

Communication management apparatus and a data communication method Download PDF

Info

Publication number
CN103139034B
CN103139034B CN201310050693.0A CN201310050693A CN103139034B CN 103139034 B CN103139034 B CN 103139034B CN 201310050693 A CN201310050693 A CN 201310050693A CN 103139034 B CN103139034 B CN 103139034B
Authority
CN
China
Prior art keywords
network
frame
communication
port
step
Prior art date
Application number
CN201310050693.0A
Other languages
Chinese (zh)
Other versions
CN103139034A (en
Inventor
中村真人
薮崎龙三
杉本富嗣
Original Assignee
三菱电机株式会社
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 三菱电机株式会社 filed Critical 三菱电机株式会社
Priority to CN201310050693.0A priority Critical patent/CN103139034B/en
Priority to CN200980159835.92009.06.12 priority
Publication of CN103139034A publication Critical patent/CN103139034A/en
Application granted granted Critical
Publication of CN103139034B publication Critical patent/CN103139034B/en

Links

Abstract

一种通信管理装置,其对将多个通信节点经由传送路径环状连接而成的网络内的数据发送进行管理,其具有:网络存在确认部(22),其通过广播发送网络存在确认帧,根据接收到的网络存在确认响应帧,生成表示通信节点之间的连接状态的网络连接信息;令牌循环顺序确定部(25),其确定令牌循环顺序;配置处理部(27),其进行向网络内的各通信节点通知令牌循环目标的配置处理;数据帧通信处理部(29),其进行利用令牌帧实现的数据帧发送/接收;以及线连接管理部(24),其在网络为环结构的情况下,将某个通信节点的某个端口设为无效,以使得网络的连接状态不成为环状。 A communication management apparatus, the data which the plurality of communication nodes connected to a network via the transmission path formed by the annular transmission management, comprising: a presence confirmation section (22) network, by sending an acknowledgment frame which there is a broadcast network, the presence of the received network acknowledgment frame, generates the network connection status information between the communication node is connected; token cyclic order determining portion (25), which determines the order of token rotation; disposed processing unit (27), which was configuration process notifies the target token rotation of each communication node in the network; a data frame communication processing unit (29) which performs data frame to achieve the token frame transmission / reception; and a wire connection management unit (24), in which the case where the ring network configuration, a port of a communication node set as invalid, so that the connection state of the network does not become cyclic.

Description

通信管理装置以及数据通信方法 Communication management apparatus and a data communication method

[0001 ] 本申请是基于2009年6月12日提出的中国国家申请号200980159835.9(PCT/JP2009/060800)申请(通信管理装置、通信节点以及数据通信方法)的分案申请,以下引用其内容。 [0001] This application is based 200980159835.9 (PCT / JP2009 / 060800) application (communication management device, communication nodes and data communication method) of the divisional application June 12, 2009 proposed by China National application number, the following quote its contents.

技术领域 FIELD

[0002]本发明涉及一种在由传送路径以环状连接的通信节点之间利用令牌帧进行通信的通信管理装置、通信节点以及数据通信方法。 [0002] The present invention relates to a token frame in the transmission path between communication nodes connected in a ring communication management apparatus, a communication node and a data communication method for communicating.

背景技术 Background technique

[0003]提出了下述技术,其涉及一种通信系统,在该通信系统中,作为通信装置具有以下两种类型:主站点,其具有对沿传送路径顺时针或逆时针传递信息这一情况进行切换的第I和第2端口、以及对第I和第2端口的接通/断开状态进行控制的控制单元;以及子站点,其具有对沿传送路径顺时针或逆时针传递信息这一情况进行切换的第I和第2端口,各通信装置之间以第I端口与相邻的其它通信装置的第2端口连接的方式,由传送路径以环状(环路)连接,在该通信系统中,通过主站点的控制单元将某一个通信装置的第I或第2端口设为断开状态,从而可以以总线型的结构进行通信(例如,参照专利文献I)。 [0003] presented a technique which relates to a communication system, the communication system, a communication apparatus has the following two types: primary station having transmitting information along a clockwise or counterclockwise transmission path the situation I and the second port, and a control unit for oN / OFF state of the I and the second port for controlling the switching; and a sub-site, to transmit information along with a clockwise or counterclockwise transmission path the I and the second port of the switch case, the communication means between the first embodiment and the second port I port other communication devices connected adjacent to an annular (loop) is connected by a transfer path, in the communication system, by the control unit of the main station I the first or the second port as a communication device a disconnection state, which can communicate in a bus structure (e.g., refer to Patent Document I).

[0004]在该通信系统中,在开始通信前,进行下述处理,S卩,对有无断线发生或有无子站点故障等进行调查,进行适当的总线型传送路径的再构成。 [0004] In the communication system, prior to the start of communication, the following processing, S Jie, the occurrence or absence of the presence of the break failure subdomain investigations, suitable for reconstruction of a bus type transmission path. 首先,主站点的控制单元将第I端口设为断开状态,将第2端口设为接通状态,将环状的传送路径强制形成总线型传送路径,将所有子站点的第I端口设为接通状态,将第2端口设为断开状态。 First, the control unit of the main station I the first port to the OFF state, the ON state to the second port, the annular force transmission path form a bus type transmission path, the first I-ports to all sub-sites oN state, the OFF state to the second port. 在该状态下,如果主站点的控制单元发出发送指令,则仅从与主站点的第2端口连接的第I子站点返回响应。 In this state, if the control unit issues the transmission instruction of the master station, the only site I of sub connected to the second port of the master station returns a response. 因此,将该第I子站点的编号以可以获知连接顺序的方式存储在子站点位置识别区域中。 Accordingly, the numbering in subdomain I may know the connection sequence stored in the sub-station position recognition area.

[0005]然后,主站点的控制单元对已返回响应的第I子站点进行控制,将当前断开的第2端口设为接通状态,并发出新的发送指令。 [0005] Then, the control unit controls the primary site of the site I sub returning a response, the current off the second port to an ON state, and issues a new transmission instruction. 其结果,仅从与第I子站点的第2端口连接的第2子站点返回响应,因此,主站点的控制单元将在第I子站点之后连接有第2子站点的信息存储在子站点位置识别区域中。 As a result, only the second response is returned to the sub-site of the second port sub I sites, therefore, the control unit is connected to the primary site to the second sub-information is stored in the site's location after the first child site subdomain I recognition area. 反复进行上述处理,在没有来自子站点的新响应的情况下,将最后返回响应的子站点判断为末端子站点。 Analyzing subdomain above process is repeated, in the absence of a response from the new child sites, the response is returned to the last terminal subdomain. 然后,主站点的控制单元将第I端口设为接通状态,将第2端口设为断开状态,进行相同的处理,从而掌握通信系统的结构。 Then, the control unit of the main station I the first port to an ON state, the OFF state to the second port, the same processing, so as to grasp the structure of the communication system.

[0006] 专利文献I:日本特开2000 — 278295号公报 [0006] Patent Document I: Japanese Patent Laid-Open 2000-- Publication No. 278295

发明内容 SUMMARY

[0007]但是,在专利文献I所记载的技术中,在再构成处理时,如上述所示,在I次处理中只能对I台与主站点连接的子站点进行识别。 [0007] However, in the technique described in Patent Document I, when the reconstruction process, as described above, in the process I times only to identify sub-station and the main site station I is connected. 因此,例如在利用几十台或者几百台以上的通信装置构成通信系统的情况下,存在再构成处理所需时间增加的问题。 Thus, for example, in the case of using more than dozens or hundreds of communication apparatus constituting the communication system, presence reconstruction problem of increasing the required processing time. 因此,存在下述问题,即,难以将这种通信系统应用于几十台量级或者几百台量级的通信装置彼此连接而构成的FA(Factory Automat1n)系统中。 Thus, there is a problem that it is difficult to be applied to such a communication system the order of dozens or hundreds of communication devices connected to each order constituted FA (Factory Automat1n) system. 另外,对于各通信装置,需要设置顺时针发送信息的电路和逆时针发送信息的电路,存在硬件的制造成本变高的问题。 Further, each of the communication apparatus, to set the transmission circuit clockwise and counterclockwise circuit information transmitted information, there is a hardware cost of manufacturing becomes high.

[0008]另外,在专利文献I所记载的通信系统中,没有示出针对在线缆即将断线的状态下,断线(异常)及联线(正常)状态交替在短时间内变化这种线缆状态为不稳定状态的情况的处理方法。 [0008] Further, in the communication system described in Patent Document I are not shown for the upcoming cable is disconnected in the state of disconnection (abnormality) and on-line (normal) state alternate in such a short time change cable processing method for the case where the state of unstable state. 因此,在这种情况下,存在无法可靠地对网络进行控制的问题。 Therefore, in this case, there is a problem on the network can not be reliably controlled.

[0009]本发明就是鉴于上述问题而提出的,其目的在于,得到一种通信管理装置、通信节点以及数据通信方法,其在将通信装置由传送路径以环状连接、且可以与线形连接的情况相同地进行数据帧的发送/接收处理的通信系统中,可以使掌握网络结构的处理所需的时间与现有技术相比缩短,并且可以将装置结构简化。 [0009] The present invention has been made in view of the above problems, and its object is to obtain a communication management apparatus, a communication node and a data communication method in a communication device connected to a ring by a transmission path, and may be connected to linear same manner as the case of transmitting data frames / reception processing in a communication system, the network can grasp the structure of the required processing time shortened as compared with the prior art, and can simplify the apparatus configuration. 另外,其目的在于,得到一种通信管理装置、通信节点以及数据通信方法,其在线缆状态不稳定的状态下也可以可靠地对网络进行控制。 Further, an object thereof is to obtain a communication management apparatus, a communication node and a data communication method can be reliably controlled at the network cable unstable state.

[0010]为了实现上述目的,本发明所涉及的通信管理装置对将多个通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理,其特征在于,具有:2个端口,其与相邻的所述通信节点经由传送路径连接;线连接管理单元,其发出使包含本装置在内的所述网络上的通信节点的某个端口在无法进行帧发送/接收的无效状态和可以进行帧发送/接收的有效状态之间进行切换的指示;网络存在确认单元,其进行网络存在确认处理,该处理是利用广播发送用于识别所述网络内存在的所述通信节点的网络存在确认帧,接收包含与所述通信节点相邻的通信节点及其端口的关系在内的网络存在确认响应帧,生成表示所述通信节点之间的连接状态的网络连接信息;令牌循环顺序确定单元,其使用所述网络连接信息,确定令牌循环顺序;配置处理单元,其进 [0010] To achieve the above object, a data communication management apparatus according to the present invention relates to a token passing network within the plurality of communication nodes connected to each other via a transmission path of the endless transmission management, characterized in comprising: two ports connected to the adjacent communication node via a transmission path; line connection management unit, which emits a port of the communication node on the network that the apparatus comprising the present can not be included in the frame transmission / reception carried out between the active state and the inactive state may be a frame transmission / reception of the handover indication; network presence confirmation unit that performs processing to confirm the presence of the network, the process is the use of the communication network for identifying the broadcast transmission exists in the network node exists acknowledgment frame, comprising a receiving relationship with the communication node and the adjacent communication node including a network port presence confirmation response frame, generates a network connection status between the communication node connection information; order brand loop order determination unit, which is connected using the network information, a token cyclic order; arrangement processing unit, into which 行配置处理,该处理是基于所述令牌循环顺序,向所述网络内的所述各通信节点通知在该通信节点之后的下一个赋予发送权的通信节点;以及数据帧通信处理单元,其进行利用令牌帧实现的数据帧发送/接收,所述线连接管理单元在根据所述网络连接信息识别为所述网络为环结构的情况下,将所述网络内的某个通信节点的某个端口设为无效,以使得所述网络的连接状态不成为环状。 Line configuration processing, which is based on the token cyclic order, a notice given communication node after the transmission right to the communication node within the network of each communication node; and a data frame communication processing unit, which frame data is implemented using a token frame transmission / reception, if the connection information for identifying the network according to the network as a ring structure, will be a communication node in a network the connection management unit of the line port is invalidated, so that the connection state of the network does not become cyclic.

[0011]发明的效果 [0011] Effect of the Invention

[0012]根据本发明,具有下述效果,S卩,在将通信装置由传送路径环状连接、且可以与线形连接的情况相同地进行数据帧的发送/接收处理的通信系统中,可以使掌握网络结构的处理所需的时间与现有技术相比缩短,并且可以将装置结构与现有技术相比简化。 [0012] According to the present invention, the following effects, S Jie, when the communication device is connected by a ring transmission path, and may be connected to the same manner as in the case of linear transmission / reception processing of a communication system of a data frame, can time required to process control network structure shortened as compared with the prior art, and may be simplified as compared with the prior art device configuration.

附图说明 BRIEF DESCRIPTION

[0013]图1是示意地表示本实施方式I所涉及的利用令牌进行通信的通信系统的一个例子的图。 [0013] FIG. 1 is a schematic showing the token related to the present embodiments of formula I is an example of a communication system communicating FIG.

[0014I图2 — I是示意地表示管理站点的功能结构的框图。 I is a schematic block diagram showing a functional configuration of the management station - 0014I FIG. 2 [.

[0015]图2 — 2是示意地表示从属站点的功能结构的框图。 [0015] Figure 2 - 2 is a functional block diagram schematically showing a slave station.

[0016]图3 — I是表不网络存在确认帧的格式的一个例子的图。 [0016] FIG. 3 - I is an example of a table does not exist a network acknowledgment frame format of FIG.

[0017]图3 — 2是表示网络存在确认响应帧的格式的一个例子的图。 [0017] Figure 3 - 2 shows an example of a network of the presence confirmation response frame format of FIG.

[0018]图4是表示实施方式I所涉及的启动时的数据通信方法的一个例子的时序图。 [0018] FIG. 4 is a timing chart showing an example of a data communication method when starting embodiments of formula I involved.

[0019]图5是表不网络存在确认帧的一个例子的图。 [0019] FIG. 5 is a table of an example of a network does not exist acknowledgment frame in FIG.

[0020]图6是表示网络存在确认响应帧的一个例子的图。 [0020] FIG. 6 is a diagram showing an example of a network of the presence confirmation response frame of FIG.

[0021]图7是表示所生成的网络存在信息的一个例子的图。 [0021] FIG. 7 is a diagram for an example of the generated network information in FIG.

[0022]图8 — I是示意地表示网络连接信息的生成方法的流程的一个例子的图(其I)。 [0022] FIG 8 - I is a schematic diagram showing an example of the view (I) of the network connection process of the generation method information.

[0023]图8 — 2是示意地表示网络连接信息的生成方法的流程的一个例子的图(其2)。 [0023] Figure 8 - 2 is a schematic showing an example of a method of generating a flow of network connection information (No. 2).

[0024]图8 — 3是示意地表示网络连接信息的生成方法的流程的一个例子的图(其3)。 [0024] Figure 8 - 3 is a schematic diagram showing an example of the flow of network connection information generation method of the diagram (part 3).

[0025]图8 — 4是示意地表示网络连接信息的生成方法的流程的一个例子的图(其4)。 [0025] Figure 8 - 4 is a schematic showing an example of a (part 4) of the network connection process of the generation method information.

[0026]图9是表不网络存在确认帧的一个例子的图。 [0026] FIG. 9 is a table of an example of a network does not exist acknowledgment frame in FIG.

[0027]图10是表示网络存在确认响应帧的一个例子的图。 [0027] FIG. 10 is a diagram showing an example of a network of the presence confirmation response frame of FIG.

[0028]图11是表示网络连接信息的一个例子的图。 [0028] FIG. 11 is a diagram showing an example of network connection information of FIG.

[0029]图12是示意地表示实施方式2所涉及的从属站点的功能结构的框图。 [0029] FIG. 12 is a schematic block diagram showing a functional configuration of the slave station 2 according to the embodiment.

[0030]图13是表示网络存在确认响应帧的一个例子的图。 [0030] FIG. 13 is a diagram showing an example of a network of the presence confirmation response frame of FIG.

[0031]图14是示意地表示实施方式2所涉及的启动时的数据通信方法的一个例子的时序图。 [0031] FIG. 14 is a timing chart schematically showing an example of a data communication method of the second embodiment when the starting involved.

[0032]图15是表示通信节点已停机的情况下的环路再构成处理的流程的一个例子的时序图。 [0032] FIG. 15 shows a case where a loop communication node has been shut down reconstructed timing chart showing an example of a flow of processing.

[0033]图16是表示线缆已断线的情况下的环路再构成处理的流程的一个例子的时序图。 [0033] FIG. 16 shows a case where the loop cable is disconnected reconstructed timing chart showing an example of a flow of processing.

[0034]图17是示意地表示实施方式4所涉及的管理站点的功能结构的一个例子的框图。 [0034] FIG 17 is a schematic block diagram showing a functional configuration example of a fourth embodiment according to the management station.

[0035]图18是表示通信节点已停机的情况下的环路再构成处理的流程的一个例子的时序图。 [0035] FIG. 18 shows a case where a loop communication node has been shut down reconstructed timing chart showing an example of a flow of processing.

[0036]图19是表示线缆已断线的情况下的环路再构成处理的流程的一个例子的时序图。 [0036] FIG. 19 shows a case where the loop cable is disconnected reconstructed timing chart showing an example of a flow of processing.

[0037]图20是表示从属站点已复原的情况下的数据通信方法的处理流程的一个例子的时序图。 [0037] FIG. 20 is a timing chart showing an example of a process flow of a data communication method in the case where the slave station has been restored.

[0038]图21是表示利用令牌方式进行数据帧发送中的状态的图。 [0038] FIG. 21 is a diagram showing the state of using a token of the data frame transmission.

[0039]图22是示意地表示从图21的状态变更线缆连接后的状态的图。 [0039] FIG. 22 is a schematic view showing a state after the change of state from the cable connector 21 of FIG.

[0040]符号的说明 DESCRIPTION [0040] symbols

[0041] 11一1、11一2、51 — 1、51 — 2 端口 [0041] 11 a, 11 a 2, 51 - 1, 51 - 2 port

[0042] 20、20A、60、60A 通信处理部 [0042] 20,20A, 60,60A the communication processing unit

[0043] 21计时器 [0043] Timer 21

[0044] 22网络存在确认处理部 [0044] The presence confirmation process unit 22 network

[0045] 23网络连接信息存储部 [0045] The network connection information storage unit 23

[0046] 24线连接管理部 [0046] The management unit 24 connected to line

[0047] 25令牌循环顺序确定部 [0047] The order determining section 25 Token Rotation

[0048] 26令牌循环顺序信息存储部 [0048] 26 order information storage unit Token Rotation

[0049] 27配置处理部 [0049] The processing unit 27 is arranged

[0050] 28、64令牌帧处理部[0051 ] 29,65数据帧通信处理部 [0050] The token frame processing unit 28, 64 [0051] The communication processing unit 29,65 data frame

[0052] 30网络监视部 [0052] The network monitoring unit 30

[0053] 61控制帧响应部 [0053] The unit 61 controls the frame response

[0054] 62端口发送/接收控制部 [0054] 62 port transmission / reception control unit

[0055] 63令牌循环目标信息存储部 [0055] 63 target token rotation information storage unit

[0056] 66链路状态确认部 [0056] Link state confirmation section 66

[0057] 101传送路径 [0057] The conveyance path 101

[0058] ΙΟΙΑαΟΙΒ 线缆 [0058] ΙΟΙΑαΟΙΒ cable

[0059] HO集线器 [0059] HO hub

[0060] A、B、C、D 从属站点[0061 ] X管理站点 [0060] A, B, C, D slave station [0061] X management site

具体实施方式 Detailed ways

[0062]下面,参照附图,详细说明本发明所涉及的通信管理装置、通信节点以及数据通信方法的优选实施方式。 [0062] Referring to the drawings, preferred embodiments of the communication management apparatus according to the present invention, a communication node and a data communication method is described in detail. 此外,本发明不受本实施方式限定。 Further, the present invention is not limited to the embodiments.

[0063]实施方式I [0063] Embodiment I

[0064]图1是示意地表示本实施方式I所涉及的利用令牌进行通信的通信系统的一个例子的图。 [0064] FIG. 1 is a schematic showing the token related to the present embodiments of formula I is an example of a communication system communicating FIG. 该通信系统由利用传送路径101环状连接有多个通信节点X、A〜D的同一网段的网络构成。 The communication system 101 is connected by a ring-shaped transport path using a plurality of communication nodes X, the same segment A~D network configuration. 另外,通信节点X、A〜D各自具有2个端口,各通信节点的端口之间经由同轴线缆等可以进行半双工通信的线缆、或者双绞线线缆或光纤等可以进行全双工通信的线缆连接。 Further, the communication node X, A~D each having two ports, half duplex communication can be performed via a cable like a coaxial cable communication between the ports of each node, an optical fiber or twisted pair cable or the like can be full duplex communication cable connector. 在这里,利用以太网(注册商标,以下相同)将各通信节点X、A〜D之间连接。 Here, using (registered trademark, hereinafter the same) Ethernet connection between each of the communication nodes A~D X. 另外,在本例中示出了下述情况,即,作为通信节点X、A〜D,设置有:作为通信管理装置的I台管理站点X,其对同一网段的网络内的数据(帧)发送/接收进行管理;以及4台从属站点A〜D,其基于管理站点X的设定,进行数据(帧)的发送。 Further, in the present embodiment is shown in a situation in which, as a communication node X, A~D, is provided with: a management station table I-X communication management apparatus, which data in the same network segment (frame ) transmission / reception management; and four slave stations A~D, based on the setting management station X performs (frame) data is transmitted.

[0065]如该图1所示,管理站点X的第I端口 Xl与从属站点A的第2端口A2连接。 [0065] As shown in FIG. 1, the I-port connection management station X Xl and the second port A2 of A slave station. 另外,从属站点A的第I端口Al与从属站点B的第2端口B2连接,从属站点B的第I端口BI与从属站点C的第2端口C2连接,从属站点C的第I端口Cl与从属站点D的第2端口D2连接。 Further, the second port B2 of the I-port of Al and the slave station B of the slave station A is connected, the slave station B of the second port C2 of the I-port BI and the slave station C is connected to the first I-ports Cl to slave the slave station C, D2 sites second port D is connected. 另外,从属站点D的第I端口Dl与管理站点的第2端口X2连接,形成将各通信节点环状连接的结构。 Further, the first slave station I D port Dl connected to the second port management X2 sites, forming a cyclic structure connected to the respective communication nodes. 如果换个角度看,则成为下述结构,即,管理站点X和从属站点A〜D以线状连接,并在管理站点X和从属站点D之间设置冗长的传送路径101。 If another point of view, it becomes a structure that the management station and the slave station X A~D linearly connected, and the lengthy transport path 101 is provided between the management station and the slave station X D.

[0066] 另外,在这里,各通信节点的MAC(Media Access Control)地址(在图中标记为MAC_AD)如下述所示进行设定。 [0066] Further, here, MAC (Media Access Control) address of each communication node (labeled MAC_AD in the figure) is set as shown below.

[0067] 管理站点X = 100 [0067] Administration Site X = 100

[0068]从属站点A= I [0068] A = I slave station

[0069]从属站点B = 2 [0069] B = 2 the slave station

[0070]从属站点C = 3 [0070] C = 3 slave station

[0071]从属站点D = 4 [0071] The slave station D = 4

[0072]在本实施方式I中,在将各通信节点X、A〜D之间利用以太网以环(环路)状连接的通信系统中,在启动时,管理站点X对各通信节点(管理站点X和从属站点A〜D)的连接关系进行掌握,在通信系统为环状的情况下,将某一个通信节点的I个端口设为无效,强制地作为线形的连接结构进行通信。 [0072] In embodiment I of the present embodiment, each of the communication between the nodes X, A~D Ethernet using a ring (loop) form a communication system connected, at startup, the management station to each communication node X ( X management station and the slave station A~D) connected master relationship as the annular case, the I port of a communication node in a communication system is invalidated, as a forcibly connecting structure of a communication line. 此外,在该通信系统中举出下述情况为例进行说明,即,将称为令牌的用于得到数据发送权的帧(令牌帧),向通信系统内的各通信节点依次发送,由获得了该令牌的通信节点向其它通信节点进行数据发送。 Further, in the communication systems include example case will be described, i.e., the frame will be referred to (token frame) token for obtaining data transmission right is transmitted to the respective communication nodes within a communication system in sequence, data transmitted to the other communication nodes by a communication node to get the token.

[0073]如上述所示,通信系统作为物理网络结构而具有环结构,但通过将其中至少I个通信节点的端口设为无效,从而数据的发送处理可以作为各通信节点以线状连接的结构而进行处理。 [0073] As described above, the communication system as a physical ring structure having a network structure, but at least through the port to the I wherein the communication node is invalid, the processing to transmit various data structures may be used as a communication line connected to a node and for processing.

[0074I图2 — I是示意地表示管理站点的功能结构的框图。 I is a schematic block diagram showing a functional configuration of the management station - 0074I FIG. 2 [. 管理站点具有:2个端口11一1、11 一2,其用于在与相邻的通信节点(从属站点)之间连接以太网线缆;以及通信处理部20,其进行下述处理等,即,经由端口11一1、11 一2的帧发送/接收处理,以及对网络的连接结构进行识别并确立令牌帧的发送顺序的处理。 Management station comprising: two ports 11 2 a, 11 a for connecting an Ethernet cable between adjacent communication node (slave station); and a communication processing unit 20, which performs the following processing, That is, the transmission frame via the port 11 a 1, 11 a 2 / reception processing, and the network structure of the connection establishing process and to identify the order of transmission of the token frame.

[0075] 端口11一1、11一2由第I端口11 一I和第2端口11一2这2个端口构成。 [0075] ports 11 2 a, 11 a from the first port 11 I I a second port 11 and a port 2 2 configuration. 上述2个端口Il-Ul I 一2均与相邻的从属站点的端口连接。 The two ports Il-Ul I-2 are connected to an adjacent port of the slave station.

[0076] 通信处理部20具有计时器21、网络存在确认处理部22、网络连接信息存储部23、线连接管理部24、令牌循环顺序确定部25、令牌循环顺序信息存储部26、配置处理部27、令牌帧处理部28、以及数据帧通信处理部29。 [0076] The communication processing section 20 has a timer 21, the processing unit 22 to confirm the presence of the network, the network connection information storage unit 23, 24, the token management section wire connection loop sequence determination unit 25, a token cyclic order information storage unit 26, arranged processing unit 27, a token frame processing unit 28, and a data communication frame processing unit 29.

[0077] 计时器21通过通信处理部20内的处理部而启动,具有测量规定时间的功能。 [0077] The timer 21 is activated by the processing unit in the communication processing unit 20, having a function of measuring a predetermined time. 在本实施方式I中,对从端口11 一1、11 一2接收来自从属站点的网络存在确认响应帧后是否经过了大于或等于规定时间进行计时。 In the present embodiment, I, after a 11, 11 from the network 2 receives a presence confirmation from the slave station through the port in response frame is equal to or greater than the predetermined time for timing.

[0078]网络存在确认处理部22在本装置的电源被接通后,或者如后述的实施方式所说明的那样产生预先规定的状态后,进行用于对构成通信系统(同一网段的网络)的通信节点的连接状态进行检测的网络存在确认处理,并进行对网络内通信节点的连接状态进行识别的处理。 After the [0078] present in the device after the power is turned on, or generated as a predetermined state as described later embodiment described check processing portion 22 network, to be used (the same network segment constituting the communication system ) a communication connection status of the network nodes to detect the presence of the confirmation process and the connection state of the communication node within a network identifying process. 具体地说,生成网络存在确认帧并通过广播发送,根据来自存在于通信系统内的通信节点的针对网络存在确认帧的响应、即网络存在确认响应帧中包含的信息,生成作为存在于网络内的通信节点之间的连接状态的网络连接信息。 More specifically, the network generates a presence confirmation frame and transmits by broadcasting, according to an acknowledgment frame from the communication network for the presence of nodes present within the communication system, i.e., the presence confirmation response frame contains the network information, generated in the network as present in a connection state between nodes of a communication network connection information. 此外,在本说明书中,网络连接信息的生成是在每次接收网络存在确认响应帧时进行的。 In the present specification, generating the network connection information is performed in the presence of the network each time it receives an acknowledgment frame.

[0079]图3 — I是表示网络存在确认帧的格式的一个例子的图。 [0079] FIG. 3 - I confirmed the presence of a network is an example of a frame format of FIG. 网络存在确认帧200是以太网帧,具有:发送目标MAC地址(以下称为DA)201 ;发送源MAC地址(以下称为SA)202;以太网类型(type)203;数据204,其存储上位层的数据;以及FCS(Frame Check Sequence)208,其对本帧的从DA201至数据204为止所存储的信息中是否存在错误的校验结果进行存储。 200 network presence confirmation frame is an Ethernet frame, comprising: a destination MAC address (hereinafter referred to as DA) 201; the source MAC address (hereinafter referred to as SA) 202; Ethernet type (type) 203; data 204, which stores upper data layer; and a FCS (frame check Sequence) 208, which stores whether there is an error of up to 204 from the information stored in the data check result to DA201 of the present frame.

[0080]在本实施方式I中,在数据204的一部分中存储有:帧类别信息205、管理站点的MAC地址信息206、本站点的网络存在确认帧的发送端口信息207。 [0080] In the present embodiment, I, in the data portion 204 stores: a frame type information 205, MAC address information management site 206, the presence of this site network port transmits acknowledgment information of the frame 207.

[0081]帧类别信息205是用于对本以太网帧为哪种类型的帧进行识别的信息。 [0081] The frame type information 205 is used to present information for identifying the Ethernet frame as which type of frame. 在这里,在该帧类别信息205中,存储表示为网络存在确认帧200的信息。 Here, in the frame type information 205, frame 200 stores a profile for the network exists. 在本例中,将网络存在确认帧标记为“TestData”。 In the present example, the network presence confirmation frame labeled "TestData".

[0082]在管理站点的MAC地址信息206中存储管理站点X的MAC地址。 [0082] MAC address in the MAC address management information 206 stored and managed in the site X to site. 另外,在本站点的网络存在确认帧的发送端口信息207中,存储表示通信节点从哪个端口发送网络存在确认帧200的端口信息。 Further, in the present network site confirmation information frame transmitting port 207, the port stores a communication node acknowledgment information frame 200 which port sent from the network exists.

[0083]图3 — 2是表示网络存在确认响应帧的格式的一个例子的图。 [0083] Figure 3 - 2 shows an example of a network of the presence confirmation response frame format of FIG. 该网络存在确认响应帧220也是以太网帧,在数据224中定义了本实施方式I所使用的信息。 The presence confirmation response frame network 220 is an Ethernet frame, the data 224 defines the information I used in the present embodiment. 即,在数据224的一部分中存储有:帧类别信息225;接收到的网络存在确认帧内的SA信息226;发送了网络存在确认帧的站点的端口信息227。 That is, in the data portion 224 stores: a frame class information 225; received network presence confirmation frame 226 SA information; transmitting port information of the network station presence confirmation frame 227.

[0084]在这里,在帧类别信息225中,存储表示为网络存在确认响应帧220的信息。 [0084] Here, in the frame type information 225, stores a frame acknowledgment message 220 to the network exists. 在本说明书中,将网络存在确认响应帧标记为“TestDataACK”。 In the present specification, the presence confirmation response frame network labeled "TestDataACK". 另外,在“接收到的网络存在确认帧内的SA信息” 226中,存储在通信节点(从属站点)所接收到的网络存在确认帧200的SA202区域中所存储的MAC地址。 Further, in the "received network presence confirmation frame SA information" 226, the storage area of ​​the frame to confirm SA202 MAC address 200 stored in the presence of a network communication node (slave station) received. 另外,在“发送了网络存在确认帧的站点的端口信息” 227中,存储在通信节点(从属站点)所接收到的网络存在确认帧200中的数据204区域的“本站点的网络存在确认帧的发送端口信息” 207中所存储的端口信息。 Further, in the presence of the network "to confirm the existence of the network station frame port information" 227, stored in the communication node (slave station) received a network acknowledgment "site in the data area 204 of the frame 200 to confirm the presence of transmitting the information frame to the port "port information 207 stored.

[0085]网络存在确认处理部22如果接收到网络存在确认响应帧220,则将数据224内的“接收到的网络存在确认帧内的SA信息” 226和“发送了网络存在确认帧的站点的端口信息”227,与接收到的网络存在确认响应帧220的“SA”222相关联而生成网络存在信息。 [0085] If the received network 22 presence presence confirmation response frame processing unit 220 checks the network, then the data 224 in the "received network presence confirmation frame information SA 'and 226" to confirm the presence of the network station frame port information "227, 220 the presence of the acknowledgment frame received network" network generates presence information SA "222 is associated. 然后,利用网络存在信息,将包含了与本站点连接的通信节点的端口在内的连接关系,生成为网络连接信息。 Then, the presence information using the network, including the connection relationship of the nodes connected to a communication port of this site, including, generated as a network connection information.

[0086]网络连接信息存储部23对由网络存在确认处理部22生成的网络连接信息进行存储。 [0086] Network connection information storage unit 23 to confirm the presence of the network processing section 22 generates the network connection information is stored. 网络连接信息包含本装置的第I端口11 一I的前方所连接的通信节点列、以及第2端口11 一2的前方所连接的通信节点列。 The communication node 11 in front of a row of I I-port connection information comprising the network device is connected, and a communication node in front of the column a second port 11 2 is connected. 另外,是将上述通信节点列汇总在一起的信息。 Further, the communication is aggregated with the node series information. 在上述通信节点列中还包含网络内的通信节点的端口间的连接关系。 In the column further comprising a communication node connection relationship between the ports of the communication nodes within the network.

[0087]线连接管理部24基于网络连接信息而以成为线状连接的方式进行通信节点的端口的有效/无效控制,从而防止帧在物理上以环状连接的网络中循环。 [0087] The wire connection management unit performs a manner as to be connected to a line 24, communication nodes based on network connection information valid / invalid port control, thereby preventing a network frame physically connected in a ring cycle. 对于除了本装置以外的通信节点的端口的有效/无效处理,是通过以该通信节点为目标发送用于指定将哪个端口设为有效/无效的端口控制帧而进行的。 For valid / invalid of the present apparatus except for a communication port for the node processing, by the communication node is a target for transmission to specify which port enabling / disabling the port control frames performed. 此外,在本实施方式I中,在根据网络连接信息获知网络结构为环状的情况下,线连接管理部24将本站点的第I及第2端口11一1、11一2中的某一个设为无效。 Further, in the present embodiment, I, in the case of network connection information according to the network is known as an annular structure, the 24 site I and 2 wire connection port management unit 11 a 1, 11 a 2 of a a set invalid. 在这里,如果通过线连接管理部24将端口设为无效,则无法利用该端口进行帧(数据链路层的帧)的发送/接收。 Here, if the port 24 is invalidated management unit connected by the wire, you can not use the port frames (data link layer) transmission / reception. 另外,在根据网络连接信息获知网络不是环状的情况下,以成为线状连接的方式对各通信节点的端口的有效/无效进行控制。 Further, in a case where the network connection information according to the network is not known cyclic, linear manner as to be connected to the valid / invalid port of each communication node is controlled.

[0088] 令牌循环顺序确定部25在由网络存在确认处理部22进行网络存在确认处理后,使用网络连接信息存储部23所存储的网络连接信息,进行构成逻辑环的处理,即确定令牌帧的循环顺序的处理。 [0088] Token Rotation order determination section 25 to confirm the presence of the network by network processor 22 to confirm the presence of the post-processing, the network using a network connection information storage unit 23 stores connection information, processing logic configured ring, i.e., the token is determined the frame processing cycle sequence. 令牌帧的循环顺序可以以任意方式确定,例如可以设为在确定令牌循环顺序的时刻与处于有效状态的管理站点的端口连接的从属站点的顺序。 Token frame cycle sequence may be determined in any manner, for example, the order may be set in the slave station determines the order of token rotation time is connected to the port in an active state of the management station. 所确定的令牌帧的循环顺序作为令牌循环顺序信息而存储在令牌循环顺序信息存储部26中。 Token frame cycle sequence as the determined cycle sequence information stored token in the token loop order information storage unit 26.

[0089]如果由令牌循环顺序确定部25确定了令牌循环顺序信息,则配置处理部27使用该令牌循环顺序信息,针对通信系统内的各通信节点(从属站点),生成包含该通信节点之后的下一个被赋予发送权的通信节点的信息在内的配置(set-up)帧,并向各通信节点发送。 [0089] If the sequence is determined by a token circulating unit 25 determines the order information token rotation, the placement processing section 27 uses the token cycle sequence information for each communication node (slave station) within the communication system, the communication comprising generating information communication node after the node is assigned a transmission right including the configuration (set-up) frames, and transmits each of the communication nodes. 另外,配置处理部27对是否已经从全部通信节点接收到针对配置帧的响应、即配置响应帧进行判定,在从全部通信节点接收到配置响应帧的情况下,将该信息向令牌帧处理部28通知。 Further, the configuration processing unit 27 determines whether the communication has been received from all nodes a response to a frame configuration, i.e. the configuration response frame determination, in a case where all communication is received from the node configuration response frame, the information to the token frame processing 28 notification section.

[0090]为了对是否从全部通信节点接收到配置响应帧这一情况进行确认,例如可以通过针对网络连接信息存储部23的网络连接信息的对应从属站点,设立表示接收到配置响应帧这一情况的标记而进行确认。 [0090] For the case of a frame is received from the communication node to all the configuration response confirmation, for example, be connected to the corresponding slave station information over a network for network connection information storage unit 23, to establish the configuration indicates that the received frame in response to this situation tag and confirm.

[0091]如果令牌帧处理部28从配置处理部27接收到已经从通信系统内的全部通信节点接收到配置响应帧这一内容的通知,则根据令牌循环顺序信息存储部26的令牌循环顺序信息,生成令牌帧,并从本站点的设定为有效的端口发送。 [0091] If the token frame processing unit 28 receiving the configuration has been received from the processing unit 27 from all of the communication nodes within a communication system configured to notify the contents of the response frame, according to the sequence of tokens in the cycle of the information storing section 26 cycle sequence information to generate a token frame, and set from the site for effective transmission port.

[0092]另外,如果令牌帧处理部28接收到从其它通信节点发送来的令牌帧,则对是否为向本站点赋予发送权的帧进行判定。 [0092] Further, if the token frame processing unit 28 receives the token frame transmitted from another communication node, it is determined whether the frame of the transmission right given to the site. 其结果,在是向本站点赋予发送权的帧的情况下,利用数据帧通信处理部29进行数据帧的发送处理,在数据帧的发送处理后,基于令牌循环顺序信息发送令牌帧,以使下一个得到发送权的通信节点取得令牌帧。 As a result, in the case of frame transmission right is given to the site, the data frame using the communication processing unit 29 performs a transmission process of the data frame after transmitting the data frame processing, based on the token information is transmitted token frame loop sequence communication node, so that the next to give a transmission right acquisition token frame. 另外,在不是向本站点赋予发送权的帧的情况下,判定为尚未得到发送权,将接收到的令牌帧从接收到该帧的端口之外的其它端口转送(转发)。 Further, in the case of frame transmission right is not given to the site, it is determined that the right has not yet been sent, the received token frame is received from a port other than port forwarding the frame (forward).

[0093]数据帧通信处理部29进行数据帧的发送/接收处理。 [0093] The data frame processing unit 29 transmits the communication data frame / reception processing. 例如,在FA网络中,与管理站点连接的控制器以规定的周期针对向各从属站点A〜D设定的数据进行运算,将该数据进行数据帧化后向各从属站点A〜D发送。 For example, in a FA network, connected to the management station controller at a predetermined operation cycle for each slave station A~D data set, the data for each slave station of data frames transmitted after A~D. 另外,数据帧通信处理部29还具有下述功能,S卩,接收从从属站点A〜D发送来的数据帧,以及对从属站点A〜D向其它从属站点发送的数据帧进行转送(转发)。 Further, the data frame communication processing unit 29 has a function, S Jie, receives the transmission from the slave station to A~D data frame, and the slave station A~D be transferred (forwarded) to the data frame transmitted by another slave station .

[0094]此外,示出了在上述图3 — I〜图3 — 2所示的各帧的帧类别信息205、225中为了识别各个帧而存储“T es tData”及“Tes tDataACK”等的情况,但也可以针对各个帧设定唯一识别该帧的数值,并在帧类别信息205、225中存储该数值。 [0094] Further, the above is shown in FIG. 3 - I~ Figure 3 - the frame type information of each frame shown in 205,225 in order to identify each frame is stored "T es tData" and "Tes tDataACK" etc. case, it may be a unique identification value for each frame of the frame set, the frame type information and stores the value in 205,225.

[0095]图2 — 2是示意地表示从属站点的功能结构的框图。 [0095] Figure 2 - 2 is a functional block diagram schematically showing a slave station. 从属站点具有:2个端口51 — 1、51 — 2,其用于与相邻的通信节点(管理站点或者从属站点)之间连接以太网线缆;以及通信处理部60,其经由端口51 — 1、51 — 2进行帧发送/接收处理。 The slave station having: two ports 51-- 1, 51 - 2, which is used for communication with the adjacent node is connected between the Ethernet cable (management station or the slave station); and a communication processing unit 60, via port 51-- 1, 51 - 2 frame transmission / reception processing.

[0096] 与管理站点相同地,端口51 — 1、51 — 2由第I端口51 — I和第2端口51 — 2这2个端口构成。 [0096] the same management station, the port 51-- 1, 51 - 2 from the first port I 51-- I and the second port 51--2 these two ports configured. 上述2个端口51 — 1、51 — 2与其它通信节点连接。 The two ports 51-- 1, 51 - 2 connection to other communication nodes.

[0097]通信处理部60具有控制帧响应部61、端口发送/接收控制部62、令牌循环目标信息存储部63、令牌帧处理部64、数据帧通信处理部65。 [0097] The communication processing unit 60 includes a control unit 61 in response to the frame, port transmission / reception control unit 62, the target token rotation information storage unit 63, a token frame processing unit 64, the communication processing unit 65 the data frame.

[0098]控制帧响应部61进行与来自管理站点的网络存在确认帧200及端口控制帧、配置帧等控制帧对应的响应。 [0098] Control unit 61 in response to the frame 200 and the acknowledgment frame and frame control port from the network management station is present, the configuration frame corresponding to the response in the control frame. 例如,如果接收到网络存在确认帧200,则生成图3 — 2所示的网络存在确认响应帧220,并向管理站点回送。 For example, if the received presence confirmation frame to the network 200, FIG. 3 is generated - the presence of the network shown in FIG. 2 acknowledgment frame 220 to the management station loopback. 另外,如果接收到以本站点为目标的端口控制帧,则将端口控制帧内的关于端口有效/无效的指示向端口发送/接收控制部62发送,如果利用端口发送/接收控制部62进行的端口有效/无效处理结束,则生成端口控制响应帧,并向管理站点回送。 Further, if the received frame is a control port to the target site, will port the control port of frame indication of the validity / invalidity to port transmission / reception control unit 62 transmits, if the use of the port transmission / reception control unit 62 the port valid / invalid process is completed, the port generates a control response frame to the management station loopback.

[0099]另外,如果接收到以本站点为目标的配置帧,则从配置帧内取得表示下一个发送令牌帧的通信节点的令牌循环目标信息,存储在令牌循环目标信息存储部63中,并且生成配置响应帧,向管理站点回送。 [0099] Further, if the received configuration frame to the target site, an intra acquired from the configuration information in the target token rotation transmitting communication node represents a token frame, the token rotation target information storage unit stores 63, and generates a configuration response frame to send back to the management station. 此外,在本说明书中,将在网络存在确认处理及逻辑环构成处理时在管理站点和从属站点之间进行交换的帧称为控制帧,将在逻辑环构成后通过获得令牌帧而进行发送的帧称为数据帧。 In the present specification, the confirm control frame called frame exchange between the management station and the slave station processing configuration and the logical ring network in the presence of process, will be transmitted by the token frame after obtaining the logical ring configuration the frame is called a data frame.

[0100]另外,控制帧响应部61还具有下述功能,S卩,与从管理站点或者其它从属站点接收的控制帧的帧类别相对应,对帧进行再构成并发送,或者仅进行转发。 [0100] Further, the control unit in response to the frame 61 further has a function, S Jie, and the frame type control frame received from the management station or the slave station corresponding to the other, the frame is re-constructed and sent or forwarded only. 例如,如果从管理站点或其它从属站点接收到网络存在确认帧200,则对接收到的网络存在确认帧的图3 — I所示的SA202和数据204内的本站点的网络存在确认帧的发送端口信息207进行改写处理,对网络存在确认帧进行再构成,并从除了接收端口以外的端口输出。 For example, if received from the management station or the slave station to other network presence confirmation frame 200, the presence of the network receives acknowledgment docking frame of FIG. 3 - SA202 and data network shown I site present in the acknowledgment frame 204 transmission port information rewrite processing 207, the presence confirmation frame to the network re-configuration, and in addition to the port output from the receiving port.

[0101]另外,控制帧响应部61例如具有下述功能,S卩,在接收到包含来自管理站点的配置帧或来自其它从属站点的网络存在确认响应帧220、端口控制响应帧、配置响应帧在内的控制帧的情况下,不对该帧进行任何处理,而仅进行转发。 [0101] Further, the control unit 61 in response to the frame, for example, has a function, S Jie, comprising receiving the configuration frame from the network management station or the slave station from the presence of other acknowledgment frame 220, port control response frame, a response frame configuration including the case where the control frame, the frame is not subjected to any treatment, but only forwards.

[0102]端口发送/接收控制部62具有下述功能,即,如果通过来自管理站点的端口控制帧接收到端口有效/无效的指示,则基于该指示,对端口的有效/无效进行控制。 [0102] port of transmission / reception control unit 62 has a function, i.e., if the frame received from the management station through the control port of the port valid / invalid indication, based on the indication of valid / invalid control port. 如果由该端口发送/接收控制部62将端口设为无效,则该端口无法进行数据帧(数据链路层的帧)的发送/接收。 If / port received by the transmission control unit 62 invalidates the port, the port can not perform data frames (data link layer) transmission / reception. 在基于来自管理站点的指示而进行端口的有效/无效后,将该处理结束这一内容向控制帧响应部61通知。 After the effective / ineffective based on an instruction from the management port site, the contents of the processing end notification to the control unit 61 in response to the frame.

[0103]令牌循环目标信息存储部63对本通信节点(从属站点)之后的下一个得到发送权的通信节点的MAC地址进行存储。 [0103] target token rotation information storing section 63 in the MAC address of the communication node after the present communication node (slave station) to obtain a transmission right for storage. 这是如上述所示在从管理站点接收到的配置帧中取得的。 As described above this is achieved in the configuration frame received from the management station to the. 在这里,仅对下一个应发送令牌的通信节点的MAC地址进行存储。 Here, only the communication node transmits a token to be the MAC address is stored. 由此,与管理站点X所保存的令牌循环顺序存储信息相比,可以将数据量抑制得较少。 Thus, as compared with the token cycle sequentially stores management information stored in the site X, data amount can be suppressed small.

[0104]令牌帧处理部64如果接收到从其它通信节点发送来的令牌帧,则对是否为向本站点赋予发送权的令牌帧进行判定。 [0104] If the token frame processing unit 64 receives the token frame transmitted from another communication node, the token frame whether a transmission right is given to the determination of the site. 其结果,在为向本站点赋予发送权的令牌帧的情况下,利用数据帧通信处理部65进行数据帧的发送处理,在数据帧的发送处理后,基于令牌循环顺序信息发送令牌帧,以使下一个得到发送权的通信节点取得令牌帧。 As a result, in the case of the transmission right given to the token to the site frame, the data frame using the communication processing unit 65 performs a transmission process of the data frame after the data frame transmission process, the transmission order information based on the token cyclic order card frame, so that the communication node to get the next token transmission right acquisition frame. 另外,在不是向本站点赋予发送权的令牌帧的情况下,判定为尚未得到发送权,将接收到的令牌帧从接收到该帧的端口之外的其它端口转送(转发)。 Further, in the case of a token frame transmission right is not given to the site, it is determined that the right has not yet been sent, the received token frame received from other ports to the outside of the transfer port of the frame (forward).

[0105]数据帧通信处理部65进行数据帧的发送/接收处理。 [0105] Data frame processing unit 65 transmits the communication data frame / reception processing. 具体地说,进行与管理站点或其它从属站点之间的数据帧的发送/接收处理。 Specifically, with the data between the management station or other slave station frame transmission / reception processing.

[0106]下面,说明上述通信系统中的数据通信方法。 [0106] Next, the data communication method of the communication system. 图4是表示实施方式I所涉及的启动时的数据通信方法的一个例子的时序图。 FIG 4 is a timing chart showing an example of a data communication method when starting embodiments of formula I involved. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0107]首先,在将管理站点X和从属站点A〜D利用以太网线缆连接后,将从属站点A〜D的电源接通。 After [0107] First, in the management station and the slave station X A~D using an Ethernet cable, the power-on of the slave station A~D. 在该状态下,从属站点A〜D成为等待接收来自管理站点X的网络存在确认帧的状态。 In this state, a state waiting for the slave station A~D receiving network management station X from the presence confirmation frame. 另外,将上述从属站点A〜D的第I和第2端口均设为有效。 Further, the above slave station A~D I and the second port are set to valid.

[0108]然后,如果管理站点X的电源被接通,则管理站点X为了识别包含管理站点X的同一网段的网络上所连接的从属站点,而进行下述处理。 [0108] Then, if the power is turned on X management station, the management station X in order to identify the slave stations on the same network segment comprising a network management station X is connected, the following processing is performed. 首先,管理站点X的通信处理部20的线连接管理部24将本站点的一个端口、在这里将第2端口X2设为无效,成为仅可以利用第I端口Xl进行帧的发送/接收的状态(步骤S11)。 First, the connection manager wire communication processing unit 20 of the management station X 24 to a port site, where the second port X2 is invalidated, and the transmission can only be performed by the first I frame of the port Xl / reception state (step S11).

[0109]然后,管理站点X的网络存在确认处理部22生成网络存在确认帧,从第I端口Xl通过广播发送(步骤S12)。 [0109] Then, the network management station X processing unit 22 generates a presence confirmation web presence confirmation frame from the first port I through a broadcast transmission Xl (step S12). 图5是表示网络存在确认帧的一个例子的图。 FIG 5 is a diagram showing an example of a network to confirm the presence of a frame in FIG. 在从管理站点X的第I端口Xl发送的网络存在确认帧501中,在“DA”中设定广播地址(例如如果是2个字节表述,则为“FFFF(全F)”),在“SA”中设定管理站点X的MAC地址“100”,在“帧类别信息”中存储“TestData”,在“管理站点的MAC地址信息”中存储本站点的MAC地址“100”,在“本站点的网络存在确认帧的发送端口信息”中设定表示第I端口的“ΧΓ。 Presence in the network transmitted from the management station X Xl I-port acknowledgment frame 501, a broadcast address is set in the "DA" (e.g., if the expression 2 bytes, compared to "FFFF (all-F)"), in "SA" in the management of the site set X MAC address "100" store "TestData" in the "frame type information", in the "MAC address information management site" in the MAC address of the storage site of "100", in "web site exists acknowledgment frame transmission port information" is set indicates "ΧΓ I of ports.

[0110]如上述所示,由于各通信节点以环状连接,所以网络存在确认帧501首先到达从属站点A。 As shown in [0110] above, since each of the communication nodes are connected in a ring, the network presence confirmation frame 501 arrives first slave station A. 从属站点A如果利用第2端口A2接收到网络存在确认帧,则控制帧响应部61生成网络存在确认响应帧,从接收到网络存在确认帧501的第2端口A2向管理站点X回送(步骤S13)。 Slave station A if the use of the second port A2 receives the network presence confirmation frame, the control frame response unit 61 generates a presence confirmation response frame network, an acknowledgment frame 501 to the second port A2 loopback (step S13 to the management station X from the received web presence ).

[0111]图6是表示网络存在确认响应帧的一个例子的图。 [0111] FIG. 6 is a diagram showing an example of a network of the presence confirmation response frame of FIG. 在从从属站点A的第2端口 A2发送的网络存在确认响应帧601中,在“DA”中设定管理站点X的MAC地址“100”,在“SA”中设定本站点的MAC地址T,在“帧类别信息”中存储“TestDataACK”,在“接收到的网络存在确认帧内的SA信息”和“发送了网络存在确认帧的站点的端口信息”中,参照接收到的图5的网络存在确认帧501的“SA”和“本站点的网络存在确认帧的发送端口信息”,分别设定“100”和“XI”。 Presence confirmation response frame 601, the MAC address of the management station X "DA" in "100", set at site "SA" in the network transmitted from the second port A2 of the MAC address of the slave station A T, in the "frame type information" stored "TestDataACK", the "received network presence confirmation frame SA information" and "existence confirmation transmission port information of the network station frame" in reference to FIG. 5 received the presence confirmation frame 501 of the network "SA" and "network site to confirm the presence of the transmission port information frame", respectively, set "100" and "XI."

[0112]然后,从属站点A的控制帧响应部61对从第2端口A2接收到的网络存在确认帧501进行改写而生成网络存在确认帧502,从第I端口Al将改写后的网络存在确认帧502进行发送(步骤S14) ο如图5所示,网络存在确认帧502是将接收到的网络存在确认帧501的“SA”改写为本站点的MAC地址“I”,将“本站点的网络存在确认帧的发送端口信息”改写为“Al”。 [0112] Then, the control frame response unit 61 of the slave station A of network there is a reception from the second port A2 to the acknowledgment frame 501 is rewritten to generate a web presence confirmation frame 502, there is an acknowledgment from the network after the first I-port Al will overwrite transmits frame 502 (step S14) ο shown in Figure 5, network 502 is the presence confirmation frame received network presence confirmation frame 501 "SA" to rewrite the MAC address "I" of the present site, the "site network point of presence confirmation frame transmission port information "is rewritten to" of Al. "

[0113]然后,网络存在确认帧以从属站点B、C、D的顺序被转发。 [0113] Then, the network presence confirmation frame is forwarded to the slave stations B, C, D in order. 然后,各从属站点B、C、D如果接收到网络存在确认帧502〜504,则进行与上述的从属站点A中的处理相同的处理。 Then, the slave stations B, C, D the presence of a network if the received acknowledgment frame 502~504, the above slave station A and the same processing performed. 即,接收到网络存在确认帧502〜504的各从属站点B、C、D的控制帧响应部61,生成网络存在确认响应帧602〜604,并从接收到网络存在确认帧502〜504的第2端口向管理站点X回送(步骤S15、S17、S19 )。 That is, the network receives the presence confirmation response frame control section 61 of each of the slave stations 502~504 frame B, C, D, and generates a presence confirmation response frame network 602~604, 502~504 and acknowledgment of frames received from the network is present 2-port loopback (step S15, S17, S19) to the management station X. 另外,从属站点B、C、D的控制帧响应部61对从第2端口接收到的网络存在确认帧502〜504的“SA”和“本站点的网络存在确认帧的发送端口信息”进行改写而生成网络存在确认帧503〜505,并从第I端口发送改写后的网络存在确认帧(步骤S16、S18、S20)。 Further, the slave station control unit in response to the frame 61 B, C, D of the second port from the received network presence check "site network presence confirmation frame transmission port information", "SA" and the frame 502~504 rewriting the network exists acknowledgment frame generated 503~505, and an acknowledgment frame (step S16, S18, S20) from the network of the presence of the I-port transmission rewritten.

[0114]在这里,管理站点X的网络存在确认处理部22如果接收到网络存在确认响应帧,则使计时器21启动,对是否在规定时间内接收到来自其它从属站点的网络存在确认响应帧这一情况进行判定。 [0114] Here, a network management station X presence confirmation processing section 22 receives the presence confirmation response frame to the network, the timer 21 is started, whether it has received acknowledgment of the presence of the other network from the slave station within a predetermined time frame in response to this situation is determined. 并且,在规定时间内接收到网络存在确认响应帧的情况下,将计时器21复位而重新计时。 Then, the network receives the presence confirmation response frame within a predetermined time, the timer 21 is reset and re-timing. 在这里,由于在从属站点D的前方没有连接其它从属站点(在从属站点D的前方连接有本站点的被设为无效的第2端口),所以在接收来自从属站点D的网络存在确认响应帧604后,不会接收网络存在确认响应帧。 Here, since the front of the slave station D is not connected to other slave station (slave station D is connected in front of the site has to be invalidated second port), the network receives the acknowledgment response from a slave station in the presence of D after the frame 604, the network does not receive the presence confirmation response frame. 即,在接收来自从属站点D的网络存在确认响应帧604而将计时器21复位后,发生超时(步骤S21)。 That is, the presence of the acknowledgment frame 604 and reset timer 21 receives a network from the slave station D, the time-out (step S21) occurs.

[0115]另外,网络存在确认处理部22在每次从各从属站点A〜D接收网络存在确认响应帧时,都生成网络存在信息,并且生成、更新网络连接信息,存储在网络连接信息存储部23中。 [0115] Further, the network presence information storage unit 22 to confirm the processing unit each time the presence of an acknowledgment frame received from each slave A~D network site, the network generates presence information, and generates, updates the network connection information, network attached storage 23.

[0116]图7是表示所生成的网络存在信息的一个例子的图。 [0116] FIG. 7 is a diagram for an example of the generated network information in FIG. 该网络存在信息包含下述各项目:SA、接收到的网络存在确认帧内的SA信息、以及发送了网络存在确认帧的站点的端口信息。 The presence information of each network comprises the following items: SA, received network information SA presence confirmation frame, and transmitting the port information of the network station presence confirmation frame. 管理站点X的网络存在确认处理部22从接收到的网络存在确认响应帧中,从定义了上述各项目的区域中取得各个信息。 A network management station X 22 to confirm the presence confirmation processing unit from the network in response to the presence of a received frame, information acquired from each of the destination area is defined above.

[0117]图8 — I〜图8 — 4是示意地表示网络连接信息的生成方法的流程的一个例子的图。 [0117] FIG 8 - I~ Figure 8 - 4 is a schematic showing an example of a network connection method of generating a flow of the information. 从从属站点A接收到网络存在确认响应帧601的时刻的网络存在信息,仅为图7的记录701。 A received from the slave station to the network in response to the presence confirmation frame timing network 601 information is present, only the record 701 in FIG. 7. 由此,网络存在确认处理部22生成如图8 — I所示的网络连接信息。 Accordingly, the network processing section 22 generates a presence confirmation 8 - Network connection information I shown in FIG. 即,选择本站点的MAC地址“100”和本站点所具有的端口中的第I端口“XI”,从图7的记录701中取得与本站点的第I端口Xl连接的通信节点的MAC地址“1(从属站点A)”。 That is, the MAC address of the selected site, "100" and the site has a first port in the port I "XI", acquires the communication node and the first site Xl I-port connection from the record 701 in FIG. 7 MAC address "1 (slave station a)." 然后,将例如图8 — I所示的连接关系作为网络连接信息而记录。 Then, for example, FIG. 8 - I connection relationship as shown in network connection information is recorded.

[0118]另外,从从属站点B接收到网络存在确认响应帧602的时刻的网络存在信息,为图7的记录701、702。 [0118] Further, the slave station receives from the network B to the network time presence information presence confirmation response frame 602, 701 and 702 is recorded in FIG. 7. 由此,网络存在确认处理部22对是否存在与网络连接信息的末端通信节点的MAC地址“I”相同的“接收到的网络存在确认帧内的SA信息”进行调查,取得该记录702的“SA”的值“2”,作为与末端通信节点连接的通信节点的MAC地址。 Thus, the network presence confirmation processing unit 22 whether there is a MAC address terminal connected to the communication network node information with "I" identical "received network presence confirmation frame information SA 'investigation, acquires the record 702" "value" SA 2 ", the communication node connected to the end of the MAC address of the communication node. 另外,取得该记录702的“发送了网络存在确认帧的站点的端口信息”的值“Al”,作为与上述取得的新的末端通信节点相连接侧的端口。 Further, it acquires the record 702 "to the port information of the network station presence confirmation frame" value "of Al", as a new terminal with the acquired communication node is connected to the port side. 然后,将例如包含图8 — 2所示的端口的位置在内的连接关系,作为网络连接信息进行更新并记录。 Then, for example, comprising Figure 8 - the location of the port connection relationship shown in FIG. 2, including, as the network connection information is updated and recorded.

[0119]如果接收到网络存在确认响应帧,则进行相同的处理,在从从属站点D接收到网络存在确认响应帧的时刻,使用图7的记录701〜704,生成图8 — 3所示的网络连接信息。 [0119] If receiving the network existence confirmation response frame, the same process performed at the time received from the slave station to the network D presence confirmation response frame is recorded 701~704 FIG. 7, FIG generates 8 - FIG. 3 network connection information.

[0120]如果通过在接收到来自从属站点D的网络存在确认响应帧后设定的计时器21检测出超时(步骤S21),则管理站点X的线连接管理部24进行将第I端口Xl设为无效、将第2端口X2设为有效的处理(步骤S31)。 [0120] timeout is detected (step S21), the wire connection management unit if the management station through X to the network after receiving the slave station from the presence confirmation response frame D set in the first timer 21 24 I port disposed Xl invalid, to the second port X2 efficient processing (step S31). 然后,针对第2端口X2,也执行与针对第I端口Xl进行过的上述步骤S12〜S20相同的处理(步骤S32〜S40)。 Then, for the second port X2, it is also performed with the above-described steps S12~S20 conducted for the first I-port Xl same processing (step S32~S40).

[0121] g卩,管理站点的网络存在确认处理部22生成网络存在确认帧,从第2端口通过广播发送(步骤S32)。 [0121] g Jie network, the management network 22 generates these sites exist presence confirmation acknowledgment frame processing unit, from the second port through a broadcast transmission (step S32). 在此情况下,网络存在确认帧依次到达从属站点D、C、B、A。 In this case, the network presence confirmation frame sequentially reach the slave station D, C, B, A. 接收到网络存在确认帧的各从属站点A、B、C、D的控制帧响应部61,生成网络存在确认响应帧,并从接收到网络存在确认帧的第I端口向管理站点X回送(步骤S33、S35、S37、S39)。 Receiving the network presence confirmation frame, each slave station A, a control frame response unit 61 B, C, D, and generate a network presence confirmation response frame, and from the received web presence of I-ports to a management station X sent back (step acknowledgment frame S33, S35, S37, S39). 另外,从属站点A、B、C、D的控制帧响应部61将从第I端口接收到的网络存在确认帧的SA和本站点的网络存在确认帧的发送端口信息改写后而生成网络存在确认帧,并从第2端口发送改写后的网络存在确认帧(步骤334、336、338、340)。 Further, the network unit 61 in response to the presence of a control frame slave stations A, B, C, D of the first I-port network received from the presence confirmation frame SA site and port information after sending the acknowledgment frame generated rewriting network exists acknowledgment frame, and transmits the network presence rewritten acknowledgment frame from the second port (step 334,336,338,340). 图9是表示网络存在确认帧的一个例子的图,图10是表示网络存在确认响应帧的一个例子的图。 FIG 9 is a diagram showing an example of a network presence confirmation frame, and FIG. 10 is a diagram showing an example of a network of the presence confirmation response frame of FIG. 生成并传递图示的网络存在确认帧和网络存在确认响应帧。 Generate and deliver the illustrated network presence confirmation frame and an acknowledgment frame web presence.

[0122]另外,网络存在确认处理部22在每次从各从属站点D〜A接收网络存在确认响应帧时,都生成网络存在信息,进而生成网络连接信息,并存储在网络连接信息存储部23中。 [0122] Further, the processing unit 22 to confirm the presence of the network at each occurrence acknowledgment frame received from the slave stations D~A network, the network generates presence information, thereby generating a network connection information, and the network connection information is stored in the storage unit 23 in. 此时生成的网络存在信息如图7的记录705〜708所示,根据该网络存在信息生成的网络连接信息在图8 — 4中示出。 At this time, there is a record the generated network information shown in FIG. 7 705~708, information generated by the network connection information in FIG. 8 according to the network - this is 4 shows. 此外,由于网络连接信息的生成与上述方法相同,所以省略其说明。 Further, since the network connection information is generated with the same method described above, description thereof is omitted.

[0123]另外,网络存在确认处理部22使用图8 — 3和图8 — 4的结果,构建最终的网络连接信息。 [0123] Further, the network processing section 22 to confirm the presence of FIG 8 - 4 results, the network connection information to build the final - 3 and FIG. 图11是表示网络连接信息的一个例子的图。 FIG. 11 shows an example of network connection information of FIG. 根据图8 — 3和图8 — 4的各通信节点及端口的连接关系,得到图11所示的连接关系。 According to FIG. 8 - 3 and 8 - Relationship between each of the communication nodes and the connection port 4, to obtain a connection relation shown in FIG 11. 此外,由于将第2端口X2设为无效时的网络连接信息(图8 — 3)与将第I端PXl设为无效时的网络连接信息(图8 — 4)的通信节点的排列顺序一致,所以管理站点X的网络存在确认处理部22识别出网络为冗长环结构。 Furthermore, since X2 is set to the second port when the network connection information is invalid (8 - 3) and the second network is invalidated when the connection information I PXl end - the order of the communication node (FIG. 84) coincide, Therefore, the network management station X processing unit 22 to confirm the presence of a network to identify redundant ring structure. 另外,在生成网络连接信息时,以通信节点仅具有2个端口为前提,还附加有根据图8 — 3和图8 — 4的结果无法得到的端口。 Further, when generating the network connection information to the communication node having only two ports is provided, according to FIG. 8 there is additionally - Port 4 of the results obtained can not be - 3 and FIG.

[0124]此外,在确定了将一个端口设为无效时的第I网络连接信息后,确定将另一个端口设为无效时的第2网络连接信息时,在与管理站点X连接的从属站点为第I网络连接信息的最后(末端)从属站点的情况下,也可以使令牌循环顺序确定部25将网络识别为环结构而进行处理。 [0124] Further, after determining the port to a second network connection I information is invalid, determining when the second network connection information when another port is invalidated, the slave station connected to the management of the site X network I of the last (end) of the connection information of the slave station, the order may be determined that the token loop network recognition unit 25 processes a ring structure.

[0125]另外,在将第2端口 X2设为无效时的网络连接信息、与将第I端口Xl设为无效时的网络连接信息不一致的情况下,网络存在确认处理部22判定为没有成为环结构。 [0125] Further, when the second port X2 is invalidated network connection information, and the first port Xl I set a network connection when valid information inconsistency, the processing unit 22 to confirm the presence of the network determines that the ring does not become structure. 在此情况下,线连接管理部24将第I和第2端口Xl、X2设为有效而进行通信。 In this case, the wire connection management section 24 and the second port I of Xl, X2 and to communicate effectively.

[0126]在步骤S41中检测出超时后,令牌循环顺序确定部25根据图11所示的网络连接信息,确定令牌循环顺序(步骤S51)。 [0126] After the timeout is detected in step S41, the token rotation order determination section 25 is connected by network shown in FIG. 11, to determine the token rotation sequence (step S51). 在本实施方式I中,由于是将网络为环结构的情况作为前提的,所以作为令牌循环顺序,形成以管理站点X为起点而与当前有效的端口(第2端口X2)连接的从属站点的顺序。 In embodiment I of the present embodiment, since the network is a ring structure as a prerequisite, so as token rotation sequence, formed to manage the slave station is connected to the site as a starting point X with the currently active port (second port X2) of order of. 即,在本例中,形成管理站点X—从属站点D—从属站点C—从属站点B—从属站点A—管理站点X的顺序。 That is, in this embodiment, the order of forming the slave station management station X- C- D- slave station slave station slave station A- B- management of the site X. 但这仅是一个例子,也可以通过其它方法确定令牌循环顺序。 This is merely one example, the token cycle sequence can also be determined by other methods. 所确定的令牌循环顺序存储在令牌循环顺序信息存储部26中。 Circulating token stored in the determined order a token circulating order information storage unit 26.

[0127]然后,管理站点X的配置处理部27使用存储在令牌循环顺序信息存储部26中的令牌循环顺序,进行配置处理(步骤S52),其中,该配置处理用于通知各通信节点的发送权的循环信息(表示在已经接收令牌帧而获得发送权的通信节点之后的下一个赋予发送权的通信节点的信息)。 [0127] Then, the processing unit configured management station X 27 stored in the token loop sequence token cyclic order information storing section 26, to configure the processing (step S52), wherein the configuration process for notifying each communication node circulating the transmission right of information (information indicating a next communication node is given the transmission right after the communication node receives the token frame has obtained the transmission right). 在本实施方式I中,管理站点X使用配置帧向各从属站点A〜D通知令牌循环顺序,各从属站点A〜D使用配置响应帧,将接收到配置帧这一内容向管理站点X通知。 In the present embodiment, I, X using the configuration management station to each slave station A~D frame cycle sequence notification token, the slave stations using A~D configuration response frame, the received frame is configured to notify the content management station X .

[0128]然后,如果配置处理正常结束,则管理站点X的令牌帧处理部28和数据帧通信处理部29基于令牌循环顺序信息,开始利用令牌帧进行的通信(步骤S53)。 Token frame processing unit [0128] Then, if the configuration process ends normally, the management station X 28 and the data communication frame processing unit 29 based on the token cycle sequence information, by the communication start (step S53) of the token frame. 在这里,管理站点X在将第I端口Xl设为无效的状态下,从第2端口X2利用令牌帧进行通信。 Here, the management station X at the first port I to Xl invalid state, the second port communicating the token frame X2. 由此,管理站点X的第I端口Xl和从属站点A的第2端口A2之间成为与没有被线缆连接相同的状态,可以进行与线形拓扑连接相同的发送/接收处理。 Thus, a state of cable connection is not the same between the first port I X Xl management station and the second port A2 of the slave station A, the same connection may be transmitted to the line topology / reception processing.

[0129]此外,以上步骤Sll至步骤S41的处理,是用于对构成网络的通信节点及其排列状态进行确认的网络存在确认处理。 [0129] Further, the above processing step Sll to step S41, the processing for confirming the presence of the network node constituting a communication network, and the arrangement state confirming.

[0130]根据本实施方式I,由于在具有环形拓扑的以太网网络中,在启动时将任意一侧端口设为无效,仅利用一侧端口进行通信,所以具有下述效果,即,可以在物理上为环形拓扑的网络中使用线形拓扑的协议进行通信。 [0130] According to this embodiment I, since the Ethernet network with a ring topology, the port on either side of the boot is invalidated, using only one side of the communication port, the following effects, i.e., may be physical ring topology communication protocol is used in the network of line topology.

[0131]另外,管理站点X在网络存在确认处理时,只要从各个端口发送一次网络存在确认帧即可,不需要如背景技术所说明的专利文献I的情况那样,向与网络连接的每I台通信节点,分别发送用于确认是否与网络连接的信息。 [0131] Further, the network management station X in the presence confirmation process, as long as the acknowledgment frames from a network to each port to send the presence is not required as in the case described in the background art as in Patent Document I, each connected to a network I station communication nodes, transmits acknowledgment information is respectively connected to a network. 其结果,具有下述效果,即,与专利文献I的情况相比,可以在短时间内完成网络存在确认处理。 As a result, there is an effect that, compared with the case of Patent Document I, can be completed in a short time to confirm the presence of the network.

[0132]另外,还具有下述效果,S卩,不需要如专利文献I所示构成以顺时针和逆时针使数据循环的电路,与现有技术相比,可以抑制构成装置的成本。 [0132] Further, the following effect, S Jie, I do not need as shown in Patent Document configured to enable clockwise and counterclockwise circuit data cycle, compared to the prior art, the cost of the device configuration can be suppressed.

[0133]实施方式2 [0133] Embodiment 2

[0134]在本实施方式2中,说明利用与实施方式I不同的方法进行启动时的系统结构识别处理的情况。 [0134] In the second embodiment, described with reference to the embodiments of formula I where different methods to identify the system configuration process during startup.

[0135]图12是示意地表示实施方式2所涉及的从属站点的功能结构的框图。 [0135] FIG. 12 is a schematic block diagram showing a functional configuration of the slave station 2 according to the embodiment. 该从属站点在实施方式I的结构的基础上,在通信处理部60A中还具有链路状态确认部66。 The slave station on the basis of the structure of Embodiment I of the embodiment, in the communication processing unit 60A also has a link status confirmation unit 66. 该链路状态确认部66具有下述功能:针对每个端口,使用链路状态信号确认端口所连接的传送路径状态是否正常,即,与相邻的通信节点之间的链路状态是否正常。 The link state confirmation section 66 has a function of: for each port, whether the link state acknowledgment signal transmission path connected to port status is normal, i.e., between adjacent communication nodes and link status is normal. 此外,该链路状态的确认,在例如使用1Mbps的以太网线缆的情况下,可以利用在物理层中进行交换的链路脉冲进行。 Further, to confirm the link state, for example, in the case of 1Mbps Ethernet cable, may be utilized for link pulse exchanged in the physical layer. 作为链路状态存在正常状态和异常状态这2种状态,该正常状态是可以与相邻的通信节点之间进行链路状态信号的交换、可以进行通信的状态,该异常状态是无法与相邻的通信节点之间进行链路状态信号的交换、无法进行通信的状态。 Normal state and the abnormal state is present as the link state of these two states, the normal state is the link status signals can be exchanged between adjacent nodes communicate with and to be the state of communication, the abnormality can not be adjacent exchanging link state signals between communication nodes, not the state of communication.

[0136]另外,控制帧响应部61具有下述功能,S卩,如果接收到网络存在确认帧,则将接收到该帧的时刻的由链路状态确认部66所确认的各端口51 — 1、51 — 2的链路状态,设定在网络存在确认响应帧中,并向管理站点发送。 [0136] Further, the control unit 61 has a frame response function, S Jie, the network presence check if the received frame, then receives the status confirmation unit 66 by the link of the frame timing of each port identified 51--1 51 - the link state 2 is set in the network the presence confirmation response frame, and sends the management station. 图13是表示网络存在确认响应帧的一个例子的图。 FIG 13 shows an example of a network presence confirmation response frame of FIG. 如该图所示,在网络存在确认响应帧220A的数据224的一部分中,设置链路状态信息228,在该链路状态信息228中存储由链路状态确认部66所确认的链路状态。 As shown in FIG., The presence confirmation response frame 220A and the data part 224, link state information 228 is provided, the link state information 228 stored in the link state confirmation unit 66 to confirm the link state of the network. 此外,对于与实施方式I相同的结构要素,标注相同的标号,省略其说明。 Further, the embodiments of formula I for the same components are denoted by the same reference numerals, and description thereof is omitted. 另外,由于实施方式2所使用的管理站点与实施方式I所使用的管理站点相同,所以省略其说明。 Further, since the same management station I used in Embodiment management station used in the second embodiment, description thereof is omitted.

[0137]下面,说明这种通信系统中的数据通信方法。 [0137] Next, a data communication method for such a communication system. 图14是示意地表示实施方式2所涉及的启动时的数据通信方法的一个例子的时序图。 FIG 14 is a timing chart schematically showing an example of a data communication method of the second embodiment when the starting involved. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0138]如果在将管理站点X和从属站点A〜D利用以太网线缆连接后,将从属站点A〜D的电源接通,然后将管理站点X的电源接通,则管理站点X为了识别包含管理站点X的同一网段的网络上所连接的从属站点,而进行下述处理。 [0138] If, after the management station and the slave station X A~D using an Ethernet cable, the slave station A~D power-on, the power management station X then turned on, in order to identify the management station X slave station on the same network segment comprising a network management station X is connected, the following processing is performed. 首先,管理站点X的通信处理部的线连接管理部24将本站点的一个端口、在这里将第2端口X2设为无效,成为仅可以利用第I端口Xl进行帧的发送/接收的状态(步骤S111)。 First, a port 24 is connected to a line site management unit of the communication processing unit management station X, where the second port X2 is invalidated, and the transmission can only be performed by the first I frame of the port Xl / reception state (step S111).

[0139]然后,管理站点X的网络存在确认处理部22生成网络存在确认帧,从第I端口Xl通过广播发送(步骤S112)。 [0139] Then, the network management station X processing unit 22 generates a presence confirmation web presence confirmation frame from the first port I through a broadcast transmission Xl (step S112). 如上述所示,在这里,由于各通信节点以环状连接,所以网络存在确认帧首先到达从属站点A。 As described above, Here, since each of the communication nodes are connected in a ring, the network presence confirmation frame arrives first slave station A.

[0140]如果从属站点A利用第2端口 A2接收到网络存在确认帧,则从属站点A的控制帧响应部61生成网络存在确认响应帧,从接收到网络存在确认帧的第2端口A2向管理站点X回送(步骤S113)。 [0140] If the slave station A using the second port A2 receives the network presence confirmation frame, the slave station presence confirmation response frame control frame response unit 61 generates a network A, an acknowledgment frame from the received web presence second port A2 to the management site X loopback (step S113). 此外,此时,在所发送的网络存在确认响应帧220A的链路状态信息228中,设定有在直至发送网络存在确认响应帧为止的期间链路状态确认部66所取得的第I和第2端口A1、A2的链路状态。 Also in this case, the presence confirmation response frame 220A of the link state information 228 transmitted in the network, are set in response to the existence confirmation period until the I and link state acknowledgment frame portion 66 until the acquired transmission network 2 ports A1, A2 of the link status.

[0141]另外,从属站点A的控制帧响应部61将接收到的网络存在确认帧的内容的一部分进行改写,并从第I端口Al发送改写后的网络存在确认帧(步骤S114)。 [0141] Further, the control unit 61 of the slave station response frame A to the network will receive the presence confirmation frame portion of the content is rewritten, and the rewritten present transmission network from port I Al acknowledgment frame (step S114).

[0142]然后,网络存在确认帧依次到达从属站点B、C、D,各从属站点B、C、D如果接收到网络存在确认帧,则进行与上述的从属站点A中的处理相同的处理。 [0142] Then, the network presence confirmation frame sequentially reach the slave stations B, C, D, the slave stations B, C, D if the received network presence confirmation frame, the above slave station A is the same processing performed. 即,接收到网络存在确认帧的各从属站点B、C、D的控制帧响应部61,生成网络存在确认响应帧220A,并从接收到网络存在确认帧的第2端口向管理站点X回送(步骤S115、S117、SI 19)。 That is, receiving the network presence confirmation frame is a control frame response unit 61 the slave stations B, C, D, and generates a presence confirmation response frame 220A network, and verify the second port sent back to the management station X frames from the received web presence ( steps S115, S117, SI 19). 另外,从属站点B、C、D的控制帧响应部61将从第2端口接收到的网络存在确认帧的一部分内容改写后而生成网络存在确认帧,从第I端口进行发送(步骤S116、S118、S120 )。 Further, the control unit 61 in response to the slave station frame B, C, D received from the second port to the network part of the presence confirmation frame generated after rewriting web presence confirmation frame, transmits (step S116 from port I, S118 , S120).

[0143]在这里,管理站点X的网络存在确认处理部22如果接收到网络存在确认响应帧220A,则使计时器21启动,对是否在规定时间内接收到网络存在确认响应帧220A这一情况进行判定。 [0143] Here, a network management station X presence confirmation processing unit 22 receives the network if the presence confirmation response frame 220A, then the timer 21 starts, whether a network presence check is received within a predetermined time frame in response to this situation 220A determination. 并且,在规定时间内接收到网络存在确认响应帧220A的情况下,将计时器21复位而重新计时。 And received within a predetermined time the presence of the network acknowledgment frame 220A of the case, will re-timing timer 21 is reset. 在这里,由于在从属站点D的前方没有连接其它从属站点(从属站点D的前方的管理站点X的第2端口X2被设为无效),所以如果在接收来自从属站点D的网络存在确认响应帧220A后将计时器复位,则发生超时(步骤SI 21)。 Here, since the front of the slave station D is not connected to other slave station (slave station D in front of the second port management X2 site X is set to invalid), so that if the network receives from a slave station in the presence of an acknowledgment frame D 220A timer is reset after timeout (step SI 21) occurs.

[0144]另外,网络存在确认处理部22在每次从各从属站点A〜D接收网络存在确认响应帧220A时,都如实施方式I的说明所示,生成网络连接信息,并存储在网络连接信息存储部23中。 [0144] Further, the presence of the network each time there is an acknowledgment frame 220A received from each slave A~D networking sites, such as are described in the description of the embodiments of formula I confirmation processing unit 22 generates the network connection information, and is stored in the network connection information storage unit 23. 此时,在来自全部从属站点A〜D的链路状态为正常的情况下,管理站点X掌握网络结构为冗长环结构这一情况(步骤S122)。 In this case, the link state from all of the slave station A~D is normal, the master network management station X redundant ring structure is a structure of this case (step S122).

[0145]然后,与实施方式I相同地,管理站点X确定令牌循环顺序(步骤S123),在进行配置处理后(步骤S124),开始利用令牌帧进行的数据帧通信处理(步骤S125)。 [0145] Then, similarly to the embodiments of formula I, X management station determines token rotation sequence (step S123), after (step S124) during the configuration process, starts a data frame using the communication processing of the token frame (step S125) .

[0146]根据本实施方式2,由于从属站点在网络存在确认响应帧220A中存储2个端口51 —1、51 — 2的链路状态,所以仅通过针对从管理站点X的一侧的端口11 一1、11 一2发送的网络存在确认帧进行的响应,就可以判定是否为环结构。 [0146] According to embodiment 2 of the present embodiment, since the slave station acknowledgment frame 2 ports 220A stored in the network the presence of 51 -1,51 - 2 link state, for it is only by from one side of the port management station X 11 1,11 presence of a network 2 transmits a response acknowledgment frame, it can be determined whether a ring structure. 即,具有下述效果:用于识别网络状态的网络存在确认帧的发行次数成为I次,与实施方式I的情况相比,可以缩短网络存在确认处理所需的时间。 That is, has the following effects: the presence of a network for identifying the network state release acknowledgment times of I frames times, compared with the case of the embodiment I, confirm the presence of the network can be shortened the time required for processing.

[0147]实施方式3 [0147] Embodiment 3

[0148]在本实施方式3中,说明在利用令牌进行的通信中,通信节点停机的情况下或者发生了线缆断线的情况下的环路再构成处理(网络存在确认处理)。 [0148] In the embodiment 3 of the present embodiment, the loop cable is disconnected in the case of using the token in a communication, the case where the communication node down or the occurrence of a reconstruction process (network confirmation process is present).

[0149]本实施方式3所使用的管理站点与实施方式I所使用的管理站点相同,从属站点与实施方式2所使用的从属站点相同。 [0149] Embodiment of the present embodiment and the management station used in the third embodiment used the same management station I, the same slave station and the slave station used in the second embodiment. 但是,各从属站点的数据帧通信处理部65具有下述功能,即,将在直至发送数据帧为止的期间内由链路状态确认部66所确认的2个端口51 — 1、51 — 2的链路状态,写入数据帧中并进行输出。 However, the slave stations in the communication data frame processing unit 65 has a function, i.e., during the period between the transmission of data frames by the link state confirmation unit 662 to confirm the ports 51 until - 1, 51 - 2 link status, the write data frame and outputs. 此外,在该情况下的数据帧中,如针对实施方式2的图13的网络存在确认响应帧的格式进行的说明所示,在数据的一部分中设置有链路状态信息,该链路状态信息存储由链路状态确认部66所确认的链路状态。 Further, in the data frame in this case, as confirmed for the presence of the network 13 of FIG. 2 embodiment the instructions response frame format shown, a portion of data provided link state information of the link status information link state storage unit 66 identified by the link state acknowledgment.

[0150] 首先,对通信节点已停机的情况下的环路再构成处理(网络存在确认处理)进行说明。 [0150] First, in the case where the loop communication node has been shut down the reconstruction process (network confirmation process is present) will be described. 图15是表示通信节点已停机的情况下的环路再构成处理的流程的一个例子的时序图。 FIG 15 is a loop in the case where the communication node is down reconstructed timing chart showing an example of a flow of processing. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0151]首先,在该网络中,管理站点X和从属站点A〜D利用线缆以环形连接,但通过将管理站点X的第I端口Xl设为无效(步骤S211),从而作为管理站点X—从属站点D—从属站点C一从属站点B—从属站点A这样的线形拓扑,以下述(I)的顺序进行利用令牌帧实现的数据帧发送/接收。 [0151] First, in the network management station and the slave station X A~D connected in a loop using a cable, but through the first port I site management Xl X are invalid (step S211), so that as the management station X - D- slave station slave station slave station C a line topology such B- slave station a, the data in the token frame to achieve frame transmission / reception in the following order of (I) a.

[0152]管理站点X—从属站点从属站点C—从属站点B—从属站点A—管理站点X.••⑴ [0152] Manage Site X- slave station slave station slave station B- C- A- slave station management station X. •• ⑴

[0153]假设在从属站点D即将获得令牌帧之前,从属站点C因某种原因而停机(电源断开)(步骤S212)。 [0153] D is assumed that before the slave station is about to get a token frame, the slave station C down for some reason (power-off) (step S212). 此时,由于从属站点D的链路状态确认部66无法从从属站点C得到链路确认信号,所以识别为从属站点C已经链路断开(S卩,从属站点C的电源断开、或者与从属站点C之间发生线缆断开)(步骤S213),其中,链路确认信号为在物理层中定期与相邻的通信节点之间进行交换的链路脉冲等。 At this time, since the link state confirmation unit 66 of the slave station D can not be obtained link confirmation signal from the slave station C, it has been recognized as the slave station link disconnection C (S Jie, disconnect the power supply of the slave station C, or with C cable disconnection occurs between the slave station) (step S213), wherein the link confirmation signal link switching pulse as the communication between neighboring nodes in a physical layer and periodically. 此外,从属站点B也相同地,识别为从属站点C已经链路断开。 Further, also similarly to the slave station B, station C has been identified as a slave link disconnection.

[0154]然后,如果从属站点D按照预先确定的令牌循环顺序获得令牌帧,则从属站点D的数据帧通信处理部65向数据帧中的链路状态信息内存储表示从属站点C已经链路断开这一内容的信息,并向管理站点X发送(步骤S214)。 [0154] Then, if the slave station D of the token frame in accordance with a predetermined cyclic order token, the slave station data frame D of the communication processing unit 65 indicates to the link state information is stored in the data frame has been slave station chain C way off the contents of the information to the management station X sends (step S214). 具体地说,在数据帧的链路状态信息中,存储第I端口Dl正常但第2端口D2异常这一内容,并向管理站点X发送。 Specifically, the link state information of the data frame, stored in the first port I Dl D2 is normal but the second port of the abnormality contents, and transmits the management station X.

[0155]然后,管理站点)(接收来自从属站点D的数据帧,进行通常的接收处理,但此时,由于在链路状态信息中包含有表示从属站点C链路断开这一内容的信息,所以识别为从属站点C已经脱离(步骤S215)。 [0155] Then, the management station) (receive data frames from the slave station is D, the normal reception processing, but this time, since the information contained in the link state information indicating a link disconnection of the slave station C content , it has been recognized as departing from the slave station C (step S215).

[0156]然后,管理站点X的线连接管理部24针对发出从属站点C的链路断开这一通知的从属站点D,发送将从属站点D的从属站点C侧的第2端口D2设为无效的端口控制帧(步骤S221)。 [0156] Then, the line connecting the X management station management unit 24 disconnect the slave station D for issuing notification link slave station C, the second port transmits the slave station D2 C D is the slave station side is invalid port control frame (step S221). 从属站点D的端口发送/接收控制部62如果接收到端口控制帧,则根据其内容,进行将第2端口D2设为无效的处理(步骤S222)。 D port slave station transmission / reception control unit 62 to the port if the received control frame, based on its content, the process (step S222) to the second port D2 invalidated. 然后,从属站点D的控制帧响应部61向管理站点X发送表示完成了第2端口D2无效化这一内容的端口控制响应帧(步骤S223)。 Then, the control unit 61 in response frame of the slave station D X to a management station transmits a complete control port of the second port of the content D2 invalid response frame (step S223).

[0157]管理站点X的线连接管理部24如果从从属站点D接收到端口控制响应帧,则将第I端口Xl设为有效(步骤S224)。 [0157] wire connection management unit 24 of the management station X is received from the slave station D to port a control response frame, then the first port I to Xl valid (step S224). 其原因是,如果继续将第I端口Xl保持无效,则管理站点X只能与从属站点D进行通信。 The reason is that if the first port Xl I will continue to remain inactive, the management station X can only communicate with the slave station D. 由此,管理站点X将第I和第2端口X1、X2均设为有效,成为除了从属站点D之外,还可以与从属站点A、B进行通信的状态。 Thus, the management station I and X 2 ports X1, X2 are set to valid, in addition to becoming the slave station D, can, B the state of communication with the slave station A.

[0158] 然后,管理站点X的网络存在确认处理部22通过广播从第I和第2端口Xl、X2发送网络存在确认帧(步骤3231、3233)。 [0158] Then, the processing unit 22 to confirm the presence of I and from the second port Xl, X2 confirmed by the presence of the network transmits broadcast frame (step 3231,3233) X network management station.

[0159]从第2端口 X2发送的网络存在确认帧被从属站点D接收,从从属站点D返回网络存在确认响应帧(步骤S232)。 [0159] transmitted from the network present the second port X2 slave station D acknowledgment frame is received, the slave station returns the network from the presence confirmation response frame D (step S232). 在该网络存在确认响应帧中,包含有由链路状态确认部66所确认的、在接收到网络存在确认帧的时刻的各端口的链路状态。 Existence confirmation response frame, by the link state confirmation unit 66 to confirm the link state at the time of receiving the network presence confirmation frame includes respective ports in the network. 另外,在从属站点D中,由于将第2端口D2设为无效,所以不将接收到的网络存在确认帧向在从属站点D的第2端口D2的前方连接的从属站点C发送。 Further, the slave station D, since the second port D2 is set invalid, it is not the existence confirmation received network frames transmitted to the slave station C in front of the second port of the slave station D D2 connected.

[0160]此外,也存在此时从属站点C瞬间复原的情况。 [0160] In addition, there are cases where the slave station C at this time instant recovery. 在此情况下,在从属站点D的第2端口D2和从属站点C的第I端口Cl之间的传送路径中,在物理层中进行链路确认信号的交换,但在数据链路层中,由于从属站点D的第2端口D2被设为无效,所以不会将网络存在确认帧向从属站点C转发。 In this case, the transmission path between the second port and D2 D of the slave station I Cl port in the slave station C, exchange link confirmation signal in the physical layer, the data link layer, Since the second port slave station D, D2 is set as invalid, the network will not be forwarded presence confirmation frame to the slave station C. 因此,可以防止不稳定动作的从属站点C在环路再构成处理时加入网络内。 Thus, added to the network can be prevented from unstable operation of the slave station in the loop C reconstruction process. 另外,由于在没有将从属站点D的第2端口D2设为无效的情况下,成为管理站点X和从属站点A〜D的端口全部有效的环结构,帧在网络内永远持续循环,所以,还可以防止这种情况产生。 Further, since in the absence of the second port of the slave station D D2 is set invalid, to become the port management station and the slave station X A~D ring structure of all valid frame cycle lasts forever within the network, therefore, further this situation can be prevented from generation.

[0161 ]另一方面,从管理站点X的第I端口Xl发送的网络存在确认帧被从属站点A接收,从从属站点A向管理站点X返回网络存在确认响应帧(步骤S234)。 [0161] On the other hand, the presence of the network I transmitted from the management station port X Xl acknowledgment frame received by the slave station A, the network returns the presence confirmation response frame (step S234) to the slave station from the management station X A. 另外,从属站点A将网络存在确认帧的内容的一部分改写后,从第2端口A2向第I端口Al转发(步骤S235 )。 Further, the presence of the slave station A network part confirmation overwrite the contents of a frame forwarding (step S235) from the second port A2 to the port I of Al. 相同地,在从属站点B中,如果接收到网络存在确认帧,则将网络存在确认响应帧向管理站点X发送(步骤 Similarly, in the slave station B, if the received presence confirmation frame to the network, then the network transmits the presence confirmation response frame (step X to the management station

5236),并将网络存在确认帧的内容的一部分改写后,从第2端口B2向第I端口BI转发(步骤 5236), the contents of the presence confirmation frame and the rewritten part of the network, forwarded (Step B2 from the second port to the first port I BI

5237)。 5237). 但是,由于从属站点C已经停机,所以不会产生来自从属站点C的网络存在确认响应帧。 However, since the slave station C has been shut down, the network is not generated from the slave station C in the presence confirmation response frame. 另外,在从属站点A、B所发送的网络存在确认响应帧中,包含有在直至网络存在确认响应帧送出时为止由链路状态确认部66所确认的各端口的链路状态。 Further, the slave station A, the network B transmits the presence confirmation response frame, the existence confirmation response includes the link status of each port when the frame is sent until the acknowledgment of the link status confirmation unit 66 until the network.

[0162]从从属站点B接收到网络存在确认响应帧的管理站点X,利用计时器21开始计时。 [0162] B is received from the slave station to the network presence confirmation response frame management station X, using the timer 21 starts counting. 在本例的情况下,如上述所示,由于不会从已停机的从属站点C产生网络存在确认响应帧,所以在从接收来自从属站点B的网络存在确认响应帧开始经过规定时间后,计时器21超时(步骤S238)。 In the case of this embodiment, as described above, since the network does not exist is generated from the slave station C is down acknowledgment frame, so the presence of the network from the slave station from the reception of an acknowledgment frame B after a predetermined time has elapsed, the timer 21 times out (step S238). 其结果,管理站点X的网络存在确认处理部22识别为从属站点C(与从属站点B相邻的从属站点)已经脱离网络(步骤S239)。 As a result, the presence of the network management station X confirmation processing unit 22 recognizes the slave station C (station B adjacent the dependent slave station) network has been disengaged (step S239).

[0163]此外,如果管理站点X从各从属站点A、B、D接收到网络存在确认响应帧,则生成作为在接收到上述帧的时刻的通信节点之间的连接状态的网络连接信息。 [0163] Furthermore, if the management station X receives from the slave stations A, B, D the presence confirmation response frame to the network, the network generates a connection state between the communication node receives the frame timing of the connection information.

[0164]然后,管理站点X的线连接管理部24针对最后接收的网络存在确认响应帧的发送源即从属站点B,发送将从属站点B的第I端口BI设为无效的端口控制帧(步骤S241)。 [0164] Then, the line connecting the X management station management unit 24 in response to the transmission source of the presence confirmation frame, i.e., the slave station B, BI transmits the first slave port I site B invalidated port control frame (step for the last received network S241). 如果从属站点B的端口发送/接收控制部62接收到端口控制帧,则根据其内容,进行将第I端口BI设为无效的处理(步骤S242)。 If the slave station B of the transmission port / reception control unit 62 receives a control frame to the port, then according to its contents, the process (step S242) the first port I BI invalidated. 然后,从属站点B的控制帧响应部向管理站点X发送表示完成了第I端口BI无效化这一内容的端口控制响应帧(步骤S243 )。 Then, the control unit in response frame of the slave station B transmits to the management station completed the first X I BI port control port of the content invalidation response frame (step S243).

[0165]然后,管理站点X如实施方式I的说明所示,确定令牌循环顺序(步骤S251),针对各通信节点进行设定令牌帧发送顺序的配置处理(步骤S252)。 [0165] Then, the management station X as shown in embodiment I described embodiment, the token rotation sequence is determined (step S251), the processing is configured (step S252) token frame transmission order is set for each communication node. 然后,开始在网络内利用令牌帧进行的数据帧发送处理(步骤S253)。 Then, a start frame transmission process (step S253) using a token frame data within the network. 此时,从从属站点B的第I端口BI至从属站点D的第2端口D2成为与未连接相同的动作,在除了从属站点C以外的管理站点X、从属站点A、B、D中进行数据帧的通信。 In this case, the first port I BI slave station to the slave station B of the second port D D2 is not connected to the same operation, the data in the slave station C, except management station X, the slave stations A, B, D in communication frame.

[0166]以上,针对节点停机的情况下的环路再构成处理进行了说明,在线缆被切断的情况下,也基本上与上述环路再构成处理相同。 [0166] As above, in the case where the loop node down the reconstruction process has been described, in the case where the cable is cut off, the above-described loop with basically the same reconstruction process. 图16是表示线缆断线的情况下的环路再构成处理的流程的一个例子的时序图。 FIG 16 is a diagram showing a case where the cable is cut through the loop reconstructed timing chart showing an example of a flow of processing. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0167]首先,在该网络中,管理站点X和从属站点A〜D利用线缆以环形连接,但通过将管理站点X的第I端口Xl设为无效(步骤S311),从而作为管理站点X—从属站点D—从属站点C 一从属站点B—从属站点A这样的线形拓扑,利用令牌帧而以上述(I)所示的顺序进行数据帧发送/接收。 [0167] First, in the network management station and the slave station X A~D connected in a loop using a cable, but through the first port I site management Xl X are invalid (step S311), so that as the management station X - D- slave station slave station slave station C a line topology such B- slave station a, and the token frame data frame transmission / reception in the order shown in (I) above.

[0168]假设在从属站点D即将获得令牌帧之前,从属站点D和从属站点C之间的线缆因某种原因断线(步骤S312)。 [0168] D is assumed that before the slave station is about to get a token frame, the cable between the slave station and the slave station D C disconnected for some reason (step S312). 此时,由于从属站点D的链路状态确认部66无法从从属站点C得到链路确认信号,所以识别为从属站点C已经链路断开(S卩,从属站点C停机、或者发生线缆断开)(步骤S313),其中,链路确认信号为在物理层中定期与相邻的通信节点之间进行交换的链路脉冲等。 At this time, since the link state confirmation unit 66 of the slave station D can not be obtained link confirmation signal from the slave station C, it has been recognized as the slave station link disconnection C (S Jie, stopping the slave station C, a cable break occurs or open) (step S313), wherein the link confirmation signal link pulses periodically exchanged between other adjacent nodes in the physical layer of communication. 此外,相同地,从属站点C的链路状态确认部66也识别为从属站点D链路断开(即,从属站点D停机、或者发生线缆断开)(步骤S314)。 Further, in the same manner, the link state confirmation unit 66 also identifies the slave station C, D is the slave station link disconnection (i.e., stopping the slave station D, or cable disconnection occurs) (step S314).

[0169]然后,如果从属站点D按照预先确定的令牌循环顺序(I)获得令牌帧,则从属站点D的数据帧通信处理部65向数据帧中的链路状态信息存储表示从属站点C已经脱离这一内容的信息,并向管理站点X发送(步骤S315)。 [0169] Then, if the slave station D obtained according to the token frame token rotation order (I) determined in advance, the slave station data frame D represents the communication processing unit 65 of the slave station C to the link state information is stored in the data frame this information is already out of the content to the management station X sends (step S315). 具体地说,在数据帧的链路状态信息中,存储第I端口Dl正常但第2端口D2异常这一内容,并向管理站点X发送。 Specifically, the link state information of the data frame, stored in the first port I Dl D2 is normal but the second port of the abnormality contents, and transmits the management station X.

[0170]然后,管理站点)(接收来自从属站点D的数据帧,进行通常的接收处理,但此时,由于在链路状态信息中包含有表示从属站点C链路断开这一内容的信息,所以线连接管理部24识别为从属站点C脱离(步骤S316),跳转至环路再构成处理。 [0170] Then, the management station) (receive data frames from the slave station is D, the normal reception processing, but this time, since the information contained in the link state information indicating a link disconnection of the slave station C content , the wire connection management section 24 identifies the slave station C is disengaged (step S316), the processing jumps to the reconstruction loop.

[0171]因此,首先,管理站点X的线连接管理部24针对发出从属站点C脱离这一通知的从属站点D,发送将从属站点D的从属站点C侧的第2端口D2设为无效的端口控制帧(步骤S321)。 [0171] Accordingly, first, the wire connection management unit 24 for the management station X sent from the slave station C notifies the slave station D transmits the second port slave station D2 C D is the slave station side is invalid port control frame (step S321). 如果从属站点D的端口发送/接收控制部62接收到端口控制帧,则根据其内容,进行将第2端口D2设为无效的处理(步骤S322)。 If the slave station D port transmission / reception control unit 62 receives a control frame to the port, then according to its contents, the process (step S322) to the second port D2 invalidated. 然后,从属站点D的控制帧响应部61向管理站点X发送表示完成了第2端口D2无效化这一内容的端口控制响应帧(步骤S323)。 Then, the control unit 61 in response frame of the slave station D X to a management station transmits a complete control port of the second port of the content D2 invalid response frame (step S323).

[0172]另外,如果管理站点X的线连接管理部24从从属站点D接收到端口控制响应帧,则将本站点的第I端口Xl设为有效(步骤S324)。 [0172] Further, if the wire connection management unit 24 receives the management station X from the slave station D to port a control response frame, the first port Xl I site will effectively set (step S324). 由此,管理站点X将第I和第2端口Xl、X2均设为有效。 Thus, X will manage the site I and 2 port Xl, X2 are set to valid. 然后,管理站点X的网络存在确认处理部22通过广播从第I和第2端口Xl、X2发送网络存在确认帧(步骤3331、3333)。 Then, the processing unit 22 to confirm the presence of I and from the second port Xl, X2 confirmed by the presence of the network transmits broadcast frame (step 3331,3333) X network management station.

[0173]从管理站点X的第2端口 X2发送的网络存在确认帧被从属站点D接收,从从属站点D返回网络存在确认响应帧(步骤S332)。 [0173] transmitted from the network present the second port management station X X2 acknowledgment frame received by the slave station D, the network returns the presence confirmation response from the slave station D frame (step S332). 在该网络存在确认响应帧中,包含有在直至发送网络存在确认响应帧为止的期间内由链路状态确认部66所确认的各端口的链路状态。 Existence confirmation response frame, included in the network in response to the presence of acknowledgment of the link status of each port during the period between the link state by the frame checking unit 66 the confirmed until the transmission network. 另外,在从属站点D中,由于将第2端口D2设为无效,所以不将接收到的网络存在确认帧向从属站点D的第2端口D2的前方所连接的从属站点C转发。 Further, the slave station D, since the second port D2 is set invalid, it does not confirm the presence of the received network frames in the forward direction D2 of the second port being connected to the slave station D C forwards the slave station.

[0174]此外,也存在此时与从属站点C之间的线缆瞬间复原的情况。 [0174] In addition, there are cases where the cable between the instant case and restored slave station C. 在此情况下,在从属站点D的第2端口D2和从属站点C的第I端口Cl之间的传送路径中,在物理层中进行链路确认信号的交换,但在数据链路层中,由于将从属站点D的第2端口D2设为无效,所以不会将网络存在确认帧向从属站点C转发。 In this case, the transmission path between the second port and D2 D of the slave station I Cl port in the slave station C, exchange link confirmation signal in the physical layer, the data link layer, D2 since the second port of the slave station D is invalidated, so it will not forward the frame to confirm the presence of the network to the slave station C. 因此,可以防止在环路再构成处理时从属站点C从从属站点D侦_入。 Thus, it is possible to prevent the slave station from the slave station C D _ detect when the loop reconstruction process. 如果在没有将第2端口D2设为无效的情况下,则管理站点X和从属站点A〜D成为环结构,帧在网络内永远持续循环。 If in the absence of the second port D2 is invalidated, the management station and the slave station A~D X becomes a ring structure, frame forever circulating within the network. 即,通过将第2端口D2设为无效,可以防止这种情况产生。 That is, the second port D2 is invalidated, it is possible to prevent this generation.

[0175]另一方面,从管理站点X的第I端口 Xl发送的网络存在确认帧被从属站点A接收,从从属站点A返回网络存在确认响应帧(步骤S334)。 [0175] On the other hand, the presence of the network I transmitted from the management station port X Xl acknowledgment frame received by the slave station A, the presence of the network from the slave station returns an acknowledgment frame A (step S334). 另外,从属站点A将网络存在确认帧的内容的一部分改写后,从第2端口A2向第I端口AI转发(步骤S33 5 )。 Further, the presence of the slave station A network part confirmation overwrite the contents of a frame forwarding (step S33 5) from the second port A2 to the port I of AI. 相同地,在从属站点B、C中,如果接收到网络存在确认帧,则将网络存在确认响应帧向管理站点X发送(步骤S336、S338),并且将网络存在确认帧的内容的一部分改写后,从第2端口向第I端口转发(步骤S337、S339)。 After the same manner, the slave station B, C in the presence of a network if the received acknowledgment existence confirmation response frame transmitted to the management station X frames, then the network (step S336, S338), and the part of the network of the presence confirmation frame rewritable , from the second port to the first I-port forwarding (step S337, S339). 此外,由于从属站点C和从属站点D之间的线缆为断线状态,所以网络存在确认帧无法到达从属站点D,不会产生来自从属站点D的网络存在确认响应帧。 Further, since the cable C between the slave station and the slave station is D disconnection state, the network presence confirmation frame D can not reach the slave station, the slave station from the network does not occur in the presence of D acknowledgment frame. 另外,在各从属站点A、B、C发送的网络存在确认响应帧中,包含有在直至发送网络存在确认响应帧为止的期间内由链路状态确认部66所确认的各端口的链路状态。 Further, the presence of the slave stations A, B, C sends the network acknowledgment response frame, with the existence confirmation response to the link status of each port during the period between the link state acknowledgment frame portion 66 until the confirmed transmission network .

[0176]从从属站点C接收到网络存在确认响应帧的管理站点X的网络存在确认处理部22,利用计时器21开始计时。 [0176] C is received from the slave station to the network management station X existence confirmation response frame network presence confirmation processing unit 22, using the timer 21 starts counting. 在本例的情况下,如上述所示,由于从属站点C和从属站点D之间的线缆已经断线,所以不会产生来自从属站点D的网络存在确认响应帧。 In the case of this embodiment, as described above, since the cable C between the slave station and the slave station D has been disconnected, the network is not generated from the presence of the slave station D acknowledgment frame. 其结果,在从接收来自从属站点C的网络存在确认响应帧开始经过规定时间后,计时器21超时(步骤S340) ο然后,管理站点X的线连接管理部24根据至此为止接收到的网络存在确认响应帧中的信息,识别为从属站点C和从属站点D之间的线缆已经断线(步骤S341)。 As a result, after the lapse of a predetermined time frame, timer 21 times out (step S340) ο in the presence of a network from the slave station from the reception acknowledgment response and C, wire connection management unit 24 of the presence management station X so far according to the received network acknowledgment message frame identifying a cable C between the slave station and the slave station D is disconnected (step S341).

[0177]此外,如果管理站点X从各从属站点A〜D接收到网络存在确认响应帧,则生成作为在接收到上述帧的时刻的通信节点之间的连接状态的网络连接信息。 [0177] Furthermore, if the management station X received from each slave station to the network A~D presence confirmation response frame is generated as a network connection state between the communication node receives the frame timing of the connection information.

[0178]然后,线连接管理部24针对最后接收到网络存在确认响应帧的从属站点C,发送将从属站点C的第I端口Cl设为无效的端口控制帧(步骤S351) O如果从属站点C的端口发送/接收控制部62接收到端口控制帧,则根据其内容,进行将第I端口Cl设为无效的处理(步骤S352)。 [0178] Then, the line connection management unit 24 of the slave station an acknowledgment frame for the last received network C exists, the transmission of the slave station C I Cl port invalidated port control frame (step S351) O If the slave station C port transmission / reception control unit 62 receives a control frame to the port, then according to its contents, the process (step S352) the first port I Cl invalidated. 然后,从属站点C的控制帧响应部61向管理站点X发送表示完成了第I端口Cl无效化这一内容的端口控制响应帧(步骤S353 )。 Then, the control unit 61 in response frame of the slave station C transmits to the management station completed the X port control port I of the Cl content invalidation response frame (step S353).

[0179]然后,管理站点X如实施方式I的说明所示,确定令牌循环顺序(步骤S361),针对各通信节点进行设定令牌帧发送顺序的配置处理(步骤S362)。 [0179] Then, the management station X as shown in embodiment I described embodiment, the token rotation sequence is determined (step S361), the processing is configured (step S362) token frame transmission order is set for each communication node. 然后,开始利用令牌帧进行的数据帧通信(步骤S363)。 Then, beginning with the data frame communication of the token frame (step S363). 此时,与发生故障前相同地,在管理站点X、从属站点A〜D中进行数据帧的通信,但线形连接的路径与故障发生前不同。 At this time, in the same manner before a failure occurs in the communication data frame management station X, A~D in the slave station, but the connection path before the failure occurs different linear. 即,从从属站点D的第2端口D2至从属站点C的第I端口Cl成为与未连接相同的动作。 That is, from the I, Cl port to the second port of the slave station D2 C D becomes a slave station is not connected to the same operation.

[0180]此外,在上述说明中,使得在数据帧中存储由链路状态确认部66所确认的链路状态,但并不限于数据帧,也可以向令牌帧或其它帧中存储。 [0180] Further, in the above description, such a data frame is stored by the link state confirmation unit 66 to confirm the link state, but is not limited to a data frame, the token may be stored to the frame or other frames.

[0181 ]根据本实施方式3,在令牌帧接收时,各从属站点将全部端口的链路状态写入数据帧中并向管理站点X通知。 [0181] 3, when receiving the token frame, each slave station link status of all ports to write data to the management station X frame according to the present embodiment notifies embodiment. 由此,在与接收到令牌帧的从属站点相邻的通信节点(从属站点)发生停机或线缆切断的故障的情况下,与等待故障发生部分处令牌帧消失后直至经过规定时间为止的情况相比,可以迅速地将异常向管理站点X通知而进行环路再构成处理。 Accordingly, in case of a failure or a cable cut down with the slave station receives the token frame adjacent communication node (slave station), and waits for the failure of the rear portion of the token frame until a predetermined time elapses until the disappearance of compared to the case, the exception can quickly perform loop to manage the site X notify reconstruction process. 另外,由于发送网络存在确认帧的次数为I次,所以具有可以实现缩短环路再构成处理的时间的效果。 Further, since the transmission network presence confirmation frame is an I number of times, it can be realized to shorten the loop has the effect of re-constituting the processing time.

[0182]另外,由于在进行环路再构成处理时,将与产生故障的部分相连接的通信节点的端口设为无效,所以即使在环路再构成处理中,产生故障的通信节点复原、或线缆状态成为不稳定的状态(断线(异常)及联线(正常)状态交替在短时间内变化的状态,即,线缆即将断线的状态)的情况下,也可以将产生故障的部分排除在外而进行环路再构成处理。 [0182] Further, since the loop performing reconstruction processing, the port to communicate with a node failure portion connected ineffective, even in the reconstruction process loop communication node failure recovery, or a case where the cable becomes unstable state (disconnection (abnormality) and on-line (normal) state alternately change state in a short time, i.e., the cable coming disconnection state), a fault may be generated excluded loop part performs reconstruction process. 其结果,具有下述效果,即,可以在环路再构成处理中,防止将包含复原后的通信节点、或者与线缆状态不稳定的线缆相邻的通信节点在内的全部通信节点的端口设为有效,从而帧在网络内持续传递的情况。 As a result, there is an effect that can be re-configured in the loop process, the communication node comprising preventing all communication node after restoration, the cable or the cable adjacent to an unstable state of the communication node including port is set to active, so that the frame is within the sustained delivery of the network.

[0183]实施方式4 [0183] Embodiment 4

[0184]在实施方式3的情况下,对于向与产生故障的部分相邻的从属站点发送了令牌帧的情况是有效的,但在接收到令牌帧时该从属站点或线缆产生故障的情况下,或者在将接收到令牌帧的从属站点和管理站点连结的路径上的从属站点停机或线缆断线的情况下,利用实施方式3无法应对。 [0184] In the case of the third embodiment, for the case of a token frame is transmitted to a portion adjacent to a failure of the slave station it is effective, upon receiving the token frame slave station or cable failure in a case, or in the case where the slave station on the path down the cable or to a slave station receiving the token frame and manage site link disconnection, the use of embodiment 3 can not cope. 因此,在本实施方式4中,说明这种情况下的环路再构成处理。 Thus, in the fourth embodiment according to the present embodiment, the loop in this case reconstruction process.

[0185]图17是示意地表示实施方式4所涉及的管理站点的功能结构的一个例子的框图。 [0185] FIG 17 is a schematic block diagram showing a functional configuration example of a fourth embodiment according to the management station. 管理站点在实施方式I的图2 — I的结构的基础上,在通信处理部20A中还具有网络监视部30 ο Management station in the embodiment of FIG. I 2 - I based on the configuration, the communication processing unit 20A further includes a network monitoring unit 30 ο

[0186]如果网络监视部30检测出在网络内传递的帧,则使计时器21启动,对在网络内传递的帧进行监视。 [0186] If the network monitoring unit 30 detects a frame transmitted in the network, the timer 21 starts, the frame is transmitted within the network monitor. 在从计时器21启动至经过规定时间为止的期间,在第I端口11 一I或者第2端口11 一2中输入了帧的情况下,将计时器21复位而重新计时。 In the case of the timer 21 to start until a predetermined time period has passed, the first port 11 I I a or the second input port 11 of a frame 2, the timer 21 is reset and re-timing. 另外,在从计时器21启动至经过规定时间为止的期间,在第I端口11 一I或者第2端口11 一2中没有输入帧的情况下,SP在检测到超时的情况下,判断为在网络(通信系统)内帧已消失,向网络存在确认处理部22发出进行网络存在确认处理的指示。 Further, from the timer 21 to start until a predetermined time period has passed, in the case of 11 or 11 a-I 2 of the input frame is not I-port the second port, SP in the timeout is detected, it is determined in network (communication system) has disappeared in a frame, the processing unit 22 to confirm the presence of the network issues an indication of the presence confirmation processing network. 在这里,作为监视对象的帧,可以将全部帧作为对象,也可以将令牌帧作为对象。 Here, as a monitoring target frame may be all frames as the object, the object may be used as the token frame.

[0187]此外,对于与实施方式I相同的结构要素,标注相同的标号,省略其说明。 [0187] Further, the embodiments of formula I for the same constituent elements are denoted by the same reference numerals, and description thereof is omitted. 另外,由于本实施方式4所使用的从属站点的结构与实施方式I所说明的从属站点相同,所以省略其说明。 Further, the same as I described in the slave station of the present embodiment and the structure of the slave station 4 of the embodiment used, the description thereof is omitted.

[0188]下面,说明本实施方式4所涉及的数据通信方法,首先说明网络中的通信节点已停机的情况下的环路再构成处理。 [0188] Next, the data communication method according to Embodiment 4 of the present embodiment will be described first in the case where a loop communication node in the network is down the reconstruction process. 图18是表示通信节点已停机的情况下的环路再构成处理的流程的一个例子的时序图。 18 is a loop in the case where the communication node is down reconstructed timing chart showing an example of a flow of processing. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0189]首先,在该网络中,管理站点X和从属站点A〜D利用线缆以环形连接,但通过将管理站点X的第I端口Xl设为无效(步骤S411),从而作为管理站点X—从属站点D—从属站点C一从属站点B—从属站点A这样的线形拓扑,根据上述(I)的顺序进行利用令牌帧实现的数据帧发送/接收。 [0189] First, in the network management station and the slave station X A~D connected in a loop using a cable, but through the first port I site management Xl X are invalid (step S411), so that as the management station X - D- slave station slave station slave station C a line topology such B- slave station a, the token data frame implemented according to the above-described sequence (I) frame transmission / reception.

[0190]假设在从属站点C获得令牌帧后,因某种原因而电源断开(步骤S412)。 [0190] Suppose the slave station C, after the token frame is obtained, for some reason, the power-off (step S412). 此时,从属站点D的第2端口D2成为无法通信的状态(步骤S413)。 At this time, the second port D2 of the slave station D can not be a state in communication (step S413). 从属站点B也相同地,与从属站点C连接的第I端口BI成为无法通信的状态。 I, Port B is also the same manner as the slave station, the slave station C can not be connected to the BI state of communication.

[0191]另外,在令牌帧循环至从属站点C时,该令牌帧也在整个网络上传递。 [0191] Further, when the cycle of the token frame to the slave station C, the token frame is also transmitted across the network. 因此,如果管理站点X的网络监视部30检测出令牌帧在网络上传递,则开启(set)计时器21。 Thus, if the monitoring unit 30 detects the network management station X token frame transmitted over the network, the open (set) timer 21. 并且,由于获得令牌帧的从属站点C的电源断开,所以在直至计时器21超时为止的期间,在网络上没有其它帧传递。 Further, since the slave station to get the token frame to the power-off C, so during a period until the timer 21 times out, no other frames transmitted over the network.

[0192]如果管理站点X的网络监视部30根据超时而检测出在规定时间内网络上没有帧传递这一情况(步骤S414),则识别为在网络上令牌帧已经消失,向网络存在确认处理部22发出进行网络存在确认处理的指示。 [0192] If the network management station X monitoring unit 30 detects a timeout and the situation with no frame is transmitted (step S414) within a predetermined period of time on the network, it is recognized on the network the token frame has disappeared, to confirm the presence of the network processing unit 22 issues an instruction to confirm the presence of the network processing. 然后,网络存在确认处理部22保持当前的端口有效/无效状态,即保持第I端口Xl无效而第2端口X2有效的状态,通过广播发送网络存在确认帧(步骤S421)0 Then, the processing unit 22 to confirm the presence of the network to maintain the current port valid / invalid state, i.e., remain inactive port I, Xl and X2 second port valid state, an acknowledgment frame (step S421) 0 there is a broadcast network by sending

[0193]从管理站点X的第2端口 X2发送的网络存在确认帧被从属站点D接收,从从属站点D返回网络存在确认响应帧(步骤S422)。 [0193] transmitted from the network present the second port management station X X2 acknowledgment frame received by the slave station D, the network returns the presence confirmation response from the slave station D frame (step S422). 另外,在从属站点D中,对网络存在确认帧的内容的一部分进行改写后,从第I端口Dl向第2端口D2转发(步骤S423),但由于从属站点C处于电源断开的状态,所以成为从从属站点D的第2端口D2的前方所连接的从属站点C没有返回网络存在确认响应帧的状态。 Further, the slave station D, the network part of the presence confirmation frame is rewritten, forwarding (step S423) from the first port I to the second port Dl D2, but since the slave station C is in the power off state, C slave station becomes the second port D2 from the front of the slave station D does not return a network connection state of existence confirmation response frame.

[0194]管理站点X如果接收到来自从属站点D的网络存在确认响应帧,则使计时器21启动,开始规定时间的计时。 [0194] If X management station to the network from the slave station receives the presence confirmation response frame D, the timer 21 is started, starts counting a predetermined time. 但是,由于在从属站点D之后所连接的从属站点C处于电源断开状态,所以不会接收到来自从属站点C的网络存在确认响应帧。 However, since after the slave station connected to the slave station D C power is turned off, it will not received the presence confirmation response frame from the slave station C of network. 其结果,经过规定的时间后导致超时(步骤S424)。 As a result, after a predetermined period of time cause a timeout (step S424). 由此,管理站点X的网络存在确认处理部22识别为从属站点C链路断开,即,处于只能将数据帧发送至从属站点D的状态(步骤S425)。 Thereby, the network management station X presence confirmation processing unit 22 recognizes the slave station C link is disconnected, i.e., only the data frame is transmitted to the slave station D state (step S425).

[0195]然后,线连接管理部24针对最后接收网络存在确认响应帧的从属站点D,发送将从属站点D的第2端口D2设为无效的端口控制帧(步骤S431)。 [0195] Then, the line connection management unit 24 in response to the presence confirmation frame to the slave station D transmits the second port of D is set to the slave station D2 invalid port control frame (step S431) for the last received network. 接收到端口控制帧的从属站点D的端口发送/接收控制部62,根据端口控制帧的指示,进行针对第2端口D2使数据链路层以上的数据帧通信为无效的处理(步骤S432)。 Port slave station D transmits the received control frame to the port / reception control unit 62, according to an instruction port of the control frame, so that the data frame for communication over data link layer to be invalid (step S432) for the second port D2. 如果该第2端口D2的无效化处理完成,则控制帧响应部61将端口控制响应帧向管理站点X发送(步骤S433)。 If D2 of the second port invalidation processing is completed, the control unit 61 in response to the frame response frame transmitted to the port control management station X (step S433).

[0196]此外,也存在在该一系列处理中从属站点C瞬间复原的情况。 [0196] In addition, there are cases where the series of processes in the slave station C instant recovery. 在此情况下,在从属站点D的第2端口D2和从属站点C的第I端口Cl之间的传送路径中,在物理层中进行链路确认信号的交换,但在数据链路层中,由于将从属站点D的第2端口D2设为无效,所以不会将网络存在确认帧向从属站点C转发。 In this case, the transmission path between the second port and D2 D of the slave station I Cl port in the slave station C, exchange link confirmation signal in the physical layer, the data link layer, D2 since the second port of the slave station D is invalidated, so it will not forward the frame to confirm the presence of the network to the slave station C. 因此,可以防止不稳定动作的从属站点C在环路再构成处理时加入网络内。 Thus, added to the network can be prevented from unstable operation of the slave station in the loop C reconstruction process. 另外,由于在没有将从属站点D的第2端口D2设为无效的情况下,管理站点X和从属站点A〜D成为环结构,在环路再构成处理中传递的帧在网络内永远持续循环,所以,还可以防止这种情况产生。 Further, since in the absence of the second port of the slave station D D2 is set invalid, the management station and the slave station A~D X becomes a ring structure, then the loop process composed of a frame transmitted last forever circulating within the network Therefore, such a situation can be prevented generation.

[0197]接收到端口控制响应帧的管理站点X的线连接管理部24,进行将本站点的第I端口Xl设为有效的处理(步骤S434)。 Wire connection management station management unit X is [0197] received the control response frame to the port 24, the port for the first I site Xl effective treatment set (step S434). 由此,管理站点X成为可以利用2个端口Xl、X2进行数据帧发送/接收的状态。 Thus, the management station X can be using two ports Xl, X2 data frame transmission / reception state.

[0198]然后,管理站点X的网络存在确认处理部22通过广播向同一网段的网络上的从属站点发送网络存在确认帧(步骤S44US443)。 [0198] Then, the network management station X presence confirmation processing unit 22 to the slave station transmits an acknowledgment frame exists on the same network segment via a broadcast network (step S44US443). 从第2端口X2发送的网络存在确认帧被从属站点D接收,从属站点D将网络存在确认响应帧向管理站点X发送(步骤S442)。 Transmitted from the network presence second port X2 D acknowledgment frame is received the slave station, the slave station D network existence confirmation response frame transmitted to the management station X (step S442). 此外,由于从属站点D的第2端口D2被设为无效,所以不进行网络存在确认帧的转发。 Further, since the second port of the slave station D, D2 is set as invalid, so that no network presence confirmation frame forwarding.

[0199]从管理站点X的第I端口 Xl发送的网络存在确认帧被从属站点A接收,从从属站点A返回网络存在确认响应帧(步骤S444)。 [0199] transmitted from the network I present Xl management station port X acknowledgment frame received by the slave station A, the presence of the network from the slave station returns an acknowledgment frame A (step S444). 另外,从属站点A对网络存在确认帧的内容的一部分进行改写后,从第2端口A2向第I端口Al转发(步骤S445 )。 After the addition, the slave station A to confirm the contents of the frame portion exists on the network is rewritten, from the second port to the first I-port forwarding A2 Al (step S445). 相同地,在从属站点B中,如果接收到网络存在确认帧,则将网络存在确认响应帧向管理站点X发送(步骤S446),对网络存在确认帧的内容的一部分进行改写后,从第2端口B2向第I端口BI转发(步骤S447)。 Similarly, in the slave station B, after receiving the network if the presence confirmation response frame existence confirmation to the management station X (step S446) frame, the network will be part of the content of the frame to confirm the presence of the network is rewritten from the second B2 forwards to the second port of the BI I-port (step S447). 但是,由于从属站点C已经停机,所以网络存在确认帧不会到达从属站点C,另外,不会产生来自从属站点C的网络存在确认响应帧。 However, since the slave station C has been shut down, the network presence confirmation frame does not reach the slave station C, Further, the network does not occur from the slave station C in the presence confirmation response frame.

[0200]从从属站点B接收到网络存在确认响应帧的管理站点X,利用计时器21开始计时。 [0200] B is received from the slave station to the network presence confirmation response frame management station X, using the timer 21 starts counting. 在本例的情况下,如上述所示,由于从属站点C已经停机,所以不会产生来自从属站点C的网络存在确认响应帧,因此,在从接收到来自从属站点B的网络存在确认响应帧开始经过规定时间后,计时器21超时(步骤S448)。 In the case of this embodiment, as described above, since the slave station C has been shut down, the network is not generated from the slave station C in the presence of an acknowledgment frame, and therefore, in the presence of a network from the received acknowledgment from the slave station response frame B after the specified time has elapsed, the timer 21 times out (step S448). 其结果,管理站点X的线连接管理部24识别为从属站点C(与从属站点B相邻的从属站点)已经脱离网络(步骤S449)。 As a result, the line connecting the X management station management unit 24 recognizes the slave station C (station B adjacent the dependent slave station) network has been disengaged (step S449).

[0201]然后,线连接管理部24对于最后接收网络存在确认响应帧的从属站点B,发送将从属站点B的第I端口BI设为无效的端口控制帧(步骤S451)。 [0201] Then, the line connection management unit 24 in response to the presence confirmation frame to the slave station B transmits the first slave station I BI port B is set to invalid port control frame (step S451) to the final receiving web. 如果从属站点B的端口发送/接收控制部6 2接收到端口控制帧,则根据其内容,进行将第I端口BI设为无效的处理(步骤S452)。 If the slave station B of the transmission port / reception control section receives a control frame to the port 62, is based on its content, the process (step S452) the first port I BI invalidated. 然后,从属站点B的控制帧响应部61向管理站点X发送表示完成了第I端口BI无效化这一内容的端口控制响应帧(步骤S453 )。 Then, the slave station control section 61 B of the frame in response to the management station X transmits a completion port control port I of the BI content invalidation response frame (step S453).

[0202]此外,如果管理站点X从各从属站点接收到网络存在确认响应帧,则生成作为在接收到上述帧的时刻的通信节点之间的连接状态的网络连接信息。 [0202] Furthermore, if the management station X received from each slave station to the network in response to the presence confirmation frame is generated as a network connection state between the communication node receives the frame timing of the connection information.

[0203]然后,管理站点X如实施方式I的说明所示,确定令牌循环顺序(步骤S461),针对各通信节点A、B、D进行设定令牌帧发送顺序的配置处理(步骤S462)。 [0203] Then, the management station X as shown in embodiment I described embodiment, the token rotation sequence is determined (step S461), the processing is configured (step S462 token frame transmission order is set for each communication node A, B, D ). 然后,开始利用令牌帧进行的数据帧通信(步骤S463)。 Then, beginning with the data frame communication of the token frame (step S463). 此时,在除了从属站点C之外的管理站点X、从属站点A、B、D中进行数据帧的通信。 At this time, the communication data frame other than the management of the slave station C, station X, the slave stations A, B, D in.

[0204]下面,说明在线缆被切断的情况下的环路再构成处理,该处理基本上是与通信节点停机时相同的处理。 [0204] Next, in a case where the loop of the cable is cut reconstruction process, the same process as the process is substantially off when the communication node. 图19是表示线缆断线的情况下的环路再构成处理的流程的一个例子的时序图。 19 is a loop in the case of cable breakage reconstructed timing chart showing an example of a flow of processing. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0205]首先,在该网络中,管理站点X和从属站点A〜D利用线缆以环形连接,但通过将管理站点X的第I端口Xl设为无效(步骤S511),从而作为管理站点X—从属站点D—从属站点C一从属站点B—从属站点A这样的线形拓扑,根据上述(I)的顺序进行利用令牌帧实现的数据帧发送/接收。 [0205] First, in the network management station and the slave station X A~D connected in a loop using a cable, but through the first port I site management Xl X are invalid (step S511), so that as the management station X - D- slave station slave station slave station C a line topology such B- slave station a, the token data frame implemented according to the above-described sequence (I) frame transmission / reception.

[0206]假设在从属站点A〜C中的某一个从属站点获得令牌帧时,从属站点D和从属站点C之间的线缆因某种原因断线(步骤S512)。 [0206] Suppose a slave station in a slave station in obtaining A~C token frame, the cable between the slave station and the slave station D C disconnected for some reason (step S512). 此时,从属站点D的第2端口D2成为无法通信的状态(步骤S513)。 At this time, the second port D2 of the slave station D can not be a state in communication (step S513). 另外,从属站点C也相同地,与从属站点D连接的第I端口Cl成为无法通信的状态(步骤S514)。 Further, the same slave station C, I, Cl port D is connected to the slave station becomes unable to communicate state (step S514). 另外,如果管理站点X的网络监视部30检测出最后在网络上传递的帧,则利用计时器21进行计时。 Further, if the network management station monitoring unit 30 detects the X in the last frame transmitted on a network, using a timer 21 for timing. 然后,在这里,由于线缆被切断,所以成为在网络上大于或等于规定时间持续没有其它帧传递的状态。 Then, here, since the cable is cut off, the state becomes equal to or greater than a predetermined time duration on the network is not transmitted in other frames.

[0207]如果管理站点X的网络监视部30根据超时而检测出在规定时间内网络上没有帧传递这一情况(步骤S515),则识别为在网络上令牌帧已经消失,向网络存在确认处理部22发出进行网络存在确认处理的指示。 [0207] If the network management station X monitoring unit 30 detects a timeout and the situation with no frame is transmitted (step S515) within a predetermined period of time on the network, it is recognized on the network the token frame has disappeared, to confirm the presence of the network processing unit 22 issues an instruction to confirm the presence of the network processing. 然后,网络存在确认处理部22保持当前的端口有效/无效状态,即保持第I端口Xl无效而第2端口X2有效的状态,通过广播发送网络存在确认帧(步骤S521)0 Then, the processing unit 22 to confirm the presence of the network to maintain the current port valid / invalid state, i.e., remain inactive port I, Xl and X2 second port valid state, an acknowledgment frame (step S521) 0 there is a broadcast network by sending

[0208]从管理站点X的第2端口 X2发送的网络存在确认帧被从属站点D接收,从从属站点D返回网络存在确认响应帧(步骤S522)。 [0208] transmitted from the network present the second port management station X X2 acknowledgment frame received by the slave station D, the network returns the presence confirmation response from the slave station D frame (step S522). 另外,在从属站点D中,对网络存在确认帧的内容的一部分进行改写后,从第I端口Dl向第2端口D2转发(步骤S523 ),但由于从属站点D和从属站点C之间的线缆处于被切断的状态,所以成为从从属站点D的第2端口D2的前方所连接的从属站点C没有返回网络存在确认响应帧的状态。 Further, the slave station D, the presence of the network part of the contents of the acknowledgment frame after rewriting, from port I to the second port forwards Dl D2 (step S523), but since the line between the slave station and the slave station C D the cable is cut in the state, the second port from the front becomes D2 D of the slave station connected to the slave station C is not returned to the network presence state confirmation response frame.

[0209]管理站点X如果接收到来自从属站点D的网络存在确认响应帧,则使计时器21启动,开始规定时间的计时。 [0209] If X management station to the network from the slave station receives the presence confirmation response frame D, the timer 21 is started, starts counting a predetermined time. 但是,由于从属站点D和从属站点C之间的线缆处于被切断的状态,所以不会接收到来自从属站点C的网络存在确认响应帧。 However, due to the cable between the slave station and the slave station D in C is cut off, so the presence of a network does not receive the acknowledgment from the slave station C response frame. 其结果,经过规定时间后导致超时(步骤S524)。 As a result, it results in a timeout after a predetermined time (step S524). 管理站点X的网络存在确认处理部22识别为从属站点C链路断开,S卩,处于只能将数据帧发送至从属站点D的状态(步骤S525)。 Network management station X in the presence confirmation processing unit 22 recognizes the slave station link is disconnected C, S Jie, only the data frame is transmitted to the slave station D state (step S525).

[0210]然后,线连接管理部24针对最后接收网络存在确认响应帧的从属站点D,发送将从属站点D的第2端口D2设为无效的端口控制帧(步骤S531)。 [0210] Then, the line connection management unit 24 in response to the presence confirmation frame to the slave station D transmits the second port of D is set to the slave station D2 invalid port control frame (step S531) for the last received network. 接收到端口控制帧的从属站点D的端口发送/接收控制部62,根据端口控制帧,进行针对第2端口D2使数据链路层以上的数据帧通信为无效的处理(步骤S532)。 The slave station receives the transmit port D port control frame / reception control unit 62. The port control frame, data frame for communication so that the data link layer above the second port D2 is invalid (step S532). 如果该第2端口D2的无效化处理完成,则控制帧响应部将端口控制响应帧向管理站点X发送(步骤S533)。 If D2 of the second port invalidation processing is completed, the control unit in response to the port control frame response frame transmitted to the management station X (step S533).

[0211]此外,也存在在该一系列处理中从属站点C和从属站点D之间的线缆瞬间复原的情况。 [0211] Further, there is the case where a series of processing in the slave station of the cable between the instant restore slave station C and D. 在此情况下,在从属站点D的第2端口D2和从属站点C的第I端口Cl之间的传送路径中,在物理层中进行链路确认信号的交换,但在数据链路层中,由于将从属站点D的第2端口D2设为无效,所以不会将网络存在确认帧向从属站点C转发。 In this case, the transmission path between the second port and D2 D of the slave station I Cl port in the slave station C, exchange link confirmation signal in the physical layer, the data link layer, D2 since the second port of the slave station D is invalidated, so it will not forward the frame to confirm the presence of the network to the slave station C. 因此,可以防止在管理站点X的第2端口X2的环路再构成处理时从属站点C加入网络内。 Thus, the slave station C can be prevented when the second port management station X X2 loop process of reconstruction added to the network. 另外,由于在没有将第2端口D2设为无效的情况下,管理站点X和从属站点A〜D成为环结构,在环路再构成处理中传递的帧在网络内永远持续循环,所以,还可以防止这种情况产生。 Further, since in the absence of the second port D2 is invalidated, the management station and the slave station A~D X becomes a ring structure, then the loop process composed of a frame transmitted last forever circulating within the network, therefore, further this situation can be prevented from generation.

[0212]然后,接收到端口控制响应帧的管理站点X的线连接管理部24,进行将本站点的第I端口Xl设为有效的处理(步骤S534)。 Wire connection management unit of the management station X [0212] Then, in response to receiving a control frame to the port 24, the port for the first I site Xl effective treatment set (step S534). 由此,管理站点X成为可以利用2个端口Xl、X2进行数据帧发送/接收的状态。 Thus, the management station X can be using two ports Xl, X2 data frame transmission / reception state.

[0213]然后,网络存在确认处理部22通过广播向同一网段的网络上的从属站点发送网络存在确认帧(步骤S541、S543)。 [0213] Then, the network processing section 22 to confirm the presence of an acknowledgment frame (step S541, S543) transmits to the slave station exists on the same network segment via a broadcast network. 针对从管理站点X的第2端口X2发送的网络存在确认帧的处理,与上述图18的步骤S441〜S442相同(步骤S541〜S542)。 Processing network for the presence confirmation frame is transmitted from the second port management station X is X2, the same steps described above in FIG. 18 S441~S442 (step S541~S542).

[0214]从管理站点X的第I端口 Xl发送的网络存在确认帧被从属站点A接收,从从属站点A返回网络存在确认响应帧(步骤S544)。 [0214] transmitted from the network I present Xl management station port X acknowledgment frame received by the slave station A, the presence of the network from the slave station returns an acknowledgment frame A (step S544). 另外,从属站点A对网络存在确认帧的内容的一部分进行改写后,从第2端口A2向第I端口Al转发(步骤S545)。 After the addition, the slave station A to confirm the contents of the frame portion exists on the network is rewritten, from the second port to the first I-port forwarding A2 Al (step S545). 相同地,在从属站点B、C中,如果接收到网络存在确认帧,则将网络存在确认响应帧向管理站点X发送(步骤S546、S548),对网络存在确认帧的内容的一部分进行改写后,从第2端口向第I端口转发(步骤S547、S549)。 After the same manner, the slave station B, C, if the received presence confirmation frame to the network, then the network existence confirmation response frame transmitted to the management station X (step S546, S548), the content of the network presence confirmation frame is rewritten part , from the second port to the first I-port forwarding (step S547, S549). 此夕卜,由于从属站点C和从属站点D之间的线缆处于已断线的状态,所以网络存在确认帧不会到达从属站点D,另外,不会产生来自从属站点D的网络存在确认响应帧。 Bu this evening, since the cable C between the slave station and the slave station is disconnected in state D, the network presence confirmation frame does not reach the slave station D, Further, no slave station D from a network presence confirmation response frame.

[0215]从从属站点C接收到网络存在确认响应帧的管理站点X的网络存在确认处理部22,利用计时器21开始计时。 [0215] C is received from the slave station to the network management station X existence confirmation response frame network presence confirmation processing unit 22, using the timer 21 starts counting. 在本例的情况下,如上述所示,由于从属站点C和从属站点D之间的线缆已断线,所以不会产生来自从属站点D的网络存在确认响应帧。 In the case of this embodiment, as described above, since the cable C between the slave station and the slave station D is disconnected, the network is not generated from the presence of the slave station D acknowledgment frame. 其结果,在从接收来自从属站点C的网络存在确认响应帧开始经过规定时间后,计时器21超时(步骤S550 )。 As a result, in the presence of a network from the slave station from the reception confirmation response frame C after the lapse of a predetermined time, the timer 21 times out (step S550). 然后,管理站点X的线连接管理部24根据至此为止接收到的网络存在确认响应帧中的信息,识别为从属站点C和从属站点D之间的线缆已断线(步骤S551)。 Then, the wire connection management station management unit 24 of the X acknowledgment message frames, identified as the cable C between the slave station and the slave station D is disconnected (step S551) based on the network so far received is present.

[0216]此外,如果管理站点X从各从属站点接收到网络存在确认响应帧,则生成作为在接收到上述帧的时刻的通信节点之间的连接状态的网络连接信息。 [0216] Furthermore, if the management station X received from each slave station to the network in response to the presence confirmation frame is generated as a network connection state between the communication node receives the frame timing of the connection information.

[0217]然后,线连接管理部24针对最后接收网络存在确认响应帧的从属站点C,发送将从属站点C的第I端口Cl设为无效的端口控制帧(步骤S561)。 [0217] Then, the line connection management unit 24 in response to the presence confirmation frame to the slave station C, station C transmits the first slave port I Cl invalidated port control frame (step S561) for the last received network. 如果从属站点C的端口发送/接收控制部6 2接收到端口控制帧,则根据其内容,进行将第I端口CI设为无效的处理(步骤S562)。 If the slave station transmitting port C / reception control unit 62 receives the control frame to the port, then according to their content, carry out the first port I CI processing is invalidated (step S562). 然后,从属站点C的控制帧响应部向管理站点X发送表示完成了第I端口Cl无效化这一内容的端口控制响应帧(步骤S563 )。 Then, the control unit in response frame of the slave station C transmits to the management station completed the X port control port I of the Cl content invalidation response frame (step S563).

[0218]然后,管理站点X如实施方式I的说明所示,确定令牌循环顺序(步骤S571),进行针对各通信节点A〜D设定令牌帧发送顺序的配置处理(步骤S572)。 [0218] Then, the management station X as shown in embodiment I described embodiment, the token rotation sequence is determined (step S571), the processing is configured (step S572) for setting A~D token frame transmission order of each communication node. 然后,开始利用令牌帧进行的数据帧通信处理(步骤S573)。 Then, using the data frame communication start processing (step S573) of the token frame. 此时,与发生故障前相同地,在管理站点X、从属站点A〜D中进行数据帧的通信,但线形连接的路径与故障发生前不同。 At this time, in the same manner before a failure occurs in the communication data frame management station X, A~D in the slave station, but the connection path before the failure occurs different linear. 即,从从属站点D的第2端口D2至从属站点C的第I端口Cl成为与未连接相同的动作。 That is, from the I, Cl port to the second port of the slave station D2 C D becomes a slave station is not connected to the same operation.

[0219]此外,在这里,示出了在实施方式I的情况的基础上,在管理站点X中设置网络监视部30的情况,但也可以在实施方式2、3的情况的基础上,在管理站点X中设置网络监视部30。 [0219] Further, here, a case is shown in the embodiments of formula I based on the case, the monitoring portion 30 provided in the network management station X, but may also be based on the case of the second and third embodiments, the management site set X network monitoring section 30.

[0220]根据本实施方式4,在管理站点X从最后检测到帧开始规定时间内没有检测到下一个帧的情况下,视作网络发生了异常而进行网络存在确认处理(环路再构成处理)。 The [0220] embodiment according to the present embodiment 4, in the management station X starts from the last frame is detected a predetermined time has not detected the next frame, the process considered abnormality occurs in the network for network presence confirmation process (reconstruction loop ). 由此,具有下述效果,即,即使在与发生故障的部位相邻的通信节点得到发送权时之外的情况下,也可以检测出令牌帧消失。 Accordingly, there is an effect that, even at a portion adjacent to the failed communication nodes other than the case where the obtained transmission right, the token can be detected frame disappears. 另外,具有下述效果,即,即使在网络内的通信节点的电源以短周期反复成为接通状态和断开状态、或处于电源已经断开状态的通信节点再次迅速成为接通状态的情况下,也由于在网络存在确认处理中,将与不稳定的通信节点连接的从属站点的端口设为无效,所以可以在防止发生在以环状连接的网络内帧持续传递即帧风暴(framestorm)的同时进行恢复。 Further, there is an effect that, even if the power of the communication node within the network is repeated in short cycles becomes the ON state and the OFF state, or in a communications node has the power off state again turned on to rapidly , but also due to the presence in the network confirmation process, and instability of the communication nodes connected to a port of the slave station is not valid, it can be prevented from occurring within the network is connected to the annular frame i.e. frame storm sustained delivery (framestorm) of at the same time to recover.

[0221]另外,由于在进行环路再构成处理时,将与产生故障的部分相连接的通信节点的端口设为无效,所以即使在环路再构成处理中,产生故障的通信节点复原、或线缆状态成为不稳定的状态(断线(异常)及联线(正常)状态交替在短时间内变化的状态,即,线缆即将断线的状态)的情况下,也可以将产生故障的部分排除在外而进行环路再构成处理。 [0221] Further, since the loop performing reconstruction processing, the port to communicate with a node failure portion connected ineffective, even in the reconstruction process loop communication node failure recovery, or a case where the cable becomes unstable state (disconnection (abnormality) and on-line (normal) state alternately change state in a short time, i.e., the cable coming disconnection state), a fault may be generated excluded loop part performs reconstruction process. 其结果,具有下述效果,即,可以在环路再构成处理中,防止将包含复原后的通信节点、或者与线缆状态不稳定的线缆相邻的通信节点在内的全部通信节点的端口设为有效,从而帧在网络内持续传递的情况。 As a result, there is an effect that can be re-configured in the loop process, the communication node comprising preventing all communication node after restoration, the cable or the cable adjacent to an unstable state of the communication node including port is set to active, so that the frame is within the sustained delivery of the network.

[0222] 实施方式5 [0222] Embodiment 5

[0223]在实施方式3、4中,针对网络内的通信节点(从属站点)因某种原因从网络脱离的情况下的环路再构成处理进行了说明。 [0223] In embodiments 3 and 4, for a communication node (slave station) within the network for some reason from the loop in the network from the reconstruction process has been described. 在本实施方式5中,相反地,针对已脱离的通信节点(从属站点)复位的情况下的网络存在确认处理进行说明。 In the fifth embodiment, conversely, the presence confirmation process for the case where the network has been out of communication nodes (slave station) is reset will be described.

[0224]实施方式5中的管理站点和从属站点的结构与实施方式2、3所说明的管理站点和从属站点具有相同结构。 [0224] Structure of Embodiment Embodiment 5 of the management station and the slave station 3 described management station and the slave station having the same structure.

[0225]图20是表示从属站点复原后的情况下的数据通信方法的处理流程的一个例子的时序图。 [0225] FIG. 20 is a timing chart showing an example of a process flow of a data communication method in the case where the slave station after recovery. 此外,在这里,示出了4台从属站点A〜D与管理站点X以环状连接的结构,但这仅是一个例示,在任意数量的从属站点与管理站点X连接的情况下,都可以利用与以下说明的处理相同的方法进行数据通信。 Further, here, shows the structure of four management station and the slave station A~D ring connected to X, but this is merely an example, and in the case of an arbitrary number of slave station connected to the management station X, are the method of data communication using the same process described below.

[0226]首先,在该网络中,管理站点X和从属站点A〜D利用线缆以环形连接,但假设从属站点C因故障而成为电源断开的状态(步骤S611),在管理站点X和从属站点A、B、D之间进行利用令牌帧实现的数据帧发送/接收。 [0226] First, in the network management station and the slave station X A~D connected in a loop using a cable, but it is assumed that the slave station C due to a failure becomes the power off state (step S611), the management station, and X the token data between slave stations a, B, D frame to achieve frame transmission / reception. 即,将从属站点B的第I端口BI设为无效,将第2端口B2设为有效,将从属站点D的第I端口Dl设为有效,将第2端口D2设为无效,上述从属站点B、D成为末端通信节点(步骤S612)。 That is, the BI of port slave I site B is invalidated, the second port B2 to the active port of the first I Dl to D slave station is valid, the second port D2 invalidates the slave station B , D became end communication node (step S612).

[0227]假设在从属站点D或者从属站点B获得令牌帧之前,从属站点C复原,电源接通(步骤S613 )。 Before [0227] Suppose the slave station to get the token frame in the slave station D or B, C restored the slave station, power supply is turned on (step S613). 此时,从属站点D、B的链路状态确认部66从从属站点C得到在物理层中定期与相邻的通信节点之间进行交换的链路脉冲等链路确认信号,由此,识别为从属站点C从电源断开的状态复原(步骤S614)。 In this case, the slave station D, the link state confirmation unit B 66 C obtained from the slave station regularly between adjacent nodes in the physical layer for communications link confirmation signal link switching pulse or the like, thereby, identified as C slave station is restored from the power-off state (step S614).

[0228]然后,从属站点D或从属站点B按照预先确定的令牌循环顺序获得令牌帧,并发送数据帧,但此时,数据帧通信处理部65在数据帧中的链路状态信息内存储表示从属站点C已经复原这一内容的信息(步骤S615)。 [0228] Then, the slave station the slave station B or D to obtain the token frame according to a predetermined cyclic order a token, and transmits a data frame, but this time, the state of the link 65 in the data frame within the communication processing information data frame section C indicates that the subordinate storage site has been restored to this information content (step S615). 具体地说,在从属站点D、B已获得令牌的情况下,在数据帧的链路状态信息中存储第I及第2端口正常这一内容,并向管理站点X发送。 Specifically, the slave station D, B the case where the token has been obtained, the information stored in I and the second port of the normal state of the content data link frame is transmitted to the management station X.

[0229]然后,管理站点)(接收来自从属站点D或从属站点B的数据帧,进行通常的接收处理,但此时,由于在链路状态信息中包含有表示从属站点C已复原这一内容的信息,所以线连接管理部24识别为从属站点C已复原。此外,以下对从属站点D获得令牌帧并向管理站点X通知从属站点C已复原的情况进行说明。 [0229] Then, the management station) (slave station receives the data frame from the slave station B or D, and the normal reception processing, but this time, because the link state information included in the slave station C indicating that the content has been restored information, the line connection manager 24 recognizes the slave station C has been restored. in addition, the following is obtained where X token frame to the management station C notifies the slave station has restored the slave station D will be described.

[0230]管理站点X的线连接管理部24针对通知从属站点C已复原的从属站点D,发送将从属站点D的从属站点C侧的第2端口D2设为有效的端口控制帧(步骤S621)。 [0230] wire connection management unit 24 for managing the site X of the slave station C notifies the restored slave station D, the second port transmits to the slave station D2 C D slave station side port control valid frame (step S621) . 如果从属站点D的端口发送/接收控制部62接收到端口控制帧,则根据其内容,进行将第2端口D2设为有效的处理(步骤S622)。 If the slave station D port transmission / reception control unit 62 receives a control frame to the port, then according to their content, for the second port to D2 efficient processing (step S622). 然后,从属站点D的控制帧响应部61向管理站点X发送表示完成了第2端口D2有效化这一内容的端口控制响应帧(步骤S623 )。 Then, the control unit 61 in response frame of the slave station D X to a management station transmits a complete control port of the second port of the content D2 effective response frame (step S623).

[0231 ]如果管理站点X的网络存在确认处理部从从属站点D接收到端口控制响应帧,则从第I和第2端口X1、X2通过广播发送网络存在确认帧(步骤S63US635)。 [0231] If the present network management station X receives the acknowledgment from the slave station processing unit D to port a control response frame, from the second port I, X1, X2, and confirmed the presence of the network through a broadcast transmission frame (step S63US635).

[0232]从管理站点X的第I端口 Xl发送的网络存在确认帧被从属站点A接收,从从属站点A返回网络存在确认响应帧(步骤S632)。 [0232] transmitted from the network I present Xl management station port X acknowledgment frame received by the slave station A, the presence of the network from the slave station returns an acknowledgment frame A (step S632). 另外,在从属站点A中,将网络存在确认帧的内容的一部分改写后,从第2端口A2向第I端口Al转发(步骤S633)。 Further, the slave station A, the part of the network presence confirmation overwrite the contents of the frame forwarding (step S633) from the second port A2 to the port I of Al. 在从属站点B中,如果接收到网络存在确认帧,则也将网络存在确认响应帧向管理站点X发送(步骤S634),但由于从属站点B的第I端口BI设为无效,所以不进行网络存在确认帧的转发。 In the slave station B, the network presence check if the received frame is the presence confirmation response frame will transmit (step S634) to a network management station X, but since the first port I BI invalidates the slave station B, so the network is not confirm the presence of the forwarding frame. 此外,在从从属站点A、B发送的网络存在确认响应帧中,包含有在直至发送网络存在确认响应帧为止的期间内由链路状态确认部66所确认的各端口的链路状态。 Further, in the presence of the slave station A, the network B sends the acknowledgment frame, with the existence confirmation response to the link status of each port in the period until the frame by the link status acknowledgment confirming portion 66 until the transmission network.

[0233]另一方面,从管理站点X的第2端口 X2发送的网络存在确认帧被从属站点D接收,从从属站点D返回网络存在确认响应帧(步骤S636)。 [0233] On the other hand, the presence of the network is transmitted from the second port management station X X2 acknowledgment frame received by the slave station D, the network returns the presence confirmation response from the slave station D frame (step S636). 另外,在从属站点D中,将网络存在确认帧的内容的一部分改写后,从第I端口Dl向第2端口D2转发(步骤S637 )。 After addition, the slave station D, the content of the frame to confirm the presence of the network part is rewritten, from port I to the second port forwards Dl D2 (step S637). 相同地,在从属站点C中,如果接收到网络存在确认帧,则将网络存在确认响应帧向管理站点X发送(步骤S638),将网络存在确认帧的内容的一部分改写后,从第I端口Cl向第2端口C2转发(步骤S639 )。 After the same manner as in the slave station C, if the network is received presence confirmation response frame transmitting existence confirmation (step S638) to the management station X frames, then the network, the network presence confirmation frame is a part of the content is rewritten, from the port I Cl forwarded to the second port C2 (step S639). 但是,由于从属站点B的第I端口BI设为无效,所以发送出的网络存在确认帧不会到达从属站点B。 However, since the I-port slave BI site B is invalidated, so that transmitted the presence confirmation frame to the network does not reach the slave station B. 此外,在从从属站点C、D发送的网络存在确认响应帧中,包含有在直至发送网络存在确认响应帧为止的期间内由链路状态确认部66所确认的各端口的链路状态。 Further, in the presence of the slave station C, D network acknowledgment frame transmitted, the existence confirmation response includes the link status of each port during the period between the link state acknowledgment frame portion 66 until the confirmed transmission network.

[0234]在这里,管理站点X的网络存在确认处理部22如果接收到网络存在确认响应帧,则使计时器21启动,对是否在规定时间内接收到网络存在确认响应帧这一情况进行判定。 [0234] Here, a network management station X presence confirmation processing section 22 receives the presence confirmation response frame to the network, the timer 21 is started, whether the received acknowledgment frame to the network exists in the case of this determination is within a predetermined time . 并且,在规定时间内接收到网络存在确认响应帧的情况下,将计时器21复位而重新计时。 Then, the network receives the presence confirmation response frame within a predetermined time, the timer 21 is reset and re-timing. 在这里,由于在从属站点C的前方没有连接其它从属站点(由于从属站点C的前方的从属站点B的第I端口BI设为无效),所以在接收来自从属站点C的网络存在确认响应帧而将计时器复位后,发生超时(步骤S640)。 Here, since the front of the slave station C is not connected to another slave station (slave station C since the front of the first port I BI invalidate the slave station B), there is a network acknowledgment from a slave station in the received response frame C and after the timer is reset, a timeout occurs (step S640).

[0235]另外,网络存在确认处理部22如实施方式I的说明所示,在每次从各从属站点A〜D接收网络存在确认响应帧时,都生成网络连接信息,并向网络连接信息存储部23中存储。 [0235] Further, the presence of the network 22 as shown in the embodiment described confirmation processing unit I, at each occurrence acknowledgment frame received from each slave A~D network site, generates network connection information, and network connection information storage section 23 is stored. 此时,在来自全部从属站点A〜D的链路状态信息为正常的情况下,管理站点X掌握网络结构为冗长环结构这一情况(步骤S641)。 In this case, the link status information from all of the slave station A~D Under normal circumstances, a network management station X grasp this structure is a redundant ring structure (step S641).

[0236]然后,管理站点X的令牌循环顺序确定部25使用网络连接信息,确定令牌循环顺序(步骤S651),并向令牌循环顺序信息存储部26中存储。 [0236] Then, the order management station X token rotation determining unit 25 uses the network connection information, determining token rotation sequence (step S651), and sequentially circulating the token 26 is stored information storing unit. 然后,管理站点X的配置处理部27使用存储在令牌循环顺序信息存储部26中的令牌循环顺序,生成用于通知各通信节点的令牌循环目标信息的配置帧,并向各从属站点A〜D发送(步骤S652)。 Then, the processing unit configured management station X 27 stored in the token loop sequence token cyclic order information storing section 26, the communication node configured to inform a target token rotation frame for generating information, and the slave stations A~D transmission (step S652). 然后,各从属站点A〜D的控制帧响应部61生成与所接收到的配置帧对应的配置响应帧,并向管理站点X发送(步骤S653)0 Then, the configuration frame corresponding to the frame in response to the control unit 61 of the slave stations A~D generate the received configuration response frame transmitted to the management station X (step S653) 0

[0237]然后,管理站点X如果接收到来自全部从属站点A〜D的配置响应帧,并识别为管理站点X所发行的配置帧正常到达从属站点A〜D这一情况,则线连接管理部24将本站点(管理站点)的第2端口X2设为无效(步骤S661),并且发送将从属站点B的第I端口BI设为有效的端口控制帧(步骤S662)。 [0237] Then, if the management station X receives from all the slave station configuration A~D response frame, and the frame configuration management station identified as X issued reaches a normal slave station A~D this case, the wire connection management unit the site 24 (management station) to a second port X2 is invalidated (step S661), and transmits the first slave station I BI port B is set to a valid port control frame (step S662). 然后,如果从属站点B的端口发送/接收控制部62接收到端口控制帧,则根据其内容,进行将第I端口BI设为有效的处理(步骤S663 )。 Then, if the port B of the slave station transmitting / receiving unit 62 receives the control port of the control frame, based on its content, for the first set I BI valid port process (step S663). 另外,从属站点B的控制帧响应部将表示完成了第I端口BI有效化这一内容的端口控制响应帧向管理站点X发送(步骤S664)。 Further, in response to the slave station unit B a control frame indicating the completion of I-port port control the content of BI effective response frame transmitted to the management station X (step S664). 然后,管理站点X开始利用令牌帧进行的通信(步骤S671)。 Then, using the communication management station X token frame start (step S671).

[0238]此外,在上述说明中,针对从属站点的电源复原时进行了说明,但在线缆复原时,也可以相同地进行处理。 [0238] Further, in the above description, the description for the power recovery slave station, but when the cable recovery, may be treated in the same manner.

[0239]根据本实施方式5,具有下述效果,S卩,在由于某种原因脱离网络的从属站点复原的情况下,可以迅速地检测出该复原而进行网络存在确认处理。 [0239] According to the fifth embodiment, the following effects, S Jie, for some reason departing from the slave station to the network at restoration, can quickly detect the presence of network restoration confirmation process is performed.

[0240]实施方式6 [0240] Embodiment 6

[0241]图21是表示利用令牌方式进行的数据帧发送中的状态的图。 [0241] FIG. 21 is a view showing a state of the data frame transmission performed by the use of a token. 在该图21中,I台管理站点X和5台从属站点A〜E处于由传送路径环状连接的状态,将从属站点C的第I端口Cl和从属站点D的第2端口D2设为无效,以线形进行数据帧的发送/接收。 In the FIG. 21 is, table management station I and X stage 5 in the state connected to the slave station A~E annular path by the transfer, the slave station C of Cl and I-port slave station D D2 of the second port invalidates transmitting data frames to perform linear / reception.

[0242]图22是示意地表示从图21的状态对线缆的连接进行变更后的状态的图。 [0242] FIG. 22 is a schematic diagram showing a state after the change from the state of the connection cable 21 of FIG. 在这里,示出了在图21的状态下,将从属站点D的第I端口Dl所连接的线缆1lA和从属站点C的第2端口C2所连接的线缆1lB同时迅速地换插至集线器110的彼此不同的端口中的情况。 Here, a state is shown in FIG. 21, the cable of the cable 1lA I Dl port D of the slave station and the slave station C connected to the second port C2 connected 1lB simultaneously inserted to quickly change the hub different from each other in the case of port 110. 在这种情况中存在下述状况等,即,线缆101A、101B的换插在利用链路确认信号检测出线缆被拔出之前已经完成的状况,以及虽然检测出线缆101A、101B的换插,但链路确认信号在至管理站点X的路径中途消失的状况。 In this situation there is a case like, i.e., cables 101A, 101B is inserted in the commutation link confirmation signal is detected by using a cable is pulled before the condition has been completed, and although the detected cable 101A, 101B of in other plug, but a link to confirm the status of the signal path management site X in the middle of disappearing. 在图21的网络状态下,由于从属站点E的第2端口E2和从属站点B的第I端口BI各自为有效,所以在图22中,从属站点E的第2端口E2和从属站点B的第I端口BI也为有效。 In the network state of FIG. 21, since the I-port BI second port E2 and the slave station B of the slave station E each is valid, so in FIG. 22, the second port E2 and the slave station B of the slave station E, I port BI is also effective. 其结果,网络成为环形拓扑,同样发生帧在环形传送路径中持续循环即帧风暴。 As a result, the network becomes a ring topology, i.e., a continuous loop frame also occurs in the annular frame storm transport path.

[0243]这种帧风暴为下述状态,S卩,即使在令牌帧消失而发生了超时的情况下,或者接收到令牌帧的情况下,也存在向管理站点X发送的帧。 [0243] This is a state frame storm, S Jie, if a timeout has occurred, or a token frame receives the token frame of the even disappear, there is a frame transmitted to the management station X. 如果成为这种状态,则传送路径始终处于使用中,因此网络无法发挥作用。 If such a state, the transmission path is always in use, so the network can not play a role. 因此,在本实施方式6中,说明在处于这种帧风暴状态的情况下也可以进行应对的通信系统。 Thus, in the embodiment 6 of the present embodiment described may be performed in a communication system to deal with the case in such a state frame storm.

[0244]本实施方式6的管理站点X具有与图17相同的结构,但网络监视部30具有对帧风暴状态的发生进行监视的功能,线连接管理部24具有下述功能,8卩,在由网络监视部30检测出帧风暴发生的情况下,使第I和第2端口11一1、11一2之间的转发功能停止。 Management Site X [0244] Embodiment 6 of the present embodiment has the same structure of FIG. 17, but the network portion 30 has a function of monitoring the occurrence of a frame is monitored storm condition, the wire connection portion 24 has a function of managing, Jie 8, in detected by the network monitoring unit 30 of the case frame storm the forwarding between the I and a second port 11 2, 11 a stop. 另外,网络监视部30还具有下述功能,S卩,如果在使第I和第2端口11 一1、11一2之间的转发功能停止后,确认到在规定时间内没有向管理站点发送的帧这一情况,则向线连接管理部24和网络存在确认处理部22通知这一内容。 Further, the network monitoring unit 30 has a function, S Jie, if the first I and a second port 11, 11 2 forwarding between a stopped, there is no acknowledgment sent to the management station within a predetermined time the case frame, the connection management unit 24 and the cable network to the presence confirmation processing unit 22 notifies the content. 如果接收到来自网络监视部30的帧风暴已停止这一内容的通知,则线连接管理部24解除第I和第2端口11一1、11一2之间的转发功能的停止,另外,网络存在确认处理部22开始网络存在确认处理。 If the frame received from the network monitoring storm portion 30 notifies the content has stopped, the wire connection management unit 24 to lift I and the second port 11, 11 a stop forwarding between a 2, Further, the network confirm the presence of the presence confirmation processing section 22 starts processing network. 此外,对于其它结构,由于与上述实施方式相同,所以省略其说明。 In addition, other structures are the same as the above embodiment, the description thereof is omitted.

[0245]下面,对实施方式6所涉及的帧风暴避免处理的流程进行说明。 [0245] Next, a sixth embodiment of the frame storm related to avoid the flow of processing will be described. 首先,通过从图21的状态进行如图22所示的线缆101A、1lB换插,从而成为全部的信节点的所有端口为有效状态的环形拓扑。 First, from the state of FIG. 21 by a cable 101A shown in FIG. 22, 1lB plug change, making all letters of all ports to the node ring topology active state. 然后,由于无论是令牌帧消失而发生超时,还是接收到令牌帧,均存在向管理站点X发送的帧,所以管理站点X的网络监视部30识别为处于帧风暴状态。 Then, since both token frame disappear out occurs, the token frame is received, there is a frame are transmitted to the management station X, so the network management station monitoring unit 30 is identified as X in frame storm condition.

[0246]然后,如果由网络监视部30检测出帧风暴状态发生,则线连接管理部24使第I端口Xl和第2端口X2之间的转发功能停止。 [0246] Then, if it is detected by the network monitoring unit 30 storm condition occurs, the management unit 24 that the line is connected between the first I forwarding port and the second port Xl X2 stopped.

[0247]然后,如果网络监视部30确认到在规定时间内不存在向管理站点X发送的帧这一情况,则线连接管理部24解除第I端口Xl和第2端口X2之间的转发功能的停止,网络存在确认处理部22进行网络存在确认处理。 [0247] Then, the network monitoring unit 30 confirms if the frame is sent to the management station X in the absence of a predetermined time, the wire connection portion 24 is released forwarding management between the first port I Xl X2 and the second port stop, confirm the presence of the network processing unit 22 to confirm the presence of the network processing. 此外,由于网络存在确认处理是按照实施方式1、2所说明的流程进行的,所以在这里省略其详细说明。 Further, since the network presence confirmation process is performed in accordance with the process described in Embodiment 1, so a detailed description thereof will be omitted here.

[0248]根据本实施方式6,具有下述效果,S卩,即使在以使网络内不存在被无效的端口的方式迅速地进行线缆的换插,导致发生帧风暴的情况下,也可以将网络恢复至正常状态。 In the case [0248] Embodiment 6 according to the present embodiment, the following effects, S Jie, even if the change is inserted so as to be invalid port does not exist within the network cables manner performed rapidly, leading to frame storm, may be the network returned to normal state.

[0249] 工业实用性 [0249] Industrial Applicability

[0250]如上述所示,本发明所涉及的通信系统在由传送路径连接为环状的通信节点之间作为连接为线状的网络进行通信的情况下有效。 [0250] As described above, the communication system according to the present invention is connected by a transmission path between communication nodes in an annular shape as an active case of a linear network connection to communicate.

Claims (15)

1.一种通信管理装置,其对将多个通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理, 其特征在于,具有: 2个端口,其与相邻的所述通信节点经由传送路径连接; 线连接管理单元,其发出使包含本装置在内的所述网络上的通信节点的某个端口在无法进行帧发送/接收的无效状态和可以进行帧发送/接收的有效状态之间进行切换的指示;网络存在确认单元,其进行网络存在确认处理,该处理是利用广播发送用于识别所述网络内存在的所述通信节点的网络存在确认帧,接收包含与所述通信节点相邻的通信节点及其端口的关系在内的网络存在确认响应帧,生成表示所述通信节点之间的连接状态的网络连接信息; 令牌循环顺序确定单元,其使用所述网络连接信息,确定令牌循环顺序; 配置处理单元,其进行配置处理,该处理 A communication management apparatus token passing data within the network of a plurality of communication nodes connected in a ring via a transmission path for the transmission management, characterized by having: two ports, with phase the adjacent communication node is connected via a transmission path; line connection management unit, which emits a port of the communication nodes on the network so that the unit comprising the inner frame is not frame transmission / reception state and can be inactive between the active state for transmission / reception of the handover indication; network presence confirmation unit to confirm the presence of the network processing, which is transmitted using a broadcast network for identifying the presence of said communication node in said network acknowledgment frame memory, receiving a communication node to confirm the presence of the adjacent communication node and the relation of the ports, including the network in response to the frame, generates a network connection status between the communication node connection information; token cyclic order determining unit which using the network connection information, determining the order of token rotation; arrangement processing unit configured processing, which 基于所述令牌循环顺序,向所述网络内的各所述通信节点通知在该通信节点之后的下一个赋予所述发送权的通信节点;以及数据帧通信处理单元,其进行利用令牌帧实现的数据帧发送/接收, 所述线连接管理单元在根据所述网络连接信息识别为所述网络为环结构的情况下,将所述网络内的某个通信节点的某个端口设为无效,以使得所述网络的连接状态不成为环状, 在所述网络存在确认响应帧中包含链路状态,在该链路状态中,将发送该帧的通信节点经由传送路径与其它通信节点可通信地连接的状态设为正常,将没有可通信地连接的状态设为异常, 所述网络存在确认单元从网络存在确认处理执行时本装置的有效的端口,利用广播发送所述网络存在确认帧,利用所得到的所述网络存在确认响应帧生成所述网络连接信息,并且在接收到的全部所述网络 Based on the token cyclic order, a notice given to the communication node after the transmission right of the communication node to each of said communication nodes within the network; and a data frame communication processing unit, the token frame which was implemented data frame transmission / reception, the wire connection management unit in a case where the connection according to the network information identifying the network to a ring structure, a port of a communication node within the network invalidates such that the network connection state is not in an annular presence confirmation response frame in the network link state contained in the link state, the communication node transmits the frame can be other communication node via the transmission path connected to the communication state is normal, there is no state to be connected to the communication abnormality, the presence confirmation unit confirms process network port effective when executing the present apparatus, there is a broadcast network using the transmission frame from the network to confirm the presence of the resultant network using the present frame generated acknowledgment information to the network connection, and all of the received network 在确认响应帧中的所述链路状态为正常的情况下,识别为所述网络为环结构, 在所述数据帧中包含链路状态,在该链路状态中,将发送该帧的通信节点经由传送路径与其它通信节点连接的状态设为正常,将没有连接的状态设为异常, 如果在数据帧发送/接收中,从根据所述网络连接信息而知所述链路状态应为正常的通信节点,接收到所述链路状态变为异常的数据帧,则所述线连接管理单元发送用于将发送了所述数据帧的所述通信节点中链路状态变为异常的端口设为无效的第I端口控制帧,然后,对本装置的端口进行切换,以生成用于取得与异常的端口相邻的另一通信节点的网络连接信息,并且,发送第2端口控制帧,该第2端口控制帧用于将在发送第I端口控制帧后生成的所述网络连接信息中处于末端的通信节点的未连接状态的端口设为无效。 In response to the link state acknowledgment frame is a normal case, the network recognizes the ring structure, comprising a link state in the data frame, the link state to transmit the communication frame state of the transmission path via the node to communicate with other nodes connected to the normal state in which no connection to the exception if the data frame transmission / reception, with knowledge of the connection information from the link state is normal according to the network should communication node, receiving the link state becomes abnormal data frame, the transmission line connection management means for sending the said node of the data frame communication link state becomes abnormal port provided invalid I-port of the control frame, and then, ports of this device is switched to generate a network node of another communication port adjacent to the connection information acquired abnormality, and the second port transmits a control frame, the first port 2 is used to control frame after the transmission of the I frame generation control port connected to the network port is set to the connection state information is not the end of the communication node is invalid.
2.根据权利要求1所述的通信管理装置,其特征在于, 还具有帧监视单元,其对在规定时间中所述网络内没有帧传递的状态进行监视, 所述网络存在确认单元具有下述功能,即,在数据帧发送/接收中由所述帧监视单元检测出在规定时间中所述网络内没有帧传递的情况下,也进行所述网络存在确认处理, 所述线连接管理单元使用通过所述检测出在规定时间中所述网络内没有帧传递后的所述网络存在确认处理而得到的新的网络连接信息,发送将与异常的端口相邻的通信节点的未连接状态的端口设为无效的端口控制帧。 2. A communication management apparatus according to claim 1, wherein the frame further having a monitoring unit, which monitors the state of the frame is not transmitted within the network in a predetermined time, the network has a presence confirmation unit function, i.e., the data frame transmission / reception in the transmission frame is not detected within the network in a predetermined time frame in the case where the monitoring unit is also performed to confirm the presence of the network processing, using the wire connection management unit by the predetermined time is detected within a network without the presence of the network connecting the delivery confirmation information frame processing to obtain a new network, and transmits the port is not connected to the abnormal state of the communication nodes adjacent ports invalidated port control frames.
3.—种通信管理装置,其对将多个通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理, 其特征在于,具有: 2个端口,其与相邻的所述通信节点经由传送路径连接; 线连接管理单元,其发出使包含本装置在内的所述网络上的通信节点的某个端口在无法进行帧发送/接收的无效状态和可以进行帧发送/接收的有效状态之间进行切换的指示; 网络存在确认单元,其进行网络存在确认处理,该处理是利用广播发送用于识别所述网络内存在的所述通信节点的网络存在确认帧,接收包含与所述通信节点相邻的通信节点及其端口的关系在内的网络存在确认响应帧,生成表示所述通信节点之间的连接状态的网络连接信息; 令牌循环顺序确定单元,其使用所述网络连接信息,确定令牌循环顺序; 配置处理单元,其进行配置处理,该处理 3.- kinds of communication management apparatus token passing data within the network of a plurality of communication nodes connected in a ring via a transmission path for the transmission management, characterized by having: two ports, with phase the adjacent communication node is connected via a transmission path; line connection management unit, which emits a port of the communication nodes on the network so that the unit comprising the inner frame is not frame transmission / reception state and can be inactive between the active state for transmission / reception of the handover indication; network presence confirmation unit to confirm the presence of the network processing, which is transmitted using a broadcast network for identifying the presence of said communication node in said network acknowledgment frame memory, receiving a communication node to confirm the presence of the adjacent communication node and the relation of the ports, including the network in response to the frame, generates a network connection status between the communication node connection information; token cyclic order determining unit which using the network connection information, determining the order of token rotation; arrangement processing unit configured processing, which 基于所述令牌循环顺序,向所述网络内的各所述通信节点通知在该通信节点之后的下一个赋予所述发送权的通信节点;以及数据帧通信处理单元,其进行利用令牌帧实现的数据帧发送/接收, 所述线连接管理单元在根据所述网络连接信息识别为所述网络为环结构的情况下,将所述网络内的某个通信节点的某个端口设为无效,以使得所述网络的连接状态不成为环状, 在所述网络存在确认响应帧中包含链路状态,在该链路状态中,将发送该帧的通信节点经由传送路径与其它通信节点可通信地连接的状态设为正常,将没有可通信地连接的状态设为异常, 所述网络存在确认单元从网络存在确认处理执行时本装置的有效的端口,利用广播发送所述网络存在确认帧,利用所得到的所述网络存在确认响应帧生成所述网络连接信息,并且在接收到的全部所述网络 Based on the token cyclic order, a notice given to the communication node after the transmission right of the communication node to each of said communication nodes within the network; and a data frame communication processing unit, the token frame which was implemented data frame transmission / reception, the wire connection management unit in a case where the connection according to the network information identifying the network to a ring structure, a port of a communication node within the network invalidates such that the network connection state is not in an annular presence confirmation response frame in the network link state contained in the link state, the communication node transmits the frame can be other communication node via the transmission path connected to the communication state is normal, there is no state to be connected to the communication abnormality, the presence confirmation unit confirms process network port effective when executing the present apparatus, there is a broadcast network using the transmission frame from the network to confirm the presence of the resultant network using the present frame generated acknowledgment information to the network connection, and all of the received network 在确认响应帧中的所述链路状态为正常的情况下,识别为所述网络为环结构, 在所述数据帧中包含链路状态,在该链路状态中,将发送该帧的通信节点经由传送路径与其它通信节点连接的状态设为正常,将没有连接的状态设为异常, 如果在数据帧发送/接收中,从根据所述网络连接信息而知所述链路状态应为异常的通信节点,接收到所述链路状态变为正常的数据帧,则所述线连接管理单元发送用于将发送了所述数据帧的所述通信节点中原本被无效的端口设为有效的第I端口控制帧,利用在所述第I端口控制帧发送后由所述网络存在确认单元生成的新的网络连接信息,对所述网络内的通信节点的端口的有效/无效进行切换。 In response to the link state acknowledgment frame is a normal case, the network recognizes the ring structure, comprising a link state in the data frame, the link state to transmit the communication frame state of the transmission path via the node to communicate with other nodes connected to the normal state in which no connection to the exception if the data frame transmission / reception, with knowledge of the connection information from the link state is abnormal according to the network should communication node, receiving the link state becomes a normal data frame, the transmission line connection management means for transmitting the communication node of the data frame is originally valid to invalid port the first port control I frame with an acknowledgment generated by the network unit is present after the first I-frame transmission port control information of a new network connection, the communication port of the network node within a valid / invalid switch.
4.根据权利要求3所述的通信管理装置,其特征在于, 所述线连接管理单元在根据所述新的网络连接信息识别为所述网络为环结构的情况下,将发送了所述第I端口控制帧的本装置的端口设为无效,并且向具有被无效的端口的通信节点发送用于将所述被无效的端口设为有效的第2端口控制帧。 The communication management apparatus according to claim 3, characterized in that the line connection management unit in the case where the connection information identified by the network according to the new network for the ring structure, the transmission of the first this port is set to port control apparatus I frame is invalid, and transmits to the communication node has a valid port for the port is set to be invalid effective second port control frame.
5.—种通信管理装置,其对将多个通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理, 其特征在于,具有: 2个端口,其与相邻的所述通信节点经由传送路径连接; 线连接管理单元,其发出使包含本装置在内的所述网络上的通信节点的某个端口在无法进行帧发送/接收的无效状态和可以进行帧发送/接收的有效状态之间进行切换的指示;网络存在确认单元,其进行网络存在确认处理,该处理是利用广播发送用于识别所述网络内存在的所述通信节点的网络存在确认帧,接收包含与所述通信节点相邻的通信节点及其端口的关系在内的网络存在确认响应帧,生成表示所述通信节点之间的连接状态的网络连接信息; 令牌循环顺序确定单元,其使用所述网络连接信息,确定令牌循环顺序; 配置处理单元,其进行配置处理,该处理 5.- kinds of communication management apparatus token passing data within the network of a plurality of communication nodes connected in a ring via a transmission path for the transmission management, characterized by having: two ports, with phase the adjacent communication node is connected via a transmission path; line connection management unit, which emits a port of the communication nodes on the network so that the unit comprising the inner frame is not frame transmission / reception state and can be inactive between the active state for transmission / reception of the handover indication; network presence confirmation unit to confirm the presence of the network processing, which is transmitted using a broadcast network for identifying the presence of said communication node in said network acknowledgment frame memory, receiving a communication node to confirm the presence of the adjacent communication node and the relation of the ports, including the network in response to the frame, generates a network connection status between the communication node connection information; token cyclic order determining unit which using the network connection information, determining the order of token rotation; arrangement processing unit configured processing, which 基于所述令牌循环顺序,向所述网络内的各所述通信节点通知在该通信节点之后的下一个赋予所述发送权的通信节点;以及数据帧通信处理单元,其进行利用令牌帧实现的数据帧发送/接收, 所述线连接管理单元在根据所述网络连接信息识别为所述网络为环结构的情况下,将所述网络内的某个通信节点的某个端口设为无效,以使得所述网络的连接状态不成为环状, 通信管理装置还具有帧监视单元,其对在网络内传递的帧进行监视,对帧风暴状态进行监视,该帧风暴状态是指在令牌帧消失而发生超时后,或者在接收到令牌帧后,仍存在向本装置发送的帧, 如果由所述帧监视单元检测出帧风暴状态,则所述线连接管理单元使所述2个端口之间的帧转发功能停止。 Based on the token cyclic order, a notice given to the communication node after the transmission right of the communication node to each of said communication nodes within the network; and a data frame communication processing unit, the token frame which was implemented data frame transmission / reception, the wire connection management unit in a case where the connection according to the network information identifying the network to a ring structure, a port of a communication node within the network invalidates so that the network connection state is not a ring shape, the communication management apparatus further includes frame monitoring means, which frame is transmitted within the network monitors to monitor the state of the storm frame, the frame in the token state is storm after the disappearance of the frame-out occurs, or after receiving the token frame, there is still a frame transmitted to the present apparatus, if the frame is detected by the frame storm condition monitoring unit, said management unit connected to the line 2 stop frame forwarding between ports.
6.一种数据通信方法,其是通信系统中的通信节点的数据通信方法,该通信系统具有:作为所述通信节点之一的通信管理装置,其对多个所述通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理;以及作为所述网络内的其它通信节点的从属站点,其中,所述通信节点具有2个端口, 该数据通信方法的特征在于,包含下述工序,即; 网络存在确认帧发送工序,在该工序中,所述通信管理装置在用于识别所述网络内存在的所述通信节点的网络存在确认帧中包含发送该帧的端口信息,并通过广播进行发送; 响应工序,在该工序中,所述从属站点如果接收到所述网络存在确认帧,则将包含与本站点相邻的通信节点及其端口的关系在内的网络存在确认响应帧向所述通信管理装置发送,并且对所接收到的所述网络存在确认帧进行转发 A data communication method, data communication method which is a communication node in a communication system, the communication system comprising: a communication management device of said one communication node, the ring of the plurality of communication nodes via the transmission path token passing data within a network formed by connecting shaped transmission management; and the other as the slave station communication nodes within the network, wherein the communication node having two ports, the data communication method wherein , comprising the following steps, namely; network frame transmitting existence confirmation step, in this step, the communication management apparatus to confirm the presence of the communication node in a network for identifying the network in a frame memory included in the transmitted frame including the step response, in this step, the slave station to the network if the received acknowledgment frame is present, the relationship between the site and the adjacent communication node ports will contain; port information, and transmits through the broadcast the network transmits existence confirmation response frame to the communication management apparatus, the network and the acknowledgment frame received is forwarded presence ; 网络连接信息生成工序,在该工序中,所述通信管理装置根据接收到的所述网络存在确认响应帧中的与发送了该帧的从属站点相邻的通信节点及其端口的关系,生成表示所述通信节点之间的连接状态的网络连接信息; 配置工序,在该工序中,所述通信管理装置基于所述网络连接信息,确定令牌循环顺序,将包含下一个赋予发送权的通信节点在内的令牌循环目标信息向所述从属站点通知;以及数据帧发送工序,在该工序中,利用令牌帧进行数据帧的发送, 在所述网络存在确认帧发送工序中,所述通信管理装置在发送所述网络存在确认帧之前,进行将所述网络上的通信节点的某个端口设为无法进行帧发送/接收的无效状态的处理, 所述通信管理装置在所述数据帧发送工序中,检测出所述数据帧在规定时间中没有在所述网络内传递的状态的情况下, ; Network connection information generation step, in this step, the communication management device in response to the presence confirmation frame and transmits the frame to the slave station communication node adjacent to its port relationship according to the received network to generate network connection status between nodes showing the communication connection information; disposing step, in this step, the communication management apparatus based on the network connection information, determining token rotation sequence, the communication comprising the transmission right given to the next node including target token rotation information to the slave station notification; and data frame transmission step, in this step, the token frame transmitted data frame, an acknowledgment frame transmission step in the presence of the network, the the communication management apparatus before transmitting the acknowledgment frame is present network, a communication node to a port on the network can not be processed frame transmission / reception of an invalid state, said communication management means in said data frame transmission step, the data frame is detected in a case where the predetermined time is not passed within the network status, 行从所述网络存在确认帧发送工序至所述网络连接信息生成工序的处理,以生成新的网络连接信息, 该数据通信方法还包含端口无效化工序,在该工序中,所述通信管理装置根据所述新的网络连接信息取得所述2个端口所连接的末端的从属站点,将该从属站点的未连接端口设为无效。 OK acknowledgment frame transmitted from the presence of the step of the network to the network connection processing information generation step, to generate a new network connection information, the data communication method further comprises a step of disabling a port, in this step, the communication management apparatus acquiring the two ports connected to the end of the slave station in accordance with the new network connection information, the connection port of the slave station is not invalidated.
7.根据权利要求6所述的数据通信方法,其特征在于, 在由于所述网络上的从属站点的电源断开,而使得所述数据帧发送工序中成为所述数据帧在规定时间中没有在所述网络内传递的状态的情况下, 在所述端口无效化工序中,所述通信管理装置将经由传送路径与处于电源断开状态的所述从属站点连接的从属站点的端口设为无效。 No time 7. The data communication method according to claim 6, characterized in that the slave station due to power disconnection on the network, so that the data frame transmission step becomes the predetermined data frame port slave station in the case of the slave station within the network transmission state, the port invalidation step, the communication with the management apparatus is in the power off state is connected via a transmission path invalidates .
8.根据权利要求6所述的数据通信方法,其特征在于, 在由于所述网络上的传送路径断线,而使得所述数据帧发送工序中成为所述数据帧在规定时间中没有在所述网络内传递的状态的情况下, 在所述端口无效化工序中,所述通信管理装置将断线的传送路径的两端所连接的从属站点的端口设为无效。 The data frame is not in the predetermined time A data communication method according to claim 6, characterized in that, due to the network transmission path disconnection, and so the data frame transmission step become the said transmission case in a state of the network, the port invalidation step, said communication management apparatus to the slave station port disconnection of both ends of the connected transmission path is invalid.
9.一种数据通信方法,其是通信系统中的通信节点的数据通信方法,该通信系统具有:作为所述通信节点之一的通信管理装置,其对多个所述通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理;以及作为所述网络内的其它通信节点的从属站点,其中,所述通信节点具有2个端口, 该数据通信方法的特征在于,包含下述工序,即; 网络存在确认帧发送工序,在该工序中,所述通信管理装置在用于识别所述网络内存在的所述通信节点的网络存在确认帧中包含发送该帧的端口信息,并通过广播进行发送; 响应工序,在该工序中,所述从属站点如果接收到所述网络存在确认帧,则将包含与本站点相邻的通信节点及其端口的关系在内的网络存在确认响应帧向所述通信管理装置发送,并且对所接收到的所述网络存在确认帧进行转发 A data communication method, which is a data communication method in a communication node in a communication system, the communication system comprising: a communication management device of said one communication node, the ring of the plurality of communication nodes via the transmission path token passing data within a network formed by connecting shaped transmission management; and the other as the slave station communication nodes within the network, wherein the communication node having two ports, the data communication method wherein , comprising the following steps, namely; network frame transmitting existence confirmation step, in this step, the communication management apparatus to confirm the presence of the communication node in a network for identifying the network in a frame memory included in the transmitted frame including the step response, in this step, the slave station to the network if the received acknowledgment frame is present, the relationship between the site and the adjacent communication node ports will contain; port information, and transmits through the broadcast the network transmits existence confirmation response frame to the communication management apparatus, the network and the acknowledgment frame received is forwarded presence ; 网络连接信息生成工序,在该工序中,所述通信管理装置根据接收到的所述网络存在确认响应帧中的与发送了该帧的从属站点相邻的通信节点及其端口的关系,生成表示所述通信节点之间的连接状态的网络连接信息; 配置工序,在该工序中,所述通信管理装置基于所述网络连接信息,确定令牌循环顺序,将包含下一个赋予发送权的通信节点在内的令牌循环目标信息向所述从属站点通知;以及数据帧发送工序,在该工序中,利用令牌帧进行数据帧的发送, 在所述网络存在确认帧发送工序中,所述通信管理装置在发送所述网络存在确认帧之前,进行将所述网络上的通信节点的某个端口设为无法进行帧发送/接收的无效状态的处理, 该数据通信方法还包含链路状态确认工序,在该工序中,所述从属站点确认链路状态,在该链路状态中,将本站点的端 ; Network connection information generation step, in this step, the communication management device in response to the presence confirmation frame and transmits the frame to the slave station communication node adjacent to its port relationship according to the received network to generate network connection status between nodes showing the communication connection information; disposing step, in this step, the communication management apparatus based on the network connection information, determining token rotation sequence, the communication comprising the transmission right given to the next node including target token rotation information to the slave station notification; and data frame transmission step, in this step, the token frame transmitted data frame, an acknowledgment frame transmission step in the presence of the network, the the communication management apparatus transmits acknowledgment frames prior to the present network, a communication node to a port on the network can not be processed frame transmission / reception of an invalid state, the data communication method further comprising link state acknowledgment step, in this step, the slave station to confirm the link state, the link state, the end of the site 可通信地与其它通信节点连接的状态设为正常,将没有可通信地进行连接的状态设为异常, 在所述响应工序中,所述从属站点将直至发送所述网络存在确认响应帧为止的期间内确认到的所述链路状态,包含在所述网络存在确认响应帧中而进行发送, 在所述网络连接信息生成工序中,所述通信管理装置在从全部从属站点接收到的所述网络存在确认响应帧中的所述链路状态为正常的情况下,识别为所述网络为环结构, 在所述数据帧发送工序中,所述从属站点将直至发送数据帧为止的期间内确认到的所述链路状态,包含在所述数据帧中而进行发送, 该数据通信方法包含下述工序,即: 第I端口控制工序,在该工序中,如果在数据帧发送/接收中,所述通信管理装置从根据所述网络连接信息而知所述链路状态应为正常的通信节点,接收到所述链路状态变为 State of the communication may be connected to other communication nodes is defined as normal, no communication will be set to a state of connection abnormality in the response step, until the slave station to transmit the network existence confirmation response frame until the period to confirm the link state, comprising the presence confirmation response frame is transmitted, the connection information generation step in said network in said network, said communication management apparatus is received from the slave station to all network presence confirmation response frame in the link state is the normal case, the identification of the structure of a ring network, the data frame transmission step, until the slave station transmits an acknowledgment to the period until the data frame to the link state, contained in the data frame and transmitted, the data communication method comprising the following steps, namely: a first port control step I, in this step, if the data frame transmission / reception, the communication management apparatus to be a normal communication node, receiving from said link connection information with knowledge of the network according to the state of the link becomes 常的数据帧,则发送第I端口控制帧,该第I端口控制帧用于使发送了所述数据帧的所述通信节点的链路状态为异常的端口设为无效; 端口切换工序,在该工序中,所述通信管理装置进行本装置的端口切换,以生成用于取得与异常的端口相邻的另一通信节点的网络连接信息;以及第2端口控制工序,在该工序中,所述通信管理装置发送第2端口控制帧,该第2端口控制帧用于将在所述端口切换工序之后生成的所述网络连接信息中处于末端的通信节点的未连接状态的端口设为无效。 Normal data frame, the transmission of I frame control port, a control port of the first I-frame for the transmission of the data frame communication node link state invalidates port is abnormal; port switching step, in in this step, the communication management port switching means of the apparatus, to generate information for network connection port adjacent to another communication node acquires the abnormality; and a second port control step, in this step, the said communication management device transmits the control frame to the second port, the second port for the network control frame generated after the step of connecting the port to port switch information unconnected state of the end of the communication node is invalid.
10.—种数据通信方法,其是通信系统中的通信节点的数据通信方法,该通信系统具有:作为所述通信节点之一的通信管理装置,其对多个所述通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理;以及作为所述网络内的其它通信节点的从属站点,其中,所述通信节点具有2个端口, 该数据通信方法的特征在于,包含下述工序,即; 网络存在确认帧发送工序,在该工序中,所述通信管理装置在用于识别所述网络内存在的所述通信节点的网络存在确认帧中包含发送该帧的端口信息,并通过广播进行发送; 响应工序,在该工序中,所述从属站点如果接收到所述网络存在确认帧,则将包含与本站点相邻的通信节点及其端口的关系在内的网络存在确认响应帧向所述通信管理装置发送,并且对所接收到的所述网络存在确认帧进行转 10.- kinds of data communication method, data communication method which is a communication node in a communication system, the communication system comprising: a communication management device of said one communication node, the ring of the plurality of communication nodes via the transmission path token passing data within a network formed by connecting shaped transmission management; and the other as the slave station communication nodes within the network, wherein the communication node having two ports, the data communication method wherein , comprising the following steps, namely; network frame transmitting existence confirmation step, in this step, the communication management apparatus to confirm the presence of the communication node in a network for identifying the network in a frame memory included in the transmitted frame including the step response, in this step, the slave station to the network if the received acknowledgment frame is present, the relationship between the site and the adjacent communication node ports will contain; port information, and transmits through the broadcast the network transmits existence confirmation response frame to the communication management apparatus, the network and the acknowledgment frame received presence of revolutions ; 网络连接信息生成工序,在该工序中,所述通信管理装置根据接收到的所述网络存在确认响应帧中的与发送了该帧的从属站点相邻的通信节点及其端口的关系,生成表示所述通信节点之间的连接状态的网络连接信息; 配置工序,在该工序中,所述通信管理装置基于所述网络连接信息,确定令牌循环顺序,将包含下一个赋予发送权的通信节点在内的令牌循环目标信息向所述从属站点通知;以及数据帧发送工序,在该工序中,利用令牌帧进行数据帧的发送, 在所述网络存在确认帧发送工序中,所述通信管理装置在发送所述网络存在确认帧之前,进行将所述网络上的通信节点的某个端口设为无法进行帧发送/接收的无效状态的处理, 该数据通信方法还包含链路状态确认工序,在该工序中,所述从属站点确认链路状态,在该链路状态中,将本站点的端 ; Network connection information generation step, in this step, the communication management device in response to the presence confirmation frame and transmits the frame to the slave station communication node adjacent to its port relationship according to the received network to generate network connection status between nodes showing the communication connection information; disposing step, in this step, the communication management apparatus based on the network connection information, determining token rotation sequence, the communication comprising the transmission right given to the next node including target token rotation information to the slave station notification; and data frame transmission step, in this step, the token frame transmitted data frame, an acknowledgment frame transmission step in the presence of the network, the the communication management apparatus transmits acknowledgment frames prior to the present network, a communication node to a port on the network can not be processed frame transmission / reception of an invalid state, the data communication method further comprising link state acknowledgment step, in this step, the slave station to confirm the link state, the link state, the end of the site 可通信地与其它通信节点连接的状态设为正常,将没有可通信地进行连接的状态设为异常, 在所述响应工序中,所述从属站点将直至发送所述网络存在确认响应帧为止的期间内确认到的所述链路状态,包含在所述网络存在确认响应帧中而进行发送, 在所述网络连接信息生成工序中,所述通信管理装置在从全部从属站点接收到的所述网络存在确认响应帧中的所述链路状态为正常的情况下,识别为所述网络为环结构, 所述通信管理装置在所述数据帧发送工序中,检测出所述数据帧在规定时间中没有在所述网络内传递的状态的情况下,进行从所述网络存在确认帧发送工序至所述网络连接信息生成工序的处理,以生成新的网络连接信息, 该数据通信方法还包含端口无效化工序,在该工序中,所述通信管理装置根据所述新的网络连接信息取得所述2个端口 State of the communication may be connected to other communication nodes is defined as normal, no communication will be set to a state of connection abnormality in the response step, until the slave station to transmit the network existence confirmation response frame until the period to confirm the link state, comprising the presence confirmation response frame is transmitted, the connection information generation step in said network in said network, said communication management apparatus is received from the slave station to all network presence confirmation response frame in the link state is the normal case, the identification of the structure of a ring network, in the data transmission of the communication management apparatus frame step, the data frame is detected at a predetermined time the state is not transferred within the network, the presence confirmation frame transmitted from the network to the network connection processing step information generation step to generate a new network connection information, the method further comprises a data communication port invalidating step, in this step, the communication management apparatus coupling information acquisition of the two-port network according to the new 所连接的末端的从属站点,将该从属站点的未连接端口设为无效。 End of the slave station is connected, the port is not connected to the slave station is invalidated.
11.根据权利要求10所述的数据通信方法,其特征在于, 在由于所述网络上的从属站点的电源断开,而使得所述数据帧发送工序中成为所述数据帧在规定时间中没有在所述网络内传递的状态的情况下, 在所述端口无效化工序中,所述通信管理装置将经由传送路径与处于电源断开状态的所述从属站点连接的从属站点的端口设为无效。 No time 11. The data communication method according to claim 10, characterized in that the slave station due to power disconnection on the network, so that the data frame transmission step becomes the predetermined data frame port slave station in the case of the slave station within the network transmission state, the port invalidation step, the communication with the management apparatus is in the power off state is connected via a transmission path invalidates .
12.根据权利要求10所述的数据通信方法,其特征在于, 在由于所述网络上的传送路径断线,而使得所述数据帧发送工序中成为所述数据帧在规定时间中没有在所述网络内传递的状态的情况下, 在所述端口无效化工序中,所述通信管理装置将断线的传送路径的两端所连接的从属站点的端口设为无效。 12. The data communication method according to claim 10, characterized in that, due to the network transmission path disconnection, and so the data frame transmission step, a predetermined time of the data frame is not in the said transmission case in a state of the network, the port invalidation step, said communication management apparatus to the slave station port disconnection of both ends of the connected transmission path is invalid.
13.—种数据通信方法,其是通信系统中的通信节点的数据通信方法,该通信系统具有:作为所述通信节点之一的通信管理装置,其对多个所述通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理;以及作为所述网络内的其它通信节点的从属站点,其中,所述通信节点具有2个端口, 该数据通信方法的特征在于,包含下述工序,即; 网络存在确认帧发送工序,在该工序中,所述通信管理装置在用于识别所述网络内存在的所述通信节点的网络存在确认帧中包含发送该帧的端口信息,并通过广播进行发送; 响应工序,在该工序中,所述从属站点如果接收到所述网络存在确认帧,则将包含与本站点相邻的通信节点及其端口的关系在内的网络存在确认响应帧向所述通信管理装置发送,并且对所接收到的所述网络存在确认帧进行转 13.- kinds of data communication method, data communication method which is a communication node in a communication system, the communication system comprising: a communication management device of said one communication node, the ring of the plurality of communication nodes via the transmission path token passing data within a network formed by connecting shaped transmission management; and the other as the slave station communication nodes within the network, wherein the communication node having two ports, the data communication method wherein , comprising the following steps, namely; network frame transmitting existence confirmation step, in this step, the communication management apparatus to confirm the presence of the communication node in a network for identifying the network in a frame memory included in the transmitted frame including the step response, in this step, the slave station to the network if the received acknowledgment frame is present, the relationship between the site and the adjacent communication node ports will contain; port information, and transmits through the broadcast the network transmits existence confirmation response frame to the communication management apparatus, the network and the acknowledgment frame received presence of revolutions ; 网络连接信息生成工序,在该工序中,所述通信管理装置根据接收到的所述网络存在确认响应帧中的与发送了该帧的从属站点相邻的通信节点及其端口的关系,生成表示所述通信节点之间的连接状态的网络连接信息; 配置工序,在该工序中,所述通信管理装置基于所述网络连接信息,确定令牌循环顺序,将包含下一个赋予发送权的通信节点在内的令牌循环目标信息向所述从属站点通知;以及数据帧发送工序,在该工序中,利用令牌帧进行数据帧的发送, 在所述网络存在确认帧发送工序中,所述通信管理装置在发送所述网络存在确认帧之前,进行将所述网络上的通信节点的某个端口设为无法进行帧发送/接收的无效状态的处理, 该数据通信方法还包含链路状态确认工序,在该工序中,所述从属站点确认链路状态,在该链路状态中,将本站点的端 ; Network connection information generation step, in this step, the communication management device in response to the presence confirmation frame and transmits the frame to the slave station communication node adjacent to its port relationship according to the received network to generate network connection status between nodes showing the communication connection information; disposing step, in this step, the communication management apparatus based on the network connection information, determining token rotation sequence, the communication comprising the transmission right given to the next node including target token rotation information to the slave station notification; and data frame transmission step, in this step, the token frame transmitted data frame, an acknowledgment frame transmission step in the presence of the network, the the communication management apparatus transmits acknowledgment frames prior to the present network, a communication node to a port on the network can not be processed frame transmission / reception of an invalid state, the data communication method further comprising link state acknowledgment step, in this step, the slave station to confirm the link state, the link state, the end of the site 可通信地与其它通信节点连接的状态设为正常,将没有可通信地进行连接的状态设为异常, 在所述响应工序中,所述从属站点将直至发送所述网络存在确认响应帧为止的期间内确认到的所述链路状态,包含在所述网络存在确认响应帧中而进行发送, 在所述网络连接信息生成工序中,所述通信管理装置在从全部从属站点接收到的所述网络存在确认响应帧中的所述链路状态为正常的情况下,识别为所述网络为环结构, 在所述数据帧发送工序中,所述从属站点将直至发送数据帧为止的期间内确认到的所述链路状态,包含在所述数据帧中而进行发送, 该数据通信方法包含下述工序,即: 第I端口控制工序,在该工序中,如果在数据帧发送/接收中,所述通信管理装置从根据所述网络连接信息而知所述链路状态应为正常的通信节点,接收到所述链路状态变为 State of the communication may be connected to other communication nodes is defined as normal, no communication will be set to a state of connection abnormality in the response step, until the slave station to transmit the network existence confirmation response frame until the period to confirm the link state, comprising the presence confirmation response frame is transmitted, the connection information generation step in said network in said network, said communication management apparatus is received from the slave station to all network presence confirmation response frame in the link state is the normal case, the identification of the structure of a ring network, the data frame transmission step, until the slave station transmits an acknowledgment to the period until the data frame to the link state, contained in the data frame and transmitted, the data communication method comprising the following steps, namely: a first port control step I, in this step, if the data frame transmission / reception, the communication management apparatus to be a normal communication node, receiving from said link connection information with knowledge of the network according to the state of the link becomes 异常的数据帧,则发送第I端口控制帧,该第I端口控制帧用于使发送了所述数据帧的所述通信节点的链路状态变为正常的端口设为有效;以及第2端口控制工序,在该工序中,所述通信管理装置利用所述第I端口控制工序之后生成的新的网络连接信息,对所述网络内的通信节点的端口的有效/无效进行切换。 Abnormal data frame, the transmission of I frame control port, a control port of the first I-frame for the transmission of link state of the communication node of the data frame to a normal to the active port; and a second port control step, in this step, after said communication management device by using the I-port control step generates a new network connection information, the communication port of the network node within a valid / invalid switch.
14.根据权利要求13所述的数据通信方法,其特征在于, 在所述第I端口控制工序之后的所述网络连接信息生成工序中,所述网络管理装置根据所述新的网络连接信息识别为所述网络为环结构的情况下, 在所述第2端口控制工序中,所述通信管理装置将发送了所述第I端口控制帧的本装置的端口设为无效,并且向具有至此为止原本被无效的端口的通信节点发送用于将所述被无效的端口设为有效的第2端口控制帧。 14. The data communication method according to claim 13, wherein the step of generating the connection information in the network after the first I-port control step, the network management apparatus coupling information identifying according to the new network for the case where the network is a ring structure, the second port in the control step, the communication management apparatus transmits a port to the device port of the I-frame control is invalid, and to have so far originally invalidated communication node ports for transmitting the port is set to be invalid effective second port control frame.
15.—种数据通信方法,其是通信系统中的通信节点的数据通信方法,该通信系统具有:作为所述通信节点之一的通信管理装置,其对多个所述通信节点经由传送路径环状连接而成的网络内的令牌传递方式的数据发送进行管理;以及作为所述网络内的其它通信节点的从属站点,其中,所述通信节点具有2个端口, 该数据通信方法的特征在于,包含下述工序,即; 网络存在确认帧发送工序,在该工序中,所述通信管理装置在用于识别所述网络内存在的所述通信节点的网络存在确认帧中包含发送该帧的端口信息,并通过广播进行发送; 响应工序,在该工序中,所述从属站点如果接收到所述网络存在确认帧,则将包含与本站点相邻的通信节点及其端口的关系在内的网络存在确认响应帧向所述通信管理装置发送,并且对所接收到的所述网络存在确认帧进行转 15.- kinds of data communication method, data communication method which is a communication node in a communication system, the communication system comprising: a communication management device of said one communication node, the ring of the plurality of communication nodes via the transmission path token passing data within a network formed by connecting shaped transmission management; and the other as the slave station communication nodes within the network, wherein the communication node having two ports, the data communication method wherein , comprising the following steps, namely; network frame transmitting existence confirmation step, in this step, the communication management apparatus to confirm the presence of the communication node in a network for identifying the network in a frame memory included in the transmitted frame including the step response, in this step, the slave station to the network if the received acknowledgment frame is present, the relationship between the site and the adjacent communication node ports will contain; port information, and transmits through the broadcast the network transmits existence confirmation response frame to the communication management apparatus, the network and the acknowledgment frame received presence of revolutions ; 网络连接信息生成工序,在该工序中,所述通信管理装置根据接收到的所述网络存在确认响应帧中的与发送了该帧的从属站点相邻的通信节点及其端口的关系,生成表示所述通信节点之间的连接状态的网络连接信息; 配置工序,在该工序中,所述通信管理装置基于所述网络连接信息,确定令牌循环顺序,将包含下一个赋予发送权的通信节点在内的令牌循环目标信息向所述从属站点通知;以及数据帧发送工序,在该工序中,利用令牌帧进行数据帧的发送, 在所述网络存在确认帧发送工序中,所述通信管理装置在发送所述网络存在确认帧之前,进行将所述网络上的通信节点的某个端口设为无法进行帧发送/接收的无效状态的处理, 该数据通信方法还包含下述工序,即: 帧监视工序,在该工序中,对在网络内传递的帧进行监视,对帧风暴状态进行监 ; Network connection information generation step, in this step, the communication management device in response to the presence confirmation frame and transmits the frame to the slave station communication node adjacent to its port relationship according to the received network to generate network connection status between nodes showing the communication connection information; disposing step, in this step, the communication management apparatus based on the network connection information, determining token rotation sequence, the communication comprising the transmission right given to the next node including target token rotation information to the slave station notification; and data frame transmission step, in this step, the token frame transmitted data frame, an acknowledgment frame transmission step in the presence of the network, the the communication management apparatus transmits acknowledgment frames prior to the present network, a communication node to a port on the network can not be processed frame transmission / reception of an invalid state, the data communication method further comprising the step, that is: frame monitoring step, in this step, the frame transmitted in the network monitoring, state monitoring of the frame storm ,该帧风暴状态是指在令牌帧消失而发生超时后,或者在接收到令牌帧后,仍存在向本装置发送的帧;以及转发停止工序,在该工序中,在所述帧监视工序中检测出帧风暴状态的情况下,所述通信管理装置使本装置的所述2个端口之间的帧转发功能停止。 , The frame means and the state after the storm timeout occurs, or after receiving the token frame, there is still a frame transmitted in the token frame to the disappearance of the present apparatus; and a transmission stop step of, in this step, the frame monitoring a case where the step of detecting a frame storm condition, the communication managing apparatus according to the present apparatus the frame forwarding between the two ports is stopped.
CN201310050693.0A 2009-06-12 2009-06-12 Communication management apparatus and a data communication method CN103139034B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310050693.0A CN103139034B (en) 2009-06-12 2009-06-12 Communication management apparatus and a data communication method
CN200980159835.92009.06.12 2009-06-12

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310050693.0A CN103139034B (en) 2009-06-12 2009-06-12 Communication management apparatus and a data communication method

Publications (2)

Publication Number Publication Date
CN103139034A CN103139034A (en) 2013-06-05
CN103139034B true CN103139034B (en) 2016-08-03

Family

ID=48498368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310050693.0A CN103139034B (en) 2009-06-12 2009-06-12 Communication management apparatus and a data communication method

Country Status (1)

Country Link
CN (1) CN103139034B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107409078B (en) * 2015-08-19 2018-08-28 三菱电机株式会社 Wireless master station, the slave station wireless radio communication system and radio communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156801A (en) * 1999-11-30 2001-06-08 Omron Corp Management station, node, and processing method for node
CN1691615A (en) * 2004-04-27 2005-11-02 华为技术有限公司 Method for detecting operating state of default gateway and apparatus therefor
CN1964307A (en) * 2005-11-07 2007-05-16 株式会社日立制作所 Transfer path system and frame transfer device in same system, transfer path handover method and system
WO2008001420A1 (en) * 2006-06-26 2008-01-03 Mitsubishi Electric Corporation Communication node and token issuing method and token ring communication method in ring-shaped communication system
CN101395858A (en) * 2006-03-28 2009-03-25 日本电信电话株式会社 Ring-shaped redundant communication path control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001156801A (en) * 1999-11-30 2001-06-08 Omron Corp Management station, node, and processing method for node
CN1691615A (en) * 2004-04-27 2005-11-02 华为技术有限公司 Method for detecting operating state of default gateway and apparatus therefor
CN1964307A (en) * 2005-11-07 2007-05-16 株式会社日立制作所 Transfer path system and frame transfer device in same system, transfer path handover method and system
CN101395858A (en) * 2006-03-28 2009-03-25 日本电信电话株式会社 Ring-shaped redundant communication path control method
WO2008001420A1 (en) * 2006-06-26 2008-01-03 Mitsubishi Electric Corporation Communication node and token issuing method and token ring communication method in ring-shaped communication system

Also Published As

Publication number Publication date
CN103139034A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US7944815B2 (en) System and method for network recovery from multiple link failures
JP4681049B2 (en) Method and apparatus for fault handling in the network
US6765877B1 (en) System and method for detecting unidirectional links
JP4739141B2 (en) Ring network and a master node
US7599315B2 (en) Topology discovery in a dual ring network
CN102144382B (en) A redundant server automatic failover method and system
US20040103179A1 (en) Topology management of dual ring network
JP2006245849A (en) Communication apparatus
JP2003218912A (en) Path fault recovery system and switch-back system after fault restoration, and node using them
CN102171973A (en) Redundant intermediary switch solution for detecting and managing fibre channel over Ethernet (FCOE) switch failures
US7697440B2 (en) Scalable selective alarm suppression for data communication network
CN102884807B (en) Communication line switching method, communication apparatus, station-side communication apparatus, communication system, and control device
CN101022390B (en) Method, system and equipment for protecting double-return switch-in RRPP loop network
JP5073812B2 (en) How to detect a failure based on the distributed ethernet system and the system
JP5140735B2 (en) Fault processing method based on industry Ethernet network, the system, and switching device
CN101001192B (en) Method, system and equipment for protecting ring network link
JP2002026909A (en) Channel multiplexing method and information repeater
CN101252500B (en) Intersect looped network, node and realizing method of random topology intersect looped network
CN105430837A (en) Method And Apparatus For Replacing A Device In A Network
JP2005130049A (en) Node
CN101999224A (en) Redundant Ethernet automatic protection switching access to virtual private lan services
CN101087207B (en) A processing method for multi-node communication failure
JP2009105690A (en) Layer-2 redundancy protocol interconnection device
JP4074631B2 (en) Transmission line systems, and a frame transmission apparatus in the system, and transmission line switching method
CN102804699A (en) Method and system for implementing redundant network interface modules in a distributed I/O system

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model