JPH02262736A - Communication system by duplex data communication media - Google Patents

Communication system by duplex data communication media

Info

Publication number
JPH02262736A
JPH02262736A JP8149489A JP8149489A JPH02262736A JP H02262736 A JPH02262736 A JP H02262736A JP 8149489 A JP8149489 A JP 8149489A JP 8149489 A JP8149489 A JP 8149489A JP H02262736 A JPH02262736 A JP H02262736A
Authority
JP
Japan
Prior art keywords
data
communication
data communication
communication medium
cpu
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
JP8149489A
Other languages
Japanese (ja)
Inventor
Toshiyuki Fujimoto
藤本 年之
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.)
Takaoka Toko Co Ltd
Original Assignee
Takaoka Electric Mfg Co 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 Takaoka Electric Mfg Co Ltd filed Critical Takaoka Electric Mfg Co Ltd
Priority to JP8149489A priority Critical patent/JPH02262736A/en
Publication of JPH02262736A publication Critical patent/JPH02262736A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the communication of data without delay due to a fault by transmitting the data to both duplex data communication media, handling only the data coming earlier as normal data and deleting the data coming later at a reception side. CONSTITUTION:A communication interface 10 and a communication interface 11 send the data I 18 and 19 from a CPU 4 to the data communication medium A 16 and the data communication medium B 17 as data II 20 and 21, respective ly. A CPU 5 handles the data received earlier, for example, data III 22 as nor mal communication data and deletes the data receiving later, for example, data III 23 in data communication from the communication interface 12 or 13. In such a manner, it is possible to continue the data communication without delay or missing the data compared with the data communication before the fault occurs even when the fault occurs in the data communication medium on one side.

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、二重化されたデータ通信媒体により、デュア
ル構成でない複数の装置間でデータを通信するシステム
において、常時両方のデータ通信媒体を使用してデータ
通信を行なうようにした二重化されたデータ通信媒体に
よる通信方式に関するものである。
Detailed Description of the Invention "Industrial Application Field" The present invention provides a system for communicating data between multiple devices that do not have a dual configuration using a duplex data communication medium, in which both data communication media are used at all times. The present invention relates to a communication method using a duplex data communication medium in which data communication is performed using a dual data communication medium.

「従来の技術」 二重化されたデータ通信媒体によりデュアル構成でない
複数の装置間でデータを通信するシステムにおいてデー
タ通信を行なう場合、従来技術においては、各装置は常
時、何れか一方のデータ通信媒体のみを使用してデータ
通信を行なっていた。
"Prior Art" When performing data communication in a system in which data is communicated between multiple devices that do not have a dual configuration using a redundant data communication medium, in the conventional technology, each device always only uses one of the data communication media. was used for data communication.

「発明が解決しようとする課題」 従来技術においては、上記の如くデータ通信を行なうた
め、データ通信を行なっている一方のデータ通信媒体が
故障したとき、各々の装置ではその故障を検出した後、
他方のデータ通信媒体に切替えてデータ通信を再開させ
ていた。そのため、データ通信媒体を切替えるのにある
程度の時間を必要とする結果、制御系のリアルタイム・
システムなどデータ通信の遅延が許されないシステムに
おいては、故障から切替までの時間にデータを送信もし
くは受信できず、データを欠落させる問題が生じていた
"Problem to be Solved by the Invention" In the prior art, in order to perform data communication as described above, when one of the data communication media performing data communication fails, each device detects the failure and then
The data communication was restarted by switching to the other data communication medium. As a result, it takes a certain amount of time to switch the data communication medium, resulting in real-time control of the control system.
In systems where delays in data communication cannot be tolerated, data cannot be sent or received during the period between failure and switching, resulting in data loss.

また、複数の装置を各々デュアル構成としてデータ通信
を行なえば、データ通信媒体の故障が発生してもデータ
の欠落なしにデータ通信を継続できるが、デュアル構成
とするには装置が複雑かつ高佃になる欠点があった。
In addition, if data communication is performed using multiple devices each in a dual configuration, data communication can be continued without data loss even if a failure occurs in the data communication medium, but dual configuration requires complicated and expensive devices. It had some drawbacks.

本発明は上記従来技術の欠点を解決するものであって、
二重化されたデータ通信媒体によりデュアル構成でない
複数の装置間でデータを通信するシステムにおいて、デ
ータ通信媒体の一方が故障したとき、データの欠落なし
にデータ通信を継続することが可能な通信方式を提供す
ることを目的とする。
The present invention solves the above-mentioned drawbacks of the prior art, and includes:
Provides a communication method that allows data communication to continue without data loss when one of the data communication media fails in a system that communicates data between multiple devices that do not have a dual configuration using duplex data communication media. The purpose is to

1課題を解決するための手段」 二重化されたデータ通信媒体ににす、デュアル構成でな
い複数の装置間でデータを通信するシステムにおいて、
データ通信を行なう各装置を、二重化された両方のデー
タ通信媒体に接続し、常時送信側の装置からは、二重化
されたデータ通信媒体の両方へデータを送信し、そのデ
ータの受信側の装置では、両方のデータを受信した場合
は先着データのみを正規データとして扱う。
1. In a system that communicates data between multiple devices that do not have a dual configuration using a duplex data communication medium,
Each device that performs data communication is connected to both duplex data communication media, and the sending device always sends data to both duplex data communication media, and the receiving device , if both types of data are received, only the first-arrived data is treated as regular data.

「作用」 データを送信する側の装置では、二重化されたデータ通
信媒体の両方へデータを送信し、一方、そのデータを受
信する側の装置では、両方のデータ通信媒体から同じデ
ータを受信するが、中央処理装置(以下CPUと略す)
は14組しがないことから先に受信するデータとその後
に受信するデータとに分け、先着のデータだけを正規デ
ータとして扱い、後着のデータは棄てる。このようにし
て、二重化されたデータ通信媒体を常時使用してデータ
通信を行なうことで、片方のデータ通信媒体が故障して
も他方のデータ通信媒体により先着のデータだけは正常
に受信されるので、故障によって遅延することなくデー
タの通信を行なうことが可能となる。
``Operation'' The data transmitting device transmits data to both of the duplexed data communication media, while the data receiving device receives the same data from both data communication media. , central processing unit (hereinafter abbreviated as CPU)
Since there are only 14 sets, the data is divided into data to be received first and data to be received afterward, and only the data that arrives first is treated as regular data, and the data that arrives later is discarded. In this way, by constantly using duplicated data communication media to perform data communication, even if one data communication medium fails, only the first-arrived data will be received normally by the other data communication medium. , it becomes possible to perform data communication without delay due to failure.

また、受信する側の装置では、後に着くはずのデータが
受信できないと、一方のデータ通信媒体が故障したと見
なせることから、データ通信媒体の故障を検出すること
も可能となる。
Furthermore, if the device on the receiving side cannot receive data that is supposed to arrive later, it can be assumed that one of the data communication media has failed, so it is also possible to detect a failure in the data communication medium.

「実施例」 本発明が適用されるデータ通信システムの一例を第1図
に示す。図において、1はデータ通信を行なうための第
1の装置で、装置1内の主な処理を行なうCPU  4
.2組の通信インターフェース10.11およびそれら
を相互に結合する内部バス7とから成っている。
Embodiment FIG. 1 shows an example of a data communication system to which the present invention is applied. In the figure, reference numeral 1 denotes a first device for data communication, and a CPU 4 that performs main processing within the device 1.
.. It consists of two sets of communication interfaces 10.11 and an internal bus 7 that interconnects them.

第2の装置2も同様に、CPU  5.2組の通信イン
ターフェース12.13および内部バス8とから成って
いる。
The second device 2 likewise consists of a CPU 5, two communication interfaces 12.13 and an internal bus 8.

3はn番目の装置(但し、nは3以上の整数とする)を
示し、前記装置1.2と同様に、CPU6.2組の通信
インターフェース1,4.15および内部バス9とから
成っている。
3 indicates the n-th device (where n is an integer of 3 or more), and, like the device 1.2, it consists of a CPU 6.2 sets of communication interfaces 1, 4.15, and an internal bus 9. There is.

16.17、は二重化されたデータ通信媒体Aおよびデ
ータ通信媒体Bをそれぞれ示しており、各装置1.2お
よび3の通信インターフェース1−0.1−1.12.
13.14.15に接続されている。
16.17, respectively, indicate a duplex data communication medium A and a data communication medium B, and communication interfaces 1-0.1-1.12. of each device 1.2 and 3.
Connected to 13.14.15.

このほか、通信データの流れを表わす例として、18.
19は装置7のCPU  4が送出するデータ■を、2
0.21は通信インターフェース】0.7.1がデータ
通信媒体A ]−6およびデータ通信媒体B  17に
送出するデータ■を、22.23は通信インターフェー
ス12.13が受信して装置2のCPU  5へ渡すデ
ータ■をそれぞれ示している。
In addition, as an example representing the flow of communication data, 18.
19 is the data ■ sent by the CPU 4 of the device 7, and 2
0.21 is the communication interface] 0.7.1 is the data communication medium A ]-6 and data communication medium B 17, and 22.23 is the communication interface 12.13 receives the data and sends it to the CPU of the device 2. The data ■ to be passed to 5 are shown respectively.

つぎに、第1図〜第5図を参照して、装置1および装置
3から装置2へ通信データを送出する場合の説明を行な
う。
Next, with reference to FIGS. 1 to 5, a case will be described in which communication data is sent from device 1 and device 3 to device 2.

装置1のCPtJ  4は、第2図のフォーマツ1〜に
示すように、送信すべきデータI  18または19に
ヘッダとして送信先38、送信元39およびシーケンス
番号40を付加し、最初に通信インターフェース10に
対してデータI  18の送信要求を行ない、その直後
通信インターフェース11に対してデータI  19の
送信要求を行なう。
The CPtJ 4 of the device 1 adds a destination 38, a source 39, and a sequence number 40 as headers to the data I 18 or 19 to be transmitted, as shown in formats 1 to 1 in FIG. A request is made to the communication interface 11 to send data I 18, and immediately thereafter a request is made to the communication interface 11 to send data I 19.

ここでシーケンス番号40とは、一つの送信先へデータ
■を送るごとに1づつ増加するモジュロmの数値で、m
は自然数とする。
Here, the sequence number 40 is a value modulo m that increases by 1 each time data is sent to one destination, m
is a natural number.

第3図はCPU  4が送信する際のシーケンス番号4
0を付加する例で、24はデータエの送信先38とデー
タ■に付加するシーケンス番号40の対応表を、25は
送信の時間軸を、26.27.28.29.30は送信
するタイミングをそれぞれ示す。この例では、シーケン
ス番号1により、タイミング26で装置2へ、タイミン
グ27でn番目の装置3へ送信している。以下同様にし
てシーケンス番号2により、タイミング28および29
で装置3および装置2へ送信し、その後シーケンス3に
よりタイミング30で装置3へ送信している。
Figure 3 shows sequence number 4 when CPU 4 transmits.
In the example of adding 0, 24 is the correspondence table between the data destination 38 and the sequence number 40 added to data 2, 25 is the transmission time axis, and 26.27.28.29.30 is the transmission timing. Each is shown below. In this example, the sequence number 1 is transmitted to device 2 at timing 26 and to the nth device 3 at timing 27. Thereafter, in the same manner, timings 28 and 29 are set using sequence number 2.
It is transmitted to device 3 and device 2 at timing 30, and then transmitted to device 3 at timing 30 according to sequence 3.

CPU  4から送信要求を受けた通信インターフェー
ス10および通信インターフェース11は、CPU  
4からのデータI  18.19をデータ通信媒体A 
 16およびデータ通信媒体B  17へそれぞれデー
タII  20.21として送出する。
The communication interface 10 and the communication interface 11 that received the transmission request from the CPU 4
4 data from I 18.19 to data communication medium A
16 and data communication medium B 17 as data II 20.21, respectively.

なお、第4図は、データI  18または1つに送信元
38およびシーケンス番号40が付加されたデータII
I  22.23のフォーマットを示す。
Note that FIG. 4 shows data I 18 or data II to which a source 38 and a sequence number 40 are added.
The format of I 22.23 is shown.

つぎに、装置2の通信インターフェース12および13
は、データ通信媒体A  16およびデータ通信媒体B
  17からそれぞれ、データ■20.21を受信する
と、第4図のフォーマットから成るデータI  22.
23に変換して、CPU  5へそれぞれ渡す。このと
き、通信インターフェース10と11および通信インタ
ーフェース12と13は各々独立して非同期で動作して
いるので、通信インターフェース12と13とではどち
らが先にCPU  5へデータIII  22.23が
渡されるかは不定である。
Next, the communication interfaces 12 and 13 of the device 2
are data communication medium A 16 and data communication medium B
When data 20.21 is received from 17, respectively, data I22.21 is received in the format shown in FIG.
23 and passed to the CPU 5 respectively. At this time, since the communication interfaces 10 and 11 and the communication interfaces 12 and 13 operate independently and asynchronously, it is difficult to determine which of the communication interfaces 12 and 13 passes the data III 22.23 to the CPU 5 first. Indeterminate.

最後に、CPU  5は通信インターフェース12もし
くは13からのデータ通信で、早く受信した方のデータ
、例えばデータIII  22を正規の通信データとし
て扱い、遅く受信した方のデータ、例えばデータm23
は棄てる。このとき、送信元38とシーケンス番号40
により早く受信したか遅かったかを判断するので、非同
期通信によって、先着と後着の間に他の装置から別のデ
ータを受信してもデータを区別することが可能である。
Finally, in the data communication from the communication interface 12 or 13, the CPU 5 treats the data received earlier, for example data III 22, as regular communication data, and treats the data received later, for example data m23.
throw it away. At this time, the source 38 and the sequence number 40
Since it is determined whether the data was received earlier or later, it is possible to distinguish the data even if different data is received from another device between the first arrival and the last arrival.

第5図は、装置2のCPU  5が送信元38であると
ころの装置1、装置3からの受信データ■22.23を
取扱う一例を表示したもので、40はシーケンス番号、
41は使用されたデータ通信媒体A  16およびデー
タ通信媒体B  17をA、Bで略記している。
FIG. 5 shows an example in which the CPU 5 of the device 2 handles the received data 22.23 from the devices 1 and 3, which is the sender 38, where 40 is the sequence number;
41, the data communication medium A 16 and the data communication medium B 17 used are abbreviated as A and B.

31はデータとしての取扱いを示す。また時間軸32に
対して、33.34.35.36.37で受信するタイ
ミングをそれぞれ示す。
31 indicates handling as data. Furthermore, with respect to the time axis 32, the reception timings are shown at 33, 34, 35, 36, and 37, respectively.

この例では、装置1からシーケンス番号1により、A、
Bの両回線からタイミング33および34にて2個の同
一データが到着したので、先着分3番目のデータは、装
置1からシーケンス番号2により8回線を使用してタイ
ミング35にて送信されたので、データとして取扱う。
In this example, with sequence number 1 from device 1, A,
Two identical pieces of data arrived from both lines of B at timings 33 and 34, so the third data of the first arrival was sent from device 1 at timing 35 using sequence number 2 using 8 lines. , treated as data.

この場合、A回線の事故判定は保留される。In this case, the accident determination for line A is suspended.

4番目のデータは、3番目の装置からシーケンス番号1
によりA回線を使用して、タイミング36で送信された
もので、このデータは、1番目のデータとシーケンス番
号および使用回線が同じであるが、送信元が装置1と装
置3とでは異なるので、別個のデータとして取扱う。こ
の場合、8回線の故障判定は保留される。
The fourth data is sequence number 1 from the third device.
This data was sent at timing 36 using line A, and this data has the same sequence number and line used as the first data, but the transmission sources are different between device 1 and device 3. Treated as separate data. In this case, failure determination for the 8 lines is suspended.

5番目のデータは、A回線から届いたが、8回線から送
信された3番目のデータと同じであるため、データは棄
てるが、3番目のデータ受信時保留してあったA回線の
状況は正常と判定される。
The 5th data arrived from line A, but since it is the same as the 3rd data sent from line 8, the data is discarded, but the status of line A, which was on hold when the 3rd data was received, is It is determined to be normal.

また、CPU  5が先着のデータを受信してから、あ
る一定時間経過しても後着のデータを受信しない場合は
、二重化されたデータ通信媒体のうちかどちらか一方が
故障したと見なせるので、これによりデータ通信媒体の
故障を検出することも可能となる。
Furthermore, if the CPU 5 does not receive the later data even after a certain period of time has passed since the CPU 5 received the first data, it can be assumed that one of the duplex data communication media has failed. This also makes it possible to detect failures in the data communication medium.

「発明の効果」 以上の説明から明らかなように、本発明によれば、二重
化されたデータ通信媒体においてデータ通信を行なう場
合、片方のデータ通信媒体が故障しても故障前のデータ
通信と比べて遅延なく、また、データの欠落なしにデー
タ通信を継続することができる。
"Effects of the Invention" As is clear from the above explanation, according to the present invention, when data communication is performed using duplicated data communication media, even if one of the data communication media fails, the data communication is compared with the data communication before the failure. data communication can be continued without delay or data loss.

また、データ通信媒体が故障したとき、その事故を容易
に検出することができる。
Furthermore, when a data communication medium fails, the accident can be easily detected.

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

第1図は、本発明が適用されるデータ通信システムの一
例を示す図、 第2図および第4図は、第1図におけるデータ■および
データmのフォーマットを示す図、第3図は、第1図に
おいて装置】−がデータエを送信する際のシーケンス番
号を付加する一例を示す図、第5図は、第1図において
装置2が受信データをとのように扱うかその一例を示す
図である。 図において、 1.2.3は装置、 ]6はデータ通信媒体A 17はデータ通信媒体B である。 特許出願人  株式会社高岳製作所
FIG. 1 is a diagram showing an example of a data communication system to which the present invention is applied, FIGS. 2 and 4 are diagrams showing the formats of data ■ and data m in FIG. 1, and FIG. In FIG. 1, the device 2 is a diagram showing an example of adding a sequence number when transmitting data, and FIG. 5 is a diagram showing an example of how the device 2 in FIG. be. In the figure, 1.2.3 is the device, ] 6 is the data communication medium A, and 17 is the data communication medium B. Patent applicant: Takatake Seisakusho Co., Ltd.

Claims (1)

【特許請求の範囲】[Claims] 二重化されたデータ通信媒体により、デュアル構成でな
い複数の装置間でデータを通信するシステムにおいて、
データ通信を行なう各装置を、二重化された両方のデー
タ通信媒体に接続し、常時、送信側の装置からは、二重
化されたデータ通信媒体の両方へデータを送信し、その
データの受信側の装置では、両方のデータを受信した場
合は先着データのみを正規データとして扱うことを特徴
とする二重化されたデータ通信媒体による通信方式。
In a system that communicates data between multiple devices that do not have a dual configuration using a duplex data communication medium,
Each device that performs data communication is connected to both duplex data communication media, and the sending device always sends data to both of the duplex data communication media, and the device receiving the data A communication method using a duplex data communication medium is characterized in that when both types of data are received, only the first-arrived data is treated as regular data.
JP8149489A 1989-04-03 1989-04-03 Communication system by duplex data communication media Pending JPH02262736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8149489A JPH02262736A (en) 1989-04-03 1989-04-03 Communication system by duplex data communication media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8149489A JPH02262736A (en) 1989-04-03 1989-04-03 Communication system by duplex data communication media

Publications (1)

Publication Number Publication Date
JPH02262736A true JPH02262736A (en) 1990-10-25

Family

ID=13747944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8149489A Pending JPH02262736A (en) 1989-04-03 1989-04-03 Communication system by duplex data communication media

Country Status (1)

Country Link
JP (1) JPH02262736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008295082A (en) * 2008-07-17 2008-12-04 National Institute Of Information & Communication Technology Gateway apparatus, transmission method, reception method, and information recording medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56149135A (en) * 1980-04-21 1981-11-18 Hitachi Ltd Duplex data reception system
JPH01251932A (en) * 1988-03-31 1989-10-06 Nec Corp Serial data communication circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56149135A (en) * 1980-04-21 1981-11-18 Hitachi Ltd Duplex data reception system
JPH01251932A (en) * 1988-03-31 1989-10-06 Nec Corp Serial data communication circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008295082A (en) * 2008-07-17 2008-12-04 National Institute Of Information & Communication Technology Gateway apparatus, transmission method, reception method, and information recording medium

Similar Documents

Publication Publication Date Title
JP3709795B2 (en) Computer system and method for communication between modules in the computer system
US5524218A (en) Dedicated point to point fiber optic interface
JPS602813B2 (en) Computer-to-computer communication method and system
JPS63279633A (en) Multi-address communication system
JPH09130408A (en) Network interface device
JPH02262736A (en) Communication system by duplex data communication media
EP0093004B1 (en) Data communication system
JPH1013389A (en) Duplicate communication equipment
JPS615645A (en) Data transmission method
JPS61194934A (en) Data communication repeater
JPH03178234A (en) Transmission system for duplex transmission line
JPS61244149A (en) Data transmission system
JPS61194937A (en) Data communication receiver
JP2616246B2 (en) Dual processing method for inter-system data in dual operation redundant apparatus and dual operation redundant apparatus
JPH06152570A (en) System for system switching processing in duplex data processor
JPS63316539A (en) Resending control device in multi-casting communication device
JPS6264146A (en) Network duplicating connection method
JPH05244143A (en) Clock switching system
JPS6051968A (en) Duplexed operation system
JPH0459817B2 (en)
JPS61208939A (en) Data communication repeater
JPS60190050A (en) Transmission system
JPS62219057A (en) Data transmitter
JPS6276340A (en) Data processor fault notifying system
JPH0561820B2 (en)