JPH01286550A - Interface system - Google Patents

Interface system

Info

Publication number
JPH01286550A
JPH01286550A JP11548488A JP11548488A JPH01286550A JP H01286550 A JPH01286550 A JP H01286550A JP 11548488 A JP11548488 A JP 11548488A JP 11548488 A JP11548488 A JP 11548488A JP H01286550 A JPH01286550 A JP H01286550A
Authority
JP
Japan
Prior art keywords
communication
information
modem
data
dbu
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
JP11548488A
Other languages
Japanese (ja)
Inventor
Chiaki Seto
瀬戸 千明
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP11548488A priority Critical patent/JPH01286550A/en
Publication of JPH01286550A publication Critical patent/JPH01286550A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To relieve the load on the software of a communication processor and to send information surely with less number of components by discriminating whether or not the sent information is received by the receiver side every time a communication processor at the sender side sends the information of a prescribed length. CONSTITUTION:Two communication processors 101a, 101b make mutual communication. Then an interface device 110 is provided with a storage means 111 storing the information of prescribed quantity received/sent between the communication processors 101a, 101b and a communication control means 112 discriminating whether or not the information of prescribed quantity stored in the storage means 111 is already read to control the communication between the communication processors 101a, 101b. Thus, every time one communication processor at the sender sends prescribed amount of information, whether or not the other communication processor 101 of the receiver side receives the prescribed amount of information is discriminated. Then the load of the software of the communication processor is relieved and sure communication is attained with less number of components.

Description

【発明の詳細な説明】 〔目 次〕 概要 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段 作用 実施例 ■、実施例と第1図との対応関係 ■、実施例の構成 (i)全体の構成 (ii)モデムの構成 (ji)DBUの構成 (iv )インタフェース装置の構成 (iv−1)双方向性トランシーバの構成■、実施例の
動作 (i)インタフェース装置の動作 (ii)全体の動作 (ii −1)送信側の動作 (ii −2)受信側の動作 ■、実施例のまとめ ■8発明の変形態様 発明の効果 〔概 要〕 複数の情報処理装置の間の通信を制御するインタフェー
ス方式に関し、 通信処理装置側のソフトウェアの負担を軽減し、少ない
構成要素で確実な通信を行なうことを目的とし、 互いに通信を行なう2つの通信処理装置と、2つの通信
処理装置の相互間で授受される所定量の情報を記憶する
記憶手段、記憶手段に記憶された所定量の情報が既に読
み取られたか否かを判別する通信制御手段を存して2つ
の通信処理装置の相互間の通信を制御するインタフェー
ス装置を具えて、送信側の一方の通信処理装置が所定量
の情報を送信するごとに、受信側の他方の通信処理装置
が当該所定量の情報を受信したか否かを判別するように
構成する。
[Detailed Description of the Invention] [Table of Contents] Overview Industrial Application Fields Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems Action Examples ■, Correspondence between the Examples and FIG. 1 ■ , Configuration of the embodiment (i) Overall configuration (ii) Modem configuration (ji) DBU configuration (iv) Interface device configuration (iv-1) Bidirectional transceiver configuration ■, Operation of the embodiment (i) Operation of the interface device (ii) Overall operation (ii-1) Operation of the transmitting side (ii-2) Operation of the receiving side Regarding the interface method for controlling communication between processing devices, the purpose is to reduce the burden on the software on the communication processing device side and to perform reliable communication with a small number of components. 2. A storage means for storing a predetermined amount of information exchanged between two communication processing devices; and a communication control means for determining whether the predetermined amount of information stored in the storage means has already been read. An interface device is provided for controlling communication between two communication processing devices, and each time one of the communication processing devices on the sending side transmits a predetermined amount of information, the other communication processing device on the receiving side transmits the predetermined amount of information. The apparatus is configured to determine whether or not information has been received.

〔産業上の利用分野〕[Industrial application field]

本発明は、通信システムのインタフェース方式に関し、
特に、通信処理装置側のソフトウェアの負担を軽減し、
少ない構成要素で確実な通信を行なうようにしたインタ
フェース方式に関するものである。
The present invention relates to an interface method for a communication system,
In particular, it reduces the burden on the software on the communication processing device side,
This invention relates to an interface system that allows reliable communication with a small number of components.

〔従来の技術] 例えば、専用回線を通して通信を行なう通信システムに
おいては、専用回線に障害が生じた場合に非常用のダイ
ヤル回線によって回線のバックアップを行なうダイヤル
、バックアップ装置(DBLI)を具えている。通常こ
のDBUは、通信の変復調を行なうモデムと命令やデー
タなどの情報の授受を行なって、ダイヤル回線を通じて
通信を行なっている。
[Prior Art] For example, a communication system that performs communication through a dedicated line is equipped with a dial backup device (DBLI) that backs up the line using an emergency dial line when a failure occurs in the dedicated line. Normally, this DBU exchanges information such as commands and data with a modem that modulates and demodulates communication, and communicates through a dial line.

このようなモデムとDBUとの間のデータのやりとりは
、モデムからのパラレルデータをシリアルデータに、ま
た、DBUからのシリアルデータをパラレルデータに変
換するパラレル−シリアル(P/S)変換器を具えるイ
ンタフェース装置または、モデムあるいはDBUからの
パラレルデータを数バイト分だけ保持して書き込まれた
順番に受信側に転送するFIFO回路を具えるインタフ
ェース装置によって制御されている。
Data exchange between the modem and the DBU requires a parallel-to-serial (P/S) converter that converts parallel data from the modem into serial data and serial data from the DBU into parallel data. It is controlled by an interface device equipped with a FIFO circuit that holds several bytes of parallel data from the modem or DBU and transfers it to the receiving side in the order in which it was written.

ここで、モデムとDBUとの間の通信は一方通行ではな
いので、モデムとDBUとを結ぶ伝送線において、モデ
ムからDBUへの命令やデータの伝送とDBUからモデ
ムへの応答やデータの伝送とが同時に起こらないように
、モデムとDBUとの間でインタフェース装置の使用権
の排他制御を行なう必要がある。
Here, since the communication between the modem and DBU is not one-way, the transmission line connecting the modem and DBU allows for the transmission of commands and data from the modem to the DBU, and the transmission of responses and data from the DBU to the modem. It is necessary to perform exclusive control of the right to use the interface device between the modem and the DBU so that these events do not occur at the same time.

〔発明が解決しようとする課題] ところで、上述したP/S変換器を具えたインタフェー
ス装置では、4通信速度はP/S変換器の処理速度で決
まってしまうので、モデムおよびDBUの処理状態に通
信速度を適応させることができない。一方、FIFO回
路を具えたインタフェース装置では、数バイト分のデー
タを一度に扱うことができるが、FIFO回路が比較的
高価であるので、高コストの装置になってしまうまた、
上述の2種類のインタフェース装置を用いたシステムに
おいては、インタフェース装置の排他制御は、全てモデ
ムとDBUのソフトウェアによって行なっているので、
モデムおよびDBUのソフトウェアの負担が大きくなっ
てしまうという問題点があった。
[Problems to be Solved by the Invention] By the way, in the interface device equipped with the above-mentioned P/S converter, the 4 communication speed is determined by the processing speed of the P/S converter, so it depends on the processing state of the modem and DBU. Unable to adapt communication speed. On the other hand, an interface device equipped with a FIFO circuit can handle several bytes of data at once, but since the FIFO circuit is relatively expensive, it becomes a high-cost device.
In the system using the two types of interface devices mentioned above, exclusive control of the interface devices is performed entirely by the modem and DBU software.
There is a problem in that the burden on the software of the modem and DBU increases.

本発明は、このような点にかんがみて創作されたもので
あり、モデムやDBU等の通信処理装置のソフトウェア
の負担を軽減し、少ない構成要素によって、確実な通信
を行なうようにしたインタフェース方式を提供すること
を目的としている。
The present invention was created in view of these points, and provides an interface method that reduces the burden on the software of communication processing devices such as modems and DBUs, and enables reliable communication with a small number of components. is intended to provide.

〔課題を解決するための手段] 第1図は、本発明のインタフェース方式の原理ブロック
図である。
[Means for Solving the Problems] FIG. 1 is a block diagram of the principle of the interface system of the present invention.

図において、2つの通信処理装置101a、101bは
、互いに通信を行なう。
In the figure, two communication processing devices 101a and 101b communicate with each other.

インタフェース装置110は、通信処理装置101a、
101bの相互間で授受される所定量の情報を記憶する
記憶手段111.記憶手段111に記憶された所定量の
情報が既に読み取られたか否かを判別する通信制御手段
112を有し、通信処理装置101a、101bの相互
間の通信を制御する。
The interface device 110 includes a communication processing device 101a,
storage means 111 for storing a predetermined amount of information exchanged between the devices 101b; It has communication control means 112 that determines whether a predetermined amount of information stored in storage means 111 has already been read, and controls communication between communication processing devices 101a and 101b.

従って、全体として、送信側の一方の通信処理装置10
1が所定量の情報を送信するごとに、受信側の他方の通
信処理装置101が当該所定量の情報を受信したか否か
を判別するように構成する。
Therefore, as a whole, one communication processing device 10 on the transmitting side
1 transmits a predetermined amount of information, the other communication processing device 101 on the receiving side determines whether or not it has received the predetermined amount of information.

〔作 用〕[For production]

例えば、一方の通信処理装置101aから他方の通信処
理装置101bに情報を伝送する場合、通信処理装置1
01aが所定量の情報を記憶手段111に書き込むと、
通信制御手段112は通信処理装置101aに記憶手段
111に読み取りが完了していない情報があることを通
知して、次の情報の書き込みを禁止する。記憶手段11
1に記憶されている情報が通信処理装置101bによっ
て読み取られて、通信制御手段112により情報の読み
取りが完了したことが通知されると、通信処理装置10
1aば次の所定量の情報を書き込む。
For example, when transmitting information from one communication processing device 101a to the other communication processing device 101b, communication processing device 1
When 01a writes a predetermined amount of information into the storage means 111,
The communication control means 112 notifies the communication processing device 101a that there is information in the storage means 111 that has not been completely read, and prohibits writing of the next information. Storage means 11
When the information stored in the communication processing device 101b is read by the communication processing device 101b and the communication control means 112 notifies that the reading of the information is completed, the communication processing device 10
In step 1a, the following predetermined amount of information is written.

同様にして、インタフェース装置110は通信処理装置
101bから通信処理装置101aへの情報の伝送を制
御する。
Similarly, the interface device 110 controls the transmission of information from the communication processing device 101b to the communication processing device 101a.

本発明にあっては、情報を所定量ごとに記憶手段111
に記憶させ、受信側の通信処理装置101が記憶手段1
11に書き込まれた情報が読み取られてから、送信側の
通信処理装置101が次の情報を書き込むようにしてい
るので、情報は確実に伝送される。
In the present invention, the storage means 111 stores information for each predetermined amount.
and the communication processing device 101 on the receiving side stores it in the storage means 1.
Since the communication processing device 101 on the transmitting side writes the next information after the information written in the communication device 11 is read, the information is reliably transmitted.

〔実施例〕〔Example〕

以下、図面に基づいて本発明の実施例について詳細に説
明する。
Hereinafter, embodiments of the present invention will be described in detail based on the drawings.

第2図は、本発明の一実施例におけるインタフェース方
式を用いた通信システムの構成を示す。
FIG. 2 shows the configuration of a communication system using an interface method according to an embodiment of the present invention.

Llii例と第1図との対応関係 ここで、本発明の実施例と第1図との対応関係を示して
おく。
Correspondence between the Llii example and FIG. 1 Here, the correspondence between the embodiment of the present invention and FIG. 1 will be shown.

通信処理装置101aは、モデム201に相当する。The communication processing device 101a corresponds to the modem 201.

通信処理装置101bは、ダイヤルバックアップ装置(
DBU)202に相当する。
The communication processing device 101b includes a dial backup device (
DBU) 202.

インタフェース装置110は、インタフェース装置21
0に相当する。
The interface device 110 is the interface device 21
Corresponds to 0.

記憶手段111は、双方向性トランシーバ211に相当
する。
Storage means 111 corresponds to bidirectional transceiver 211.

通信制御手段112は、フリップフロップ213a、2
13bに相当する。
The communication control means 112 includes flip-flops 213a, 2
Corresponds to 13b.

以上のような対応関係があるものとして、以下本発明の
実施例について説明する。
Examples of the present invention will be described below assuming that the correspondence relationship as described above exists.

第2図において、実施例の通信システムは、専用回線を
通した通信の変復調を行なうモデム201と、専用回線
に障害が発生した場合に非常用のダイヤル回線によって
回線のバックアップを行なうダイヤルバックアップ装置
f (DBU) 202と、モデム201とDBU20
2との間の通信を制御するインタフェース装置210と
で形成されている。
In FIG. 2, the communication system of the embodiment includes a modem 201 that modulates and demodulates communications through a dedicated line, and a dial backup device f that backs up the line by using an emergency dial line in the event that a failure occurs in the dedicated line. (DBU) 202, modem 201 and DBU20
2, and an interface device 210 that controls communication between the two.

(ii )モデムの構成 モデム201は、1バイトのデータの入出力を行なう入
出カポ−) (Ilo)ポートを有し、出力端子o1か
らI10ポートからのデータの読み取りに同期したリー
ドストローブ信号Sraを出力し、また、出力端子02
からI10ポートへの書き込みに同期したライトストロ
ーブ信号Swaを出力するように構成されている。
(ii) Modem configuration The modem 201 has an input/output port (Ilo) for inputting/outputting 1 byte data, and outputs a read strobe signal Sra synchronized with reading data from the output terminal o1 to the I10 port. Output and also output terminal 02
It is configured to output a write strobe signal Swa in synchronization with writing from to the I10 port.

また、DBU202への送信が読み取られたか否かを示
す送信状態フラグaとDBU202からのデータが双方
向性トランシーバ211に書き込まれたか否かを示す受
信状態フラグaの状態によって、DBU202との通信
の状態を判断するように構成されている。例えば、送信
状態フラグaが“0”であれば、送信したデータの読み
取りが完了だと判断し、“1”のときは読み取りが完了
していないと判断する。受信状態フラグaが“0″であ
れば、双方向性トランシーバ211にデータはないと判
断し、“′1”のときはデータがあると判断する。
Furthermore, communication with the DBU 202 is determined by the states of the transmission status flag a, which indicates whether the transmission to the DBU 202 has been read, and the reception status flag a, which indicates whether the data from the DBU 202 has been written to the bidirectional transceiver 211. configured to determine the condition. For example, if the transmission status flag a is "0", it is determined that the reading of the transmitted data has been completed, and if it is "1", it is determined that the reading has not been completed. If the reception status flag a is "0", it is determined that there is no data in the bidirectional transceiver 211, and if it is "'1", it is determined that there is data.

(iii)DBUの構成 りBU202は、1バイトのデータの入出力を行なう入
出力ポート(Ilo)ボートを有し、出力端子OIから
I10ポートからのデータの読み取りに同期したリード
ストローブ信号Srbを出力し、出力端子02からI1
0ポートへの書き込みに同期したライトストローブ信号
Swbを出力するように構成されている。
(iii) DBU configuration BU202 has an input/output port (Ilo) port that inputs and outputs 1-byte data, and outputs a read strobe signal Srb synchronized with reading data from the I10 port from the output terminal OI. and from output terminal 02 to I1
It is configured to output a write strobe signal Swb synchronized with writing to the 0 port.

また、モデム201への送信が読み取られたか否かを示
す送信状態フラグbとモデム201からのデータが双方
向性トランシーバ211に書き°込まれたか否かを示す
受信状態フラグbの状態によって、モデム201との通
信の状態を判断するように構成されている。例えば、送
信状態フラグbが°′0”であれば、送信したデータの
読み取りが完了だと判断し、“1”のときは読み取りが
完了していないと判断する。受信状態フラグbが“0”
であれば、双方向性トランシーバ211にデータはない
と判断し、“1°′のときはデータがあると判断する。
Also, depending on the state of the transmission status flag b indicating whether the transmission to the modem 201 has been read or not and the reception status flag b indicating whether the data from the modem 201 has been written to the bidirectional transceiver 211, the modem 201 is configured to determine the state of communication with 201. For example, if the transmission status flag b is '0', it is determined that the reading of the transmitted data has been completed, and if it is '1', it is determined that the reading has not been completed.The reception status flag b is '0'. ”
If so, it is determined that there is no data in the bidirectional transceiver 211, and if it is "1°", it is determined that there is data.

(iv )インタフェース装置の構成 インタフェース装置210は、モデム201゜DBU2
02からのデータを記憶する双方向性トランシーバ21
1と、モデム201のライトストローブ信号SwaとD
BU202のリードストローブ信号Srbに基づいて双
方向性トランシーバ211のデータの読み取りが完了し
たか否かを判別して読取完了信号Scaを出力するフリ
ップフロップ213aと、DBU202のライトストロ
ーブ信号Swbとモデム201のリードストローブ信号
Sraに基づいて双方向性トランシーバ211のデータ
の読み取りが完了したか否かを判別して読取完了信号S
cbを出力するフリップフロップ213bとで形成され
ている。
(iv) Configuration of interface device The interface device 210 includes a modem 201゜DBU2
Bidirectional transceiver 21 storing data from 02
1 and the write strobe signals Swa and D of the modem 201
A flip-flop 213a determines whether reading of data from the bidirectional transceiver 211 is completed based on the read strobe signal Srb of the BU 202 and outputs a read completion signal Sca; Based on the read strobe signal Sra, it is determined whether reading of data from the bidirectional transceiver 211 is completed, and a read completion signal S is generated.
It is formed by a flip-flop 213b that outputs cb.

(iv−1)双方向性トランシーバの構成双方向性トラ
ンシーバ211は、モデム201が1バイトのデータの
書き込みおよび読み出しを行なうI10ポートaと、D
BU202が1バイトのデータの書き込みおよび読み出
しを行なう■10ポー)bを有し、入力端子■、に入力
されるモデム201のライトストローブ信号Swaに同
期してI10ポートaに入力されたモデム201のデー
タを読み取って記憶し、入力端子■3に入力されるDB
U202のライトストローブ信号Swbに同期してI1
0ポー)bに入力されるDBU202のデータを読み取
って記憶するように構成されている。
(iv-1) Configuration of bidirectional transceiver The bidirectional transceiver 211 has an I10 port a to which the modem 201 writes and reads 1 byte data, and a D
The BU 202 has a port (10) b for writing and reading 1 byte of data, and the write strobe signal Swa of the modem 201 input to the I10 port a is synchronized with the write strobe signal Swa of the modem 201 input to the input terminal (2). DB that reads and stores data and inputs it to input terminal ■3
I1 in synchronization with the write strobe signal Swb of U202.
It is configured to read and store data from the DBU 202 that is input to the DBU 202.

また、入力端子I2に入力されるリードストローブ信号
Sraに同期して、I10ポートaのデータを確定させ
、入力端子I4に入力されるリードストローブ信号Sr
bに同期して、I10ポートbのデータを確定させる。
Also, in synchronization with the read strobe signal Sra input to the input terminal I2, the data of the I10 port a is determined, and the read strobe signal Sra input to the input terminal I4
In synchronization with b, the data of I10 port b is determined.

LJL!J缶例の動作 第3図は、第2図に示した実施例による通信システムの
動作を説明するタイミング図である。
LJL! Operation of the J Can Example FIG. 3 is a timing diagram illustrating the operation of the communication system according to the embodiment shown in FIG.

第4図は、第2図に示した実施例による通信システムの
動作を表す流れ図である。
FIG. 4 is a flow chart showing the operation of the communication system according to the embodiment shown in FIG.

以下、モデム201からDBU202への通信を行なう
場合を例として、第2図〜第4図を参照しながら実施例
の動作を説明する。
The operation of the embodiment will be described below with reference to FIGS. 2 to 4, taking as an example the case where communication is performed from the modem 201 to the DBU 202.

(i)インタフェース装置の動作 モデム201がI10ポートへのデータの書き込みに同
期して出力するライトストローブ信号Swa (第3図
■参照)は、双方向性トランシーバ211入力端子■2
とフリップフロップ213aのクロック端子CKに入力
される。ライトストローブ信号Swaの立ち上がりでフ
リップフロップ213aは出力端子Qに“1”をセット
し、読取完了信号5ca(第3図■参照)として“1”
を出力する。
(i) Operation of the interface device The write strobe signal Swa (see Figure 3 ■) that the modem 201 outputs in synchronization with data writing to the I10 port is sent to the bidirectional transceiver 211 input terminal ■2.
is input to the clock terminal CK of the flip-flop 213a. At the rising edge of the write strobe signal Swa, the flip-flop 213a sets the output terminal Q to "1", and the read completion signal 5ca (see Figure 3) becomes "1".
Output.

この読取完了信号Scaによって、モデム201の送信
状態フラグa (第3図■参照)とDBU202の受信
状態フラグb (第3図■参照)をセットして、モデム
201によって双方向性トランシーバ211に書き込ま
れたデータがまだ読み取られていないことを示す。
In response to this read completion signal Sca, the modem 201's transmission status flag a (see Figure 3 ■) and the DBU 202's reception status flag b (see Figure 3 ■) are set, and the modem 201 writes the data to the bidirectional transceiver 211. indicates that the data has not yet been read.

DBU202がI10ポートに入力されているデータを
読み取る際に出力するリードストローブ信号5rb(第
3図■参照)は、双方向性トランシーバ211とフリッ
プフロップ213aのクリア端子CLRに入力される。
A read strobe signal 5rb (see 3 in FIG. 3) output when the DBU 202 reads data input to the I10 port is input to the bidirectional transceiver 211 and the clear terminal CLR of the flip-flop 213a.

これにより、フリップフロップ213aはクリアされて
、出力端子Qから読取完了信号Scaとして“O”を出
力する。
As a result, the flip-flop 213a is cleared and outputs "O" from the output terminal Q as the read completion signal Sca.

この読取完了信号Scaにより、モデム201の送信状
態フラグaとDBU202の受信状態フラグbはクリア
されて“0″となり、モデム201によって双方向性ト
ランシーバ211に書き込まれたデータが読み取られた
ことを示す。
By this read completion signal Sca, the transmission status flag a of the modem 201 and the reception status flag b of the DBU 202 are cleared to "0", indicating that the data written in the bidirectional transceiver 211 by the modem 201 has been read. .

上述と同様にして、DBU202が送信側となって、モ
デム201にデータを送信する場合は、DBU202の
ライトストローブ信号Swb(第3図■)によってフリ
ップフロップ213bの出力に1゛をセットし、モデム
201のリードストローブ信号5ra(第3図■)によ
ってフリップフロップ213bの出力をクリアする。
In the same manner as described above, when the DBU 202 becomes the transmitting side and sends data to the modem 201, the output of the flip-flop 213b is set to 1 by the write strobe signal Swb (■ in Figure 3) of the DBU 202, and the modem The output of the flip-flop 213b is cleared by the read strobe signal 5ra (■ in FIG. 3) of the flip-flop 201.

フリップフロップ213bの出力である読取完了信号5
cb(第3図■)によって、モデム201の受信状態フ
ラグa (第3図■)とDBU202の送信状態フラグ
b (第3図@))のセットとクリアを行なって、DB
U202が双方向性トランシーバ211に書き込んだデ
ータが既に読み取られたか否かを示す。
Reading completion signal 5 which is the output of the flip-flop 213b
cb (Fig. 3 ■)) sets and clears the modem 201's reception status flag a (Fig. 3 ■) and the DBU 202's transmission status flag b (Fig. 3 @)).
Indicates whether the data written by U202 to bidirectional transceiver 211 has already been read.

」■升倉体■軌庄 以下、通信システム全体の動作を送信側と受信側とに分
けて説明する。
” ■ Masukura body ■ Kisho Below, the operation of the entire communication system will be explained by dividing it into the transmitting side and the receiving side.

(ii −1)送信側の動イ まず、モデム201は受信状態フラグaによって、双方
向性トランシーバ211にモデム201によって読み取
られるべきデータが残っているか否かを調べる(ステッ
プ401)。
(ii-1) Operation on the Transmitting Side First, the modem 201 checks whether there is any data remaining in the bidirectional transceiver 211 to be read by the modem 201, based on the reception status flag a (step 401).

ステップ401において、受信状態フラグaが“1”で
ある場合は、DBU202からモデム201への送信が
まだ終了していないので送信処理を続けることができな
いと判断して、モデム201からDBU202への送信
処理を終了する。
In step 401, if the reception status flag a is "1", it is determined that the transmission process cannot be continued because the transmission from the DBU 202 to the modem 201 has not yet been completed, and the transmission from the modem 201 to the DBU 202 is terminated. Finish the process.

ステップ401において、受信状態フラグaが“0”で
ある場合は、モデム201は送信状態フラグaを調べる
(ステップ402)。
If the reception status flag a is "0" in step 401, the modem 201 checks the transmission status flag a (step 402).

ここで、ステップ402において送信状態フラグaに“
1”がセットされている場合に起こるループが所定時間
(例えば200IIs)以上続いた場合は、DBU20
2に障害が生じていると判断して送信処理を終了する。
Here, in step 402, the transmission status flag a is set to “
If the loop that occurs when "1" is set continues for more than a predetermined time (for example, 200IIs), DBU20
It is determined that a failure has occurred in No. 2, and the transmission process is terminated.

モデム201は、I10ポートに1バイトのデータを出
力し、また、ライトストローブ信号Swaを出力して、
双方向性トランシーバ211に1バイトのデータを書き
込む。このとき、ライトストローブ信号Simaによっ
てフリップフロップ213aから読取完了信号Scaが
出力されて、モデム201の送信状態フラグとDBU2
02の受信状態フラグbに“1”がセットされる(ステ
ップ403)。
The modem 201 outputs 1 byte of data to the I10 port, and also outputs a write strobe signal Swa.
Write 1 byte of data to bidirectional transceiver 211. At this time, a read completion signal Sca is output from the flip-flop 213a by the write strobe signal Sima, and the transmission state flag of the modem 201 and the DBU2
02 is set to "1" (step 403).

送信するデータがまだある場合は、ステップ402に戻
る(ステップ404)。
If there is still data to transmit, the process returns to step 402 (step 404).

ステップ402〜404を繰り返して、モデム201は
、データを1バイトずつ送信し、送信したデータが受信
されたことを確認してから次のデータをDBU202に
送信する。
Repeating steps 402 to 404, modem 201 transmits data one byte at a time, and after confirming that the transmitted data has been received, transmits the next data to DBU 202.

(ii −2)  借倒の動作 DBU202は受信状態フラグbを読んで、双方向性ト
ランシーバ211にモデム201からのデータが書き込
まれたか否かを調べる(ステップ411)。
(ii-2) Default operation The DBU 202 reads the reception status flag b to check whether data from the modem 201 has been written to the bidirectional transceiver 211 (step 411).

ステップ411において、受信状態フラグbが“1”で
ある場合は、DBU202は、双方向性トランシーバ2
11にDBU202が読み取るべきデータが記憶されて
いると判断して、リードストローブ信号Srbを出力し
て、双方向性トランシーバ211からI10ボートに1
バイトのデータを読み込む。このとき、リードストロー
ブ信号Srbによって、モデム201の送信状態フラグ
aとDBU202の受信状態フラグbがクリアされる(
ステップ412)。
In step 411, if the reception status flag b is "1", the DBU 202
11, the DBU 202 determines that the data to be read is stored in the I10 port, outputs a read strobe signal Srb, and sends the data from the bidirectional transceiver 211 to the I10 port.
Read bytes of data. At this time, the read strobe signal Srb clears the transmission status flag a of the modem 201 and the reception status flag b of the DBU 202 (
step 412).

このようにして、モデム201とDBU202との間で
データの通信が行なわれる。このデータ通信の処理速度
は、インタフェース装置210の双方向性トランシーバ
211の性能によるのではなく、モデム201とDBU
202の処理状態によっているので、モデム201およ
びDBU202の処理状態に適応させて、通信の処理速
度を調節することが可能である。
In this way, data communication is performed between the modem 201 and the DBU 202. The processing speed of this data communication does not depend on the performance of the bidirectional transceiver 211 of the interface device 210, but rather depends on the performance of the modem 201 and DBU.
The communication processing speed can be adjusted depending on the processing state of the modem 201 and the DBU 202.

■、実施例のまとめ 上述のようにして、例えば、モデム201を送信側とし
、DBU202を受信側とすれば、モデム201のライ
トストローブ信号SwaとDBU202のリードストロ
ーブ信号Srbに基づいて、フリップフロップ213a
は読取完了信号Scaとして“1”あるいは“0”を出
力して、モデム201の送信状態フラグaとDBU20
2の受信状態フラグbをセットする。
(2) Summary of the Embodiment As described above, for example, if the modem 201 is the transmitting side and the DBU 202 is the receiving side, the flip-flop 213a
outputs “1” or “0” as the read completion signal Sca, and transmits the transmission status flag a of the modem 201 and the DBU 20.
Set reception status flag b of 2.

このようにして、受信側となった場合は、それぞれの受
信状態フラグによって、双方向性トランシーバ211に
1バイトの受信するべきデータが書き込まれたか否かを
判断し、一方、送信側となった場合は、それぞれの送信
状態フラグによって、双方向性トランシーバ211に書
き込んだデータが受信側によって読み取られたか否かを
判断することが可能となる。
In this way, when it becomes the receiving side, it judges whether 1 byte of data to be received has been written to the bidirectional transceiver 211 based on each reception status flag, and on the other hand, when it becomes the sending side. In this case, it is possible to determine whether the data written to the bidirectional transceiver 211 has been read by the receiving side, depending on the respective transmission status flags.

これにより、送信側のモデムあるいはDBUが1バイト
ずつ双方向性トランシーバ211に書き込んで送信した
データが受信側に受信されたことを確認することができ
る。
This makes it possible to confirm that the data that the modem or DBU on the transmitting side writes and transmits one byte at a time to the bidirectional transceiver 211 has been received on the receiving side.

■1発明の・形態様 なお、上述した本発明の実施例にあっては、モデムとD
BUのライトストローブ信号とリードストローブ信号に
基づいて通信を制御するものを考えたが、モデムとDB
Uとの間に附らず、送信側が所定の長さごとに送信した
情報が受信側によって受信されていることを111認す
るものであれば適用できる。また、−度に送信される情
報の長さにも限定されない。
■1 Form of the invention In the embodiment of the invention described above, the modem and D
I thought of controlling communication based on the BU's write strobe signal and read strobe signal, but the modem and DB
It can be applied as long as it is not attached between the sender and the sender and that the receiver confirms that the information sent at intervals of a predetermined length is received by the receiver. Furthermore, the length of the information transmitted at each time is not limited.

更に、「■、実施例と第1図との対応関係」において、
本発明と実施例との対応関係を説明しておいたが5本発
明はこれに限られることはなく、各種の変形態様がある
ことは当業者であれば容易に推考できるであろう。
Furthermore, in "■, Correspondence between Examples and FIG. 1",
Although the correspondence between the present invention and the embodiments has been described above, those skilled in the art can easily imagine that the present invention is not limited to this and that there are various modifications.

〔発明の効果] 上述したように、本発明によれば、送信側の通信処理装
置が所定の長さの情報を送信するごとに、送信された情
報が受信側によって受信されたか否かを判別することが
できる。
[Effects of the Invention] As described above, according to the present invention, each time the communication processing device on the transmitting side transmits information of a predetermined length, it is determined whether the transmitted information has been received by the receiving side. can do.

これにより、通信処理装置のソフトウェアの負担を軽減
し、少ない構成要素を用いて確実に情報を伝送すること
ができるので、実用的には極めて有用である。
This makes it possible to reduce the burden on the software of the communication processing device and reliably transmit information using fewer components, which is extremely useful in practice.

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

第1図は本発明のインクフェース方式の原理ブロック図
、 第2図は本発明の一実施例によるインタフェース方式を
用いた通信システムの構成図、 第3図は第2図に示した実施例による通信システムの動
作を説明するタイミング図、 第4図は第2図に示した実施例による通信システムの動
作を説明する流れ図である。 図において、 101は通信処理装置、 110はインタフェース装置、 111は記憶手段、 112は通信制御手段、 201はモデム、 202はDBU。 210はインタフェース装置、 211は双方向性トランシーバ、 213はフリップフロップである。 :     。 ■坐へ4論ζ7ラプb 第3図 99“2セ、イクl1y)事nイ痕乏−第4 説明″a名ヨし・−図 図
Fig. 1 is a principle block diagram of the ink face method of the present invention, Fig. 2 is a configuration diagram of a communication system using an interface method according to an embodiment of the present invention, and Fig. 3 is a diagram according to the embodiment shown in Fig. 2. Timing Chart for Explaining Operation of Communication System FIG. 4 is a flowchart for explaining the operation of the communication system according to the embodiment shown in FIG. In the figure, 101 is a communication processing device, 110 is an interface device, 111 is a storage means, 112 is a communication control means, 201 is a modem, and 202 is a DBU. 210 is an interface device, 211 is a bidirectional transceiver, and 213 is a flip-flop. :. ■Go to the seat 4 theory

Claims (1)

【特許請求の範囲】[Claims] (1)互いに通信を行なう2つの通信処理装置(101
a,101b)と、 前記通信処理装置(101a,101b)の相互間で授
受される所定量の情報を記憶する記憶手段(111)、
前記記憶手段(111)に記憶された所定量の情報が既
に読み取られたか否かを判別する通信制御手段(112
)を有し、前記通信処理装置(101a,101b)の
相互間の通信を制御するインタフェース装置(110)
と、を具え、送信側の一方の通信処理装置(101)が
所定量の情報を送信するごとに、受信側の他方の通信処
理装置(101)が当該所定量の情報を受信したか否か
を判別するように構成したことを特徴とするインタフェ
ース方式。
(1) Two communication processing devices (101
a, 101b) and a storage means (111) for storing a predetermined amount of information exchanged between the communication processing device (101a, 101b);
communication control means (112) for determining whether a predetermined amount of information stored in the storage means (111) has already been read;
), and controls communication between the communication processing devices (101a, 101b).
and, each time one communication processing device (101) on the sending side transmits a predetermined amount of information, the other communication processing device (101) on the receiving side receives the predetermined amount of information. An interface method characterized by being configured to determine.
JP11548488A 1988-05-12 1988-05-12 Interface system Pending JPH01286550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11548488A JPH01286550A (en) 1988-05-12 1988-05-12 Interface system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11548488A JPH01286550A (en) 1988-05-12 1988-05-12 Interface system

Publications (1)

Publication Number Publication Date
JPH01286550A true JPH01286550A (en) 1989-11-17

Family

ID=14663661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11548488A Pending JPH01286550A (en) 1988-05-12 1988-05-12 Interface system

Country Status (1)

Country Link
JP (1) JPH01286550A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5154053A (en) * 1990-04-26 1992-10-13 Nippondenso Co., Ltd. Air-fuel ratio control apparatus for engine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5819062A (en) * 1981-07-27 1983-02-03 Nec Corp Line adaptor
JPS62173840A (en) * 1986-01-27 1987-07-30 Nec Eng Ltd Synchronous serial data reception system
JPS6429146A (en) * 1987-07-24 1989-01-31 Nec Corp Transmission control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5819062A (en) * 1981-07-27 1983-02-03 Nec Corp Line adaptor
JPS62173840A (en) * 1986-01-27 1987-07-30 Nec Eng Ltd Synchronous serial data reception system
JPS6429146A (en) * 1987-07-24 1989-01-31 Nec Corp Transmission control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5154053A (en) * 1990-04-26 1992-10-13 Nippondenso Co., Ltd. Air-fuel ratio control apparatus for engine

Similar Documents

Publication Publication Date Title
CA1197590A (en) Method and apparatus for graceful preemption on a digital communications link
JPS604624B2 (en) System for retransmitting incorrect information frames
JPS6043767A (en) Interface circuit
US5228129A (en) Synchronous communication interface for reducing the effect of data processor latency
JPH01286550A (en) Interface system
US4788717A (en) Telephone line interface option module
EP0228954A1 (en) Telephone line interface option module
JPS63146539A (en) Data transmission equipment
JP3799741B2 (en) Bus controller
JP2508982B2 (en) In-device control method
JPH077969B2 (en) Communication control method
JPS63263856A (en) General input/output interface/hdlc interface conversion device
JPS581235A (en) Transfer system for communication bus data
JPS58219856A (en) Data communication system
JPS63205757A (en) Information transfer system
JPH0222959A (en) Facsimile communication system
JPS60167052A (en) Data transfer method
JPS60158750A (en) High-speed communication system
JPS6159944A (en) Sequence number check system
JPH0670054A (en) Facsimile adapter equipment
JPH08123594A (en) Serial signal transmission system
JPH01237747A (en) Input and output control device
JPH01276940A (en) Data transfer controller
JPH05224827A (en) Disk mirroring mechanism
JPH0448018B2 (en)