JP3313655B2 - Data transmission / reception method, data transmission / reception method, and recording medium - Google Patents

Data transmission / reception method, data transmission / reception method, and recording medium

Info

Publication number
JP3313655B2
JP3313655B2 JP35810198A JP35810198A JP3313655B2 JP 3313655 B2 JP3313655 B2 JP 3313655B2 JP 35810198 A JP35810198 A JP 35810198A JP 35810198 A JP35810198 A JP 35810198A JP 3313655 B2 JP3313655 B2 JP 3313655B2
Authority
JP
Japan
Prior art keywords
input
data
received
operating system
instruction
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
Application number
JP35810198A
Other languages
Japanese (ja)
Other versions
JP2000183997A (en
Inventor
将夫 森田
Original Assignee
エヌイーシーネクサソリューションズ株式会社
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 エヌイーシーネクサソリューションズ株式会社 filed Critical エヌイーシーネクサソリューションズ株式会社
Priority to JP35810198A priority Critical patent/JP3313655B2/en
Publication of JP2000183997A publication Critical patent/JP2000183997A/en
Application granted granted Critical
Publication of JP3313655B2 publication Critical patent/JP3313655B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はデータ送受信方式、
データ送受信方法、および記録媒体に関し、特に、デー
タの受信漏れをなくするコネクションレスプロトコルに
おけるデータ送受信方式、データ送受信方法、および記
録媒体に関する。
TECHNICAL FIELD The present invention relates to a data transmission / reception system,
The present invention relates to a data transmission / reception method and a recording medium, and more particularly to a data transmission / reception method, a data transmission / reception method, and a recording medium in a connectionless protocol for eliminating data reception omission.

【0002】[0002]

【従来の技術】従来のコネクションレスプロトコルにお
けるデータ受信装置の一例が、「特開平7−50689
号公報」に記載されている。
2. Description of the Related Art An example of a conventional data receiving apparatus in a connectionless protocol is disclosed in Japanese Patent Laid-Open No. 7-50689.
Gazette ".

【0003】この従来の方式は、コネクションレス型プ
ロトコル通信の中継装置において、伝送遅延、順序制
御、同期転送を改善するため、仮想コネクションテーブ
ルを内部に実装することにより、受信したパケットを転
送先に中継するものである。
[0003] In this conventional method, in order to improve transmission delay, order control and synchronous transfer in a relay device of connectionless protocol communication, a received packet is transferred to a transfer destination by implementing a virtual connection table inside. It relays.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の技術の
第1の問題点は、コネクションレスプロトコルによる通
信におけるパケットの受信漏れが発生し、性能が低下す
ることである。
A first problem of the above-mentioned prior art is that a packet is missed in communication by the connectionless protocol, and the performance is degraded.

【0005】オペレーティングシステムは、コネクショ
ンレスプロトコルのパケットを受信すると、その送信元
アドレスに対して受信命令を発行しているアプリケーシ
ョンプログラムにそのパケットを引き渡す。このとき、
アプリケーションプログラムから受信命令が発行されて
いなければ、オペレーティングシステムは受信したパケ
ットを破棄する。
When the operating system receives a connectionless protocol packet, the operating system delivers the packet to an application program that has issued a receive command to the source address. At this time,
If the receiving instruction has not been issued from the application program, the operating system discards the received packet.

【0006】アプリケーションプログラムは通信相手に
パケットを送信し、その応答を受信するために受信命令
を発行する。この時、自マシンの負荷が高いと受信命令
がオペレーティングシステム内部にキューイングされる
前に応答パケットが返ることがある。この場合、オペレ
ーティングシステムはこのパケットを破棄するので、ア
プリケーションプログラムは受信命令がタイムアウトで
異常終了することにより、受信漏れを見知する。アプリ
ケーションプログラムは先に送信したデータを通信相手
に再送し、応答を再受信する。結果として、レスポンス
が悪くなる。
The application program transmits a packet to a communication partner and issues a reception command to receive a response. At this time, if the load on the own machine is high, a response packet may be returned before the reception command is queued in the operating system. In this case, since the operating system discards this packet, the application program detects omission of reception when the reception command ends abnormally due to timeout. The application program retransmits the previously transmitted data to the communication partner and receives a response again. As a result, the response becomes poor.

【0007】本発明はコネクションレスプロトコルの受
信において、アプリケーションプログラムでのデータ受
信漏れをなくし、レスポンスの悪化を防止することを目
的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to eliminate omission of data reception in an application program in reception of a connectionless protocol and prevent deterioration of response.

【0008】[0008]

【課題を解決するための手段】本発明の第1のデータ送
受信方式は、オペレーティングシステムおよびアプリケ
ーションプログラムを有し、送信データに対応する受信
データを受け取るための入力命令をまず前記オペレーテ
ィングシステムに送信し、次に前記送信データを前記オ
ペレーティングシステムに渡すための出力命令を実行す
る前記アプリケーションプログラムと、前記アプリケー
ションプログラムから受け取った前記入力命令を命令キ
ューに保持し、次に前記アプリケーションプログラムか
ら受け取った前記送信データを相手システムに送信し、
送信した前記送信データに対応する前記受信データを前
記相手システムから受け取ると前記命令キューの対応す
る入力命令にしたがって受け取った前記受信データを前
記アプリケーションプログラムの所定の領域に格納する
前記オペレーティングシステムとを有する。
According to a first data transmission / reception method of the present invention, an operating system and an application program are provided, and an input command for receiving received data corresponding to transmission data is first transmitted to the operating system. And an application program for executing an output instruction for passing the transmission data to the operating system, and holding the input instruction received from the application program in an instruction queue, and then transmitting the transmission instruction received from the application program. Send the data to the other system,
And receiving the received data corresponding to the transmitted transmission data from the partner system and storing the received data according to a corresponding input command in the command queue in a predetermined area of the application program. .

【0009】本発明の第2のデータ送受信方式は、前記
第1のデータ送受信方式であって、前記受信データを前
記アプリケーションプログラムの所定の領域に格納した
後、前記受信データに対する処理のための割り込みを前
記入力命令にしたがって前記アプリケーションプログラ
ムに発行する前記オペレーティングシステムを有する。
A second data transmission / reception method according to the present invention is the first data transmission / reception method, wherein after storing the received data in a predetermined area of the application program, an interrupt for processing the received data is provided. In accordance with the input command.

【0010】本発明の第1のデータ送受信方法は、オペ
レーティングシステムおよびアプリケーションプログラ
ムを有し、前記アプリケーションプログラムが、送信デ
ータに対応する受信データを受け取るための入力命令を
まず前記オペレーティングシステムに送信し、次に前記
送信データを前記オペレーティングシステムに渡すため
の出力命令を実行し、前記オペレーティングシステム
が、前記アプリケーションプログラムから受け取った前
記入力命令を命令キューに保持し、次に前記アプリケー
ションプログラムから受け取った前記送信データを相手
システムに送信し、送信した前記送信データに対応する
前記受信データを前記相手システムから受け取ると前記
命令キューの対応する入力命令にしたがって受け取った
前記受信データを前記アプリケーションプログラムの所
定の領域に格納する。
A first data transmission / reception method of the present invention has an operating system and an application program, wherein the application program first transmits an input instruction for receiving received data corresponding to transmission data to the operating system, Next, an output instruction for passing the transmission data to the operating system is executed, and the operating system holds the input instruction received from the application program in an instruction queue, and then executes the transmission instruction received from the application program. When the data is transmitted to the partner system and the received data corresponding to the transmitted data is received from the partner system, the received data received according to the corresponding input command in the command queue is received. Stored in a predetermined area of the application program.

【0011】本発明の第2のデータ送受信方法は、前記
第1のデータ送受信方法であって、前記オペレーティン
グシステムが、前記受信データを前記アプリケーション
プログラムの所定の領域に格納した後、前記受信データ
に対する処理のための割り込みを前記入力命令にしたが
って前記アプリケーションプログラムに発行する。
A second data transmission / reception method according to the present invention is the first data transmission / reception method, wherein the operating system stores the received data in a predetermined area of the application program, An interrupt for processing is issued to the application program according to the input instruction.

【0012】本発明の第3のデータ送受信方式は、出力
命令、入力バッファ、入力命令、入力命令割り込み処理
部および出力バッファを含むアプリケーションプログラ
ムと、出力命令処理部、入力命令処理部、入力命令キュ
ーおよび割り込み処理部を含むオペレーティングシステ
ムとを有し、相手システムへ送信される送信データを格
納する前記出力バッファと、前記出力バッファ内に格納
されている前記送信データの前記相手システムへの送信
を前記出力命令処理部に指示する前記出力命令と、前記
相手システムを識別する識別アドレス、前記入力バッフ
ァのアドレスおよび前記入力命令割り込み処理部の対応
する割り込み処理ルーチンを示すアドレスを格納するエ
ントリ番号を前記オペレーティングシステムに指示する
前記入力命令と、前記相手システムから受信した受信デ
ータが前記入力命令処理部から格納される前記入力バッ
ファと、前記相手システムから受信した前記入力バッフ
ァ内の前記受信データに対する割り込み処理ルーチンの
アドレスを各エントリに保持し割り込み処理ルーチンへ
ジャンプする処理を行う前記入力命令割り込み処理部
と、前記アプリケーションプログラムからの前記入力命
令を待ち行列として蓄える入力命令キューと、前記出力
命令の指示により前記出力バッファ内の前記送信データ
を前記相手システムに送信する前記出力命令処理部と、
前記相手システムから前記受信データを受信し、前記入
力命令キュー内の受信データに対応する前記入力命令の
指示にしたがい前記入力バッファに前記受信データを格
納し、前記割り込み処理部に前記アプリケーションプロ
グラムへの割り込みを発行するように指示する入力命令
処理部と、前記入力命令処理部の指示にしたがい前記ア
プリケーションプログラムに対して割り込みを発行し、
前記アプリケーションプログラムの前記入力命令割り込
み処理部に制御を渡す前記割り込み処理部と、を有す
る。
According to a third data transmission / reception method of the present invention, an application program including an output command, an input buffer, an input command, an input command interrupt processing unit and an output buffer, an output command processing unit, an input command processing unit, and an input command queue And an operating system including an interrupt processing unit, the output buffer storing transmission data to be transmitted to the partner system, and transmitting the transmission data stored in the output buffer to the partner system. The output instruction instructing the output instruction processing unit, the identification address for identifying the partner system, the address of the input buffer, and the entry number for storing the address indicating the corresponding interrupt processing routine of the input instruction interrupt processing unit are stored in the operating system. Said input instruction to instruct the system, The input buffer in which the received data received from the partner system is stored from the input command processing unit, and the address of the interrupt processing routine for the received data in the input buffer received from the partner system is held in each entry and an interrupt is generated. An input instruction interrupt processing unit that performs a process of jumping to a processing routine, an input instruction queue that stores the input instruction from the application program as a queue, and the transmission data in the output buffer according to an instruction of the output instruction. The output command processing unit for transmitting to the partner system,
Receiving the received data from the partner system, storing the received data in the input buffer in accordance with the instruction of the input command corresponding to the received data in the input command queue, and sending the application program to the interrupt processing unit. An input instruction processing unit that instructs to issue an interrupt, and issues an interrupt to the application program in accordance with the instruction of the input instruction processing unit;
And an interrupt processing unit that transfers control to the input instruction interrupt processing unit of the application program.

【0013】本発明の第3のデータ送受信方法は、入力
命令キューをもつオペレーティングシステム、送信デー
タを格納する出力バッファ、および受信データを格納す
る入力バッファを使用し、相手システムに送信する前記
送信データを前記出力バッファに格納する第1のステッ
プと、前記オペレーティングシステムに対し入力命令を
前記入力命令キューに登録させる指示を発行する第2の
ステップと、前記オペレーティングシステムにあって、
前記第2のステップにおける指示を受け取ると前記入力
命令を前記入力命令キューに登録する第3のステップ
と、前記出力バッファ内の前記送信データおよび前記送
信データの送信先を示す前記相手システムの識別アドレ
スを前記オペレーティングシステムに通知する第4のス
テップと、前記オペレーティングシステムにあって、前
記第4のステップにおいて通知された前記送信データお
よび前記識別アドレスを受け取ると、受け取った前記識
別アドレスで示される前記相手システムへ受け取った前
記送信データを送信する第5のステップと、前記オペレ
ーティングシステムにあって、前記識別アドレスを伴う
前記受信データを前記相手システムから受信する第6の
ステップと、前記オペレーティングシステムにあって、
前記第6のステップで受信した前記識別アドレスをキー
にして前記入力命令キューを検索し、受信した前記識別
アドレスを含む前記入力命令が登録されていれば、前も
って前記相手システムに送信した前記送信データに対す
る応答として前記受信データが前記相手システムから受
信されたと認識し、検索された前記入力命令内の前記相
手システムからの前記受信データを格納する前記入力バ
ッファのアドレスにしたがって前記受信データを前記入
力バッファに格納する第7のステップと、前記オペレー
ティングシステムにあって、前記入力命令内の割り込み
処理ルーチンを示すアドレスを格納するエントリ番号を
通知する第8のステップと、前記オペレーティングシス
テムにあって、前記第8のステップにおいて通知された
割り込み処理ルーチンを示すアドレスを格納するエント
リ番号を受け取ると、割り込み処理ルーチンを示すアド
レスを伴う割り込みを発行する第9のステップと、前記
第9のステップにおける割り込みを受け取ると、エント
リ番号に対応するエントリ内の割り込み処理ルーチンを
示すアドレスに対してジャンプし、前記入力バッファに
受け取った前記受信データを処理する割り込み処理ルー
チンに制御を渡す第10のステップと、を含む。
A third data transmission / reception method according to the present invention uses an operating system having an input command queue, an output buffer for storing transmission data, and an input buffer for storing reception data, and the transmission data to be transmitted to a partner system. In the output buffer; and a second step of issuing an instruction to the operating system to register an input instruction in the input instruction queue; and
A third step of registering the input instruction in the input instruction queue when receiving the instruction in the second step, and an identification address of the partner system indicating the transmission data in the output buffer and a transmission destination of the transmission data. A fourth step of notifying the operating system of the transmission data and the identification address received by the operating system in the fourth step. A fifth step of transmitting the transmission data received to the system; a sixth step of receiving the received data with the identification address from the partner system in the operating system; ,
Searching the input command queue using the identification address received in the sixth step as a key, and if the input command including the received identification address is registered, the transmission data previously transmitted to the partner system; Recognizes that the received data has been received from the partner system as a response to the input buffer and stores the received data in accordance with the address of the input buffer that stores the received data from the partner system in the searched input command. A seventh step of notifying an entry number for storing an address indicating an interrupt processing routine in the input instruction in the operating system; and Interrupt processing routine notified in step 8 A ninth step of issuing an interrupt accompanied by an address indicating an interrupt processing routine upon receipt of an entry number storing an address indicating an interrupt service routine; and receiving an interrupt in the ninth step, upon receiving an interrupt in the ninth step. Jumping to an address indicating an interrupt processing routine, and transferring control to an interrupt processing routine for processing the received data received in the input buffer.

【0014】本発明の記録媒体は、入力命令キューをも
つオペレーティングシステム、送信データを格納する出
力バッファ、および受信データを格納する入力バッファ
を使用し、相手システムに送信する前記送信データを前
記出力バッファに格納する第1のステップと、前記オペ
レーティングシステムに対し入力命令を前記入力命令キ
ューに登録させる指示を発行する第2のステップと、前
記オペレーティングシステムにあって、前記第2のステ
ップにおける指示を受け取ると前記入力命令を前記入力
命令キューに登録する第3のステップと、前記出力バッ
ファ内の前記送信データおよび前記送信データの送信先
を示す前記相手システムの識別アドレスを前記オペレー
ティングシステムに通知する第4のステップと、前記オ
ペレーティングシステムにあって、前記第4のステップ
において通知された前記送信データおよび前記識別アド
レスを受け取ると、受け取った前記識別アドレスで示さ
れる前記相手システムへ受け取った前記送信データを送
信する第5のステップと、前記オペレーティングシステ
ムにあって、前記識別アドレスを伴う前記受信データを
前記相手システムから受信する第6のステップと、前記
オペレーティングシステムにあって、前記第6のステッ
プで受信した前記識別アドレスをキーにして前記入力命
令キューを検索し、受信した前記識別アドレスを含む前
記入力命令が登録されていれば、前もって前記相手シス
テムに送信した前記送信データに対する応答として前記
受信データが前記相手システムから受信されたと認識
し、検索された前記入力命令内の前記相手システムから
の前記受信データを格納する前記入力バッファのアドレ
スにしたがって前記受信データを前記入力バッファに格
納する第7のステップと、前記オペレーティングシステ
ムにあって、前記入力命令内の割り込み処理ルーチンを
示すアドレスを格納するエントリ番号を通知する第8の
ステップと、前記オペレーティングシステムにあって、
前記第8のステップにおいて通知された割り込み処理ル
ーチンを示すアドレスを格納するエントリ番号を受け取
ると、割り込み処理ルーチンを示すアドレスを伴う割り
込みを発行する第9のステップと、前記第9のステップ
における割り込みを受け取ると、エントリ番号に対応す
るエントリ内の割り込み処理ルーチンを示すアドレスに
対してジャンプし、前記入力バッファに受け取った前記
受信データを処理する割り込み処理ルーチンに制御を渡
す第10のステップと、をコンピュータに実行させるプ
ログラムを記録する。
The recording medium of the present invention uses an operating system having an input command queue, an output buffer for storing transmission data, and an input buffer for storing reception data, and stores the transmission data to be transmitted to a partner system in the output buffer. A second step of issuing an instruction to the operating system to register an input instruction in the input instruction queue; and receiving the instruction in the second step in the operating system. Registering the input instruction in the input instruction queue, and notifying the operating system of the transmission data in the output buffer and an identification address of the partner system indicating a destination of the transmission data. Steps and the operating system A fifth step of receiving the transmission data and the identification address notified in the fourth step, and transmitting the received transmission data to the partner system indicated by the received identification address. A sixth step of receiving the received data with the identification address from the partner system in the operating system, and using the identification address received in the sixth step as a key in the operating system. Search the input command queue, and if the input command including the received identification address is registered, the received data is received from the partner system as a response to the transmission data previously transmitted to the partner system. Recognize and retrieve the said A seventh step of storing the received data in the input buffer according to an address of the input buffer storing the received data from the hand system, and an interrupt processing routine in the input instruction in the operating system. An eighth step of notifying an entry number for storing an address;
Upon receiving the entry number storing the address indicating the interrupt processing routine notified in the eighth step, a ninth step of issuing an interrupt accompanied by the address indicating the interrupt processing routine, and setting the interrupt in the ninth step to Receiving the received data, the control jumps to an address indicating the interrupt processing routine in the entry corresponding to the entry number, and passes control to an interrupt processing routine for processing the received data received in the input buffer. Record the program to be executed.

【0015】[0015]

【発明の実施の形態】次に、本発明の第1の実施の形態
について図面を参照して詳細に説明する。図1は、本発
明の第1の実施の形態を示すブロック図である。図1を
参照すると、本発明の第1の実施の形態は、オペレーテ
ィングシステム10と、アプリケーションプログラム1
10と、相手システム20とから構成される。この相手
システム20は、たとえば通信回線で接続された複数の
システムである。相手システム20との通信は、相手シ
ステム20を識別する識別アドレスを用いて行われる。
Next, a first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a first embodiment of the present invention. Referring to FIG. 1, a first embodiment of the present invention includes an operating system 10 and an application program 1.
10 and a partner system 20. This partner system 20 is, for example, a plurality of systems connected by a communication line. Communication with the partner system 20 is performed using an identification address for identifying the partner system 20.

【0016】アプリケーションプログラム110は、出
力命令111、入力バッファ112、入力命令113、
入力命令割り込み処理部114、および出力バッファ1
15を含む。また、オペレーティングシステム10は、
非同期入出力部100を有し、非同期入出力部100は
出力命令処理部101、入力命令処理部102、入力命
令キュー103および割り込み処理部104を含む。
The application program 110 includes an output instruction 111, an input buffer 112, an input instruction 113,
Input instruction interrupt processing unit 114 and output buffer 1
15 inclusive. Also, the operating system 10
An asynchronous input / output unit 100 includes an output instruction processing unit 101, an input instruction processing unit 102, an input instruction queue 103, and an interrupt processing unit 104.

【0017】出力バッファ115は、相手システム20
へ送信される送信データを格納する。
The output buffer 115 is connected to the partner system 20.
Stores transmission data to be transmitted to.

【0018】出力命令111は出力バッファ115内に
格納されている送信データの相手システム20への送信
を出力命令処理部101に指示するものである。
The output command 111 instructs the output command processing unit 101 to transmit the transmission data stored in the output buffer 115 to the partner system 20.

【0019】入力バッファ112は相手システム20か
ら受信した受信データを入力命令処理部102から受け
取り格納する。
The input buffer 112 receives the data received from the partner system 20 from the input command processing unit 102 and stores it.

【0020】入力命令113は相手システム20を識別
する識別アドレス、相手システム20からの受信データ
を格納する入力バッファ112のアドレス、および入力
命令割り込み処理部114の対応する割り込み処理ルー
チンを示すアドレスを格納するエントリ番号をオペレー
ティングシステム10に指示するものである。
The input instruction 113 stores an identification address for identifying the partner system 20, an address of the input buffer 112 for storing data received from the partner system 20, and an address indicating a corresponding interrupt processing routine of the input instruction interrupt processing unit 114. Instruct the operating system 10 on the entry number to be executed.

【0021】入力命令割り込み処理部114は、相手シ
ステム20から受信した入力バッファ112内の受信デ
ータに対する割り込み処理ルーチンのアドレスを各エン
トリに保持し割り込み処理ルーチンへジャンプする処理
を行う。
The input command interrupt processing unit 114 performs a process of holding an address of an interrupt processing routine for received data in the input buffer 112 received from the partner system 20 in each entry and jumping to the interrupt processing routine.

【0022】出力命令処理部101はアプリケーション
プログラム110の出力命令111の指示により出力バ
ッファ115内の送信データを相手システム20に送信
する。
The output command processing unit 101 transmits the transmission data in the output buffer 115 to the partner system 20 in accordance with the instruction of the output command 111 of the application program 110.

【0023】入力命令処理部102は、相手システム2
0から先に送信された送信データに対応する受信データ
を受信し、入力命令キュー103内の受信データに対応
する入力命令の指示にしたがい入力バッファ112に受
信データを格納し、割り込み処理部104にアプリケー
ションプログラム110への割り込みを発行するように
指示する。
The input command processing unit 102 is connected to the partner system 2
0, receive the received data corresponding to the transmitted data transmitted earlier, store the received data in the input buffer 112 in accordance with the instruction of the input command corresponding to the received data in the input command queue 103, and store the received data in the interrupt processing unit 104. An instruction to issue an interrupt to the application program 110 is issued.

【0024】入力命令キュー103はアプリケーション
プログラム110からの入力命令113を待ち行列とし
て蓄える。
The input command queue 103 stores input commands 113 from the application program 110 as a queue.

【0025】割り込み処理部104は、相手システム2
0から先に送信された送信データに対応する受信データ
を受信したときに、入力命令処理部102の指示にした
がいアプリケーションプログラム110に対して割り込
みを発行し、アプリケーションプログラム110の入力
命令割り込み処理部114に制御を渡す。
The interrupt processing unit 104 is connected to the partner system 2
When receiving the reception data corresponding to the transmission data transmitted earlier from 0, an interrupt is issued to the application program 110 according to the instruction of the input command processing unit 102, and the input instruction interrupt processing unit 114 of the application program 110 is issued. Pass control to.

【0026】次に、出力命令111について詳細に説明
する。図2は、出力命令111の詳細説明図である。図
2を参照すると、第1行〜第2行は、相手システム20
からの受信を可能とする命令であり、第3行〜第4行
は、相手システム20への送信を可能とする命令であ
る。また、第5行は、実際に、出力バッファ115内の
送信データを相手システム20へ送信するための命令で
ある。
Next, the output instruction 111 will be described in detail. FIG. 2 is a detailed explanatory diagram of the output instruction 111. Referring to FIG. 2, the first and second rows include the partner system 20.
The third and fourth lines are instructions for enabling transmission to the partner system 20. The fifth line is an instruction for actually transmitting the transmission data in the output buffer 115 to the partner system 20.

【0027】「RemoteNodeName」には、相手システム2
0を示す識別アドレスが代入される。
"RemoteNodeName" contains the partner system 2
An identification address indicating 0 is substituted.

【0028】次に、入力命令113について詳細に説明
する。図3は、入力命令113の詳細説明図である。図
3を参照すると、第1行の「swi_read」は、割り込み処
理ルーチンを示すアドレスを格納する入力命令割り込み
処理部114のエントリ番号が代入され、第2行の「Pi
n_fno」は、出力命令111で定義された相手システム
20を示す識別アドレスが代入される。また、第3行目
の「(BYTE *)&Rbuff」には、相手システム20からの受
信データを格納する入力バッファ112のアドレスが代
入される。
Next, the input command 113 will be described in detail. FIG. 3 is a detailed explanatory diagram of the input instruction 113. Referring to FIG. 3, the entry number of the input instruction interrupt processing unit 114 that stores the address indicating the interrupt processing routine is substituted for “swi_read” in the first row, and “Pi
“n_fno” is assigned an identification address indicating the partner system 20 defined by the output instruction 111. Also, the address of the input buffer 112 that stores the data received from the partner system 20 is substituted for “(BYTE *) & Rbuff” in the third line.

【0029】次に、本発明の第1の実施の形態の動作に
ついて図面を参照して説明する。図4は、本発明の第1
の実施の形態の動作を示すフローチャートである。
Next, the operation of the first embodiment of the present invention will be described with reference to the drawings. FIG. 4 shows the first embodiment of the present invention.
9 is a flowchart showing the operation of the embodiment.

【0030】まず、アプリケーションプログラム110
は、相手システム20に送信する送信データを出力バッ
ファ115に格納する(図4ステップS1)。
First, the application program 110
Stores the transmission data to be transmitted to the partner system 20 in the output buffer 115 (step S1 in FIG. 4).

【0031】次に、アプリケーションプログラム110
は、オペレーティングシステム10に対し入力命令11
3を入力命令キュー103に登録させる指示を発行する
(図4ステップS2)。この入力命令113は、相手シ
ステム20を識別する識別アドレス、相手システム20
からの受信データを格納する入力バッファ112のアド
レス、および入力命令割り込み処理部114の対応する
割り込み処理ルーチンを示すアドレスを格納するエント
リ番号を含む。
Next, the application program 110
Is an input command 11 to the operating system 10.
3 is issued to the input command queue 103 (step S2 in FIG. 4). The input command 113 includes an identification address for identifying the partner system 20,
And an entry number storing an address indicating the corresponding interrupt processing routine of the input instruction interrupt processing unit 114.

【0032】次に、オペレーティングシステム10は、
アプリケーションプログラム110から入力命令113
を入力命令キュー103に登録させる指示を受け取る
と、入力命令113を入力命令キュー103に登録する
(図4ステップS3)。
Next, the operating system 10
Input instruction 113 from application program 110
Is received in the input command queue 103, the input command 113 is registered in the input command queue 103 (step S3 in FIG. 4).

【0033】次に、アプリケーションプログラム110
は、出力命令111を実行し、出力バッファ115内の
送信データおよび送信データの送信先を示す相手システ
ム20の識別アドレスをオペレーティングシステム10
の出力命令処理部101に通知する(図4ステップS
4)。
Next, the application program 110
Executes the output instruction 111, and stores the transmission data in the output buffer 115 and the identification address of the partner system 20 indicating the transmission destination of the transmission data in the operating system 10.
To the output instruction processing unit 101 (step S in FIG. 4).
4).

【0034】次に、オペレーティングシステム10出力
命令処理部101は、アプリケーションプログラム11
0から送信データおよび相手システム20の識別アドレ
スを受け取ると、受け取った識別アドレスで示される相
手システム20へ受け取った送信データを送信する(図
4ステップS5)。
Next, the operating system 10 output instruction processing unit 101
When the transmission data and the identification address of the partner system 20 are received from 0, the received transmission data is transmitted to the partner system 20 indicated by the received identification address (step S5 in FIG. 4).

【0035】次に、オペレーティングシステム10の入
力命令処理部102が、相手システム20を示す識別ア
ドレスを伴う受信データを相手システム20から受信す
る(図4ステップS6)。
Next, the input command processing unit 102 of the operating system 10 receives, from the partner system 20, received data with an identification address indicating the partner system 20 (step S6 in FIG. 4).

【0036】次に、オペレーティングシステム10の入
力命令処理部102は、相手システム20から受信した
識別アドレスをキーにして入力命令キュー103を検索
し、受信した識別アドレスを含む入力命令が登録されて
いれば、前もって相手システム20に送信した送信デー
タに対する応答として受信データが相手システム20か
ら受信されたと認識し、検索された入力命令(以降、対
応命令と記す)内の相手システム20からの受信データ
を格納する入力バッファ112のアドレスにしたがって
受信データをアプリケーションプログラム110の入力
バッファ112に格納する(図4ステップS7)。
Next, the input command processing section 102 of the operating system 10 searches the input command queue 103 using the identification address received from the partner system 20 as a key, and if the input command including the received identification address is registered. For example, it recognizes that the received data has been received from the partner system 20 as a response to the transmission data previously transmitted to the partner system 20, and transmits the received data from the partner system 20 in the searched input command (hereinafter, referred to as a corresponding command). The received data is stored in the input buffer 112 of the application program 110 according to the address of the input buffer 112 to be stored (Step S7 in FIG. 4).

【0037】次に、オペレーティングシステム10の入
力命令処理部102は、対応命令内の割り込み処理ルー
チンを示すアドレスを格納するエントリ番号を割り込み
処理部104に通知する(図4ステップS8)。
Next, the input command processing unit 102 of the operating system 10 notifies the interrupt processing unit 104 of the entry number for storing the address indicating the interrupt processing routine in the corresponding command (step S8 in FIG. 4).

【0038】次に、オペレーティングシステム10の割
り込み処理部104は、入力命令処理部102から割り
込み処理ルーチンを示すアドレスを格納するエントリ番
号を受け取ると、アプリケーションプログラム110の
入力命令割り込み処理部114に対して、割り込み処理
ルーチンを示すアドレスを伴う割り込みを発行する(図
4ステップS9)。
Next, when the interrupt processing unit 104 of the operating system 10 receives the entry number storing the address indicating the interrupt processing routine from the input instruction processing unit 102, the interrupt processing unit 104 sends the entry number to the input instruction interrupt processing unit 114 of the application program 110. Then, an interrupt with an address indicating the interrupt processing routine is issued (step S9 in FIG. 4).

【0039】次に、アプリケーションプログラム110
の入力命令割り込み処理部114は、オペレーティング
システム10の割り込み処理部104から、割り込み処
理ルーチンを示すアドレスを格納するエントリ番号を伴
う割り込みを受け取ると、エントリ番号に対応するエン
トリ内の割り込み処理ルーチンを示すアドレスに対して
ジャンプし、入力バッファ112に受け取った受信デー
タを処理する割り込み処理ルーチンに制御を渡す(図4
ステップS10)。
Next, the application program 110
Receives an interrupt with an entry number storing an address indicating the interrupt processing routine from the interrupt processing unit 104 of the operating system 10, the input instruction interrupt processing unit 114 indicates the interrupt processing routine in the entry corresponding to the entry number. The control jumps to the address and passes control to an interrupt processing routine for processing the received data received by the input buffer 112 (FIG. 4).
Step S10).

【0040】次に、本発明の第2の実施の形態について
図面を参照して詳細に説明する。本発明の第2の実施の
形態は、図4の各ステップを含む方法である。すなわ
ち、本発明の第2の実施の形態は、相手システム20に
送信する送信データを出力バッファ115に格納する第
1のステップと(図4ステップS1)、オペレーティン
グシステム10に対し入力命令113を入力命令キュー
103に登録させる指示を発行する第2のステップ(図
4ステップS2)と、オペレーティングシステム10に
あって、第2のステップにおける指示を受け取ると、入
力命令113を入力命令キュー103に登録する第3の
ステップ(図4ステップS3)と、出力バッファ115
内の送信データおよび送信データの送信先を示す相手シ
ステム20の識別アドレスをオペレーティングシステム
10に通知する第4のステップ(図4ステップS4)
と、オペレーティングシステム10にあって、第4のス
テップにおいて通知された送信データおよび相手システ
ム20の識別アドレスを受け取ると、受け取った識別ア
ドレスで示される相手システム20へ受け取った送信デ
ータを送信する第5のステップ(図4ステップS5)
と、オペレーティングシステム10にあって、相手シス
テム20を示す識別アドレスを伴う受信データを相手シ
ステム20から受信する第6のステップ(図4ステップ
S6)と、オペレーティングシステム10にあって、相
手システム20から受信した識別アドレスをキーにして
入力命令キュー103を検索し、受信した識別アドレス
を含む入力命令が登録されていれば、前もって相手シス
テム20に送信した送信データに対する応答として受信
データが相手システム20から受信されたと認識し、検
索された入力命令(対応命令)内の相手システム20か
らの受信データを格納する入力バッファ112のアドレ
スにしたがって受信データを入力バッファ112に格納
する第7のステップ(図4ステップS7)と、オペレー
ティングシステム10にあって、対応命令内の割り込み
処理ルーチンを示すアドレスを格納するエントリ番号を
通知する第8のステップ(図4ステップS8)と、オペ
レーティングシステム10にあって、第8のステップに
おいて通知された割り込み処理ルーチンを示すアドレス
を格納するエントリ番号を受け取ると、割り込み処理ル
ーチンを示すアドレスを伴う割り込みを発行する第9の
ステップ(図4ステップS9)と、割り込み処理ルーチ
ンを示すアドレスを格納するエントリ番号を伴う割り込
みを受け取ると、エントリ番号に対応するエントリ内の
割り込み処理ルーチンを示すアドレスに対してジャンプ
し、入力バッファ112に受け取った受信データを処理
する割り込み処理ルーチンに制御を渡す第10のステッ
プ(図4ステップS10)とを含む。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. The second embodiment of the present invention is a method including the steps of FIG. That is, in the second embodiment of the present invention, a first step of storing transmission data to be transmitted to the partner system 20 in the output buffer 115 (step S1 in FIG. 4), and inputting an input instruction 113 to the operating system 10 In the second step (step S2 in FIG. 4) for issuing an instruction to be registered in the instruction queue 103, and when the operating system 10 receives the instruction in the second step, the input instruction 113 is registered in the input instruction queue 103. The third step (step S3 in FIG. 4) and the output buffer 115
A fourth step of notifying the operating system 10 of the transmission data within and the identification address of the partner system 20 indicating the transmission destination of the transmission data (step S4 in FIG. 4).
Receiving the transmission data notified in the fourth step and the identification address of the partner system 20 in the operating system 10, and transmitting the received transmission data to the partner system 20 indicated by the received identification address. Step (Step S5 in FIG. 4)
A sixth step (step S6 in FIG. 4) of receiving the received data with the identification address indicating the partner system 20 from the partner system 20 in the operating system 10; The input command queue 103 is searched using the received identification address as a key. If an input command including the received identification address is registered, the received data is transmitted from the partner system 20 as a response to the transmission data previously transmitted to the partner system 20. A seventh step of recognizing that the received data has been received and storing the received data in the input buffer 112 according to the address of the input buffer 112 storing the received data from the partner system 20 in the searched input command (corresponding command) (FIG. 4) Step S7) and the operating system 0, the eighth step (step S8 in FIG. 4) for notifying the entry number for storing the address indicating the interrupt processing routine in the corresponding instruction, and the operating system 10 for notification in the eighth step. Upon receiving the entry number storing the address indicating the interrupt processing routine, a ninth step (step S9 in FIG. 4) of issuing an interrupt accompanied by the address indicating the interrupt processing routine, and the entry number storing the address indicating the interrupt processing routine Is received, an jump is made to the address indicating the interrupt processing routine in the entry corresponding to the entry number, and control is passed to the interrupt processing routine that processes the received data received in the input buffer 112 (step 10). FIG. 4 step S10)

【0041】次に、本発明の第3の実施の形態について
図面を参照して詳細に説明する。図5は、本発明の第3
の実施の形態を示すブロック図である。図5を参照する
と、本発明の第3の実施の形態は、本発明の第2の実施
の形態の各ステップをコンピュータ30に実行させるた
めのプログラムを記録する記録媒体40である。すなわ
ち、本発明の第3の実施の形態は、相手システム20に
送信する送信データを出力バッファ115に格納する第
1のステップと(図4ステップS1)、オペレーティン
グシステム10に対し入力命令113を入力命令キュー
103に登録させる指示を発行する第2のステップ(図
4ステップS2)と、オペレーティングシステム10に
あって、第2のステップにおける指示を受け取ると、入
力命令113を入力命令キュー103に登録する第3の
ステップ(図4ステップS3)と、出力バッファ115
内の送信データおよび送信データの送信先を示す相手シ
ステム20の識別アドレスをオペレーティングシステム
10に通知する第4のステップ(図4ステップS4)
と、オペレーティングシステム10にあって、第4のス
テップにおいて通知された送信データおよび相手システ
ム20の識別アドレスを受け取ると、受け取った識別ア
ドレスで示される相手システム20へ受け取った送信デ
ータを送信する第5のステップ(図4ステップS5)
と、オペレーティングシステム10にあって、相手シス
テム20を示す識別アドレスを伴う受信データを相手シ
ステム20から受信する第6のステップ(図4ステップ
S6)と、オペレーティングシステム10にあって、相
手システム20から受信した識別アドレスをキーにして
入力命令キュー103を検索し、受信した識別アドレス
を含む入力命令が登録されていれば、前もって相手シス
テム20に送信した送信データに対する応答として受信
データが相手システム20から受信されたと認識し、検
索された入力命令(対応命令)内の相手システム20か
らの受信データを格納する入力バッファ112のアドレ
スにしたがって受信データを入力バッファ112に格納
する第7のステップ(図4ステップS7)と、オペレー
ティングシステム10にあって、対応命令内の割り込み
処理ルーチンを示すアドレスを格納するエントリ番号を
通知する第9のステップ(図4ステップS8)と、オペ
レーティングシステム10にあって、第8のステップに
おいて通知された割り込み処理ルーチンを示すアドレス
を格納するエントリ番号を受け取ると、割り込み処理ル
ーチンを示すアドレスを伴う割り込みを発行する第9の
ステップ(図4ステップS9)と、割り込み処理ルーチ
ンを示すアドレスを格納するエントリ番号を伴う割り込
みを受け取ると、エントリ番号に対応するエントリ内の
割り込み処理ルーチンを示すアドレスに対してジャンプ
し、入力バッファ112に受け取った受信データを処理
する割り込み処理ルーチンに制御を渡す第10のステッ
プ(図4ステップS10)とをコンピュータ30に実行
させるプログラムを記録する記録媒体40である。
Next, a third embodiment of the present invention will be described in detail with reference to the drawings. FIG. 5 shows a third embodiment of the present invention.
It is a block diagram showing an embodiment. Referring to FIG. 5, a third embodiment of the present invention is a recording medium 40 for recording a program for causing a computer 30 to execute each step of the second embodiment of the present invention. That is, in the third embodiment of the present invention, a first step of storing transmission data to be transmitted to the partner system 20 in the output buffer 115 (step S1 in FIG. 4), and inputting an input instruction 113 to the operating system 10 In the second step (step S2 in FIG. 4) for issuing an instruction to be registered in the instruction queue 103, and when the operating system 10 receives the instruction in the second step, the input instruction 113 is registered in the input instruction queue 103. The third step (step S3 in FIG. 4) and the output buffer 115
A fourth step of notifying the operating system 10 of the transmission data within and the identification address of the partner system 20 indicating the transmission destination of the transmission data (step S4 in FIG. 4).
Receiving the transmission data notified in the fourth step and the identification address of the partner system 20 in the operating system 10, and transmitting the received transmission data to the partner system 20 indicated by the received identification address. Step (Step S5 in FIG. 4)
A sixth step (step S6 in FIG. 4) of receiving the received data with the identification address indicating the partner system 20 from the partner system 20 in the operating system 10; The input command queue 103 is searched using the received identification address as a key. If an input command including the received identification address is registered, the received data is transmitted from the partner system 20 as a response to the transmission data previously transmitted to the partner system 20. A seventh step of recognizing that the received data has been received and storing the received data in the input buffer 112 according to the address of the input buffer 112 storing the received data from the partner system 20 in the searched input command (corresponding command) (FIG. 4) Step S7) and the operating system 0, the ninth step of notifying the entry number for storing the address indicating the interrupt processing routine in the corresponding instruction (step S8 in FIG. 4), and the operating system 10 has been notified in the eighth step. Upon receiving the entry number storing the address indicating the interrupt processing routine, a ninth step (step S9 in FIG. 4) of issuing an interrupt accompanied by the address indicating the interrupt processing routine, and the entry number storing the address indicating the interrupt processing routine Is received, an jump is made to the address indicating the interrupt processing routine in the entry corresponding to the entry number, and control is passed to the interrupt processing routine that processes the received data received in the input buffer 112 (step 10). Step S10 in FIG. A recording medium 40 which records a program to be executed by Yuta 30.

【0042】なお、第1、第2、第4、および第10の
ステップを含む第1のプログラムと、第3、第5、第
6、第7、第8、および第9のステップを含む第2のプ
ログラムとを、それぞれ別の記録媒体40に記録させる
ことが可能である。これらのプログラムは、たとえば、
コンピュータ30のハードディスクに格納され実行され
る。
The first program including the first, second, fourth, and tenth steps, and the first program including the third, fifth, sixth, seventh, eighth, and ninth steps. 2 can be recorded on different recording media 40. These programs, for example,
The program is stored in the hard disk of the computer 30 and executed.

【0043】[0043]

【発明の効果】本発明の第1の効果は、コネクションレ
スプロトコル通信においてアプリケーションプログラム
がデータを受信漏れなく、確実に受信できることにあ
る。
A first effect of the present invention is that an application program can reliably receive data without omission in connectionless protocol communication.

【0044】その理由は、アプリケーションプログラム
が出力命令に先だって受信データを受け取るための入力
命令をオペレーティングシステムに送り、オペレーティ
ングシステムがその入力命令を保持するからである。
The reason is that the application program sends an input command for receiving received data to the operating system prior to the output command, and the operating system holds the input command.

【0045】第2の効果は、データを受信漏れの防止を
受信側だけの構成で実現でき、通信相手や中継装置に特
別な仕組みを追加することなく実現できることである。
The second effect is that data can be prevented from being missed by only the receiving side, and can be realized without adding a special mechanism to a communication partner or a relay device.

【0046】その理由は、アプリケーションプログラム
が出力命令に先だって受信データを受け取るための入力
命令をオペレーティングシステムに送り、オペレーティ
ングシステムがその入力命令を保持するからである。
The reason is that the application program sends an input command for receiving received data to the operating system prior to the output command, and the operating system holds the input command.

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

【図1】本発明の第1の実施の形態を示すブロック図で
ある。
FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】出力命令の詳細説明図である。FIG. 2 is a detailed explanatory diagram of an output instruction.

【図3】入力命令の詳細説明図である。FIG. 3 is a detailed explanatory diagram of an input command.

【図4】本発明の第1の実施の形態の動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing an operation of the first exemplary embodiment of the present invention.

【図5】本発明の第3の実施の形態を示すブロック図で
ある。
FIG. 5 is a block diagram showing a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10 オペレーティングシステム 20 相手システム 30 コンピュータ 40 記録媒体 100 非同期入出力部 101 出力命令処理部 102 入力命令処理部 103 入力命令キュー 104 割り込み処理部 110 アプリケーションプログラム 111 出力命令 112 入力バッファ 113 入力命令 114 入力命令割り込み処理部 115 出力バッファ Reference Signs List 10 operating system 20 partner system 30 computer 40 recording medium 100 asynchronous input / output unit 101 output command processing unit 102 input command processing unit 103 input command queue 104 interrupt processing unit 110 application program 111 output command 112 input buffer 113 input command 114 input command interrupt Processing unit 115 Output buffer

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 オペレーティングシステムおよびアプリ
ケーションプログラムを有し、送信データに対応する受
信データを受け取るための入力命令をまず前記オペレー
ティングシステムに送信し、次に前記送信データを前記
オペレーティングシステムに渡すための出力命令を実行
する前記アプリケーションプログラムと、前記アプリケ
ーションプログラムから受け取った前記入力命令を命令
キューに保持し、次に前記アプリケーションプログラム
から受け取った前記送信データを相手システムに送信
し、送信した前記送信データに対応する前記受信データ
を前記相手システムから受け取ると前記命令キューの対
応する入力命令にしたがって受け取った前記受信データ
を前記アプリケーションプログラムの所定の領域に格納
する前記オペレーティングシステムとを有することを特
徴とするデータ送受信方式。
An output having an operating system and an application program for transmitting an input instruction for receiving received data corresponding to transmission data to the operating system first, and then passing the transmission data to the operating system. The application program for executing the instruction, the input instruction received from the application program is held in an instruction queue, and then the transmission data received from the application program is transmitted to a partner system, and the transmission data is transmitted. Receiving the received data from the partner system, storing the received data in a predetermined area of the application program in accordance with a corresponding input command in the command queue. A data transmission / reception method, comprising:
【請求項2】 前記受信データを前記アプリケーション
プログラムの所定の領域に格納した後、前記受信データ
に対する処理のための割り込みを前記入力命令にしたが
って前記アプリケーションプログラムに発行する前記オ
ペレーティングシステムを有することを特徴とする請求
項1記載のデータ送受信方式。
2. The operating system according to claim 2, wherein the operating system issues the interrupt for processing the received data to the application program in accordance with the input command after storing the received data in a predetermined area of the application program. The data transmission / reception method according to claim 1, wherein
【請求項3】 オペレーティングシステムおよびアプリ
ケーションプログラムを有し、前記アプリケーションプ
ログラムが、送信データに対応する受信データを受け取
るための入力命令をまず前記オペレーティングシステム
に送信し、次に前記送信データを前記オペレーティング
システムに渡すための出力命令を実行し、前記オペレー
ティングシステムが、前記アプリケーションプログラム
から受け取った前記入力命令を命令キューに保持し、次
に前記アプリケーションプログラムから受け取った前記
送信データを相手システムに送信し、送信した前記送信
データに対応する前記受信データを前記相手システムか
ら受け取ると前記命令キューの対応する入力命令にした
がって受け取った前記受信データを前記アプリケーショ
ンプログラムの所定の領域に格納することを特徴とする
データ送受信方法。
3. An operating system and an application program, wherein the application program first transmits an input command for receiving received data corresponding to transmission data to the operating system, and then transmits the transmission data to the operating system. Executing an output instruction to pass the input instruction received from the application program to an instruction queue, and then transmitting the transmission data received from the application program to a partner system, and transmitting the transmission data. When receiving the received data corresponding to the transmitted data from the partner system, the received data received in accordance with the corresponding input command in the command queue is determined by a predetermined program of the application program. A data transmission / reception method, wherein the data is stored in an area.
【請求項4】 前記オペレーティングシステムが、前記
受信データを前記アプリケーションプログラムの所定の
領域に格納した後、前記受信データに対する処理のため
の割り込みを前記入力命令にしたがって前記アプリケー
ションプログラムに発行することを特徴とする請求項3
記載のデータ送受信方法。
4. The operating system, after storing the received data in a predetermined area of the application program, issues an interrupt for processing the received data to the application program in accordance with the input command. Claim 3
Data transmission / reception method described.
【請求項5】 出力命令、入力バッファ、入力命令、入
力命令割り込み処理部および出力バッファを含むアプリ
ケーションプログラムと、出力命令処理部、入力命令処
理部、入力命令キューおよび割り込み処理部を含むオペ
レーティングシステムとを有し、相手システムへ送信さ
れる送信データを格納する前記出力バッファと、前記出
力バッファ内に格納されている前記送信データの前記相
手システムへの送信を前記出力命令処理部に指示する前
記出力命令と、前記相手システムを識別する識別アドレ
ス、前記入力バッファのアドレスおよび前記入力命令割
り込み処理部の対応する割り込み処理ルーチンを示すア
ドレスを格納するエントリ番号を前記オペレーティング
システムに指示する前記入力命令と、前記相手システム
から受信した受信データが前記入力命令処理部から格納
される前記入力バッファと、前記相手システムから受信
した前記入力バッファ内の前記受信データに対する割り
込み処理ルーチンのアドレスを各エントリに保持し割り
込み処理ルーチンへジャンプする処理を行う前記入力命
令割り込み処理部と、前記アプリケーションプログラム
からの前記入力命令を待ち行列として蓄える入力命令キ
ューと、前記出力命令の指示により前記出力バッファ内
の前記送信データを前記相手システムに送信する前記出
力命令処理部と、前記相手システムから前記受信データ
を受信し、前記入力命令キュー内の受信データに対応す
る前記入力命令の指示にしたがい前記入力バッファに前
記受信データを格納し、前記割り込み処理部に前記アプ
リケーションプログラムへの割り込みを発行するように
指示する入力命令処理部と、前記入力命令処理部の指示
にしたがい前記アプリケーションプログラムに対して割
り込みを発行し、前記アプリケーションプログラムの前
記入力命令割り込み処理部に制御を渡す前記割り込み処
理部と、を有することを特徴とするデータ送受信方式。
5. An application program including an output command, an input buffer, an input command, an input command interrupt processing unit, and an output buffer, and an operating system including an output command processing unit, an input command processing unit, an input command queue, and an interrupt processing unit. The output buffer for storing transmission data to be transmitted to the partner system; and the output instructing the output command processing unit to transmit the transmission data stored in the output buffer to the partner system. Instructions, an identification address for identifying the partner system, an address of the input buffer and an input instruction for instructing the operating system on an entry number for storing an address indicating an interrupt processing routine corresponding to the input instruction interrupt processing unit; Received data received from the partner system Data in the input buffer stored from the input instruction processing unit, and the address of an interrupt processing routine for the received data in the input buffer received from the partner system in each entry, and jumping to the interrupt processing routine. The input instruction interrupt processing unit that performs the above, an input instruction queue that stores the input instruction from the application program as a queue, and the transmission data in the output buffer that is transmitted to the partner system by an instruction of the output instruction. An output command processing unit, receiving the reception data from the partner system, storing the reception data in the input buffer according to an instruction of the input command corresponding to the reception data in the input command queue, and Interrupt to the application program An input instruction processing unit for instructing the application program to issue, and an interrupt processing unit for issuing an interrupt to the application program in accordance with the instruction of the input instruction processing unit and transferring control to the input instruction interrupt processing unit of the application program And a data transmission / reception method characterized by having:
【請求項6】 入力命令キューをもつオペレーティング
システム、送信データを格納する出力バッファ、および
受信データを格納する入力バッファを使用し、相手シス
テムに送信する前記送信データを前記出力バッファに格
納する第1のステップと、前記オペレーティングシステ
ムに対し入力命令を前記入力命令キューに登録させる指
示を発行する第2のステップと、前記オペレーティング
システムにあって、前記第2のステップにおける指示を
受け取ると前記入力命令を前記入力命令キューに登録す
る第3のステップと、前記出力バッファ内の前記送信デ
ータおよび前記送信データの送信先を示す前記相手シス
テムの識別アドレスを前記オペレーティングシステムに
通知する第4のステップと、前記オペレーティングシス
テムにあって、前記第4のステップにおいて通知された
前記送信データおよび前記識別アドレスを受け取ると、
受け取った前記識別アドレスで示される前記相手システ
ムへ受け取った前記送信データを送信する第5のステッ
プと、前記オペレーティングシステムにあって、前記識
別アドレスを伴う前記受信データを前記相手システムか
ら受信する第6のステップと、前記オペレーティングシ
ステムにあって、前記第6のステップで受信した前記識
別アドレスをキーにして前記入力命令キューを検索し、
受信した前記識別アドレスを含む前記入力命令が登録さ
れていれば、前もって前記相手システムに送信した前記
送信データに対する応答として前記受信データが前記相
手システムから受信されたと認識し、検索された前記入
力命令内の前記相手システムからの前記受信データを格
納する前記入力バッファのアドレスにしたがって前記受
信データを前記入力バッファに格納する第7のステップ
と、前記オペレーティングシステムにあって、前記入力
命令内の割り込み処理ルーチンを示すアドレスを格納す
るエントリ番号を通知する第8のステップと、前記オペ
レーティングシステムにあって、前記第8のステップに
おいて通知された割り込み処理ルーチンを示すアドレス
を格納するエントリ番号を受け取ると、割り込み処理ル
ーチンを示すアドレスを伴う割り込みを発行する第9の
ステップと、前記第9のステップにおける割り込みを受
け取ると、エントリ番号に対応するエントリ内の割り込
み処理ルーチンを示すアドレスに対してジャンプし、前
記入力バッファに受け取った前記受信データを処理する
割り込み処理ルーチンに制御を渡す第10のステップ
と、を含むことを特徴とするデータ送受信方法。
6. An operating system having an input instruction queue, an output buffer for storing transmission data, and an input buffer for storing reception data, wherein the transmission data to be transmitted to a partner system is stored in the output buffer. And a second step of issuing an instruction to the operating system to register an input instruction in the input instruction queue. In the operating system, when the instruction in the second step is received, the input instruction is executed. A third step of registering in the input instruction queue, a fourth step of notifying the operating system of the transmission data in the output buffer and an identification address of the partner system indicating a transmission destination of the transmission data, The operating system, Upon receiving the transmission data and the identification address notified in the fourth step,
A fifth step of transmitting the transmission data received to the partner system indicated by the received identification address, and a sixth step of receiving the reception data with the identification address from the partner system in the operating system. And searching the input command queue using the identification address received in the sixth step as a key, in the operating system,
If the input command including the received identification address is registered, it is recognized that the received data is received from the counterpart system as a response to the transmission data previously transmitted to the counterpart system, and the searched input command is retrieved. A seventh step of storing the received data in the input buffer according to an address of the input buffer storing the received data from the partner system in the operating system; and an interrupt processing in the input command in the operating system. An eighth step of notifying an entry number storing an address indicating a routine; and receiving an entry number storing an address indicating the interrupt processing routine notified in the eighth step in the operating system. Ad indicating processing routine A ninth step of issuing an interrupt accompanied by an interrupt, and upon receiving the interrupt in the ninth step, jumps to an address indicating an interrupt processing routine in the entry corresponding to the entry number and receives the interrupt in the input buffer. A tenth step of passing control to an interrupt processing routine for processing the received data.
【請求項7】 入力命令キューをもつオペレーティング
システム、送信データを格納する出力バッファ、および
受信データを格納する入力バッファを使用し、相手シス
テムに送信する前記送信データを前記出力バッファに格
納する第1のステップと、前記オペレーティングシステ
ムに対し入力命令を前記入力命令キューに登録させる指
示を発行する第2のステップと、前記オペレーティング
システムにあって、前記第2のステップにおける指示を
受け取ると前記入力命令を前記入力命令キューに登録す
る第3のステップと、前記出力バッファ内の前記送信デ
ータおよび前記送信データの送信先を示す前記相手シス
テムの識別アドレスを前記オペレーティングシステムに
通知する第4のステップと、前記オペレーティングシス
テムにあって、前記第4のステップにおいて通知された
前記送信データおよび前記識別アドレスを受け取ると、
受け取った前記識別アドレスで示される前記相手システ
ムへ受け取った前記送信データを送信する第5のステッ
プと、前記オペレーティングシステムにあって、前記識
別アドレスを伴う前記受信データを前記相手システムか
ら受信する第6のステップと、前記オペレーティングシ
ステムにあって、前記第6のステップで受信した前記識
別アドレスをキーにして前記入力命令キューを検索し、
受信した前記識別アドレスを含む前記入力命令が登録さ
れていれば、前もって前記相手システムに送信した前記
送信データに対する応答として前記受信データが前記相
手システムから受信されたと認識し、検索された前記入
力命令内の前記相手システムからの前記受信データを格
納する前記入力バッファのアドレスにしたがって前記受
信データを前記入力バッファに格納する第7のステップ
と、前記オペレーティングシステムにあって、前記入力
命令内の割り込み処理ルーチンを示すアドレスを格納す
るエントリ番号を通知する第8のステップと、前記オペ
レーティングシステムにあって、前記第8のステップに
おいて通知された割り込み処理ルーチンを示すアドレス
を格納するエントリ番号を受け取ると、割り込み処理ル
ーチンを示すアドレスを伴う割り込みを発行する第9の
ステップと、前記第9のステップにおける割り込みを受
け取ると、エントリ番号に対応するエントリ内の割り込
み処理ルーチンを示すアドレスに対してジャンプし、前
記入力バッファに受け取った前記受信データを処理する
割り込み処理ルーチンに制御を渡す第10のステップ
と、をコンピュータに実行させるプログラムを記録した
ことを特徴とする記録媒体。
7. An operating system having an input instruction queue, an output buffer for storing transmission data, and an input buffer for storing reception data, wherein the transmission data to be transmitted to a partner system is stored in the output buffer. And a second step of issuing an instruction to the operating system to register an input instruction in the input instruction queue. In the operating system, when the instruction in the second step is received, the input instruction is executed. A third step of registering in the input instruction queue, a fourth step of notifying the operating system of the transmission data in the output buffer and an identification address of the partner system indicating a transmission destination of the transmission data, The operating system, Upon receiving the transmission data and the identification address notified in the fourth step,
A fifth step of transmitting the transmission data received to the partner system indicated by the received identification address, and a sixth step of receiving the reception data with the identification address from the partner system in the operating system. And searching the input command queue using the identification address received in the sixth step as a key, in the operating system,
If the input command including the received identification address is registered, it is recognized that the received data is received from the counterpart system as a response to the transmission data previously transmitted to the counterpart system, and the searched input command is retrieved. A seventh step of storing the received data in the input buffer according to an address of the input buffer storing the received data from the partner system in the operating system; and an interrupt processing in the input command in the operating system. An eighth step of notifying an entry number storing an address indicating a routine; and receiving an entry number storing an address indicating the interrupt processing routine notified in the eighth step in the operating system. Ad indicating processing routine A ninth step of issuing an interrupt accompanied by an interrupt, and upon receiving the interrupt in the ninth step, jumps to an address indicating an interrupt processing routine in the entry corresponding to the entry number and receives the interrupt in the input buffer. And a tenth step of transferring control to an interrupt processing routine for processing the received data.
JP35810198A 1998-12-16 1998-12-16 Data transmission / reception method, data transmission / reception method, and recording medium Expired - Lifetime JP3313655B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35810198A JP3313655B2 (en) 1998-12-16 1998-12-16 Data transmission / reception method, data transmission / reception method, and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35810198A JP3313655B2 (en) 1998-12-16 1998-12-16 Data transmission / reception method, data transmission / reception method, and recording medium

Publications (2)

Publication Number Publication Date
JP2000183997A JP2000183997A (en) 2000-06-30
JP3313655B2 true JP3313655B2 (en) 2002-08-12

Family

ID=18457552

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35810198A Expired - Lifetime JP3313655B2 (en) 1998-12-16 1998-12-16 Data transmission / reception method, data transmission / reception method, and recording medium

Country Status (1)

Country Link
JP (1) JP3313655B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019922B2 (en) * 2008-10-21 2011-09-13 International Business Machines Corporation Interruption facility for adjunct processor queues
US9405601B2 (en) * 2012-12-20 2016-08-02 Mitsubishi Electric Corporation In-vehicle apparatus and program
GB2515364B (en) * 2013-12-20 2015-06-17 Nordic Semiconductor Asa Updatable integrated-circuit radio

Also Published As

Publication number Publication date
JP2000183997A (en) 2000-06-30

Similar Documents

Publication Publication Date Title
EP0725351A2 (en) Expedited message transfer in a multi-nodal data processing system
US5944797A (en) Data mover hardware controlled processing in a commanding system and in a commanded system for controlling frame communications on a link
JPH0934818A (en) Method and apparatus for shortened waiting time data reception at inside of data-processing system using packet- based architecture
JPH0824320B2 (en) Method and device for buffer chaining in communication control device
US5168495A (en) Nested frame communication protocol
JP3313655B2 (en) Data transmission / reception method, data transmission / reception method, and recording medium
JPH0670076A (en) Store and forward exchange system for facsimile
JP5046493B2 (en) Data transfer efficiency improving method and system using the method
JP2001326683A (en) Packet switchboard, packet switching method
JP2522435B2 (en) Input message guarantee method for computer system
JP3670372B2 (en) Data transfer device
JP2776274B2 (en) Virtual buffer control system in relay computer
JP3058972B2 (en) Storage method of communication data history between CPUs
JP2925049B2 (en) Input buffer control method
JP2778633B2 (en) Key signal communication method
JP2002278917A (en) Image data transfer system
JP3650151B2 (en) Data transfer control device
JPS63279643A (en) Network diagnostic device
JPH02118841A (en) Input queue control system
JPH01292559A (en) Message processing system and data transfer system for parallel computers
JPS6113845A (en) Communication control equipment
JPH10254800A (en) Serial interface transfer device
JP2002247094A (en) Device and method for transmitting packet
JPH0685841A (en) Communication controller
JPH09138775A (en) Realizing method for processing mechanism of operation command distributed system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020507

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090531

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100531

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110531

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110531

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120531

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120531

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130531

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140531

Year of fee payment: 12

EXPY Cancellation because of completion of term