JPH04253439A - Polling system - Google Patents

Polling system

Info

Publication number
JPH04253439A
JPH04253439A JP951191A JP951191A JPH04253439A JP H04253439 A JPH04253439 A JP H04253439A JP 951191 A JP951191 A JP 951191A JP 951191 A JP951191 A JP 951191A JP H04253439 A JPH04253439 A JP H04253439A
Authority
JP
Japan
Prior art keywords
response
time
processing
polling
terminal device
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
JP951191A
Other languages
Japanese (ja)
Inventor
Fumio Shimada
文夫 島田
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 JP951191A priority Critical patent/JPH04253439A/en
Publication of JPH04253439A publication Critical patent/JPH04253439A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PURPOSE:To shorten time for polling with all the terminal equipment as much as possible by detecting the terminal equipment giving no response within minimum no response detection time for each terminal equipment having an individual response waiting timer value. CONSTITUTION:At a center equipment, the polling operation is executed by a set response waiting timer in a processing 11, response time until receiving a response command at such a time is measured (processing 12). Further, the measured response time is compared with the maximum value up to the preceding operation, and maximum value management (processing 13) is executed to store the larger one. By repeating this order rated times (processing 14) and deciding the maximum response time for each terminal equipment, the optimum response waiting time is calculated (processing 15) and in the following polling operation, the response waiting timer at each terminal equipment is activated (processing 16).

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はポーリングシステムに関
し、特にセンタ装置と複数の端末装置とを共通の回線を
介して接続し、センタ装置からの指令により順次に各端
末装置が応答するポーリングシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a polling system, and more particularly to a polling system in which a center device and a plurality of terminal devices are connected via a common line, and each terminal device responds sequentially to a command from the center device. .

【0002】0002

【従来の技術】従来のポーリングシステムは図3に示す
ように、センタ装置31と複数の端末装置(1〜3)3
2とが共通の回線33に接続される。センタ装置31は
、ある1台の端末装置のみを指定した指令コマンドを送
信し、これに該当する端末装置のみが応答し、応答コマ
ンドを送信するものである。ここで、センタ装置31に
おいては、端末装置32に対して指令コマンドを送信す
る毎に、内部処理において応答待タイマの起動をかけ、
当該端末装置からの応答コマンドが受信されない場合の
再送処理を行う手順を組み込んでいる。すなわち、セン
タ装置31において、指令コマンドを送信すると、ある
規定時間TR後にタイムアウトする応答待タイマを起動
し、応答コマンドの受信を待つが、規定時間TR以内に
応答コマンドを受信すると受信待タイマはリセットされ
、次の端末装置へのポーリング動作に移る。
2. Description of the Related Art As shown in FIG. 3, a conventional polling system includes a center device 31 and a plurality of terminal devices (1 to 3) 3.
2 are connected to a common line 33. The center device 31 transmits a command that specifies only one terminal device, and only the corresponding terminal device responds and transmits a response command. Here, in the center device 31, every time a command is sent to the terminal device 32, a response waiting timer is activated in internal processing,
It incorporates a procedure for retransmission processing when a response command is not received from the terminal device. That is, when the center device 31 sends a command, it starts a response wait timer that times out after a certain specified time TR and waits for the response command to be received, but if the response command is received within the specified time TR, the reception wait timer is reset. Then, the polling operation for the next terminal device is started.

【0003】次に、応答コマンドが受信されない場合に
ついて説明すると、指令コマンドが送信されることによ
って起動した受信待タイマは、応答コマンドが受信され
ないためにタイムアウトし、この後の再送処理では、同
一の指令コマンドを再送信し、再び応答待タイマを起動
する。この再送処理を規定回数N回繰り返しても応答コ
マンドが受信されない場合は、当該端末装置とのポーリ
ングを中止し、次の端末装置とのポーリング動作に移行
する。
[0003] Next, to explain the case in which a response command is not received, the reception wait timer started when the command command is sent times out because the response command is not received, and in subsequent retransmission processing, the same Retransmit the command and start the response waiting timer again. If a response command is not received even after repeating this retransmission process N times, the polling with the terminal device in question is stopped and the polling operation with the next terminal device is started.

【0004】0004

【発明が解決しようとする課題】上述した従来のポーリ
ングシステムにおいて、応答待タイマのタイムアウト時
間TRは固定値であり、この値は端末装置との1回のポ
ーリングにおけるセンタ装置の処理時間,端末装置の処
理時間,伝送遅延時間等の総和時間の最大値に余裕を含
んだ時間で決定される。すなわち、応答待タイマのタイ
ムアウトを使用した端末装置の無応答検出時間は、シス
テムにおける応答時間の最大の端末装置に左右され、こ
れより短時間で無応答が検出される端末装置でも一律に
最大タイマ値を採ることになる。このため、無応答端末
が複数あるポーリングシステムにおいては、一連のポー
リング動作を終了するのに長い時間がかかるという欠点
がある。
[Problems to be Solved by the Invention] In the conventional polling system described above, the timeout time TR of the response waiting timer is a fixed value, and this value is the processing time of the center device in one polling with the terminal device, The time is determined by including a margin in the maximum value of the total time of processing time, transmission delay time, etc. In other words, the time to detect no response from a terminal device using the timeout of the response waiting timer depends on the terminal device with the longest response time in the system; The value will be taken. Therefore, in a polling system with a plurality of unresponsive terminals, there is a drawback that it takes a long time to complete a series of polling operations.

【0005】[0005]

【課題を解決するための手段】本発明のポーリングシス
テムは、センタ装置と複数の端末装置とが共通の回線を
介して接続され、前記センタ装置からの指令により応答
するポーリングシステムにおいて、前記センタ装置の立
ち上げ時の一定期間で前記端末装置の各々との応答時間
を計測する手段と、計測した前記応答時間の前記端末装
置毎の最大値を記憶する手段と、前記一定期間終了後、
前記最大値をもとに演算された値をポーリングの応答待
タイマとする手段とを有する。
[Means for Solving the Problems] A polling system of the present invention is a polling system in which a center device and a plurality of terminal devices are connected via a common line and respond to a command from the center device. means for measuring the response time with each of the terminal devices during a certain period of time when starting up, means for storing a maximum value of the measured response time for each terminal device, and after the certain period ends,
and means for setting a value calculated based on the maximum value as a polling response waiting timer.

【0006】[0006]

【実施例】次に本発明について図面を参照して説明する
。図1は本発明の一実施例のセンタ装置におけるポーリ
ング動作のフローチャートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings. FIG. 1 is a flowchart of a polling operation in a center device according to an embodiment of the present invention.

【0007】本実施例において、処理11では設定され
た応答待タイマでポーリング動作を実施し、この時の応
答コマンドが受信されるまでの応答時間を計測し(処理
12)、更に計測した応答時間と前回までの最大値とを
比較して大きい方を記憶する最大値管理(処理13)を
行う。この手順を規定回数繰り返し(処理14)、各端
末装置毎の最大応答時間を決定することにより、最適な
応答待時間を演算し(処理15),以降のポーリング動
作においては、各端末装置毎の応答待タイマに起動をか
ける(処理16)。
In this embodiment, in process 11, a polling operation is performed using a set response waiting timer, and the response time until the response command is received at this time is measured (process 12). Maximum value management (process 13) is performed in which the maximum value is compared with the previous maximum value and the larger one is stored. By repeating this procedure a specified number of times (processing 14) and determining the maximum response time for each terminal device, the optimal response waiting time is calculated (processing 15). A response waiting timer is activated (process 16).

【0008】図2は本実施例におけるポーリング動作の
タイムチャートである。センタ装置31と端末装置(1
)とのポーリング動作は正常に行われ、端末装置(2)
と端末装置(3)は無応答を表わしている。端末(2)
とのポーリングでは、応答待タイマはタイマ値TR2で
あり、応答コマンドが受信されないためTR2のタイム
アウトで再送処理を行う。また、端末装置(3)とのポ
ーリングでは応答待タイマTR3でタイムアウトし、再
送処理を行う。
FIG. 2 is a time chart of the polling operation in this embodiment. Center device 31 and terminal device (1
) is performed normally, and the terminal device (2)
and the terminal device (3) indicates no response. Terminal (2)
In the polling, the response waiting timer is timer value TR2, and since no response command is received, retransmission processing is performed when TR2 times out. Further, in polling with the terminal device (3), the response waiting timer TR3 times out and retransmission processing is performed.

【0009】このようにすると、端末装置(1)から端
末装置(n)まで全て無応答の場合を想定すると、従来
のポーリングシステムにおける無応答検出時間の総和は
、TR(MAX)×(N+1)×nで表わされる。ここ
でTR(MAX)は従来のポーリングシステムにおける
応答待タイマ値,Nは再送回数,nは端末装置である。   一方、本実施例のポーリングシステムにおける無応
答検出時間の総和は式(1)で表わされる。
[0009] In this way, assuming that there is no response from terminal device (1) to terminal device (n), the total non-response detection time in the conventional polling system is TR (MAX) × (N + 1). It is expressed as xn. Here, TR(MAX) is the response waiting timer value in the conventional polling system, N is the number of retransmissions, and n is the terminal device. On the other hand, the total no-response detection time in the polling system of this embodiment is expressed by equation (1).

【0010】0010

【0011】ここで、TRiは端末装置(i)における
応答待タイマ値,Nは再送回数,nは端末装置である。 TR(MAX)はシステムにおける全端末装置に適用す
るため最大値であるため式(2)となり本実施例の目的
が達せられる。
[0011] Here, TRi is the response waiting timer value in the terminal device (i), N is the number of retransmissions, and n is the terminal device. Since TR(MAX) is the maximum value since it is applied to all terminal devices in the system, it becomes formula (2) and the purpose of this embodiment is achieved.

【0012】0012

【0013】[0013]

【発明の効果】以上説明したように本発明は、ポーリン
グシステムのセンタ装置が個別の応答待タイマ値を有す
る各端末装置毎に最小の無応答検出時間で無応答の端末
装置を検出することにより、全端末装置とのポーリング
時間を短縮できるという効果を有する。
As explained above, the present invention enables the center device of a polling system to detect a non-responsive terminal device in the minimum non-response detection time for each terminal device having an individual response waiting timer value. , it has the effect of shortening the polling time with all terminal devices.

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

【図1】本発明の一実施例のフローチャートである。FIG. 1 is a flowchart of an embodiment of the present invention.

【図2】本実施例のセンタ装置におけるポーリング動作
のタイムチャートである。
FIG. 2 is a time chart of polling operations in the center device of this embodiment.

【図3】従来のポーリングシステムの一例を示すブロッ
ク図である。
FIG. 3 is a block diagram showing an example of a conventional polling system.

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

31    センタ装置 32    端末装置 33    回線 ACK    応答コマンド POL    指令コマンド 31 Center device 32 Terminal device 33 Line ACK response command POL command command

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  センタ装置と複数の端末装置とが共通
の回線を介して接続され、前記センタ装置からの指令に
より応答するポーリングシステムにおいて、前記センタ
装置の立ち上げ時の一定期間で前記端末装置の各々との
応答時間を計測する手段と、計測した前記応答時間の前
記端末装置毎の最大値を記憶する手段と、前記一定期間
終了後、前記最大値をもとに演算された値をポーリング
の応答待タイマとする手段とを有することを特徴とする
ポーリングシステム。
1. A polling system in which a center device and a plurality of terminal devices are connected via a common line and respond to commands from the center device, wherein the terminal device means for measuring the response time for each of the terminal devices; means for storing the maximum value of the measured response time for each terminal device; and after the end of the certain period, polling a value calculated based on the maximum value. 1. A polling system comprising: a means for waiting for a response.
JP951191A 1991-01-30 1991-01-30 Polling system Pending JPH04253439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP951191A JPH04253439A (en) 1991-01-30 1991-01-30 Polling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP951191A JPH04253439A (en) 1991-01-30 1991-01-30 Polling system

Publications (1)

Publication Number Publication Date
JPH04253439A true JPH04253439A (en) 1992-09-09

Family

ID=11722274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP951191A Pending JPH04253439A (en) 1991-01-30 1991-01-30 Polling system

Country Status (1)

Country Link
JP (1) JPH04253439A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587277A2 (en) * 2004-04-15 2005-10-19 Sony Corporation Device, system and method for defining a response waiting time before timeout
US20110066722A1 (en) * 2009-09-15 2011-03-17 Akihiro Yamashita Device management apparatus, device management system, device management program, and storage medium
JP2016058323A (en) * 2014-09-11 2016-04-21 パナソニックIpマネジメント株式会社 Light control system and luminaire

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1587277A2 (en) * 2004-04-15 2005-10-19 Sony Corporation Device, system and method for defining a response waiting time before timeout
EP1587277A3 (en) * 2004-04-15 2006-03-01 Sony Corporation Device, system and method for defining a response waiting time before timeout
US20110066722A1 (en) * 2009-09-15 2011-03-17 Akihiro Yamashita Device management apparatus, device management system, device management program, and storage medium
JP2011065273A (en) * 2009-09-15 2011-03-31 Ricoh Co Ltd Apparatus, system, method and program for managing equipment, and storage medium
JP2016058323A (en) * 2014-09-11 2016-04-21 パナソニックIpマネジメント株式会社 Light control system and luminaire

Similar Documents

Publication Publication Date Title
US4547850A (en) Priority control method and apparatus for common bus of data processing system
CN109582616B (en) Communication system and method based on serial bus
JP2755359B2 (en) Terminal management system
US5742239A (en) Background arbitration monitoring to improve access on lightly consumed network
KR940006362A (en) Dual communication control
JPH04253439A (en) Polling system
US6954890B2 (en) System and method for increasing capacity in a noisy communication environment
JPH06101728B2 (en) Method of avoiding call collision of local network
JPH1013465A (en) Method and device for testing transmission line
JPH0530115A (en) Polling system
JP2001086141A (en) Evaluation device for usb function and usb function evaluation method
KR102446984B1 (en) Data transmission device and data transmission method
JP3844257B2 (en) Data communication device
JPS6326576B2 (en)
JPS6248831A (en) Communication control equipment
JP2821438B2 (en) Microcomputer
CA2631020C (en) Device network interface
JP2658984B2 (en) Optimal polling cycle learning method and polling processing unit
JP2985180B2 (en) Wireless communication device
JPH0234500B2 (en)
JP3461614B2 (en) Communication device and communication method for digital control device
JPS61227442A (en) Transmitter
JP2893850B2 (en) Serial data transmission method
JP2643832B2 (en) Propagation delay measurement method
JP2576783B2 (en) Contention control circuit for network termination equipment