JPH11252143A - Data transmission system and its device - Google Patents

Data transmission system and its device

Info

Publication number
JPH11252143A
JPH11252143A JP5392998A JP5392998A JPH11252143A JP H11252143 A JPH11252143 A JP H11252143A JP 5392998 A JP5392998 A JP 5392998A JP 5392998 A JP5392998 A JP 5392998A JP H11252143 A JPH11252143 A JP H11252143A
Authority
JP
Japan
Prior art keywords
node
common memory
data
overlapping
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5392998A
Other languages
Japanese (ja)
Inventor
Koichi Nakagawa
浩一 中川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP5392998A priority Critical patent/JPH11252143A/en
Publication of JPH11252143A publication Critical patent/JPH11252143A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To ensure security and identity of data even when reception of broadcast communication data is not sufficient by communication abnormality, etc. SOLUTION: In this data transmission method, upon the receipt of a token by a certain node 1, it is confirmed that all duplicate area right flags Fk are OFF, its own duplicate area right flag Fk is set to an on-state, data are written in a duplicate write area M of a common memory CM, and a transmission signal of data contents is sent to a transmission line 3 through broadcast communication. Upon the receipt of the token by other node, when only one of the duplicate area right flags Fk is ON, the common memory CM of its own node is updated, an updated discrimination flag Fd for its own node is set to the on-state. When the certain node receives the token and two of the duplicate area right flags Fk or more are in ON states, ON state of the duplicate area right flag Fk of its own is cleared into OFF state and the duplicate write processing of other node is processed by priority.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のノードがリ
ング状の伝送路を介して互いに接続され、1つのノード
から伝送路に送信されたトークンが伝送路を介して各ノ
ードに順次伝送されるトークン巡回型のデータ伝送方法
および装置に関し、特に制御システムに使用されるトー
クン巡回型LANの同報通信に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a plurality of nodes connected to each other via a ring-shaped transmission line, and a token transmitted from one node to the transmission line is sequentially transmitted to each node via the transmission line. More particularly, the present invention relates to a token circulation type data transmission method and apparatus, and more particularly, to a token circulation type LAN broadcast used in a control system.

【0002】[0002]

【従来の技術】この種のデータ伝送装置は、例えば特開
平8−84155号に記載されているように、各ノード
がそれぞれ共通情報を書き込むためのコモンメモリを有
し、このコモンメモリの重複書き込み領域へのデータ書
き込み時の排他制御を司る重複領域権利フラグと同報通
信の受信を判別するための更新済判別フラグを使用し
て、コモンメモリの同一性を保証している。
2. Description of the Related Art In this type of data transmission apparatus, as described in, for example, Japanese Patent Application Laid-Open No. 8-84155, each node has a common memory for writing common information. The identity of the common memory is assured by using an overlapping area right flag for exclusive control when writing data to the area and an updated determination flag for determining the reception of the broadcast communication.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のデータ
伝送装置において、コモンメモリの重複書き込み領域に
対して複数のノードから同時にデータ書き込みを行う
と、データの同一性が失われ、重大なトラブルが発生す
ることになる。
In the above-described conventional data transmission apparatus, if data is simultaneously written from a plurality of nodes to the overlapped write area of the common memory, data identity is lost and serious trouble occurs. Will happen.

【0004】具体的には、あるノードがコモンメモリの
重複書き込み領域にデータを書き込んで送信した同報デ
ータを通信異常等の何等かの理由により他のノードで正
常に受信できなかった場合において該他のノードがコモ
ンメモリの重複書き込み領域へのデータ書き込み処理を
実行した場合には、前記データ書き込み時の排他制御を
司る重複領域権利フラグが重複し、コモンメモリの重複
書き込み領域のデータの同一性が失われる恐れがあると
いう問題がある。
[0004] Specifically, when a certain node fails to normally receive broadcast data transmitted by writing data in an overlapping write area of the common memory by another node for some reason such as a communication error. When another node executes the data write processing to the overlap write area of the common memory, the overlap area right flag that controls the exclusive control at the time of the data write overlaps, and the identity of the data of the overlap write area of the common memory overlaps. There is a problem that may be lost.

【0005】本発明は、上記に鑑みてなされたもので、
その目的とするところは、通信異常等で同報データの受
信が万全でない場合でもデータの安全性および同一性を
保証し得るデータ伝送方法および装置を提供することに
ある。
[0005] The present invention has been made in view of the above,
An object of the present invention is to provide a data transmission method and apparatus capable of guaranteeing data security and identity even when reception of broadcast data is not perfect due to a communication error or the like.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の本発明は、複数のノードがリング状
の伝送路を介して互いに接続され、1つのノードから伝
送路に送信されたトークンが伝送路を介して各ノードに
順次伝送されるトークン巡回型のデータ伝送方法であっ
て、すべてのノードから重複的に情報を書き込むことが
できる重複書き込み領域、各ノードに対応してそれぞれ
設けられ、各々が対応するノードのみによって情報を書
き込まれる複数のノード対応専用書き込み領域、および
各ノードに対応する前記ノード対応専用書き込み領域の
各々に設けられ、対応する各ノードが前記重複書き込み
領域を使用していることを示す重複領域権利フラグおよ
び対応する各ノードの前記重複書き込み領域が更新済み
であることを示す更新済判別フラグが書き込まれるフラ
グ書き込み領域を有するコモンメモリを各ノードに設
け、各ノードのうちあるノードは、該コモンメモリの前
記重複書き込み領域にデータを書き込んで各ノードに伝
送するために、前記トークンを受信した場合、前記コモ
ンメモリ内のすべての重複領域権利フラグがオフである
ことを確認し、自ノードに割り当てられた重複領域権利
フラグをオン状態に設定してから、コモンメモリの重複
書き込み領域にデータを書き込み、このデータの書き込
まれたコモンメモリの内容を有する伝送信号を同報通信
により伝送路に送信し、各ノードのうち他のノードは、
前記トークンを受信した場合において、コモンメモリ内
の自ノード以外のノードに対応する重複領域権利フラグ
が1つだけオンであるとき、該ノードにより書き込まれ
た内容で自ノードのコモンメモリを更新し、該コモンメ
モリ内の自ノードに割り当てられた更新済判別フラグを
オン状態に設定し、前記あるノードは、前記トークンを
受信した場合において、前記コモンメモリ内の重複領域
権利フラグが自ノードに割り当てられた重複領域権利フ
ラグを含んで2つ以上オン状態にあるとき、他ノードの
重複書き込み処理を優先処理させるために自ノードに割
り当てられた重複領域権利フラグをオフ状態に解除し、
前記トークンを受信した場合において、前記コモンメモ
リ内の自ノードに割り当てられた重複領域権利フラグの
みがオン状態であり、当該コモンメモリ内のすべての更
新済判別フラグがオンであることを確認したとき、自ノ
ードの重複領域権利フラグをオフ状態にリセットするこ
とを要旨とする。
In order to achieve the above object, according to the present invention, a plurality of nodes are connected to each other via a ring-shaped transmission line, and a plurality of nodes are transmitted from one node to the transmission line. Is a token circulation type data transmission method in which tokens are sequentially transmitted to each node via a transmission path, and an overlapping writing area in which information can be redundantly written from all nodes. A plurality of node-dedicated write areas, each of which is written with information only by a corresponding node, and the node-dedicated write area corresponding to each node. An overlap area right flag indicating that the area is in use and an update indicating that the overlap write area of each corresponding node has been updated. A common memory having a flag writing area in which a completion determination flag is written is provided in each node, and one of the nodes writes the token to the duplicate writing area of the common memory and transmits the data to each node. Is received, it is confirmed that all the overlapping area right flags in the common memory are off, the overlapping area right flag assigned to the own node is set to the on state, and then the overlapping writing area of the common memory is set. And transmits a transmission signal having the content of the common memory in which the data is written to the transmission path by broadcast communication.
In the case where the token is received, when only one overlapping area right flag corresponding to a node other than the own node in the common memory is ON, the common memory of the own node is updated with the content written by the node, The updated determination flag assigned to the own node in the common memory is set to the ON state, and the certain node receives the token, and the overlapping area right flag in the common memory is assigned to the own node. When two or more are in the ON state including the overlapped area right flag, the overlapped area right flag assigned to the own node is released to the OFF state in order to give priority to the overlapped write processing of another node,
When the token is received, when it is confirmed that only the overlapping area right flag assigned to the own node in the common memory is in the ON state and all updated determination flags in the common memory are ON. The gist of the present invention is to reset the overlapping area right flag of the own node to the off state.

【0007】請求項1記載の本発明にあっては、あるノ
ードがトークンを受信すると、すべての重複領域権利フ
ラグがオフであることを確認し、自ノード用の重複領域
権利フラグをオン状態に設定してから、コモンメモリの
重複書き込み領域にデータを書き込み、このデータ内容
の伝送信号を同報通信により伝送路に送信し、他のノー
ドはトークンを受信した場合において、重複領域権利フ
ラグが1つだけオンであるとき、自ノードのコモンメモ
リを更新し、自ノード用の更新済判別フラグをオン状態
に設定し、あるノードはトークンを受信した場合におい
て、重複領域権利フラグが自ノード用の重複領域権利フ
ラグを含んで2つ以上オン状態にあるとき、他ノードの
重複書き込み処理を優先処理させるために自ノードに割
り当てられた重複領域権利フラグをオフ状態に解除し、
またトークンを受信した場合において、自ノード用の重
複領域権利フラグのみがオン状態であり、すべての更新
済判別フラグがオンであることを確認したとき、自ノー
ドの重複領域権利フラグをオフ状態にリセットするた
め、通信異常等により重複領域権利フラグが重複して設
定された場合でも重複書き込み領域へのデータの同一性
および安全性を確保することができる。
According to the first aspect of the present invention, when a certain node receives a token, it confirms that all overlapping area right flags are off, and turns on the overlapping area right flag for its own node. After the setting, the data is written to the overlapping writing area of the common memory, a transmission signal of this data content is transmitted to the transmission line by broadcasting, and when the other node receives the token, the overlapping area right flag is set to 1 When only one is on, the common memory of the own node is updated, the updated determination flag for the own node is set to an on state, and when a node receives a token, the overlapping area right flag is When two or more are in the ON state including the overlap area right flag, the overlap assigned to the own node to give priority to the overlap write processing of another node To release the pass right flag to the off state,
When it is confirmed that only the overlapping area right flag for the own node is on and all the updated determination flags are on when the token is received, the overlapping area right flag of the own node is turned off. Since the resetting is performed, the identity and security of data in the overlapping writing area can be ensured even when the overlapping area right flag is set repeatedly due to a communication error or the like.

【0008】また、請求項2記載の本発明は、請求項1
記載の発明において、前記あるノードが、自ノードに割
り当てられた重複領域権利フラグをオフ状態に解除した
後、データ書き込みの待ち状態に移行し、所定時間経過
後、再度コモンメモリの前記重複書き込み領域にデータ
を書き込んで各ノードに伝送するために、前記トークン
を受信した場合、前記コモンメモリ内のすべての重複領
域権利フラグがオフであることを再確認し、自ノードに
割り当てられた重複領域権利フラグをオン状態に設定し
てから、コモンメモリの重複書き込み領域にデータを書
き込み、このデータの書き込まれたコモンメモリの内容
を有する伝送信号を同報通信により伝送路に送信するこ
とを要旨とする。
[0008] The present invention according to claim 2 is based on claim 1.
In the invention described in the above, after the certain node releases an overlapping area right flag assigned to the own node to an off state, the node shifts to a data writing waiting state, and after a predetermined time elapses, the overlapping writing area of the common memory is again returned. When the token is received in order to write data to the node and transmit it to each node, reconfirm that all the overlapping area right flags in the common memory are off, and repeat the overlapping area right assigned to the own node. After setting the flag to the ON state, the data is written to the overlapping write area of the common memory, and the transmission signal having the content of the common memory to which the data is written is transmitted to the transmission path by broadcast. .

【0009】請求項2記載の本発明にあっては、あるノ
ードが自ノードに割り当てられた重複領域権利フラグを
オフ状態に解除した後、データ書き込みの待ち状態に移
行し、所定時間経過後、再度コモンメモリの重複書き込
み領域へのデータを書き込み伝送処理を行うため、処理
が滞ったり、データの同一性を失うことがない。
According to the second aspect of the present invention, after a certain node releases the overlapping area right flag assigned to the own node to the off state, the node shifts to a data writing waiting state, and after a predetermined time elapses, Since the data is written to the overlapping write area of the common memory again and the transmission processing is performed, the processing is not interrupted and the data does not lose its identity.

【0010】更に、請求項3記載の本発明は、複数のノ
ードがリング状の伝送路を介して互いに接続され、1つ
のノードから伝送路に送信されたトークンが伝送路を介
して各ノードに順次伝送されるトークン巡回型のデータ
伝送装置であって、各ノードが、すべてのノードから重
複的に情報を書き込むことができる重複書き込み領域、
各ノードに対応してそれぞれ設けられ、各々が対応する
ノードのみによって情報を書き込まれる複数のノード対
応専用書き込み領域、および各ノードに対応する前記ノ
ード対応専用書き込み領域の各々に設けられ、対応する
各ノードが前記重複書き込み領域を使用していることを
示す重複領域権利フラグおよび対応する各ノードの前記
重複書き込み領域が更新済みであることを示す更新済判
別フラグが書き込まれるフラグ書き込み領域を有するコ
モンメモリと、該コモンメモリの前記重複書き込み領域
にデータを書き込んで各ノードに伝送するために、前記
トークンを受信した場合、前記コモンメモリ内のすべて
の重複領域権利フラグがオフであることを確認し、自ノ
ードに割り当てられた重複領域権利フラグをオン状態に
設定してから、コモンメモリの重複書き込み領域にデー
タを書き込み、このデータの書き込まれたコモンメモリ
の内容を有する伝送信号を同報通信により伝送路に送信
するデータ書き込み送信手段と、前記トークンを受信し
た場合において、コモンメモリ内の他のノードに対応す
る重複領域権利フラグが1つだけオンであるとき、他の
ノードのデータ書き込み送信手段により書き込まれた内
容で自ノードのコモンメモリを更新し、該コモンメモリ
内の自ノードに割り当てられた更新済判別フラグをオン
状態に設定する更新済設定手段と、前記トークンを受信
した場合において、前記コモンメモリ内の重複領域権利
フラグが自ノードに割り当てられた重複領域権利フラグ
を含んで2つ以上オン状態にあるとき、他ノードの重複
書き込み処理を優先処理させるために自ノードに割り当
てられた重複領域権利フラグをオフ状態に解除する他ノ
ード優先処理手段と、前記トークンを受信した場合にお
いて、前記コモンメモリ内の自ノードに割り当てられた
重複領域権利フラグのみがオン状態であり、当該コモン
メモリ内のすべての更新済判別フラグがオンであること
を確認したとき、自ノードの重複領域権利フラグをオフ
状態にリセットする使用権リセット手段とを有すること
を要旨とする。
Further, according to the present invention, a plurality of nodes are connected to each other via a ring-shaped transmission path, and a token transmitted from one node to the transmission path is transmitted to each node via the transmission path. A token circulation type data transmission device that is sequentially transmitted, wherein each node is capable of writing information redundantly from all nodes.
Each of the plurality of node-dedicated write areas, each of which is provided corresponding to each node, and in which information is written only by the corresponding node, and each of the node-dedicated write areas corresponding to each node, A common memory having a flag writing area in which an overlapping area right flag indicating that a node uses the overlapping writing area and an updated determination flag indicating that the overlapping writing area of each corresponding node has been updated are written In order to write data in the overlapping writing area of the common memory and transmit the data to each node, if the token is received, confirm that all overlapping area right flags in the common memory are off, Set the overlapping area right flag assigned to the own node to the ON state, and then Data writing and transmitting means for writing data to an overlapping write area of the memory, transmitting a transmission signal having the content of the common memory to which the data is written to a transmission path by broadcasting, and receiving the token when the token is received. When only one overlapping area right flag corresponding to another node in the node is ON, the common memory of the own node is updated with the content written by the data writing / transmitting means of the other node, and the local memory in the common memory is updated. Updated setting means for setting an updated discrimination flag assigned to the node to an on state; and, when the token is received, an overlapped area right flag in the common memory, the overlapped area right flag assigned to the own node. In order to give priority to duplicate write processing of other nodes when two or more are in the ON state The other node priority processing means for releasing the overlapping area right flag assigned to the own node to the off state, and when the token is received, only the overlapping area right flag assigned to the own node in the common memory is in the on state. The gist of the present invention is to include usage right reset means for resetting the overlapping area right flag of the own node to an off state when it is confirmed that all the updated determination flags in the common memory are on.

【0011】請求項3記載の本発明にあっては、あるノ
ードがトークンを受信すると、すべての重複領域権利フ
ラグがオフであることを確認し、自ノード用の重複領域
権利フラグをオン状態に設定してから、コモンメモリの
重複書き込み領域にデータを書き込み、このデータ内容
の伝送信号を同報通信により伝送路に送信し、他のノー
ドはトークンを受信した場合において、重複領域権利フ
ラグが1つだけオンであるとき、自ノードのコモンメモ
リを更新し、自ノード用の更新済判別フラグをオン状態
に設定し、あるノードはトークンを受信した場合におい
て、重複領域権利フラグが自ノード用の重複領域権利フ
ラグを含んで2つ以上オン状態にあるとき、他ノードの
重複書き込み処理を優先処理させるために自ノードに割
り当てられた重複領域権利フラグをオフ状態に解除し、
またトークンを受信した場合において、自ノード用の重
複領域権利フラグのみがオン状態であり、すべての更新
済判別フラグがオンであることを確認したとき、自ノー
ドの重複領域権利フラグをオフ状態にリセットするた
め、通信異常等により重複領域権利フラグが重複して設
定された場合でも重複書き込み領域へのデータの同一性
および安全性を確保することができる。
According to the third aspect of the present invention, when a node receives a token, it confirms that all overlapping area right flags are off, and turns on the overlapping area right flag for its own node. After the setting, the data is written to the overlapping writing area of the common memory, a transmission signal of this data content is transmitted to the transmission line by broadcasting, and when the other node receives the token, the overlapping area right flag is set to 1 When only one is on, the common memory of the own node is updated, the updated determination flag for the own node is set to an on state, and when a node receives a token, the overlapping area right flag is When two or more are in the ON state including the overlap area right flag, the overlap assigned to the own node to give priority to the overlap write processing of another node To release the pass right flag to the off state,
When it is confirmed that only the overlapping area right flag for the own node is on and all the updated determination flags are on when the token is received, the overlapping area right flag of the own node is turned off. Since the resetting is performed, the identity and security of data in the overlapping writing area can be ensured even when the overlapping area right flag is set repeatedly due to a communication error or the like.

【0012】請求項4記載の本発明は、請求項3記載の
発明において、前記他ノード優先処理手段が、自ノード
に割り当てられた重複領域権利フラグをオフ状態に解除
した後、データ書き込みの待ち状態に移行し、所定時間
経過後、前記データ書き込み送信手段を再起動する再起
動手段を有することを要旨とする。
According to a fourth aspect of the present invention, in the third aspect of the present invention, after the other node priority processing means releases the overlapping area right flag assigned to the own node to an off state, the data writing wait state is changed. The gist of the present invention is to include a restart means for restarting the data writing and transmitting means after a lapse of a predetermined time after transition to the state.

【0013】請求項4記載の本発明にあっては、あるノ
ードが自ノードに割り当てられた重複領域権利フラグを
オフ状態に解除した後、データ書き込みの待ち状態に移
行し、所定時間経過後、再度コモンメモリの重複書き込
み領域へのデータ書き込み伝送処理を行うため、処理が
滞ったり、データの同一性を失うことがない。
According to the present invention, after a certain node releases the overlapping area right flag assigned to the own node to the off state, the node shifts to a data writing waiting state, and after a predetermined time elapses, Since the data write transmission processing to the duplicate write area of the common memory is performed again, the processing is not interrupted and the data identity is not lost.

【0014】[0014]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態について説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は、本発明の一実施形態に係わるデー
タ伝送装置の構成を示す図である。同図に示すデータ伝
送装置は、複数のノード1a,1b,1c,・・・がト
ークン巡回型のLAN等からなるリング状伝送路3を介
して互いに接続され、1つのノード1から伝送路3に送
信されたトークンを伝送路3を介して矢印で示すように
各ノード1に順次伝送するように構成されている。な
お、本実施形態では、一例として3つのノードが設けら
れている場合について説明し、各ノードにそれぞれ1
a,1b,1cの符号を付しているが、これらのノード
を代表して説明する場合には、添え字のa,b,cは省
略して、ノード1として説明する。また、以下の説明に
おいて、各ノードに関連する装置についてもノードを代
表して説明する場合にはa,b,cの添え字を付けず
に、数字または符号のみで説明し、ノードを明確に識別
する必要がある場合には、ノード1a,1b,1cのい
ずれであるかを示すa,b,cの添え字を数字または符
号に付して説明する。
FIG. 1 is a diagram showing a configuration of a data transmission device according to one embodiment of the present invention. In the data transmission apparatus shown in FIG. 1, a plurality of nodes 1a, 1b, 1c,... Are connected to each other via a ring transmission path 3 composed of a token loop type LAN or the like. The tokens transmitted to the nodes 1 are sequentially transmitted to the nodes 1 via the transmission path 3 as shown by arrows. In the present embodiment, a case where three nodes are provided as an example will be described.
Although reference numerals a, 1b, and 1c are assigned, when describing these nodes as representatives, the subscripts a, b, and c are omitted, and the nodes are described as nodes 1. Further, in the following description, when a device related to each node is also described as a representative of the node, the description will be made only with numerals or symbols without subscripts of a, b, and c, and the node will be clearly described. When it is necessary to identify, the subscripts of a, b, and c indicating which of the nodes 1a, 1b, and 1c are added to the numbers or symbols.

【0016】各ノード1は、図1に示すように、それぞ
れコモンメモリCMを有する。このコモンメモリCM
は、各ノード1a,1b,1cに対応してそれぞれ設け
られ、各々が対応するノードのみによって情報を書き込
まれる複数のノード対応専用書き込み領域MA,MB,
MC、すべてのノード1から重複的に情報を書き込むこ
とができる重複書き込み領域Mから構成され、各ノード
対応専用書き込み領域MA,MB,MCの各々には、対
応する各ノードがそれぞれのコモンメモリCMの重複書
き込み領域Mを使用していることを示す重複領域権利フ
ラグFka,Fkb,Fkcおよび対応する各ノードのそれぞ
れのコモンメモリCMの重複書き込み領域Mが更新済み
であることを示す更新済判別フラグFda,Fdb,Fdcが
書き込まれるようになっている。
Each node 1 has a common memory CM as shown in FIG. This common memory CM
Are provided corresponding to the nodes 1a, 1b, 1c, respectively, and a plurality of node-dedicated dedicated write areas MA, MB,
MC, an overlapped write area M in which information can be redundantly written from all nodes 1. Each of the dedicated write areas MA, MB, and MC corresponding to each node includes a corresponding common memory CM. Area right flags Fka, Fkb, Fkc indicating that the overlapping write area M is used, and an updated determination flag indicating that the overlapping write area M of the common memory CM of each corresponding node has been updated. Fda, Fdb, and Fdc are written.

【0017】また、各ノード1は、図2(a),(b)
に示すように、重複領域権利フラグFk および更新済判
別フラグFd を有するコモンメモリCMに加えて、伝送
路3を介して伝送されてくるトークンを検出し、該トー
クンを獲得するトークン処理手段11、重複領域権利フ
ラグFk がセットされているか否かを判定する権利フラ
グ判定手段13、重複領域権利フラグFk をセットする
フラグセット手段15、コモンメモリCMにデータを書
き込むデータ書き込み手段17、コモンメモリCMの内
容を伝送信号として同報通信にて伝送路3に送信する同
報通信手段19、コモンメモリCMのノード対応専用書
き込み領域MA,MB,MCに設定されている更新済判
別フラグFda,Fdb,Fdcの状態からすべてのノード1
で前記同報通信が受信されたか否かを判定する受信完了
判定手段21、更新済判別フラグFda,Fdb,Fdcをリ
セットするフラグリセット手段23、通信異常等により
コモンメモリCM内の重複領域権利フラグFk が自ノー
ドに割り当てられた重複領域権利フラグFk を含んで2
つ以上オン状態に設定されて、複数のノード1からの重
複書き込み領域Mへの重複書き込みが検出されたとき、
他ノード1の重複書き込み処理を優先処理させるために
自ノード1に割り当てられた重複領域権利フラグFk を
オフ状態に解除する重複書き込み判定手段25、および
コモンメモリCMに同報データが書き込まれたか否かを
判定する同報判定手段27を有する。なお、図1に示す
データ伝送装置は、説明をわかり易くするために、同図
(a)に同報通信処理関係の構成を示し、同図(b)に
同報通信判定処理関係の構成を示すというように機能的
に分割して示されているが、実際には両者は一体的に構
成されているものである。
Each node 1 is connected to each of the nodes 1 shown in FIGS. 2 (a) and 2 (b).
As shown in (1), in addition to the common memory CM having the overlap area right flag Fk and the updated determination flag Fd, a token transmitted through the transmission path 3 is detected, and the token processing means 11 for acquiring the token is provided. Right flag determining means 13 for determining whether or not the overlapping area right flag Fk is set, flag setting means 15 for setting the overlapping area right flag Fk, data writing means 17 for writing data to the common memory CM, Broadcast communication means 19 for transmitting the contents as a transmission signal to the transmission path 3 by broadcast communication; updated determination flags Fda, Fdb, Fdc set in the node-dedicated write areas MA, MB, MC of the common memory CM. From all nodes 1
, A reception completion determination means 21 for determining whether or not the broadcast has been received, a flag reset means 23 for resetting updated determination flags Fda, Fdb, Fdc, an overlap area right flag in the common memory CM due to a communication error or the like. Fk includes the overlapping area right flag Fk assigned to the own node, and 2
When at least one node is set to the ON state and duplicate writing from a plurality of nodes 1 to the duplicate writing area M is detected,
Duplicate write judging means 25 for releasing the duplication area right flag Fk assigned to the own node 1 to the off state in order to give priority to the duplicate write processing of the other node 1, and whether the broadcast data has been written to the common memory CM. Broadcast determination means 27 for determining whether In the data transmission apparatus shown in FIG. 1, for the sake of simplicity of explanation, FIG. 1A shows a configuration related to a broadcast communication process, and FIG. 1B shows a configuration related to a broadcast determination process. Although they are shown functionally divided as described above, they are actually integrally formed.

【0018】次に、図3に示すフローチャートを参照し
て、以上のように構成されるデータ伝送装置の作用につ
いて説明する。今、ノード1aがトークン方式でコモン
メモリCMの重複書き込み領域Mへのデータ書き込みを
実行しようとする場合には、ノード1aは伝送路3上を
ノード1cの方から伝送されてくるトークンをトークン
処理手段11により受信して獲得する(ステップS11
0)。それから、ノード1aは重複書き込み領域Mを使
用可能かどうかを判定するために、他のノード1b,1
cに対応する重複領域権利フラグFkb,Fkcがセットさ
れていないかどうかを権利フラグ判定手段13でチェッ
クする(ステップS120)。他のノードの重複領域権
利フラグFk がセットされている場合には、ステップS
110に戻って、他のノードの重複領域権利フラグFk
がリセットされるまで待機するが、他のノードの重複領
域権利フラグFk がいずれもセットされていない場合に
は、ノード1aのフラグセット手段15は重複領域権利
フラグFkaをセットし、コモンメモリCMの重複書き込
み領域Mの使用権を確保する(ステップS130)。
Next, the operation of the data transmission apparatus configured as described above will be described with reference to the flowchart shown in FIG. Now, when the node 1a intends to execute data writing to the overlapping writing area M of the common memory CM by the token method, the node 1a processes the token transmitted from the node 1c on the transmission path 3 by token processing. Received and acquired by means 11 (step S11
0). Then, the node 1a determines whether or not the overlapped write area M can be used by the other nodes 1b and 1b.
The right flag determining means 13 checks whether the overlapping area right flags Fkb and Fkc corresponding to c have been set (step S120). If the overlapping area right flag Fk of another node is set, the process proceeds to step S
Returning to 110, the overlapping area right flag Fk of another node
Is reset, but if none of the overlapping area right flags Fk of the other nodes are set, the flag setting means 15 of the node 1a sets the overlapping area right flag Fka, and The right to use the duplicated write area M is secured (step S130).

【0019】重複領域権利フラグFkaがセットされる
と、ノード1aのデータ書き込み手段17は、データを
コモンメモリCMの重複書き込み領域Mにデータを書き
込むとともに(ステップS140)、書き込み完了後、
書き込み完了信号を同報通信手段19に供給する。
When the overlapping area right flag Fka is set, the data writing means 17 of the node 1a writes the data into the overlapping writing area M of the common memory CM (step S140).
The write completion signal is supplied to the broadcast communication means 19.

【0020】ノード1aの同報通信手段19は、データ
書き込み手段17から書き込み完了信号を受信すると、
コモンメモリCMの内容を有する伝送信号を同報通信に
より伝送路3に送信する。なお、同報通信は、重複領域
権利フラグFka,Fkb,Fkcおよび更新済判別フラグF
da,Fdb,Fdcを含むノード対応専用書き込み領域M
A,MB,MCおよび重複書き込み領域Mを伝送内容に
有する同一伝送フレームにて実行される。
When the broadcast communication means 19 of the node 1a receives the write completion signal from the data writing means 17,
A transmission signal having the contents of the common memory CM is transmitted to the transmission path 3 by broadcast communication. It should be noted that the broadcast communication uses the overlapping area right flags Fka, Fkb, Fkc and the updated discrimination flag F
Node dedicated write area M including da, Fdb, Fdc
This is executed in the same transmission frame having the transmission contents of A, MB, MC and the overlapping writing area M.

【0021】このようにノード1aから伝送信号が同報
通信で送信されると、ノード1bおよび1cは、ノード
1aからの伝送信号を受信し、それぞれのコモンメモリ
CMの内容を該伝送信号の内容で更新するという処理を
行う(ステップS150)。また、このようにノード1
aから伝送されたトークンがノード1b,1cを一巡す
ると、該トークンはノード1aに受信される(ステップ
S160)。なお、このトークンの一巡過程において、
ノード1b,1cはトークン獲得毎に自己のコモンメモ
リCMの更新済みを確認すると、それぞれの更新済判別
フラグFdb,Fdcをオン状態に設定する。それから、各
ノード1b,1cはトークンを次のノードに送信すべく
伝送路3に送出している。
When the transmission signal is transmitted from the node 1a by broadcasting, the nodes 1b and 1c receive the transmission signal from the node 1a and store the contents of the respective common memories CM in the contents of the transmission signal. Is performed (step S150). Also, node 1
When the token transmitted from a goes around the nodes 1b and 1c, the token is received by the node 1a (step S160). In the course of the round of this token,
When the nodes 1b and 1c confirm that the common memory CM has been updated each time the token is obtained, the nodes 1b and 1c set the updated determination flags Fdb and Fdc to the ON state. Then, each of the nodes 1b and 1c sends the token to the transmission line 3 to send the token to the next node.

【0022】このようにトークンが伝送路3を一巡する
と、ノード1aがトークン処理手段11でトークンを受
信し、ノード1aは重複領域権利フラグFk のセット数
が1個のみであるか否かを重複書き込み判定手段25で
判定する(ステップS170)。重複領域権利フラグF
k が自己の重複領域権利フラグFkaのみの1個である場
合には、ノード1aの受信完了判定手段21は各ノード
がコモンメモリCMを更新したか否かを判定するために
コモンメモリCM内のすべてのノードに対応するすべて
の更新済判別フラグFda,Fdb,Fdcがセットされてい
るか否かをチェックする(ステップS180)。すべて
の更新済判別フラグFd がセットされていない場合に
は、ステップS140に戻って、再度データの書き込み
処理からの同じ処理をすべての更新済判別フラグFd が
セットされるまで繰り返すが、すべての更新済判別フラ
グFd がセットされている場合には、受信完了判定手段
21は同報通信が完了したと判断し、フラグリセット手
段23によりコモンメモリCM内の自己の重複領域権利
フラグFkaをリセットし(ステップS190)、処理を
終了する。
As described above, when the token makes a round of the transmission line 3, the node 1a receives the token by the token processing means 11, and the node 1a determines whether the number of sets of the overlapping area right flag Fk is only one or not. The determination is made by the write determination unit 25 (step S170). Overlapping area right flag F
If k is only one of its own overlapping area right flag Fka, the reception completion determining means 21 of the node 1a determines whether or not each node has updated the common memory CM in the common memory CM. It is checked whether or not all updated determination flags Fda, Fdb, Fdc corresponding to all nodes are set (step S180). If all the updated determination flags Fd are not set, the flow returns to step S140, and the same processing from the data writing processing is repeated until all the updated determination flags Fd are set. If the completion determination flag Fd is set, the reception completion determination means 21 determines that the broadcast has been completed, and resets its own overlapping area right flag Fka in the common memory CM by the flag reset means 23 ( (Step S190), the process ends.

【0023】ステップS170の判定において、重複領
域権利フラグFk のセット数が2個以上ある場合、具体
的には例えばコモンメモリCMの重複書き込み領域Mに
ノード1aおよびノード1bが同時にデータ書き込み要
求を行い、トークンが最初にノード1aに伝送されてき
て、ノード1aがトークンを獲得してノード1aのノー
ド対応専用書き込み領域MAの重複領域権利フラグFk
をセットするとともに、データを重複書き込み領域Mに
書き込み、データの同報通信を行った後、トークンがノ
ード1bに伝送され、ノード1bがトークンを獲得した
が、ここでノード1bが通信異常等の何らかの理由でノ
ード1aからの同報を受信することができなかったとす
ると、すべてのノードの重複領域権利フラグFk はリセ
ット状態にあるため、ノード1bは重複書き込み領域M
へのデータ書き込みは行われていないと判断し、ノード
1bは自己のノードのノード対応専用書き込み領域MB
の重複領域権利フラグFkbをセットし、データを重複書
き込み領域Mに書き込み、データの同報通信を行うこと
になり、この結果重複領域権利フラグFk は2個セット
されてしまうことになる。このように通信異常等により
重複領域権利フラグFk が2個セットされてしまってい
る場合には、ノード1aの重複書き込み判定手段25
は、自分でない他の重複領域権利フラグFk をセットし
ている他のノード1bのデータ書き込みを優先処理させ
るために、自己の重複領域権利フラグFkaをリセットす
る(ステップS200)。
If it is determined in step S170 that the number of sets of the overlap area right flag Fk is two or more, specifically, for example, the nodes 1a and 1b simultaneously make a data write request to the overlap write area M of the common memory CM. , The token is first transmitted to the node 1a, the node 1a acquires the token, and the duplicate area right flag Fk of the node-specific dedicated write area MA of the node 1a.
Is set, the data is written to the overlapping write area M, and the data is broadcast. After that, the token is transmitted to the node 1b, and the node 1b acquires the token. If the broadcast from the node 1a cannot be received for some reason, the overlapping area right flags Fk of all the nodes are in the reset state.
Node 1b determines that data has not been written to the node 1b,
Is set, the data is written to the overlapping writing area M, and the data is broadcast. As a result, two overlapping area right flags Fk are set. When two overlapping area right flags Fk have been set due to a communication error or the like, the overlapping writing determination means 25 of the node 1a.
Resets its own overlapping area right flag Fka in order to give priority to the data writing of the other node 1b that sets the other overlapping area right flag Fk other than itself (step S200).

【0024】ノード1aは、自己の重複領域権利フラグ
Fkaをリセットした後、再度データ書き込みを行うため
の待ち時間に移行し(ステップS210)、ステップS
110に戻る。そして、待ち時間の終了後、ステップS
110のトークン獲得から再開する。なお、この待ち時
間は各ノード毎に異なる時間を指定することにより、各
ノードが再度重複することを防止することができる。
After resetting its own overlapping area right flag Fka, the node 1a shifts to a waiting time for writing data again (step S210), and then returns to step S210.
Return to 110. Then, after the end of the waiting time, step S
Restart from 110 token acquisition. By designating a different waiting time for each node, it is possible to prevent each node from overlapping again.

【0025】上述したように、本実施形態では、重複領
域権利フラグFk によりコモンメモリCMの重複書き込
み領域Mにデータを書き込むことができるノードを限定
し、完全に同報が終了するまで、他のノードからの重複
書き込み領域Mのデータの上書きを防止することができ
る。また、通信異常等により複数のノードから重複書き
込み領域Mの重複領域権利フラグFk が複数セットされ
た場合でも、この複数重複してセットされた重複領域権
利フラグFk を検出したノードが自己の重複領域権利フ
ラグFk をリセットして、他のノードを優先処理させる
ことにより、処理が滞ったり、データの同一性を失うこ
となく、重複書き込み領域Mを利用したデータの同報通
信を適確に行うことができる。
As described above, in the present embodiment, the nodes which can write data in the overlapped write area M of the common memory CM are limited by the overlap area right flag Fk, and other nodes are set until the broadcast is completely completed. It is possible to prevent the node from overwriting data in the overlapped write area M. Further, even when a plurality of overlapping area right flags Fk of the overlapping writing area M are set from a plurality of nodes due to a communication error or the like, the node which detects the overlapping area right flags Fk set in a plurality of overlapping manners determines the own overlapping area. By properly resetting the right flag Fk and allowing other nodes to perform priority processing, accurate data broadcasting using the overlapping write area M can be performed without delay or loss of data identity. Can be.

【0026】このようにして、排他制御方式によりコモ
ンメモリCMを効率よく使用することができ、ひいては
メモリの節約を実現できる。更に、現在重複書き込み領
域Mを使用しているノードを知ることができ、データの
管理保守上有益である。また、重複領域権利フラグFk
により同報が行われたことを確認することができるた
め、同報通信に失敗したとしても、完了するまで同報を
継続することができ、すべてのノードのコモンメモリC
Mのデータの同一性を保証することができる。
In this manner, the common memory CM can be used efficiently by the exclusive control method, and the memory can be saved. Further, it is possible to know the node currently using the duplicated write area M, which is useful for data management and maintenance. Also, the overlapping area right flag Fk
Can be confirmed that the broadcast has been performed. Therefore, even if the broadcast communication fails, the broadcast can be continued until the broadcast is completed.
The identity of the M data can be guaranteed.

【0027】次に、図4に示すフローチャートを参照し
て、図3のステップS150,S160における各ノー
ドの処理およびトークン一巡処理について説明する。上
述したように、ノード1aから伝送信号が同報通信で送
信され、ノード1bがノード1aからのトークンをトー
クン処理手段11で受信すると(ステップS310)、
ノード1bはノード1aから受信した伝送信号の内容に
よりコモンメモリCM内の重複領域権利フラグFk のセ
ット数が1個のみであるか否かを重複書き込み判定手段
25でチェックする(ステップS320)。重複領域権
利フラグFk が1個でなく、複数である場合には、上述
したように、例えば通信異常等の何らかの理由によりい
ずれかのノードが先に伝送された同報通信を受信できず
にデータの書き込みを行ってしまい、この結果2つ以上
の重複領域権利フラグFk がセットされてしまったもの
と判定し、同報通信の受信を中止して更新済判別フラグ
Fd をリセットする(ステップS350)。
Next, with reference to the flowchart shown in FIG. 4, the processing of each node and the token round processing in steps S150 and S160 in FIG. 3 will be described. As described above, when the transmission signal is transmitted by broadcast from the node 1a and the node 1b receives the token from the node 1a by the token processing unit 11 (step S310),
The node 1b checks, using the content of the transmission signal received from the node 1a, whether or not the number of sets of the overlap area right flag Fk in the common memory CM is only one by the overlap write determination means 25 (step S320). If the number of overlapping area right flags Fk is not one but a plurality, as described above, for some reason, for example, a communication error or the like, one of the nodes cannot receive the previously transmitted Is written, and as a result, it is determined that two or more overlapping area right flags Fk have been set, the broadcast reception is stopped, and the updated determination flag Fd is reset (step S350). .

【0028】一方、ステップS320のチェックにおい
て、重複領域権利フラグFk のセット数が1個のみであ
る場合には、ノード1bは同報通信を受信し、ノード1
aからの伝送信号の内容でコモンメモリCMを更新し
(ステップS330)、更新済判別フラグFdbをセット
し、同報通信を適確に受信したことを示すが(ステップ
S340)、同報通信を適確に受信できなかった場合に
は、更新済判別フラグFdbをリセットする(ステップS
350)。
On the other hand, if it is determined in step S320 that the number of sets of the overlap area right flag Fk is only one, the node 1b receives the broadcast and
The common memory CM is updated with the content of the transmission signal from a (step S330), and the updated determination flag Fdb is set to indicate that the broadcast has been properly received (step S340). If the reception has not been properly performed, the updated determination flag Fdb is reset (step S
350).

【0029】[0029]

【発明の効果】以上説明したように、請求項1および3
記載の本発明によれば、ノードがトークンを受信した場
合において、重複領域権利フラグが2つ以上オン状態に
あるとき、他ノードの重複書き込み処理を優先処理させ
るために自ノードに割り当てられた重複領域権利フラグ
をオフ状態に解除するので、例えば通信異常等の何らか
の理由により重複領域権利フラグが重複して設定された
場合でも重複書き込み領域へのデータの同一性および安
全性を確保することができる。
As described above, claims 1 and 3
According to the invention described above, when two or more overlapping area right flags are in the ON state when the node receives the token, the overlapping assigned to the own node to give priority to the overlapping writing processing of another node Since the area right flag is released to the OFF state, the identity and security of data in the overlapping write area can be ensured even if the overlapping area right flag is set repeatedly for some reason such as a communication error. .

【0030】また、請求項2および4記載の本発明によ
れば、重複領域権利フラグが複数セットされていた場
合、ノードが自ノードに割り当てられた重複領域権利フ
ラグをオフ状態に解除した後、データ書き込みの待ち状
態に移行し、所定時間経過後、再度コモンメモリの重複
書き込み領域へのデータを書き込み伝送処理を行うの
で、処理が滞ったり、データの同一性を失うことがな
い。
According to the second and fourth aspects of the present invention, when a plurality of overlapping area right flags are set, after the node releases the overlapping area right flag assigned to the own node to the off state, The state shifts to a data write wait state, and after a predetermined time has elapsed, data is written to the duplicate write area of the common memory again and transmission processing is performed, so that processing is not interrupted and data identity is not lost.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態に係わるデータ伝送装置の
構成を示す図である。
FIG. 1 is a diagram showing a configuration of a data transmission device according to an embodiment of the present invention.

【図2】図1に示すデータ伝送装置の各ノードの構成を
示すブロック図である。
FIG. 2 is a block diagram showing a configuration of each node of the data transmission device shown in FIG.

【図3】図1、図2に示すデータ伝送装置の作用を示す
フローチャートである。
FIG. 3 is a flowchart showing an operation of the data transmission device shown in FIGS. 1 and 2;

【図4】図3のフローチャートにおけるステップS15
0,S160の詳細な動作を示すフローチャートであ
る。
FIG. 4 is a step S15 in the flowchart of FIG. 3;
It is a flowchart which shows the detailed operation of 0, S160.

【符号の説明】[Explanation of symbols]

1a,1b,1c ノード 3 伝送路 11 トークン処理手段 13 権利フラグ判定手段 15 フラグセット手段 17 データ書き込み手段 19 同報通信手段 21 受信完了判定手段 23 フラグリセット手段 25 重複書き込み判定手段 27 同報判定手段 CM コモンメモリ MA,MB,MC ノード対応専用書き込み領域 M 重複書き込み領域 Fka,Fkb,Fkc 重複領域権利フラグ Fda,Fdb,Fdc 更新済判別フラグ 1a, 1b, 1c Node 3 Transmission path 11 Token processing means 13 Right flag determination means 15 Flag setting means 17 Data writing means 19 Broadcast communication means 21 Reception completion determination means 23 Flag reset means 25 Duplicate write determination means 27 Broadcast determination means CM Common memory MA, MB, MC Dedicated write area for node M Duplicate write area Fka, Fkb, Fkc Duplicate area right flag Fda, Fdb, Fdc Updated discrimination flag

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のノードがリング状の伝送路を介し
て互いに接続され、1つのノードから伝送路に送信され
たトークンが伝送路を介して各ノードに順次伝送される
トークン巡回型のデータ伝送方法であって、 すべてのノードから重複的に情報を書き込むことができ
る重複書き込み領域、各ノードに対応してそれぞれ設け
られ、各々が対応するノードのみによって情報を書き込
まれる複数のノード対応専用書き込み領域、および各ノ
ードに対応する前記ノード対応専用書き込み領域の各々
に設けられ、対応する各ノードが前記重複書き込み領域
を使用していることを示す重複領域権利フラグおよび対
応する各ノードの前記重複書き込み領域が更新済みであ
ることを示す更新済判別フラグが書き込まれるフラグ書
き込み領域を有するコモンメモリを各ノードに設け、 各ノードのうちあるノードは、該コモンメモリの前記重
複書き込み領域にデータを書き込んで各ノードに伝送す
るために、前記トークンを受信した場合、前記コモンメ
モリ内のすべての重複領域権利フラグがオフであること
を確認し、自ノードに割り当てられた重複領域権利フラ
グをオン状態に設定してから、コモンメモリの重複書き
込み領域にデータを書き込み、このデータの書き込まれ
たコモンメモリの内容を有する伝送信号を同報通信によ
り伝送路に送信し、 各ノードのうち他のノードは、前記トークンを受信した
場合において、コモンメモリ内の自ノード以外のノード
に対応する重複領域権利フラグが1つだけオンであると
き、該ノードにより書き込まれた内容で自ノードのコモ
ンメモリを更新し、該コモンメモリ内の自ノードに割り
当てられた更新済判別フラグをオン状態に設定し、 前記あるノードは、 前記トークンを受信した場合において、前記コモンメモ
リ内の重複領域権利フラグが自ノードに割り当てられた
重複領域権利フラグを含んで2つ以上オン状態にあると
き、他ノードの重複書き込み処理を優先処理させるため
に自ノードに割り当てられた重複領域権利フラグをオフ
状態に解除し、 前記トークンを受信した場合において、前記コモンメモ
リ内の自ノードに割り当てられた重複領域権利フラグの
みがオン状態であり、当該コモンメモリ内のすべての更
新済判別フラグがオンであることを確認したとき、自ノ
ードの重複領域権利フラグをオフ状態にリセットするこ
とを特徴とするデータ伝送方法。
1. A token loop type data in which a plurality of nodes are connected to each other via a ring transmission path, and a token transmitted from one node to the transmission path is sequentially transmitted to each node via the transmission path. A transmission method, comprising: a redundant write area in which information can be redundantly written from all nodes; a dedicated write corresponding to a plurality of nodes, each of which is provided corresponding to each node and each of which writes information only by a corresponding node; Area, and an overlap area right flag provided in each of the node-dedicated write areas corresponding to each node, and indicating that each corresponding node uses the overlap write area, and the overlap write of each corresponding node. A common menu having a flag writing area into which an updated determination flag indicating that the area has been updated is written. When each of the nodes receives the token in order to write data to the overlapping write area of the common memory and transmit the data to each node, all of the nodes in the common memory Confirm that the overlapping area right flag is off, set the overlapping area right flag assigned to the own node to the ON state, and then write data to the overlapping writing area of the common memory, and write the common A transmission signal having the contents of the memory is transmitted to the transmission path by broadcasting, and when receiving the token, the other nodes of the respective nodes, when receiving the token, have an overlapping area right corresponding to a node other than the own node in the common memory. When only one flag is on, the common memory of the own node is updated with the contents written by the node, and the common memory is updated. Setting the updated discrimination flag assigned to the own node in the memory to the ON state, and the certain node, when receiving the token, assigns the overlap area right flag in the common memory to the own node. When two or more are in the ON state including the area right flag, the overlapping area right flag assigned to the own node is released to the OFF state in order to give priority to the overlapping write processing of another node, and the token is received. In the above, when it is confirmed that only the overlapping area right flag assigned to the own node in the common memory is on and all the updated determination flags in the common memory are on, the overlapping area of the own node is A data transmission method comprising resetting a right flag to an off state.
【請求項2】 前記あるノードは、自ノードに割り当て
られた重複領域権利フラグをオフ状態に解除した後、デ
ータ書き込みの待ち状態に移行し、所定時間経過後、再
度コモンメモリの前記重複書き込み領域にデータを書き
込んで各ノードに伝送するために、前記トークンを受信
した場合、前記コモンメモリ内のすべての重複領域権利
フラグがオフであることを再確認し、自ノードに割り当
てられた重複領域権利フラグをオン状態に設定してか
ら、コモンメモリの重複書き込み領域にデータを書き込
み、このデータの書き込まれたコモンメモリの内容を有
する伝送信号を同報通信により伝送路に送信することを
特徴とする請求項1記載のデータ伝送方法。
2. The certain node releases the overlapping area right flag assigned to the own node to an off state, shifts to a data writing waiting state, and after a predetermined time elapses, repeats the overlapping writing area of the common memory. When the token is received in order to write data to the node and transmit it to each node, reconfirm that all the overlapping area right flags in the common memory are off, and repeat the overlapping area right assigned to the own node. After the flag is set to the ON state, data is written to the overlapping write area of the common memory, and a transmission signal having the content of the common memory to which the data is written is transmitted to the transmission line by broadcasting. The data transmission method according to claim 1.
【請求項3】 複数のノードがリング状の伝送路を介し
て互いに接続され、1つのノードから伝送路に送信され
たトークンが伝送路を介して各ノードに順次伝送される
トークン巡回型のデータ伝送装置であって、 各ノードは、 すべてのノードから重複的に情報を書き込むことができ
る重複書き込み領域、各ノードに対応してそれぞれ設け
られ、各々が対応するノードのみによって情報を書き込
まれる複数のノード対応専用書き込み領域、および各ノ
ードに対応する前記ノード対応専用書き込み領域の各々
に設けられ、対応する各ノードが前記重複書き込み領域
を使用していることを示す重複領域権利フラグおよび対
応する各ノードの前記重複書き込み領域が更新済みであ
ることを示す更新済判別フラグが書き込まれるフラグ書
き込み領域を有するコモンメモリと、 該コモンメモリの前記重複書き込み領域にデータを書き
込んで各ノードに伝送するために、前記トークンを受信
した場合、前記コモンメモリ内のすべての重複領域権利
フラグがオフであることを確認し、自ノードに割り当て
られた重複領域権利フラグをオン状態に設定してから、
コモンメモリの重複書き込み領域にデータを書き込み、
このデータの書き込まれたコモンメモリの内容を有する
伝送信号を同報通信により伝送路に送信するデータ書き
込み送信手段と、 前記トークンを受信した場合において、コモンメモリ内
の他のノードに対応する重複領域権利フラグが1つだけ
オンであるとき、他のノードのデータ書き込み送信手段
により書き込まれた内容で自ノードのコモンメモリを更
新し、該コモンメモリ内の自ノードに割り当てられた更
新済判別フラグをオン状態に設定する更新済設定手段
と、 前記トークンを受信した場合において、前記コモンメモ
リ内の重複領域権利フラグが自ノードに割り当てられた
重複領域権利フラグを含んで2つ以上オン状態にあると
き、他ノードの重複書き込み処理を優先処理させるため
に自ノードに割り当てられた重複領域権利フラグをオフ
状態に解除する他ノード優先処理手段と、 前記トークンを受信した場合において、前記コモンメモ
リ内の自ノードに割り当てられた重複領域権利フラグの
みがオン状態であり、当該コモンメモリ内のすべての更
新済判別フラグがオンであることを確認したとき、自ノ
ードの重複領域権利フラグをオフ状態にリセットする使
用権リセット手段とを有することを特徴とするデータ伝
送装置。
3. A token cyclic type data in which a plurality of nodes are connected to each other via a ring-shaped transmission path, and a token transmitted from one node to the transmission path is sequentially transmitted to each node via the transmission path. A transmission device, wherein each node is provided with an overlapping write area in which information can be redundantly written from all nodes, and a plurality of nodes each of which is provided corresponding to each node and in which information is written only by the corresponding node. A node-dedicated write area, and an overlap area right flag provided in each of the node-dedicated write areas corresponding to each node, indicating that each corresponding node uses the overlap write area, and a corresponding node. A flag writing area in which an updated determination flag indicating that the overlapping writing area has been updated is written. When the token is received in order to write data in the overlapping writing area of the common memory and transmit the data to each node, it is determined that all the overlapping area right flags in the common memory are OFF. Check, set the overlapping area right flag assigned to the own node to the ON state, and then
Write data to the overlapping write area of the common memory,
A data writing / transmitting unit for transmitting a transmission signal having the content of the common memory in which the data is written to a transmission line by broadcast, and an overlap area corresponding to another node in the common memory when the token is received. When only one right flag is on, the common memory of the own node is updated with the contents written by the data writing / transmitting means of the other node, and the updated determination flag assigned to the own node in the common memory is updated. Updated setting means for setting an ON state, and when receiving the token, when two or more overlapping area right flags in the common memory are in an ON state including an overlapping area right flag assigned to the own node. The overlapping area right flag assigned to the own node in order to give priority to the overlapping write processing of another node. Other node priority processing means for releasing to the off state, and when the token is received, only the overlapping area right flag assigned to the own node in the common memory is in the on state, and all the updates in the common memory are updated. And a use right resetting means for resetting the overlapping area right flag of the own node to an off state when it is confirmed that the completion determination flag is on.
【請求項4】 前記他ノード優先処理手段は、自ノード
に割り当てられた重複領域権利フラグをオフ状態に解除
した後、データ書き込みの待ち状態に移行し、所定時間
経過後、前記データ書き込み送信手段を再起動する再起
動手段を有することを特徴とする請求項3記載のデータ
伝送装置。
4. The another node priority processing means resets an overlapping area right flag assigned to the own node to an off state, shifts to a data writing waiting state, and after a predetermined time elapses, the data writing transmitting means. 4. The data transmission device according to claim 3, further comprising a restart unit that restarts the data transmission.
JP5392998A 1998-03-05 1998-03-05 Data transmission system and its device Pending JPH11252143A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5392998A JPH11252143A (en) 1998-03-05 1998-03-05 Data transmission system and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5392998A JPH11252143A (en) 1998-03-05 1998-03-05 Data transmission system and its device

Publications (1)

Publication Number Publication Date
JPH11252143A true JPH11252143A (en) 1999-09-17

Family

ID=12956433

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5392998A Pending JPH11252143A (en) 1998-03-05 1998-03-05 Data transmission system and its device

Country Status (1)

Country Link
JP (1) JPH11252143A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040021030A (en) * 2002-09-02 2004-03-10 엘지전자 주식회사 method for transferring a broad casting data of the ring type network system
JP2012060278A (en) * 2010-09-07 2012-03-22 Mitsubishi Electric Corp Network system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040021030A (en) * 2002-09-02 2004-03-10 엘지전자 주식회사 method for transferring a broad casting data of the ring type network system
JP2012060278A (en) * 2010-09-07 2012-03-22 Mitsubishi Electric Corp Network system

Similar Documents

Publication Publication Date Title
JP6451546B2 (en) Communication network and relay device
JPH05276175A (en) Data communication method and communication system
JPS62239641A (en) Multiple address communication system
JPH03136424A (en) Recomposition system for high-speed mesh connetion type local area network
JP3123417B2 (en) Communication method in small-scale network and control device and subordinate device applied to the communication method
JP7042138B2 (en) Processing equipment
JPH0998180A (en) Fault avoid control method for ring network system
US11258634B2 (en) Electronic control unit
JPH11252143A (en) Data transmission system and its device
JP3730545B2 (en) Service control application execution method and system
JP4585560B2 (en) Network failure detection method, data communication network system, and node device
JP4154855B2 (en) Data transmission control device
JPS61256846A (en) Network system
JP3036050B2 (en) Communication control device
JP3501650B2 (en) Programmable controller network system
JPS5923650A (en) Backup system
JP4207397B2 (en) Network system, network station and data exchange method thereof
JP2602587B2 (en) Secondary station initialization method in SDLC communication system
JP3091791B2 (en) Message type data processing system
JP2017073592A (en) Control system and relay device
JP2645134B2 (en) Message transmission control method to restoration signal link
JP4087070B2 (en) Broadcast / ACK transmission method
JP2745464B2 (en) Token passing LAN device
JPS63263940A (en) Network management system
JP2007334528A (en) System switching system and method, and host device for use therein