[go: up one dir, main page]

JPS62130447A - Communication data reception system by inter-character time supervision - Google Patents

Communication data reception system by inter-character time supervision

Info

Publication number
JPS62130447A
JPS62130447A JP60263411A JP26341185A JPS62130447A JP S62130447 A JPS62130447 A JP S62130447A JP 60263411 A JP60263411 A JP 60263411A JP 26341185 A JP26341185 A JP 26341185A JP S62130447 A JPS62130447 A JP S62130447A
Authority
JP
Japan
Prior art keywords
data
time
timer
read command
reception
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
JP60263411A
Other languages
Japanese (ja)
Inventor
Goro Kawabata
川畑 悟郎
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.)
Panafacom Ltd
Original Assignee
Panafacom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panafacom Ltd filed Critical Panafacom Ltd
Priority to JP60263411A priority Critical patent/JPS62130447A/en
Publication of JPS62130447A publication Critical patent/JPS62130447A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

PURPOSE:To receive a data without putting a big load on a host computer and without making worse a response by continuing a reception when the next data is received within a prescribed time, terminating a reception process when it is not received within the prescribed time, and performing the process of the data received until then in a data reception time. CONSTITUTION:The data inputted from a keyboard 6 is sent to a host computer CPU1 through an adaptor 3. At such a time, when a read command is not issued from the CPU1 to the adaptor 3, a reception data is stored at a buffer. And when the data is transferred from the buffer to the CPU1, a timer is started up to supervise a time between characters. Also, when the read command is issued, the timer is canceled when it is in operation, and the data is transferred to the CPU1 as it is. And the timer is started up again to supervise the time between the characters, and the read command is terminated when a time-out is generated.

Description

【発明の詳細な説明】 〔概要〕 無手順のデータ通信において、受信文字間の短時間の時
間監視を行うことによりデータの受信処理を効率よく行
う方式である。
[Detailed Description of the Invention] [Summary] In non-procedure data communication, this is a method for efficiently performing data reception processing by monitoring short periods of time between received characters.

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

本発明は、無手順データ通信の受信方式に関するもので
ある。
The present invention relates to a reception method for non-procedural data communication.

〔従来技術と問題点〕[Prior art and problems]

TTY手順などでデータ通信を行う場合、相手端末に対
して細かい制御を行うためには、データ受信は1バイト
ずつアダプタ等の外部装置に依頼せざるを得ない。しか
し、この方法ではホスト計算機の負荷が高くなり、ファ
イル転送等に使用するには問題がある。
When performing data communication using a TTY procedure or the like, in order to perform detailed control over the other party's terminal, it is necessary to request an external device such as an adapter to receive data one byte at a time. However, this method imposes a heavy load on the host computer, which poses a problem when used for file transfer, etc.

この問題を解決するために、以下の方法が考えられてい
る。
In order to solve this problem, the following methods have been considered.

(a)  デリミタ指定による受信 デリミタ文字を指定し、そのデリミタ文字までを1つの
レコードとしてアダプタに受信を依頼する。
(a) Reception by delimiter specification Specify a delimiter character and request the adapter to receive data up to the delimiter character as one record.

この方法では端末に対する文字単位の細かい制御が出来
ない上、バイナリ・ファイルの転送に適用することが出
来ない。
This method does not allow fine character-by-character control over the terminal, and cannot be applied to binary file transfers.

fb)  アダプタによるデータの一括転送アダプタが
一定周期で受信データの有無を調べ、受信データを一括
して転送する。
fb) Batch transfer of data by adapter The adapter checks whether there is received data at regular intervals and transfers the received data all at once.

この方法は低速の小回線を制?IIIするアダプタでは
効果が望めない。低速小回線のアダプタでこの方法で効
果を上げようとすれば、チェ、り周期を大きくしたり、
最小データ転送量を設けるなどすることになり、このシ
ステムのレスポンスを悪化させる。
Can this method control low speed small lines? A III adapter will not be effective. If you try to increase the effectiveness of this method with a low-speed small line adapter, you will need to increase the check cycle,
A minimum amount of data transfer is required, which worsens the response of this system.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであって、無手順デ
ータ通信において、ホスト計算機の負荷を大きくするこ
となく、しかもレスポンスを悪化させることなくデータ
を受信できるようにした通信データ受信方式を提供する
ことを目的としている。
The present invention is based on the above considerations, and provides a communication data reception method that allows data to be received without increasing the load on the host computer and without deteriorating the response in non-procedural data communication. It is intended to.

〔目的を達成させるための手段〕[Means to achieve the purpose]

そしてそのため本発明の文字間時間監視による通信デー
タ受信方式は、下記の事項を特徴とするものである。
Therefore, the communication data reception method using character interval time monitoring according to the present invention is characterized by the following features.

・ データ受信時に、1文字受信後に次のデータの受信
までを時間監視する。
- When receiving data, monitor the time from when one character is received until the next data is received.

・ 一定時間内に次のデータを受信すれば受信を続け、
新たな時間監視を開始する。・ 一定時間内に次のデー
タを受信しなければ受信処理を終結し、それまで受信し
たデータの処理を行う。
- If the next data is received within a certain period of time, reception continues,
Start a new time monitor. - If the next data is not received within a certain period of time, the reception process is terminated and the data received so far is processed.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照しつつ説明する。第1図は本
発明が適用されるシステムの1例を示す図である。第1
図において、1と2はホスト計算機、3と4はアダプタ
、5はディスプレイ、6はキーボードをそれぞれ示して
いる。ディスプレイ5及びキーボード6は会話型端末を
構成している。
Hereinafter, the present invention will be explained with reference to the drawings. FIG. 1 is a diagram showing an example of a system to which the present invention is applied. 1st
In the figure, 1 and 2 are host computers, 3 and 4 are adapters, 5 is a display, and 6 is a keyboard, respectively. The display 5 and keyboard 6 constitute a conversation terminal.

例えば、キーボード6からデータが入力されると、これ
らのデータはアダプタ3を介して計算機1に送られ、計
算機1はこれらのデータを処理し、処理結果がアダプタ
3を介してディスプレイ5に送られ、ディスプレイ画面
上に表示される。計算機1と2との間では、ファイル転
送等が行われる。
For example, when data is input from the keyboard 6, these data are sent to the computer 1 via the adapter 3, the computer 1 processes these data, and the processing results are sent to the display 5 via the adapter 3. , shown on the display screen. File transfer and the like are performed between computers 1 and 2.

アダプタ3と4は同一の構成を有している。Adapters 3 and 4 have the same configuration.

第2図はアダプタの構成の1例を示す図である。FIG. 2 is a diagram showing an example of the configuration of the adapter.

第2図において、7はリード・カウンタ、8はホスト・
インタフェース部、9はリード・コマンド実行中表示部
、10は通信制御部、11はバッファ、12はバッファ
・カウンタ、13はタイマ制御部、14はタイマ動作中
表示部をそれぞれ示している。アダプタの動作は下記の
ようなものである。
In Figure 2, 7 is the read counter and 8 is the host counter.
Reference numeral 9 indicates a read command execution display section, 10 a communication control section, 11 a buffer, 12 a buffer counter, 13 a timer control section, and 14 a timer operation display section. The operation of the adapter is as follows.

■ リード・コマンドが発行されない場合の受信データ
はハ・7フアに格納される。
■ Received data when a read command is not issued is stored in H-7.

■ リード・コマンドが発行されると、バッファからホ
スト計算機にデータが転送される。
■ When a read command is issued, data is transferred from the buffer to the host computer.

■ バッファからホスト計算機にデータを転送した場合
、文字間の時間監視のためのタイマを起動する。
■ When data is transferred from the buffer to the host computer, a timer is started to monitor the time between characters.

■ リード・コマンドが発行された状態でデータを受信
すると、タイマが動作中であればタイマをキャンセルす
る。
■ If data is received while a read command is issued, the timer is canceled if it is running.

■ リード・コマンドが発行された状態で受信したデー
タはそのままホスト計算機に転送される。
■ Data received while a read command is issued is transferred to the host computer as is.

■ リード・コマンドが継続しておれば、文字間の時間
監視のために再度タイマを起動する。
■ If the read command continues, start the timer again to monitor the time between characters.

■ タイムアウトが発生した場合、リード・コマンドを
終結させる。
■ Terminate the read command if a timeout occurs.

第3図は文字間の時間監視を説明するための図である。FIG. 3 is a diagram for explaining time monitoring between characters.

第3図において、TGは文字量無通信時間、T、は文字
転送時間、T8は文字間時間監視対象時間、T、は文字
間時間監視指示値をそれぞれ示しいる。T1.l<T3
のときにはデータ受信がmVtされ、Tい≧T3のとき
には受信が終了される。なお、’rw =TG +’l
’Bであり、またTsは数10m5ecないし100m
5ec程度に設定される。
In FIG. 3, TG represents the character amount non-communication time, T represents the character transfer time, T8 represents the character interval time monitoring target time, and T represents the character interval time monitoring instruction value. T1. l<T3
When , data reception is reduced to mVt, and when T≧T3, reception is terminated. In addition, 'rw = TG +'l
'B, and Ts is several 10m5ec to 100m
It is set to about 5ec.

第4図はタイマ制御部のタイムアウト処理を説明する図
である。
FIG. 4 is a diagram illustrating timeout processing of the timer control section.

■ タイマ動作中表示を解除する。■ Cancel the timer operation display.

■ リード・コマンド実行中表示を解除する。■ Cancel the read command execution display.

■ リード・コマンドの終結処理を行う。■ Perform final processing of read commands.

第5図はホスト・インタフェース部のリード・コマンド
受付は処理を説明する図である。
FIG. 5 is a diagram illustrating the read command reception process of the host interface unit.

■ リード・コマンド実行中表示を設定する。■ Set the read command execution display.

■ バッファ内にデータが存在するか否かを調べる。Y
esのときは■の処理を行い、NOのときは終了とする
■ Check to see if there is data in the buffer. Y
If es, process (■) is performed, and if NO, the process ends.

■ リード・カウンタの値が零より大であるか否かを調
べる。Yesのときは■の処理を行い、NOのときは■
の処理を行う。
■ Check whether the value of the read counter is greater than zero. If Yes, process ■; if NO, process ■
Process.

■ バッファ・カウンタの値が零より大であるか否カを
調べる。Yesのときは■の処理を行い、NOのときは
■の処理を行う。
■ Check whether the value of the buffer counter is greater than zero. If YES, process ``■'' is performed, and if NO, process ``■'' is performed.

■ バッファよりホスト計算機にデータを転送する。■ Transfer data from the buffer to the host computer.

■ リード・カウンタ及びバッファ・カウンタの値を−
1する。次に■の処理を行う。
■ Set the read counter and buffer counter values to -
Do 1. Next, perform the process (■).

■ タイマ動作中表示を設定する。■ Set the timer operation display.

■ 文字間の時間監視用のタイマを起動する。■ Start a timer for monitoring the time between characters.

■ リード・コマンド実行中表示を解除する。■ Cancel the read command execution display.

[相] リード・コマンドの終結処理を行う。[Phase] Perform finalization processing of the read command.

第6図は通信制御部のデータ受信処理を説明する図であ
る。
FIG. 6 is a diagram illustrating data reception processing by the communication control section.

■ リード・コマンド動作中か否かを調べる。YeSの
ときは■の処理を行い、Noのときは[相]の処理を行
う。
■ Check whether a read command is in progress. If Yes, process ``■'' is performed, and if No, process [Phase] is performed.

■ タイマ動作中か否かを調べる。Yesのときは■の
処理を行い、Noのときは■の処理を行う。
■ Check whether the timer is operating. If Yes, process (2) is performed, and if No, process (2) is performed.

■ タイマ動作中表示を解除する。■ Cancel the timer operation display.

■ タイマをキャンセルする。■ Cancel the timer.

■ データをホスト計算機に送る。■ Send data to the host computer.

■ リード・カウンタの値を−1する。■ Decrease the read counter value by 1.

■ リード・カウンタの値が零より大であるか否かを調
べる。Yesのときは■の処理を行い、Noのときは0
の処理を行う。
■ Check whether the value of the read counter is greater than zero. If Yes, process ■, if No, 0
Process.

■ タイマ動作中表示を設定する。■ Set the timer operation display.

■ 文字間の時間監視用のタイマを起動する。■ Start a timer for monitoring the time between characters.

[相] データをバッファに格納する。[Phase] Store data in the buffer.

■ バッファ・カウンタを+1する。■ Add 1 to the buffer counter.

■ リード・コマンド実行中表示を解除する。■ Cancel the read command execution display.

■ リード・コマンド終結処理を行う。■ Perform read command finalization processing.

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

以上の説明から明らかなように、本発明によれば、回線
の先に端末が接続されている場合、端末オペレータは処
理の遅れを殆ど惑することなく、ホスト計算機からの細
かな制御を受けることが出来、また回線の先に計算機が
接続されている場合には効率的なデータ転送を行うこと
が出来る。
As is clear from the above description, according to the present invention, when a terminal is connected at the end of a line, the terminal operator can receive detailed control from the host computer without being bothered by processing delays. , and when a computer is connected at the end of the line, efficient data transfer can be performed.

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

第1図は本発明が適用されるシステムの1例を示す図、
第2図はアダプタの構成の1例を示す図、第3図は文字
間の時間監視を説明するための図、第4図はタイマ制御
部のタイムアウト処理を説明する図、第5図はホスト・
インタフェース部のリード・コマンド受付は処理を説明
する図、第6図は通信制御部のデータ受信処理を説明す
る図である。 1と2・・・計算機、3と4・・・アダプタ、5・・・
ディスプレイ、6・・・キーボード、7・・・リード・
カウンタ、8・・・ホスト・インタフェース部、9・・
・リード・コマンド実行中表示部、10・・・通信制御
部、1■・・・バッファ、12・・・バッファ・カウン
タ、13・・・タイマ制御部、14・・・タイマ動作中
表示部。
FIG. 1 is a diagram showing an example of a system to which the present invention is applied;
Figure 2 is a diagram showing an example of the configuration of the adapter, Figure 3 is a diagram to explain the time monitoring between characters, Figure 4 is a diagram to explain timeout processing of the timer control section, and Figure 5 is a diagram to explain the timeout process of the timer control section.・
FIG. 6 is a diagram illustrating the read command reception process of the interface section, and FIG. 6 is a diagram illustrating the data reception process of the communication control section. 1 and 2...calculator, 3 and 4...adapter, 5...
Display, 6... Keyboard, 7... Lead
Counter, 8...Host interface section, 9...
- Read command execution display unit, 10... Communication control unit, 1■... Buffer, 12... Buffer counter, 13... Timer control unit, 14... Timer operation display unit.

Claims (1)

【特許請求の範囲】[Claims] 無手順データ通信において、ホスト計算機によって発行
されたリード・コマンド実行中にデータを受信した場合
には当該データを上記ホスト計算機に送ると共に、文字
間の時間監視のためのタイマ動作中であれば初期値に設
定した後に該タイマを起動し、該タイマが動作中でなく
計数値が初期値であれば直ちに該タイマを起動し、該タ
イマが一定時間を計数した時にリード・コマンドの終結
処理を行うことを特徴とする文字間時間監視による通信
データ受信方式。
In non-procedural data communication, if data is received while executing a read command issued by the host computer, the data is sent to the host computer, and if the timer for monitoring the time between characters is running, the initial After setting the value, start the timer, and if the timer is not running and the count value is the initial value, start the timer immediately, and when the timer counts a certain amount of time, complete the read command finalization process. A communication data reception method using character interval time monitoring.
JP60263411A 1985-11-22 1985-11-22 Communication data reception system by inter-character time supervision Pending JPS62130447A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60263411A JPS62130447A (en) 1985-11-22 1985-11-22 Communication data reception system by inter-character time supervision

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60263411A JPS62130447A (en) 1985-11-22 1985-11-22 Communication data reception system by inter-character time supervision

Publications (1)

Publication Number Publication Date
JPS62130447A true JPS62130447A (en) 1987-06-12

Family

ID=17389120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60263411A Pending JPS62130447A (en) 1985-11-22 1985-11-22 Communication data reception system by inter-character time supervision

Country Status (1)

Country Link
JP (1) JPS62130447A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49106254A (en) * 1973-02-08 1974-10-08
JPS54160147A (en) * 1978-06-09 1979-12-18 Hitachi Ltd Communication control unit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS49106254A (en) * 1973-02-08 1974-10-08
JPS54160147A (en) * 1978-06-09 1979-12-18 Hitachi Ltd Communication control unit

Similar Documents

Publication Publication Date Title
KR100701419B1 (en) Method and device for automatically transferring I / O blocks between host system and host adapter
JPS623362A (en) Data reception system
JPS6376540A (en) Communication terminal equipment
WO2024051122A1 (en) Pcie interrupt processing method and apparatus, device, and non-volatile readable storage medium
JPS62130447A (en) Communication data reception system by inter-character time supervision
CN111427806A (en) Method for sharing serial port by dual-core AMP system, storage medium and intelligent terminal
JPH0248757A (en) Data communication method
JPS622747A (en) Reception control system
KR940009104B1 (en) Data transmission method between systems
JPS61251252A (en) Processing method for data transfer
JPH0145657B2 (en)
JPS62191954A (en) Communicating control device
CN119782204A (en) A data collection method, device, equipment and medium
JPS6051346A (en) Data transfer system
JPS62204354A (en) I/O command control method
KR0157253B1 (en) How to control parallel interface of printer
JP2003186666A (en) Microcomputer and dma control circuit
JP2539517B2 (en) Communication control method
CN112631975A (en) Linux-based SPI transmission method
JPH06250964A (en) Controller
JPH01163864A (en) Scsi host adapter
JPH02272955A (en) Interruption system for arbitrary received data
KR20050045201A (en) Ending method and apparatus for transmitting direct memory access
JPH01263731A (en) Interruption control system
JPH0223455A (en) Interface device