JPH0354939A - Method of controlling interface - Google Patents

Method of controlling interface

Info

Publication number
JPH0354939A
JPH0354939A JP19104089A JP19104089A JPH0354939A JP H0354939 A JPH0354939 A JP H0354939A JP 19104089 A JP19104089 A JP 19104089A JP 19104089 A JP19104089 A JP 19104089A JP H0354939 A JPH0354939 A JP H0354939A
Authority
JP
Japan
Prior art keywords
data
input
devices
output
bus
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
JP19104089A
Other languages
Japanese (ja)
Inventor
Hideo Owada
大和田 秀夫
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 JP19104089A priority Critical patent/JPH0354939A/en
Publication of JPH0354939A publication Critical patent/JPH0354939A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (It要) 複数の機器が互いに同期をとりながら動作するためのイ
ンターフェース制tlDt法に関し、ソ−ノト処理を簡
易化すると共に時間関係を正しく制御することを目的と
し、 複数の機器が入出力装置を介して共通バスに接続され、
qいに同期して動竹するようにされたシステムのインタ
ーフェース制御方式において、前記入出力装置を、対応
して設けられた機器から該入出力装置を介して送信され
る送信データが前記共通バスへ出力され終る毎に入力さ
れる出力終了通知と、該共通バスを介して入力される受
信データの入力通知のうちどちらが先に入力されたかを
判別する判別手段と、該r1別手段の出力に基づいて先
に入力された方のデータを読取る読取り手段とを有する
よう構成する。
[Detailed Description of the Invention] (Required) Regarding the interface-based tlDt method for multiple devices to operate in synchronization with each other, the purpose of this invention is to simplify the so-note processing and to correctly control the time relationship. Multiple devices are connected to a common bus through input/output devices,
In the interface control method of the system, the input/output device is configured to operate in synchronization with the common bus. determining means for determining which of the output completion notification inputted each time the output is completed and the input notification of received data inputted via the common bus is inputted first; and reading means for reading the data input earlier based on the data input.

〔産業上の利用分野) 本発明はインターフェースtI11wJ方法に係り、特
に複数の機器が互いに同期をとりながら動作するための
インターフェースIt.lJI11方法に関する。
[Industrial Application Field] The present invention relates to an interface tI11wJ method, and particularly to an interface It. Regarding the lJI11 method.

近年、家庭内情報通信路(ホームバス)を用いた各種情
報機器のシステム化が種々提案されている。このホーム
バスでは各部屋に配線したホームバスに情報コンセント
を設け、電話機,テレビジョン受像機,インターホン,
パーソプルコンピュータ,セキュリティシステム機器そ
の他をこの情報コンセントに接続することにより所定の
サービスを受けることができ、家庭の生活を情報通信に
よって戸外の諸社会機能と密接に結びつけようというも
のである。
In recent years, various proposals have been made to systemize various information devices using home information communication channels (home buses). In this home bus, information outlets are installed in the home bus wired to each room, and telephones, television receivers, intercoms, etc.
By connecting personal computers, security system equipment, and other devices to this information outlet, users can receive designated services, and the idea is to closely connect home life with various outdoor social functions through information communication.

かかるホームバスのようなシステムでは複数の機器が共
通のバスに接続されて互いに同期を取りながらに動作す
るため、複数の機器の入出力のインターフェースilt
lltllが重要となる。
In a system such as a home bus, multiple devices are connected to a common bus and operate in synchronization with each other, so the input/output interface of multiple devices is
lltll is important.

〔従来の技術〕[Conventional technology]

第4図に示す如く複数の機器1〜5を有するシステムに
おいて、機器1.2及び3は夫々個別に入出力装!!(
I/O装置冫6.7及び8を介して、またvi器4及び
5は夫々共通の1/0装置9を介してバス10に共通に
接続されている。これらの8l器1〜5はI/O装置6
〜9を介してバス10に接続され、互いに同用をとって
動作するようにデータの送受信を行なっている。
In a system having a plurality of devices 1 to 5 as shown in FIG. 4, devices 1, 2 and 3 each have individual input/output devices! ! (
Via the I/O devices 6.7 and 8, the VI devices 4 and 5 are each commonly connected to the bus 10 via a common 1/0 device 9. These 8l units 1 to 5 are I/O devices 6
.about.9 to the bus 10, and transmit and receive data so that they operate in the same way.

従って、機器1〜5のうち或る一つの機器が初作してい
る場合は、そのことを他のすべての機器が知っており、
バス10を占有したり、別の機器とのデータ転送が女障
なくできるようにしている。
Therefore, if one of the devices 1 to 5 is making its first production, all other devices will know about it.
This allows the bus 10 to be occupied and data to be transferred to other devices without any hindrance.

しかし、機器1〜3のように専用のI/O装置6〜8を
備えている場合は問題ないが、機器4及び5のように1
つのI/O装置9を2つの機器が共有している場合(例
えばホームバスのコントローラと電話機のように、筐体
としては1つであるが、機能(機器)としては2つある
場合、コスト低減のためI/O装Uは1つだけとするこ
とが多い。〉は、!l器4と5との間だけでデータの送
受信を行なうと、その動作情報は他のIll器に伝達さ
れf1システム仝休の同期がとれなくなってしまう。
However, there is no problem if devices 1 to 3 are equipped with dedicated I/O devices 6 to 8, but devices 4 and 5 are equipped with dedicated I/O devices 6 to 8.
When two devices share one I/O device 9 (for example, a home bus controller and a telephone, which have one casing but two functions (devices)), the cost In order to reduce the number of I/O units, there is often only one I/O unit U.If data is sent and received only between units 4 and 5, the operation information will be transmitted to other units. The f1 system is no longer synchronized.

そこで、従来は機器4及び5の一方から他方へデータを
転送する場合は、第5図に示す如く、上位のソ゛ノトに
より上記のデータ転送を例えばパラレルに行なうと同時
に、I/Oインターフェース用ソノトSに基づいて上記
のデータを、入出力装置9を介してバス10へもシリア
ルに出力するようにしている。
Conventionally, when data is transferred from one of the devices 4 and 5 to the other, as shown in FIG. Based on this, the above data is also output serially to the bus 10 via the input/output device 9.

(発明が解決しようとする5!題) しかるに、I/O装置6〜9の間のバス10を介しての
実際のシリアルデータ転送には時間の遅れが存在するの
に対し、機器4及び5の間のデータ転送はパラレルで行
なわれるために時間の遅れが無く、このため他のta器
がデータを正常に受信する前に機器4及び5が次のデー
タを出力することが可能になり、全体の同期を崩すもの
となる。
(5! Problems to be Solved by the Invention) However, while there is a time delay in the actual serial data transfer via the bus 10 between the I/O devices 6 to 9, Since the data transfer between is performed in parallel, there is no time delay, and therefore devices 4 and 5 can output the next data before the other TA devices receive the data normally. This will break the overall synchronization.

そこで、従来は第5図に示したI/Oインターフェース
用ソフトSによりウェイトを置くなどの処理を行なって
いるが、このソノトウI?処理によりI/O装置6〜9
1F18の実際のシリアルデータ転送遅れ時間に正確に
一致させるためにソノトウエアが檜雑なものとなる。
Therefore, in the past, processing such as placing a wait was performed using the I/O interface software S shown in Fig. 5, but this Sonoto I? I/O devices 6 to 9 depending on processing
In order to accurately match the actual serial data transfer delay time of 1F18, the software becomes complicated.

本発明は上記の点に鑑みてなされたもので、ソフト処理
を簡易化すると共に時間関係を正しく制御し得るインタ
ーフェース制御方法を提供することを目的とする。
The present invention has been made in view of the above points, and it is an object of the present invention to provide an interface control method that can simplify software processing and correctly control time relationships.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図を丞す。同図中、11は入
出力装胃で機器に対応して設けられ、かつ、共通バス1
2を介して複数接続されている。
FIG. 1 shows a basic configuration diagram of the present invention. In the figure, reference numeral 11 denotes an input/output unit provided corresponding to the equipment, and a common bus 1.
Multiple connections are made via 2.

13は判別手段で、送信データが共通バス12へ出力さ
れ終る毎に入力される出力終了通知と、共通バス12を
介して入力される受信データの入力通知のうちどちらが
先に入力されたかを判別する。
Reference numeral 13 denotes a determining means that determines which of the output end notification inputted every time transmission data is outputted to the common bus 12 and the reception data input notification inputted via the common bus 12 is inputted first. do.

14は読取り手段で、判別手段13の出力に基づいて先
に入力された方のデータを読取る。
Reference numeral 14 denotes a reading means, which reads the data input earlier based on the output of the determining means 13.

〔伺用〕[Inquiry]

判別手段13は送信データが共通バス12へ出力され終
る毎に送信データ送信を判別するから、送信データが共
通バス12ヘシリアルに転送される場合は、1つのデー
タの最後のビットが転送された時点でデータ送信を判別
する。
The determination means 13 determines whether the transmission data is being transmitted each time the transmission data is output to the common bus 12. Therefore, when the transmission data is serially transferred to the common bus 12, the time when the last bit of one data is transferred is determined. to determine data transmission.

そして、読取り千段14はこのデータ送信判別出力によ
り送信データを読取るため、入出力装直11が複数の機
器に共通に接続されており、その?!2r!lの機器間
でパラレルにデータ転送が行なわれた場合でも、ハード
ウエア構成により他の機器が該送信データを受信するの
と同じ時間関係で読取ることができる。
Since the reading stage 14 reads the transmitted data based on this data transmission determination output, the input/output unit 11 is commonly connected to a plurality of devices. ! 2r! Even if data is transferred in parallel between 1 devices, the hardware configuration allows other devices to read the transmitted data at the same time as they receive it.

(実施例〕 第2図は本発明の要部の一実施例のブロック図を示す。(Example〕 FIG. 2 shows a block diagram of an embodiment of the main part of the present invention.

本実施例は前記判別f段13に相当する実施例で、機器
(図示せず)からの送信データは送信バッノ716で−
時記憶された後、シフトレジスタ又はハンドシエイク回
路17に入力される一方、バッノ?18に入力されて一
時記憶される。
This embodiment is an embodiment corresponding to the discrimination f stage 13, and the transmission data from the device (not shown) is sent to the transmission vane 716.
After the time is stored, it is input to the shift register or handshake circuit 17. 18 and is temporarily stored.

ここで、士記の送信データはバスを介して複数の機器間
でシリアルデータ伝送を行なう場合は、例えば第3図に
示す如く、Do”Dt+のデータビットの先頭にスター
トビットが付加され、かつ、データビットの後にバリテ
イビットDpとストップビットとが付加されて1#ヤラ
クタを構成するデータフォーマットとされている。
Here, when serial data transmission is performed between multiple devices via a bus, a start bit is added to the beginning of the data bit of Do"Dt+, and , a validity bit Dp and a stop bit are added after the data bit, forming a data format that constitutes a 1# character.

シフトレジスタ又はハンドシエイク回路17は入力送信
データをバスへ送出する一方、その送信データがバス上
に出力され終了したことを、第3図のストップビットを
検出することにより判別し、その終了通知信号をステー
タスレジスタ19へ供給する。
While the shift register or handshake circuit 17 sends the input transmission data to the bus, it determines that the transmission data has been output onto the bus and has finished by detecting the stop bit in FIG. 3, and sends the completion notification signal. It is supplied to the status register 19.

一方、バスを介して他のvi器から送信されてくるデー
タはシフトレジスタ又はハンドシエイク回路20に入力
され、ここで受信された後受信バッフ?21に入力され
る。
On the other hand, data sent from other VI devices via the bus is input to the shift register or handshake circuit 20, where it is received and then stored in the receive buffer. 21.

ステータスレジスタ19は送信バツフ?16からの情報
と、シフトレジスタ又はハンドシェイク回路17からの
データ毎の送信終了通知信号と、受信バッノ?21から
の受信データ入力情報とが入力され、送信データと受信
データのどちらが先に入力されたかを示すフラグをもち
、そのフラグに基づいてステータスを中央処理装t?t
(CPLJ)等からなる読取り手段14へ送出する。
Is status register 19 a transmission buffer? 16, a transmission completion notification signal for each data from the shift register or handshake circuit 17, and a reception buffer? The received data input information from the central processing unit t? t
(CPLJ) or the like to the reading means 14.

読取り丁段14を構成するCPUは士記のステータスと
共に、バッフ718からの送信データ及び受信バッフ7
21からの受信データのうち、先に入力された方のデー
タを読取る。
The CPU constituting the reading stage 14 reads the status of the officer, as well as the transmission data from the buffer 718 and the reception buffer 7.
Among the received data from 21, the data that was input first is read.

このように、本実施例によれば、このI/O装置が送信
したデータを、送信したI/O装置自身が受信し取込む
ことができるため、このI/O装置が複数の機器間で共
通に使用される場合でも実際の送信データの時間遅れを
識別することができる。しかも、本実施例ではソフトウ
エア処理でなく、ハードウエア処理で時間遅れの識別が
でぎるため、ソフト処理を従来に比べて簡略化できる。
In this way, according to this embodiment, the data sent by this I/O device can be received and taken in by the sending I/O device itself, so that this I/O device can be transmitted between multiple devices. It is possible to identify time delays in actual transmitted data even when commonly used. Moreover, in this embodiment, since the time delay can be identified by hardware processing rather than software processing, the software processing can be simplified compared to the conventional method.

なお、本発明は上記の実施例に限定されるものではなく
、閏えばバツフ718は設けなくてもよく、またデータ
フォーマットは第3図以外のフォーマットも可能である
Note that the present invention is not limited to the above-described embodiment, and the buffer 718 may not be provided, and data formats other than those shown in FIG. 3 are also possible.

〔発明の効果〕〔Effect of the invention〕

上述の如く、本発明によれば、入出力装四が複数の機器
に共通に接続されていても、その入出力装dが実際に送
信したデータを自分自身でも受信するようにしたので、
バスに接続されている別の機器がその送信データを受信
するのと同じ時間関係を正確に保持することができ、ま
たハードウエア構成によりr1liS11Il係を保持
するようにしているため、従来に比べソフト処理を簡略
化することができる等の特長を有するものである。
As described above, according to the present invention, even if the input/output device 4 is commonly connected to a plurality of devices, the input/output device 4 itself receives the data actually transmitted.
It is possible to accurately maintain the same time relationship as when another device connected to the bus receives the transmitted data, and because the hardware configuration maintains r1liS11Il, it requires less software than before. This method has features such as being able to simplify processing.

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

第1図は本発明の原理構成図、 第2図は本発明の要部の一実施例のブロック図、第3図
は伝送データのフォーマットの一例を示す図、 第4図は本発明が適用されるシステムのW4戊図、第5
図は従来h式の説明図である。 図において、 1〜5は機器、 6〜9は入出力装置(■/0装欽) 11は入出力装置、 12は共通バス、 13は判別手段、 14は読取り手段、 16は送信バッフ7、 19はステータスレジスタ を示す。 本発明の原埋構威図 第1図 本発明の要部の一実施例のプロノク図 第 2 図 伝送データのフオーマノトの一例 第3図 本発明が適弔される/ステムの構成図 第4図 従来方式の説明図 第5図
Fig. 1 is a diagram showing the principle configuration of the present invention, Fig. 2 is a block diagram of an embodiment of the main part of the present invention, Fig. 3 is a diagram showing an example of the format of transmission data, and Fig. 4 is a diagram to which the present invention is applied. W4 diagram of the system to be used, No. 5
The figure is an explanatory diagram of the conventional h-type. In the figure, 1 to 5 are devices, 6 to 9 are input/output devices (■/0 equipment), 11 is an input/output device, 12 is a common bus, 13 is a discrimination means, 14 is a reading means, 16 is a transmission buffer 7, 19 indicates a status register. Fig. 1 is a schematic diagram of an embodiment of the main part of the present invention Fig. 2 is an example of the form of transmission data Fig. 3 is a diagram of the structure of the stem in which the present invention is properly carried out Fig. 4 Figure 5 is an explanatory diagram of the conventional method.

Claims (1)

【特許請求の範囲】 複数の機器が入出力装置(11)を介して共通バス(1
2)に接続され、互いに同期して動作するようにされた
システムのインターフェース制御方法において、 前記入出力装置(11)を、 対応して設けられた機器から該入出力装置 (11)を介して送信される送信データが前記共通バス
(12)へ出力され終る毎に入力される出力終了通知と
、該共通バス(12)を介して入力される受信データの
入力通知のうちどちらが先に入力されたかを判別する判
別手段(13)と、該判別手段(13)の出力に基づい
て先に入力された方のデータを読取る読取り手段(14
)と、を有することを特徴とするインターフェース制御
方法。
[Claims] A plurality of devices connect to a common bus (1) via an input/output device (11).
2), in which the input/output device (11) is connected to a correspondingly provided device via the input/output device (11). Which of the output completion notification inputted every time the transmission data to be transmitted is finished being output to the common bus (12) and the input notification of reception data inputted via the common bus (12) is input first? a reading means (14) for reading the data input earlier based on the output of the determining means (13);
), an interface control method comprising:
JP19104089A 1989-07-24 1989-07-24 Method of controlling interface Pending JPH0354939A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19104089A JPH0354939A (en) 1989-07-24 1989-07-24 Method of controlling interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19104089A JPH0354939A (en) 1989-07-24 1989-07-24 Method of controlling interface

Publications (1)

Publication Number Publication Date
JPH0354939A true JPH0354939A (en) 1991-03-08

Family

ID=16267888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19104089A Pending JPH0354939A (en) 1989-07-24 1989-07-24 Method of controlling interface

Country Status (1)

Country Link
JP (1) JPH0354939A (en)

Similar Documents

Publication Publication Date Title
JP2863771B2 (en) Synchronous serial interface resynchronization method and circuit
JPH01241935A (en) Synchronized formatter
JPS63255760A (en) Control system
EP1391827B1 (en) Transmission apparatus and tramsmission method
JPH0354939A (en) Method of controlling interface
JP3269530B2 (en) Serial communication system and serial communication method
JP2000132506A (en) Communication device
JPS62166632A (en) Data communication system
JPH05252163A (en) Remote input/output device
JP2602350B2 (en) Communication device
JPS6074848A (en) Serial data transfer system
JPS6314538B2 (en)
JPH04294431A (en) Trouble data collecting device
JPH0648819B2 (en) Electronic exchange
JPS62125736A (en) Data transfer equipment
JPH0151226B2 (en)
JPS5814640A (en) Signal receiving system of data exchange device
JPS58173938A (en) Data transmission controlling method in unit of plural bits
JPH05143420A (en) System for comparing magnetic tapes between hosts
JPH0388446A (en) Polling system
JPH0120774B2 (en)
JPS6350218A (en) Data tranasmission system
JPS6367944A (en) Communication control equipment
JPH01114230A (en) Serial date transmission system
JPS63258130A (en) Data transmission method