JPS62204640A - Data communication system - Google Patents

Data communication system

Info

Publication number
JPS62204640A
JPS62204640A JP4620386A JP4620386A JPS62204640A JP S62204640 A JPS62204640 A JP S62204640A JP 4620386 A JP4620386 A JP 4620386A JP 4620386 A JP4620386 A JP 4620386A JP S62204640 A JPS62204640 A JP S62204640A
Authority
JP
Japan
Prior art keywords
transmission
transmission request
station
dependent
invitation
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
JP4620386A
Other languages
Japanese (ja)
Inventor
Morihiko Hayashi
守彦 林
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.)
Hitachi Ltd
Hitachi Information Technology Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Communication Systems Inc
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 Hitachi Ltd, Hitachi Communication Systems Inc filed Critical Hitachi Ltd
Priority to JP4620386A priority Critical patent/JPS62204640A/en
Publication of JPS62204640A publication Critical patent/JPS62204640A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To speed up the invitation of transmission by using the 2-division retrieval method to retrieve a subsequent station having a transmission request. CONSTITUTION:A control station CST divides subsequent stations ST1-STm into two groups and applies the sending invitation to one group. Since a subsequent station STi having a transmission request output the transmission request, the control station CST regards it as the absence of the transmission request in the group not applying the transmission invitation when no transmission request signal is received and repeats the 2-division transmission invitation of the group again to the group of the subsequent stations having the transmission request.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明はポーリング・セレクティング伝送制御手順に従
うデータ通信システムに係り、特に端末数が多い時にも
高速で送信勧誘を行なうことのできるポーリング方式の
データ通信システムに関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to a data communication system that follows a polling/selecting transmission control procedure, and particularly relates to a data communication system using a polling method that allows high-speed transmission solicitation even when there are a large number of terminals. Regarding communication systems.

〔発明の背景〕[Background of the invention]

従来のポーリング・セレクティング伝送制御手順に従う
データ通信システムにおいてポーリングの速度を速める
方法として、例えば特開昭59−160351  号公
報に示されるように、従属局からの応答を得る前に他の
従属局へのポーリング及びセレクティングを行なうこと
によりデータ伝送効率を高める方法が知られている。
As a method of increasing the speed of polling in a data communication system that follows the conventional polling/selecting transmission control procedure, for example, as shown in Japanese Patent Laid-Open No. 160351/1982, a method for increasing the speed of polling is to A method of increasing data transmission efficiency by polling and selecting is known.

しかしこの方法は従属局がそれぞれ独立した伝送線路に
より制御局に接続される場合にのみ適合できるものであ
り、バス形ネットワークには適用できない。またこの方
法はデータ伝送効率を高めることが目的であり、ポーリ
ング・セレクティングの伝送データそのものを少なくす
るものではないなどの問題点がある。
However, this method is applicable only when the dependent stations are connected to the control station through independent transmission lines, and cannot be applied to a bus type network. Further, this method has problems such as its purpose being to increase data transmission efficiency, and not to reduce the amount of data transmitted in polling/selecting itself.

(発明の目的〕 本発明の目的は、送信要求を持つ従属局を2分探索方法
により探索することにより送信要求を持つ従属局に対す
る送信勧誘を高速で行なえるようなポーリング方式のデ
ータ通信システムを提供することにある。
(Object of the Invention) An object of the present invention is to provide a polling-type data communication system that can perform a transmission invitation to a dependent station that has a transmission request at high speed by searching for a dependent station that has a transmission request using a binary search method. It is about providing.

〔発明の概要〕[Summary of the invention]

本発明は、ポーリング・セレクティング伝送制御手順に
従うデータ通信システムにおいて、従属局に送信要求信
号を出力する送信要求回路を設け、かつ制御局に前記送
信要求を検出する送信要求検出回路を設け、制御局は従
属局を2つのグループに2分して片方のグループに対し
送信勧誘を行ない、送信勧誘を受けた従属局のうちの送
信要求を持つ従属局は前記送信要求信号を出力するため
、制御局は送信勧誘の結果で送信要求信号を受信した時
には送信勧誘を行なやたグループ中に送信要求を持つ従
属局が存在すると見なし、また送信要求信号を受信しな
かった時には送信勧誘を行なわなかったグループ中に送
信要求を持つ従属局が存在すると見なして、再び送信要
求を持つ従属局の存在する側のグループに対してグルー
プの2分と送信勧誘の動作を繰り返すことにより、制御
局は複数の従属局の中から送信要求を持つ従属局を2分
探索の形式で高速に探索できるようにしたポーリング方
式のデータ通信システムである。
The present invention provides a data communication system according to a polling/selecting transmission control procedure, in which a transmission request circuit is provided for outputting a transmission request signal to a dependent station, and a transmission request detection circuit is provided for a control station to detect the transmission request. The station divides the dependent stations into two groups and invites one group to transmit, and among the dependent stations that receive the invitation, the dependent station that has a transmission request outputs the transmission request signal, so the control is performed. When a station receives a transmission request signal as a result of a transmission invitation, it assumes that there is a dependent station with a transmission request in the group that conducted the transmission invitation, and does not conduct a transmission invitation when it does not receive a transmission request signal. The control station assumes that there is a dependent station with a transmission request in the group, and repeats the operation of splitting the group into two and inviting transmission to the group in which the dependent station with a transmission request exists. This is a polling-based data communication system that can quickly search for a dependent station that has a transmission request from among the dependent stations in the form of a binary search.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.

第1因は本発明によるデータ通信システムの一実施例を
示す接続方式のブロック図である。
The first factor is a block diagram of a connection method showing an embodiment of a data communication system according to the present invention.

同図において、C5Tは制御局、ST1乃至5rntは
従属局を示し、これら制御局と各従属局は共通線fq、
CLによって並列化接続される。
In the figure, C5T is a control station, ST1 to ST5rnt are dependent stations, and these control stations and each dependent station share a common line fq,
They are connected in parallel by CL.

第2図は第1図の任意の従属局STiの構成を示すブロ
ック図である。同図において、RX−1は共通線路CL
上のデータを受信するデータ受信回路、T X −iは
共通線路CL上にデータを出力するデータ送信回路、C
C−1は制御回路、PT−iは共通線路上に送信要求信
号を出力する送信要求信号出力回路である。
FIG. 2 is a block diagram showing the configuration of an arbitrary dependent station STi in FIG. 1. In the same figure, RX-1 is connected to the common line CL
T X -i is a data transmitting circuit that outputs data onto the common line CL;
C-1 is a control circuit, and PT-i is a transmission request signal output circuit that outputs a transmission request signal onto the common line.

第3図は第1図の制御局C5Tの構成を示すブロック図
である。同図において、RXはデータ受信回路、rxは
データ送信回路、CCは制御回路、PRは共通線路上に
送信要求信号が出力されていることを検出して制御回路
CCに知らせる送信要求検出回路である。
FIG. 3 is a block diagram showing the configuration of control station C5T in FIG. 1. In the figure, RX is a data receiving circuit, rx is a data transmitting circuit, CC is a control circuit, and PR is a transmission request detection circuit that detects that a transmission request signal is output on the common line and notifies the control circuit CC. be.

ここで従属局ST1乃至5TrpLは例えば256台接
続され、これらは8ビツトの2進符号によりアドレスが
割り付けられ、制御局csrはこのアドレスを利用して
グループ分は及び送信勧誘を行なうものとし、つぎに本
発明によるデータ通信システムの動作の一例として従属
局ST風が送信勧誘により送信権を得るまでの動作を説
明する。
Here, for example, 256 dependent stations ST1 to 5TrpL are connected, and addresses are assigned to these using 8-bit binary codes, and the control station csr uses this address to solicit group transmissions. Next, as an example of the operation of the data communication system according to the present invention, the operation until the dependent station ST-like obtains the transmission right through a transmission invitation will be explained.

まず制御局csrにおいて、制御回路CCは共通線路(
、Lが空き状態になると、データ送信回路TXを用いて
送信勧誘を行なう。この送信勧誘は任意の従属局S T
 iのデータ受信回路RX−iにより検出され、その制
御回路CC−1に知らされる。この送信勧誘は従属局の
グループに対するものであり、アドレスの他にアドレス
の有効桁指定符号が付与されている。制御局csrの送
信する第1回めの送信勧誘はアドレスを2進符号で(0
0000000)Bとし、有行桁を上位1ビツトとする
。これはアドレスの上位1ビツトが0である従属局に対
し送“信勧誘を行なっていることを示し、全従属局をア
ドレスの(Olllllll)B 以下と(10000
000)a  以上に2分し、その片方である(011
11111)B以下の従属局グループに対し送信勧誘を
行なっていることを意味する。いま送信要求を持つ従属
局は例えばS T mのみとし、従属局sr隠のアドレ
スを(10001100)aとする。
First, in the control station csr, the control circuit CC is connected to the common line (
, L becomes vacant, the data transmission circuit TX is used to invite transmission. This invitation is sent to any slave station ST
i is detected by the data receiving circuit RX-i and notified to its control circuit CC-1. This transmission invitation is for a group of dependent stations, and in addition to the address, a code specifying the significant digits of the address is added. The first invitation sent by the control station csr has an address in binary code (0
0000000)B, and the leading digit is the upper 1 bit. This indicates that a request is being made to a dependent station whose address has a 0 in the upper 1 bit, and all dependent stations are sent to addresses below (Ollllllll)B and (10000).
000)a It is divided into two parts, and one of them is (011
11111) This means that a transmission invitation is being made to dependent station groups below B. For example, assume that the only dependent station that currently has a transmission request is S T m, and that the hidden address of dependent station sr is (10001100)a.

この従属局STmの制御口Bcc−,は前記送信勧誘を
受けると、有行桁である上位1ビツトのみでアドレスを
比較し、一致しないことから送信勧誘が他のグループに
対するものであることを知り、送信要求信号を出力しな
い。また他の従属局はアドレスにかかわらず送信要求を
持たないため、送信要求信号を出力しない。
When the control port Bcc- of this dependent station STm receives the invitation, it compares the addresses using only the high-order bit, which is a trailing digit, and since they do not match, it knows that the invitation is for another group. , does not output a transmission request signal. In addition, other dependent stations do not output transmission request signals because they do not have transmission requests regardless of their addresses.

したがって送信勧誘を行なった制御局csrの制御回路
CCは送信要求信号を検出しないことから、アドレスの
上位1ビツトが0である従属局の中に送信要求を持つ従
属局が存在しないこと、言い換えれば先に2分した従属
局グループのうちアドレスが(01111111)a 
 以下のグループ中には送信要求を持つ従属局が存在し
ないことを知る。これにより制御局csrの制御回路c
cはアドレスが(10000000)5  以上の従属
局のグループ中に送信要求を持つ従属局が存在すると考
え、送信勧誘のアドレスの最上位ビットをOから1に変
更して(10000000)B とし、制御局csrの
送信する第2回めの送信勧誘はアドレスを(10000
000)#  (!:し、有効桁を上位2ビツトとする
。これはアドレスの上位2ビツトが10である従属局に
対し送信勧誘を行っていることを示し、アドレスが(1
0000000)a  以上の従属局のグループをさら
にアドレスの(10111111)J 以下と(110
00000)II  以上に2分し、その片方である(
10111111)B 以下の従属局グループに対して
送信勧誘を行なっていることを意味する。従属局5Tr
rrは前記第2の送信勧誘を受けると、有効桁である上
位2ビツトのみでアドレスを比較する。この従属局S 
T mのアドレスは前述のように(10001100)
J  であるのでアドレスが一致することから、その制
御回路CC−mは送信勧誘が自局の属するグループに対
するものであることを知り、送信要求回路を介して共通
線路CL上に送信要求信号を出力する。
Therefore, since the control circuit CC of the control station csr that made the transmission invitation does not detect the transmission request signal, it means that there is no dependent station that has a transmission request among the dependent stations whose address has the upper 1 bit of 0. Among the dependent station groups previously divided into two, the address is (01111111)a
It is known that there are no dependent stations with transmission requests in the following groups. As a result, the control circuit c of the control station csr
C thinks that there is a dependent station with a transmission request in a group of dependent stations with addresses of (10000000)5 or more, and changes the most significant bit of the address of the invitation to send from O to 1, making it (10000000)B, and controls. The second invitation sent by station CSR has the address (10000
000) # (!: and the significant digits are the upper 2 bits. This indicates that a transmission invitation is being made to a dependent station whose upper 2 bits of the address are 10, and the address is (1
0000000)a A group of subordinate stations above and below address (10111111)J and below (110
00000) II It is divided into two parts, and one of them is (
10111111)B means that the following dependent station groups are invited to send. Dependent station 5Tr
When rr receives the second invitation to send, it compares the addresses using only the most significant two bits. This subordinate station S
As mentioned above, the address of T m is (10001100)
Since the addresses match, the control circuit CC-m knows that the transmission invitation is for the group to which it belongs, and outputs a transmission request signal onto the common line CL via the transmission request circuit. do.

この送信要求信号は制御局csrの送信要求検出回路P
Rにより検出され、その制御回路CCに伝えられる。し
たがって制御局csrの制御回路CCはアドレスの上位
2ビツトが10である従属局の中に送信要求を持つ従属
局が存在すること、言い換えれば先に2分したアドレス
が(10000000)B 以上の従属局グループのう
ちアドレスが(10111111)B 以下のグループ
中、すなわちアドレスが(xooooooo)aから(
10111111)B までのグループ中に送信要求を
持つ従属局が存在すると考え、送信勧誘のアドレスの最
上位から2番めのビットは変更せず、制御局csrの送
信する第3回めの送信勧誘はアドレスを(100000
00)fl  とし、有効桁を上位3ビツトとする。以
上の経過かられかるように送信勧誘からの一連の動作は
制御局csrが設定したアドレスに対し、各ビット対応
に比較−修正を行なっていることに他ならない。
This transmission request signal is transmitted to the transmission request detection circuit P of the control station csr.
R is detected and transmitted to its control circuit CC. Therefore, the control circuit CC of the control station csr recognizes that there is a dependent station with a transmission request among the dependent stations whose address has the upper 2 bits of 10, or in other words, the previously divided address is (10000000)B or more. Among the station groups, the address is (10111111)B or less, that is, the address is from (xoooooooo)a to (
10111111) Considering that there is a dependent station with a transmission request in the group up to B, the second most significant bit of the transmission invitation address is not changed, and the third transmission invitation sent by the control station csr is is the address (100000
00)fl, and the significant digits are the upper 3 bits. As can be seen from the above process, the series of operations from the invitation to send is nothing but comparing and modifying the address set by the control station csr for each bit.

したがって以下同様に8回の送信勧誘を繰り返すことに
より、制御局csrは必ず送信要求を持つ従属局S T
 mのアドレスを知ることができる。この例によれば、
制御局csrの送信する第8回めの送信勧誘はアドレス
(10001100)B で、有効桁は上位8ビツトす
なわち全桁有効となり、通常のポーリング・セレクティ
ング伝送制御手順における送信勧誘と同様にアドレスの
指定された従属局5TrI&は送信剖を得ることができ
る。仮に従属局S T mのアドレスが(100011
01)j  であったとしても、同様に第8回めの送信
勧誘はアドレス(looolloo)Bで、有効桁は上
位8ビツトとなるが、この送信勧誘に対する応答がない
ことから最下位ビットをOから1に変更してアドレス(
10001101)B 、有効桁を上位8ビツトとして
送信勧誘を行なえば従属局S T mに送信権を与える
ことができる。
Therefore, by repeating the invitation for transmission eight times in the same manner, the control station csr will always receive the dependent station ST that has a transmission request.
You can know the address of m. According to this example:
The 8th transmission invitation sent by the control station csr is address (10001100)B, and the most significant digits are the upper 8 bits, that is, all digits are valid, and the address is similar to the transmission invitation in the normal polling/selecting transmission control procedure. The designated dependent station 5TrI& can obtain the transmission information. Suppose that the address of dependent station S T m is (100011
01)j, the eighth invitation to send is address (looolloo)B, and the significant digits are the upper 8 bits, but since there is no response to this invitation, the least significant bit is omitted. Change from to 1 and add the address (
10001101)B If the transmission invitation is performed with the significant digits as the upper 8 bits, the transmission right can be given to the dependent station S T m.

以上のように複数N台の従属局が接続されるデータ通信
システムにおいて送信要求を持つ従属局に対して送信権
を与えるためには、従来のポーリング・セレクティング
伝送制御手順による方式では最大N回の送信勧誘が必要
であるのに対し、本発明による方式ではLo 、q t
/’/ + 1回の送信勧誘で必ず送信権を与えること
ができる。
As described above, in a data communication system where a plurality of N dependent stations are connected, in order to grant the transmission right to a dependent station that has a transmission request, the conventional method using the polling/selecting transmission control procedure requires a maximum of N times. In contrast, the method according to the present invention requires invitations to send Lo , q t
/'/ + Transmission rights can always be granted with a single invitation.

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

本発明によれば、従属局をグループ分けしてポーリング
動作を行ない、グループからの送信要求信号によりグル
ープの変更及びグループの範囲の縮小を行なうことによ
り、従来のポーリング・セレクティング伝送制御手順に
よる順次探索の効率の悪さを解消し、高速に送信要求を
持つ従属局への送信勧誘を行なうことができるため、ポ
ーリング方式におけるデータ通信のオーバーヘッドを非
常に小さくできる効果がある。
According to the present invention, dependent stations are divided into groups and polling operations are performed, and the group is changed and the range of the group is reduced in response to a transmission request signal from the group. Since the inefficiency of searching can be resolved and transmission invitations can be made to dependent stations having transmission requests at high speed, the overhead of data communication in the polling method can be greatly reduced.

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

第1図は本発明によるデータ通信システムの一実施例を
示す接続方式のブロック図、第2図は第1図の任意の従
属局STiの構成を示すブロック図、第3図は第1図の
制御局C5Tの構成を示すブロック図である。 CL・・・共通線路    csr・・・制御局ST1
乃至S T m・・・従属局 RX−i、RX・・・データ受信回路 TX−i、i’X・・・データ送信回路FT−i・・・
送信要求回路 PR・・・送信要求検出回路。
FIG. 1 is a block diagram of a connection system showing an embodiment of the data communication system according to the present invention, FIG. 2 is a block diagram showing the configuration of an arbitrary dependent station STi in FIG. 1, and FIG. FIG. 3 is a block diagram showing the configuration of a control station C5T. CL...Common line csr...Control station ST1
to S T m...Subordinate station RX-i, RX...Data receiving circuit TX-i, i'X...Data transmitting circuit FT-i...
Transmission request circuit PR...transmission request detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 単一の制御局に複数個の従属局を独立または共通した伝
送線路により接続し、前記制御局から前記各従属局に対
し送信勧誘を行ない、従属局間または制御局と各従属局
との間でデータ通信を行なうポーリング・セレクティン
グ伝送制御手順に従うデータ通信システムにおいて、前
記各従属局に送信要求信号を出力する送信要求回路を設
け、かつ前記制御局に前記送信要求信号が少なくとも1
つの従属局から出力されていることを検出する送信要求
検出回路を設け、前記制御局は前記従属局をグループ単
位でポーリングし、かつ送信要求をもつ各従属局は自局
の属するグループに対するポーリングが行なわれた時に
前記送信要求回路により送信要求信号を出力し、前記制
御局は前記送信要求検出回路により前記送信要求信号が
従属局から出力されていることを検出して従属局のグル
ープの変更及びグループの範囲の縮小を行なうことによ
り、高速に送信要求をもつ従属局への送信勧誘を行なう
ことを特徴とするポーリング方式のデータ通信システム
A plurality of dependent stations are connected to a single control station by independent or common transmission lines, and the control station invites each of the dependent stations to transmit, thereby transmitting information between the dependent stations or between the control station and each dependent station. In a data communication system according to a polling/selecting transmission control procedure in which data communication is performed at
A transmission request detection circuit is provided for detecting an output from one dependent station, and the control station polls the dependent stations in groups, and each dependent station having a transmission request polls the group to which it belongs. When the request is made, the transmission request circuit outputs a transmission request signal, and the control station detects that the transmission request signal is output from a dependent station by the transmission request detection circuit, and changes the group of dependent stations. A polling type data communication system characterized in that by reducing the range of a group, transmission invitations to dependent stations having a transmission request are performed at high speed.
JP4620386A 1986-03-05 1986-03-05 Data communication system Pending JPS62204640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4620386A JPS62204640A (en) 1986-03-05 1986-03-05 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4620386A JPS62204640A (en) 1986-03-05 1986-03-05 Data communication system

Publications (1)

Publication Number Publication Date
JPS62204640A true JPS62204640A (en) 1987-09-09

Family

ID=12740523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4620386A Pending JPS62204640A (en) 1986-03-05 1986-03-05 Data communication system

Country Status (1)

Country Link
JP (1) JPS62204640A (en)

Similar Documents

Publication Publication Date Title
CA1218437A (en) Method of polling to ascertain service needs
US4797881A (en) Bridge system for connecting networks
EP0537408B1 (en) Routing in a network of bridge-connected LAN segments
GB2222925A (en) Node processing system
EP0527335A2 (en) Dynamic switch protocols on a shared medium network
US5160929A (en) System for parallel communication of binary data via trinary transmission lines
EP0230549A2 (en) Linear-space signalling for a circuit-switched network
US6363083B1 (en) Bilevel node identifiers in control area network (CAN) protocol
JPS6199439A (en) Group address communication system
US4700342A (en) Remote repeater in transmission bus system
US6892247B2 (en) Method and system for active publishing using a slave assigned to a master system to detect, evaluate and make the message available to an application associated with the slave
JPH05506344A (en) RS232 communication link protocol
JPS62204640A (en) Data communication system
US7020156B2 (en) Multiple device communications
JPS58153442A (en) Data communication system
US4580239A (en) Remote station of a computer system
JPH0458215B2 (en)
US5117419A (en) System for controlling data transmission and reception in a network
JP2000029806A (en) Lan adaptor load distribution system for computer system
JP2656755B2 (en) ISDN terminal adapter
JPS59117353A (en) Communication system of bus constitution
JPS61200734A (en) Data transmission system
JPS6384334A (en) Data transmission system
JPS59161952A (en) Establishment of communication path
JPS58130649A (en) Data communication system