JPH079638B2 - Communication method between host computer and terminal device - Google Patents
Communication method between host computer and terminal deviceInfo
- Publication number
- JPH079638B2 JPH079638B2 JP62117462A JP11746287A JPH079638B2 JP H079638 B2 JPH079638 B2 JP H079638B2 JP 62117462 A JP62117462 A JP 62117462A JP 11746287 A JP11746287 A JP 11746287A JP H079638 B2 JPH079638 B2 JP H079638B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- application program
- terminal device
- host computer
- terminal
- 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.)
- Expired - Lifetime
Links
Landscapes
- Computer And Data Communications (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] この発明は、、ホスト計算機と端末装置間の通信方式に
関するものである。The present invention relates to a communication system between a host computer and a terminal device.
[従来の技術] 従来のホスト計算機と端末装置間の通信方式は、端末装
置と画像装置と印字装置の識別方法、通信制御手順及び
テキストの内容を定めている。第6図(a),(b)は
画像装置で扱うテキストの内容を示したもので、(40)
はホスト計算機からの送信テキストであり、コマンドは
端末装置の動作を規定し、データは表示データであるが
表示用の制御コードも含まれている。(50)は端末装置
からの送信テキストであり、AID(Attention IDentific
ation)はどの送信用キーが入力されたかを示すもので
あり、データは入力データ及び制御コードを含んでい
る。[Prior Art] In a conventional communication method between a host computer and a terminal device, a method of identifying the terminal device, the image device, and the printing device, a communication control procedure, and contents of text are defined. FIGS. 6 (a) and 6 (b) show the contents of the text handled by the image device.
Is the text sent from the host computer, the command defines the operation of the terminal device, and the data is the display data but also includes the control code for the display. (50) is the text sent from the terminal device, which is AID (Attention IDentific
ation) indicates which transmission key was input, and the data includes input data and a control code.
[発明が解決しようとする問題点] 従来の端末装置ではアプリケーションプログラム間の通
信を考慮しておらず、画像装置及び印字装置を動作させ
ながらホスト計算機のアプリケーションプログラムと通
信を行うことは不可能である。[Problems to be Solved by the Invention] The conventional terminal device does not consider communication between application programs, and it is impossible to communicate with the application program of the host computer while operating the image device and the printing device. is there.
この発明は上記のような問題点を解消するためになされ
たもので、従来のホスト計算機と端末装置の画像装置及
び印字装置との通信が可能なまま、また端末装置、、画
像装置及び印字装置の識別方法及び通信制御手順を変更
することなしにホスト計算機と端末装置のアプリケーシ
ョンプログラム間通信を可能とする通信方式を提供する
ことを目的とする。The present invention has been made to solve the above-mentioned problems, and the communication between the conventional host computer and the image device and the printing device of the terminal device is possible, and the terminal device, the image device, and the printing device are available. It is an object of the present invention to provide a communication method that enables communication between application programs of a host computer and a terminal device without changing the identification method and the communication control procedure.
[問題点を解決するための手段] この発明に係るホスト計算機と端末装置間の通信方式
は、ホスト計算機及び端末装置の送信テキスト内容をア
プリケーションプログラム間通信であることを認識でき
るよう新規に定め、かつ端末装置の端末動作プログラム
部に、受信内容に応じた処理要求を出力する通信制御部
と、この通信制御部からの処理要求に基づいてアプリケ
ーションプログラム間通信を制御するアプリケーション
プログラム間通信制御部を備え、マルチタスクオペレー
ティングシステムのキューを使用し、端末動作プログラ
ムとアプリケーションプログラムから呼び出すことので
きるライブラリが通信を行うことにより端末装置にてア
プリケーションプログラム間通信を可能とするものであ
る。[Means for Solving Problems] In the communication method between the host computer and the terminal device according to the present invention, the transmission text contents of the host computer and the terminal device are newly determined so that it can be recognized that the communication is between application programs. Further, the terminal operation program unit of the terminal device, a communication control unit for outputting a processing request according to the received content, and an inter-application program communication control unit for controlling the inter-application program communication based on the processing request from the communication control unit. By using the queue of the multi-task operating system, the terminal operation program and the library that can be called from the application program communicate with each other, thereby enabling the communication between the application programs in the terminal device.
[作用] この発明におけるホスト計算機と端末装置間の通信方式
は、従来の端末装置の機能にアプリケーションプログラ
ム間通信機能を追加したことにより、従来の画像装置及
び印字装置を動作させたまま、ホスト計算機と端末装置
の間で利用者による任意の通信が可能になる。[Operation] The communication system between the host computer and the terminal device according to the present invention is such that the function of the conventional terminal device is added to the communication function between application programs, so that the host computer can be operated while the conventional image device and printing device are operated. The user can make arbitrary communication between the terminal and the terminal device.
[実施例] 以下この発明の一実施例を図について説明する。[Embodiment] An embodiment of the present invention will be described below with reference to the drawings.
第1図は、ホスト計算機からのアプリケーションプログ
ラム間通信用送信テキストであり、従来のテキストとは
次の点が異なる。(1)はコマンド部であり、拡張用の
コマンドを設け使用する。(2)はレングス部であり、
レングス部を設けることによりデータにバイナリデータ
の使用が可能となる。(3)はID(Identification)部
であり、アプリケーションプログラム間通信用のIDを受
ける。IDの変更により種々の用途に使用できるテキスト
となる。(4)はデータ部であり、任意である。FIG. 1 shows a transmission text for application program communication from the host computer, which is different from the conventional text in the following points. (1) is a command part, which is provided with an extension command and used. (2) is the length part,
By providing the length part, binary data can be used for the data. (3) is an ID (Identification) unit that receives an ID for communication between application programs. The text can be used for various purposes by changing the ID. (4) is a data section, which is optional.
第2図は端末装置からのアプリケーションプログラム間
通信用送信テキストであり、従来のテキストとは次の点
が異なる。(5)はAID(Attention IDentiification)
部であり拡張用のAIDを設け使用する。(6)はレング
ス部であり、レングス部を設けることによりデータにバ
イナリデータの使用が可能となる。(7)はID部であ
り、アプリケーションプログラム間通信用のIDを設け
る。IDの変更により種々の用途に使用できるテキストと
なる。(8)はデータ部であり、データは任意である。FIG. 2 shows a transmission text for application program communication from a terminal device, which is different from the conventional text in the following points. (5) is AID (Attention IDentiification)
It is a part and is provided with an AID for expansion. (6) is a length part, and by providing the length part, binary data can be used for the data. (7) is an ID section, which is provided with an ID for communication between application programs. The text can be used for various purposes by changing the ID. (8) is a data part, and the data is arbitrary.
第3図(a),(b)はマルチタスクオペレーティング
システム(以下OSと称す)上に生成し使用するキューで
ある。(20a)はリターン・キューであり端末動作プロ
グラムからアプリケーションプログラム間通信ライブラ
リへ通知する情報が格納され、情報にはステータス、デ
ータアプリケーションプログラム間通信用バッファのア
ドレスがある。(20b)はリクエストキューであり、ア
プリケーションプログラム間通信ライブラリから端末動
作プログラムへ通知する情報が格納され、情報は送信要
求である。3 (a) and 3 (b) are queues generated and used on a multitasking operating system (hereinafter referred to as OS). Reference numeral (20a) is a return queue, which stores information notified from the terminal operation program to the application program communication library. The information includes the status and the address of the data application program communication buffer. Reference numeral (20b) is a request queue, in which information notified from the application program communication library to the terminal operation program is stored, and the information is a transmission request.
さらに、第4図はアイプリケーションプログラム間通信
の受信時の動作説明図で、(10)は端末動作プログラ
ム、(20)はキュー部、(30)は端末アプリケーション
プログラム部である。受信処理部(10a)によりホスト
計算機からのテキストを受信バッファ(10b)に蓄積す
る。受信完了後、通信制御部(10c)は受信バッファ(1
0b)の内容が、コマンド部が拡張コマンドであり、IDが
アプリケーションプログラム間通信用バッファ(10d)
へ複写しアプリケーションプログラム間通信制御部(10
e)へ処理要求を行う。また、通信制御部(10c)は受信
バッファ(10b)の内容が画像装置に対する場合は画像
装置制御部(10f)に処理要求を、印字装置に対する場
合は印字装置制御部(10g)へ処理要求を行う。Further, FIG. 4 is an operation explanatory diagram at the time of reception of communication between application programs, (10) is a terminal operation program, (20) is a queue section, and (30) is a terminal application program section. The text from the host computer is accumulated in the reception buffer (10b) by the reception processing unit (10a). After the reception is completed, the communication control unit (10c) displays the reception buffer (1
The content of 0b) is that the command part is an extended command and the ID is the buffer for application program communication (10d).
To the application program communication controller (10
Make a processing request to e). Further, the communication control unit (10c) sends a processing request to the image device control unit (10f) when the content of the reception buffer (10b) is for an image device and a processing request to the printing device control unit (10g) when it is for a printing device. To do.
しかして、通信制御部(10c)により処理要求を受けた
アプリケーションプログラム間通信制御部(10e)は、
リターンキュー(20a)に受信完了のステータス、デー
タ長、アプリケーション間通信用バッファのアドレスを
書く。端末アプリケーションプログラム(30b)は、ア
プリケーションプログラム間通信用ライブラリ(30c)
に受信要求を行う。アプリケーションプログラム間通信
用ライブラリ(30a)はリターンキュー(20a)を読み、
ステータスが受信完了であればアプリケーションプログ
ラム間通信用バッファ(10d)の内容をアプリケーショ
ンプログラム受信バッファ(30a)に複写し、端末アプ
リケーションプログラムに受信完了を通知する。Then, the inter-application program communication control unit (10e), which has received the processing request from the communication control unit (10c),
Write the reception completion status, data length, and address of the inter-application communication buffer in the return queue (20a). The terminal application program (30b) is a library for communication between application programs (30c)
Request to receive. Library for application program communication (30a) reads the return queue (20a),
If the status is reception completion, the contents of the inter-application program communication buffer (10d) are copied to the application program reception buffer (30a) and the reception completion is notified to the terminal application program.
また、第5図はアプリケーションプログラム間の送信時
の動作である。ここで、端末アプリケーションプログラ
ム(30b)はアプリケーションプログラム送信バッファ
(30d)に送信データをセットし、アプリケーションプ
ログラム間通信用ライブラリ(30c)へ送信要求を行
う。アプリケーションプログラム間通信用ライブラリ
(30c)はリクエストキュー(20a)に送信要求1を書
く。そして、アプリケーションプログラム間通信制御部
(10e)は送信可能であればリターンキュー(20a)のス
テータスに送信可及びアプリケーションプログラム間通
信用バッファアドレスを書く。Further, FIG. 5 shows the operation during transmission between application programs. Here, the terminal application program (30b) sets transmission data in the application program transmission buffer (30d) and makes a transmission request to the application program communication library (30c). The application program communication library (30c) writes the transmission request 1 in the request queue (20a). Then, if the transmission is possible, the application program communication control unit (10e) writes the transmittable and application program communication buffer address in the status of the return queue (20a).
しかして、上記アプリケーションプログラム間通信ライ
ブラリ(30c)はリターンキュー(20a)を読みステータ
スが送信可のとき、アプリケーションプログラム送信バ
ッファ(30d)の内容をアプリケーションプログラム間
通信用バッファ(10d)へ複写しリクエストキュー(20
b)へ送信要求2を書く。アプリケーションプログラム
間通信制御部(10e)は通信制御部(10c)にアプリケー
ションプログラム間通信用バッファ(10d)の送信要求
を行い、リターンキュー(20a)のステータスに送信完
了を書き、アプリケーションプログラム間通信ライブラ
リ(30c)は端末アプリケーションプログラムに送信完
了のステータスを通知する。アプリケーションプログラ
ム間通信制御部(10e)よりアプリケーションプログラ
ム間通信用バッファ(10d)を送信バッファ(10h)へ複
写し送信処理部(10i)へ送信要求をする。送信処理部
(10i)は送信バッファ(10h)の内容をホスト計算機へ
送信する。Then, the application inter-program communication library (30c) copies the contents of the application program transmission buffer (30d) to the inter-application program communication buffer (10d) when the read queue (20a) is read and the status is transmittable, and the request is sent. Queue (20
Write request 2 to b). The application program communication control unit (10e) requests the communication control unit (10c) to send the application program communication buffer (10d), writes the transmission completion in the status of the return queue (20a), and writes the application program communication library. (30c) notifies the terminal application program of the status of transmission completion. The inter-application program communication control section (10e) copies the inter-application program communication buffer (10d) to the transmission buffer (10h) and requests the transmission processing section (10i) for transmission. The transmission processing unit (10i) transmits the contents of the transmission buffer (10h) to the host computer.
[発明の効果] 以上のように、この発明によれば、従来の端末装置の機
能に、画像装置及び印字装置を動作させたまま、ホスト
計算機と端末装置の間で利用者による任意の通信が可能
になるアプリケーションプログラム間通信機能を追加し
たので、従来の端末装置の通信機能に加え、ホスト計算
機と端末装置間の通信制御手順及び識別方法を変更する
ことなしに、ホスト計算機と端末装置間のアプリケーシ
ョンプログラム間通信という自由度の高い通信を実行す
ることが可能になるという効果がある。[Effects of the Invention] As described above, according to the present invention, in addition to the functions of the conventional terminal device, any communication by the user between the host computer and the terminal device can be performed while the image device and the printing device are operating. Since the communication function between application programs has been added, in addition to the communication function of the conventional terminal device, the communication control procedure between the host computer and the terminal device and the identification method can be changed without changing the communication method between the host computer and the terminal device. There is an effect that it is possible to execute communication having a high degree of freedom, that is, communication between application programs.
第1図と第2図はこの発明の一実施例によるホスト計算
機が送信するアプリケーションプログラム間通信用テキ
ストと、端末装置が送信するアプリケーションプログム
間通信用テキストを説明する説明図、第3図(a),
(b)はこの発明の一実施例による端末装置のマルチタ
スクOS上に生成するキューの構成図、第4図はこの発明
の一実施例によるアプリケーションプログラム間通信用
テキストの端末装置側受信時の動作図、第5図はこの発
明の一実施例によるアプリケーションプログラム間通信
用テキストの端末装置側送信時の動作図、第6図は従来
の画像装置用のテキスト説明図である。 (10)は端末動作プログラム部 (20)はキュー部 (30)は端末アプリケーションプログラム部 (10e)はアプリケーションプログラム間通信制御部 (20a)はリターンキュー (20b)はリクエストキュー (30c)はアプリケーションプログラム間通信用ライブ
ラリ なお、各図中同一符号は同一、又は相当部分を示す。FIG. 1 and FIG. 2 are explanatory diagrams for explaining an application program communication text transmitted by a host computer and an application program communication text transmitted by a terminal device according to an embodiment of the present invention, and FIG. ),
(B) is a configuration diagram of a queue generated on a multitasking OS of a terminal device according to an embodiment of the present invention, and FIG. 4 is a diagram showing a case where a text for application program communication according to an embodiment of the present invention is received by the terminal device side. FIG. 5 is an operation diagram when the text for application program communication according to an embodiment of the present invention is transmitted on the terminal device side, and FIG. 6 is a text explanatory diagram for a conventional image device. (10) is a terminal operation program section (20) is a queue section (30) is a terminal application program section (10e) is an inter-application program communication control section (20a) is a return queue (20b) is a request queue (30c) is an application program Library for intercommunication Note that the same reference numerals in the drawings indicate the same or corresponding portions.
Claims (1)
ングシステムの動作する端末装置間の通信方式におい
て、ホスト計算機及び端末装置の送信テキスト内容をア
プリケーションプログラム間通信であることを認識でき
るよう新規に定め、かつ端末装置の端末動作プログラム
部に、受信内容に応じた処理要求を出力する通信制御部
と、この通信制御部からの処理要求に基づいてアプリケ
ーションプログラム間通信を制御するアプリケーション
プログラム間通信制御部を備え、マルチタスクオペレー
ティングシステムのキューを使用し、端末動作プログラ
ムとアプリケーションプログラムから呼び出すことので
きるライブラリが通信を行うことにより端末装置にてア
プリケーションプログラム間通信を可能とするホスト計
算機と端末装置間の通信方式。1. In a communication method between a host computer and a terminal device on which a multitasking operating system operates, transmission text contents of the host computer and the terminal device are newly defined so as to be recognized as communication between application programs, and a terminal is also provided. The terminal operation program unit of the device includes a communication control unit that outputs a processing request according to the received content, and an inter-application program communication control unit that controls the inter-application program communication based on the processing request from the communication control unit, Between the host computer and the terminal device that enables inter-application program communication at the terminal device by using the queue of the multitasking operating system and the library that can be called from the terminal operation program and the application program to communicate. Shin method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62117462A JPH079638B2 (en) | 1987-05-14 | 1987-05-14 | Communication method between host computer and terminal device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62117462A JPH079638B2 (en) | 1987-05-14 | 1987-05-14 | Communication method between host computer and terminal device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63282551A JPS63282551A (en) | 1988-11-18 |
| JPH079638B2 true JPH079638B2 (en) | 1995-02-01 |
Family
ID=14712277
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62117462A Expired - Lifetime JPH079638B2 (en) | 1987-05-14 | 1987-05-14 | Communication method between host computer and terminal device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH079638B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61191140A (en) * | 1985-02-19 | 1986-08-25 | Nec Corp | Communication system for local network |
-
1987
- 1987-05-14 JP JP62117462A patent/JPH079638B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63282551A (en) | 1988-11-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR100285956B1 (en) | Apparatus and method for controlling synchronous and asynchronous devices connected to high speed serial bus | |
| JPH11327815A (en) | Communication control method and apparatus, and communication system | |
| US20120179901A1 (en) | Computer apparatus | |
| US6754724B2 (en) | Kernel creator for creating kernel capable of executing entertainment processing using a peripheral device | |
| JPH079638B2 (en) | Communication method between host computer and terminal device | |
| JPH10334037A (en) | Communication dma device | |
| CN117667822A (en) | A multi-core startup and inter-core communication method based on AMP architecture | |
| JP2003108513A (en) | Hardware chain pull | |
| JP2004094493A (en) | Storage medium processing device and control method therefor | |
| JP3190668B2 (en) | Network type education system | |
| JPH0798690A (en) | Inter-on-line system data transfer system | |
| JPH05265911A (en) | Interface function expansion system and interface function expansion method | |
| JP3544219B2 (en) | File sharing system | |
| JPH10289196A (en) | Computer and method for transferring peripheral device control data in computer | |
| JP2012014356A (en) | Program for operating computer capable of communicating with mobile terminal | |
| JP3074722B2 (en) | IC card communication system | |
| JPS638506B2 (en) | ||
| JP3777304B2 (en) | Micro program loading method | |
| JP2000242594A (en) | Information transmission system for terminal device | |
| JP2563082Y2 (en) | Pseudo communication control device | |
| JPH11203059A (en) | Image input / output processing device, memory access method of image input / output processing device, and storage medium storing computer readable program | |
| WO2022249240A1 (en) | Activation system and activation method | |
| CN114761916A (en) | Method, computer program, electronic memory medium and device for providing data items | |
| JPS63301352A (en) | Exchange system for file shared data with communication control | |
| JPH01236349A (en) | Serial interface initializing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080201 Year of fee payment: 13 |