JPS62254253A - Continuous reception system for data with indefinite length - Google Patents

Continuous reception system for data with indefinite length

Info

Publication number
JPS62254253A
JPS62254253A JP61096710A JP9671086A JPS62254253A JP S62254253 A JPS62254253 A JP S62254253A JP 61096710 A JP61096710 A JP 61096710A JP 9671086 A JP9671086 A JP 9671086A JP S62254253 A JPS62254253 A JP S62254253A
Authority
JP
Japan
Prior art keywords
data
text
control device
communication control
host
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
JP61096710A
Other languages
Japanese (ja)
Inventor
Seiji Shimoda
霜田 精二
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61096710A priority Critical patent/JPS62254253A/en
Publication of JPS62254253A publication Critical patent/JPS62254253A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To transfer the continuous input data to a host device just with a single read command by defining the end of a command when no data is received for a fixed period of time. CONSTITUTION:An I/O instruction, e.g., a read command for reception of data given from a circuit is received by an interface control part 2-1 from a host device. Then an instruction is given to a data receiving part 2-2 for the reception of data. A detecting part 2-3 detects a text end code while receiving data. When the test end code is detected, the synchronization of characters is released and the characters are waited for to set up the next synchronization. Then a timer 2-4 is actuated to monitor the input of data and the end of the command is decided when no input is given for a prescribed time (10sec, etc.). Thus it is possible to decrease the number of data receiving buffers within the host device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、オンライン・システムにおける通信制御に係
り1%にテキストが連続して端末装置から送信してくる
伝送制御手順に好適な通信制御装置の連続受信方式に関
する、 〔従来の技術〕 従来の装置は、回線から連続し℃入力するデータをホス
トからのREA Dコマンドに対して1つのテキストを
受信する様になっていた。しかし連続する入力データを
1ケのRENDコマンドでポストへ転送するという点に
ついては配慮されていなかった。なお、READコマン
ドとはホスト計算機より通信制御装置に発行されるデー
タ受信用のI/O指令を言う。なお、この種の方式とし
て関連するものには、たとえば特開昭58−/O554
4号公報などがある。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to communication control in an online system and is a communication control device suitable for a transmission control procedure in which text is continuously transmitted from a terminal device in 1% of the time. [Prior art] Regarding the continuous reception method, a conventional device receives data that is continuously input from a line and receives one text in response to a READ command from a host. However, no consideration was given to transferring continuous input data to the post with a single REND command. Note that the READ command is an I/O command for data reception issued from the host computer to the communication control device. Incidentally, related methods of this type include, for example, Japanese Patent Application Laid-open No. 58-0554.
There are publications such as Publication No. 4.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記従来技術は、ホスト内のバッファに入力される不定
長のデータのうち最大長に合せて確保しておく必要があ
り、ホストのメモリ量の点について配慮がされておらづ
′、ホストのメモリ量を大きくしなければならない問題
があつた。
In the above conventional technology, it is necessary to reserve data according to the maximum length of the undefined length data input to the buffer in the host, and there is no consideration given to the amount of memory in the host. I had a problem where I had to increase the amount.

本発明の目的は、ホストのメモリ量を回線からの全テキ
スト長の合計分たけ用意すれば良い様にしホストのメモ
リ所要量を低減することにある。
SUMMARY OF THE INVENTION An object of the present invention is to reduce the amount of memory required by the host by making it possible to prepare the amount of memory in the host equal to the total length of all text from the line.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、ホストに接続される通信制御装置で連続し
て入力されるテキストを、ホストからの受信用のREA
Dコマンド1ヶで受信できる様にする制御を通信制御装
置で行うことにより、達成される。
The above purpose is to send text that is continuously input in a communication control device connected to a host to an REA for reception from the host.
This is achieved by controlling the communication control device so that it can be received with one D command.

〔作用〕[Effect]

本発明による過信制御装置は、ホストからのREADコ
マンド1ヶで回線かト連続して送られてくるフレームを
受信して、ホストへ連続したデータとして転送するよう
に動作する。それによって、ホストはフレームの最大長
に合せたバッファをフレーム数分、用意する必要が無く
なり、ホスト内のメモリを有効に使用することができる
The overload control device according to the present invention operates to receive frames that are continuously sent over a line in response to a single READ command from the host, and transfer them to the host as continuous data. This eliminates the need for the host to prepare buffers for the number of frames that correspond to the maximum frame length, and the memory within the host can be used effectively.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を用いて説明する
An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明が適用されるシステム構成例を示す。端
末装置4より変復調装置5を経由して通信制御装f11
2に接続される。さらに通信制御装置2にホスト(電子
計算機)1が接続される。端末装置4はデータが発生す
ると終り符号8まで1つのテキストとして送信する。1
つのテキスト長は固定でな(、短いものから長いものま
である。最大テキスト長とテキスト数はシステム構築時
、決定する。
FIG. 1 shows an example of a system configuration to which the present invention is applied. Communication control device f11 from the terminal device 4 via the modem device 5
Connected to 2. Furthermore, a host (electronic computer) 1 is connected to the communication control device 2 . When the terminal device 4 generates data, it transmits it as one text up to the end code 8. 1
The text length is not fixed (it ranges from short to long. The maximum text length and number of texts are determined when the system is constructed.

第2図は本発明を適用した時のデータの入力状況とホス
ト内バッファ7の必要量を示したものである。第2図の
場合は、ホスト内のバッファ7はそのシステムで入力さ
れるデータ長の合計分あれば良いことになる。これを実
現するため第1図のホスト1から通信制御装置2に発行
するデータ通信用のREADコマンドを1つで行ない、
テキスト1〜nのバイト数の合計より大きいバイトカウ
ントでREADコマンドを発行する、また通信制御装置
2はS YN=?ヤラクタで始まるテキスト1〜nを連
続して受信する様に1テキストの終り符号を検出した時
点で8YN同期ならば同期を開放して8YNキヤラクタ
待とする。次のテキストの最初のキャラクタを前のテキ
ストにひきつづいて転送する。
FIG. 2 shows the data input situation and the required amount of the host buffer 7 when the present invention is applied. In the case of FIG. 2, it is sufficient that the buffer 7 in the host has the total length of data input to the system. To achieve this, a single READ command for data communication is issued from the host 1 to the communication control device 2 in FIG.
A READ command is issued with a byte count greater than the total number of bytes of text 1 to n, and communication control device 2 issues SYN=? If the end code of one text is detected so that the texts 1 to n starting with Yarakuta are successively received, if it is 8YN synchronization, the synchronization is released and the system waits for the 8YN character. Transfers the first character of the next text in succession to the previous text.

コマンドの終結は一定時間(例えば/O秒)データの受
信がない時とする。
The command ends when no data is received for a certain period of time (for example, /O seconds).

第3図は本発明を適用する通信制御装置2のブロック図
を示す。2−1はホスト間のインタフェースを制御する
インタフェース制御部を示しコマンドの受領、データ転
送、コマンド終結等の制御を行う。2−2はデータ受信
部で回線からのデータを受信する、この中には8YN同
期の同期をとる部分も含む、2−5は終り符号を検出す
る検出部であり、2−4はデータの入力を監視するタイ
マでコマンドを終結する。
FIG. 3 shows a block diagram of a communication control device 2 to which the present invention is applied. Reference numeral 2-1 denotes an interface control unit that controls the interface between hosts, and controls command reception, data transfer, command termination, etc. 2-2 is a data receiving unit that receives data from the line, including a part that synchronizes 8YN, 2-5 is a detection unit that detects the end code, and 2-4 is a data receiving unit that detects the end code. Terminate the command with a timer that monitors input.

以下、本発明を適用する通信制御装置の動作を説明する
。まず、ホストより回線からのデータの受信を指令する
I/O指令(例えばREADコマンド)を第3図に示す
インタフェース制御部2−1で受領する。受惟後データ
通信部2−2に対してデータの受信を指示する。データ
を受信しながら検出部2−5で終り符号8か否かをチェ
ックする。終り符号8を検出した時、キャラクタの同期
をはずし次の同期確立用のキャラクタを待つ。この時、
タイマ2−4のデータ入力を監視するタイマを動作させ
て、入力が無くなったときコマンドを終結する。本実施
例によればホストのメモリを低減スることが可能となる
The operation of the communication control device to which the present invention is applied will be explained below. First, the interface control unit 2-1 shown in FIG. 3 receives an I/O command (for example, a READ command) from the host to instruct the reception of data from the line. After receiving the data, the data communication unit 2-2 is instructed to receive the data. While receiving the data, the detection unit 2-5 checks whether the ending code is 8 or not. When the end code 8 is detected, the synchronization of characters is removed and the next character for establishing synchronization is waited for. At this time,
A timer that monitors data input to timer 2-4 is operated, and the command is terminated when there is no more input. According to this embodiment, it is possible to reduce the memory of the host.

〔発明の効果〕 本発明によれば、ホスト内のデータ受信用のバッファを
減少できるのでホストのメそり量を減少できる効果があ
る。
[Effects of the Invention] According to the present invention, it is possible to reduce the number of data reception buffers in the host, thereby reducing the amount of memory in the host.

例(1)実施前、20   X20テキスト=400 
7回線 (2)実施後:20  のテキスト 1ケ1 のテキス
ト 5ケ 0.5  のテキスト 5ケ α2KBのテキスト 9ヶ とすると 20+IX5+α5X5+0.2X9 =29.5KB/回線
Example (1) Before implementation, 20 x 20 text = 400
After implementation of 7 lines (2): 20 texts 1 digit 1 text 5 digits 0.5 text 5 digits α2KB text Assuming 9 lines, 20 + IX5 + α5X5 + 0.2X9 = 29.5KB/line

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

第1図は本発明の一実施例のシステム構成図、第2図は
本発明によるテークの受信方式とホストのバッファ管理
方式を示す図、第3図は本発明が適用される通信制御装
置のブロック図である。 1・・・ホスト(電子計算機)。 2・・・通信制御装置、  3・・・変復調装置。 4・・・端末装置、     5・・・テΦスト。 7・・・バッファ、    8・・・終り符号。 2−1・・・インタフェース制御部。 2−2・・・データ受信部、2−3・・・終り符号検出
部。 2−4・・・タイマ監視部、 第1図 塔2図 第 B 区
FIG. 1 is a system configuration diagram of an embodiment of the present invention, FIG. 2 is a diagram showing a take reception method and a host buffer management method according to the present invention, and FIG. 3 is a diagram of a communication control device to which the present invention is applied. It is a block diagram. 1...Host (electronic computer). 2... Communication control device, 3... Modulation/demodulation device. 4...Terminal device, 5...Test Φ. 7...Buffer, 8...End code. 2-1...Interface control unit. 2-2...Data reception section, 2-3...End code detection section. 2-4...Timer monitoring section, Figure 1 Tower Figure 2 Area B

Claims (1)

【特許請求の範囲】 1、電子計算機と通信制御装置と回線を通して接続する
端末装置より成るオンライン・システムの通信制御装置
であって、伝送制御手順が特定キャラクタで同期をとる
場合で、テキスト長が固定でなく、テキストの最後が特
定キャラクタの終り符号で構成されていて、しかもテキ
ストが連続転送される場合、該通信制御装置で (1)特定キャラクタで同期をとり、かつデータを受信
する受信部と (2)ホストからのI/O指令の受領およびホスト間と
データ転送等を行うチャネル制御部か ら 成る通信制御装置において、テキストの終り符号検出と
連続するテキスト群の終りを検出する機能を設けたこと
を特徴とする通信制御装置の連続受信方式。
[Claims] 1. A communication control device for an online system consisting of a computer, a communication control device, and a terminal device connected through a line, where the transmission control procedure is synchronized using a specific character, and the text length is If the end of the text is not fixed and consists of the end code of a specific character, and the text is continuously transferred, the communication control device (1) synchronizes with the specific character and receives the data. (2) In a communication control device consisting of a channel control unit that receives I/O commands from a host and transfers data between hosts, a function is provided to detect the end code of a text and the end of a continuous text group. A continuous reception method for a communication control device characterized by:
JP61096710A 1986-04-28 1986-04-28 Continuous reception system for data with indefinite length Pending JPS62254253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61096710A JPS62254253A (en) 1986-04-28 1986-04-28 Continuous reception system for data with indefinite length

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61096710A JPS62254253A (en) 1986-04-28 1986-04-28 Continuous reception system for data with indefinite length

Publications (1)

Publication Number Publication Date
JPS62254253A true JPS62254253A (en) 1987-11-06

Family

ID=14172302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61096710A Pending JPS62254253A (en) 1986-04-28 1986-04-28 Continuous reception system for data with indefinite length

Country Status (1)

Country Link
JP (1) JPS62254253A (en)

Similar Documents

Publication Publication Date Title
JPH0618371B2 (en) Communication terminal
US5404137A (en) High speed transition signalling communication system
JPS62254253A (en) Continuous reception system for data with indefinite length
JPH1063617A (en) Serial communication device
JPS61186046A (en) System for controlling terminal equipment connection
US7126983B1 (en) Methods and apparatus for communicating commands and data using logical channels
JP2530611B2 (en) Communication control device
JP2574796B2 (en) Communication control device
JP2893897B2 (en) Serial I / O device
JPH02250453A (en) Data receiver
JP2581238Y2 (en) Data transmission equipment
JPS6129961A (en) Data transfer method
JPS58154030A (en) Dma controlling system
JPH02149049A (en) Communication control system
JPH0311848A (en) Communication controller
JPS63276345A (en) Reception control system for communication control equipment
JPS62269539A (en) Communication controller
JPS62247441A (en) Batch transfer system for transmission message
JPS60123950A (en) Communication controlling system
JPS60215226A (en) Automatic power supply controller
JPS6042960A (en) Loop transmission system
JPH0560703B2 (en)
JPS60174548A (en) Circuit adapter
JPS59158150A (en) Polling control system
JPH05158838A (en) Semiconductor device for controlling communication