JPS627242A - Polling control system - Google Patents

Polling control system

Info

Publication number
JPS627242A
JPS627242A JP14637885A JP14637885A JPS627242A JP S627242 A JPS627242 A JP S627242A JP 14637885 A JP14637885 A JP 14637885A JP 14637885 A JP14637885 A JP 14637885A JP S627242 A JPS627242 A JP S627242A
Authority
JP
Japan
Prior art keywords
polling
communication
data
transmission
line
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
JP14637885A
Other languages
Japanese (ja)
Inventor
Akihiko Taniguchi
明彦 谷口
Hiroshi Yamazaki
浩 山崎
Takashi Moriyama
隆司 森山
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP14637885A priority Critical patent/JPS627242A/en
Publication of JPS627242A publication Critical patent/JPS627242A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To upgrade the efficiency of use of a data bus and to perform an efficient data transmission by so constituting the titled system that a communication controller executes polling even during the time when a communication equipment is transmitting. CONSTITUTION:A transmission right endowment control circuit 10 outputs a polling address signal through a line 2 and changes it sequentially. When the communication equipment 52 has the transmission right and is transmitting the data and a bus-busy signal is issued in a line 1, if a request-to-communicate is issued by another communication equipment 5n, the polling is stopped, and the polling address is fixed at the equipment 5n, and retains it until the equipment 52 ends the data transmission. On ending the data transmission, the equipment 52 abandons the transmission right, and a line 62 is made '1'. Accordingly, the circuit 10 makes the line 1 to be '1', and informs each communication equipment that a data bus 4 is vacant. The equipment 5n starts a data transmission operating similarly to the equipment 52, and abandons the communication right when ending, making a line 6n to be '1'. Accordingly, the circuit 10 makes the line 1 to be '1' and informs each equipment of the vacancy of the bus 4.

Description

【発明の詳細な説明】 〔概要〕 ポーリング方式をとるデータ通信システムに於いて、任
意の通信装置が送信権を確保した後もポーリングを継続
して新たな送信要求を持つ他の通信装置を捜索し、此の
捜索された通信装置に対して既に送信権を有する通信装
置がデータ送信を終了した後優先的に送信権を割り当て
る。
[Detailed Description of the Invention] [Summary] In a data communication system that uses a polling method, even after an arbitrary communication device secures a transmission right, polling is continued to search for other communication devices that have a new transmission request. However, after the communication device that already has the transmission right to this searched communication device finishes data transmission, the transmission right is assigned preferentially.

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

本発明はデータ通信装置に係り、特に複数個の通信装置
間の通信を制御するポーリング制御方式%式% 従来のポーリング制御方式では通信制御装置はポーリン
グ信号を発信し、送信要求を持つ通信装置があると其処
でポーリングを停止して該通信装置がデータバスを使用
してデータ送信を行い、該通信装置がデータ送信を終了
した後再びボーリングを開始するのでデータバスを有効
に利用出来ないと云う欠点があり、此の改善が強く望ま
れていた。
The present invention relates to a data communication device, and particularly to a polling control method for controlling communication between a plurality of communication devices.In a conventional polling control method, a communication control device transmits a polling signal, and a communication device having a transmission request sends a polling signal. If so, polling is stopped at that point and the communication device uses the data bus to transmit data, and after the communication device finishes transmitting data, it starts polling again, so the data bus cannot be used effectively. There are some shortcomings, and improvements to these are strongly desired.

〔従来の技術〕[Conventional technology]

従来複数個の通信装置、此れ等が共有するデータバス、
及び前記各通信装置の送信権を管理する通信制御装置よ
り構成されるデータ通信装置に於いて、通信制御装置は
各通信装置からの送信要求が無い時はポーリングアドレ
スを一定時間間隔で順番に変化する。
Conventionally, a data bus shared by multiple communication devices, etc.
and a data communication device comprising a communication control device that manages transmission rights of each communication device, wherein the communication control device sequentially changes the polling address at fixed time intervals when there is no transmission request from each communication device. do.

各通信装置は夫々自装置に割り当てられたポーリングア
ドレスを受信した時に、送信したいデータがあれば送信
要求をオンする。
When each communication device receives the polling address assigned to it, it turns on a transmission request if there is data to be transmitted.

通信制御装置は任意の通信装置が送信要求をオンしたこ
とを知ると其の通信装置のポーリングアドレスに固定す
る。此の結果送信要求を出した通信装置は送信権を獲得
し、データバス上にデータの送信先とデータに関する情
報を送出し、続けてデータを送出する。
When the communication control device learns that an arbitrary communication device has turned on a transmission request, it fixes the polling address of that communication device. As a result of this, the communication device that issued the transmission request acquires the transmission right, transmits information regarding the data destination and the data on the data bus, and continues transmitting the data.

データの送出を終わると該通信装置は送信要求をオフし
、此のオフ信号により通信制御装置は再びポーリングを
再開し、ポーリングアドレスを一定時間間隔で順番に変
化する。
When the data transmission is finished, the communication device turns off the transmission request, and in response to this off signal, the communication control device resumes polling and sequentially changes the polling address at regular time intervals.

以上述べた手順でポーリング、及びデータの通信が行わ
れる。
Polling and data communication are performed according to the procedure described above.

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

然しなから上記従来方式ではポーリングとデータの送受
信動作は同時に行われることはなく、ポーリングを行っ
ている間はデータバスは未使用状態となり、データバス
の使用効率を考えると有効な方法とはいえないと云う欠
点があった。
However, in the conventional method described above, polling and data transmission/reception operations are not performed at the same time, and the data bus remains unused while polling is being performed, so although it is an effective method in terms of data bus usage efficiency, There was a drawback that there was no such thing.

本発明の目的は成る通信装置が送信を行っている時にも
通信制御装置は同時にポーリングを行うことによりデー
タバスの使用効率を高め、能率的なデータ伝送が行える
ポーリング制御方式を提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a polling control method that allows efficient data transmission by increasing data bus usage efficiency by simultaneously polling a communication control device even when a communication device is transmitting. .

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

上記問題点はデータ送受信機能を備えた複数個の通信装
置、前記通信装置が相互に通信を行う為に共存するデー
タバス、及び前記データバスに対する送信権の割当をポ
ーリング方式により制御する機能を備えた通信制御装置
から構成されるデータ通信システムに於いて、通信制御
装置に送信権賦与制御回路10を設け、送信権賦与制御
回路10により、任意の通信装置が送信権を確保しデー
タバスに対しデータを送信中に於いても引続きポーリン
グを継続し、他の通信装置が送信要求を有する場合送信
権を確保済みの通信装置がデータ送信を終了した後優先
的に送信権を確保出来る様にすることにより解決される
The above problem involves a plurality of communication devices equipped with data transmission and reception functions, a data bus that coexists in order for the communication devices to communicate with each other, and a function that controls the allocation of transmission rights to the data bus using a polling method. In a data communication system consisting of a communication control device, the communication control device is provided with a transmission right granting control circuit 10, and the transmission right granting control circuit 10 allows any communication device to secure the transmission right and control the data bus. Polling continues even while data is being transmitted, and if another communication device has a transmission request, the communication device that has already secured the transmission right can secure the transmission right preferentially after completing data transmission. This is solved by

〔作用〕[Effect]

本発明に依ると通信制御装置がポーリングを行い、成る
通信装置が送信権を)!得してデータの送信を開始した
後、引続き通信制御装置はポーリングを行い、他の送信
要求のある通信装置に対するアドレスでポーリングアド
レスを固定する為既に送信権を獲得した通信装置がデー
タ送信を終了すると直ちにポーリングアドレスを固定さ
れた通信装置がデータ送信を開始出来るのでデータバス
の使用効率を高められると云う効果が生まれる。
According to the present invention, the communication control device performs polling, and the communication device consists of (!) the transmission right! After obtaining the right and starting data transmission, the communication control device continues to poll, and fixes the polling address with the address for other communication devices with transmission requests, so the communication device that has already obtained the transmission right ends data transmission. Then, the communication device to which the polling address is fixed can immediately start data transmission, resulting in the effect that the data bus usage efficiency can be increased.

〔実施例〕〔Example〕

第1図は本発明に依るポーリング制御方式の一実施例を
示す図である。
FIG. 1 is a diagram showing an embodiment of a polling control method according to the present invention.

図中、1はバスビジー信号が通る線路、2はポーリング
アドレス信号が通る線路、3はポーリングアドレススト
ローブ信号が通る線路、4はデータバス、51.5□ 
・・・5nは夫々通信装置、6I、6□ ・・・6nn
送信要求量が通る線路、7は通信制御装置、10は送信
権賦与制御回路である。尚以下企図を通じ同一記号は同
一対象物を表す。
In the figure, 1 is a line that a bus busy signal passes, 2 is a line that a polling address signal passes, 3 is a line that a polling address strobe signal passes, 4 is a data bus, and 51.5□
...5n is a communication device, 6I, 6□ ...6nn
A transmission request amount passes through a line, 7 is a communication control device, and 10 is a transmission right granting control circuit. The same symbols represent the same objects throughout the following discussion.

以下図に従って本発明の詳細な説明する。The present invention will be described in detail below with reference to the drawings.

通信制御装置7の中に送信権賦与制御回路10を設けて
ポーリング制御を行う。送信権賦与制御回路10は線路
2を使用してポーリングアドレス信号を流し、ポーリン
グアドレス信号のアドレスは順次変わって出力される。
A transmission right grant control circuit 10 is provided in the communication control device 7 to perform polling control. The transmission right grant control circuit 10 uses the line 2 to send a polling address signal, and the addresses of the polling address signal are sequentially changed and output.

又送信権賦与制御回路10は此のポーリングアドレス信
号が有効な値を示しているか否かを表すタイミング信号
であるポーリングアドレスストローブ信号を線路3に出
力する。
Further, the transmission right grant control circuit 10 outputs a polling address strobe signal to the line 3, which is a timing signal indicating whether or not this polling address signal indicates a valid value.

各通信装置51.5□ ・・・5nは此のポーリングア
ドレス信号とポーリングアドレスストローブ信号を受信
し、自装置に割り当てられた番号とポーリングアドレス
が一致した時、若し送信要求があれば線路6I、6□ 
・・・6nを“0”として送信要求有りを表示する。無
い時は“1”の侭にしておく。
Each communication device 51.5□...5n receives this polling address signal and polling address strobe signal, and when the number assigned to itself and the polling address match, if there is a transmission request, it sends the signal to line 6I. , 6□
...Set 6n to "0" to indicate that there is a transmission request. If there is none, set it to “1”.

以下本発明に依る通信制御装置7、及び通信装置53.
5□ ・・・5nの動作を説明する。
Below, a communication control device 7 and a communication device 53 according to the present invention.
5□...The operation of 5n will be explained.

■送信権賦与制御回路10は線路2を介してポーリング
アドレス信号を出力し、其のポーリングアドレスを順次
変えてゆく。
(2) The transmission right grant control circuit 10 outputs a polling address signal via the line 2, and sequentially changes the polling address.

■成るポーリングアドレスに対応した装置番号を持つ通
信装置(例えば5□とする)から送信要求があり(′f
rfA路6□が“O”)、而も他の装置から送信要求が
ない場合は通信装置5□に対して送信権を与えて線路1
を“0”としてハスビジー信号を出し、引続きポーリン
グアドレスを順次変化してポーリングを続ける。
■There is a transmission request from a communication device (for example, 5□) with a device number corresponding to the polling address consisting of ('f
rfA line 6□ is "O"), and if there is no transmission request from another device, the transmission right is given to the communication device 5□ and line 1
is set to "0" to issue a hasty busy signal, and then polling is continued by sequentially changing the polling address.

尚通信装置5□は送信権を獲得したので従来方式と同じ
くデータ送信を開始する。
Note that since the communication device 5□ has acquired the transmission right, it starts data transmission as in the conventional method.

■通信装置5□が送信権を獲得してデータを送信し、線
路1にバスビジー信号が出ている時に、其のポーリング
アドレスに対応した装置番号を持つ他の通信装置(例え
ば5n)から通信要求が出た場合にはポーリングを停止
してポーリングアドレスを通信装置5nに固定する。此
のポーリングアドレスの固定は通信装置5□がデータ送
信を終了する迄継続する。
■When communication device 5□ acquires the transmission right and transmits data, and a bus busy signal is output on track 1, a communication request is received from another communication device (for example, 5n) that has the device number corresponding to its polling address. If , the polling is stopped and the polling address is fixed to the communication device 5n. This fixing of the polling address continues until the communication device 5□ finishes transmitting data.

■通信装置5□はデータ送信を終了すると通信権を放棄
して線路6□を“1”とする。此の信号により送信権賦
与制御回路10は線路1を“1”としてデータバス4が
空き状態になったことを各通信装置に知らせる。
- When the communication device 5□ completes data transmission, it relinquishes the communication right and sets the line 6□ to "1". Based on this signal, the transmission right granting control circuit 10 sets the line 1 to "1" to notify each communication device that the data bus 4 has become vacant.

此の時点で通信装置5nは■に於いて述べた動作を行っ
てデータ送信を開始する。通信装置5nはデータ送信を
終了すると通信権を放棄して線路6nを1”とする。
At this point, the communication device 5n performs the operation described in (2) and starts data transmission. When the communication device 5n finishes transmitting data, it relinquishes the communication right and sets the line 6n to 1''.

此の信号により送信権賦与制御回路10は線路1を“1
”としてデータバス4が空き状態になったことを各通信
装置に知らせる。
This signal causes the transmission right granting control circuit 10 to set the line 1 to "1".
” to notify each communication device that the data bus 4 has become vacant.

図中、10aはポーリングアドレス発生回路、10bは
エンコーダ、IOCはラッチ信号発生回路、10dはポ
ーリングアドレスランチ回路、10eはエンコーダ、1
0fは停止信号発生回路である。
In the figure, 10a is a polling address generation circuit, 10b is an encoder, IOC is a latch signal generation circuit, 10d is a polling address launch circuit, 10e is an encoder, 1
0f is a stop signal generation circuit.

ポーリングアドレス発生回路10aはポーリングアドレ
ス信号を発生して線路2へ出力する。此のポーリングア
ドレス信号のアドレスは順次変化する。又此のポーリン
グアドレス信号が有効な値を示しているか否かを表すタ
イミング信号であるポーリングアドレスストローブ信号
を線路3に出力する。
The polling address generation circuit 10a generates a polling address signal and outputs it to the line 2. The address of this polling address signal changes sequentially. Also, a polling address strobe signal, which is a timing signal indicating whether or not this polling address signal indicates a valid value, is output to the line 3.

ポーリングアドレスラッチ回路10dは送信権を獲得し
送信を行っている通信装置のポーリングアドレスを記憶
するためのラッチ回路である。
The polling address latch circuit 10d is a latch circuit for storing the polling address of a communication device that has acquired the transmission right and is transmitting.

ランチ信号発生回路10cはバスビジー(エンコーダt
oeの出力)の時にはポーリングアドレスランチ回路1
0dにラッチ信号は出さないで、バスビジーでなくなっ
た時エンコーダ10bの出力をもとにラッチ信号を作る
The launch signal generation circuit 10c is bus busy (encoder t
oe output), polling address launch circuit 1
A latch signal is not output at 0d, but a latch signal is generated based on the output of encoder 10b when the bus is no longer busy.

停止信号発生回路10fの停止信号発生条件は、■バス
ビジーの状態で、■エンコーダtabによりエンコード
された送信要求信号が送信要求のあることを示している
時である。但し、其のポーリングアドレスが現在送信権
を既に確保済で送信を行っているアドレスと同じ時(ポ
ーリングアドレスランチ回路10dの出力とポーリング
アドレスが一致する時)は停止信号を発生しない。
The conditions for generating a stop signal by the stop signal generating circuit 10f are: (1) the bus is busy and (2) the transmission request signal encoded by the encoder tab indicates that there is a transmission request. However, when the polling address is the same as the address for which the transmission right is currently reserved and is currently transmitting (when the output of the polling address launch circuit 10d and the polling address match), the stop signal is not generated.

エンコーダ10bにはポーリングアドレス発生回路10
a出力のポーリングアドレス信号が印加され、例えば通
信装置52のポーリングアドレス信号が出力されている
時送信要求信号が入力されるとラッチ信号発生回路10
cを駆動し、線路lヘバスビジー信号を流し、通信装置
5□は通信を開始するが、ポーリングアドレス発生回路
10aは其の動作を継続してポーリングアドレス信号の
アドレスを順次変化してゆく。
The encoder 10b includes a polling address generation circuit 10.
When the polling address signal of the a output is applied, for example, the polling address signal of the communication device 52 is being output, and the transmission request signal is input, the latch signal generating circuit 10
The communication device 5□ starts communication by driving the line L and sending a bus busy signal to the line L, but the polling address generation circuit 10a continues its operation and sequentially changes the address of the polling address signal.

更に送信要求信号が入力されるとラッチ信号発生回路1
0cを駆動し、送信要求信号が有った通信装置5nのポ
ーリングアドレスをポーリングアドレスランチ回路10
dに格納し、停止信号発生回路10fを動作させてポー
リングアドレス発生回路lOaの動作を其の時点で停止
し、通信装置5□の通信終了と共に通信装置5nが通信
を開始し、線路1ヘバスビジ一信号を流した状態でポー
リングアドレス発生回路10aは動作を再開する。
When the transmission request signal is further input, the latch signal generation circuit 1
0c, the polling address launch circuit 10 sets the polling address of the communication device 5n that has received the transmission request signal.
d, the stop signal generation circuit 10f is operated to stop the operation of the polling address generation circuit lOa at that point, and when the communication of the communication device 5□ ends, the communication device 5n starts communication. The polling address generation circuit 10a resumes operation with the signal flowing.

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

以上詳細に説明した様に本発明によれば、−通信装置が
データを送信している時、同時に他の通信装置に対しポ
ーリングを行うことが出来るのでデータバスの使用効率
を高め得ると云う大きい効果がある。
As explained in detail above, according to the present invention, - When a communication device is transmitting data, it can poll other communication devices at the same time, so the efficiency of data bus usage can be improved. effective.

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

第1図は本発明に依るポーリング制御方式の一実施例を
示す図である。 図中、1はバスビジー信号が通る線路、2はポーリング
アドレス信号が通る線路、3はポーリングアドレススト
ローブ信号が通る線路、4はデータバス、53.5□ 
・・・5nは夫々通信装置、6I、6□ ・・・6n送
信要求信号が通る線路、7は通信制御装置、10は送信
権賦与制御回路、10aはポーリングアドレス発生回路
、10bはエンコーダ、10cはラッチ信号発生回路、
10dはポーリングアドレスラッチ回路、10eはエン
コーダ、10fは停止信号発生回路である。
FIG. 1 is a diagram showing an embodiment of a polling control method according to the present invention. In the figure, 1 is a line that a bus busy signal passes, 2 is a line that a polling address signal passes, 3 is a line that a polling address strobe signal passes, 4 is a data bus, 53.5□
...5n are communication devices, 6I, 6□ ...6n lines through which transmission request signals pass, 7 is a communication control device, 10 is a transmission right granting control circuit, 10a is a polling address generation circuit, 10b is an encoder, 10c is a latch signal generation circuit,
10d is a polling address latch circuit, 10e is an encoder, and 10f is a stop signal generation circuit.

Claims (1)

【特許請求の範囲】 データ送受信機能を備えた複数個の通信装置、前記通信
装置が相互に通信を行う為に共有するデータバス、及び
前記データバスに対する送信権の割当をポーリング方式
により制御する機能を備えた通信制御装置から構成され
るデータ通信システムに於いて、 前記通信制御装置に送信権賦与制御回路(10)を設け
、 前記送信権賦与制御回路(10)により、 任意の前記通信装置が前記送信権を確保し前記データバ
スに対しデータを送信中に於いても引続き前記ポーリン
グを継続し、 他の前記通信装置が送信要求を有する場合前記送信権を
確保済みの前記通信装置がデータ送信を終了した後優先
的に前記送信権を確保出来る様にしたことを特徴とする
ポーリング制御方式。
[Scope of Claims] A plurality of communication devices each having a data transmission/reception function, a data bus shared by the communication devices to communicate with each other, and a function of controlling allocation of transmission rights to the data bus using a polling method. In a data communication system including a communication control device, the communication control device is provided with a transmission right granting control circuit (10), and the transmission right granting control circuit (10) allows any of the communication devices to Even when the transmission right is secured and data is being transmitted to the data bus, the polling continues, and if another communication device has a transmission request, the communication device that has secured the transmission right transmits the data. The polling control method is characterized in that the transmission right can be secured preferentially after the completion of the polling control method.
JP14637885A 1985-07-03 1985-07-03 Polling control system Pending JPS627242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14637885A JPS627242A (en) 1985-07-03 1985-07-03 Polling control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14637885A JPS627242A (en) 1985-07-03 1985-07-03 Polling control system

Publications (1)

Publication Number Publication Date
JPS627242A true JPS627242A (en) 1987-01-14

Family

ID=15406355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14637885A Pending JPS627242A (en) 1985-07-03 1985-07-03 Polling control system

Country Status (1)

Country Link
JP (1) JPS627242A (en)

Similar Documents

Publication Publication Date Title
KR920006858A (en) Method and device for optimizing bus arbitration during direct memory access data transmission
JPH0475700B2 (en)
JPS627242A (en) Polling control system
KR100340815B1 (en) Process and arrangement for operating a bus system
US5797040A (en) Computer system having system bus which couples adapter and processing units and requires acquisition for data transmission thereover
JPS61161568A (en) Information transmission system
JP2666782B2 (en) Multiple bus control system
JP2737179B2 (en) Bus system
JPH01191967A (en) Data communication processing system
JPS6177948A (en) Data processor
JPH0576821B2 (en)
JPH06224975A (en) Method for resetting modules connected with each other, and system using this method
JPS63227149A (en) Communication control method in loop communication system
JPH02183854A (en) Simultaneous notification system
JPS63288317A (en) Printer
JPH04162106A (en) Remote input/output system for programmable controller
JPH0238528Y2 (en)
JPH0238527Y2 (en)
JPH04106651A (en) Controller for system bus
JPH08101810A (en) Bus control method
JPS6326758A (en) Packet communication equipment by dynamic polling
JPH03265250A (en) Communication controller
JPS63234304A (en) Data link system for multi-pc system
JPH054708B2 (en)
JPS60248049A (en) Full duplex communication control system