JPH0286345A - High-speed polling communication method - Google Patents

High-speed polling communication method

Info

Publication number
JPH0286345A
JPH0286345A JP23818388A JP23818388A JPH0286345A JP H0286345 A JPH0286345 A JP H0286345A JP 23818388 A JP23818388 A JP 23818388A JP 23818388 A JP23818388 A JP 23818388A JP H0286345 A JPH0286345 A JP H0286345A
Authority
JP
Japan
Prior art keywords
terminal
polling
terminals
data
center
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
JP23818388A
Other languages
Japanese (ja)
Inventor
Ryoichi Nakada
亮一 中田
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 JP23818388A priority Critical patent/JPH0286345A/en
Publication of JPH0286345A publication Critical patent/JPH0286345A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概 要〕 本発明はセンタより全端末に間合せ信号を発してデータ
をもつ端末と通信を行なうポーリング通信方式に関し、 データをもつ端末の待ち時間を十分小さくするようにし
た高速ポーリング通信方式を提供することを目的とし、 センタより全端末に対し同時に問合せ信号を送る同時ポ
ーリングを行ない、 該同時ポーリングに対し、各端末は応答データが存在す
る場合のみ、それぞれに予め指定された遅延タイミング
で応答を行ない、 次にセンタは該応答のあった端末を含むようにポーリン
グを行ない通常のデータ通信を行なうようにした構成と
する。
[Detailed Description of the Invention] [Summary] The present invention relates to a polling communication method in which a timing signal is issued from a center to all terminals to communicate with terminals that have data, and the present invention is concerned with a polling communication method in which a timing signal is issued from a center to all terminals to communicate with terminals that have data. The purpose of this is to provide a high-speed polling communication method that allows the center to simultaneously send inquiry signals to all terminals.In response to the simultaneous polling, each terminal sends an inquiry signal in advance to each terminal only when there is response data. The configuration is such that a response is made at a specified delay timing, and then the center performs polling to include the terminal that received the response and performs normal data communication.

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

本発明はセンタより全端末に間合せttS号を発してデ
ータをもつ端末と通信を行なうボーりング通信方式に関
するものである。
The present invention relates to a boring communication system in which a center issues a timing ttS signal to all terminals to communicate with terminals that have data.

〔従来の技術〕[Conventional technology]

従来、1センタに対し、多数端末を接続した場合、たと
えば第4図(α)に示す端末1〜nを多分岐する方式、
または同図(6)に示すいもづる式に接続した場合にお
いて、センタ側に十分なチャネル容量をもたない通信方
式として、ボーりング通信方式が用いられる。
Conventionally, when a large number of terminals are connected to one center, for example, a method of branching out terminals 1 to n as shown in FIG. 4 (α),
Alternatively, in the case of the continuous connection shown in FIG. 6 (6), a boring communication method is used as a communication method that does not have sufficient channel capacity on the center side.

すなわち、センタより順次端末に間合せ(ENQ)を送
り、データをもつ端末があれば、これと通信する。この
場合間合せ(ENQ)の送出をポーリングという。
That is, the center sequentially sends an inquiry (ENQ) to the terminals, and if there is a terminal that has data, it communicates with it. In this case, sending the ENQ is called polling.

従来のポーリング通信方式は、第4図(6)に示すよう
に、センタより全端末1.2・・・鴇に対し順次ENQ
を発しACKを得て次に移p1データがあれば、′この
処理を行なう。たとえば端末1は空ポーリングであシ、
端末2にデータがある場合には、このデータの処理(や
シとシ)を行なった後、端末5に移る。これを端末nま
で行なうプロセスを繰返す。
In the conventional polling communication method, as shown in Figure 4 (6), the center sends an ENQ to all terminals 1.2...
If an ACK is obtained and there is p1 data, then this process is performed. For example, terminal 1 uses empty polling,
If there is data in the terminal 2, the data is processed and then transferred to the terminal 5. This process is repeated up to terminal n.

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

上記従来のポーリング方式では、データをもつ端末がポ
ーリングを受取るまでの待ち時間は、端末数が少ない場
合には問題とならないが、端末数が数百にも及ぶ場合に
はか々シの待ち時間を生じ、システムの能力を低下させ
る。
In the conventional polling method described above, the waiting time until a terminal with data receives a poll is not a problem when the number of terminals is small, but when the number of terminals is in the hundreds, the waiting time is considerable. and reduce system performance.

本発明の目的は、データをもつ端末の待ち時間を十分小
さくするようにした高速ポーリング通信方式を辺供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a high-speed polling communication system that sufficiently reduces the waiting time of terminals that have data.

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

前記目的を達成するため、第1図の要部の流れ図に示す
ように、センタより全端末に対し同時に間合せ信号を送
る同時ポーリング■を行ない、該同時ポーリングに対し
、各端末は応答データが存在する場合のみ、それぞれに
予め指定された遅延タイミングで応答■を行ない、 次にセンタは該応答のあった端末を含むようにポーリン
グ■を行ない通常のデータ通信を行なうようにした構成
とする。
In order to achieve the above objective, as shown in the main flowchart in Figure 1, simultaneous polling (2) is carried out in which the center simultaneously sends a timing signal to all terminals, and in response to the simultaneous polling, each terminal receives response data. Only if there is a terminal, a response (2) is made at a predetermined delay timing for each terminal, and then the center performs polling (2) to include the terminal that has responded, and normal data communication is performed.

〔作 用〕[For production]

上記■の同時ポーリングに対し■の応答を正確に内容識
別することは困難であるが、凡そのタイミンクは認識で
きる。そこで■0応答のありた端末を含むように直前端
末からポーリングする■でデータ通信ができる。従って
データのない端末に対する空ポーリングを殆ど省くこと
Kなる。従って、端末数が多い場合には最初の同時ポー
リング■の時間を含めても全体として高速化できる。
Although it is difficult to accurately identify the contents of the response (2) to the simultaneous polling (2) above, the general timing can be recognized. Therefore, data communication can be performed by performing polling from the previous terminal to include the terminal that received a 0 response. Therefore, most of the idle polling for terminals with no data can be omitted. Therefore, when there are many terminals, the overall speed can be increased even if the time for the first simultaneous polling (2) is included.

〔実施例〕〔Example〕

第2図は本発明の実施例の動作説明図であ〕、第1図に
対する具体例による詳細説明図である。
FIG. 2 is an explanatory diagram of the operation of the embodiment of the present invention] and is a detailed explanatory diagram of a specific example with respect to FIG.

、同図において、まずセンタより全端末1〜%に対し同
時間合せ(ENQj)コード■を送出する。各端末は割
当てられた順遅れタイミングでデータをもつ端末のみが
ろ答する。
, In the figure, first, the center sends the same time alignment (ENQj) code ■ to all terminals 1 to %. Each terminal responds only to terminals that have data at the assigned sequential delay timing.

この時間Tはたとえば順遅れタイミングを200μaと
し200端末とすれば40m5程度である。
This time T is about 40 m5, for example, if the forward delay timing is 200 μa and there are 200 terminals.

いま、図示のように端末5.端末n−5がデータをもつ
ため応答■、■があったとする。この場合データをもた
ない端末は応答■は出さない、センタでは応答■、■を
認識するがその内容でなくそのタイミングのみ認識され
る。しかしこの時間Tにおけるタイミングの!?!識は
タイ安ング誤差や回線の状態によフ必ずしも正確ではな
いから対象端末5が必ず含まれるように、■の応答に対
しては端末2からポーリングを開始する。
Now, as shown in the figure, terminal 5. Assume that terminal n-5 has data, so there are responses ■ and ■. In this case, the terminal that does not have the data does not issue the response ■, and the center recognizes the responses ■ and ■, but only the timing, not the content, is recognized. But the timing at this time T! ? ! Since this information is not always accurate due to timing errors and line conditions, polling is started from terminal 2 in response to the response (2) so that target terminal 5 is always included.

従って端末20ENQ■、ACK■の空ポーリングを経
【、端末3のポーリング(ENQ2−1)■を行ない端
末3よりACKに引続きデータ通信が行なわれる。
Therefore, after empty polling of the terminal 20 ENQ (ENQ) and ACK (2), polling (ENQ2-1) (2) of the terminal 3 is performed, and data communication is performed following the ACK from the terminal 3.

次の対象端末n−5K対しても同様に端末n−4からポ
ーリングを開始しく■、■)、対象端末n−5のポーリ
ング[株]とデータ通信を行なうものである。
For the next target terminal n-5K, polling is similarly started from the terminal n-4 ((1), (2)), and data communication is performed with the polling [shares] of the target terminal n-5.

いま、端末n−5の時間遅れを従来と比較してみると、
s冨200とし、空ポーリング時間を5ms。
Now, if we compare the time delay of terminal n-5 with the conventional one,
The s depth is 200, and the empty polling time is 5ms.

データを52m5とすれtK、従来は端末3の外全部空
ポーリングであるから 32+3x195麿617m5 であるのに対し、本発明では 40+3+32−75倶S となシ、待ち時間を格段に小さくすることができる。
If the data is 52 m5, the conventional method is 32 + 3 x 195 times 617 m5 due to the empty polling of terminal 3, but in the present invention it is 40 + 3 + 32 - 75 times, and the waiting time can be significantly reduced. .

第3図は本発明の実施例の構成説明図である。FIG. 3 is an explanatory diagram of the configuration of an embodiment of the present invention.

同図のセンタ10内にはCPU11の制御下に間合せコ
ード(ENQ)を出力する通信回路12と、端末201
〜20%への通信線を同時または任意に切替える通信切
替回路13を有し、両回路12.13の出力をそれぞれ
入力するANDゲート141〜14mを介して端末(1
)20t→20勢に入力し、それぞれに予め定められた
順遅れ時間、たとえば200μs毎に応答が行なわれ、
応答信号は通信回路12に入力する。
In the center 10 of the figure, there is a communication circuit 12 that outputs an availability code (ENQ) under the control of the CPU 11, and a terminal 201.
It has a communication switching circuit 13 that simultaneously or arbitrarily switches the communication lines to 20% and 20%, and connects the terminal (1
) 20t→20 units, and a response is made for each predetermined sequential delay time, for example, every 200 μs,
The response signal is input to the communication circuit 12.

上記構成において、CPU11は通信切替回路13に対
し、全端末への同時ポーリングを指令し、通信回路12
より問合せCENQ)コードをANDゲート141〜1
411を介して端末201〜20s K送出する。
In the above configuration, the CPU 11 instructs the communication switching circuit 13 to simultaneously poll all terminals, and
Inquiry CENQ) AND gate 141~1
411 to the terminals 201 to 20s K.

ENQを受信した各端末で、送出すべきデータをもつも
のは、自端末に割出てられた時間の後、応答を送出する
Each terminal that receives the ENQ and has data to send sends a response after the time determined by the terminal itself.

この各端末201〜20g&に割当てられている時間の
設定は次のようにして行なわれる。各端末201〜20
%には自端末の番号を設定するためのスイッチ群が設け
られており、このスイッチ群の各スイッチのオン、オフ
の組合せにより、その自端末の端末番号が設定されてい
るので各端末20.〜20%では、自端末に設けられて
いるスイッチ群の各スイッチのオン、オフ状態信号が自
端末内の演算器に入力される。この演算器は、入力され
るスイッチ群のオン、オフ信号で表わされる自端末の端
末番号に予め定められている一定の数値を掛は合わせて
出力する。この出力値が前述の各端末に割当てられてい
る時間となる。
Setting of the time allocated to each of the terminals 201 to 20g& is performed as follows. Each terminal 201-20
% is provided with a switch group for setting the number of its own terminal, and the terminal number of its own terminal is set by the combination of on and off of each switch in this switch group, so each terminal 20. ~20%, the on/off state signals of each switch in the switch group provided in the own terminal are input to the arithmetic unit within the own terminal. This arithmetic unit multiplies the terminal number of its own terminal represented by the on/off signals of the input switch group by a predetermined constant value and outputs the result. This output value becomes the time allocated to each terminal mentioned above.

ENQを送出したCPU11は通信回路13により、受
信信号を監視し、信号の受信があればそのタイミングを
記憶する。
The CPU 11 that sent the ENQ monitors the received signal using the communication circuit 13, and if a signal is received, the timing is stored.

端末に割出てた時間TO後、CPUは記憶により応答し
た端末の凡その番号を割出し、たとえばその直前の端末
よりポーりングを開始しデータ通信を待時間を極力小さ
くシ【行なうことができる。
After the time specified for the terminal, the CPU determines from memory the approximate number of the terminal that responded, and, for example, starts polling from the terminal immediately before it, thereby minimizing the waiting time for data communication. can.

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

以上説明したように、本発明によれば、従来のポーリン
グでは、データをもたない端末への空ポーリングの時間
のため前述の例で示したように、とくに多数の端末数の
場合後に並ぶ端末では待時間が非常に多くなる0本発明
ではこれを櫃力省くようにしたものであるから、待時間
を最少限に留め高速ポーリングを行なうことができる。
As explained above, according to the present invention, in conventional polling, because of the idle polling time for terminals that do not have data, as shown in the above example, especially in the case of a large number of terminals, terminals lined up after However, since the present invention is designed to eliminate this problem, the waiting time can be kept to a minimum and high-speed polling can be performed.

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

l1g1図は本発明の要部の流れ図、第2図は本発明の
実施例の動作説明図、第3図は本発明の実施例の構成説
明図、第4図(α)〜(C)は従来例の説明図であ〕、
図中10はセンタ、11はCPU、 12は通信回路、
13は通信切替回路、141〜14%&家ANDゲート
、201〜20%は端末を示す。 本発明の要部の流れ図 第  1  図
Figure l1g1 is a flowchart of the main part of the present invention, Figure 2 is an explanatory diagram of the operation of the embodiment of the present invention, Figure 3 is a diagram explanatory of the configuration of the embodiment of the present invention, and Figures 4 (α) to (C) are This is an explanatory diagram of a conventional example.
In the figure, 10 is a center, 11 is a CPU, 12 is a communication circuit,
13 indicates a communication switching circuit, 141-14% & home AND gate, and 201-20% terminals. Flowchart of main parts of the present invention Fig. 1

Claims (1)

【特許請求の範囲】 センタより全端末に対し同時に間合せ信号を送る同時ポ
ーリングを行ない、 該同時ポーリングに対し、各端末は応答データが存在す
る場合のみ、それぞれに予め指定された遅延タイミング
で応答を行ない、 次にセンタは該応答のあった端末を含むようにポーリン
グを行ない通常のデータ通信を行なうようにしたことを
特徴とする高速ポーリング通信方式。
[Claims] Simultaneous polling is performed in which a timing signal is sent from the center to all terminals at the same time, and each terminal responds to the simultaneous polling at a predetermined delay timing, only when response data exists. A high-speed polling communication system characterized in that the center performs polling to include terminals that have responded and performs normal data communication.
JP23818388A 1988-09-22 1988-09-22 High-speed polling communication method Pending JPH0286345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23818388A JPH0286345A (en) 1988-09-22 1988-09-22 High-speed polling communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23818388A JPH0286345A (en) 1988-09-22 1988-09-22 High-speed polling communication method

Publications (1)

Publication Number Publication Date
JPH0286345A true JPH0286345A (en) 1990-03-27

Family

ID=17026400

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23818388A Pending JPH0286345A (en) 1988-09-22 1988-09-22 High-speed polling communication method

Country Status (1)

Country Link
JP (1) JPH0286345A (en)

Similar Documents

Publication Publication Date Title
KR920018567A (en) Data processing systems
US4145755A (en) Information transferring apparatus
EP0514080A2 (en) Transition signalling data communications
JPH03100806A (en) Data processing method and input/output device
JPH0286345A (en) High-speed polling communication method
JPS61161568A (en) Information transmission system
JP2708366B2 (en) Data processing system and auxiliary control device
JPH0644763B2 (en) Data transfer method
US5579483A (en) Communication controller for controlling multi-channel multiplex communication and having channel selection functions and memory for storing communication control data for each channel
JPS61194559A (en) Simultaneous use control unit for interactive processing
SU1411726A1 (en) Information input device
JPH05181628A (en) Print data receiving method and printer device using said receiving method
JP2752456B2 (en) Channel device
JPS61270952A (en) Data transmitting system
JPS59138147A (en) Data transmitter
KR100253790B1 (en) How to interface medium and large computer controller boards
JPS58101361A (en) Data processor
JPH0122300Y2 (en)
JPS6129069Y2 (en)
JPH027240B2 (en)
JPS6353666A (en) Peripheral controller for computer system
JPH0962506A (en) Pipeline arithmetic unit
JPS6282843A (en) Communication control equipment
JPS5831785B2 (en) Line polarity control method
JPS5818740A (en) Data transmitting device