JPH04148260A - Communication system between main body and terminal - Google Patents

Communication system between main body and terminal

Info

Publication number
JPH04148260A
JPH04148260A JP2270141A JP27014190A JPH04148260A JP H04148260 A JPH04148260 A JP H04148260A JP 2270141 A JP2270141 A JP 2270141A JP 27014190 A JP27014190 A JP 27014190A JP H04148260 A JPH04148260 A JP H04148260A
Authority
JP
Japan
Prior art keywords
processing device
terminal
data
main body
main
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
JP2270141A
Other languages
Japanese (ja)
Inventor
Masatoshi Takita
雅敏 瀧田
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 JP2270141A priority Critical patent/JPH04148260A/en
Publication of JPH04148260A publication Critical patent/JPH04148260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a process efficiency from being decreased caused by the retry increase of a main body processor when congesting a terminal processor by communicating by the initiative of the terminal processor. CONSTITUTION:In a terminal processor 10A, a terminal processing means 12 executes an internal process, and when a request to transfer data from the terminal processor 10A to a main body processor 20 is generated, it is informed to a terminal communication control means 11A that there are transfer data. The terminal communication control means 11A transmits a transfer request to the main body processor 20. In the main body processor 20, a main body processing means 21 executes the internal process, and when a main body communication control means 22 receives the transfer request, the means 22 interrupts the main body processing means 21 and starts a communication process, then returns a reception confirmation to the terminal processor 10A. Thus, it is possible to prevent the process efficiency from being decreased caused by the retry increase of the main body processor 20 when congesting the terminal processor.

Description

【発明の詳細な説明】 〔概 要〕 端末処理装置と本体処理装置間の通信制御方式端末処理
装置主導により通信を行なうことにより端末処理装置主
導時の本体処理装置のりトライ増加に起因する処理能率
低下を防止することを目的とし、 本体処理装置に端末処理装置が接続されてなるシステム
における端末処理装置と本体処理装置間の通信方式であ
って、端末処理装置内に、前記本体処理装置との間の通
信の制御を行なう端末通信制御手段と、前記端末処理装
置内の内部処理を実行し、内部処理の間に前記端末通信
制御手段を起動して前記本体処理装置との間の通信を制
御せしめる端末処理手段を備え、前記本体処理装置内に
、該本体処理装置内の内部処理を実行する本体処理手段
と、前記端末処理装置との間でデータを授受し、該端末
処理装置よりデータを受信したときに前記本体処理手段
に割り込みを行うとともに受信したデータを解析し、解
析結果と本体処理装置側よりの転送データの有無に応じ
たデータを前記端末処理装置に返送し、通信を終了した
ときに前記本体処理手段を通常処理に復帰せしめる本体
通信制御手段を備え、端末処理装置と本体処理装置間の
通信を端末処理装置が主導して行なうように構成する。
[Detailed Description of the Invention] [Summary] A communication control method between a terminal processing device and a main processing device. Processing efficiency is improved due to an increase in number of tries by the main processing device when the terminal processing device takes the lead, by performing communication under the initiative of the terminal processing device. A communication method between a terminal processing device and a main processing device in a system in which a terminal processing device is connected to a main processing device, with the aim of preventing the main processing device from degrading. a terminal communication control means for controlling communication between the two; and a terminal communication control means for executing internal processing within the terminal processing device and activating the terminal communication control means during the internal processing to control communication with the main processing device. The main body processing device includes a terminal processing means for executing internal processing in the main body processing device, and transmits and receives data between the main body processing means for executing internal processing in the main body processing device and the terminal processing device, and transmits data from the terminal processing device. When receiving the data, it interrupts the main body processing means, analyzes the received data, returns the analysis result and data according to the presence or absence of transfer data from the main processing device side to the terminal processing device, and terminates the communication. The main body communication control means is provided to sometimes return the main body processing means to normal processing, and the terminal processing apparatus is configured to take the lead in communication between the terminal processing apparatus and the main body processing apparatus.

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

本発明は、端末処理装置と本体処理装置間の通信処理方
式に関する。
The present invention relates to a communication processing method between a terminal processing device and a main processing device.

データ処理装置(以下、本体処理装置と記す)にはマン
・マシンインタフェース用のコンソールが接続されるの
か一般的であるが、コンソールとしてタイプライタやデ
イスプレィユニットとキーボードを組合せたデイスプレ
ィ端末(VDU)が多く使用されてきた。しかし、近年
はこれらをパーソナル・コンピュータ(PC,以下パソ
コンと略記する)に代用させる傾向が強(なってきてい
る。
Generally, a console for man-machine interface is connected to the data processing device (hereinafter referred to as main processing device), but the console can also be a typewriter or a display terminal (VDU) that combines a display unit and keyboard. has been used a lot. However, in recent years, there has been a strong tendency to replace these with personal computers (PCs, hereinafter abbreviated as personal computers).

上記の傾向から機能が豊富なパソコンを使用する場合は
、単に端末としての機能のみに留めず、内部のソフトウ
ェア機能を活用して高機能化し、マン・マシンインタフ
ェースの支援を行わせることが多くなってきている。例
えば、コマンド投入のカタログ化、メツセージのロギン
グ・サプレス、コマンドメニューの提供など、利便性を
向上する機能が付与されるようになってきている。
Due to the above trends, when using a computer with a wealth of functions, it is becoming more and more common to utilize internal software functions to increase functionality and support man-machine interfaces, rather than just functioning as a terminal. It's coming. For example, functions that improve convenience are being added, such as cataloging command input, logging/suppressing messages, and providing command menus.

しかし、これらの機能を追加した結果、パソコンが多く
の処理を行うこととなり、本体処理装置が端末としての
パソコンに対して出力を行う場合に端末が処理状態にあ
るために出力ができず、本体処理装置が出力リトライを
繰り返すことが多くなり、このため、本体処理装置の処
理に負荷を与え、処理効率が低下するという問題が生じ
てきている。
However, as a result of adding these functions, the computer performs a lot of processing, and when the main processing unit outputs to the computer as a terminal, it cannot output because the terminal is in a processing state, and the main processing unit The processing device often repeats output retries, which has created a problem in that it places a load on the processing of the main processing device and reduces processing efficiency.

端末が処理中の場合の本体処理装置の待ち時間を減少す
るために、パソコンのオペレーティングシステム(O8
)にマルチタスク処理機能をもつものを採用するなどの
対策もとられているが、この場合、パソコン側の処理負
担は一層重くなり、かつ処理が複雑になるなどの弊害も
発生しており、別の方策が必要となっている。
In order to reduce the waiting time of the main processing unit when the terminal is processing, the PC operating system (O8
) have multi-task processing capabilities, but in this case, the processing burden on the computer becomes even heavier and the processing becomes more complicated. Another strategy is needed.

〔従来の技術〕 第7図は従来技術の構成図、第8図は従来技術の通信手
順図である。
[Prior Art] FIG. 7 is a block diagram of the prior art, and FIG. 8 is a communication procedure diagram of the prior art.

以下、第7図及び第8図について説明する。Hereinafter, FIGS. 7 and 8 will be explained.

端末処理装置30内では端末処理部32が内部処理(待
機状態を含む)を行っている。端末処理装置30側から
本体処理装置40に対してデータ転送を行う場合は、例
えば図示省略されたキーボードなどからデータ転送を行
うコマンドを入力する。このコマンドは端末処理部32
を経て端末通信制御部31に入力され、該端末通信制御
部31内の送信部34より転送要求を示す制御コード(
例えばENQ)が本体処理装置40に対して送出される
−(第8図■、以下、単に■と記す)。本体処理装置4
0では本体通信制御部42の受信部43がこの制御コー
ドを受信し、送信部44を介して受信の確認と次のデー
タなどの送信が可であることを示す制御コード(DCり
を返送する(■)。
Within the terminal processing device 30, a terminal processing section 32 performs internal processing (including a standby state). When data is transferred from the terminal processing device 30 side to the main processing device 40, a command for data transfer is input from, for example, a keyboard (not shown). This command is executed by the terminal processing section 32.
A control code (
For example, ENQ) is sent to the main processing device 40 (■ in FIG. 8, hereinafter simply referred to as ■). Main body processing device 4
0, the receiving unit 43 of the main body communication control unit 42 receives this control code, and sends back a control code (DC return) through the transmitting unit 44 that confirms the reception and indicates that it is possible to send the next data. (■).

端末通信制御部31の受信部35が上記制御コードを受
信するとこれによって、端末処理装置30は送信部34
を介してデータの転送を開始する(■)。
When the receiving unit 35 of the terminal communication control unit 31 receives the control code, the terminal processing device 30 transmits the control code to the transmitting unit 34.
Start transferring data via (■).

全データの転送が完了すると、本体処理装置40は全転
送データを受信したことを示す制御コード(DC4)を
返送しく■)、データ転送を完了する。
When the transfer of all the data is completed, the main processing device 40 returns a control code (DC4) indicating that all the transferred data has been received (■), and completes the data transfer.

次に本体処理装置40より端末処理装置30に対してメ
ツセージを送信する場合について説明する。
Next, the case where a message is transmitted from the main processing device 40 to the terminal processing device 30 will be described.

本体処理装置40では本体処理部41が通常の処理(待
機状態を含む)を行っているが、本体処理装置40より
端末処理装置30に対して転送するメツセージが発生す
ると、本体処理部41より本体通信制御部42に対して
データ転送の要求を送出し、これを受けた本体通信制御
部42が送信部44より転送要求を示す制御コード(E
NQ)を端末処理装置30に対して送出する(■)。端
末処理装置30では端末通信制御部31の送信部44を
介して受信の確認を示す制御コード(A CK)を返送
する(■)。
In the main body processing device 40, the main body processing unit 41 performs normal processing (including standby state), but when a message to be transferred from the main body processing device 40 to the terminal processing device 30 occurs, the main body processing unit 41 A data transfer request is sent to the communication control unit 42, and upon receiving the request, the main body communication control unit 42 sends a control code (E) indicating the transfer request from the transmission unit 44.
NQ) is sent to the terminal processing device 30 (■). The terminal processing device 30 returns a control code (ACK) indicating confirmation of reception via the transmitter 44 of the terminal communication controller 31 (■).

本体処理装置40はこれによって送信部44を介してデ
ータの転送を開始する(■)。端末処理装置30は全デ
ータを受信すると本体処理装置40に全転送データを受
信したことを示す制御コード(ACK)を返送しく■)
、データ転送を完了する。
The main processing device 40 thereby starts transferring data via the transmitter 44 (■). When the terminal processing device 30 receives all the data, it should return a control code (ACK) to the main processing device 40 indicating that it has received all the transferred data (■)
, complete the data transfer.

以上の如く、従来技術では本体処理装置40よりメツセ
ージを送信する場合には本体処理装置40側から転送要
求を発出するが、端末処理装置30が内部処理を行って
いる場合には転送要求(第8図■)が送出できないため
、端末処理装置30が該転送要求を受付でくれるまで一
定周期でリトライを繰り返す。しかし、端末処理装置3
0に高機能のパソコンなどが使用されている場合には、
端末処理装置30が長時間空き状態とならない場合があ
り、本体処理装置40は長時間リトライを繰り返すこと
となり、本体処理装置40の負荷が増え、処理効率が低
下するという結果を招いている。
As described above, in the conventional technology, when the main processing device 40 sends a message, a transfer request is issued from the main processing device 40 side, but when the terminal processing device 30 is performing internal processing, the transfer request (the 8) cannot be sent, retries are repeated at regular intervals until the terminal processing device 30 accepts the transfer request. However, the terminal processing device 3
If a high-performance computer is used for 0,
The terminal processing device 30 may not be in an idle state for a long time, and the main processing device 40 has to repeat retries for a long time, resulting in an increase in the load on the main processing device 40 and a decrease in processing efficiency.

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

従来技術の端末本体間通信においては、本体処理装置か
ら端末処理装置に対するデータ転送は本体処理装置側か
ら転送要求を行う方式を用いているため、端末処理装置
の処理量が多く、長時間空き状態とならない場合には転
送要求が端末処理装置に受付けられず、本体処理装置は
りトライの繰り返しによる処理の増加により処理効率が
低下するという問題を生じていた。
In conventional communication between terminals, data transfer from the main processing device to the terminal processing device uses a method in which a transfer request is made from the main processing device side, so the processing amount of the terminal processing device is large and the terminal processing device is idle for a long time. If this is not the case, the transfer request is not accepted by the terminal processing device, resulting in a problem in that processing efficiency decreases due to increased processing due to repeated attempts by the main processing device.

本発明は、端末処理装置主導により通信を行なうことに
より端末処理装置30側の本体処理装置のりトライ増加
に起因する処理能率低下を防止することを目的とする。
An object of the present invention is to prevent a decrease in processing efficiency due to an increase in the main processing device connection attempts on the terminal processing device 30 side by performing communication under the initiative of the terminal processing device.

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

第1図は本発明の原理説明図、第2図は本発明の詳細な
説明図である。
FIG. 1 is an explanatory diagram of the principle of the present invention, and FIG. 2 is a detailed explanatory diagram of the present invention.

図中、10A、 10Bは端末処理装置、20は本体処
理装置、11A、 11Bはそれぞれ前記端末処理装置
10A。
In the figure, 10A and 10B are terminal processing devices, 20 is a main processing device, and 11A and 11B are terminal processing devices 10A, respectively.

10B内に設けられて前記本体処理装置20との間の通
信の制御を行なう端末通信制御手段、12は該端末通信
制御手段11B内に設けられ、前記端末処理装置10B
より前記本体処理装置20に送信するデータが大量であ
る場合に該データを一定量ごとに区切って送信し、全デ
ータまたは前記一定量のデータの送信を終了する都度、
該端末処理装置10Bより前記本体処理装置2θに対し
て、該本体処理装置20側から端末処理装置10Bに対
する送信データの有無を確認する処理を行う本体送信要
求監視手段、12は前記端末処理装置10A、 10B
内の内部処理を実行し、内部処理の間に前記端末通信制
御手段11A、 11Bを起動して前記本体処理装置2
0との間の通信を制御せしめる端末処理手段である。
Terminal communication control means 12 is provided in the terminal communication control means 11B and controls communication with the main body processing device 20;
When a large amount of data is to be transmitted to the main processing device 20, the data is divided into fixed amounts and transmitted, and each time the transmission of all data or the fixed amount of data is finished,
12 is a main body transmission request monitoring means that performs processing for checking the presence or absence of transmission data from the main body processing device 20 side to the terminal processing device 2θ from the terminal processing device 10B to the main body processing device 2θ; , 10B
1. During the internal processing, the terminal communication control means 11A and 11B are activated to control the main processing device 2.
This is a terminal processing means that controls communication with 0.

また、2Iは前記本体処理装置20内に設けられて該本
体処理装置20内の内部処理を実行する本体処理手段、
22は前記端末処理装置10A、 10Bとの間でデー
タを授受し、該端末処理装置10A、 10Bよりデー
タを受信したときに前記本体処理手段21に割り込みを
行うとともに受信したデータを解析し、解析結果と本体
処理装置20側よりの転送データの有無に応じたデータ
を前記端末処理装置10A、 10Bに返送し、通信を
終了したときに前記本体処理手段21を通常処理に復帰
せしめる本体通信制御手段である。
Further, 2I is a main body processing means provided in the main body processing device 20 to execute internal processing within the main body processing device 20;
22 exchanges data with the terminal processing devices 10A, 10B, interrupts the main body processing means 21 when receiving data from the terminal processing devices 10A, 10B, and analyzes the received data. main body communication control means that returns the results and data depending on the presence or absence of transferred data from the main body processing device 20 side to the terminal processing devices 10A, 10B, and causes the main body processing means 21 to return to normal processing when communication is terminated; It is.

なお、請求項3は前記端末処理装置lOと前記本体処理
装置20間の通信において、通信を制御する複数の制御
コードに制御コード相互間が2ビット以上差をもつコー
ドのみを使用する方法で、前記端末通信制御手段11A
、 11Bと本体通信制御手段22間において授受され
る制御コードに適用される手段である(図示省略)。
A third aspect of the present invention is a method of using only codes having a difference of 2 bits or more between control codes in a plurality of control codes for controlling communication in communication between the terminal processing device IO and the main processing device 20, The terminal communication control means 11A
, 11B and the main body communication control means 22 (not shown).

〔作 用〕[For production]

第3図は本発明の基本通信手順図である。以下、第1図
、第2図及び第3図を併用して本発明の詳細な説明する
FIG. 3 is a basic communication procedure diagram of the present invention. Hereinafter, the present invention will be explained in detail using FIG. 1, FIG. 2, and FIG. 3.

第1図において、端末処理装置10A内では端末処理手
段12が内部処理(待機状態を含む)を行っているが、
端末処理装置10Aより本体処理装置20に対してデー
タを転送する要求が生ずると、端末通信制御手段11A
に対して転送データがあることを通知する。該端末通信
制御手段11Aはこれにより本体処理装置20に対して
転送要求を送信する(第3図■参照)。本体処理装置2
0では本体処理手段21が内部処理を行っているが、本
体通信制御手段22が前記転送要求を受信すると、本体
処理手段21に対して割り込んで通信処理を開始し、受
信確認を端末処理装置10Aに返送する(■)。
In FIG. 1, within the terminal processing device 10A, the terminal processing means 12 is performing internal processing (including a standby state).
When a request to transfer data is issued from the terminal processing device 10A to the main processing device 20, the terminal communication control means 11A
Notify that there is data to be transferred. The terminal communication control means 11A thereby transmits a transfer request to the main processing device 20 (see FIG. 3). Main body processing device 2
0, the main body processing means 21 is performing internal processing, but when the main body communication control means 22 receives the transfer request, it interrupts the main body processing means 21 and starts communication processing, and sends reception confirmation to the terminal processing device 10A. Return it to (■).

これによって、端末通信制御手段11Aは端末処理手段
12を介して入力される転送データを本体処理装置20
に送信する(■)。全データの転送が完了すると本体通
信制御手段22は転送データの受信が完了したことを端
末処理装置10Aに送る(■)とともに、本体処理手段
21に対して通常処理に復帰してよいことを知らせる。
As a result, the terminal communication control means 11A transfers the transfer data input via the terminal processing means 12 to the main body processing device 20.
Send to (■). When the transfer of all data is completed, the main body communication control means 22 notifies the terminal processing device 10A that the reception of the transferred data has been completed (■), and also notifies the main body processing means 21 that it is okay to return to normal processing. .

端末処理装置10Aは本体通信制御手段22より前記受
信完了を確認する情報を受信することによりデータ転送
は完了し、端末処理手段12は内部処理を再開する。
The terminal processing device 10A completes the data transfer by receiving information confirming the completion of the reception from the main body communication control means 22, and the terminal processing means 12 resumes internal processing.

次に、本体処理装置20側よりメツセージを送信する場
合について説明する。
Next, a case will be described in which a message is sent from the main processing device 20 side.

端末処理装置10A内の端末処理手段12は内部処理(
待機状態を含む)を行っているとき、内部処理の区切り
の時期などに(待機状態の場合は一定周期で)端末通信
制御手段lIAを起動する。端末通信制御手段11Aは
この起動により本体処理装置20に対して一本体処理装
置20側から端末処理装置10Aに対するデータ転送要
求の有無を確認する情報を送る(jl!3図■)。
The terminal processing means 12 in the terminal processing device 10A performs internal processing (
(including a standby state), the terminal communication control means IIA is activated (at regular intervals in the case of a standby state) at the time of a break in internal processing. Upon this activation, the terminal communication control means 11A sends information to the main processing device 20 to confirm the presence or absence of a data transfer request from the main processing device 20 side to the terminal processing device 10A (Jl! 3, ■).

本体処理装置20が端末処理装置10Aに対して転送し
たいデータをもっている場合、本体処理手段21は予め
これを本体通信制御手段22に表示しであるので、本体
通信制御手段22は端末処理装置10Aより前記転送要
有無確認の情報(■)を受信すると、端末通信制御手段
11Aに対して転送要求を返送する(■)。端末通信制
御手段11Aではこれを受信したことを確認したことを
本体通信制御手段22に送り、データ転送を行ってよい
ことを知らせる(■)。
When the main body processing device 20 has data that it wants to transfer to the terminal processing device 10A, the main body processing means 21 displays this on the main body communication control means 22 in advance, so the main body communication control means 22 transfers data from the terminal processing device 10A. When receiving the information confirming whether or not the transfer is necessary (■), it returns a transfer request to the terminal communication control means 11A (■). The terminal communication control means 11A sends confirmation that it has received this to the main body communication control means 22, informing it that data transfer may be performed (■).

これを受けて本体通信制御手段22はデータを送信する
(■)。全データを受信すると端末通信制御手段11A
は受信データが正常であることを本体通信制御手段22
に通知しく■)、端末処理装置10Aの通信処理は完了
する。本体通信制御手段22はこの通知を受けると本体
処理手段21に対して通常処理への復帰してよいことを
知らせ、データ転送処理を完了する。
In response to this, the main body communication control means 22 transmits the data (■). When all the data is received, the terminal communication control means 11A
indicates that the received data is normal.
2), the communication processing of the terminal processing device 10A is completed. When the main body communication control means 22 receives this notification, it notifies the main body processing means 21 that it is OK to return to normal processing, and completes the data transfer processing.

次に、第2図について説明する。第2図の作用について
は第1図とほぼ同一であるので、異なる点についてのみ
説明する。
Next, FIG. 2 will be explained. Since the operation in FIG. 2 is almost the same as that in FIG. 1, only the different points will be explained.

第1図において、端末処理装置10Aより本体処理装置
20に対してデータを転送しているときは、本体処理装
置20側から端末処理装置10Aに対してメツセージ(
データ)を送ることができない。このため、端末処理装
置10Aからの転送データ量が多いと、本体処理装置2
0側において送信したいメツセージがスタックする状態
を生ずる。
In FIG. 1, when data is being transferred from the terminal processing device 10A to the main processing device 20, a message (
data) cannot be sent. Therefore, if the amount of data transferred from the terminal processing device 10A is large, the main processing device 2
This causes a situation in which messages to be sent are stuck on the 0 side.

第2図の端末処理装置10Bは本体処理装置20に上記
のようなスタックを生ぜしめないようにする本体要求確
認手段13を端末通信制御手段11B内に有している。
The terminal processing device 10B in FIG. 2 has a main body request confirmation means 13 in the terminal communication control means 11B to prevent the above-mentioned stack from occurring in the main processing device 20.

いま、端末処理装置10Bより本体処理装置20に対し
てデータを転送しているものとすると、このときの状態
は第3図の■と同一である。データ転送が終了すると前
記と同じく本体処理装置20より受信完了確認の情報(
■)が送られるが、端末通信制御手段11Bがこれを受
信すると、前記本体要求確認手段13は端末通信制御手
段11Bより本体処理装置20に対して転送要求の有無
を確認する情報を送出させる。この情報は第3図の■と
全く同一のものであり、本体処理装置20側から転送す
るデータがあるか否かを問い合わせる性格のものである
。本体処理装置20が転送データを有していない場合は
本体通信制御手段22より端末通信制御手段11Bに対
して転送要求がないことを通知する(第3図では図示省
略)。これによって端末処理装置10Bはデータ転送を
完了するが、以後、端末通信制御手段11Bは周期的に
本体要求有無確認(第3図■)を本体処理装置20に送
出して本体処理装置20に送信データがスタックされる
ことを防ぐ。
Assuming that data is now being transferred from the terminal processing device 10B to the main processing device 20, the state at this time is the same as (2) in FIG. When the data transfer is completed, the main processing unit 20 sends information (
(2) is sent, but when the terminal communication control means 11B receives this, the main body request confirmation means 13 causes the terminal communication control means 11B to send information to the main body processing device 20 to confirm the presence or absence of a transfer request. This information is exactly the same as ① in FIG. 3, and is for inquiring whether there is any data to be transferred from the main processing device 20 side. If the main body processing device 20 does not have the transfer data, the main body communication control means 22 notifies the terminal communication control means 11B that there is no transfer request (not shown in FIG. 3). As a result, the terminal processing device 10B completes the data transfer, but thereafter, the terminal communication control means 11B periodically sends a main body request presence check (■ in FIG. 3) to the main processing device 20 and sends it to the main processing device 20. Prevent data from stacking.

また、上記において端末処理装置10Aより本体処理装
置20に対して前記本体要求有無確認(第3図■)が送
出されたときに本体処理装置20が転送データを有して
いる場合は、本体通信制御手段22より転送要求を送出
する。この転送要求は第3図の■と同一性格のものであ
り、以下同図の■乃至■と同一の動作が行われる。
In addition, in the above, when the terminal processing device 10A sends the main processing device 20 the main processing device 20 the main processing device 20, if the main processing device 20 has the transfer data, the main processing device 20 The control means 22 sends a transfer request. This transfer request has the same characteristics as ① in FIG. 3, and the same operations as ① to ② in the same figure are performed thereafter.

以上は、端末処理装置10Bよりのデータ転送が終了し
た時点の動作であるが、転送するデータ量が多い場合は
、本体送信要求確認手段13は転送するデータを分割し
、分割したデータの転送が終了する都度、前記と同様に
端末通信制御手段11Bより本体処理装置20に対して
転送要求の有無を確認する情報を送出させる。本体処理
装置20は転送データがない場合はその旨を端末通信制
御手段11Aに通知するが、これは第3図の■と同一効
果をなし、これを受信した本体要求確認手段13は端末
通信制御手段11Aを介して次のデータを送出させる。
The above is the operation when the data transfer from the terminal processing device 10B is completed, but if the amount of data to be transferred is large, the main body transmission request confirmation means 13 divides the data to be transferred and transfers the divided data. Each time the transfer is completed, the terminal communication control means 11B sends information for confirming the presence or absence of a transfer request to the main processing device 20 in the same manner as described above. If there is no data to be transferred, the main body processing device 20 notifies the terminal communication control means 11A of this fact, but this has the same effect as (■) in FIG. The next data is sent out via means 11A.

本体処理装置20が転送データを有している場合は前記
データ転送が終了したときの動作と同様な動作を行う。
If the main processing device 20 has transfer data, it performs the same operation as when the data transfer is completed.

以上の如くして、本体処理装置20における送信データ
のスタックは防止される。
As described above, stacking of transmission data in the main processing device 20 is prevented.

また、以上の端末本体間通信方式において、端末通信制
御手段11A、11Bと本体通信制御手段22間で授受
される制御コードには任意のコードを使用することがで
きるが、この制御コードに制御コード相互間が2ビット
以上差をもつコードのみを使用することにより、制御コ
ードを構成するビットがlビット変化したり1ビット分
シフトした場合に誤処理が行われることを防止すること
が可能となる。(詳細は実施例において説明する。)〔
実施例〕 第4図は本発明の一実施例の構成図、第5図は本発明の
実施例通信手順図、第6図は本発明の割合 御コード採X原則説明図である。
Furthermore, in the above-described inter-terminal communication system, any code can be used as the control code exchanged between the terminal communication control means 11A, 11B and the main body communication control means 22; By using only codes that have a difference of 2 or more bits, it is possible to prevent erroneous processing when the bits that make up the control code change by l bits or are shifted by 1 bit. . (Details will be explained in Examples.)
Embodiment] FIG. 4 is a block diagram of an embodiment of the present invention, FIG. 5 is a communication procedure diagram of an embodiment of the present invention, and FIG. 6 is an explanatory diagram of the principle of rate control code adoption of the present invention.

図中、第1図及び第2図と同一対象物は同一記号を用い
て示し、14.15はそれぞれ端末通信制御部11Bの
送信部及び受信部、23.24.25はそれぞれ本体通
信制御部22の受信部、送信部及び解析部、26は本体
処理装置20の転送データー時記憶部である。なお、第
2図の本発明の原理説明図に示した構成は第1図の作用
を全部含んでいるため、第2図に対する実施例の構成と
その通信手順を示した第4図及び第5図によって本発明
の詳細な説明する。
In the figure, the same objects as in FIGS. 1 and 2 are indicated using the same symbols, 14.15 is the transmitting section and the receiving section of the terminal communication control section 11B, respectively, and 23.24.25 is the main body communication control section, respectively. 22 is a receiving section, a transmitting section, and an analyzing section; 26 is a storage section for transfer data of the main processing device 20; Furthermore, since the configuration shown in the diagram explaining the principle of the present invention in FIG. 2 includes all the functions shown in FIG. 1, the configuration shown in FIG. The present invention will be explained in detail with reference to the figures.

先ず、端末処理装置10B及び本体処理装置20ともデ
ータ転送要求がない場合の動作を第4図及び第5図(1
)により説明する。
First, the operation when there is no data transfer request for both the terminal processing device 10B and the main processing device 20 is shown in FIGS. 4 and 5 (1).
).

この状態においては端末処理装置10A内では端末処理
部12が内部処理を行っている処理フェーズにあり、本
体処理装置20内では本体処理部21が通常処理を行っ
ている(いずれも待機状態を含む)いる状態にあるが、
端末処理部12は内部処理の間に周期的に端末通信制御
部11Bを起動し、通信フェーズに移行する。端末通信
制御部11Bは起動されると送信部14より転送有無確
認の情報(制御コードは例えばNUL、以下すべて制御
コード例を示す)を本体処理装置20に送信する(第5
図■)。本体処理装置20の本体処理部21は通常処理
の間、本体通信制御部22の受信部23を監視している
が、該受信部23が前記転送有無確認情報(■)を受信
するとこれを検出して割り込み処理に入り、本体処理装
置20は通常処理から通信処理に移る。
In this state, the terminal processing unit 12 in the terminal processing device 10A is in a processing phase performing internal processing, and the main processing unit 21 in the main processing device 20 is performing normal processing (both include standby state). ), but
The terminal processing unit 12 periodically activates the terminal communication control unit 11B during internal processing, and shifts to the communication phase. When the terminal communication control unit 11B is activated, the transmitting unit 14 transmits information for confirming the presence or absence of transfer (the control code is, for example, NUL, all examples of control codes are shown below) to the main processing unit 20 (fifth
Figure ■). The main body processing unit 21 of the main body processing device 20 monitors the receiving unit 23 of the main body communication control unit 22 during normal processing, and when the receiving unit 23 receives the transfer presence confirmation information (■), it detects this. Then, the main processing device 20 enters interrupt processing and shifts from normal processing to communication processing.

受信部23はまた端末通信制御部11Bより情報を受信
するとこれを解析部25に送るが、前記転送有無確認情
報(■)に対して解析部25は本体処理装置20より端
末処理装置10Bに対して転送するデータがあるか否か
を調べる。転送データの有無は本体処理部21より転送
データー時記憶部26を介して解析部25に送られてい
るが、このときは転送データがない状態であるので、解
析部25は送信部24に対して転送要求がないことを回
答するよう指示する。送信部24はこれを受けて端末通
信制御部11Bに転送要求なしの回答(NUL)を送り
(■)、通常処理に戻る。
When the receiving unit 23 also receives information from the terminal communication control unit 11B, it sends it to the analysis unit 25, but in response to the transfer confirmation information (■), the analysis unit 25 sends the information from the main processing device 20 to the terminal processing device 10B. Check whether there is any data to transfer. The presence or absence of transfer data is sent from the main processing unit 21 to the analysis unit 25 via the transfer data storage unit 26, but at this time there is no transfer data, so the analysis unit 25 sends a message to the transmission unit 24. and to reply that there is no transfer request. In response to this, the transmitting unit 24 sends a response indicating no transfer request (NUL) to the terminal communication control unit 11B (■), and returns to normal processing.

端末通信制御部11Bはこの回答■を受信すると端末処
理部12に報告し、端末処理装置10Bは再び処理フェ
ーズに戻る。なお端末処理部12と端末通信制御部11
Bは以上の動作を周期的に繰り返す。
When the terminal communication control section 11B receives this answer (2), it reports it to the terminal processing section 12, and the terminal processing device 10B returns to the processing phase again. Note that the terminal processing section 12 and the terminal communication control section 11
B periodically repeats the above operations.

次に端末処理装置10Bよりデータ転送を行う場合につ
いて第4図及び第5図(2)を用いて説明する。
Next, the case where data is transferred from the terminal processing device 10B will be explained using FIG. 4 and FIG. 5 (2).

端末処理装置10Bが処理フェーズにあるとき、本体処
理装置20に転送するデータが発生すると端末処理装置
10Bはこれを認識し、端末通信制御部llBを起動し
、通信フェーズに移行する。端末通信制御部11Bの送
信部14は本体処理装置20に対して転送要求(ENQ
)を送信しく■)、本体処理装置20は前記同様、割り
込み処理により通信処理に移行する。本体通信制御部2
2は受信部23が受信した前記転送要求を解析部25が
解析し、転送要求を受信したことを確認する情報(A 
CK)を返送する(■)。
When the terminal processing device 10B is in the processing phase, when data to be transferred to the main processing device 20 is generated, the terminal processing device 10B recognizes this, starts the terminal communication control unit 11B, and shifts to the communication phase. The transmitter 14 of the terminal communication controller 11B sends a transfer request (ENQ) to the main processing device 20.
), the main processing device 20 shifts to communication processing by interrupt processing, as described above. Main body communication control section 2
2 is information (A
CK) is returned (■).

これを受信すると、端末処理装置10Bは転送データサ
イズの送信に移り、転送するデータ量がnバイトである
ことを例えば2バイトのデータで知らせる(■)。本体
通信制御部22ではこれに対して受信確認(A CK)
を通知する(■)。これによってデータの転送が開始さ
れ、端末通信制御部11Bより本体通信制御部22に対
してデータnバイトが送られる(■)。本体処理装置2
0は予め通知された量、即ち、nバイトのデータを受信
すると全データを受信したことを知らせる受信確認の情
報(ACK)を送り(■)、本体処理装置20は通信処
理を終了する。端末処理装置10Bも受信確認情報■の
受信によって転送を完了する。
Upon receiving this, the terminal processing device 10B proceeds to transmit the transfer data size and notifies, for example, 2 bytes of data that the amount of data to be transferred is n bytes (■). The main body communication control unit 22 confirms reception (ACK) in response to this.
Notify (■). As a result, data transfer is started, and n bytes of data are sent from the terminal communication control section 11B to the main body communication control section 22 (■). Main body processing device 2
0, when receiving the previously notified amount of data, that is, n bytes, sends reception confirmation information (ACK) to notify that all data has been received (■), and the main processing device 20 ends the communication process. The terminal processing device 10B also completes the transfer upon receiving the reception confirmation information (■).

端末通信制御部11Bは本体要求確認部13を有してい
るため、データ転送を終了した時点で本体処理装置20
に対して転送データの有無を確認するための転送要求有
無確認情報(NUL)を送出する。
Since the terminal communication control section 11B has a main body request confirmation section 13, the terminal communication control section 11B has a main body request confirmation section 13.
Transfer request presence/absence confirmation information (NUL) is sent to confirm the presence or absence of transfer data.

これは第5図■と全く同一の役割をもつものであるか、
本体処理装置20はこれを受信して再び通信処理に移り
、転送データがない場合は前記■と同じ転送要求なしを
回答する(0)。この場合は、端末処理装置lOB、本
体処理装置20とも通信処理を完了し、第3図(1)に
移行する。また、本体処理装置20が転送データをもつ
場合には転送要求を送出しく0)、以下要求の実行に移
るが、これは後述の@と同一効果のものであるため、後
に説明する。
Does this have exactly the same role as Figure 5 ■?
The main processing device 20 receives this and starts the communication process again, and if there is no transfer data, it responds with no transfer request (0), which is the same as in the above (2). In this case, the communication process is completed with both the terminal processing device 1OB and the main processing device 20, and the process moves to FIG. 3(1). Further, if the main processing device 20 has transfer data, it sends a transfer request (0) and then moves on to executing the request, which will be explained later because it has the same effect as @, which will be described later.

次に本体処理装置20よりデータ転送を行う場合につい
て第4図及び第5図(3)を用いて説明する。
Next, the case where data is transferred from the main processing device 20 will be explained using FIG. 4 and FIG. 5 (3).

本体処理装置20側に転送するデータが発生した場合、
本体処理部21はこれを転送データー時記憶部26を介
して本体通信制御部22に知らせるが、端末処理装置1
0Bが第5図(11により周期的に本体処理装置20側
の転送要求の有無を確認してくるまで(■)は端末処理
装置10Bに転送要求を行うことはできない。この状態
で本体通信制御部22の受信部23が端末処理装置10
Bより転送要求有無確認(NUL)を受信する(0、■
と同じもの)と−解析部25は送信部24を介して転送
要求(ENQ)を送出させる(0)。本体処理装置20
はこの段階で一旦通信を終了するが、以下の各段階でも
同様である(第5図参照)。
When data to be transferred to the main processing device 20 side is generated,
The main body processing unit 21 notifies this to the main body communication control unit 22 via the transfer data storage unit 26, but the terminal processing device 1
0B cannot make a transfer request to the terminal processing device 10B until it periodically checks whether there is a transfer request on the main processing device 20 side (■) in FIG. The receiving section 23 of the section 22 is connected to the terminal processing device 10.
Receive transfer request confirmation (NUL) from B (0,■
) and - The analysis unit 25 causes the transmission unit 24 to send a transfer request (ENQ) (0). Main body processing device 20
The communication is temporarily terminated at this stage, but the same holds true for each of the following stages (see Fig. 5).

転送要求@を受信すると、端末通信制御部11Bは転送
要求を受信したことを知らせ、かつデータの転送可を意
味する転送可通知(A CK)を送出する(0)。本体
処理装置20では解析部25を介して転送するデータ量
(nバイト)を例えば2バイトのデータで知らせ(@)
 、端末処理装置10Bより受信データ正常の通知(A
 CK)を受けるとデータの転送を行う(0)。データ
転送の終了は本体処理装置20より通知しないが、端末
処理装置10Bにおいて先に通知されたデータ量、即ち
、nバイトのデータを全部受信したときに端末処理装置
10B側から受信データ正常を知らせる情報(o)を送
出してデータ転送を終了する。この情報0を受信した本
体処理装置20はデータ転送が終了し、本体処理装置2
0側から引き続いて転送するデータがないことを知らせ
る情報(NUL)を送出し、データ転送は完了する。こ
れによって端末処理装置10Bは処理フェーズに移り、
本体処理装置20も通信処理状態から通常処理状態に移
る。
Upon receiving the transfer request @, the terminal communication control unit 11B notifies that the transfer request has been received and sends a transfer permission notification (ACK) indicating that data transfer is possible (0). The main processing device 20 notifies the amount of data (n bytes) to be transferred via the analysis unit 25 using, for example, 2 bytes of data (@).
, notification of normal reception data from the terminal processing device 10B (A
CK), data is transferred (0). The main processing device 20 does not notify the end of the data transfer, but when the terminal processing device 10B receives all the data amount previously notified, that is, n bytes of data, the terminal processing device 10B notifies the terminal processing device 10B that the received data is normal. Sends information (o) and ends data transfer. The main processing device 20 that has received this information 0 completes the data transfer, and the main processing device 20
Information (NUL) indicating that there is no data to be transferred subsequently is sent from the 0 side, and the data transfer is completed. As a result, the terminal processing device 10B moves to the processing phase,
The main processing device 20 also shifts from the communication processing state to the normal processing state.

次に、第6図により、制御コードの採否原則について説
明する。
Next, the principle of adoption or rejection of control codes will be explained with reference to FIG.

制御コードはシステムに応じたコードが使用されるが、
本発明においては従来技術と逆に端末処理装置側が主導
して通信を行うため、誤り処理などを含む通信制御を簡
単なものとすることが望ましい。そのための方法として
制御コードに誤りが発生した場合に誤りを訂正すること
は行わな(ても誤りであることが確認できる制御コード
を採用することが効果的である。
A control code is used depending on the system, but
In the present invention, contrary to the prior art, since the terminal processing device side takes the lead in communication, it is desirable to simplify communication control including error handling. As a method for this purpose, it is effective to employ a control code that can be confirmed to be an error even if the error is not corrected when an error occurs in the control code.

第6図はその実施例の一例を示すものである。FIG. 6 shows an example of the embodiment.

第6図は端末本体間の通信が8ビット単位で行われ、制
御コードにはその末尾からの5ビットが使用されるもの
として、制御コード“05”を例として示している。な
お、16進数2桁で表示する場合の10位の桁は最上位
からの3ビットは無視して4ビット目が0であるかlで
あるかによって示すものとする。
FIG. 6 shows a control code "05" as an example, assuming that communication between terminal bodies is performed in units of 8 bits and the last 5 bits are used for the control code. Note that when displaying in two hexadecimal digits, the 10th digit is indicated by whether the 4th bit is 0 or 1, ignoring the most significant 3 bits.

コード“05”を制御コードとして使用する場合、その
ビット構成は第6図の最上段に示されているが、対象と
する5ビットの内の“l”のうちの1ビットが“0”に
変化(1ビット減)した場合、“0”の中の1ビットが
“l”に変化(1ビット増)した場合及び1ビット分シ
フトした場合が同図に示されている。これらのビット構
成を16進数で表すと同図に示す“Ol”から“OB”
までの8つのコードとなるが、“05”を制御コードと
して使用する場合に上記8つのコードを制御コードとし
て使用しないようにすると、これらのコードが検出され
た場合には正規の制御コードでないことが識別できる。
When code “05” is used as a control code, its bit configuration is shown at the top of Figure 6, and one bit of “l” among the five target bits is “0”. The same figure shows a case where a change (decrease by 1 bit), a case where 1 bit in "0" changes to "l" (increase by 1 bit), and a case where a shift by 1 bit is made. These bit configurations are expressed in hexadecimal numbers from “Ol” to “OB” shown in the same figure.
However, if you use "05" as a control code and do not use the above eight codes as a control code, if these codes are detected, it will be determined that they are not regular control codes. can be identified.

以上の原則は1ビットの差をもつコードは制御コードと
して採用しないことを意味しており、従って、採用する
制御コードは2ビット以上の差があるもののみとするこ
ととなる。第6図の如きビット構成を前提とすれば、上
記の原則に適合する制御コードとして“00”  (N
UL)、“05”“06”09”IB″などが選定でき
るが、第5図の如き通信手順をこれらの選定された制御
コードのみを用いて行うことは充分可能である。
The above principle means that codes with a difference of 1 bit are not adopted as control codes, and therefore, only control codes with a difference of 2 bits or more are to be adopted. Assuming the bit configuration as shown in Figure 6, the control code that conforms to the above principle is “00” (N
UL), "05", "06", "09"IB", etc. can be selected, but it is quite possible to perform the communication procedure as shown in FIG. 5 using only these selected control codes.

以上の如く、第4図の構成においては、端末処理装置1
0Bが長時間の内部処理を行っていても、内部処理の間
に周期的に本体処理装置20に対して転送要求の有無を
確認するため、本体処理装置20が端末処理装置10B
にアクセスされずに転送データがスタックされることが
ない。
As described above, in the configuration of FIG. 4, the terminal processing device 1
Even if 0B is performing internal processing for a long time, the main processing device 20 periodically checks whether there is a transfer request to the main processing device 20 during the internal processing.
Transfer data is not stacked without being accessed.

なお、第4図乃至第6図の実施例はあくまで本発明の一
実施例を示すものに過ぎず、例えば通信手順の細部が第
5図と異なっても本発明の効果を得ることが可能である
ことは明らかであり、また制御コードの構成及び種類が
第5図及び第6図に示したものに限定されるものではな
いことも明らかである。
Note that the embodiments shown in FIGS. 4 to 6 merely show one embodiment of the present invention, and the effects of the present invention can be obtained even if the details of the communication procedure are different from those in FIG. 5, for example. It is clear that there is, and it is also clear that the structure and type of the control code are not limited to those shown in FIGS. 5 and 6.

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

以上説明したように、本発明によれば、本体処理装置に
端末処理装置が接続されてなるシステムにおける端末処
理装置と本体処理装置間の通信を端末処理装置の主導に
より行うことにより、端末処理装置輻績時の本体処理装
置のりトライ増加に起因する処理能率低下を防止するこ
とが可能となり、かつ端末処理装置が長時間の内部処理
またはデータ転送を行う場合においても、内部処理また
はデータ転送の間に周期的に本体処理装置に対して転送
要求の有無を確認するため、本体処理装置が端末処理装
置にアクセス不可能となることによる転送データのスタ
ックが防止でき、端末本体間の通信を円滑に行うことが
できる。
As explained above, according to the present invention, communication between the terminal processing device and the main processing device in a system in which the terminal processing device is connected to the main processing device is performed under the initiative of the terminal processing device, so that the terminal processing device It is possible to prevent a decrease in processing efficiency due to an increase in main processing unit retries during busy periods, and even when the terminal processing unit performs long internal processing or data transfer, it is possible to prevent Since the system periodically checks whether there is a transfer request to the main processing device, it is possible to prevent the transfer data from stacking up due to the main processing device not being able to access the terminal processing device, and to ensure smooth communication between the terminal main bodies. It can be carried out.

また、通信を制御する複数の制御コードに制御コード相
互間が2ビット以上差をもつコードのみを使用すること
によって、前記制御コードを構成するビットが1ビット
変化または1ビット分シフトした場合に誤処理が行われ
ることを簡単に防止することが可能となり、かかる端末
処理装置と本体処理装置間の通信における処理能率の向
上と信頼性の向上に寄与するところが大きい。
In addition, by using only codes that have a difference of 2 bits or more between control codes for the plurality of control codes that control communication, it is possible to avoid errors when the bits that make up the control codes change or shift by 1 bit. This makes it possible to easily prevent processing from being performed, which greatly contributes to improving processing efficiency and reliability in communication between the terminal processing device and the main processing device.

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

第1図は本発明の原理説明図、第2図は本発明の詳細な
説明図、第3図は本発明の基本通信手順図、第4図は本
発明の実施例構成図、第5図は本発明の実施例通信手順
図、第6図は本発明の制御コード採否原則実施例説明図
、第7図は従来技術の構成図、第8図は従来技術の通信
手順図である。 図中、 10A、 10B・・−・・−・−・・−・・・・端末
処理装置11A、 11B・−−−−−・・・−・−・
−・−・端末通信制御手段12・−・−・−・・−・・
・−・−・・・=−・端末処理手段13・−・−・・・
−・・・−−−−−−・・・−・本体要求確認手段20
・・−・・・・−・・・−−−−−・・・・−・・−・
・−本体処理装置21・−・・・・−・・・・・−・・
・−・・・・・−・本体処理手段22・・・−・・・・
・・−・−・・−・・−・・・−本体通信制御手段であ
る。 本発明の原理説明図(1) 第 図 本発明の原理説明図(2) 第 図 端末処理装置 本体処理装置 峻l支す1直置側よりコマンド送信 本体処理装置側よりメツセージ送信 本発明の基本通信手順図 第 図 第 図 端末 本体 端末 本体 (2)端末側よりデータ転送を行う場合本発明の実施例
通信手順図 第 図(その1) 端末 本体 (3)本体側よりデータ転送を行う場合第 図(その2) 第 図 第 フ 図
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is a detailed explanatory diagram of the present invention, Fig. 3 is a basic communication procedure diagram of the present invention, Fig. 4 is a configuration diagram of an embodiment of the present invention, Fig. 5 6 is a diagram illustrating an embodiment of the communication procedure of the present invention, FIG. 6 is an explanatory diagram of an embodiment of the principle of adoption or rejection of control codes of the present invention, FIG. 7 is a configuration diagram of the prior art, and FIG. 8 is a diagram of the communication procedure of the prior art. In the figure, terminal processing devices 11A, 11B, 11B, 10A, 10B, ...
−・−・Terminal communication control means 12・−・−・−・・−・・
・−・−・・・・=−・Terminal processing means 13・−・−・・
−・・−−−−−−・・Main body request confirmation means 20
・・−・・−・−−−−−・・−・・−・
・-Main processing device 21・-・・・−・・・・・・・
・-・・・・・Body processing means 22 ・−・・・・
・・−・−・・−・・−・・− Body communication control means. Diagram for explaining the principles of the present invention (1) Diagram for explaining the principles of the present invention (2) Diagram for transmitting commands from the vertically placed side of the terminal processing device main body processing device Sending messages from the main body processing device side Basics of the present invention Communication procedure diagram (Part 1) Terminal body (2) When transferring data from the terminal side Communication procedure diagram (Part 1) Terminal body (3) When transferring data from the main body side Figure (Part 2)

Claims (1)

【特許請求の範囲】 1、本体処理装置に端末処理装置が接続されてなるシス
テムにおける端末処理装置と本体処理装置間の通信方式
であって、 端末処理装置(10A)内に、 前記本体処理装置(20)との間の通信の制御を行なう
端末通信制御手段(11A)と、前記端末処理装置(1
0A)内の内部処理を実行し、内部処理の間に前記端末
通信制御手段(11A)を起動して前記本体処理装置(
20)との間の通信を制御せしめる端末処理手段(12
)を備え、 前記本体処理装置(20)内に、 該本体処理装置(20)内の内部処理を実行する本体処
理手段(21)と、 前記端末処理装置(10A)との間でデータを授受し、
該端末処理装置(10A)よりデータを受信したときに
前記本体処理手段(21)に割り込みを行うとともに受
信したデータを解析し、解析結果と本体処理装置(20
)側よりの転送データの有無に応じたデータを前記端末
処理装置(10A)に返送し、通信を終了したときに前
記本体処理手段(21)を通常処理に復帰せしめる本体
通信制御手段(22)を備え、端末処理装置と本体処理
装置間の通信を端末処理装置が主導して行なうことを特
徴とする端末本体間通信方式。 2、端末処理装置(10B)内に、 前記本体処理装置(20)との間の通信の制御を行なう
端末通信制御手段(11B)を設け、 かつ該端末通信制御手段(11B)内に、前記端末処理
装置(10B)より前記本体処理装置(20)に送信す
るデータが大量である場合に該データを一定量ごとに区
切って送信し、全データまたは前記一定量のデータの送
信を終了する都度、該端末処理装置(10B)より前記
本体処理装置(20)に対して、該本体処理装置(20
)側から端末処理装置(10B)に対する送信データの
有無を確認する確認する処理を行う本体要求確認手段(
13)を備え、 本体処理装置(20)側におけるデータ送信要求のスタ
ックを防止したことを特徴とする請求項1記載の端末本
体間通信方式。 3、前記端末処理装置(10A、10B)と前記本体処
理装置(20)間の通信において、通信を制御する複数
の制御コードに制御コード相互間が2ビット以上差をも
つコードのみを使用し、前記制御コードを構成するビッ
トが1ビット変化または1ビット分シフトした場合に誤
処理が行われることを防止したことを特徴とする請求項
1または請求項2記載の端末本体間通信方式。
[Scope of Claims] 1. A communication method between a terminal processing device and a main processing device in a system in which a terminal processing device is connected to a main processing device, wherein the terminal processing device (10A) includes: the main processing device; (20), a terminal communication control means (11A) that controls communication with the terminal processing device (11A);
0A), and during the internal processing, the terminal communication control means (11A) is activated and the main body processing device (11A) is activated.
terminal processing means (12) for controlling communication with
), in the main processing device (20), transmitting and receiving data between main processing means (21) that executes internal processing in the main processing device (20) and the terminal processing device (10A). death,
When data is received from the terminal processing device (10A), the main body processing means (21) is interrupted, the received data is analyzed, and the analysis result and the main body processing device (20
main body communication control means (22) for returning data to the terminal processing device (10A) according to the presence or absence of data transferred from the ) side and for returning the main body processing means (21) to normal processing when communication is terminated; A communication method between terminal bodies, characterized in that the terminal processing apparatus takes the lead in communication between the terminal processing apparatus and the main body processing apparatus. 2. In the terminal processing device (10B), a terminal communication control means (11B) for controlling communication with the main body processing device (20) is provided, and in the terminal communication control means (11B), the above-mentioned When a large amount of data is to be sent from the terminal processing device (10B) to the main processing device (20), the data is divided into fixed amounts and sent, and each time the transmission of all data or the fixed amount of data is finished. , from the terminal processing device (10B) to the main processing device (20).
) side to the terminal processing device (10B).
13), and prevents data transmission requests from stacking on the main processing device (20) side. 3. In communication between the terminal processing device (10A, 10B) and the main processing device (20), only codes having a difference of 2 bits or more between control codes are used for a plurality of control codes for controlling communication; 3. The inter-terminal communication system according to claim 1, wherein erroneous processing is prevented when the bits constituting the control code change by 1 bit or are shifted by 1 bit.
JP2270141A 1990-10-08 1990-10-08 Communication system between main body and terminal Pending JPH04148260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2270141A JPH04148260A (en) 1990-10-08 1990-10-08 Communication system between main body and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2270141A JPH04148260A (en) 1990-10-08 1990-10-08 Communication system between main body and terminal

Publications (1)

Publication Number Publication Date
JPH04148260A true JPH04148260A (en) 1992-05-21

Family

ID=17482118

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2270141A Pending JPH04148260A (en) 1990-10-08 1990-10-08 Communication system between main body and terminal

Country Status (1)

Country Link
JP (1) JPH04148260A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2018037940A1 (en) * 2016-08-26 2019-06-20 昭和電工株式会社 HILIC column packing material, HILIC column packed with the same, and oligosaccharide analysis method using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2018037940A1 (en) * 2016-08-26 2019-06-20 昭和電工株式会社 HILIC column packing material, HILIC column packed with the same, and oligosaccharide analysis method using the same

Similar Documents

Publication Publication Date Title
US4074352A (en) Modular block unit for input-output subsystem
US4189769A (en) Input-output subsystem for digital data processing system
US4322793A (en) Communication controller transparently integrated into a host CPU
EP1975804B1 (en) Apparatus, method, and system for controlling communication between host device and USB device
EP2302520A1 (en) Image forming apparatus and low power driving method thereof
US5444860A (en) Translator system for message transfers between digital units operating on different message protocols and different clock rates
CN102446144A (en) Method, device and system for scheduling serial port resources
JP2008503116A (en) Data transmission method between devices in a network
US7058747B2 (en) Bus system and bus interface for connection to a bus
US4977499A (en) Method and apparatus for commanding operations on a computer network
JPH04148260A (en) Communication system between main body and terminal
US7043589B2 (en) Bus system and bus interface
JPH0728289B2 (en) Network control system
JPS59124666A (en) Method of controlling group of elevator
TWI764014B (en) An interrupt process system and method for pcie with the heterogeneous equipment
CN112241380B (en) Interrupt processing system and method applied to PCIE (peripheral component interface express) on heterogeneous equipment
JPS58222634A (en) Polling transmission system
WO2010070530A1 (en) Electronic apparatus comprising a common bus
JPS6061850A (en) Computer system
JP2948380B2 (en) Data communication device
KR100472488B1 (en) Asynchronously processing apparatus and method
CN113157420A (en) Cross-platform distributed task scheduling system and scheduling method
JP3639321B2 (en) Storage controller
JPS6253046A (en) Communication equipment for data of industrial robot
JPH06309245A (en) Scsi interface system device