[go: up one dir, main page]

JPH0486937A - Data communication control system - Google Patents

Data communication control system

Info

Publication number
JPH0486937A
JPH0486937A JP2202730A JP20273090A JPH0486937A JP H0486937 A JPH0486937 A JP H0486937A JP 2202730 A JP2202730 A JP 2202730A JP 20273090 A JP20273090 A JP 20273090A JP H0486937 A JPH0486937 A JP H0486937A
Authority
JP
Japan
Prior art keywords
data
host device
host
terminal device
transmitted
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
JP2202730A
Other languages
Japanese (ja)
Inventor
Akito Yamamoto
章人 山本
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2202730A priority Critical patent/JPH0486937A/en
Publication of JPH0486937A publication Critical patent/JPH0486937A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To process all the inputted data by prohibiting the input of the data from a second host device when receiving the data form a first host device by terminal equipment, and releasing prohibition at a time when the processing is completed. CONSTITUTION:When the data AD1 from a host device A is received by an emulator 3, an affirmative response signal AR1 is transmitted to the device A, and simultaneously, interruption prohibition is applied for the processing period TA of the data AD1. The data BD1 transmitted from the host device B is stopped in a state where it is fetched in a buffer 5. When the processing of a terminal application 1 is completed, the interruption prohibition is released, and the data BD1 is fetched in a buffer 2b. Simultaneously with the transmission of an affirmative response signal BR1 to the device B, the interruption prohibition for the processing period TB of the data BD1 is applied. The data BD2 from the device B remains being kept with the buffer 5. When the processing of the data BD1 is completed, the interruption prohibition is released, and the data BD2 is fetched in the buffer 2b.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、複数のホスト装置と共通の端末装置との間
のデータ通信を制御するデータ通信制御方式に関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data communication control method for controlling data communication between a plurality of host devices and a common terminal device.

〔従来の技術〕[Conventional technology]

従来、この種のデータ通信制御方式においては、ホスト
装置から端末装置へのある一つのデータ転送が終了した
時点て、ホスト装置と端末装置のアプリケーションで同
期かとられる。そして、ホスト装置に応答要求信号が出
力され、該ホスト装置から肯定応答信号が出力される。
Conventionally, in this type of data communication control system, applications on the host device and the terminal device are synchronized when a certain data transfer from the host device to the terminal device is completed. Then, a response request signal is output to the host device, and an acknowledgment signal is output from the host device.

すなわち、ホスト装置からあるまとまった転送単位のデ
ータ、例えば1画面分のデータが出力されると、このデ
ータ転送が終了した時点で応答要求信号が端末装置に出
力される。そして、この応答要求信号を端末装置が受信
した時、上記データが正しく受信されていれば肯定応答
信号がホスト装置に送信される。この時、ホスト装置は
その肯定応答信号を受信するまで次のデータの送信を停
止する。
That is, when a certain transfer unit of data, for example, one screen worth of data, is output from the host device, a response request signal is output to the terminal device when the data transfer is completed. When the terminal device receives this response request signal, if the data has been correctly received, an acknowledgment signal is sent to the host device. At this time, the host device stops transmitting the next data until it receives the acknowledgment signal.

ここで、上記のような肯定応答方式で、例えば第3図に
示すようなシーケンスでホスト装置側と端末装置側の間
の通信が行われた場合につし)て説明する。第2図のシ
ーケンスでは、先ず第1のホスト装置AからデータAD
Iが端末装置に送信さね、該端末装置から上述の肯定応
答信号ARIが送信される。次に、第2のホスト装置B
がら端末装置にデータBDIが送信され、同様に端末装
置から肯定応答信号BRIが送信される。次に、また第
2のホスト装置BからデータBD2か送信され、肯定応
答信号BR2がこの第2のホスト装置Bに送信される。
Here, a case will be described in which communication between the host device side and the terminal device side is performed in the above-described acknowledgment method, for example, in the sequence shown in FIG. 3. In the sequence shown in FIG. 2, first, data AD is sent from the first host device A.
I is not sent to the terminal device, and the above-mentioned acknowledgment signal ARI is sent from the terminal device. Next, the second host device B
The data BDI is sent to the terminal device while the terminal device sends an acknowledgment signal BRI. Next, data BD2 is also sent from the second host device B, and an acknowledgment signal BR2 is sent to this second host device B.

第4図は上記のシーケンスでデータ通信が行われた場合
の制御動作を示すタイムチャートである。上述のホスト
Aから出力されたデータADIは、通信制御装置(CC
U)にて受信され、エミュレータに入力される。そして
、このエミュレータからホストAに対して肯定応答信号
ARIが送信されると共に、端末装置のアプリケーショ
ン(端末APP)にて上記データADIの処理が行われ
る。同様に、ホスト装置BからのデータBDI、BD2
に対しても、肯定応答信号BRI、BR2が送信される
と共に、そのデータBDI、BD2の処理が行われる。
FIG. 4 is a time chart showing control operations when data communication is performed in the above sequence. The data ADI output from the above-mentioned host A is sent to the communication control device (CC).
U) and input to the emulator. Then, an acknowledgment signal ARI is transmitted from the emulator to the host A, and the data ADI is processed by the application (terminal APP) of the terminal device. Similarly, data BDI, BD2 from host device B
Also, acknowledgment signals BRI and BR2 are transmitted, and the data BDI and BD2 are processed.

TA、TBは上記の各データの処理期間を示している。TA and TB indicate processing periods for each of the above data.

〔発明か解決しようとする課題〕[Invention or problem to be solved]

従来のデータ通信制御方式は以上のように構成されてい
るため、例えば第4図に示すように、端末装置にてホス
ト装置AからのデータADIの処理が終了してホスト装
置BからのデータBDIの処理を開始しようとした時、
既にホスト装置Bがらの次のデータBD2を受信してし
まっている場合には、ホスト装置Bからの前のデータB
DIの処理が行われず、次のデータBD2の処理が行わ
れ、データBDIが未処理になるという問題点があった
Since the conventional data communication control system is configured as described above, for example, as shown in FIG. When trying to start processing
If the next data BD2 from host device B has already been received, the previous data B from host device B
There was a problem in that the DI was not processed and the next data BD2 was processed, leaving the data BDI unprocessed.

この発明は、このような問題点を解消するためになされ
たもので、各ホスト装置からの全てのデータの処理が実
行できるデータ通信制御方式を提供することを目的とし
ている。
The present invention was made to solve these problems, and an object of the present invention is to provide a data communication control system that can process all data from each host device.

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

この発明に係るデータ通信制御方式は、複数のホスト装
置と共通の端末装置との間のデータ通信を制御するデー
タ通信制御方式において、第1のホスト装置から端末装
置へデータか送信された時に、該第1のホスト装置に応
答要求信号を出力すると共に、第2のホスト装置から送
信されたデータの端末装置への人力を禁止し、第1のホ
スト装置から端末装置に応答信号が出力され且つ該端末
装置による上記第1のホスト装置から送信されたデータ
の処理が終了した時に、上記禁止を解除して第2のホス
ト装置からのデータを端末装置に入力するようにしたも
のである。
A data communication control method according to the present invention is a data communication control method that controls data communication between a plurality of host devices and a common terminal device, and when data is transmitted from a first host device to a terminal device, outputting a response request signal to the first host device, prohibiting manual input of data transmitted from the second host device to the terminal device, outputting a response signal from the first host device to the terminal device, and When the terminal device finishes processing the data transmitted from the first host device, the prohibition is canceled and the data from the second host device is input to the terminal device.

〔作用〕[Effect]

この発明のデータ通信制御方式においては、第1のホス
ト装置からのデータを端末装置が受信すると第2のホス
ト装置からのデータの人力を禁止し、そのデータの処理
が終了した時点で上記禁止を解除して第2のホスト装置
からのデータを入力するように制御されるので、人力さ
れたデータは全て処理される。
In the data communication control method of the present invention, when the terminal device receives data from the first host device, manual input of data from the second host device is prohibited, and when the processing of the data is completed, the above prohibition is prohibited. Since it is controlled to release the data and input data from the second host device, all manually entered data is processed.

(実施例) 第1図はこの発明の一実施例によるデータ通信制御方式
の構成図である。図において、1は端末装置の端末アプ
リケーションで、第1のホスト装置へ及び第2のホスト
装置BからのデータAD。
(Embodiment) FIG. 1 is a block diagram of a data communication control system according to an embodiment of the present invention. In the figure, 1 is a terminal application of a terminal device, and data AD is sent to the first host device and from the second host device B.

BDの処理がここで行われる。2a、2bはそれらのデ
ータAD、BDを一時保持するバッファ、3はこれらの
バッファ2a、2bにデータAD。
BD processing is performed here. 2a and 2b are buffers that temporarily hold those data AD and BD, and 3 is data AD in these buffers 2a and 2b.

BDを取り込むエミュレータ、4は全体を制御する通信
制御装置(CCt+)、5はCCUバッファて、回線6
を通して送信されてきた上記ホスト装置A、Bのデータ
AD、BDがこのCCUバッファ5に取り込まれる。7
は上記各データ及び各信号の入出力を制御する割り込み
制御部である。
4 is the communication control device (CCt+) that controls the whole, 5 is the CCU buffer, and line 6 is the emulator that imports the BD.
The data AD and BD of the host devices A and B transmitted through the CCU buffer 5 are taken into the CCU buffer 5. 7
is an interrupt control section that controls the input/output of each data and each signal mentioned above.

上記のような構成のデータ通信制御方式においては、前
述した従来の肯定応答制御と、通信制御装置4からの割
り込みを禁止、解除する割り込み制御とを組み合せた制
御が行われる。すなわち、第1のホスト装置Aから端末
装置へデータADが送信され、その送信が終了した時に
該第1のホスト装置Aに肯定応答要求信号ASが出力さ
れ、同時に第2のホスト装置Bから送信されたデータB
Dの人力がエミュレータ3からの割り込み禁止信号DI
により禁止される。そして、第1のホスト装置Aから端
末装置に肯定応答信号ARが出力され且つ端末装置の端
末アプリケーション1にて上記データADの処理が終了
した時に、端末アプリケーション1からの割り込み禁止
解除信号Elにより上記禁止が解除され、第2のホスト
装MBからのデータBDが端末装置に入力される。同様
にして、第2のホスト装置Bと端末装置との間でも、デ
ータBD、肯定応答要求信号BS及び肯定応答信号BR
の送受信が行われる。
In the data communication control system configured as described above, control is performed that combines the conventional acknowledgment control described above and interrupt control for inhibiting and canceling interrupts from the communication control device 4. That is, data AD is transmitted from the first host device A to the terminal device, and when the transmission is completed, an acknowledgment request signal AS is output to the first host device A, and at the same time, the data AD is transmitted from the second host device B. Data B
D's human power is the interrupt disable signal DI from emulator 3.
prohibited by. Then, when the first host device A outputs the acknowledgment signal AR to the terminal device and the terminal application 1 of the terminal device finishes processing the data AD, the interrupt prohibition release signal El from the terminal application 1 causes the above-mentioned The prohibition is lifted, and data BD from the second host device MB is input to the terminal device. Similarly, data BD, acknowledgment request signal BS, and acknowledgment signal BR are transmitted between the second host device B and the terminal device.
is sent and received.

次に、前述した第3図に示すようなシーケンスでデータ
通信が行われた場合の制御動作について、第2図のタイ
ムチャートにより説明する。
Next, the control operation when data communication is performed in the sequence shown in FIG. 3 mentioned above will be explained with reference to the time chart of FIG. 2.

先ず、ホスト装置Aから例えば1画面のデータ、つまり
端末アプリケーション1の処理単位のデータADIが送
信され、端末装置側でこのデータADIを受信すると、
ホスト装置Aに対して肯定応答信号ARIが送信される
。また、ホスト装置Bに対しても、データBDI、BD
2及び各信号の送受信か行われる。
First, data for one screen, that is, data ADI for a processing unit of terminal application 1, is transmitted from the host device A, and when the terminal device receives this data ADI,
An acknowledgment signal ARI is sent to the host device A. Also, for host device B, data BDI, BD
2 and each signal is transmitted and received.

ここで、従来では第4図に示すように、ホスト装置Aの
データADIの処理期間TA中にホスト装置Bからデー
タBDIが送信されると、エミュレータ3はバッファ2
bにそのデータBDIを取り込み、肯定応答信号BRI
をホストBに送信する。また、上記処理期間TA中にホ
ストBから次のデータBD2が送信されると、エミュレ
ータ3はそのデータBD2をバッファ2bに取り込み、
肯定応答信号BR2をホストBに送信する。このため、
端末アプリケーション1にてホスト装置Aからのデータ
ADIの処理が終了し、ホストBの最初のデータBDI
の処理を開始しようとすると、この時ホストB用のバッ
ファ2bには既に次のデータBD2か上書きされている
ので、データBDIは処理されず、データBD2が処理
されてしまう。
Here, conventionally, as shown in FIG. 4, when data BDI is transmitted from host device B during processing period TA of data ADI of host device A, emulator 3 sends data to buffer 2.
The data BDI is taken into b, and the acknowledgment signal BRI is sent to
is sent to host B. Furthermore, when the next data BD2 is transmitted from the host B during the processing period TA, the emulator 3 takes that data BD2 into the buffer 2b, and
Send an acknowledgment signal BR2 to host B. For this reason,
The processing of data ADI from host device A is completed in terminal application 1, and the first data BDI of host B is
When attempting to start processing, the buffer 2b for host B has already been overwritten with the next data BD2, so data BDI is not processed, but data BD2 is processed.

しかし、本実施例では第2図に示すように、ホスト装置
AからのデータADIの受信を終了した時に、肯定応答
信号ARIを送信すると同時に、次のデータ入力の割り
込み禁止がかけられる。そして、上記データADIの処
理が終了した時点で上記禁止が解除され、次のホストB
からのデータBDIが入力される。
However, in this embodiment, as shown in FIG. 2, when the reception of the data ADI from the host device A is completed, the acknowledgment signal ARI is transmitted, and at the same time, interrupts for the next data input are disabled. Then, when the above data ADI processing is completed, the above prohibition is lifted and the next host B
Data BDI from is input.

すなわち、ホスト装HAからのデータADIが通信制御
装置4を介してエミュレータ3により受信されると、ホ
スト装置Aに対して肯定応答信号ARIが送信されると
同時に、そのデータADIの処理期間TAの間割り込み
禁止かかけられる。
That is, when data ADI from the host device HA is received by the emulator 3 via the communication control device 4, an acknowledgment signal ARI is sent to the host device A, and at the same time, the processing period TA of the data ADI is Interrupts can be disabled for a while.

このため、同処理期間TA中にホスト装置Bから送信さ
れたデータBDIは、第2図のように通信制御装置4の
バッファ5に取り込まれた状態で止まる。その後、端末
アプリケーション1の処理が終了すると、上記割り込み
禁止が解除され、バッファ5に取り込まれているホスト
装置BのデータBDIがバッファ2bに取り込まれる。
Therefore, the data BDI transmitted from the host device B during the same processing period TA remains in the buffer 5 of the communication control device 4 as shown in FIG. Thereafter, when the processing of the terminal application 1 is completed, the above-mentioned interrupt prohibition is canceled, and the data BDI of the host device B, which has been fetched into the buffer 5, is fetched into the buffer 2b.

そして、ホスト装置Bに肯定応答信号BRIが送信され
ると同時に、そのデータBDIの処理期間TBの間割り
込み禁止がかけられる。したがって、この期間TB中に
送られてきたホスト装置BからのデータBD2は、上記
と同様にccUバッファ5に保持されたままとなる。そ
の後、端末アプリケーション1によるデータBDIの処
理か終了すると、その割り込み禁止が解除され、該処理
期間TB中に送られてきた上記データBD2がエミュレ
ータ3のバッファ2bに取り込まれる。そして、ホスト
装置Bに対して肯定応答信号BR2が送信されると共に
、上記と同様割り込み禁止がかけられ、その期間中にデ
ータBD2の処理が端末アプリケーション1にて行われ
る。
Then, at the same time that the acknowledgment signal BRI is transmitted to the host device B, interrupts are disabled during the processing period TB of the data BDI. Therefore, the data BD2 sent from the host device B during this period TB remains held in the ccU buffer 5 as described above. Thereafter, when the processing of the data BDI by the terminal application 1 is completed, the interrupt prohibition is canceled and the data BD2 sent during the processing period TB is taken into the buffer 2b of the emulator 3. Then, an acknowledgment signal BR2 is transmitted to the host device B, and interrupts are disabled in the same manner as above, and the terminal application 1 processes the data BD2 during this period.

このようにして、ホスト装置A及びホスト装置Bの各デ
ータADI、BDI、BD2は未処理に終ることなく、
全て正常にまた確実に処理される。その際、同一通信手
順をサポートする二つのホスト装置A、Bと端末装置と
の間の通信において、各ホスト装置A、Bはそれぞれ独
立に端末装置と通信可能であり、また各ホストアプリケ
ーションは非同期にデータ送信が可能となっている。そ
して、各ホストアプリケーションと端末アプリケーショ
ンのデータは全て保障される。
In this way, each data ADI, BDI, and BD2 of host device A and host device B will not end up unprocessed.
Everything will be processed correctly and reliably. At that time, in the communication between two host devices A and B that support the same communication procedure and the terminal device, each host device A and B can communicate with the terminal device independently, and each host application It is possible to send data to. All data of each host application and terminal application is guaranteed.

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

以上のように、この発明によれば、各ホスト装置からの
全てのデータの処理か確実に実行できるという効果があ
る。
As described above, according to the present invention, it is possible to reliably process all data from each host device.

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

第1図はこの発明の一実施例を示す構成図、第2図は第
1図の装置の制御動作を示すタイムチャート、第3図は
ホスト装置と端末装置の間の通信データのシーケンスを
示す説明図、第4図は従来の制御動作を示すタイムチャ
ートである。 1−−−−−一端末アプリケーション 2a、2b==・バッファ 3−−−−−エミュレータ 4−−−−−通信制御装置 5・・・・・・CCUバッファ 6−−・−回線 なお、図中同一符号は同一または相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart showing the control operation of the device in FIG. 1, and FIG. 3 is a sequence of communication data between a host device and a terminal device. The explanatory diagram, FIG. 4, is a time chart showing a conventional control operation. 1------One terminal application 2a, 2b==・Buffer 3------Emulator 4---Communication control device 5...CCU buffer 6---Line The same reference numerals in the middle indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims]  複数のホスト装置と共通の端末装置との間のデータ通
信を制御するデータ通信制御方式において、第1のホス
ト装置から端末装置へデータが送信された時に、該第1
のホスト装置に応答要求信号を出力すると共に、第2の
ホスト装置から送信されたデータの端末装置への入力を
禁止し、第1のホスト装置から端末装置に応答信号が出
力され且つ該端末装置による上記第1のホスト装置から
送信されたデータの処理が終了した時に、上記禁止を解
除して第2のホスト装置からのデータを端末装置に入力
することを特徴とするデータ通信制御方式。
In a data communication control method that controls data communication between a plurality of host devices and a common terminal device, when data is transmitted from a first host device to a common terminal device, the first
outputs a response request signal to the first host device, prohibits input of data transmitted from the second host device to the terminal device, outputs a response signal from the first host device to the terminal device, and outputs a response request signal to the terminal device. A data communication control method characterized in that when processing of data transmitted from the first host device is completed, the prohibition is canceled and data from the second host device is input to the terminal device.
JP2202730A 1990-07-31 1990-07-31 Data communication control system Pending JPH0486937A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2202730A JPH0486937A (en) 1990-07-31 1990-07-31 Data communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2202730A JPH0486937A (en) 1990-07-31 1990-07-31 Data communication control system

Publications (1)

Publication Number Publication Date
JPH0486937A true JPH0486937A (en) 1992-03-19

Family

ID=16462212

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2202730A Pending JPH0486937A (en) 1990-07-31 1990-07-31 Data communication control system

Country Status (1)

Country Link
JP (1) JPH0486937A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD1049486S1 (en) 2017-07-14 2024-10-29 Lashify, Inc. Applicator for applying lash extensions

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD1049486S1 (en) 2017-07-14 2024-10-29 Lashify, Inc. Applicator for applying lash extensions

Similar Documents

Publication Publication Date Title
EP0358163B1 (en) Interrupt controller
WO1996009708A3 (en) Simultaneous transmission of speech and data on a mobile communications system
KR960016405B1 (en) High performance channel for data processing system and concurrent maintenance of degraded parallel/ serial buses
ATE192892T1 (en) MACHINE VISION CONTROL SYSTEM
JPH0486937A (en) Data communication control system
JPH03108837A (en) Time division bus control circuit
JPH0624378B2 (en) Data transmission / reception method between networks
JP2002198979A (en) Data transmission methods and devices on can(controller area network) data link
JPS58206259A (en) Multi-address communication system having interruption function
JPH0734561B2 (en) HDLC line control system
JP3067159B2 (en) Method and apparatus for controlling signal direction of packet switching apparatus
JPH03204065A (en) Data transfer conflict avoidance method in inter-processor communication
JPH0342741B2 (en)
JPH05103167A (en) Facsimile equipment
JPH09200191A (en) Data transmitter, data receiver, and data communication equipment
JPH02164152A (en) Communication controller
JPH03117945A (en) Communication equipment using hdlc procedure
JPH0528101A (en) Bus communication system
JPS60245329A (en) Half-duplex communication control method
JPH03238954A (en) Protocol conversion system
JPH0549141B2 (en)
JPH01261705A (en) Method for transferring data in programmable controller system
JPH02222247A (en) Communication control system
JPH0533861B2 (en)
JPS5986942A (en) Controlling system of data communication terminal equipment