[go: up one dir, main page]

JPH02293952A - Data transmission/reception control system - Google Patents

Data transmission/reception control system

Info

Publication number
JPH02293952A
JPH02293952A JP1115429A JP11542989A JPH02293952A JP H02293952 A JPH02293952 A JP H02293952A JP 1115429 A JP1115429 A JP 1115429A JP 11542989 A JP11542989 A JP 11542989A JP H02293952 A JPH02293952 A JP H02293952A
Authority
JP
Japan
Prior art keywords
input
output
data
data input
task
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
JP1115429A
Other languages
Japanese (ja)
Inventor
Kenichi Onaka
大中 研一
Kanji Niwa
丹羽 幹治
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP1115429A priority Critical patent/JPH02293952A/en
Publication of JPH02293952A publication Critical patent/JPH02293952A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To reduce the decrease of a communication speed caused by a communication control program even if a data transfer of a large scale and a large capacity is executed by increasing and decreasing a data input/output task in accordance with increase/decrease of a data traffic on a session. CONSTITUTION:When a data traffic on a session increases and an input/output buffer use state detecting means 14 detects a fact that the number of use buffers in an input/output buffer 15.2 exceeds the upper limit value, the input/output use state detecting means 14 executes a data traffic increase notice to a data input/output task control means 12. The data input/output task control means 12 generates a data input/output task 13.2 and starts it. The data input/output task 13.2 starts transmission and reception to and from application programs 11.1 - 11.m. As far as this is concerned, the processing executed by only a data input/output task 13.1 up to the present comes to be executed by sharing it with the data input/output task 13.2. In such a way, the decrease of a communi cation speed can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はホストコンピュータの通信制御プログラムにお
けるデータ送受信制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission/reception control system in a communication control program for a host computer.

〔従来の技術〕[Conventional technology]

従来のこの種のデータ送受信制御方式は、通信制御プロ
グラムを動作させたときに、同時に動きだす、唯一回の
データ入出力タスクにより行なわれている。トラフィッ
ク量が増えても最初に起動した一つのデータ入出力タス
クのみで処理を行なう。
This type of conventional data transmission/reception control system is performed by a one-time data input/output task that starts simultaneously when a communication control program is operated. Even if the amount of traffic increases, only the first data input/output task activated will perform the processing.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデータ送受信制御方式は、通信制御プロ
グラムについてひとつのデータ入出力タスクしか動作し
ないので、多数のオンライン端末を有する大規模ネット
ワークや、多数のオンラインアプリケーションプログラ
ムが通信制御プログラム上で動作した場合のデータの送
受信ではデータ入出力タスクが律速段階となってしまう
The conventional data transmission/reception control method described above operates only one data input/output task for the communication control program, so it is difficult to operate in a large-scale network with many online terminals or when many online application programs operate on the communication control program. In data transmission and reception, the data input/output task becomes the rate-limiting step.

その結果として、アプリケーションプログラムとオンラ
イン端末とのデータ伝送の速さをデータ入出力タスクが
制限してしまうことになり、この送受信の効率が悪すぎ
るとオンラインシステム業務運用の能率低下につながる
As a result, the data input/output task limits the speed of data transmission between the application program and the online terminal, and if this transmission/reception is too inefficient, it will lead to a decrease in the efficiency of online system business operations.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の複数のデータ送受信制御方式は、端末装置とデ
ータの送受信を行なう入出力チャネル制御手段およびア
プリケーションプログラムとのデータの送受信を行う入
出力バッファと、該入出力バッファの使用状況を検出す
る出力バンフア使用状況検出手段と、 前記入出力バッファとの送受信を行う少なくとも一つの
データ入出力タスクと、 前記入出力バッファ使用状況検出手段から通知されるト
ラフィック通知を受けて前記データ入出力タスクを追加
生成および削除するデータ入出力タスク制御手段とを有
することを特徴とする。
The multiple data transmission/reception control methods of the present invention include an input/output channel control means for transmitting and receiving data to and from a terminal device, an input/output buffer for transmitting and receiving data to and from an application program, and an output for detecting the usage status of the input/output buffer. Banhua usage status detection means; at least one data input/output task that performs transmission/reception with the input/output buffer; and additional generation of the data input/output task in response to a traffic notification from the input/output buffer usage status detection unit. and data input/output task control means for deletion.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は本発明の一実施例の構成を表す図である。FIG. 1 is a diagram showing the configuration of an embodiment of the present invention.

本実施例は、中央処理装置01内のm個のアプリケーシ
ョンプログラム11.1〜11,mと、n個のデータ入
出力タスク13.1〜13.n(13で代表)と、デー
タ入出力タスク13の制御を受け持つデータ入出力タス
ク制御手段12と、使用状況を検出するために必要な使
用バッファ数および上限値、下限値を備えている2つの
入出力バッファ15.1.15.2 (15で代表)と
、人出カバッファ15を一定時間ごとにサンプリングし
て使用状況を監視している入出力バッファ使用状況検出
手段14と、入出力チャネル制御千段16と、アプリケ
ーションプログラム11.1〜11.mとデータの送受
信を行っている外部のk個の端末装置17.1〜17.
kがら構成される。
In this embodiment, m application programs 11.1 to 11,m and n data input/output tasks 13.1 to 13.m in the central processing unit 01 are used. n (represented by 13), a data input/output task control means 12 that takes charge of controlling the data input/output task 13, and two buffers that are provided with the number of used buffers and upper and lower limit values necessary for detecting the usage status. An input/output buffer 15.1.15.2 (represented by 15), an input/output buffer usage status detection means 14 that samples the crowd buffer 15 at regular intervals and monitors usage status, and input/output channel control. Sendan 16 and application programs 11.1 to 11. k external terminal devices 17.1 to 17.m transmitting and receiving data to and from k terminal devices 17.1 to 17.
It is composed of k.

入出力バッファ15.1,15.2とデータ入出力タス
ク13.1〜13.nとの間のデータの送受信並びに入
出力バッファ15、1.15.2とアプリケーションプ
ログラム11、1〜11.mおよび入出力チャネル制御
手段16との間のデータの送受信は従来の技術をもって
行う。
I/O buffers 15.1, 15.2 and data I/O tasks 13.1-13. Transmission and reception of data between input/output buffers 15, 1.15.2 and application programs 11, 1 to 11.n. Transmission and reception of data between the input/output channel control means 16 and the input/output channel control means 16 is performed using conventional techniques.

次に、第1図を用いて本実施例の処理の流れについて説
明する。
Next, the flow of processing in this embodiment will be explained using FIG.

現在、アプリケーションプログラム11.1〜11.m
と端末装置17、1〜17.kとがデータの送受信(以
下セションと略す冫を行っており、データ入出力タスク
13.1が動作しているとする。
Currently, application programs 11.1-11. m
and terminal device 17, 1-17. It is assumed that data input/output task 13.1 is in operation and data is being transmitted and received (hereinafter abbreviated as session).

端末装置17.1〜17.kから受信されたセション上
のデータは入出力チャネル制御手段16および入出力バ
ッファ15.2を介して伝送され、データ入出力タスク
13.1が入出力バッファ15.1を介してアプリケー
ションプログラム11.1〜11.mとの受信を制御し
ているものとする。
Terminal devices 17.1-17. The data on the session received from the input/output channel control means 16 and the input/output buffer 15.2 are transmitted to the data input/output task 13.1 via the input/output buffer 15.1 to the application program 11.k. 1-11. It is assumed that reception with m is controlled.

この状態で、セション上のデータトラフィックがふえ入
出力バッファ使用状況検出手段14が、入出力バッファ
15.2内の使用バッファ数が上限値を超えたことを検
出すると、入出力バッファ使用状況検出手段14はデー
タ入出力タスク制御手段12ヘデータトラフィック増加
通知を行う。
In this state, when the data traffic on the session increases and the input/output buffer usage status detection means 14 detects that the number of used buffers in the input/output buffer 15.2 exceeds the upper limit, the input/output buffer usage status detection unit 14 notifies the data input/output task control means 12 of an increase in data traffic.

通知を受けたデータ入出力タスク制御手段12は、デー
タ入出力タスク13.2を生成して起動する(タクスの
生成起動は従来の技術をもって行う)。
Upon receiving the notification, the data input/output task control means 12 generates and activates a data input/output task 13.2 (task generation and activation is performed using conventional techniques).

起動されたデータ入出力タスク13.2はアプリケーシ
ョンプログラム11.1〜11.mとの送受信を始める
。これは、今までデータ入出力タスク13.1だけが行
っていた処理を、データ入出力タスク13.2と分担し
て行うことになる。
The activated data input/output task 13.2 is the application program 11.1 to 11.1. Start sending/receiving to/from m. This means that the processing that was previously performed only by the data input/output task 13.1 will be shared with the data input/output task 13.2.

その結果、入出力バッファ15.2から受信できるデー
タストリームの数が増え、入出力バッファ15.2内の
使用バッファ数は上限値を下回る。
As a result, the number of data streams that can be received from the input/output buffer 15.2 increases, and the number of used buffers in the input/output buffer 15.2 falls below the upper limit.

データ入出力タスク13.2が増えることによって入出
力バッファ15.2から取り出せるデータストリームは
増加するが、アプリゲーションプログラム11.1〜1
1,mが入出力バッファ15.1から取り出し切れずに
いると、入出力バッファ15.1の使用バッファ数が増
え上限値を上回ることがある。この場合は、入出力バッ
ファ使用状況検出手段14がこれを検出し、データ入出
力タスク制御手段12ヘデータトラフィック減少通知を
行いデータ入出力タスク13.2を消滅させる。
As the number of data input/output tasks 13.2 increases, the number of data streams that can be taken out from the input/output buffer 15.2 increases, but the number of data streams that can be retrieved from the input/output buffer 15.2 increases, but
1,m cannot be taken out from the input/output buffer 15.1, the number of used buffers of the input/output buffer 15.1 increases and may exceed the upper limit. In this case, the input/output buffer usage state detection means 14 detects this, and notifies the data input/output task control means 12 of the data traffic reduction to eliminate the data input/output task 13.2.

これまでがデータトラフィックが増加した場合の流れで
ある。次にデータトラフィックが減少した場合の流れを
示す。
The above is the flow when data traffic increases. Next, we will show the flow when data traffic decreases.

データ入出力タスク13.1および13.2が動作して
いるとし、セション上のデータトラフィックが減少し入
出力バッファ使用状況検出手段14が、人出カバッファ
15.2内の使用バッファ数が下限値を下回ったことを
検出すると、入出力バッファ使用状況検出手段14はデ
ータ入出力タスク制御手段12ヘデータトラフィック減
少通知を行う。
Assuming that data input/output tasks 13.1 and 13.2 are operating, the data traffic on the session decreases, and the input/output buffer usage status detection means 14 detects that the number of used buffers in the traffic buffer 15.2 has reached the lower limit. When it is detected that the usage status of the input/output buffer is lower than , the input/output buffer usage status detection means 14 notifies the data input/output task control means 12 of the data traffic reduction.

通知を受けたデータ入出力タスク制御手段12は最後に
起動されたデータ入出力タスク13.2を消滅させる。
The data input/output task control means 12 that has received the notification eliminates the last activated data input/output task 13.2.

今までデータ入出力タスク13.2と分担して行ってい
た処理はデータ入出力タスク13.1だけで行うことに
なる。その結果、入出力バッファ15,2から取り出す
データストリームの数が減り、入出力バッファ15.2
内の使用バッファ数は下限値を上回る。
The processing that was previously shared with the data input/output task 13.2 will now be performed only by the data input/output task 13.1. As a result, the number of data streams taken out from the input/output buffers 15, 2 is reduced, and the input/output buffers 15.2
The number of used buffers within exceeds the lower limit.

また、データトラフィックが減少し、入出力バッファ1
5.1の下限を下回った場合は、入出力バッファ使用状
況検出手段14がこれを検出し、データ入出力タスク制
御手段12ヘデータトラフィック増加通知を行いデータ
入出力タス久13.2を起動させる。
Also, data traffic is reduced and input/output buffer 1
5. If the lower limit of 13.1 is exceeded, the input/output buffer usage detection means 14 detects this and notifies the data input/output task control means 12 of an increase in data traffic to start the data input/output task 13.2. .

以上、データを受信する場合の流れについて示したが、
送信の場合は入出力バッファ15.1と入出力バンフア
15.2の機能が入れ替わり、逆の流れとなるがデータ
入出力タスク13.1〜13.nの増減の仕組みは同じ
手順による。
The above shows the flow of receiving data, but
In the case of transmission, the functions of the input/output buffer 15.1 and the input/output buffer 15.2 are swapped, and the flow is reversed, but the data input/output tasks 13.1 to 13. The mechanism for increasing or decreasing n follows the same procedure.

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

以上説明したように、本発明は、セション上のデータト
ラフィックの増減にしたがってデータ入出力タスクが増
減する構成としたため、大規模,大容量のデータ伝送を
行っても通信制御プログラムによる通信速度の低下を少
なくできる、また不要なデータ入出力タスクは消滅する
ので中央処理装置内の資源を有効に利用できる、更にデ
ータ入出力タスク制御手段とデータ入出力タスクの間の
インターフェースを工夫しデータ入出力タスクをマイク
ロプロセッサに置き換えれば、安価に高性能通信システ
ムを構築できる、という効果がある。
As explained above, the present invention has a configuration in which the number of data input/output tasks increases or decreases in accordance with the increase or decrease in data traffic on a session, so even if large-scale, large-capacity data transmission is performed, the communication speed decreases due to the communication control program. In addition, since unnecessary data input/output tasks are eliminated, resources within the central processing unit can be used effectively.Furthermore, the interface between the data input/output task control means and the data input/output task has been devised to reduce data input/output tasks. Replacing it with a microprocessor has the effect of making it possible to construct a high-performance communication system at low cost.

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

第1図は本発明の一実施例の構成説明図である。 01・・・中央処理装置、11.1〜11.m・・・ア
プリケーションプログラム、12・・・データ入出力タ
スク制御手段、13.1〜13.n・・・データ入出力
タスク、14・・・入出力バッファ使用状況検出手段、
15.1,15.2・・・入出力バッファ、16・・・
入出力チャネル制御手段、17、1〜17.k・・・端
末装置。
FIG. 1 is an explanatory diagram of the configuration of an embodiment of the present invention. 01...Central processing unit, 11.1-11. m...Application program, 12...Data input/output task control means, 13.1-13. n...Data input/output task, 14...I/O buffer usage status detection means,
15.1, 15.2...I/O buffer, 16...
Input/output channel control means, 17, 1-17. k...Terminal device.

Claims (1)

【特許請求の範囲】 端末装置とデータの送受信を行なう入出力チャネル制御
手段およびアプリケーションプログラムとのデータの送
受信を行う入出力バッファと、該入出力バッファの使用
状況を検出する出力バンフア使用状況検出手段と、 前記入出力バッファとの送受信を行う少なくとも一つの
データ入出力タスクと、 前記入出力バッファ使用状況検出手段から通知されるト
ラフィック通知を受けて前記データ入出力タスクを追加
生成および削除するデータ入出力タスク制御手段とを有
することを特徴とするデータ送受信制御方式。
[Scope of Claims] Input/output channel control means for transmitting and receiving data to and from a terminal device, an input/output buffer for transmitting and receiving data to and from an application program, and output buffer usage state detection means for detecting the usage state of the input/output buffer. at least one data input/output task that performs transmission/reception with the input/output buffer; and a data input/output task that additionally creates and deletes the data input/output task in response to a traffic notification notified from the input/output buffer usage status detection means. 1. A data transmission/reception control method, comprising: output task control means.
JP1115429A 1989-05-08 1989-05-08 Data transmission/reception control system Pending JPH02293952A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1115429A JPH02293952A (en) 1989-05-08 1989-05-08 Data transmission/reception control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1115429A JPH02293952A (en) 1989-05-08 1989-05-08 Data transmission/reception control system

Publications (1)

Publication Number Publication Date
JPH02293952A true JPH02293952A (en) 1990-12-05

Family

ID=14662350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1115429A Pending JPH02293952A (en) 1989-05-08 1989-05-08 Data transmission/reception control system

Country Status (1)

Country Link
JP (1) JPH02293952A (en)

Similar Documents

Publication Publication Date Title
US5943479A (en) Method for reducing the rate of interrupts in a high speed I/O controller
US4727538A (en) Information transfer method and arrangement
US5276896A (en) Apparatus for implementing data communications between terminal devices and user programs
US6173343B1 (en) Data processing system and method with central processing unit-determined peripheral device service
US6243785B1 (en) Hardware assisted polling for software drivers
CN108959153B (en) All-in-one machine, data continuous transmission method, device, equipment and storage medium
JPH02293952A (en) Data transmission/reception control system
CN114328317A (en) A method, device and medium for improving communication performance of a storage system
JPS5811146B2 (en) Communication method using polling emulator
JP2543887B2 (en) Line control device
JPS6275857A (en) Serial transmission system
JPH04245355A (en) File transfer system
JPS615361A (en) Communication interface circuit
JP2948380B2 (en) Data communication device
JPH04195447A (en) Serial communication controller for information processing terminal
JPH0589000A (en) Real time information transfer control system
JPS62100042A (en) Interruption restart control system for terminal function
JPH05244217A (en) Communication control system
JPH0344248A (en) Data transmitter
JPH06250964A (en) Controller
JPH02295262A (en) Communication state monitor device for secondary station
JPS62193440A (en) Transmission buffer control system
JPH04149716A (en) Information processor
JPH05204809A (en) Automatic data transmission system
JPH04335735A (en) Plural communication line controller for communication controller