JPS59158152A - Polling control system - Google Patents

Polling control system

Info

Publication number
JPS59158152A
JPS59158152A JP3210583A JP3210583A JPS59158152A JP S59158152 A JPS59158152 A JP S59158152A JP 3210583 A JP3210583 A JP 3210583A JP 3210583 A JP3210583 A JP 3210583A JP S59158152 A JPS59158152 A JP S59158152A
Authority
JP
Japan
Prior art keywords
polling
time
data
delay
communication
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
JP3210583A
Other languages
Japanese (ja)
Inventor
Tatsuo Okada
辰夫 岡田
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 JP3210583A priority Critical patent/JPS59158152A/en
Publication of JPS59158152A publication Critical patent/JPS59158152A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/403Bus networks with centralised control, e.g. polling

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To design a communication controller with good processing efficiency by delaying the transmission of a polling sequence according to the number of consumer station equipments in polling operation and controlling the equipment to prevent the overload. CONSTITUTION:A coomand sent from a central processor is written in a section C in an area 141 corresponding to a corresponding communication circuit number in a channel correspondence memory 13. If the command indicates polling at this time, a microprogram checks a counter 21, and when its value is 0, a delay inhibition bit E in an area of the channel correspondence memory 13 corresponding to a communication circuit is set to ''1'' to advance the contents of the counter 21. Every time the polling command is sent out, the counter increases in its contents and then decreases the contents by one when the polling sequence transmission is completed. Thus, the number of other circuits in polling operation is grasped and a delay time corresponding to the number of circuits is found by using a delay time table 18 provided in a control memory 16 and set in a delay circuit 27 to adjust the transmission time of the polling sequence, preventing overload.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は、複数のデータ宅内装置をそれぞれ通信回mk
経由して接続し、各データ宅内装置に対して転送アベき
情報の有無の問い合わせ(以下ポーリングと言う)を行
なってからデータの転送を行なう通信制御装置の通信の
制御に係る負荷を軽減丁るための技術に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention provides a method for connecting a plurality of data home devices to each other by communication times mk.
This reduces the load related to communication control on the communication control device, which connects via the network and queries each data home device for the presence or absence of transferable information (hereinafter referred to as polling), and then transfers data. Regarding technology for

(2)従来技術と問題点 第1図はポーリング方式によるデータ転送を説明丁るた
めのブロック図であって、1は中央処理装置、2は通信
制御装置、sl−、−snは回線対応部、<1〜4nは
通信回線、51〜5nはデータ宅内装置を表わしている
。   −第2図は従来のポーリング方式の各通信回線
上の信号の時間関係を示す図であって、61〜6nはボ
ールコマンドの発出タイミング、71〜7nはポーリン
グシーケンス、81〜8nはリードコマンドの発出タイ
ミング、91〜9nは転送データを表わしている。
(2) Prior art and problems Figure 1 is a block diagram for explaining data transfer by polling method, in which 1 is a central processing unit, 2 is a communication control unit, and sl- and -sn are line support units. , <1 to 4n represent communication lines, and 51 to 5n represent data home devices. - Fig. 2 is a diagram showing the time relationship of signals on each communication line in the conventional polling method, where 61 to 6n are the timings for issuing ball commands, 71 to 7n are the polling sequence, and 81 to 8n are the read commands. Issuance timings 91 to 9n represent transfer data.

第1図において、通信制御装置2は中央処理装置1〃鳥
らボールコマンドによってデータ宅内装置(例えばデー
タ宅内装置51)に附子るポーリングを指示されると回
線対応部51を経由して通゛信回線41にポーリングシ
ーケンス(ポーリングのだめの一定形式の信号列)を送
出する。このときデータ宅内装置51は転送子べ@、”
f−夕が存在するなら該データを通信回線41に送出す
る。通信制御装置2は該データ(2値の直列データ)を
文字に変換し、中央処理装置1はこれをリード指令で記
憶装置に格納する。データ宅内装置51がポーリングシ
ーケンスを受けたとき、転送すべきデータが存在しない
場合は通信の終結を要g< g。
In FIG. 1, when the central processing unit 1 is instructed by a bird ball command to poll a data home device (for example, a data home device 51), the communication control device 2 performs communication via the line support unit 51. A polling sequence (a fixed format signal sequence for polling) is sent to the line 41. At this time, the data home device 51 transfers
If f-event exists, the data is sent to the communication line 41. The communication control device 2 converts the data (binary serial data) into characters, and the central processing unit 1 stores this in the storage device with a read command. When the data home device 51 receives a polling sequence, if there is no data to be transferred, communication must be terminated.

T信号を送出)する。T signal).

第2図に示すように、各通信回線に次々とボールコマン
ドが送出されたとき、従来の制御方式では、通信制御装
置は同時に各通信回線に対してポーリングシーケンスを
送出し、また、各データ宅内装置からのデータを並行し
て処理しなければならないので各回線に対する処理時間
が重なって通信制御装置に一時的に過大な負荷が〃jか
る。従って通信制御装置は、その負荷に耐えられるもの
とする必要上、大きな処理能力を有するものとしなけれ
ばならない欠点があった。また通信制御以外が通信制御
以外に他の処理も実行する設計のものでは、前記過負荷
の状態のとき、他の処理が滞留するなどの影響を生ずる
欠点があった。
As shown in Figure 2, when ball commands are sent to each communication line one after another, in the conventional control system, the communication control device simultaneously sends out a polling sequence to each communication line, and Since data from the devices must be processed in parallel, the processing time for each line overlaps, temporarily placing an excessive load on the communication control device. Therefore, the communication control device has the disadvantage that it must have a large processing capacity in order to withstand the load. In addition, in a device designed to execute other processes other than communication control, there is a drawback that other processes may become stagnant during the overload state.

(3)発明の目的 本発明は上記従来の欠点に鑑み集中的にポールコマンド
が発出された場合においても過負荷を生ぜず、そのため
処理効率の良い通信制御装置を設計することの小米るポ
ーリング制御方式を提供することを目的としている。
(3) Purpose of the Invention In view of the above-mentioned drawbacks of the conventional technology, the present invention provides a method for controlling polling that does not cause overload even when poll commands are issued intensively, and thus designs a communication control device that has high processing efficiency. The purpose is to provide a method.

(4)発明の構成 そしてこの目的は本発明によれば特許請求の範囲に記載
のとおり、それぞれ通信回線を経由して接続した複数の
データ宅内装置に対してポーリングを行なってからデー
タの転送を行なう通信制御装置において、並行してポ+
7ングに係る処理を行なっている通信回線の数を監視す
る手段を設け、ポーリングの契機が生じたとき、該手段
により現在ポーリングに係る処理を行なっている通信回
線の数を知ジ、その値に応じて次のデータ宅内装置に対
するポーリングの開始時刻を調整することを特徴とする
ポーリング制御方式により達成される。
(4) Structure and object of the invention According to the present invention, as described in the claims, data is transferred after polling a plurality of data home devices each connected via a communication line. In the communication control device that performs
A means for monitoring the number of communication lines that are currently performing processing related to polling is provided, and when an opportunity for polling occurs, the number of communication lines that are currently performing processing related to polling is determined by the means, and the value thereof is determined. This is achieved by a polling control method that is characterized by adjusting the start time of polling for the next data home device according to the time.

(5)発明の実施例 第6図は本発明の1実施例を説明するブロック図であっ
て、10は中央処理装置、11は記憶装置、12は通信
制御装置、15はチャネル対応メモリ、141〜14n
および151〜1 snは通信回線に対応する領域、1
6はコントロールメモリ、17はマイクロプログラムロ
ード域、18は遅延時間テーブル、19は処理レジスタ
、20はトラップレジスタ、21はカウンタ、22は走
査制御レジスタ、23は歩進回路、24は回線番号レジ
スタ、25は受信文字バッファ、26は送信文字ノくソ
ファ、27は遅延回路を示している。チャネル対応メモ
リ15円の通信回線に対応する領域141〜I anま
たは151〜15nの各区画の表示は、1〜nは通信回
線番号、Aはデータアドレス、Bはバイトカウント、C
はコマンド、Dは送受信データ、Eは遅延禁止ビットの
位置を表わしている。また、処理レジスタ19内に表示
されているA′、B′、C′は前記AX BX Cと同
じであり、tは通信回線番号を表わしている。
(5) Embodiment of the invention FIG. 6 is a block diagram illustrating an embodiment of the invention, in which 10 is a central processing unit, 11 is a storage device, 12 is a communication control device, 15 is a channel corresponding memory, 141 ~14n
and 151-1 sn is the area corresponding to the communication line, 1
6 is a control memory, 17 is a microprogram load area, 18 is a delay time table, 19 is a processing register, 20 is a trap register, 21 is a counter, 22 is a scan control register, 23 is a step circuit, 24 is a line number register, 25 is a receiving character buffer, 26 is a transmitting character buffer, and 27 is a delay circuit. Channel correspondence memory Areas 141 to Ian or 151 to 15n corresponding to communication lines of 15 yen are displayed as follows: 1 to n are communication line numbers, A is a data address, B is a byte count, and C
is the command, D is the transmitted/received data, and E is the position of the delay prohibition bit. Further, A', B', and C' displayed in the processing register 19 are the same as AX BX C, and t represents a communication line number.

第5図において、中央処理装置10から送られたコマン
ドは、チャネル対応メモリ15の該当する通信回線番号
(例えば1番)に対応する領域14%の区画Cに書き込
まれる。このとき、送受信データの記憶装置it上のア
ドレスがAに、送受信データのデータ長がBに畳さ込ま
れる。このようにして省き込まれた各通信回線に対応す
る領域141〜14nのデータは、時分割的に処理レジ
スタ19に読み出されて、その内容に基づいて割り込み
コードが作成され、トラップレジスタ20にセットされ
て、これによりマイクロプログラムに処理が渡される。
In FIG. 5, a command sent from the central processing unit 10 is written in a 14% section C of the channel corresponding memory 15 corresponding to the corresponding communication line number (for example, No. 1). At this time, the address on the storage device it of the transmitted and received data is folded into A, and the data length of the transmitted and received data is folded into B. The data in the areas 141 to 14n corresponding to each communication line omitted in this way is read out to the processing register 19 in a time-sharing manner, an interrupt code is created based on the contents, and the data is stored in the trap register 20. is set, thereby passing processing to the microprogram.

そのとき、コマンドがポールであったとするとマイクロ
プログラムはカウンタ21を見てその値が0であれば、
チャネル対応メモリ15内の通信回線に対応する領域(
例えば151)の遅延禁止ピッ)Eを11”にする。そ
してカウンタ21を歩進する。前述のマイクロプログラ
ムがカウンタ21を見だとき、その値が0でなければ遅
延禁止ピッ)EをXX1”にすることなく、単にカウン
タ21を歩進する。このような動作によってカウンタ2
1には、同時期にボールコマンドが発出された通信回線
の数が保持される。
At that time, if the command is a poll, the microprogram checks the counter 21 and if the value is 0,
The area corresponding to the communication line in the channel corresponding memory 15 (
For example, set the delay prohibition pin (151) E to 11" and increment the counter 21. When the aforementioned microprogram reads the counter 21, if the value is 0, the delay prohibition pin) E is set to XX1". The counter 21 is simply incremented. With this operation, counter 2
1 holds the number of communication lines to which ball commands were issued at the same time.

一方、ポーリングシーケンスとして通信回線に送ジ出丁
データは記憶装置11から読み出されて、チャネル対応
メモリ15の各通信回線に対応する領域の区画りに書き
込まれた後、送イ百文字バッファ26を経由して通信回
線に送出される。このとき該領域の遅延禁止ビットEが
91”である場合は、データを直接送信文字バッファ2
6にセットして送出゛Tるが、若し該遅延禁止ピッ)E
がゝCNである場合にはコントロールメモリ16内の遅
延時間テーブル18が参照され、その時のカウンタ21
の値に応じた遅延時間が遅延回路27にセットされて、
データを送信文字パソファヘセットする時間を遅らせる
。ポーリングシーケンスのデータの2文字目以降は、送
出を遅延させる必要は無いので、1文字目の送出が終了
したとき前記遅延禁止ビットEをXX1”にする。
On the other hand, the data to be sent to the communication line as a polling sequence is read from the storage device 11 and written to the section of the area corresponding to each communication line in the channel corresponding memory 15, and then sent to the 100-character buffer 26. is sent to the communication line via. At this time, if the delay prohibition bit E of the area is 91'', the data is directly sent to the character buffer 2.
6 and send it, but if the delay prohibition pin is set to E
When is CN, the delay time table 18 in the control memory 16 is referred to, and the counter 21 at that time is
A delay time corresponding to the value of is set in the delay circuit 27,
Delays the time it takes to set the data to the send character path. Since there is no need to delay the transmission of the second and subsequent characters of the polling sequence data, the delay prohibition bit E is set to XX1'' when the transmission of the first character is completed.

通信回線へのポーリングシーケンスのデータの送出が完
了したときは当該する遅延禁止ビットを10”にすると
共にカウンタ21の値刀)ら1を減する。
When the sending of the polling sequence data to the communication line is completed, the corresponding delay prohibition bit is set to 10'' and the value of the counter 21 is decremented by 1.

第5図中の走査制御レジスタ22、歩進回路25、回肪
番号レジスタ24などは上記の動作に際し、各通信回線
の走査に関する処理を分担するもので、トラツズレジス
タ20を介してマイクロノログラムとの間で制御の受は
渡しをしている。
The scan control register 22, step circuit 25, rotation number register 24, etc. in FIG. 5 share the processing related to scanning of each communication line during the above operation. Control is passed between the two.

以上説明したように本実施例では、ボールコマンドが発
出される都度歩進し、ポーリングシーケンス送出完了時
その値刀・ら1を減するカウンタ21を設けることによ
り、ポーリングに際し、現在ポーリング中の他の回線数
を把握して、コントロールメモリ16内に設けた遅延時
間テーブル18から該回線数の場合に対応する遅延時間
を求め、これを遅延回路27にセットして、ポーリング
シーケンスの発出時刻を調整することによジ過負荷とな
ることを防いでいる。
As explained above, in this embodiment, by providing the counter 21 which increments each time a ball command is issued and which decrement the value by 1 when the polling sequence is completed, the counter 21 is provided so that when polling is performed, the counter The number of lines is determined, the delay time corresponding to the number of lines is determined from the delay time table 18 provided in the control memory 16, and this is set in the delay circuit 27 to adjust the polling sequence issuing time. This prevents overload.

第4図は実施例についての各通信回線上の信号の時間関
係を示す図であって、6′1〜6′n17′1〜7′n
18′l〜a′n、  q′1〜9Inは第2図の61
〜6n171〜7n181〜8n191〜9nと同じで
あ!’、toはボールコマンドが発出されてからポーリ
ングシーケンスが送出されるまでの時間、tl−tnは
本発明の方式により与えた遅延時間である。
FIG. 4 is a diagram showing the time relationship of signals on each communication line in the embodiment, 6'1 to 6'n17'1 to 7'n
18'l~a'n, q'1~9In are 61 in Figure 2
~6n171~7n181~8n191~9n! ', to is the time from when the ball command is issued until the polling sequence is sent, and tl-tn is the delay time given by the method of the present invention.

第4図に見られるように、ボールコマンドが次々と連続
して発出された場合であっても、谷通侶回線に対するポ
ーリングシーケンスのデータ送出を遅延させているので
、同時期にデータ転送処理が多数重複することが無く負
荷の平均化が図られている。
As shown in Figure 4, even if the ball commands are issued one after another, the data transmission of the polling sequence to the Tanimitoshi line is delayed, so the data transfer process is not completed at the same time. There is no overlap and the load is balanced.

(6)発明の効果 本発明によるポーリング制御方式によれば、それぞれ通
信回線を経由して接続した複数のデータ宅内装置に対し
てポーリング方式によりデータの転送を行なう形式の通
信制御装置において、同時期に各データ宅内装置に対す
るボールコマンドが集中的に発出されても、ポーリング
実行中のデータ宅内装置数に応じてポーリングシーケン
スの送出を遅延させ、過負荷とならないよう制御するの
で、従来より処理能力の低い通信制御装置を用いて効率
的な処理を行なわしめることが可能であるから効果は大
である。また通信制御装置が通信制御以外に他の処理も
笑行する設計のものであってt1ポーリングコマンドが
集中的に発出されたことにより他の処理が滞留するなど
の影響を生ずることは無くなるので効果は大きい。
(6) Effects of the Invention According to the polling control method according to the present invention, in a communication control device that transfers data by a polling method to a plurality of data home devices each connected via a communication line, the data can be transferred at the same time. Even if ball commands are issued intensively to each data home device, the sending of the polling sequence is delayed according to the number of data home devices that are executing polling, and control is performed to prevent overload. The effect is great because it is possible to perform efficient processing using a low-cost communication control device. In addition, the communication control device is designed to perform other processes in addition to communication control, so it is effective because it eliminates the effect of other processes being stuck due to the intensive issuance of t1 polling commands. is big.

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

第1図はポーリング方式によるデータ転送を説明するだ
めのブロック図、第2図は従来のポーリング方式の各通
毎回線上の信号の時間関係を示す図、第3図は本発明の
1実施例を説明するブロック図、第4図は実施例につい
ての各通侶回線上の信号の時m]量関係示す因である。 1・・・中央処理装置、2・・・通信制御装置、31〜
3n・・・回線対応部、41〜4n・・・通信回想、5
1〜5n・・・データ宅円装置、61〜6fi、6’l
〜6′n・・・ポールコマンドの発出タイミング、71
〜7n、7′l〜7K 、、・ポーリングシーケンス、
Bl 、81 N  ”’〜8′n・・・リードコマン
ドの発出タイミング、91〜9i、9’l〜9′n・・
・転送データ、10・・・中央処理装置、11・・・記
憶装置、12・・・通信制御装置、15・・・チャネル
対応メモリ、141〜14n、151〜15n・・・通
信回線に対応する領域、16・・・コントロールメモリ
、17・・・マイクロプログラムロード域、1日・・・
遅延時間テーブル、19・・・処理レジスタ、20・・
・トラップレジスタ、21・・・カウンタ、22・・・
足前制御レジスタ、23・・・歩進回路、24・・・回
線番号レジスタ、25・・・受信文字バッファ、26・
・・送信文字バッファ、27・・・遅延回路
FIG. 1 is a block diagram for explaining data transfer by the polling method, FIG. 2 is a diagram showing the time relationship of signals on each communication line in the conventional polling method, and FIG. 3 is a diagram showing one embodiment of the present invention. A block diagram to be described, FIG. 4, shows the time/quantity relationship of signals on each communication line for the embodiment. 1... Central processing unit, 2... Communication control device, 31-
3n...Line support department, 41-4n...Communication recollection, 5
1~5n...Data delivery device, 61~6fi, 6'l
~6'n...pole command issuance timing, 71
~7n, 7'l~7K,,・Polling sequence,
Bl, 81 N''~8'n... Read command issuing timing, 91~9i, 9'l~9'n...
- Transfer data, 10...Central processing unit, 11...Storage device, 12...Communication control device, 15...Channel compatible memory, 141-14n, 151-15n...Corresponding to communication line Area, 16... Control memory, 17... Microprogram load area, 1 day...
Delay time table, 19...Processing register, 20...
・Trap register, 21... Counter, 22...
Front control register, 23... Step circuit, 24... Line number register, 25... Reception character buffer, 26...
...Transmission character buffer, 27...Delay circuit

Claims (1)

【特許請求の範囲】[Claims] それぞれ通信回線を経由して接続した複数のデータ宅内
装置に対してポーリングを行なってからデータの転送を
行なう通信制御装置において、並行してポーリングに係
る処理全行なっている通信回線の数を監視する手段を設
け、ポーリングの契機が生じたとき、該手段により現在
ポーリングに係る処理を行なっている通信回線の数を知
り、その値に応じて次のデータ宅内装置に対するポーリ
ングの開始時刻を調整することを特徴とするポーリング
制御方式。
A communication control device that polls multiple data home devices connected via communication lines and then transfers data, monitors the number of communication lines that are performing all polling-related processes in parallel. A means is provided, and when an opportunity for polling occurs, the number of communication lines currently undergoing processing related to polling is determined by the means, and the start time of polling for the next data home device is adjusted according to that value. A polling control method featuring:
JP3210583A 1983-02-28 1983-02-28 Polling control system Pending JPS59158152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3210583A JPS59158152A (en) 1983-02-28 1983-02-28 Polling control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3210583A JPS59158152A (en) 1983-02-28 1983-02-28 Polling control system

Publications (1)

Publication Number Publication Date
JPS59158152A true JPS59158152A (en) 1984-09-07

Family

ID=12349615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3210583A Pending JPS59158152A (en) 1983-02-28 1983-02-28 Polling control system

Country Status (1)

Country Link
JP (1) JPS59158152A (en)

Similar Documents

Publication Publication Date Title
US5175732A (en) Method and apparatus for controlling data communication operations within stations of a local-area network
US5659720A (en) Computer control device for managing a timer array
US5317692A (en) Method and apparatus for buffer chaining in a communications controller
US4593281A (en) Local area network interframe delay controller
JPH0731649B2 (en) Terminal server architecture
US4488232A (en) Self-adjusting, distributed control, access method for a multiplexed single-signal data bus
US7609688B2 (en) Serialized bus communication and control architecture
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
JPH02303242A (en) Bus repeater
US4612541A (en) Data transmission system having high-speed transmission procedures
EP0076401B1 (en) Self adjusting, distributed control, access method for a multiplexed single signal data bus
JPS59158152A (en) Polling control system
US20030093603A1 (en) Apparatus and method for responding to a interruption of a packet flow to a high level data link controller in a signal processing system
JPH11110335A (en) Communication system with interface and interface for communication system
EP0055741B1 (en) Input/output system and method of communication for peripheral devices in data processing system
JP2004213666A (en) Dma module and its operating method
JPH0313776B2 (en)
JPS59158151A (en) Polling control system
JPH0693685B2 (en) Frame selective reception method
JPS5913768B2 (en) Channel transfer control method
JPH0378066A (en) Data processor
JP3067155B2 (en) Data transfer device
JPS59158150A (en) Polling control system
JP3172196B2 (en) Communication control method
JPH058902B2 (en)