JPH0744566B2 - Data communication controller - Google Patents

Data communication controller

Info

Publication number
JPH0744566B2
JPH0744566B2 JP5006191A JP619193A JPH0744566B2 JP H0744566 B2 JPH0744566 B2 JP H0744566B2 JP 5006191 A JP5006191 A JP 5006191A JP 619193 A JP619193 A JP 619193A JP H0744566 B2 JPH0744566 B2 JP H0744566B2
Authority
JP
Japan
Prior art keywords
transmission
data
buffer
line
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.)
Expired - Lifetime
Application number
JP5006191A
Other languages
Japanese (ja)
Other versions
JPH06216944A (en
Inventor
哲也 園山
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
Original Assignee
NEC Corp
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 filed Critical NEC Corp
Priority to JP5006191A priority Critical patent/JPH0744566B2/en
Publication of JPH06216944A publication Critical patent/JPH06216944A/en
Publication of JPH0744566B2 publication Critical patent/JPH0744566B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数の回線とこの複数
の回線を多重化した複数の相手局とのデータ通信の制御
に利用する。本発明は、複数の回線とこの複数の回線を
多重化した複数の相手局とが通信を行う際の効率を向上
させることができるデータ通信制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for controlling data communication between a plurality of lines and a plurality of partner stations in which the plurality of lines are multiplexed. The present invention relates to a data communication control device capable of improving efficiency when a plurality of lines and a plurality of partner stations in which the plurality of lines are multiplexed communicate with each other.

【0002】[0002]

【従来の技術】従来、この種のデータ通信制御装置で
は、装置内部のバッファプールを管理しバッファ制御を
行っている。上位装置からの送信データは、バッファプ
ールから獲得した送信バッファに一時的に蓄積する。ま
た、物理回線からの受信データは、バッファプールから
獲得した受信バッファに一時的に蓄積する。
2. Description of the Related Art Conventionally, in this type of data communication control device, a buffer pool inside the device is managed and buffer control is performed. Transmission data from the host device is temporarily stored in the transmission buffer acquired from the buffer pool. Also, the received data from the physical line is temporarily stored in the receiving buffer acquired from the buffer pool.

【0003】一回線あたり多数の相手局のデータ通信を
制御する通信プロトコルにおいて送信動作を行う際、送
信データが上位装置から渡されたときに、バッファプー
ルから送信バッファを獲得することが可能であれば送信
バッファを獲得し送信データを格納する。また、通信相
手に対してデータ送信が可能であれば、送信バッファか
ら送信データを取り出し物理回線に送信する。送信が完
了したときには送信バッファを解放しバッファプールに
戻す。
When performing a transmission operation in a communication protocol for controlling data communication of a large number of partner stations per line, it is possible to acquire a transmission buffer from a buffer pool when the transmission data is passed from a host device. For example, the transmission buffer is acquired and the transmission data is stored. If data can be transmitted to the communication partner, the transmission data is fetched from the transmission buffer and transmitted to the physical line. When the transmission is completed, the transmission buffer is released and returned to the buffer pool.

【0004】送信バッファが獲得可能か否かは、装置内
部に滞留している送信バッファの数を回線毎に管理し、
一つの回線でバッファを占有しないようにするために送
信バッファを獲得可能な個数の最大値を送信バッファビ
ジー発生値と定義し、バッファプールから送信バッファ
を獲得する際に、今回の獲得を含めて既に獲得した個数
と比較し、送信バッファビジー発生値と等しくなったと
きに、送信バッファビジー状態が発生したことを上位装
置に通知する。このとき、上位装置に対し送信データを
受け取れないことを表示する。
Whether or not the transmission buffer can be acquired is determined by managing the number of transmission buffers retained inside the device for each line.
To prevent the buffer from being occupied by one line, define the maximum number of transmit buffers that can be acquired as the transmit buffer busy occurrence value, and include this acquisition when acquiring the transmit buffer from the buffer pool. When it is compared with the already acquired number and becomes equal to the transmission buffer busy occurrence value, the upper device is notified that the transmission buffer busy state has occurred. At this time, it is displayed to the upper device that the transmission data cannot be received.

【0005】また、通信相手が送信データを受け取れな
い場合に、送信動作停止により装置内に滞留した送信バ
ッファが送信動作開始によってバッファプールに送信バ
ッファの解放により戻されて再び送信バッファを獲得す
ることが可能な個数を送信バッファビジー状態解除値と
定義し、送信バッファを解放する際に既に獲得した送信
バッファの個数と比較し、送信バッファビジー解除値と
等しくなったときに、送信バッファビジー状態が解除さ
れたことを上位装置に通知する。このように、送信デー
タが格納された送信バッファの個数を各々回線単位に管
理してフロー制御を行う。このとき、上位装置に対し送
信データを受け取り可能であることを表示する。
When the communication partner cannot receive the transmission data, the transmission buffer retained in the device due to the stop of the transmission operation is returned to the buffer pool by the release of the transmission buffer when the transmission operation is started, and the transmission buffer is acquired again. The transmit buffer busy state is defined as the transmit buffer busy state release value, and compared with the number of transmit buffers already acquired when releasing the transmit buffer, and when the transmit buffer busy state becomes equal to the transmit buffer busy state release value. The higher-level device is notified of the cancellation. In this way, the flow control is performed by managing the number of transmission buffers storing transmission data for each line. At this time, it is displayed to the host device that the transmission data can be received.

【0006】このように、従来装置は送信データが格納
された送信バッファの個数を各々回線単位に管理しデー
タ送信のフロー制御を行っていた。
As described above, the conventional device controls the number of transmission buffers storing transmission data on a line-by-line basis to control the flow of data transmission.

【0007】一方、受信動作を行う際は、受信データが
物理回路を介して通信相手から送られたときに、バッフ
ァプールから受信バッファが獲得可能であれば受信バッ
ファを獲得し受信データを格納する。通信相手からのデ
ータ受信が可能であれば、受信バッファから受信データ
を取り出し物理回線に受信する。受信が完了したときに
受信バッファを解放しバッファプールに戻す。
On the other hand, when performing the receiving operation, when the reception data is sent from the communication partner via the physical circuit, if the reception buffer can be acquired from the buffer pool, the reception buffer is acquired and the reception data is stored. . If data can be received from the communication partner, the received data is extracted from the reception buffer and received on the physical line. When reception is completed, the receive buffer is released and returned to the buffer pool.

【0008】受信バッファの獲得が可能か否かは、装置
内部に滞留している受信バッファの数を回線毎に管理
し、一つの回線でバッファを占有しないようにするため
に受信バッファを獲得可能な個数の最大値を受信バッフ
ァビジー発生値と定義し、バッファプールから受信バッ
ファを獲得する際に、今回の獲得を含めて既に獲得した
個数と比較し、受信バッファビジー発生値と等しくなっ
たときに、受信バッファビジー状態が発生したことを上
位装置に通知する。このとき、通信相手に対し受信デー
タを受信できないことを表示する。
Whether the reception buffer can be acquired or not is managed by managing the number of reception buffers retained in the device for each line, and the reception buffer can be acquired so that one line does not occupy the buffer. When the maximum value of the number of receive buffers is defined as the receive buffer busy occurrence value, and when the receive buffer is acquired from the buffer pool, it is compared with the already acquired number including this acquisition, and when it becomes equal to the receive buffer busy occurrence value In addition, the upper device is notified that the reception buffer busy state has occurred. At this time, it is displayed to the communication partner that the received data cannot be received.

【0009】また、通信相手からの受信データを上位装
置が受け取れない場合に、受信動作停止により装置内に
滞留した受信バッファが受信動作開始によってバッファ
プールに受信バッファの解放により戻されて再び受信バ
ッファを獲得することが可能な個数を受信バッファビジ
ー状態解除値と定義し、受信バッファを解放する際に既
に獲得した受信バッファの個数と比較し、受信バッファ
ビジー解除値と等しくなったときに、受信バッファビジ
ー状態が解除されたことを上位装置に通知する。このと
き、通信相手に対し受信データを受信できる状態にある
ことを表示する。
Further, when the host device cannot receive the received data from the communication partner, the reception buffer retained in the device due to the stop of the reception operation is returned to the buffer pool by the start of the reception operation by releasing the reception buffer, and the reception buffer is again received. Is defined as the receive buffer busy state release value, compared with the number of receive buffers already acquired when releasing the receive buffer, and when it becomes equal to the receive buffer busy release value, Notify the higher-level device that the buffer busy state has been released. At this time, it is displayed to the communication partner that the reception data can be received.

【0010】このように、従来装置は受信データが格納
された受信バッファの個数を各々回線単位に管理してデ
ータ受信のフロー制御を行っていた。
As described above, the conventional apparatus manages the number of reception buffers storing the reception data for each line to control the flow of data reception.

【0011】[0011]

【発明が解決しようとする課題】上述した従来のデータ
通信制御装置は、回線を相手局単位に多重化した中のあ
る相手局の送信データによって回線単位に割り当てた送
信バッファが大量に占有され、また回線を相手局単位に
多重化した中のある相手局の受信データによって回線単
位に割り当てた受信バッファが大量に占有されてしまう
ために、すべての相手局とのデータの送信および受信を
平等に制御できない欠点があった。
In the above-mentioned conventional data communication control device, a large amount of transmission buffers are allocated to each line by the transmission data of a certain partner station among the multiplexed lines. In addition, since a large amount of receive buffer allocated to each line is occupied by the received data of a certain partner station in the line where the line is multiplexed to the other station, data transmission and reception to and from all the other stations should be equalized. There was an uncontrollable drawback.

【0012】本発明はこのような問題を解決するもの
で、すべての相手局とのデータの送受信を平等に制御し
データ通信の効率を向上させることができるデータ通信
制御装置を提供することを目的とする。
The present invention solves such a problem, and an object of the present invention is to provide a data communication control device capable of uniformly controlling the data transmission / reception with all the partner stations and improving the efficiency of data communication. And

【0013】[0013]

【課題を解決するための手段】本発明の第一は、データ
送信手段と、データ受信手段とを備え、前記データ送信
手段には送信データを一時蓄積する送信バッファを含
み、前記データ受信手段には受信データを一時蓄積する
受信バッファを含むデータ通信制御装置において、回線
単位に滞留している送信データが格納された前記送信バ
ッファの個数を管理し、その送信バッファの個数があら
かじめ回線毎に設定された閾値にしたがって回線単位送
信バッファビジー状態の発生、および回線単位送信バッ
ファビジー状態の解除を行う回線単位送信バッファ制御
手段と、回線を多重化して複数の相手局とデータ通信を
行う場合に、相手局単位に滞留している送信データが格
納された前記送信バッファの個数を管理し、その送信バ
ッファの個数があらかじめ相手局毎に設定された閾値に
したがって相手局単位送信バッファビジー状態の発生、
および相手局単位送信バッファビジー状態の解除を行う
相手局単位送信バッファ制御手段とが併設され、回線単
位に滞留している受信データが格納された前記受信バッ
ファの個数を管理し、その受信バッファの個数があらか
じめ回線毎に設定された閾値にしたがって回線単位受信
バッファビジー状態の発生、および回線単位受信バッフ
ァビジー状態の解除を行う回線単位受信バッファ制御手
段と、回線を多重化して複数の相手局とデータ通信を行
う場合に、相手局単位に滞留している受信データが格納
された前記受信バッファの個数を管理し、その受信バッ
ファの個数があらかじめ相手局毎に設定された閾値にし
たがって相手局単位受信バッファビジー状態の発生、お
よび相手局単位受信バッファビジー状態の解除を行う相
手局単位受信バッファ制御手段とが併設されたことを特
徴とする。
A first aspect of the present invention comprises a data transmitting means and a data receiving means, wherein the data transmitting means includes a transmission buffer for temporarily storing transmission data, and the data receiving means includes Manages the number of the above-mentioned transmission buffers storing the transmission data accumulated in each line in the data communication control device including the reception buffer for temporarily storing the reception data, and the number of the transmission buffers is preset for each line. In the case of performing a line unit transmission buffer busy state according to the established threshold value and a line unit transmission buffer control means for releasing the line unit transmission buffer busy state and performing data communication with a plurality of partner stations by multiplexing the line, It manages the number of transmission buffers that store the transmission data accumulated in the partner station, and Dimethyl occurrence of other station units transmit buffer busy state according to a threshold set for each other station,
And a partner station unit transmit buffer control means for releasing the busy state of the partner station unit transmit buffer, and manages the number of the receive buffers storing the receive data accumulated in the line unit, A line-unit receive buffer control means for generating a line-unit receive buffer busy state and releasing the line-unit receive buffer busy state according to a threshold number of which is set in advance for each line, and a line multiplex with a plurality of partner stations When performing data communication, it manages the number of receive buffers that store the received data accumulated in each partner station, and the number of receive buffers Generates a receive buffer busy status and cancels the receive buffer busy status of the partner station. Characterized in that the § control means is juxtaposed.

【0014】本発明の第二は、データ送信手段を備え、
このデータ送信手段には送信データを一時蓄積する送信
バッファを含むデータ送信制御装置において、回線単位
に滞留している送信データが格納された前記送信バッフ
ァの個数を管理し、その送信バッファの個数があらかじ
め回線毎に設定された閾値にしたがって回線単位送信バ
ッファビジー状態の発生、および回線単位送信バッファ
ビジー状態の解除を行う回線単位送信バッファ制御手段
と、回線を多重化して複数の相手局とデータ通信を行う
場合に、相手局単位に滞留している送信データが格納さ
れた前記送信バッファの個数を管理し、その送信バッフ
ァの個数があらかじめ相手局毎に設定された閾値にした
がって相手局単位送信バッファビジー状態の発生、およ
び相手局単位送信バッファビジー状態の解除を行う相手
局単位送信バッファ制御とが併設されたことを特徴とす
る。
A second aspect of the present invention comprises a data transmission means,
In this data transmission means, in the data transmission control device including the transmission buffer for temporarily storing the transmission data, the number of the transmission buffers storing the transmission data accumulated in the line unit is managed, and the number of the transmission buffers is controlled. Line-unit transmission buffer control means for generating a line-unit transmission buffer busy state and releasing the line-unit transmission buffer busy state according to a threshold preset for each line, and data communication with a plurality of partner stations by multiplexing the line In this case, the number of the transmission buffers storing the transmission data accumulated in the partner station is managed, and the number of the transmission buffers is adjusted in accordance with the threshold value set in advance for each partner station. Transmission buffer for the partner station that generates a busy status and cancels the transmission buffer of the partner station Wherein the control and were juxtaposed.

【0015】本発明の第三は、データ受信手段を備え、
このデータ受信手段には受信データを一時蓄積する受信
バッファを含むデータ受信制御装置において、回線単位
に滞留している受信データが格納された前記受信バッフ
ァの個数を管理し、その受信バッファの個数があらかじ
め回線毎に設定された閾値にしたがって回線単位受信バ
ッファビジー状態の発生、および回線単位受信バッファ
ビジー状態の解除を行う回線単位受信バッファ制御手段
と、回線を多重化して複数の相手局とデータ通信を行う
場合に、相手局単位に滞留している受信データが格納さ
れた前記受信バッファの個数を管理し、その受信バッフ
ァの個数があらかじめ相手局毎に設定された閾値にした
がって相手局単位受信バッファビジー状態の発生、およ
び相手局単位受信バッファビジー状態の解除を行う相手
局単位受信バッファ制御手段とが併設されたことを特徴
とする。
A third aspect of the present invention comprises data receiving means,
In the data reception control device including a reception buffer for temporarily accumulating the reception data in the data reception means, the number of the reception buffers storing the reception data accumulated in the line unit is managed, and the number of the reception buffers is controlled. A line-unit receive buffer control means for generating a line-unit receive buffer busy state and releasing the line-unit receive buffer busy state according to a threshold preset for each line, and data communication with a plurality of partner stations by multiplexing the line In this case, the number of reception buffers storing the reception data accumulated in the partner station is managed, and the number of the reception buffers is adjusted in accordance with the threshold set in advance for each partner station. Remote station reception buffer that generates busy status and remote station unit reception buffer busy status Characterized in that the control means is juxtaposed.

【0016】前記閾値は、ビジー状態の設定および解除
について別の値を設定することができる。
As the threshold value, another value can be set for setting and releasing the busy state.

【0017】[0017]

【作用】回線単位送信バッファ制御手段が、回線単位に
滞留している送信データが格納された送信バッファの個
数を管理し、送信バッファの個数が予め回線毎に設定さ
れた送信バッファビジー状態の発生を検出する回線単位
送信バッファビジー発生値に等しくなり回線単位送信バ
ッファビジー状態が発生したか、または、送信バッファ
の個数が予め回線毎に設定された送信バッファビジー状
態の解除を検出する回線単位送信バッファビジー解除値
に等しくなり回線単位送信バッファビジー状態が解除さ
れたかを検出したときに上位装置に報告する。一方、相
手局単位送信バッファ制御手段が、相手局単位に滞留し
ている送信データが格納された送信バッファの個数を管
理し、送信バッファの個数が予め相手局毎に設定された
送信バッファビジー状態の発生を検出する相手局単位送
信バッファビジー発生値に等しくなり相手局単位送信バ
ッファビジー状態が発生したか、または、送信バッファ
の個数が予め相手局毎に設定された送信バッファビジー
状態の解除を検出する相手局単位送信バッファビジー解
除値に等しくなり相手局単位送信バッファビジー状態が
解除されたかを検出したときに上位装置に報告する。
The line-unit transmission buffer control means manages the number of transmission buffers in which transmission data accumulated in line units is stored, and the number of transmission buffers is set in advance for each line to generate a transmission buffer busy state. Line-by-line transmit buffer busy occurrence value becomes equal to the line-by-line transmit buffer busy occurrence value, or the number of transmit buffers is preset for each line. When it becomes equal to the buffer busy cancellation value and it is detected whether the transmission buffer busy condition for each line is canceled, it is reported to the host device. On the other hand, the partner station unit transmission buffer control means manages the number of transmission buffers storing the transmission data accumulated in the partner station, and the number of transmission buffers is set in advance for each partner station. The transmission buffer busy occurrence value becomes equal to the remote station unit transmit buffer busy occurrence value, or the remote station unit transmit buffer busy state has occurred, or the number of transmit buffers set in advance for each remote station is released. When it becomes equal to the remote station unit transmission buffer busy cancellation value to be detected and it is detected whether the remote station unit transmission buffer busy status is released, it is reported to the higher-level device.

【0018】また、回線単位受信バッファ制御手段が、
回線単位に滞留している受信データが格納された受信バ
ッファの個数を管理し、受信バッファの個数が予め回線
毎に設定された受信バッファビジー状態の発生を検出す
る回線単位受信バッファビジー発生値に等しくなり回線
単位受信バッファビジー状態が発生したか、または、受
信バッファの個数が予め回線毎に設定された受信バッフ
ァビジー状態の解除を検出する回線単位受信バッファビ
ジー解除値に等しくなり回線単位受信バッファビジー状
態が解除されたかを検出したときに上位装置に報告す
る。一方、相手局単位受信バッファ制御手段が、相手局
単位に滞留している受信データが格納された受信バッフ
ァの個数を管理し、受信バッファの個数が予め相手局毎
に設定された受信バッファビジー状態の発生を検出する
相手局単位受信バッファビジー発生値に等しくなり相手
局単位受信バッファビジー状態が発生したか、または、
受信バッファの個数が予め相手局毎に設定された受信バ
ッファビジー状態の解除を検出する相手局単位受信バッ
ファビジー解除値に等しくなり相手局単位受信バッファ
ビジー状態が解除されたかを検出したときに上位装置に
報告する。
Further, the line unit reception buffer control means is
It manages the number of receive buffers that store the receive data that is accumulated in each line, and the number of receive buffers is set in advance for each line. Equal to the line-by-line receive buffer busy state, or the number of receive buffers becomes equal to the line-by-line receive buffer busy release value that detects the release of the receive buffer busy state preset for each line. When it detects whether the busy state has been released, it reports to the host device. On the other hand, the reception buffer control means for each partner station manages the number of reception buffers storing the reception data accumulated in each partner station, and the number of reception buffers is set in advance for each partner station. When the reception buffer busy status of the remote station is detected and the reception buffer busy status of the remote station has occurred, or
When the number of receive buffers is equal to the remote station unit receive buffer busy release value that detects the release of the receive buffer busy state set for each remote station in advance, the higher rank is detected when the remote station unit receive buffer busy state is released. Report to the device.

【0019】これにより、回線毎および相手局毎に送信
バッファおよび受信バッファを管理してビジー状態の制
御を行い、データ通信の効率を向上させることができ
る。
As a result, the transmission buffer and the reception buffer are managed for each line and each partner station to control the busy state, and the efficiency of data communication can be improved.

【0020】[0020]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0021】本発明実施例は、データ送信手段14と、
データ受信手段24と、上位装置通信手段11とを備
え、データ送信手段14には送信データを一時蓄積する
送信バッファ14aを含み、データ受信手段24には受
信データを一時蓄積する受信バッファ24aを含み、さ
らに、本発明の特徴として、回線単位に滞留している送
信データが格納された送信バッファ14aの個数を管理
し、その送信バッファ14aの個数があらかじめ回線毎
に設定された閾値にしたがって回線単位送信バッファビ
ジー状態の発生、および回線単位送信バッファビジー状
態の解除を行う回線単位送信バッファ制御手段12と、
回線を多重化して複数の相手局とデータ通信を行う場合
に、相手局単位に滞留している送信データが格納された
送信バッファ14aの個数を管理し、その送信バッファ
14aの個数があらかじめ相手局毎に設定された閾値に
したがって相手局単位送信バッファビジー状態の発生、
および相手局単位送信バッファビジー状態の解除を行う
相手局単位送信バッファ制御手段13とが併設され、回
線単位に滞留している受信データが格納された受信バッ
ファ24aの個数を管理し、その受信バッファの個数が
あらかじめ回線毎に設定された閾値にしたがって回線単
位受信バッファビジー状態の発生、および回線単位受信
バッファビジー状態の解除を行う回線単位受信バッファ
制御手段22と、回線を多重化して複数の相手局とデー
タ通信を行う場合に、相手局単位に滞留している受信デ
ータが格納された受信バッファ24aの個数を管理し、
その受信バッファ24aの個数があらかじめ相手局毎に
設定された閾値にしたがって相手局単位受信バッファビ
ジー状態の発生、および相手局単位受信バッファビジー
状態の解除を行う相手局単位受信バッファ制御手段とが
併設される。前記閾値は、ビジー状態の設定および解除
について別の値が設定される。
The embodiment of the present invention comprises a data transmitting means 14,
The data receiving means 24 and the host device communication means 11 are provided, the data transmitting means 14 includes a transmission buffer 14a for temporarily storing the transmission data, and the data receiving means 24 includes a reception buffer 24a for temporarily storing the reception data. Further, as a feature of the present invention, the number of transmission buffers 14a storing the transmission data accumulated in each line is managed, and the number of the transmission buffers 14a is set in accordance with a threshold value set in advance for each line. A line unit transmission buffer control means 12 for generating a transmission buffer busy state and releasing the line unit transmission buffer busy state;
When the lines are multiplexed and data communication is performed with a plurality of partner stations, the number of the send buffers 14a storing transmission data accumulated in the partner stations is managed, and the number of the send buffers 14a is preset in advance. Occurrence of a transmission buffer busy state for each partner station according to the threshold set for each
And a partner station unit transmit buffer control unit 13 for releasing the busy state of the partner station unit, and manages the number of the receive buffers 24a storing the received data accumulated in the line unit, and the receive buffers The line-unit receive buffer control means 22 for generating a line-unit receive buffer busy state and releasing the line-unit receive buffer busy state according to a threshold value set in advance for each line, and a plurality of partners by multiplexing the line When performing data communication with a station, the number of reception buffers 24a storing the reception data accumulated in the partner station is managed,
The number of the receiving buffers 24a is provided together with the receiving buffer control means for the receiving station, which generates the receiving buffer busy state for the receiving station according to the threshold value set in advance for the receiving station and releases the receiving buffer busy state for the receiving station. To be done. The threshold is set to another value for setting and releasing the busy state.

【0022】データ送信における送信バッファ制御の場
合には、上位装置通信手段11は、上位装置から制御情
報や送信データを受け取り送信バッファに格納し、上位
装置に制御情報を渡し、回線単位送信バッファ制御手段
12は、回線単位に通信制御装置内部に滞留している送
信データが格納された送信バッファの個数を管理し、回
線単位送信バッファビジー状態の発生または解除を検出
したときに上位装置通信手段11に報告する。
In the case of the transmission buffer control in data transmission, the host device communication means 11 receives the control information and the transmission data from the host device, stores it in the transmission buffer, passes the control information to the host device, and controls the transmission buffer for each line. The means 12 manages the number of transmission buffers storing the transmission data accumulated inside the communication control device for each line, and when detecting the occurrence or cancellation of the line unit transmission buffer busy state, the host device communication means 11 Report to.

【0023】また相手局単位送信バッファ制御手段13
は、相手局単位に通信制御装置内部に滞留している送信
データが格納された送信バッファの個数を管理し、相手
局単位送信バッファビジー状態の発生または解除を検出
し上位装置通信手段11に報告し、データ送信手段14
は、上位装置通信手段11から送信された送信バッファ
に格納された送信データを物理回線に送信し、制御手段
15は送信バッファ制御の手順に従い、上位装置通信手
段11、回線単位送信バッファ制御手段12、相手局単
位送信バッファ手段13、およびデータ送信手段14を
逐次制御する。
The partner station unit transmission buffer control means 13
Manages the number of transmission buffers storing the transmission data accumulated in the communication control device for each partner station, detects the occurrence or cancellation of the partner-unit-unit transmit buffer busy state, and reports it to the host device communication means 11. Data transmission means 14
Transmits the transmission data stored in the transmission buffer transmitted from the host device communication means 11 to the physical line, and the control means 15 follows the procedure of the transmission buffer control and the host device communication means 11 and the line unit transmission buffer control means 12 , The partner station unit transmission buffer means 13 and the data transmission means 14 are sequentially controlled.

【0024】データ受信における受信バッファ制御の場
合には、上位装置通信手段11は、上位装置から制御情
報を受け取り上位装置に受信データや制御情報を渡し、
回線単位受信バッファ制御手段22は、回線単位に通信
制御装置内部に滞留している受信データが格納された受
信バッファの個数を管理し、回線単位受信バッファビジ
ー状態の発生または解除を検出したときに上位装置通信
手段11に報告する。
In the case of receiving buffer control in data reception, the host device communication means 11 receives control information from the host device and passes the received data and control information to the host device,
The line-by-line receive buffer control means 22 manages the number of receive buffers storing the received data accumulated inside the communication control unit on a line-by-line basis, and detects the occurrence or cancellation of the line-by-line receive buffer busy state. It reports to the host device communication means 11.

【0025】また相手局単位受信バッファ制御手段23
は、相手局単位に通信制御装置内部に滞留している受信
データが格納された送信バッファの個数を管理し、相手
局単位受信バッファビジー状態の発生または解除を検出
したときに上位装置通信手段11に報告し、データ受信
手段24は、物理回線から受信した受信データを受信バ
ッファ24aに格納し受信データの有無を検出し、制御
手段15は受信バッファ制御の手順に従い、上位装置通
信手段11および回線単位受信バッファ制御手段22、
相手局単位受信バッファ制御手段23、およびデータ受
信手段24を逐次制御する。
Also, the receiving buffer control means 23 for each partner station
Manages the number of transmission buffers storing the reception data accumulated in the communication control device for each partner station, and when the occurrence or cancellation of the partner-unit-unit reception buffer busy state is detected, the host device communication means 11 The data receiving means 24 stores the received data received from the physical line in the receive buffer 24a and detects the presence or absence of the received data, and the control means 15 follows the procedure of the receive buffer control and the upper device communication means 11 and the line. Unit reception buffer control means 22,
The receiving station unit reception buffer control means 23 and the data reception means 24 are sequentially controlled.

【0026】図2は本発明実施例におけるデータ送信の
前処理動作の流れを示す流れ図、図3は本発明実施例に
おけるデータ送信の制御動作の流れを示す流れ図であ
る。
FIG. 2 is a flow chart showing the flow of the preprocessing operation of data transmission in the embodiment of the present invention, and FIG. 3 is a flow chart showing the flow of the control operation of data transmission in the embodiment of the present invention.

【0027】多重化した複数の回線を介して複数の相手
局の物理回線にデータを送信する場合に、回線単位に送
信バッファプールから獲得可能な送信バッファの個数を
決定し送信Lビジー発生値とし、さらに、相手局単位に
送信バッファプールから獲得可能な送信バッファの個数
を決定し送信Tビジー発生値とする。送信Lビジー発生
値は回線単位に異なる値を設定することができ、また、
送信Tビジー発生値は相手局単位に異なる値を設定する
ことができる。
When data is transmitted to the physical lines of a plurality of partner stations via a plurality of multiplexed lines, the number of transmission buffers that can be acquired from the transmission buffer pool is determined for each line and used as the transmission L busy occurrence value. Furthermore, the number of transmission buffers that can be acquired from the transmission buffer pool is determined for each partner station and set as the transmission T busy occurrence value. The transmission L busy occurrence value can be set to a different value for each line.
The transmission T busy occurrence value can be set to a different value for each partner station.

【0028】一方、送信Lビジー状態を解除することが
可能な通信制御装置内部に滞留している送信バッファ数
を送信Lビジー解除値とし、送信Tビジー状態を解除す
ることが可能な通信制御装置内部に滞留している送信バ
ッファ数を送信Tビジー解除値とする。送信Lビジー解
除値は回線単位に異なる値を設定することができ、ま
た、送信Tビジー解除値は相手局単位に異なる値を設定
することができる。
On the other hand, the number of transmission buffers stored in the communication control device capable of canceling the transmission L busy state is set as the transmission L busy release value, and the communication control device capable of releasing the transmission T busy state. The number of transmission buffers retained inside is set as the transmission T busy release value. A different transmission L busy release value can be set for each line, and a different transmission T busy release value can be set for each partner station.

【0029】ここで、 送信バッファ数≧送信Lビジー発生値≧送信Lビジー解
除値 とし、 送信Lビジー発生値≦送信Tビジー発生値T1+…+T
n に設定することによりデータ通信の状態や通信プロトコ
ルに対応した送信バッファ制御を行うことができる。
Here, the number of transmission buffers ≧ transmission L busy occurrence value ≧ transmission L busy release value, transmission L busy occurrence value ≦ transmission T busy occurrence value T1 + ... + T
By setting n, it is possible to control the transmission buffer corresponding to the state of data communication and the communication protocol.

【0030】ここで、図2を参照して回線にデータを送
信する前処理動作について詳しく説明する。
The pre-processing operation for transmitting data to the line will be described in detail with reference to FIG.

【0031】上位装置が上位装置通信手段11にデータ
を送信すると、上位装置通信手段11は制御手段15に
制御情報によりデータ送信の開始を報告し(ステップA
1)、送信バッファプールから送信バッファを一個獲得
して(ステップA2)、送信データを送信バッファに読
み出す(ステップA3)。
When the host device transmits data to the host device communication means 11, the host device communication means 11 reports the start of data transmission to the control means 15 according to the control information (step A).
1) Obtain one transmission buffer from the transmission buffer pool (step A2), and read the transmission data into the transmission buffer (step A3).

【0032】回線単位送信バッファ制御手段12が複数
の回線の中のどの回線への送信データかを調査し(ステ
ップA4)、送信Lビジーカウンタを1加算すると、送
信Lビジーカウンタは通信制御装置内に滞留している送
信データが格納された送信バッファの個数をカウントす
る(ステップA5)。次いで、送信Lビジーカウンタと
送信Lビジー発生値とを比較する。送信Lビジー発生値
は相手局毎にあらかじめ定められた送信Lビジーが発生
する境界値である(ステップA6)。この比較により送
信Lビジーカウンタと送信Lビジー発生値が等しけれ
ば、上位装置通信手段11に対し送信Lビジー発生を制
御手段15を介して通知する。上位装置通信手段11は
この通知を受け上位装置に送信Lビジー発生を通知する
(ステップA7)。
The line-by-line transmission buffer control means 12 checks to which line of the plurality of lines the transmission data is sent (step A4), and when the transmission L busy counter is incremented by 1, the transmission L busy counter is stored in the communication control unit. The number of transmission buffers storing the transmission data staying in is counted (step A5). Next, the transmission L busy counter is compared with the transmission L busy occurrence value. The transmission L busy occurrence value is a boundary value at which a transmission L busy occurs which is predetermined for each partner station (step A6). If the transmission L busy counter and the transmission L busy occurrence value are equal by this comparison, the transmission L busy occurrence is notified to the host device communication means 11 via the control means 15. Upon receiving this notification, the host device communication means 11 notifies the host device of the occurrence of transmission L busy (step A7).

【0033】次に、相手局の送信バッファ制御を行うた
めに、相手局単位送信バッファ制御手段13は複数の相
手局の中のどの相手局への送信データかを調査し(ステ
ップA8)、相手局単位に記憶している送信Tビジーカ
ウンタを1加算する。送信Tビジーカウンタは、通信制
御装置内に滞留している送信データの格納された送信バ
ッファの個数を相手局単位にカウントするものである
(ステップA9)。続いて相手局単位送信バッファ制御
手段13は、送信Tビジーカウンタと送信Tビジー発生
値とを比較する。送信Tビジー発生値は相手局毎にあら
かじめ定められた送信Tビジーが発生する境界値である
(ステップA10)。この比較により、送信Tビジーカ
ウンタと送信Tビジー発生値とが等しければ、上位装置
通信手段11に送信Tビジーが発生したことを制御手段
15を介して通知する。上位装置通信手段11は上位装
置に送信Tビジー発生を通知する(ステップA11)。
このとき、データ送信手段14は、送信バッファを物理
回線に送信するデータ送信待ち行列に入れる(ステップ
A12)。
Next, in order to control the transmission buffer of the partner station, the partner station unit transmission buffer control means 13 investigates to which partner station among the plurality of partner stations the transmission data is sent (step A8). The transmission T busy counter stored for each station is incremented by 1. The transmission T busy counter counts, for each partner station, the number of transmission buffers storing transmission data accumulated in the communication control device (step A9). Subsequently, the partner station unit transmission buffer control means 13 compares the transmission T busy counter with the transmission T busy occurrence value. The transmission T busy occurrence value is a boundary value at which a transmission T busy occurs that is predetermined for each partner station (step A10). If the transmission T busy counter and the transmission T busy occurrence value are equal by this comparison, the higher-level device communication means 11 is notified via the control means 15 that the transmission T busy has occurred. The host device communication means 11 notifies the host device of the occurrence of transmission T busy (step A11).
At this time, the data transmission means 14 puts the transmission buffer in the data transmission queue for transmission to the physical line (step A12).

【0034】次に、物理回線へのデータ送信の制御動作
について図3を参照して詳しく説明する。
Next, the control operation of data transmission to the physical line will be described in detail with reference to FIG.

【0035】物理回線に対してデータ送信が可能な状態
であれば、データ送信手段14は制御手段15の制御に
したがって物理回線へのデータ送信を開始し(ステップ
B1)、データ送信待ち行列の送信バッファを取り出し
送信バッファ内のデータを物理回線に送信し(ステップ
B2)、送信バッファを解放して送信バッファプールに
戻す(ステップB3)。
If the data transmission to the physical line is possible, the data transmission means 14 starts the data transmission to the physical line under the control of the control means 15 (step B1), and the data transmission queue transmission. The buffer is taken out and the data in the transmission buffer is transmitted to the physical line (step B2), the transmission buffer is released and returned to the transmission buffer pool (step B3).

【0036】回線単位送信バッファ制御手段12は、複
数の回線の中のどの回線への送信データかを調査し(ス
テップB4)、送信Lビジーカウンタから1減算し(ス
テップB5)、送信Lビジーカウンタと送信Lビジー解
除値を比較する。送信Lビジー解除値は、相手局毎にあ
らかじめ決められた送信Lビジーを解除する境界値であ
る(ステップB6)。この比較により送信Lビジーカウ
ンタと送信Lビジー解除値とが等しければ、上位装置通
信手段11に送信Lビジー解除を制御手段15を介して
通知する。上位装置通信手段11は上位装置に送信Lビ
ジー解除を通知する(ステップB7)。
The line-by-line transmission buffer control means 12 investigates to which line of the plurality of lines the transmission data is transmitted (step B4), subtracts 1 from the transmission L busy counter (step B5), and the transmission L busy counter. And the transmission L busy release value are compared. The transmission L busy cancellation value is a boundary value for canceling the transmission L busy predetermined for each partner station (step B6). If the transmission L busy counter and the transmission L busy cancellation value are equal by this comparison, the transmission L busy cancellation is notified to the host device communication means 11 via the control means 15. The host device communication means 11 notifies the host device of the transmission L busy cancellation (step B7).

【0037】次に、相手局の送信バッファ制御を行うた
めに、相手局単位送信バッファ制御手段13は、複数の
相手局の中のどの相手局への送信データかを調査し(ス
テップB8)、相手局単位に記憶している送信Tビジー
カウンタを1減算する(ステップB9)。次いで、送信
Tビジーカウンタと送信Tビジー解除値を比較する。送
信Tビジー解除値は、相手局毎にあらかじめ決められた
送信Tビジーを解除する境界値である(ステップB1
0)。また、送信Tビジーカウンタと送信Tビジー解除
値とが等しければ、上位装置通信手段11に送信Tビジ
ー解除を制御手段15を介して通知する。上位装置通信
手段11は上位装置に送信Tビジー解除を通知する(ス
テップB11)。制御手段15は、物理回線へのデータ
送信を終了する(ステップB12)。
Next, in order to control the transmission buffer of the partner station, the partner station unit transmission buffer control means 13 investigates to which partner station among the plurality of partner stations the transmission data is sent (step B8). The transmission T busy counter stored for each partner station is decremented by 1 (step B9). Then, the transmission T busy counter is compared with the transmission T busy release value. The transmission T busy release value is a boundary value for releasing the transmission T busy predetermined for each partner station (step B1).
0). If the transmission T busy counter and the transmission T busy cancellation value are equal, the higher-level device communication means 11 is notified of the transmission T busy cancellation via the control means 15. The upper device communication means 11 notifies the upper device of the transmission T busy cancellation (step B11). The control means 15 ends the data transmission to the physical line (step B12).

【0038】次に、データ受信における受信バッファの
制御について説明する。図4はデータ受信の前処理動作
の流れを示す流れ図、図5はデータ受信の制御動作の流
れを示す流れ図である。
Next, the control of the reception buffer in data reception will be described. FIG. 4 is a flow chart showing the flow of pre-processing operation for data reception, and FIG. 5 is a flow chart showing the flow of control operation for data reception.

【0039】多重化した複数の回線を介して複数の相手
局とデータ通信を行うとき、回線単位に送信バッファプ
ールから獲得可能な受信バッファの個数を決定し受信L
ビジー発生値とする。さらに、相手局単位に受信バッフ
ァプールから獲得可能な受信バッファの個数を決定し受
信Tビジー発生値とする。受信Lビジー発生値は回線単
位に異なる値を設定することができる。また、受信Tビ
ジー発生値は相手局単位に異なる値を設定することがで
きる。
When performing data communication with a plurality of partner stations through a plurality of multiplexed lines, the number of reception buffers that can be acquired from the transmission buffer pool is determined for each line and the reception L
Set as the busy occurrence value. Further, the number of reception buffers that can be acquired from the reception buffer pool is determined for each partner station and set as the reception T busy occurrence value. As the reception L busy occurrence value, different values can be set for each line. Further, the reception T busy occurrence value can be set to a different value for each partner station.

【0040】一方、受信Lビジー状態を解除することが
可能な通信制御装置内部に滞留している受信バッファ数
を受信Lビジー解除値とし、受信Tビジー状態を解除す
ることが可能な通信制御装置内部に滞留している受信バ
ッファ数を受信Tビジー解除値とする。受信Lビジー解
除値は回線単位に異なる値を設定することができる。ま
た、受信Tビジー解除値は相手局単位に異なる値を設定
することができる。
On the other hand, the number of reception buffers retained in the communication control device capable of canceling the reception L busy state is set as the reception L busy release value, and the communication control device capable of releasing the reception T busy state. The number of reception buffers retained inside is set as the reception T busy release value. As the reception L busy cancellation value, different values can be set for each line. Further, the reception T busy cancellation value can be set to a different value for each partner station.

【0041】ここで、 受信バッファ数≧受信Lビジー発生値≧受信Lビジー解
除値 とし、 受信Lビジー発生値≦受信Tビジー発生値T1+…+T
n に設定することによりデータ通信の状態や通信プロトコ
ルに対応した受信バッファ制御を行うことができる。
Here, the number of reception buffers ≧ reception L busy occurrence value ≧ reception L busy release value, and reception L busy occurrence value ≦ reception T busy occurrence value T1 + ... + T
By setting n, the reception buffer control corresponding to the state of data communication and the communication protocol can be performed.

【0042】ここで、図4を参照してデータを受信の前
処理動作について詳しく説明する。
The pre-processing operation for receiving data will be described in detail with reference to FIG.

【0043】上位装置へのデータがデータ受信手段24
に物理回線から受信されると、データ受信手段24は、
制御情報により制御手段15にデータ受信の開始を報告
し(ステップC1)、受信バッファプールから受信バッ
ファを一個獲得し(ステップC2)、受信データを受信
バッファに格納する(ステップC3)。
The data for the host device is the data receiving means 24.
When the data is received from the physical line,
The start of data reception is reported to the control means 15 by the control information (step C1), one reception buffer is acquired from the reception buffer pool (step C2), and the reception data is stored in the reception buffer (step C3).

【0044】回線単位受信バッファ制御手段22が複数
の回線の中のどの回線からの受信データかを調査し(ス
テップC4)、受信Lビジーカウンタを1加算する(ス
テップC5)。受信Lビジーカウンタは、通信制御装置
内に滞留している受信データの格納された受信バッファ
の個数をカウントするものである。次いで、受信Lビジ
ーカウンタと受信Lビジー発生値とを比較する。受信L
ビジー発生値は相手局毎にあらかじめ定められた受信L
ビジーが発生する境界値である(ステップC6)。この
比較により受信Lビジーカウンタと受信Lビジー発生値
とが等しければ、上位装置通信手段11に対し受信Lビ
ジー発生を制御手段15を介して通知する。上位装置通
信手段11は上位装置に受信Lビジー発生を通知する
(ステップC7)。
The line-by-line receive buffer control means 22 checks which of the plurality of lines the received data is from (step C4), and increments the receive L busy counter by 1 (step C5). The reception L busy counter counts the number of reception buffers storing the reception data accumulated in the communication control device. Next, the reception L busy counter is compared with the reception L busy occurrence value. Receive L
The busy occurrence value is the reception L that is predetermined for each partner station.
This is a boundary value at which busy occurs (step C6). If the reception L busy counter and the reception L busy occurrence value are equal to each other by this comparison, the reception L busy occurrence is notified to the host device communication means 11 via the control means 15. The host device communication means 11 notifies the host device of the reception L busy occurrence (step C7).

【0045】次に、相手局の受信バッファ制御を行うた
めに、相手局単位受信バッファ制御手段23は、複数の
相手局の中のどの相手局への受信データかを調査し(ス
テップC8)、相手局単位に記憶している受信Tビジー
カウンタを1加算する。受信Tビジーカウンタは、通信
制御装置内に滞留している受信データの格納された受信
バッファの個数を相手局単位にカウントするものである
(ステップC9)。さらに、相手局単位受信バッファ制
御手段23は、受信Tビジーカウンタと受信Tビジー発
生値とを比較する。受信Tビジー発生値は相手局毎にあ
らかじめ定められた受信Tビジーが発生する境界値であ
る(ステップC10)。この比較により、受信Tビジー
カウンタと受信Tビジー発生値とが等しければ、上位装
置通信手段11に受信Tビジー発生を制御手段15を介
して通知する。上位装置通信手段11は上位装置に受信
Tビジー発生を通知する(ステップC11)。データ受
信手段24は、受信バッファを上位装置に転送する受信
データ転送待ち行列に格納する(ステップC12)。
Next, in order to control the reception buffer of the partner station, the partner station unit reception buffer control means 23 investigates which partner station among the plurality of partner stations the received data is (step C8), The reception T busy counter stored for each partner station is incremented by 1. The reception T busy counter counts the number of reception buffers storing the reception data accumulated in the communication control device for each partner station (step C9). Further, the partner station unit reception buffer control means 23 compares the reception T busy counter with the reception T busy occurrence value. The reception T busy occurrence value is a boundary value at which reception T busy occurs which is predetermined for each partner station (step C10). If the reception T busy counter and the reception T busy occurrence value are equal by this comparison, the reception T busy occurrence is notified to the host device communication means 11 via the control means 15. The host device communication means 11 notifies the host device of the occurrence of reception T busy (step C11). The data receiving means 24 stores the reception buffer in the reception data transfer queue for transferring to the host device (step C12).

【0046】続いて、上位装置に受信データを転送する
制御を図5を参照して説明する。
Next, the control for transferring the received data to the host device will be described with reference to FIG.

【0047】上位装置に受信データを転送することが可
能な状態であれば、上位装置通信手段11は制御手段1
5の制御にしたがって上位装置への受信データの転送を
開始し(ステップD1)、受信データ転送待ち行列の受
信バッファを取り出し受信バッファ内の受信データを上
位装置に転送し(ステップD2)、受信バッファを解放
して受信バッファプールに戻す(ステップD3)。
If the received data can be transferred to the host device, the host device communication means 11 controls the control means 1.
According to the control of 5, the reception data transfer to the host device is started (step D1), the reception buffer in the reception data transfer queue is taken out, the reception data in the reception buffer is transferred to the host device (step D2), and the reception buffer Is released and returned to the reception buffer pool (step D3).

【0048】回線単位受信バッファ制御手段22は、複
数の回線の中のどの回線からの受信データかを調査し
(ステップD4)、受信Lビジーカウンタから1減算し
(ステップD5)、受信Lビジーカウンタと受信Lビジ
ー解除値とを比較する。受信Lビジー解除値は、相手局
毎にあらかじめ定められた受信Lビジーを解除する境界
値である(ステップD6)。次いで、受信Lビジーカウ
ンタと受信Lビジー解除値とが等しければ、上位装置通
信手段11に受信Lビジー解除を制御手段15を介して
通知する。上位装置通信手段11は上位装置に受信Lビ
ジー解除を通知する(ステップD7)。
The line-by-line receive buffer control means 22 checks which line of the plurality of lines the received data is from (step D4), subtracts 1 from the received L busy counter (step D5), and receives the received L busy counter. And the received L busy release value are compared. The reception L busy cancellation value is a boundary value for canceling the reception L busy predetermined for each partner station (step D6). Next, if the reception L busy counter and the reception L busy cancellation value are equal, the upper apparatus communication means 11 is notified of the reception L busy cancellation via the control means 15. The host device communication means 11 notifies the host device of the reception L busy cancellation (step D7).

【0049】次に、相手局の受信バッファ制御装置を行
うために、相手局単位受信バッファ制御手段23は、複
数の相手局の中のどの相手局への受信データかを調査し
(ステップD8)、相手局単位に記憶している受信Tビ
ジーカウンタを1減算する(ステップD9)。続いて、
受信Tビジーカウンタと受信Tビジー解除値を比較す
る。受信Tビジー解除値は、相手局毎にあらかじめ決め
られた受信Tビジーを解除する境界値である(ステップ
D10)。この比較により受信Tビジーカウンタと受信
Tビジー解除値とが等しければ、上位装置通信手段11
に受信Tビジー解除を制御手段15を介して通知する。
上位装置通信手段11は上位装置に受信Tビジー解除を
通知する(ステップD11)。制御手段15は、物理回
線へのデータ受信を終了する(ステップD12)。
Next, in order to perform the receiving buffer control device of the partner station, the partner station unit receive buffer control means 23 investigates to which partner station among the plurality of partner stations the received data is received (step D8). , The reception T busy counter stored for each partner station is decremented by 1 (step D9). continue,
The reception T busy counter and the reception T busy release value are compared. The reception T busy cancellation value is a boundary value for canceling the reception T busy predetermined for each partner station (step D10). If the reception T busy counter and the reception T busy cancellation value are equal by this comparison, the host device communication means 11
Is notified of the reception T busy cancellation via the control means 15.
The upper device communication means 11 notifies the upper device of the reception T busy cancellation (step D11). The control means 15 terminates the data reception to the physical line (step D12).

【0050】[0050]

【発明の効果】以上説明したように本発明によれば、あ
る一つの相手局の送信データにより送信バッファが大量
に占有されることをなくしすべての相手局のデータ送信
を平等に制御することができる。また、ある一つの相手
局の受信データにより受信バッファが大量に占有される
ことをなくしすべての相手局のデータ受信を平等に制御
することができる。従って、一つの回線あたり複数の相
手局が存在する論理多重で構成された通信経路における
データ通信を効率よく行うことができる効果がある。
As described above, according to the present invention, a large amount of transmission buffer is not occupied by the transmission data of one partner station, and the data transmission of all the partner stations can be equally controlled. it can. Further, it is possible to prevent the reception buffer from being occupied in a large amount by the reception data of a certain one partner station, and to equally control the data reception of all the partner stations. Therefore, there is an effect that data communication can be efficiently performed in a communication path configured by logical multiplexing in which there are a plurality of partner stations per line.

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

【図1】本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例におけるデータ送信の前処理動作
の流れを示す流れ図。
FIG. 2 is a flowchart showing a flow of a preprocessing operation of data transmission in the embodiment of the present invention.

【図3】本発明実施例におけるデータ送信の制御動作の
流れを示す流れ図。
FIG. 3 is a flowchart showing a flow of control operation of data transmission in the embodiment of the present invention.

【図4】本発明実施例におけるデータ受信の前処理動作
の流れを示す流れ図。
FIG. 4 is a flowchart showing a flow of a pre-processing operation for data reception in the embodiment of the present invention.

【図5】本発明実施例におけるデータ受信の制御動作の
流れを示す流れ図。
FIG. 5 is a flowchart showing a flow of control operation of data reception in the embodiment of the present invention.

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

11 上位装置通信手段 12 回線単位送信バッファ制御手段 13 相手局単位送信バッファ制御手段 14 データ送信手段 14a 送信バッファ 15 制御手段 22 回線単位受信バッファ制御手段 23 相手局単位受信バッファ制御手段 24 データ受信手段 24a 受信バッファ DESCRIPTION OF SYMBOLS 11 host device communication means 12 line unit transmission buffer control means 13 partner station unit transmission buffer control means 14 data transmission means 14a transmission buffer 15 control means 22 line unit reception buffer control means 23 partner station unit reception buffer control means 24 data reception means 24a Receive buffer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 29/04 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display area H04L 29/04

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 データ送信手段と、データ受信手段とを
備え、 前記データ送信手段には送信データを一時蓄積する送信
バッファを含み、 前記データ受信手段には受信データを一時蓄積する受信
バッファを含むデータ通信制御装置において、 回線単位に滞留している送信データが格納された前記送
信バッファの個数を管理し、その送信バッファの個数が
あらかじめ回線毎に設定された閾値にしたがって回線単
位送信バッファビジー状態の発生、および回線単位送信
バッファビジー状態の解除を行う回線単位送信バッファ
制御手段と、 回線を多重化して複数の相手局とデータ通信を行う場合
に、相手局単位に滞留している送信データが格納された
前記送信バッファの個数を管理し、その送信バッファの
個数があらかじめ相手局毎に設定された閾値にしたがっ
て相手局単位送信バッファビジー状態の発生、および相
手局単位送信バッファビジー状態の解除を行う相手局単
位送信バッファ制御手段とが併設され、 回線単位に滞留している受信データが格納された前記受
信バッファの個数を管理し、その受信バッファの個数が
あらかじめ回線毎に設定された閾値にしたがって回線単
位受信バッファビジー状態の発生、および回線単位受信
バッファビジー状態の解除を行う回線単位受信バッファ
制御手段と、 回線を多重化して複数の相手局とデータ通信を行う場合
に、相手局単位に滞留している受信データが格納された
前記受信バッファの個数を管理し、その受信バッファの
個数があらかじめ相手局毎に設定された閾値にしたがっ
て相手局単位受信バッファビジー状態の発生、および相
手局単位受信バッファビジー状態の解除を行う相手局単
位受信バッファ制御手段とが併設されたことを特徴とす
るデータ通信制御装置。
1. A data transmission unit and a data reception unit, wherein the data transmission unit includes a transmission buffer for temporarily storing the transmission data, and the data reception unit includes a reception buffer for temporarily storing the reception data. The data communication control device manages the number of the above-mentioned transmission buffers storing the transmission data accumulated in each line, and the number of the transmission buffers is in the line unit transmission buffer busy state according to the threshold value set in advance for each line. Error occurs, and the line unit transmission buffer control means for releasing the line unit transmission buffer busy state, and when the line is multiplexed and data communication is performed with multiple other stations, The number of stored transmission buffers is managed, and the number of transmission buffers is set in advance for each partner station. According to the above, the partner station unit transmit buffer busy state is generated and the partner station unit transmit buffer busy state is released together with the partner station unit transmit buffer control means, and the received data accumulated in the line unit is stored. A line-unit receive buffer control means for managing the number of receive buffers, generating a line-unit receive buffer busy state and canceling the line-unit receive buffer busy state according to a threshold value set beforehand for each line. When multiple lines are used for data communication with other stations, the number of receive buffers that store the received data that is accumulated in each station is managed, and the number of receive buffers is adjusted in advance. Depending on the threshold set for each station, the reception buffer busy status of the partner station may occur and That the other station unit receiving buffer control means to release the receive buffer busy state is annexed data communication control device according to claim.
【請求項2】 データ送信手段を備え、このデータ送信
手段には送信データを一時蓄積する送信バッファを含む
データ送信制御装置において、 回線単位に滞留している送信データが格納された前記送
信バッファの個数を管理し、その送信バッファの個数が
あらかじめ回線毎に設定された閾値にしたがって回線単
位送信バッファビジー状態の発生、および回線単位送信
バッファビジー状態の解除を行う回線単位送信バッファ
制御手段と、 回線を多重化して複数の相手局とデータ通信を行う場合
に、相手局単位に滞留している送信データが格納された
前記送信バッファの個数を管理し、その送信バッファの
個数があらかじめ相手局毎に設定された閾値にしたがっ
て相手局単位送信バッファビジー状態の発生、および相
手局単位送信バッファビジー状態の解除を行う相手局単
位送信バッファ制御手段とが併設されたことを特徴とす
るデータ送信制御装置。
2. A data transmission control device comprising a data transmission means, wherein the data transmission means includes a transmission buffer for temporarily accumulating the transmission data, wherein the transmission buffer storing the transmission data staying on a line basis. A line-unit transmission buffer control unit that manages the number of transmission buffers, generates a line-unit transmission buffer busy state according to a threshold value set in advance for each line, and releases the line-unit transmission buffer busy state. When performing data communication with a plurality of partner stations by multiplexing, the number of the above-mentioned send buffers in which the send data staying in each partner station is stored is managed, and the number of the send buffers is preset for each partner station. Occurrence of a transmission buffer busy state for each partner station according to the set threshold, and transmission buffer busy for each partner station Data transmission control apparatus characterized by the other station units transmit buffer control means for releasing the status has been juxtaposed.
【請求項3】 データ受信手段を備え、このデータ受信
手段には受信データを一時蓄積する受信バッファを含む
データ受信制御装置において、 回線単位に滞留している受信データが格納された前記受
信バッファの個数を管理し、その受信バッファの個数が
あらかじめ回線毎に設定された閾値にしたがって回線単
位受信バッファビジー状態の発生、および回線単位受信
バッファビジー状態の解除を行う回線単位受信バッファ
制御手段と、 回線を多重化して複数の相手局とデータ通信を行う場合
に、相手局単位に滞留している受信データが格納された
前記受信バッファの個数を管理し、その受信バッファの
個数があらかじめ相手局毎に設定された閾値にしたがっ
て相手局単位受信バッファビジー状態の発生、および相
手局単位受信バッファビジー状態の解除を行う相手局単
位受信バッファ制御手段とが併設されたことを特徴とす
るデータ受信制御装置。
3. A data reception control device comprising data reception means, wherein the data reception means includes a reception buffer for temporarily accumulating the reception data, wherein the reception buffer of the reception buffer storing the reception data stored in line units is stored. A line-unit receive buffer control means for managing the number of receive buffers and for releasing the line-unit receive buffer busy state according to a threshold value preset for each line When performing data communication with a plurality of partner stations by multiplexing, the number of receive buffers that store the received data accumulated in each partner station is managed, and the number of receive buffers is previously set for each partner station. Occurrence of a receive buffer busy condition for the partner station according to the set threshold, and receive buffer busy for the partner station Data reception control apparatus characterized by the other station unit receiving buffer control means for releasing the status has been juxtaposed.
【請求項4】 前記閾値は、ビジー状態の設定および解
除について別の値が設定された請求項1ないし3のいず
れかに記載のデータ通信制御装置。
4. The data communication control device according to claim 1, wherein the threshold value is set to a different value for setting and releasing the busy state.
JP5006191A 1993-01-18 1993-01-18 Data communication controller Expired - Lifetime JPH0744566B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5006191A JPH0744566B2 (en) 1993-01-18 1993-01-18 Data communication controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5006191A JPH0744566B2 (en) 1993-01-18 1993-01-18 Data communication controller

Publications (2)

Publication Number Publication Date
JPH06216944A JPH06216944A (en) 1994-08-05
JPH0744566B2 true JPH0744566B2 (en) 1995-05-15

Family

ID=11631669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5006191A Expired - Lifetime JPH0744566B2 (en) 1993-01-18 1993-01-18 Data communication controller

Country Status (1)

Country Link
JP (1) JPH0744566B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003152761A (en) 2001-11-14 2003-05-23 Nec Miyagi Ltd Lan relaying device, adaptive flow control method used for the same, and its program

Also Published As

Publication number Publication date
JPH06216944A (en) 1994-08-05

Similar Documents

Publication Publication Date Title
EP0429201A2 (en) High efficiency image data transfer networks and methods
CA1219939A (en) Exchange system
JPS6338130B2 (en)
Mark Distributed scheduling conflict-free multiple access for local area communication networks
JPH0810868B2 (en) Channel access method for local area communication configured as a bus system
EP0077563A1 (en) Process and apparatus for multiple random access to a transmission line in a local network for speech and data
JPH0744566B2 (en) Data communication controller
USRE37334E1 (en) Data transmission device for random access network, with improved collision resolution, and corresponding method
JPH04307831A (en) Transmission buffer controller
JPH05327984A (en) Facsimile store and forward switching device
EP0466467B1 (en) A method of processing access service requests in data processing systems, such as telephone exchanges, and a distributed system applying said method
JP3249209B2 (en) Data communication device
JPS61280140A (en) Shared channel access control circuit
JP2939668B2 (en) Cell Discard Control Method in ATM Network
JPH03214951A (en) Originating call control system
JP2647878B2 (en) Communication terminal device
JP3413735B2 (en) CATV bidirectional transmission system and its access method
JP3370143B2 (en) Packet transmission device
JP3001493B2 (en) Burst circuit switching equipment
JPH0678385A (en) Electronic exchange system
JP2584191B2 (en) Facsimile machine
JPS60157354A (en) Communication controller
JPS6342990B2 (en)
JP2590773B2 (en) Facsimile communication system
JPH065835B2 (en) Shared channel access control method