JPS59122257A - Polling method - Google Patents

Polling method

Info

Publication number
JPS59122257A
JPS59122257A JP23117882A JP23117882A JPS59122257A JP S59122257 A JPS59122257 A JP S59122257A JP 23117882 A JP23117882 A JP 23117882A JP 23117882 A JP23117882 A JP 23117882A JP S59122257 A JPS59122257 A JP S59122257A
Authority
JP
Japan
Prior art keywords
status signal
slave
slaves
polling
mask
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
JP23117882A
Other languages
Japanese (ja)
Inventor
Manabu Oda
学 織田
Yasunori Tarui
樽井 康典
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 JP23117882A priority Critical patent/JPS59122257A/en
Publication of JPS59122257A publication Critical patent/JPS59122257A/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 remove useless polling by using a slave status signal line independently of a data line in a data collecting method using polling. CONSTITUTION:A master M polls slaves S1-Sn to collect data. When respective slaves S1-Sn have signals to be transmitted, control circuits SC1-SCn control status signal sending circuits SSC1-SSCn to send transmission request signals to a status signal receiving circuit SRC in the master M. The master M detects slaves requesting transmission by the status signal receiving signal SRC and polls the slaves to receive the signals from the slaves by a data bus.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はスレーブに対しマスクが無効なポーリングをし
ないようにできるポーリング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a polling method that can prevent polling of slaves with invalid masks.

(2)従来技術と問題点 従来データ送受信用バス線を使用し、第1図に示すよう
に複数のスレーブがマスクと通信することは周知である
。第1図においてマスクMはマスク制御回路MCとポー
リング信号送出兼データ受信回路DRを有し、各スレー
ブ81〜Snに対し所定周期でポーリングを繰返してい
る。即ちマスクは、スレーブからのデータ送信要求の有
無を間合せるポーリング信号をデータバスDBを介して
スレーブの数だけ順次送信する必要がある。そのためス
レーブ側が成るポーリング時に送信要求「無」と応答し
、その直後に「有」となったとしても、マスクはその事
実に関係なく他のスレーブに対し順次の予定ポーリング
を続け、再び第1番スレーブからポーリングしてくるこ
とを待つ必要がある。スレーブSl〜SnにおけるDS
の部分はデータ送受信回路、SCの部分はスレーブ制御
回路である。したがってスレーブから見るとデータ送信
要求が発生してからマスクへデータ送信できるまでの時
間が長くかかること、またマスクから見るとデータ送信
要求の有無に関係なくポーリングをして行くためポーリ
ング時間はスレーブの個数に比例して長時間となる欠点
があった。
(2) Prior Art and Problems It is well known that a plurality of slaves communicate with a mask as shown in FIG. 1 using a conventional data transmission/reception bus line. In FIG. 1, a mask M has a mask control circuit MC and a polling signal sending/data receiving circuit DR, and polls each slave 81 to Sn at a predetermined period. That is, the mask needs to sequentially transmit polling signals corresponding to the number of slaves via the data bus DB to determine whether there is a data transmission request from the slave. Therefore, even if the slave side responds with "no" to the transmission request during polling, and immediately becomes "yes", the mask will continue to perform scheduled polling on other slaves in order, regardless of that fact, and will return to the first one again. It is necessary to wait for polling from the slave. DS in slaves Sl to Sn
The part indicated by is a data transmitting/receiving circuit, and the part indicated by SC is a slave control circuit. Therefore, from the slave's point of view, it takes a long time from when a data transmission request occurs until data can be sent to the mask, and from the mask's point of view, polling continues regardless of whether there is a data transmission request, so the polling time is longer than the slave's. There was a drawback that it took a long time in proportion to the number of pieces.

(3)発明の目的 本発明の目的は前述欠点を改善し、マスクが各スレーブ
に対し無効なポーリングをすることを極力なくすように
してポーリング方式を提供することにある。
(3) Object of the Invention An object of the present invention is to improve the above-mentioned drawbacks and to provide a polling method in which the mask performs invalid polling on each slave as much as possible.

(4)発明の構成 前述の目的を達成するための本発明の構成は、複数のス
レーブとマスク間にデータ送受信用バスを設げ、マスク
が所定周期毎にスレーブをポーリングしてデータ送信要
求の有無を間合せるポーリング方式において、スレーブ
とマスク間に前記データ送受信用バスとは独立したスレ
ーブ・ステータス信号線に対するステータス信号送出装
置を具備することである。
(4) Structure of the Invention The structure of the present invention to achieve the above-mentioned object is to provide a data transmission/reception bus between a plurality of slaves and a mask, and the mask polls the slaves at predetermined intervals to receive data transmission requests. In the polling method for checking the presence/absence, a status signal sending device for the slave status signal line is provided between the slave and the mask, which is independent of the data transmission/reception bus.

(5)発明の実施例 第2図は本発明の一実施例を示す構成図で、第1図と同
一符号は同様のものを示す。STLはステータス信号線
を示し、各スレーブの状態特にデータ送信要求有りを示
す状態を送出する線、SSCば各スレーブに設けられス
テータス信号を送出する回路、SRCはマスクに設けら
れステータス信号の受信回路を示す。
(5) Embodiment of the Invention FIG. 2 is a block diagram showing an embodiment of the present invention, and the same reference numerals as in FIG. 1 indicate the same parts. STL is a status signal line, which sends out the status of each slave, especially the status indicating a data transmission request, SSC is a circuit provided in each slave to send out a status signal, and SRC is a status signal reception circuit provided in a mask. shows.

今スレーブにおいてデータ送信要求を行うとき、スレー
ブ制御回路SCはステータス信号送出回路SSCからス
テータス信号線を介し、マスクへ状態信号を送出する。
When a data transmission request is made in the slave, the slave control circuit SC sends a status signal from the status signal sending circuit SSC to the mask via the status signal line.

マスクのステータス信号受信回路SRCはステータス信
号を受信し送信先を特定しておく。マスクがポーリング
を始めるときはスレーブからのステータス信号を受信回
路SRCにおいて調べて要求のあったスレーブに対して
のみ直接ポーリングを行うことによりスレーブからのデ
ータ送信はマスクのデータ受信回路DRで素早く受信で
きる。
The status signal receiving circuit SRC of the mask receives the status signal and specifies the transmission destination. When the mask starts polling, the receiving circuit SRC checks the status signal from the slave and directly polls only the requested slave, allowing the mask's data receiving circuit DR to quickly receive data sent from the slave. .

ステータス信号受信回路SRC使用の他のやり方として
は、ポーリングを第1図と同様に常時行い、またスレー
ブに対しスレーブ81〜Snの順序で優先順位をつけて
おき、或スレーブに対しポーリングしてデータ送信要求
のないとき、次のスレーブにポーリングをかける前にス
テータス信号受信回路SRCを参照して優先順位が高く
てデータ送信要求のあるスレーブを見出す。若し優先順
位の高い方のスレーブからステータス信号が上がってい
れば順序を変え直くポーリングを行う。優先順位の低い
スレーブがステータス信号を発しているときは通常の順
序でポーリング先を選択して行く。
Another way to use the status signal receiving circuit SRC is to perform polling all the time as shown in Figure 1, prioritize the slaves in the order of slaves 81 to Sn, and poll a certain slave to receive data. When there is no transmission request, before polling the next slave, the status signal receiving circuit SRC is referred to to find a slave having a high priority and requesting data transmission. If the status signal is rising from the slave with higher priority, the order is changed and polling is performed again. When a slave with a lower priority is emitting a status signal, polling destinations are selected in the normal order.

或いはポーリング順序を一定しておき、ポーリング開始
前にステータス信号受信回路SRCを見て最寄りのスレ
ーブにポーリングをかけ、次に順序に従ってその方向の
スレーブでステータス信号を発したものを選択して行(
。そして次のポーリング開始前に再び受信回路SRCを
見て同様の操作をする。
Alternatively, the polling order can be fixed, and before polling starts, check the status signal receiving circuit SRC and poll the nearest slave, and then select the slave in that direction that has issued the status signal according to the order (
. Then, before starting the next polling, the user looks at the receiving circuit SRC again and performs the same operation.

(6)発明の効果 このようにして本発明によるとポーリング周期を守って
當に順次のポーリングを実行することなく、送信要求の
あるスレーブに対してのみポーリングできるため、マス
クから見るとシステム全体に無駄なポーリングを含めポ
ーリングする必要がないし、スレーブから見ると送信要
求有のステータス信号を上げてから応答が直く返ってく
る。したがって情報処理がスムーズになる効果を有する
(6) Effects of the Invention In this way, according to the present invention, it is possible to poll only the slaves that have a transmission request without observing the polling cycle and performing sequential polling. There is no need for polling, including unnecessary polling, and from the slave's perspective, a response is returned immediately after raising the status signal indicating that a transmission request has been made. Therefore, it has the effect of making information processing smoother.

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

第1図は従来のポーリング方式を説明するための図、第
2図は本発明の一実施例の構成を示す図である。 M−マスク、Sl−Sn−スレーブ。 MC−マスク制御回路。 DR−データ受信回路。 DS−−−データ送信回路。 SC−スレーブ制御回路。 DB−データハ′ス。 5TL−ステータス信号線5 S S C−−ステータス信号送出回路。 S RC−−・ステータス信号受信回路特許出願人  
  富士通株式会社 代理人     弁理士 鈴木栄祐 手続補正書動却 昭和58年 4月/Lf日 特許庁長官 若杉和夫殿 1、事件の表示 昭和57年特許願第231178号 2、発明の名称 ポーリング方式 3?ili正をする者 事件との関係  特許出願人 住所  神奈川県用崎市中原区上小田中1015番地名
称    (522)  冨士通株式会社代表者 山 
本 車 眞 4、 代理人 住所  東京都渋谷区代々木2−13−3昭和58年 
3月29日 1、事件の表示 昭和57年特許願第231178号 2、発明の名称 ポーリング方式 3、?*正をする者 事件との関係  特許出願人 住所  神奈川県用+blK市中原区上小田中1015
番地名称  (522)  富士通株式会社代表者 山
 本 卓 眞 4、 代理人 住所   東京都渋谷区代々木2−13−3第−広田ビ
ル3階 請求の範囲」を別紙のとおり補正する。 特許請求の範囲 複数のスレーブとマスク間にデータ送受信用バスを設け
、マスクが所定周期毎にスーに−ブをポーリングしてデ
ータ送信要求の有無を間合せるポーリング方式において
、スレーブとマスク間に前記データ送受信用パスとは独
立したスレーブ・ステータス信号線を一没げ、各スレー
ブは該ステータス信号線に対するステータス信号送出装
置を具備することを特徴とするポーリング方式。
FIG. 1 is a diagram for explaining a conventional polling method, and FIG. 2 is a diagram showing the configuration of an embodiment of the present invention. M-mask, Sl-Sn-slave. MC-mask control circuit. DR-Data receiving circuit. DS---Data transmission circuit. SC-Slave control circuit. DB-data bus. 5TL-Status signal line 5 SSC--Status signal sending circuit. S RC--Status signal receiving circuit patent applicant
Fujitsu Limited Agent Patent Attorney Eisuke Suzuki Motion of Procedural Amendment April 1980/Lf Date Commissioner of the Japan Patent Office Mr. Kazuo Wakasugi 1, Indication of Case 1983 Patent Application No. 231178 2, Name of Invention Polling Method 3? Relationship with the case of a person who commits illegal acts Patent applicant address 1015 Kamiodanaka, Nakahara-ku, Yozaki City, Kanagawa Prefecture Name (522) Fujitsu Co., Ltd. Representative Yama
Book car Makoto 4, agent address 2-13-3 Yoyogi, Shibuya-ku, Tokyo 1982
March 29th 1, Incident Display 1982 Patent Application No. 231178 2, Name of Invention Polling Method 3, ? *Relationship with the corrective case Patent applicant address: For Kanagawa Prefecture + 1015 Kamiodanaka, Nakahara-ku, BLK City
Address Name (522) Fujitsu Limited Representative Takashi Yamamoto 4, Agent Address 3rd Floor, Hirota Building, 2-13-3 Yoyogi, Shibuya-ku, Tokyo, Scope of Claims is amended as shown in the attached sheet. Claims: A polling method in which a data transmission/reception bus is provided between a plurality of slaves and a mask, and the mask polls the bus at predetermined intervals to check whether there is a data transmission request. A polling method characterized in that a slave status signal line independent of a data transmission/reception path is sunk, and each slave is equipped with a status signal sending device for the status signal line.

Claims (1)

【特許請求の範囲】[Claims] 複数のスレーブとマスク間にデータ送受信用バスを設け
、マスクが所定周期毎にストーブをポーリングしてデー
タ送信要求の有無を間合せるポーリング方式において、
スレーブとマスク間に前記データ送受信用バスとは独立
したスレーブ・ステータス信号線を設け、各スレーブは
該ステータス信号線に対するステータス信号送出装置を
具備することを特徴とするポーリング方式。
In the polling method, a data transmission/reception bus is provided between multiple slaves and the mask, and the mask polls the stove at predetermined intervals to check whether there is a data transmission request.
A polling method characterized in that a slave status signal line independent of the data transmission/reception bus is provided between the slave and the mask, and each slave is provided with a status signal sending device for the status signal line.
JP23117882A 1982-12-28 1982-12-28 Polling method Pending JPS59122257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23117882A JPS59122257A (en) 1982-12-28 1982-12-28 Polling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23117882A JPS59122257A (en) 1982-12-28 1982-12-28 Polling method

Publications (1)

Publication Number Publication Date
JPS59122257A true JPS59122257A (en) 1984-07-14

Family

ID=16919534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23117882A Pending JPS59122257A (en) 1982-12-28 1982-12-28 Polling method

Country Status (1)

Country Link
JP (1) JPS59122257A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0193942A (en) * 1987-10-06 1989-04-12 Sumitomo Electric Ind Ltd Data transmission method
JPH0578925A (en) * 1991-09-19 1993-03-30 Murata Mach Ltd Communication control method
EP0589509A2 (en) * 1992-09-24 1994-03-30 International Business Machines Corporation Polling-type digital communications system having pseudo-balanced mode
WO2001082550A3 (en) * 2000-04-25 2003-11-06 Inari Inc Multi-channel power line exchange protocol
US7257662B2 (en) 2003-07-02 2007-08-14 Fujitsu Limited Status reporting apparatus and status reporting method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0193942A (en) * 1987-10-06 1989-04-12 Sumitomo Electric Ind Ltd Data transmission method
JPH0578925A (en) * 1991-09-19 1993-03-30 Murata Mach Ltd Communication control method
EP0589509A2 (en) * 1992-09-24 1994-03-30 International Business Machines Corporation Polling-type digital communications system having pseudo-balanced mode
EP0589509A3 (en) * 1992-09-24 1994-11-30 Ibm Polling-type digital communications system having pseudo-balanced mode.
WO2001082550A3 (en) * 2000-04-25 2003-11-06 Inari Inc Multi-channel power line exchange protocol
US7310670B1 (en) 2000-04-25 2007-12-18 Thomson Licensing S.A. Multi-channel power line exchange protocol
US7257662B2 (en) 2003-07-02 2007-08-14 Fujitsu Limited Status reporting apparatus and status reporting method

Similar Documents

Publication Publication Date Title
FI100834B (en) Data communication processor for packet switching networks
US5761405A (en) Data integrity guarantee system
US5167019A (en) Apparatus and method for interconnecting a plurality of devices to a single node in a node-limited serial data bus computer network
JPS59122257A (en) Polling method
JPS634379B2 (en)
JPH0239144B2 (en)
JPH0564384B2 (en)
KR0165440B1 (en) Polling communication method
JPS63155249A (en) Inter-equipment communication system
JPS5858631A (en) Multibus system
JPH04505993A (en) hybrid data communication system
JPS6347023B2 (en)
JP2758752B2 (en) Common bus contention arbitration method
JPS593642Y2 (en) data transmission equipment
JPS6055463A (en) Multiprocessor system
JPH04106651A (en) Controller for system bus
JP2917369B2 (en) Line network controller
JPH0983579A (en) Detecting/notifying method for busy state of communication system
JP3105097B2 (en) Transparent communication driver
JPH0582100B2 (en)
JPH0583297A (en) Packet transfer system
JPS594053B2 (en) Failure notification method
JPH08297629A (en) Bus repeater
JPH043544A (en) Multiplex transmission system
JPS62239639A (en) Data collection system