JPS6040060B2 - Data transfer method - Google Patents
Data transfer methodInfo
- Publication number
- JPS6040060B2 JPS6040060B2 JP53106495A JP10649578A JPS6040060B2 JP S6040060 B2 JPS6040060 B2 JP S6040060B2 JP 53106495 A JP53106495 A JP 53106495A JP 10649578 A JP10649578 A JP 10649578A JP S6040060 B2 JPS6040060 B2 JP S6040060B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- processing device
- communication control
- control device
- data processing
- 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
Links
Landscapes
- Computer And Data Communications (AREA)
- Communication Control (AREA)
Description
【発明の詳細な説明】
本発明は、通信制御装置とホストデータ処理装置との間
のデータ転送方式に関し、特に、端末装置から通信制御
装置に送出されたデータを一時蓄積した後ホストデータ
処理装置へ転送するようにした通信制御装置とホストデ
ータ処理装置との間のデータ転送方式に関するものであ
る。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer method between a communication control device and a host data processing device, and in particular, the present invention relates to a data transfer method between a communication control device and a host data processing device, and in particular, after temporarily storing data sent from a terminal device to a communication control device, the host data processing device The present invention relates to a data transfer method between a communication control device and a host data processing device.
従来の通信制御装置とホストデータ処理装置との間のデ
ータ転送方式を、第1図について説明する。A conventional data transfer method between a communication control device and a host data processing device will be explained with reference to FIG.
図中、1は通信制御装置、2−1ないし2一nは該通信
制御装置に連結された端末装置、3はチャネル、4はホ
ストデータ処理装置である。In the figure, 1 is a communication control device, 2-1 to 21n are terminal devices connected to the communication control device, 3 is a channel, and 4 is a host data processing device.
通信制御装置1には、多数の端末装瞳2ーー,2一2,
・・・2−nが連結されている。これらの端末装置から
通信制御装置1には、ビット単位でデータが送出されて
くる。通信制御装置1は、このビット単位のデータを、
データ組立処理部1−1において、文字単位のデータに
組立てる。そしてホストデータ処理装置4に対して、割
込信号発生兼転送部1一2から、割込み信号を発生し、
チャネル3を介して、上記端末装置2一1ないし2一n
より送出されて釆たデータを、ホストデータ処理装置4
に対し転送する。したがって、通信制御装置1は、端末
装置2−1なし、し2一nからデータが転送される黍に
、ホストデータ処理装置4に対し割込み信号を発生し、
該ホストデータ処理装置に割込むようにしている。The communication control device 1 includes a large number of terminal devices 2--, 2-2,
...2-n are connected. Data is sent from these terminal devices to the communication control device 1 in bit units. The communication control device 1 converts this bit-by-bit data into
The data assembly processing section 1-1 assembles data into character units. Then, an interrupt signal is generated from the interrupt signal generation/transfer unit 1-2 to the host data processing device 4,
Via channel 3, the terminal devices 2-1 to 2-n
The data sent and fused from the host data processing device 4
Transfer to. Therefore, the communication control device 1 generates an interrupt signal to the host data processing device 4 when data is transferred from the terminal device 2-1 and 2-n.
The host data processing device is interrupted.
そのため、通信制御装置1に連結される端末装置2−1
ないし2一nの台数が多くなればなる程、また該通信制
御装置1に転送されてくるデータが数多〈なればなる程
、上記、ホストデータ処理装置4の割込処理量が増加し
、この結果ホストデータ処理装置の能率の低下を招く欠
点がある。Therefore, the terminal device 2-1 connected to the communication control device 1
The more the number of communication control devices 1 to 21n increases, the more data is transferred to the communication control device 1, the more the amount of interrupt processing by the host data processing device 4 increases. As a result, there is a drawback that the efficiency of the host data processing device is reduced.
本発明はこれを改善して通信制御装置とホストデータ処
理装置間の上記割込回数を大幅に削減し、これらの両装
置間のデータ転送費用の節約をはかることを目的とする
ものであって、このために、ホストデータ処理装置、該
ホストデータ処理装置とデータ転送を行う通信制御装置
、該通信制御装置に連結された複数の端末装置を備えた
電子計算機システムのデータ転送方式において、上記通
信制御装置は上記端末装置より送出されたデータを一時
滞留し、ホストデータ処理装置から通信制御装置へのデ
ータ転送が行われてこれらが接続されたときその一時滞
留されたデータがホストデータ処理装置に転送されるデ
ータ滞留部と、一時滞留されるデータのデータ量を計数
するデータ計数手段と、上記滞留部に最初にデータが滞
留された時刻から一定時間を計数する時間計数手段とを
設け、上記ホストデータ処理装置から上記通信制御装置
へのデータ転送が行われ上記ホストデータ処理装置と上
記通信制御装置が接続された時、上記データ滞留部に一
時滞留されたデータをホストデータ処理装置に転送し、
上記データ計数手段により一時滞留されたデータ量が規
定量に達すると、割込処理により滞留されたデータとを
ホストデータ処理装置に転送し、上記時間計数手段によ
り滞留時間が一定値に達したか否かを検出して滞留時間
が一定値に達すると、割込処理により滞留されたデータ
をホストデータ処理装置に転送する如く構成したことを
特徴とするものである。以下本発明の一実施例を、第2
図及び第3図について説明する。第2図は本発明の一実
施例におけるブロック図、第3図はその動作状態説明図
である。The object of the present invention is to improve this and significantly reduce the number of interruptions mentioned above between the communication control device and the host data processing device, thereby saving data transfer costs between these two devices. For this purpose, in a data transfer method for a computer system that includes a host data processing device, a communication control device that performs data transfer with the host data processing device, and a plurality of terminal devices connected to the communication control device, the above-mentioned communication The control device temporarily retains the data sent from the terminal device, and when data is transferred from the host data processing device to the communication control device and these are connected, the temporarily retained data is transferred to the host data processing device. A data retention section to be transferred, a data counting means for counting the amount of temporarily retained data, and a time counting means for counting a certain period of time from the time when data is first retained in the retention section, When data is transferred from the host data processing device to the communication control device and the host data processing device and the communication control device are connected, the data temporarily stored in the data storage section is transferred to the host data processing device. ,
When the amount of data temporarily retained by the data counting means reaches a specified amount, the retained data is transferred to the host data processing device by interrupt processing, and the time counting means determines whether the retention time reaches a certain value. The present invention is characterized in that, when it is detected whether or not the retention time has reached a certain value, the retained data is transferred to the host data processing device by interrupt processing. Hereinafter, one embodiment of the present invention will be described as a second embodiment.
The figure and FIG. 3 will be explained. FIG. 2 is a block diagram of an embodiment of the present invention, and FIG. 3 is an explanatory diagram of its operating state.
図中、第1図と同一符号は同一部分を示すものである。In the figure, the same symbols as in FIG. 1 indicate the same parts.
そして通信制御装置1には、データ組立処理部1−1、
カウンタ1一3、タイマ1一5・データ滞留部1一4、
転送部1−6及び割込信号発生部1一7が設けられてい
る。‘11 いま、端末装置2−1なし、し2一nより
入力データが通信制御装置1に転送されるものとする。The communication control device 1 includes a data assembly processing section 1-1,
Counter 1-3, timer 1-5/data retention section 1-4,
A transfer section 1-6 and an interrupt signal generation section 1-7 are provided. '11 Now, it is assumed that there is no terminal device 2-1 and input data is transferred to the communication control device 1 from the terminal device 2-n.
該入力データは、上記各端末装置2−1なし・し2−n
からビット単位で送出されてくる。上記通信制御装置1
は、データ組立処理部1−1において、送出された該ビ
ット単位のデータを文字単位のデータに絹立てた後にデ
ータ滞留部1−4に転送し、該データを一時保持する。
そして上記データ滞留部1−4に該データを転送すると
きに、データ保持個数をカウンタ1一3で計数する。も
しも、このとき該データが、データ滞留部に最初に保持
されるデータであるならば、カウンタ1−3を値1にセ
ットすると同時にタイマー1一5をもセットする。The input data is input to each of the terminal devices 2-1 and 2-n.
It is transmitted bit by bit. The above communication control device 1
In the data assembly processing section 1-1, the transmitted bit-by-bit data is assembled into character-by-character data, and then transferred to the data retention section 1-4, where the data is temporarily held.
When the data is transferred to the data retention section 1-4, the number of data held is counted by the counter 1-3. If this data is the first data to be held in the data storage section, counters 1-3 are set to the value 1, and timers 1-5 are also set at the same time.
次に上記各端末装置2一1ないし2一nから送出された
データも、同時に、データ組立部1一1において組立て
られ後に、カゥンタ1−3により計数されつつ、データ
滞留部1−4に一時的に保持される。いま、ホストデー
タ処理装置4から、チャネル3を経由して、通信制御装
置1にデータが転送されて来た場合、ホストデータ処理
装置4と通信制御装置1との間に転送回路が形成される
。したがって、このとき、データ滞留部1−4に保持さ
れているデータがあるか否かをチェックし、保持されて
いるならば、転送部1一6からチャネル3を経由してホ
ストデータ処理装置4へデータを転送する。そして各デ
ータ転送を行うとともに、タイマ1一5をリセットし、
カウンタ1一3をクリアする。かくしてデータ滞留部に
保持されたデータが存在しなくなると、力ウンタ1一3
とタイマ1−5はともにクリアされる。その後、端末装
置2−1なし、し2−nからデータが入力されれば、上
記の如く、カウンタ1−3を再び値1にセットし、タイ
マー−5をもセットする。【2} もしも、ホストデー
タ処理装置4から通信制御装置1に対しこのデータ転送
がなく、その間にデータ滞留部1一4に保持されたデー
タ量がカゥンタ1一3によりあらかじめ設定された量に
達したものとする。Next, the data sent from each of the terminal devices 2-1 to 21n is simultaneously assembled in the data assembling section 1-1, and then temporarily stored in the data storage section 1-4 while being counted by the counter 1-3. is maintained. Now, when data is transferred from the host data processing device 4 to the communication control device 1 via the channel 3, a transfer circuit is formed between the host data processing device 4 and the communication control device 1. . Therefore, at this time, it is checked whether or not there is data held in the data retention unit 1-4, and if the data is held, it is transferred from the transfer unit 1-6 to the host data processing device 4 via channel 3. Transfer data to. Then, as each data transfer is performed, timers 1 to 5 are reset,
Clear counters 1-3. In this way, when the data held in the data storage section no longer exists, the force counter 1-3
and timers 1-5 are both cleared. Thereafter, if data is input from the terminal device 2-n without the terminal device 2-1, the counter 1-3 is set to the value 1 again and the timer-5 is also set, as described above. [2} If this data is not transferred from the host data processing device 4 to the communication control device 1, and during that time the amount of data held in the data storage unit 1-4 reaches the amount preset by the counter 1-3. It shall be assumed that
このとき、該カウンタI−3からの指令により、ホスト
データ処理装置4に対しアテンション割込信号を発生す
る。かくしてデータ滞留部1一4に蓄積されたデータが
、転送部1−6を経由してホストデータ処理装置4に対
し送出される。そして各データ送出と同時に、カウンタ
1一3をクリアし、タイマー−5をリセットする。(3
} また、データ滞留部1−4に保持されたデータ量が
カウンタ1一3により設定された量に達しないうちに、
タイマ1−5により設定された時間の間、ホストデータ
処理装置から通信制御装置1に対しデータ転送がなかっ
たものとする。At this time, an attention interrupt signal is generated to the host data processing device 4 according to a command from the counter I-3. The data thus accumulated in the data storage section 1-4 is sent to the host data processing device 4 via the transfer section 1-6. Simultaneously with each data transmission, counters 1-3 are cleared and timer-5 is reset. (3
} Also, before the amount of data held in the data retention section 1-4 reaches the amount set by the counter 1-3,
It is assumed that no data is transferred from the host data processing device to the communication control device 1 during the time set by the timer 1-5.
この場合には、タイマ1−5により設定時間を経過する
と、該タイマー−5の指令にもとづき、ホストデータ処
理装置4に対しアテンション割込信号を発生する。この
アテンション割込信号により、通信制御装置1はホスト
データ処理装置4に対し割込みを行ない、データ滞留部
に保持していたデータを転送部を介してホストデータ処
理装置4に送出する。そして、この送出と同時にカウン
ター−3をクリアし、タイマ1一5をリセットする。か
くして、端末装置2一1なし、し2一nから通信制御装
置1へ送出されたデータは、長くともタイマー一5によ
り設定された時間にはホストデータ処理装置4に転送す
ることができる。第2図口には、以上説明した、本発明
による通信制御装置1とホストデータ処理装置との間の
データ転送方式1,2及び3がフローチャート方式によ
り記載されている。In this case, when the time set by the timer 1-5 has elapsed, an attention interrupt signal is generated to the host data processing device 4 based on a command from the timer 5. In response to this attention interrupt signal, the communication control device 1 interrupts the host data processing device 4 and sends the data held in the data storage section to the host data processing device 4 via the transfer section. At the same time as this sending, counter-3 is cleared and timers 1-5 are reset. Thus, the data sent from the terminal devices 2-1 and 2-1 to the communication control device 1 can be transferred to the host data processing device 4 within the time set by the timer 5 at the most. At the beginning of FIG. 2, data transfer methods 1, 2, and 3 between the communication control device 1 and the host data processing device according to the present invention, which have been explained above, are described in the form of a flowchart.
即ち、各端末装置2−1なし、し2一nから通信制御装
置1に対してデータ転送があると、通信制御装置1は転
送された各データを、上記の如くデータ転送するために
、このビット単位で送付されたデータを文字単位に組立
て、データ滞留部に保持しておく。That is, when there is data transfer from each terminal device 2-1 and 2-n to the communication control device 1, the communication control device 1 transfers the transferred data as described above. The data sent in bits is assembled into characters and stored in the data storage section.
そして、1に示す如く、ホストデータ処理装置からデー
タ転送があったとき、データ滞留部に対し滞留データの
有無をチェックし、有ればホストデータ処理装置に該滞
留データを転送し、カゥンタをクリアし、タイマをリセ
ツトする。As shown in 1, when data is transferred from the host data processing device, the data retention section is checked to see if there is any retained data, and if there is, the retained data is transferred to the host data processing device and the counter is cleared. and reset the timer.
そして再び端末装置からのデータ転送を待つものである
。また、2に示す如く、滞留データ数がカゥンタの規定
数に達すれば、アテンション割込信号を発生して、ホス
トデータ処理装置に対し割込処理を行い、該滞留データ
をホストデータ処理装置に転送し、同時にカウン夕をク
リアし、タイマをセットする。そして再び端末装置から
データが転送されてくるのを待つ。しかも、3に示す如
く、タイマの設定時間をこえて滞留データがデータ滞留
部に保持されているときには、アテンション割込信号を
発生し、該滞留データをホストデータ処理装置に転送し
、上記2と同様の処理を行う。Then, it waits for data transfer from the terminal device again. Also, as shown in 2, when the number of accumulated data reaches the specified number of counters, an attention interrupt signal is generated, interrupt processing is performed on the host data processing device, and the accumulated data is transferred to the host data processing device. At the same time, clear the counter and set the timer. Then, it waits for data to be transferred from the terminal device again. Moreover, as shown in 3, when the accumulated data is retained in the data retention unit beyond the set time of the timer, an attention interrupt signal is generated, the accumulated data is transferred to the host data processing device, and the above 2. Perform similar processing.
以上説明した如く、本発明によれば、端末装置から通信
制御装置に転送されたデータは、一旦データ滞留部に滞
留保持される。As described above, according to the present invention, data transferred from a terminal device to a communication control device is temporarily retained and held in a data retention section.
そして上記1で説明した如く、ホストデータ処理装置か
ら通信制御装置に対しデータ転送があった場合には、そ
のときを利用して該滞留データをホストデータ処理装置
に送出するので、割込処理することなく、該滞留データ
をまとめてホストデータ処理装置に送出することになる
。したがって通信制御装置からホストデータ処理装置へ
データ転送するに要するオーバーヘッドを、従来の如き
、端末装置から通信制御装置へデータ転送があるたび毎
に、割込処理により該データをホストデータ処理装置へ
転送しているものと比較して、大幅に削減することがで
きる。しかも上記2及び3で説明した場合の如く、アテ
ンション割込みの場合も、データ滞留部に保持されてい
た複数のデータが連続的に転送されるので、これまた上
記従来のものと比較して、オーバーヘッドを大きく減少
することができる。As explained in 1 above, when there is data transfer from the host data processing device to the communication control device, this time is used to send the accumulated data to the host data processing device, so interrupt processing is performed. Therefore, the accumulated data is collectively sent to the host data processing device. Therefore, the overhead required to transfer data from the communication control device to the host data processing device can be reduced by transferring the data to the host data processing device by interrupt processing every time data is transferred from the terminal device to the communication control device, as in the past. This can be significantly reduced compared to what is currently being done. Moreover, as explained in 2 and 3 above, even in the case of attention interrupts, multiple pieces of data held in the data retention section are transferred continuously, so this also requires less overhead compared to the conventional method described above. can be greatly reduced.
このように本発明によればオーバーヘッドを大幅に削減
するのみならず。In this manner, the present invention not only significantly reduces overhead;
効率的に、しかも短時間にデータ転送を行うことができ
る。Data can be transferred efficiently and in a short time.
第1図は、通信制御装置とホストデータ処理装置との間
の、従来のデータ転送方式を説明するもの、第2図は本
発明のデータ転送方式を説明するものであって、イはそ
のブロック図、口はフローチャートである。
図中、1は通信制御装置、2一1ないし2一nは端末装
置、3はチャネル、4はホストデータ処理装置であって
、本発明における通信制御装置1は、データ組立処理部
1−1と、カウンタ1一3と、タイマー−5と、データ
滞留部1一4と、転送部1−6及び割込信号発生部1−
7を具備している。
才1櫨
フZ凶FIG. 1 illustrates a conventional data transfer method between a communication control device and a host data processing device, and FIG. 2 illustrates a data transfer method according to the present invention. Figures and figures are flowcharts. In the figure, 1 is a communication control device, 2-1 to 21n are terminal devices, 3 is a channel, and 4 is a host data processing device. , counter 1-3, timer-5, data retention section 1-4, transfer section 1-6, and interrupt signal generation section 1-
It is equipped with 7. Sai1 Hajifu Z-Kyou
Claims (1)
データ転送を行う通信制御装置、該通信制御装置に連結
された複数の端末装置を備けた電子計算機システムのデ
ータ転送方式において、上記通信制御装置は上記端末装
置より送出されたデータを一時滞留し、ホストデータ処
理装置から通信制御装置へのデータ転送が行われてこれ
らが接続されたときその一時滞留されたデータがホスト
データ処理装置に転送されるデータ滞留部と、一時滞留
されるデータのデータ量を計数するデータ計数手段と、
上記滞留部に最初にデータ滞留がされた時刻から一定時
間を計数する時間計数手段を設け、上記ホストデータ処
理装置から上記通信制御装置へのデータ転送が行われ上
記ホストデータ処理装置と上記通信制御装置が接続され
た時、上記データ滞留部に一時滞留されたデータをホス
トデータ処理装置に転送し、上記データ計数手段により
一時滞留されたデータ量が規定値に達すると、割込処理
により滞留されたデータをホストデータ処理装置に転送
し、上記時間計数手段により滞留時間が一定値に達した
か否かを検出して滞留時間が一定値に達すると、割込処
理により滞留されたデータをホストデータ処理装置に転
送する如く構成してことを特徴とするデータ転送方式。1. In a data transfer method for a computer system comprising a host data processing device, a communication control device that transfers data with the host data processing device, and a plurality of terminal devices connected to the communication control device, the communication control device is Data sent from a terminal device is temporarily held, and when the data is transferred from the host data processing device to the communication control device and these are connected, the temporarily held data is transferred to the host data processing device. a retention section; a data counting means for counting the amount of data temporarily retained;
The retention section is provided with a time counting means for counting a certain period of time from the time when data is first retained, and data is transferred from the host data processing device to the communication control device, and the communication control device and the communication control device are configured to perform data transfer from the host data processing device to the communication control device. When the device is connected, the data temporarily stored in the data storage unit is transferred to the host data processing device, and when the data amount temporarily stored by the data counting means reaches a specified value, the data is stored by interrupt processing. The stored data is transferred to the host data processing device, and the time counting means detects whether or not the residence time has reached a certain value. When the residence time reaches the certain value, the stored data is transferred to the host data processing device by interrupt processing. A data transfer method characterized by being configured to transfer data to a data processing device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP53106495A JPS6040060B2 (en) | 1978-08-31 | 1978-08-31 | Data transfer method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP53106495A JPS6040060B2 (en) | 1978-08-31 | 1978-08-31 | Data transfer method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS5533281A JPS5533281A (en) | 1980-03-08 |
JPS6040060B2 true JPS6040060B2 (en) | 1985-09-09 |
Family
ID=14435015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP53106495A Expired JPS6040060B2 (en) | 1978-08-31 | 1978-08-31 | Data transfer method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6040060B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57166641A (en) * | 1981-04-07 | 1982-10-14 | Fujitsu Ltd | Data transfer system |
US4443863A (en) * | 1981-06-16 | 1984-04-17 | International Business Machines Corporation | Timer driven display updating |
JPS60233963A (en) * | 1984-05-04 | 1985-11-20 | Fujitsu Ltd | Response control system of line |
JPH0695672B2 (en) * | 1984-12-05 | 1994-11-24 | 日本電気株式会社 | Personal radio |
JPS6381553A (en) * | 1986-09-25 | 1988-04-12 | Sumitomo Electric Ind Ltd | Interruption management system |
JPH04107758A (en) * | 1990-08-29 | 1992-04-09 | Nec Corp | File transfer system |
-
1978
- 1978-08-31 JP JP53106495A patent/JPS6040060B2/en not_active Expired
Also Published As
Publication number | Publication date |
---|---|
JPS5533281A (en) | 1980-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4466001A (en) | Polling system for multiple terminal units | |
US4517670A (en) | Preemptive bid communication system | |
RU2000131197A (en) | METHOD AND DEVICE FOR SYNCHRONIZING THE STATES OF THE BASIC AND MOBILE STATION IN THE MULTIPLE ACCESS SYSTEM WITH THE CODE SEPARATION OF CHANNELS | |
JPS62100044A (en) | Communication apparatus and communication method | |
CA2021832A1 (en) | Apparatus and method for improving the communication efficiency between a host processor and peripheral devices connected by an scsi bus | |
GB2350027B (en) | Monitoring of connection between network devices in a packet-based communication system | |
US5367534A (en) | Synchronous flow control method | |
JPS63175549A (en) | Poling | |
JPS6040060B2 (en) | Data transfer method | |
KR100206991B1 (en) | Communication protocol processing method | |
JPS628642A (en) | Cutting connecting system for digital exchanging line | |
JPS6260043A (en) | Communication controller | |
JP3341108B2 (en) | Non-response monitoring circuit in infrared communication, monitoring method thereof, and recording medium storing control program therefor | |
JPS61186046A (en) | System for controlling terminal equipment connection | |
JP2638878B2 (en) | Data processing device | |
JPH0828708B2 (en) | Polling control method | |
JPH0828707B2 (en) | Polling control method | |
JPS5953574B2 (en) | Communication control method | |
JPH0418652A (en) | Data communication system | |
JPS62254253A (en) | Continuous reception system for data with indefinite length | |
JPS61287356A (en) | Slow polling transmission system | |
JPS5857942B2 (en) | Transmission control procedure selection method for communication control equipment | |
JPS62186540U (en) | ||
JPS6029987B2 (en) | Data transfer control method | |
JPS5824256A (en) | Line circuit control system of communication controller |