JP2731430B2 - Data communication method - Google Patents

Data communication method

Info

Publication number
JP2731430B2
JP2731430B2 JP1250533A JP25053389A JP2731430B2 JP 2731430 B2 JP2731430 B2 JP 2731430B2 JP 1250533 A JP1250533 A JP 1250533A JP 25053389 A JP25053389 A JP 25053389A JP 2731430 B2 JP2731430 B2 JP 2731430B2
Authority
JP
Japan
Prior art keywords
station
bit
data
channel
transmission
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.)
Expired - Lifetime
Application number
JP1250533A
Other languages
Japanese (ja)
Other versions
JPH03114330A (en
Inventor
則彦 杉本
勝彦 米田
政和 岡田
宏 冨沢
尚雄 小川
徹 村本
精一 安元
行雄 小山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Cable Ltd
Hitachi Ltd
Original Assignee
Hitachi Cable Ltd
Hitachi Ltd
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 Hitachi Cable Ltd, Hitachi Ltd filed Critical Hitachi Cable Ltd
Priority to JP1250533A priority Critical patent/JP2731430B2/en
Publication of JPH03114330A publication Critical patent/JPH03114330A/en
Application granted granted Critical
Publication of JP2731430B2 publication Critical patent/JP2731430B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ通信方法に係り、特に時分割多重され
た複数のチャネルに端末間伝送を固定的に割り付けるデ
ータ通信方法に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication method, and more particularly to a data communication method in which transmission between terminals is fixedly assigned to a plurality of time-division multiplexed channels.

〔従来の技術〕 従来の時分割多重された複数のチャネルに端末間伝送
を固定的に割りつけるループ状データ伝送方式につい
て、第2図乃至第7図を参照して説明する。
[Prior Art] A conventional loop data transmission method in which transmission between terminals is fixedly assigned to a plurality of time-division multiplexed channels will be described with reference to FIGS. 2 to 7. FIG.

伝送路1に複数の局S1〜S6が相互接続され、伝送路1
はループ状に構成されている。各局には各種の端末T1〜
T12が接続され、端末間同志で音声、データ、画像等の
伝送が行なわれる。第2図では局数が6、各局に2台の
端末が接続されているシステム構成を示しているが、局
数及び接続端末数に関係なく同様の効果が得られる。
A plurality of stations S1 to S6 are interconnected to the transmission line 1,
Are configured in a loop. Each station has various terminals T1 ~
T12 is connected, and voice, data, images, and the like are transmitted between the terminals. FIG. 2 shows a system configuration in which the number of stations is 6, and two terminals are connected to each station, but similar effects can be obtained regardless of the number of stations and the number of connected terminals.

時分割多重伝送では、固定長のチャネルC1〜Clが1ケ
のフレームを構成し、このフレームがくり返し伝送路1
上を周回する。チャネルは端末間伝送各々に割り当てて
おく。
Time-division multiplex transmission channel C 1 -C l of fixed length constitute 1 Ke frame, the transmission line 1 the frame is repeated
Orbit above. A channel is assigned to each transmission between terminals.

第4図のごとく、4ケの伝送を例にチャネルの割り当
てについて説明する。伝送1では局S1とS4とに接続され
る端末間で1:1両方向伝送を行なう場合であり、チャネ
ルC1を用いる。局S1はチャネルC1を検出し、送信するデ
ータを送出する。局S4はチャネルC1を検出し、局S1から
のデータを受信した後、局S4が送信するデータをチャネ
ルC1に書き込み送出する。これにより、1ケのチャネル
により1:1両方向伝送ができる。なお、同一局内の2つ
の端末間伝送は、後述する伝送2の1:1片方向伝送を2
組用いて行う。
As shown in FIG. 4, the assignment of channels will be described using four transmissions as an example. Between terminals connected to the transmission 1 in the station S1 and S4 and 1: 1 a case of performing two-way transmission, using channel C 1. The station S1 is sending data to detect and channel C 1, and transmits. Station S4, detects the channel C 1, after receiving the data from station S1, and sends the write data to the station S4 is transmitted to the channel C 1. As a result, 1: 1 bidirectional transmission can be performed using one channel. In addition, transmission between two terminals in the same station is based on 1: 1 one-way transmission of transmission 2 described later.
Perform using pairs.

次に、伝送2では局S2に接続されている端末から局S5
に接続されている端末へ1:1片方向伝送を行う。この伝
送ではチャネルC2を用い、局S2がチャネルC2に伝送デー
タを書き込み、局S5がデータを受信する。
Next, in transmission 2, the terminal connected to station S2
1: 1 one-way transmission to the terminal connected to. The channel C 2 used in the transmission, station S2 writes the transmitted data to the channel C 2, the station S5 is to receive the data.

伝送3は、局S4に接続される端末が親局、局S3と局S6
に接続される端末が子局となり1:nポーリングセレクシ
ョン伝送を行う。親局S4から子局S3,S6へはチャネルC3
を用い、子局S3あるいはS6から親局S4へはチャネルC4
用いて伝送する。
In transmission 3, the terminals connected to station S4 are the master station, and stations S3 and S6.
The terminal connected to becomes a slave station and performs 1: n polling selection transmission. Channel C 3 from master station S4 to slave stations S3 and S6
Used, transmitted using the channel C 4 from the slave station S3 or S6 to the master station S4.

伝送4は、局S6に接続される端末から、局S1およびS3
に接続される端末へ1:nブロードキャスト伝送を行う。
ここではチャネルC5を用い局S6が送信し、局S1と局S3が
チャネルC5からデータを受信する。
Transmission 4 is from terminals connected to station S6 to stations S1 and S3.
Performs 1: n broadcast transmission to the terminal connected to.
Here transmitted by S6 station using channel C 5 is the station S1 and station S3 is receiving data from the channel C 5.

いま、5ケのチャネルから成るフレームを伝送に用い
る場合の、各チャネルの使用状態を第5図に示す。本図
ではデータ送信局を□印で、受信局を●印で示してい
る。
FIG. 5 shows a use state of each channel when a frame including five channels is used for transmission. In the figure, the data transmitting station is indicated by a square mark, and the receiving station is indicated by a solid circle.

前述からわかるように、各チャネルの使用形態として
は、1ケのチャネルを両方向伝送に用いる場合と、片方
向伝送に用いる場合の2種類に分類でき、後者の場合は
さらに1:1と1:nに分類できる。
As can be seen from the above, the usage of each channel can be classified into two types, one channel used for two-way transmission and one channel used for one-way transmission. In the latter case, 1: 1 and 1: It can be classified into n.

ところで、チャネル固定接続の時分割伝送では送信局
は割り当てられたチャネルを検出する毎に周期的にデー
タを更新して送信する。一方、受信局は割り当てられた
チャネルを検出する毎に、送信局からのデータと判断し
て受信する。
By the way, in time-division transmission with fixed channel connection, the transmitting station periodically updates and transmits data every time an assigned channel is detected. On the other hand, each time the receiving station detects the assigned channel, it determines that the data is from the transmitting station and receives it.

よって、送信局や送信端末が故障や送信路1からの離
脱などの異常が発生した場合、伝送路1上には、送信局
が異常になる直前の送信データが巡回してしまう。しか
し受信局は、受信したデータが送信局で更新されたか、
あるいは古いのかの判断ができないという欠点がある。
Therefore, when an error such as a failure of the transmitting station or the transmitting terminal or a disconnection from the transmission path 1 occurs, transmission data immediately before the transmission station becomes abnormal circulates on the transmission path 1. However, the receiving station must confirm that the received data has been updated at the transmitting station,
Alternatively, there is a disadvantage that it cannot be determined whether or not it is old.

また、1:nポーリングセレクションで親局からの要求
にもとづいてある子局が応答する。よって、子局から親
局へはある時刻にはデータが伝送されるが、他の時刻に
はどの子局もデータを伝送しないことがある。後者の場
合、ある子局が最後に伝送したデータが伝送路上を周回
し、子局が新たにデータを送信するまで、親局は既に受
信したデータを何回も受信するという欠点がある。
Also, a slave station responds to the request from the master station in a 1: n polling selection. Therefore, data may be transmitted from the slave station to the master station at a certain time, but none of the slave stations may transmit data at another time. In the latter case, there is a disadvantage that the last data transmitted by a certain slave station circulates on the transmission path, and the master station receives the data already received many times until the slave station transmits new data.

これらの欠点を解決する一方式として、エヌ・シー・
スツロール,ア ローカル コミュニケーションズ ネ
ットワーク ベースド オン ザ インタコネクティド
トークン アクセス リングズ,アイ ビー エム
ジャーナル オブ リサーチ アンド ディベロメン
ト,vol5 No.5 481〜496頁(N.C.Strole,A Local Commun
ications Network Based on the Interconnected Token
−Access Rings,IBM Journal of Research and Develop
ment vol.27 No.5 P481〜496)では、送信するデータと
して、第6図の様に情報部Iに監視ビットWを付加し、
伝送路上のあらかじめ決められた一局が監視局となり、
送信局は監視ビットWを“0"で送信し、監視局が監視ビ
ットWを“0"から“1"に変更して送出する。監視局は監
視ビットWが“1"のデータを受信すると、このデータを
異常データと判断し伝送路1上から廃棄する。この方式
は、異常データが伝送路1を2回以上周回しないように
できる。しかしながら、この方式では、送信局、受信局
及び監視局の伝送路への接続順序により、同じデータを
2回受信することがある。これを第7図を参照して説明
する。
As one method to solve these drawbacks, NCC
Sutrol, A Local Communications Network-Based on the Interconnected Token Access Rings, IBM
Journal of Research and Development, vol5 No.5 481-496 (NCStrole, A Local Commun
ications Network Based on the Interconnected Token
−Access Rings, IBM Journal of Research and Develop
ment vol.27 No.5 P481-496), a monitoring bit W is added to the information section I as shown in FIG.
A predetermined station on the transmission line becomes a monitoring station,
The transmitting station transmits the monitoring bit W as "0", and the monitoring station changes the monitoring bit W from "0" to "1" and transmits it. When the monitoring station receives the data in which the monitoring bit W is "1", the monitoring station determines that the data is abnormal data and discards the data from the transmission line 1. This method can prevent the abnormal data from going around the transmission line 1 more than once. However, in this method, the same data may be received twice depending on the connection order of the transmitting station, the receiving station, and the monitoring station to the transmission path. This will be described with reference to FIG.

いま送信局をS1、受信局をS2とS4、監視局をS3とし、
伝送路1には局S1,S2,S3,S4,S1の順で接続されていると
する。送信局S1がデータを送信するとき、監視ビットW
を“0"として送信する。受信局S2はデータを受信し、監
視局S3は監視ビットWを“0"から“1"に変更して送出す
る。また受信局S4はデータを受信する。送信局S1がデー
タを送信後、異常状態となるとデータが変更されなく再
び受信局S2は受信してしまう。監視局S3は監視ビットW
が“1"であるため、このデータは2巡目であると判断し
て、このデータを消去してしまう。従って、受信局S4は
同じデータを受信しない。すなわち、受信局S2は同じデ
ータを2回受信するが、受信局S4は同じデータは1回し
か受信しない。
Now, the transmitting station is S1, the receiving station is S2 and S4, the monitoring station is S3,
It is assumed that stations S1, S2, S3, S4, and S1 are connected to the transmission line 1 in this order. When the transmitting station S1 transmits data, the monitoring bit W
Is transmitted as “0”. The receiving station S2 receives the data, and the monitoring station S3 changes the monitoring bit W from "0" to "1" and transmits the same. The receiving station S4 receives the data. After the transmitting station S1 transmits data, if an abnormal state occurs, the data is not changed and the receiving station S2 receives the data again. The monitoring station S3 has the monitoring bit W
Is "1", this data is determined to be the second round, and this data is deleted. Therefore, the receiving station S4 does not receive the same data. That is, the receiving station S2 receives the same data twice, but the receiving station S4 receives the same data only once.

前述の説明から、送信局,受信局,監視局の接続順序
により、同じデータを2回受信するという欠点がある。
As described above, there is a disadvantage that the same data is received twice depending on the connection order of the transmitting station, the receiving station, and the monitoring station.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上記従来技術は、送信局が異常あるいは新しいデータ
が送信されないと同じデータが周回し、受信してしまう
という問題があった。
The above conventional technique has a problem that the same data circulates and receives data unless the transmitting station is abnormal or new data is transmitted.

本発明は、受信局が、周回する同一データを受信しな
いことを目的とする。
An object of the present invention is to prevent a receiving station from receiving the same data that goes around.

本発明の他の目的は、同一チャネルを用いた二局間の
両方向伝送で、一方の局が異常になっても他局は異常デ
ータを受信しないことを目的とする。
Another object of the present invention is to provide bidirectional transmission between two stations using the same channel, and to prevent another station from receiving abnormal data even if one station becomes abnormal.

本発明の他の目的は、1ケのチャネルを用いた二局間
の片方向伝送で、送信局が異常の場合には受信局はデー
タを受信しないことを目的とする。
Another object of the present invention is to provide one-way transmission between two stations using one channel, and to prevent the receiving station from receiving data when the transmitting station is abnormal.

本発明の他の目的は、1ケのチャネルを用いた1:nブ
ロードキャスト伝送で、送信局異常により異常データを
受信しないことを判断する受信局を自動的に選択するこ
とを目的とする。
Another object of the present invention is to automatically select a receiving station that determines not to receive abnormal data due to a transmitting station error in 1: n broadcast transmission using one channel.

本発明の他の目的は、1:nポーリングセレクション伝
送で子局がデータを伝送しない時、親局が古いデータを
検出し、受信しないことを目的とする。
Another object of the present invention is to prevent the master station from detecting old data and not receiving it when the slave station does not transmit data in the 1: n polling selection transmission.

[課題を解決するための手段] 上記各目的は、複数の局を環状に接続する伝送路に時
分割多重された複数チャネルで構成されるフレームを周
回して各局に接続された端末間でのデータ伝送を各局間
伝送に各々固定的に割り付けられたチャネルを使用して
行うデータ通信方法において、前記各チャネルをチャネ
ルヘッダと情報部とで構成し、該チャネルヘッダに、局
識別コードと監視ビットと情報有効ビットとパリティビ
ットを設け、受信局は受信したチャネルの局識別コード
が送信局の局識別コードのとき当該チャネルの情報部を
受信し、送信局でセット状態にされる監視ビットがセッ
ト状態のとき受信局は当該チャネルの情報部を受信して
該監視ビットをリセット状態にし、送信局で情報有効ビ
ットがセット状態にされ受信局で前記局識別コードまた
は前記監視ビットから異常データであり当該チャネルの
情報を受信しないと判定されたとき該受信局で情報有効
ビットをリセット状態にし、受信局は前記パリティビッ
トに基づき該当チャネルの前記チャネルヘッドのパリテ
ィチェックを行い正常の場合にのみ局識別コード,監視
ビット,情報有効ビットの変更を行うことで、達成され
る。
[Means for Solving the Problems] The above objects are achieved by terminals connected to each station circling a frame composed of a plurality of channels which are time-division multiplexed on a transmission line connecting a plurality of stations in a ring. In a data communication method for performing data transmission using channels fixedly allocated to inter-station transmissions, each of the channels is composed of a channel header and an information section, and the channel header includes a station identification code and a monitoring bit. , An information valid bit and a parity bit, and the receiving station receives the information portion of the channel when the station identification code of the received channel is the station identification code of the transmitting station, and sets the monitoring bit to be set by the transmitting station. In the state, the receiving station receives the information section of the channel and resets the monitoring bit, the information valid bit is set in the transmitting station, and the receiving station identifies the station. When it is determined from the code or the monitoring bit that the data is abnormal data and the information of the channel is not received, the information valid bit is reset at the receiving station, and the receiving station determines the parity of the channel head of the corresponding channel based on the parity bit. This is achieved by performing a check and changing the station identification code, monitor bit, and information valid bit only when the status is normal.

〔作用〕[Action]

チャネルヘッダに局識別コード,監視ビット,情報有
効ビット及びパリティビットを設け、局識別コードは二
局間で、あるいは送信局と受信局とであらかじめ設定し
ておく。監視ビットは、送信局でセット状態に、受信局
でリセット状態にされる。また情報有効ビットは送信局
でセット状態で送信され、受信局がチャネルヘッダから
正常か異常かを判定し、異常データの時は情報有効ビッ
トはリセット状態に変更される。
A station identification code, a monitor bit, an information valid bit, and a parity bit are provided in a channel header, and the station identification code is set in advance between two stations or between a transmitting station and a receiving station. The monitoring bit is set in the transmitting station and reset in the receiving station. The information valid bit is transmitted in a set state by the transmitting station, and the receiving station determines whether the channel header is normal or abnormal. If the data is abnormal, the information valid bit is changed to the reset state.

よって、同一チャネルを用いた二局間の両方向伝送で
は、受信した局識別コードが相手局の局識別コードと一
致すれば正常、自局の局識別コードに一致すれば異常で
あると判定し、情報有効ビットをリセット状態にする。
また、片方向伝送では、受信局が監視ビットをリセット
状態に変更し次の局へ送信する。従って、監視ビットが
リセット状態のデータは既に受信されたことを表してお
り、監視ビットがリセット状態のデータ受信時は情報有
効ビットをリセット状態にする。
Therefore, in two-way transmission between two stations using the same channel, if the received station identification code matches the station identification code of the partner station, it is determined to be normal, and if it matches the station identification code of its own station, it is determined to be abnormal, Reset the information valid bit.
In one-way transmission, the receiving station changes the monitoring bit to a reset state and transmits it to the next station. Therefore, the monitoring bit indicates that the data in the reset state has already been received, and when receiving the data in which the monitoring bit is in the reset state, the information valid bit is reset.

受信局が複数ある1:n伝送では、直下流受信局がチャ
ネルヘッダの内容判定を行い、結果に従いチャネルヘッ
ダを変更して次の局へ送信する。他の受信局は受信した
チャネルヘッダの情報有効ビットのセット/リセット状
態に従って受信するか否かを判定するが、チャネルヘッ
ダの変更は行わない。直下流受信局はチャネルヘッダの
内容からチャネル毎に決定される。
In 1: n transmission in which there are a plurality of receiving stations, the immediately downstream receiving station determines the content of the channel header, changes the channel header according to the result, and transmits it to the next station. Other receiving stations determine whether or not to receive according to the set / reset state of the information valid bit of the received channel header, but do not change the channel header. The immediately downstream receiving station is determined for each channel from the contents of the channel header.

両方向伝送か片方向伝送か、両方向伝送における二局
の局識別コード、片方向伝送における送信局と受信局の
区別をチャネル毎にモードレジスタに格納しておき、チ
ャネルを受信する毎にチャネルポインタが進み、該当す
るモードレジスタが読み出される。
Two-way transmission or one-way transmission, the two station identification codes in two-way transmission, and the distinction between the transmitting station and the receiving station in one-way transmission are stored in the mode register for each channel. Then, the corresponding mode register is read.

よって送信局が異常状態となり、同一データが伝送路
上を周回しても受信局が同じデータを複数回受信するこ
とがない。
Therefore, even if the transmitting station becomes abnormal and the same data circulates on the transmission path, the receiving station does not receive the same data a plurality of times.

〔実施例〕〔Example〕

以下、本発明の一実施例を第8図及び第9図により説
明する。
Hereinafter, one embodiment of the present invention will be described with reference to FIG. 8 and FIG.

伝送路1上を伝送されるフレームを構成しているチャ
ネルC1〜Clは各々第8図に示すように、チャネルヘッダ
CHと情報部Iとから成る。さらにチャネルヘッダCHは、
パリティビットP、局識別コードD、監視ビットM及び
情報有効ビットVを含む。本実施例では局識別コードD
は1ビットで説明するが、本発明ではビット長に制約は
ない。また、チャネルヘッダCH内はパリティビットP、
局識別コードD、監視ビットM及び情報有効ビットVの
順に配列されている場合を説明するが、本発明では配列
順序に制約はない。
Channel C 1 -C l constituting a frame to be transmitted on the transmission path 1 as is shown in each FIG. 8, the channel header
CH and information section I. Further, the channel header CH is
It includes a parity bit P, a station identification code D, a monitor bit M, and an information valid bit V. In this embodiment, the station identification code D
Is described with one bit, but there is no limitation on the bit length in the present invention. In the channel header CH, parity bits P,
The case where the station identification code D, the monitoring bit M, and the information valid bit V are arranged in this order will be described, but there is no restriction on the arrangement order in the present invention.

また、パリティビットPのチェック範囲は、局識別コ
ードD、監視ビットM及び情報有効ビットVで説明する
が、チャネルヘッダCHあるいはチャネルCHと情報部I全
てでもよい。また、パリティビットPは奇数パリティで
も偶数パリティでもよい。
The check range of the parity bit P will be described with the station identification code D, the monitor bit M, and the information valid bit V, but may be the channel header CH or the channel CH and the information section I. The parity bit P may be odd parity or even parity.

第8図に示すチャネルヘッダCH内の各ビット及び複数
受信局の中で送信局からのデータを第1番目に受信する
直下流受信局を示す直下流受信局フラグDNRの設定条件
を第9図をもとに説明する。
FIG. 9 shows the setting conditions of each bit in the channel header CH shown in FIG. 8 and the immediately downstream receiving station flag DNR indicating the immediately downstream receiving station which first receives data from the transmitting station among the plurality of receiving stations. It is explained based on.

局識別コードDは、後述するチャネル毎のモードレジ
スタで指定される送信局自身の識別コードであり、これ
がチャネルヘッダに設定され送信される。同一チャネル
使用の二局間両方向伝送で、必要であり第1の局が“1"
なら、他の局は“0"とする。受信局では、局識別コード
Dの変更は行わない。
The station identification code D is an identification code of the transmitting station itself specified by a mode register for each channel described later, and is set in a channel header and transmitted. Required for bidirectional transmission between two stations using the same channel and the first station is "1"
Then, the other stations are set to “0”. The receiving station does not change the station identification code D.

監視ビットMは、データ送信時に“1"で送信され、受
信局で“0"に変更後、次局へ送信される。これにより、
片方向伝送で送信局異常の場合データが更新されないこ
とを検出できる。
The monitoring bit M is transmitted as "1" at the time of data transmission, changed to "0" at the receiving station, and transmitted to the next station. This allows
It is possible to detect that the data is not updated when the transmitting station is abnormal in one-way transmission.

情報有効ビットVは、データ送信時にデータが有効で
あることを示す“1"をセットして送信される。受信局で
は、伝送モードにより次の2通りがある。同一チャネル
での1:1両方向伝送モードでは、受信した局識別コード
Dが相手局の局識別コードであれば相手局で正しく更新
されているので情報有効ビットVは変更なく“1"であ
る。しかし、受信した局識別コードDが自局の局識別コ
ードであれば、相手局でデータが更新されなく、自局の
送信したデータが伝送路1を一巡して戻ってきたことに
なり、正しいデータではない。従って情報有効ビットV
を“0"に変更する。
The information valid bit V is transmitted by setting “1” indicating that data is valid at the time of data transmission. The receiving station has the following two modes depending on the transmission mode. In the 1: 1 two-way transmission mode on the same channel, if the received station identification code D is the station identification code of the partner station, the information valid bit V is "1" without any change since the partner station has correctly updated it. However, if the received station identification code D is the station identification code of the own station, the data is not updated at the partner station, and the data transmitted by the own station has returned through the transmission line 1 and is correct. Not data. Therefore, the information valid bit V
To “0”.

片方向伝送モードの情報有効ビットVは、直下流受信
局でかつ監視ビットMが“0"の場合に、同じデータを複
数回受信することになり、“0"に変更され次局へ送信さ
れる。一方、直下流受信局でかつ監視ビットMが“0"の
場合以外では、情報有効ビットVを変更しない。すなわ
ちデータが送信され、一巡目は有効、二巡目で異常と判
断され無効に変更、三巡目以降も異常であるが既に“0"
に変更されているので変更しなくてよい。
When the information valid bit V in the one-way transmission mode is the immediately downstream receiving station and the monitoring bit M is "0", the same data is received a plurality of times, and is changed to "0" and transmitted to the next station. You. On the other hand, the information valid bit V is not changed except at the immediately downstream receiving station and when the monitoring bit M is “0”. That is, data is transmitted, the first round is valid, the second round is determined to be abnormal, and is changed to invalid, and the third and subsequent rounds are abnormal but already “0”
It does not need to be changed because it has been changed to

直下流受信局フラグDNRは片方向伝送モードで用い
る。受信局が1局の場合は、この受信局が常に直下流受
信局になる資格がある。一方、複数の受信局の伝送で
は、送信局から第1番目に受信する局が直下流受信局と
なるが、直下流受信局が異常になった場合、他の受信局
の中から直下流受信局になる局を選択し、新しい直下流
受信局が受信データの正常、異常を判定する。従って直
下流受信局は、片方向伝送であれば受信局数が1局でも
複数局でも同じに扱う。
The immediately downstream receiving station flag DNR is used in the one-way transmission mode. If there is only one receiving station, this receiving station is always eligible to be the immediate downstream receiving station. On the other hand, in the transmission of a plurality of receiving stations, the first receiving station from the transmitting station is the direct downstream receiving station, but if the direct downstream receiving station becomes abnormal, the direct downstream receiving station is selected from other receiving stations. The station to be the station is selected, and the new immediately downstream receiving station determines whether the received data is normal or abnormal. Accordingly, the direct downstream receiving station treats the number of receiving stations as one or a plurality of stations in the case of one-way transmission in the same manner.

直下流受信局フラグDNRは、送信局が送信した監視ビ
ットMを受信し、“1"である毎にセットされる。監視ビ
ットMは受信局で“0"に変更されるので、他の受信局が
直下流受信局にはなり得ない。
The immediately downstream receiving station flag DNR is set each time the monitoring bit M transmitted by the transmitting station is received and is "1". Since the monitoring bit M is changed to "0" at the receiving station, another receiving station cannot be a direct downstream receiving station.

送信されたデータが、一巡目は全ての受信局で受信さ
れる。送信局がデータを送信した後、異常が発生する
と、同じデータは二巡するが、直下流受信局で情報有効
ビットVがリセットされるため、受信しない。
The transmitted data is received by all the receiving stations in the first round. If an error occurs after the transmitting station has transmitted the data, the same data makes two rounds, but is not received because the information valid bit V is reset at the immediately downstream receiving station.

直下流受信局フラグDNRは、直下流受信局でかつ監視
ビットMがリセットかつ情報有効ビットVがリセットの
場合のチャネルヘッダでリセットされる。すなわち、同
じデータが三巡すると直下流受信局フラグDNRはリセッ
トされる。
The immediately downstream receiving station flag DNR is reset by the channel header when the monitoring bit M is reset and the information valid bit V is reset at the immediately downstream receiving station. In other words, when the same data has made three rounds, the immediately downstream receiving station flag DNR is reset.

伝送路1には、伝送路一巡距離と伝送速度とから、1
個あるいは複数個のフレームが連続して巡回する。複数
個のフレームが巡回する場合、伝送路上にある各フレー
ムの同じチャネルのデータが送信される。送信局が異常
になると、伝送路上にある全フレームの該当チャネルの
情報有効ビットVを“0"にする。このため直下流受信局
フラグは、異常データが三巡する期間、セット状態にす
る。
The transmission line 1 has a value of 1
One or a plurality of frames continuously circulate. When a plurality of frames circulate, data of the same channel of each frame on the transmission path is transmitted. When the transmitting station becomes abnormal, the information valid bit V of the corresponding channel of all frames on the transmission path is set to "0". For this reason, the immediately downstream receiving station flag is set to the set state during a period in which the abnormal data makes three rounds.

パリティビットPは、送信局で局識別コードD、監視
ビットM及び情報有効ビットVとから、奇数パリティの
場合、次式で求められる。
The parity bit P is obtained from the station identification code D, the monitoring bit M, and the information valid bit V at the transmitting station in the case of an odd parity by the following equation.

受信局では、受信したチャネルヘッダCHの各ビットよ
りパリティチェックを行い、正常の場合各ビットの判定
・変更を行う。パリティエラーの場合には変更しない。
パラフィンワックスが正常の場合、新しいパリティビッ
トは、局識別コードD、変更された監視ビットMCと情報
有効ビットVCを用いる から生成され、次局へ送信される。
The receiving station performs a parity check from each bit of the received channel header CH, and if normal, determines / changes each bit. Do not change in the case of a parity error.
If paraffin wax is normal, the new parity bits, station identification code D, using the effective bit V C monitored bit M C and information that has changed And transmitted to the next station.

前述した第8図のチャネルヘッダCH内の各ビット及び
直下流受信局フラグの真理値が第9図に示しており、こ
れを実現する回路例を第1図及び第10図を用いて説明す
る。
Each bit in the channel header CH and the truth value of the immediately downstream receiving station flag shown in FIG. 8 are shown in FIG. 9, and a circuit example for realizing this will be described with reference to FIGS. 1 and 10. .

ループ状の伝送路1に局S1〜S6が第1図に示す順に接
続されている。各局には端末が接続され、局S1には端末
T1及びT2の2台が接続されているが、端末の接続台数に
制約はない。
The stations S1 to S6 are connected to the loop transmission line 1 in the order shown in FIG. A terminal is connected to each station, and a terminal is connected to station S1.
Although T1 and T2 are connected, there is no restriction on the number of connected terminals.

局S1〜S6は同じ構成であり、第1図では局S1を用いて
説明する。
The stations S1 to S6 have the same configuration, and the description will be made using the station S1 in FIG.

伝送路1から受信したシリアルデータは、波形整形、
タイミングクロック抽出を行うレシーバ2を介して、パ
ラレルデータ変換、フレーム同期信号やチャネル同期信
号の抽出を行う直並列変換回路3に入力される。
The serial data received from the transmission path 1 is subjected to waveform shaping,
The data is input to a serial / parallel conversion circuit 3 that performs parallel data conversion and extracts a frame synchronization signal and a channel synchronization signal via a receiver 2 that extracts a timing clock.

直並列変換回路3からはチャネル毎に受信したチャネ
ルヘッダである受信ヘッダCHRがヘッダ判定変更回路4
へ、受信した受信情報部IRが受信したデータを格納する
受信バッファ5及びセレクタ8に入力される。タイミン
グ制御回路11は、直並列変換回路3で抽出されたフレー
ム同期信号とチャネル同期信号をもとにして、チャネル
毎のモードを格納しているモードレジスタ12と直下流受
信局フラグのレジスタ39のチャネル毎の選択をするモー
ド指令22、受信バッファへの格納、読み出しを指示する
バッファ指令21及び端末からの送信データ格納・読み出
しを指示するバッファ指令23を出力する。
From the serial-parallel conversion circuit 3, a reception header CH R, which is a channel header received for each channel, is converted into a header determination change circuit 4
To, receiving information part I R received is input to the reception buffer 5 and the selector 8 stores the received data. Based on the frame synchronization signal and the channel synchronization signal extracted by the serial / parallel conversion circuit 3, the timing control circuit 11 stores the mode register 12 storing the mode for each channel and the register 39 of the immediately downstream reception station flag. It outputs a mode command 22 for selecting each channel, a buffer command 21 for instructing storage and reading in the reception buffer, and a buffer command 23 for instructing storage and reading of transmission data from the terminal.

モードレジスタ12には、あらかじめ各チャネルの伝送
モード、自局の局識別コードが格納されており、モード
指令22毎に次のチャネルのモードレジスタをアクセス
し、モード24及び自局識別コード25を、ヘッダ判定変更
回路4へ出力する。また自局識別コード25はヘッダ生成
回路13へも出力される。
In the mode register 12, the transmission mode of each channel and the station identification code of the own station are stored in advance, and the mode register of the next channel is accessed for each mode command 22, and the mode 24 and the own station identification code 25 are read. Output to the header determination change circuit 4. The own station identification code 25 is also output to the header generation circuit 13.

ヘッダ判定変更回路4は、第9図に示す処理を実行す
るもので、第10図を用いて実施例を説明する。
The header determination change circuit 4 executes the processing shown in FIG. 9, and an embodiment will be described with reference to FIG.

受信した受信ヘッダCHRは、直並列変換回路3から出
力され、パリティビットPはパリティチェック回路31及
び第4セレクタ44へ入力される。また局識別コードDは
パリティチェック回路31,一致判定回路33及びパリティ
生成回路43に入力され、さらにヘッダ判定変更回路4の
出力である新ヘッダCHCの局識別コードとなる。
The received reception header CH R is output from the serial / parallel conversion circuit 3, and the parity bit P is input to the parity check circuit 31 and the fourth selector 44. The station identification code D parity check circuit 31 is inputted to the coincidence judgment circuit 33 and the parity generation circuit 43, a further station identification code of the new header CH C which is the output of the header determining changing circuit 4.

監視ビットMは、パリティチェック回路31、第1セレ
クタ34、インバータ36、アンド回路36、他のアンド回路
40に入力される。情報有効ビットVは、パリティチェッ
ク回路31、インバータ35、第2セレクタ41及び第3セレ
クタ42に入力される。
The monitoring bit M is transmitted to the parity check circuit 31, the first selector 34, the inverter 36, the AND circuit 36, and other AND circuits.
Entered in 40. The information valid bit V is input to the parity check circuit 31, the inverter 35, the second selector 41, and the third selector 42.

パリティチェック回路31は受信したチャネルヘッダが
正しいか否かの判断を行うもので、正しい場合には判定
変更を行うが、パリティエラーの場合には、受信したヘ
ッダCHRをそのままヘッダ判定変更回路の出力である新
ヘッダCHCとする。パリティチェック回路31のチェック
結果であるヘッダ正常45は、正しい場合に“1"レベル、
パリティエラーの場合に“0"レベルとなり、第1セレク
タ34、第3セレクタ32及び第4セレクタ44の選択指示信
号の入力となり、さらにアンド回路37,38に入力され
る。
But the parity check circuit 31 to perform the determination whether the channel received header is correct, performs the determination changes if correct, in case of parity error, header CH R a header determining changing circuit as received The output is a new header CH C. The header normal 45, which is the check result of the parity check circuit 31, is “1” level when correct.
In the case of a parity error, the signal becomes “0” level, becomes an input of a selection instruction signal of the first selector 34, the third selector 32, and the fourth selector 44, and is further input to AND circuits 37 and 38.

一致判定回路33には受信ヘッダCHRの局識別コードD
と、モードレジスタ12からの自局識別コード25をインバ
ータ32で反転した信号との一致を判定する。一致すると
“1"、不一致の場合“0"を出力し第2セレクタ41に入力
され、モードレジスタ12から読み出されたモード24が同
一チャネル両方向伝送の場合に第2セレクタ41の出力と
なり、さらにヘッダ正常45が“1"レベルとあると第3セ
レクタ42の出力である新情報有効ビットVCとなる。すな
わち、受信したデータが相手局からのものであれば新情
報有効ビットVCは“1"、相手局が異常になり自局送信の
データが伝送路1を一巡してもどってきた場合には新情
報有効ビットVCは“0"となる。
Station identification code D of the match determining circuit 33 receives the header CH R
And a signal obtained by inverting the own station identification code 25 from the mode register 12 by the inverter 32 is determined. If they match, they output "1", and if they do not match, they output "0" and are input to the second selector 41. If the mode 24 read from the mode register 12 is the same-channel two-way transmission, it becomes the output of the second selector 41. header normal 45 is new information valid bit V C which is the output of the third selector 42 when there is "1" level. That is, when the received data is new information valid bit V C as long as from the partner station is "1", the data of the local transmission becomes other station abnormality came back after searching the transmission path 1 new information valid bit V C is "0".

第1セレクタ34は、ヘッダ正常45が“1"の場合は“0"
を、“0"の場合すなわちパリティエラーの場合受信した
監視ビットMを出力し新監視ビットMCとする。従ってデ
ータを受信したら、監視ビットMを“0"にする。
The first selector 34 is “0” when the normal header 45 is “1”.
The outputs when That monitoring bit M received when the parity error "0" to the new monitoring bits M C. Therefore, when data is received, the monitoring bit M is set to "0".

直下流受信局フラグDNRを記憶するレジスタ39は、チ
ャネル数分であり、モード指令22で選択された1ケが動
作しヘッダ正常45が“1"、モード24が片方向伝送を示し
て“1"、かつ監視ビットMが“1"の場合にアンド回路37
の出力が“1"レベルとなり、モード指令22で選択された
1ケのレジスタが“1"にセットされる。一方、モード指
令22で選択された1ケのレジスタ39の出力が第5セレク
タ46を経由して“1"すなわち直下流受信局フラグDNRが
セットされていて、ヘッダ正常45が“1"、モード24が
“1"、さらに監視ビットMと情報有効ビットVが両方共
“0"の場合、アンド回路38の条件が成立してレジスタ39
がリセットされ、直下流受信局でなくなる。
The register 39 for storing the immediately downstream receiving station flag DNR corresponds to the number of channels, one of which is selected by the mode command 22 operates, the header normal 45 indicates "1", and the mode 24 indicates one-way transmission and indicates "1". And the monitoring bit M is “1”, the AND circuit 37
Becomes "1" level, and one register selected by the mode command 22 is set to "1". On the other hand, the output of one register 39 selected by the mode command 22 is "1" via the fifth selector 46, that is, the immediately downstream receiving station flag DNR is set, and the header normal 45 is "1". When 24 is "1" and the monitoring bit M and the information valid bit V are both "0", the condition of the AND circuit 38 is satisfied and the register 39
Is reset, and it is no longer the immediate downstream receiving station.

レジスタ39の出力はアンド回路40の他の入力と第2セ
レクタ41の他の選択信号入力及びアンド回路38の入力と
なる。モード24が“1"すなわち片方向伝送でかつ直下流
受信局フラグDNRが“1"の場合は受信した監視ビットM
がアンド回路40及び第2セレクタ41を介してヘッダ正常
45が“1"であると第3セレクタ42の出力となり新情報有
効ビットVcとなる。したがって、直下流受信局で受信し
た監視Mが“1"であれば正常なデータであり、監視ビッ
トMが“0"であれば、異常データと判断する。
The output of the register 39 becomes another input of the AND circuit 40, another selection signal input of the second selector 41, and an input of the AND circuit 38. If the mode 24 is "1", that is, one-way transmission and the immediately downstream receiving station flag DNR is "1", the received monitoring bit M
Is normal via the AND circuit 40 and the second selector 41
If 45 is "1", it becomes the output of the third selector 42 and becomes the new information valid bit Vc. Therefore, if the monitoring M received by the immediately downstream receiving station is "1", the data is normal, and if the monitoring bit M is "0", the data is determined to be abnormal data.

また、モード24が“1"すなわち片方向伝送の場合で直
下流受信局フラグDNRが“0"の場合は、受信した情報有
効ビットVがそのまま第2セレクタ41の出力となり、ヘ
ッダ正常45が“1"であると第3セレクタ42の出力とな
る。したがって、片方向伝送で直下流受信局でない受信
局は、データの正常/異常を表わす情報有効ビットの変
更をしない。
When the mode 24 is "1", that is, in the case of one-way transmission and the immediately downstream receiving station flag DNR is "0", the received information valid bit V becomes the output of the second selector 41 as it is, and the header normality 45 becomes "1". If it is 1 ", the output of the third selector 42 is obtained. Therefore, a receiving station that is not a direct downstream receiving station in one-way transmission does not change the information valid bit indicating normal / abnormal data.

新しく生成された新監視ビットMC、新情報有効ビット
VC及び受信した局識別コードDはパリティ生成回路43に
入力され、パリティビットが生成される。パリティ生成
回路43の出力は第4セレクタ44に入力され、ヘッダ正常
45が“1"であれば第4セレクタ44で選択され、新パリテ
ィビットPCとなる。一方、ヘッダ正常45が“0"の場合
は、受信したパリティPが第4セレクタ44で選択され、
出力される。
Newly generated new monitoring bit M C , new information valid bit
V C and received station identification code D is input to the parity generation circuit 43, parity bits are generated. The output of the parity generation circuit 43 is input to the fourth selector 44 and the header is normal.
45 is selected by the fourth selector 44 if "1", the new parity bit P C. On the other hand, when the header normality 45 is “0”, the received parity P is selected by the fourth selector 44,
Is output.

第10図のレジスタ39はチャネルの数だけ必要であり、
これをランダムアクセスメモリで実現してもよい。
Register 39 in FIG. 10 is required for the number of channels,
This may be realized by a random access memory.

第1図のヘッダ判定変更回路4の出力である新ヘッダ
CHCは、第10図で示す新パリティビットPC、局識別コー
ドD、新監視ビットMC及び新情報有効ビットVCから成
り、受信バッファ5に直並列変換回路3の出力である受
信情報部IRと共に格納される。受信バッファ5の内容
は、バッファ指令21で指示されると読み出され、バス27
を介して端末T1あるいは端末T2に入力される。
New header which is the output of the header determination change circuit 4 in FIG.
CH C, the new parity bit P C shown in FIG. 10, station identification code D, the new monitoring consists bit M C and new information valid bit V C, the received information is the output of the serial-parallel conversion circuit 3 to the reception buffer 5 stored with part I R. The contents of the reception buffer 5 are read out when instructed by the buffer command 21, and are read by the bus 27.
Is input to the terminal T1 or the terminal T2 via the.

次に送信側について第1図を参照して説明する。端末
T1あるいは端末T2から送信される情報はバス27を開始、
送信バッファ6に格納される。格納されたデータのう
ち、バッファ指令23によりチャネルに該当するデータが
新情報部INとして出力され、セレクタ8に入力される。
セレクタ8の他の入力には受信情報部IRが接続され、送
信バッファ6の他の出力である選択指令26によりセレク
タ8の出力が選択される。
Next, the transmitting side will be described with reference to FIG. Terminal
Information transmitted from T1 or terminal T2 starts bus 27,
The data is stored in the transmission buffer 6. Among stored data, data corresponding to the channel is output as a new information unit I N by the buffer command 23 is input to the selector 8.
The other input of the selector 8 receives information part I R is connected, the output of the selector 8 is selected by the other output is selected command 26 of the transmission buffer 6.

また、モードレジスタ12から出力される時局識別コー
ド25を介して、ヘッダ生成回路13でチャネルヘッダCHの
パリティビットP、局識別コードD、監視ビットM及び
情報有効ビットVが生成され、生成ヘッダCHGとしてセ
レクタ7の一方の入力に接続される。ここで、監視ビッ
トM及び情報有効ビットVは“1"である。セレクタ7の
他の入力はヘッダ判定変更回路4で生成される新ヘッダ
CHCであり、選択指令26によりいずれかが選択される。
Further, the parity bit P, the station identification code D, the monitoring bit M, and the information valid bit V of the channel header CH are generated by the header generation circuit 13 via the station identification code 25 output from the mode register 12, and the generated header is generated. CH G is connected to one input of the selector 7. Here, the monitoring bit M and the information valid bit V are “1”. The other input of the selector 7 is a new header generated by the header determination change circuit 4.
CH C , one of which is selected by the selection command 26.

セレクタ7,8は、接続されている端末T1,T2がデータを
送信するチャネルでは選択指令26により生成ヘッダCHG
と新情報部INを選択し、端末T1,T2のデータを送信しな
いチャネルでは受信したデータを変更した新ヘッダCHC
と受信情報部IRを選択する。
The selectors 7 and 8 output the generated header CH G by the selection command 26 on the channel to which the connected terminals T 1 and T 2 transmit data.
And select the new information unit I N, the new header CH C changing the received data in the channel which does not transmit the data of the terminal T1, T2
Selecting a received information portion I R and.

セレクタ7及び8の出力である送信ヘッダCHT及び送
信情報部ITは送信するデータであり、並直列変換回路9
でシリアルデータに変換された後、ドライバ10を経由し
て局S1から伝送路1へ送信され、次局S2へ伝送される。
Transmission header CH T and transmitting information section I T, which is the output of the selector 7 and 8 are data to be transmitted, the parallel-serial conversion circuit 9
Is transmitted to the transmission line 1 from the station S1 via the driver 10 and transmitted to the next station S2.

チャネルヘッダCH内の各ビットの状態例を第11図及び
第12図を参照して説明する。第11図では第4図での伝送
1である局S1と局S4が1ケのチャネルを用いて両方向伝
送する例を、第12図では伝送4である局S6が送信局で、
局S1と局S3が受信局である1:nの片方向伝送の例を示
す。両図共、4ビットの1、0の数字列は、奇数パリテ
ィビットP、局識別コードD、監視ビットM及び情報有
効ビットVの値を順に表わす。また、図中の○印はその
局でデータを受信することを、×印はデータを受信しな
いことを表わす。また、説明を簡単にするために、ここ
では、パリティエラーは発生しないとして説明する。
An example of the state of each bit in the channel header CH will be described with reference to FIGS. 11 and 12. FIG. 11 shows an example in which the stations S1 and S4, which are the transmission 1 in FIG. 4, perform bidirectional transmission using one channel. In FIG. 12, the station S6, which is the transmission 4, is a transmitting station.
An example of one-way transmission of 1: n in which the stations S1 and S3 are receiving stations will be described. In both figures, a 4-bit 1, 0 numeral string indicates the values of the odd parity bit P, the station identification code D, the monitor bit M, and the information valid bit V in order. In the drawing, a circle indicates that data is received at the station, and a cross indicates that data is not received. Further, for simplicity of description, here, it is assumed that no parity error occurs.

第11図では局S1、S4両者共正常、局S4が異常、逆に局
S1が異常の場合を示す。
In FIG. 11, stations S1 and S4 are both normal, station S4 is abnormal,
This shows the case where S1 is abnormal.

局識別コードDは、局S1では“0"、局S4では“1"とす
る。まず時刻t1で局S1はチャネルヘッダCHとして“101
1"を送信する。局S4はこれを受信すると、局識別コード
Dが“0"であり相手局の局識別コードであり、正しく局
S1が送信したデータと判定して、監視ビットMを“0"
に、情報有効ビットVはそのまま“1"で新ヘッダCHC“0
001"を生成し、データを受信する。局S4は自局の局識別
コードDが“1"であるので、“0111"を送信する。これ
を受信した局S1は局識別コードDが相手局の局識別コー
ドに一致しているので、正しいデータと判定し受信す
る。
The station identification code D is "0" at the station S1 and "1" at the station S4. First station at time t 1 S1 "101 is a channel header CH
When the station S4 receives this, the station identification code D is "0", which is the station identification code of the partner station, and
Judges that the data is transmitted by S1, and sets the monitoring bit M to "0".
In addition, the information valid bit V remains “1” and the new header CH C “0”
001 "is generated and the data is received. The station S4 transmits" 0111 "because the station identification code D of the own station is" 1 ". Therefore, it is determined that the data is correct and received.

続いて、局S1がデータを送信するが、時刻t2に局S4が
異常となると、S1が受信したデータのチャネルヘッダCH
は、送信した値と同じになる。局S1は受信した局識別コ
ードDが自局を示していることからデータは誤っている
と判定して情報有効ビットVを“0"にする。従って局S1
はデータを受信しない。
Subsequently, the station S1 is to send data, the station S4 is a time t 2 becomes abnormal, the data S1 is received channel header CH
Will be the same as the value sent. The station S1 determines that the data is incorrect because the received station identification code D indicates its own station, and sets the information valid bit V to "0". So station S1
Does not receive data.

時刻t3以降では、局S1が異常で局S4が正常の場合を示
す。局S4はチャネルヘッダCHを“0111"で送信し、同じ
データを受信する。受信した局識別コードDが自局に一
致するので誤ったデータと判定して情報有効ビットVを
“0"に変更し、受信しない。
In time t 3 after the station S1 is abnormal and station S4 is showing the case of normal. The station S4 transmits the channel header CH with “0111” and receives the same data. Since the received station identification code D matches the own station, it is determined that the data is erroneous, the information valid bit V is changed to "0", and no data is received.

次に第12図を用いて、片方向伝送の例を説明する。送
信局S6の局識別コードDを“0"とする。
Next, an example of one-way transmission will be described with reference to FIG. The station identification code D of the transmitting station S6 is set to “0”.

時刻t1からt2は局S6,S1,S3全てが正常の場合で、局S6
はチャネルヘッダCHを“1011"で送信する。第1番目の
受信局S1は、監視ビットMが“1"で直下流受信局フラグ
DNRが“0"であるので、受信した情報有効ビットVがそ
のまま新しい情報有効ビットVCとなり、データを受信す
る。また監視ビットMは“0"に変更され、また直下流受
信局フラグDNRが“1"にセットされる。受信局S1は新し
くチャネルヘッダCHとして“0001"を次局へ送信する。
第2番目の受信局S3は、受信したチャネルヘッダCHの監
視ビットMが“0"であるので直下流受信局にならない。
また情報有効ビットVが“1"であるので受信する。次局
へは受信したチャネルヘッダと同じ内容を送信する。
Time t 1 from t 2 is the station S6, S1, S3 all in the case of normal, the station S6
Transmits the channel header CH as “1011”. The first receiving station S1 has a monitoring bit M of "1" and the immediately downstream receiving station flag.
Since DNR is "0", the received information valid bit V is as new information valid bit V C, and the receive data. The monitoring bit M is changed to "0", and the immediately downstream receiving station flag DNR is set to "1". The receiving station S1 newly transmits "0001" as the channel header CH to the next station.
The second receiving station S3 does not become the immediately downstream receiving station because the monitoring bit M of the received channel header CH is “0”.
Since the information valid bit V is "1", it is received. The same contents as the received channel header are transmitted to the next station.

いま時刻t2で送信局S6が異常になると、受信局S3が送
信したデータは送信局S6で更新されなく、受信局S1は
“0001"を受信する。受信局S1は直下流受信局であるの
で、受信した監視ビットMが“0"であることから既に受
信したデータが二巡したと判定し、情報有効ビットVを
“0"に変更する。またデータを受信しない。
When the transmission station in S6 now time t 2 becomes abnormal, data receiving station S3 is transmitted is not updated at the transmitting station S6, the receiving station S1 is receiving the "0001". Since the receiving station S1 is the immediately downstream receiving station, the received monitoring bit M is "0", so that it is determined that the already received data has made two rounds, and the information valid bit V is changed to "0". No data is received.

次の受信局S3は情報有効ビットVが“0"であるから受
信しない。
The next receiving station S3 does not receive because the information valid bit V is "0".

さらにデータが一巡して受信局S1がデータを受信する
と、監視ビットM及び情報有効ビットVが“0"であるの
で直下流受信局フラグDNRを“0"にリセットする。
Further, when the receiving station S1 receives the data by making a further round of data, the monitoring bit M and the information valid bit V are "0", so that the immediately downstream receiving station flag DNR is reset to "0".

時刻t3で送信局S6が正常に復帰すると、送信局S6は再
びチャネルヘッダCHとして“1011"を送信する。第1番
目の受信局S1はデータを受信して、監視ビットMを“0"
に変更する。再び直下流受信局フラグDNRを“1"にセッ
トする。
When the transmission station in S6 the time t 3 is restored successfully, the transmitting station S6 sends a "1011" as the channel header CH again. The first receiving station S1 receives the data and sets the monitoring bit M to “0”.
Change to The immediately downstream receiving station flag DNR is set to "1" again.

受信局S1が異常になった場合は、第1番目の受信局と
なる局S3が直下流受信局となる。
When the receiving station S1 becomes abnormal, the first receiving station S3 becomes the immediately downstream receiving station.

また、第4図の伝送1である1:1の片方向伝送では、
第12図の受信局S3がない場合に該当し、常に局S1が直下
流受信局になる。
In the transmission 1 shown in FIG. 4, which is 1: 1 one-way transmission,
This corresponds to the case where there is no receiving station S3 in FIG. 12, and the station S1 is always the immediately downstream receiving station.

上記の説明から本実施例では、同一データが周回する
と受信局がデータを受信せず、正しいデータのみ受信す
ることができる。
As described above, in the present embodiment, when the same data circulates, the receiving station does not receive the data but can receive only the correct data.

尚、伝送形態が全て同一チャネルを用いる両方向伝送
の場合は、パリティビットPと局識別コードDでチャネ
ルヘッダを構成しても、本発明の効果を得られる。
When the transmission mode is bidirectional transmission using the same channel, the effect of the present invention can be obtained even if a channel header is configured with the parity bit P and the station identification code D.

更に、伝送形態が全て1:1の片方向伝送では、パリテ
ィビットPと監視ビットMでチャネルヘッダを構成して
も、本発明の効果を得られる。なお、直下流受信局の判
定・設定は不要である。
Further, in the one-way transmission in which the transmission mode is all 1: 1, the effect of the present invention can be obtained even if the channel header is configured by the parity bit P and the monitoring bit M. It is not necessary to determine and set the immediately downstream receiving station.

更に、伝送形態が全て1:nポーリングセレクション伝
送あるいは1:nブロードキャスト伝送では、パリティビ
ットP、監視ビットM及び情報有効ビットVでチャネル
ヘッダを構成しても、本発明の効果を得られる。
Further, in the case where the transmission mode is all 1: n polling selection transmission or 1: n broadcast transmission, the effect of the present invention can be obtained even if the channel header is constituted by the parity bit P, the monitoring bit M and the information valid bit V.

〔発明の効果〕〔The invention's effect〕

本発明によれば、チャネルヘッダを設けて判定変更す
ることにより、送信異常による周回データの受信を禁止
できる効果がある。
ADVANTAGE OF THE INVENTION According to this invention, there exists an effect which can prohibit reception of circulation data by transmission abnormality by providing a channel header and changing determination.

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

第1図は本発明の一実施例の構成図、第2図はループ伝
送の構成図、第3図は第2図の伝送路上を流れるフレー
ム構成図、第4図はチャネル使用例図、第5図は第4図
の伝送のチャネルのタイムチャート、第6図は従来例の
チャネルフォーマット、第7図は従来の伝送方式を示す
伝送構成図、第8図は本発明の一実施例のチャネルフォ
ーマット、第9図は第8図のチャネルヘッダの真理値
表、第10図は第1図のヘッダ判定変更回路図、第11図は
両方向伝送における第8図のビット遷移図、第12図は片
方向伝送における第8図のビット遷移図である。 S1〜S6……局、T1〜T12……端末、1……伝送路、CH…
…チャネルヘッダ、D……局識別コード、M……監視ビ
ット、V……情報有効ビット、DNR……直下流受信局、
P……パリティビット。
FIG. 1 is a block diagram of one embodiment of the present invention, FIG. 2 is a block diagram of loop transmission, FIG. 3 is a block diagram of a frame flowing on a transmission line in FIG. 2, FIG. 5 is a time chart of the transmission channel of FIG. 4, FIG. 6 is a conventional channel format, FIG. 7 is a transmission configuration diagram showing a conventional transmission system, and FIG. 8 is a channel of one embodiment of the present invention. Format, FIG. 9 is a truth table of the channel header of FIG. 8, FIG. 10 is a circuit diagram of the header decision changing circuit of FIG. 1, FIG. 11 is a bit transition diagram of FIG. 8 in bidirectional transmission, and FIG. FIG. 9 is a bit transition diagram of FIG. 8 in one-way transmission. S1 to S6 station, T1 to T12 terminal, 1 transmission line, CH
... channel header, D ... station identification code, M ... monitoring bit, V ... information valid bit, DNR ... immediately downstream receiving station,
P: parity bit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岡田 政和 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 冨沢 宏 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 小川 尚雄 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 村本 徹 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 安元 精一 茨城県日立市大みか町5丁目2番1号 株式会社日立製作所大みか工場内 (72)発明者 小山 行雄 茨城県日立市日高町5丁目1番地 日立 電線株式会社日高工場内 (56)参考文献 特開 昭59−21151(JP,A) 特開 昭62−286337(JP,A) 特開 昭62−82745(JP,A) 特開 昭62−82746(JP,A) 特開 平3−139039(JP,A) 電子情報通信学会技術研究報告(信学 技報)Vol.87,No.218 IN87 −51 滝安美弘 他:「基幹LAN用ス ロットアクセス方式の検討」 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Masakazu Okada 5-2-1 Omikacho, Hitachi City, Ibaraki Prefecture Inside the Omika Plant, Hitachi, Ltd. (72) Inventor Hiroshi Tomizawa 5-2-2 Omikacho, Hitachi City, Ibaraki Prefecture No. 1 Inside the Hitachi, Ltd. Omika Plant (72) Inventor Nao Ogawa 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Inside the Hitachi Ltd. Omika Plant (72) Inventor Toru Muramoto 5 Omika-cho, Hitachi City, Ibaraki Prefecture Chome 2-1 Hitachi, Ltd. Omika Plant (72) Inventor Seiichi Yasumoto 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Hitachi, Ltd. Omika Plant (72) Inventor Yukio Koyama Hitachi, Ibaraki Prefecture 5-1-1, Hidaka-cho, Hitachi City, Hidaka Works, Hitachi Cable, Ltd. (56) References JP-A-59-21151 (JP, A) JP-A-62 286337 (JP, A) JP-A-62-82745 (JP, A) JP-A-62-82746 (JP, A) JP-A-3-139039 (JP, A) IEICE Technical Report (IEICE Technical Report) Report) Vol. 87, No. 218 IN87-51 Yasuhiro Taki et al .: "Study on slot access method for backbone LAN"

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の局を環状に接続する伝送路に時分割
多重された複数チャネルで構成されるフレームを周回し
て各局に接続された端末間でのデータ伝送を各局間伝送
に各々固定的に割り付けられたチャネルを使用して行う
データ通信方法において、前記各チャネルをチャネルヘ
ッダと情報部とで構成し、該チャネルヘッダに、局識別
コードと監視ビットと情報有効ビットとパリティビット
を設け、受信局は受信したチャネルの局識別コードが送
信局の局識別コードのとき当該チャネルの情報部を受信
し、送信局でセット状態にされる監視ビットがセット状
態のとき受信局は当該チャネルの情報部を受信して該監
視ビットをリセット状態にし、送信局で情報有効ビット
がセット状態にされ受信局で前記局識別コードまたは前
記監視ビットから異常データであり当該チャネルの情報
を受信しないと判定されたとき該受信局で情報有効ビッ
トをリセット状態にし、受信局は前記パリティビットに
基づき該当チャネルの前記チャネルヘッドのパリティチ
ェックを行い正常の場合にのみ局識別コード,監視ビッ
ト,情報有効ビットの変更を行うことを特徴とするデー
タ通信方法。
A data transmission between terminals connected to each station by circling a frame composed of a plurality of channels time-division multiplexed on a transmission line connecting a plurality of stations in a ring is fixed to transmission between the respective stations. In a data communication method performed using channels that are temporarily allocated, each of the channels includes a channel header and an information section, and the channel header is provided with a station identification code, a monitor bit, an information valid bit, and a parity bit. The receiving station receives the information part of the channel when the station identification code of the received channel is the station identification code of the transmitting station, and when the monitoring bit set in the transmitting station is set, the receiving station The information part is received and the monitor bit is reset, the information valid bit is set in the transmitting station, and the receiving station receives the information from the station identification code or the monitor bit. When it is determined that the data is normal data and the information of the corresponding channel is not received, the information valid bit is reset at the receiving station, and the receiving station performs a parity check of the channel head of the corresponding channel based on the parity bit and is normal. A data communication method characterized in that a station identification code, a monitoring bit, and an information valid bit are changed only in a data communication system.
【請求項2】請求項1において、送信局と受信局の局識
別コードが互いに補数の関係にあることを特徴とするデ
ータ通信方法。
2. The data communication method according to claim 1, wherein the station identification codes of the transmitting station and the receiving station have a complement relationship with each other.
JP1250533A 1989-09-28 1989-09-28 Data communication method Expired - Lifetime JP2731430B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1250533A JP2731430B2 (en) 1989-09-28 1989-09-28 Data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1250533A JP2731430B2 (en) 1989-09-28 1989-09-28 Data communication method

Publications (2)

Publication Number Publication Date
JPH03114330A JPH03114330A (en) 1991-05-15
JP2731430B2 true JP2731430B2 (en) 1998-03-25

Family

ID=17209316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1250533A Expired - Lifetime JP2731430B2 (en) 1989-09-28 1989-09-28 Data communication method

Country Status (1)

Country Link
JP (1) JP2731430B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5921151A (en) * 1982-07-28 1984-02-03 Nec Corp Loop type data transmission system
JPS6248149A (en) * 1985-08-27 1987-03-02 Nec Corp On-line test method for line switching data
JPS6282746A (en) * 1985-10-07 1987-04-16 Fujitsu Ltd Counter control type packet reservation system
JPS6282754A (en) * 1985-10-08 1987-04-16 Nec Corp Facsimile equipment
JPS62286337A (en) * 1986-06-05 1987-12-12 Hitachi Cable Ltd Communication system
JPS6464435A (en) * 1987-09-04 1989-03-10 Hitachi Ltd Slot access control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会技術研究報告(信学技報)Vol.87,No.218 IN87−51 滝安美弘 他:「基幹LAN用スロットアクセス方式の検討」

Also Published As

Publication number Publication date
JPH03114330A (en) 1991-05-15

Similar Documents

Publication Publication Date Title
EP0147644B1 (en) Token ring with secondary transmit opportunities
US4792947A (en) Method of multi-address communication
US4390984A (en) Status check method for a data transmission system
US4716408A (en) Data transmission system of the star type with enablement passing
US4532625A (en) Communications network status information system
EP0228629A2 (en) Time-division multiplexing communication system
EP0100662A2 (en) Digital communication system
KR920020877A (en) Multiple transmission system
US4759015A (en) Ring network system for transmission of multicast information
US6735171B2 (en) SDH transmission system, SDH transmission equipment and line switching control method in SDH transmission system
US5168496A (en) System for internetwork communication between local areas networks
US5070501A (en) Token passing type slotted loop network system with means for enabling high speed access control and simple frame slot stripping
EP0212701B1 (en) Method of getting access to and utilizing a message channel in a communication system and arrangement for performing the method
US4672606A (en) Method, station and system for the transmission of messages in the form of data packets
US4416008A (en) Dual loop type data highway system
JP2731430B2 (en) Data communication method
US4780871A (en) Data Transmission system
US4860000A (en) Data transmission system using sending right request signal transferred through loop transmission path
JP2786101B2 (en) Bus failure detection method
JP3117858B2 (en) Burst data accommodation method
JP2947311B2 (en) Slave monitoring system in ring communication system
JP2564298B2 (en) Transmission control method in communication network
JPS6022849A (en) Method for setting automatically address in transmission system
JPS6165552A (en) Communications system
JPS6342990B2 (en)