JPS6239577B2 - - Google Patents

Info

Publication number
JPS6239577B2
JPS6239577B2 JP55017262A JP1726280A JPS6239577B2 JP S6239577 B2 JPS6239577 B2 JP S6239577B2 JP 55017262 A JP55017262 A JP 55017262A JP 1726280 A JP1726280 A JP 1726280A JP S6239577 B2 JPS6239577 B2 JP S6239577B2
Authority
JP
Japan
Prior art keywords
signal
polling
relay device
data
sent
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.)
Expired
Application number
JP55017262A
Other languages
Japanese (ja)
Other versions
JPS56115057A (en
Inventor
Masao Higuchi
Nobuyuki Ishida
Makoto Hirogami
Tokihide Hara
Ikuo Wakayama
Ryuichi Toki
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
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Original Assignee
Fujitsu Ltd
Hitachi Ltd
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
Nippon Electric Co 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, Hitachi Ltd, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd, Nippon Electric Co Ltd filed Critical Fujitsu Ltd
Priority to JP1726280A priority Critical patent/JPS56115057A/en
Publication of JPS56115057A publication Critical patent/JPS56115057A/en
Publication of JPS6239577B2 publication Critical patent/JPS6239577B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks

Description

【発明の詳細な説明】 本発明はデータ通信方式、さらに詳しく言え
ば、中継回線を介してポーリング方式により主端
末と従端末との間でデータ通信を行なうためのデ
ータ通信方式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data communication system, and more specifically, to a data communication system for performing data communication between a main terminal and a slave terminal by a polling method via a relay line.

ポーリング方式とは、主端末の一つの回線に複
数個の従端末を分岐接続し、該回線に主端末から
特定の一つの従端末を指定選択するポーリング信
号を送り、該ポーリング信号に対応する従端末の
みが、主端末に送信すべきデータを有する場合は
これを送出し、このデータを有しない場合はこれ
を表示する信号(後記の終結信号)を送出するも
のである。
In the polling method, multiple slave terminals are branch-connected to one line of the main terminal, a polling signal is sent from the main terminal to the line to designate and select a specific slave terminal, and a slave terminal corresponding to the polling signal is sent to the line. If only the terminal has data to be transmitted to the main terminal, it transmits it, and if it does not have this data, it transmits a signal indicating this (a termination signal to be described later).

この従来のポーリング方式を、上記主端末より
の回線が中継装置、中継線を含む中継回線の場合
に適用すれば、従端末が送るべきデータを有しな
いとき、ポーリング信号および送信すべきデータ
を有しないことを表示する終結信号が該中継回線
を伝送され、このため、中継回線の中継装置、中
継線のトラヒツク増をまねいたり、中継装置にお
けるポーリング信号の遅延による異常状態が生じ
たりする欠点を生ずる。従つて従来のポーリング
方式を主端末と従端末間の信号を中継装置を含む
中継回線を経て伝送しなければならないようなシ
ステムに適用することは困難であつた。
If this conventional polling method is applied when the line from the main terminal is a relay line that includes a relay device or a trunk line, when the slave terminal does not have data to send, it will send a polling signal and data to send. A termination signal indicating that the polling signal is not available is transmitted through the trunk line, which causes disadvantages such as an increase in traffic on the trunk line's relay equipment and trunk line, and an abnormal state due to a delay in the polling signal at the relay equipment. . Therefore, it has been difficult to apply the conventional polling method to a system in which signals between a main terminal and a slave terminal must be transmitted through a relay line including a relay device.

本発明は、主端末と従端末との間の信号を中継
装置を含む中継回線を経て伝送しなければならな
い場合に有利に適用可能なポーリング方式による
データ通信方式を提供することを目的とする。
An object of the present invention is to provide a data communication system using a polling method that can be advantageously applied when signals between a main terminal and a slave terminal must be transmitted via a relay line including a relay device.

次に本発明を図面について詳細に説明する。 The invention will now be explained in detail with reference to the drawings.

第1図は本発明の一実施例の概略を示すブロツ
ク図であり、図においてTMは主端末、RMは回
線L1で主端末TMに接続された第1の中継装置、
Rは通常のデータ通信用の中継装置、TD1〜TDo
はそれぞれ従端末、RDは従端末TD1〜TDoと回
線L4(この場合分岐回線)で接続された第2の
中継装置であり中継装置RMとRとの間および中
継装置RとRDとの間はそれぞれ回線L2,L3で接
続されている。この場合、回線L2、中継装置R
および回線L3で中継回線が構成される。なお、
この中継回線には更に中継装置(Rに相当)を挿
入することができる。
FIG. 1 is a block diagram schematically showing an embodiment of the present invention, in which TM is a main terminal, RM is a first relay device connected to the main terminal TM via line L1 ,
R is a relay device for normal data communication, TD 1 to TD o
are the slave terminals, and RD is the second relay device connected to the slave terminals TD 1 to TD o by the line L 4 (branch line in this case), and between the relay devices RM and R, and between the relay devices R and RD. They are connected by lines L 2 and L 3 , respectively. In this case, line L 2 , relay device R
and line L 3 constitute a trunk line. In addition,
A relay device (corresponding to R) can be further inserted into this relay line.

第2図は、主端末TM、中継装置RM,R,RD
および従端末TD1〜TDo間の信号シーケンスを示
す図である。
Figure 2 shows the main terminal TM, relay devices RM, R, RD.
FIG. 4 is a diagram showing a signal sequence between slave terminals TD 1 and TD o .

第3図および第4図はそれぞれ主端末用の第1
の中継装置RMおよび従端末用の第2の中継装置
RDの構成の一例を示すブロツク図である。な
お、第5図は、異常状態における信号シーケンス
を示す図である。
Figures 3 and 4 show the first terminal for the main terminal, respectively.
relay device RM and a second relay device for slave terminals
FIG. 3 is a block diagram showing an example of the configuration of RD. Note that FIG. 5 is a diagram showing a signal sequence in an abnormal state.

次に本実施例の動作を図面を参照して説明す
る。いま、主端末TMは、例えば従端末TD1から
データを受信するため、該従端末TD1を選択する
ポーリング信号S1(ポーリング1)を第1の中
継装置RMに送信する(第2図参照)。
Next, the operation of this embodiment will be explained with reference to the drawings. Now, in order to receive data from, for example, the slave terminal TD 1 , the main terminal TM transmits a polling signal S1 (polling 1 ) for selecting the slave terminal TD 1 to the first relay device RM (see Fig. 2). .

この信号は、回線L1を経て第1の中継装置RM
に送られ、第1の中継装置RM(第3図参照)で
その受信回路1で受信され、ポーリング信号判定
回路2に送られ、ここでポーリング信号か否かを
判定し、ポーリング信号であると判定すると、ポ
ーリング比較回路4に転送される。
This signal is sent to the first relay device RM via line L1 .
It is received by the receiving circuit 1 of the first relay device RM (see Figure 3), and sent to the polling signal determining circuit 2, where it is determined whether or not it is a polling signal. Once determined, it is transferred to the polling comparison circuit 4.

ポーリング比較回路4は記憶部を有し、前回の
ポーリング信号を記憶しておりこの記憶部の内容
と転送を受けたポーリング信号を比較し、記憶部
の内容がなく転送されたポーリング信号が新たに
送信されたものと判定した場合には、ポーリング
指示信号作成回路5に信号を送り、従端末TD1
対するポーリング指示信号を作成し、信号S2
(ポーリング指示として(第2図参照)、送信回路
6を経て中継線L2に送出する。このとき、上記
記憶部の内容はこのとき受信したポーリング信号
を蓄積する。
The polling comparison circuit 4 has a storage section that stores the previous polling signal, and compares the contents of this storage section with the transferred polling signal. If it is determined that the signal has been transmitted, the signal is sent to the polling instruction signal creation circuit 5, which creates a polling instruction signal for the slave terminal TD1 , and outputs the signal S2.
(As a polling instruction (see FIG. 2), it is sent to the trunk line L2 via the transmitting circuit 6. At this time, the content of the storage section stores the polling signal received at this time.

なお、ポーリング比較回路4はこの際データ待
合回路7にも信号を送る。後述するように、選択
した従端末TD1から上記ポーリングにより未だデ
ータの返送がなく、データ待合回路7に、主端末
TMに返送すべきデータが蓄積されていない場合
は、データ待合回路7は、ポーリング比較回路4
から信号を受信したとき、終結信号作成回路8に
信号を送り、これを制御して終結信号を作成し、
送信回路11より回線L1を経て信号S5(終
結)として(第2図参照)主端末TMに辺送す
る。
Note that the polling comparison circuit 4 also sends a signal to the data waiting circuit 7 at this time. As will be described later, since no data has been returned from the selected slave terminal TD 1 due to the above polling, the data waiting circuit 7
If the data to be sent back to the TM is not accumulated, the data waiting circuit 7 sends the data to the polling comparison circuit 4.
When a signal is received from , it sends a signal to the termination signal generation circuit 8 and controls it to generate a termination signal,
The signal is sent from the transmitting circuit 11 via the line L1 to the main terminal TM as a signal S5 (termination) (see FIG. 2).

ここに終結信号とはある従端末が、自己を選択
するポーリング信号を受信したとき、主端末に送
信すべきデータを有しないとき送出する信号であ
つて、この終結信号を主端末が受信することによ
りポーリングの1サイクルを終る。
A termination signal is a signal that a slave terminal sends when it receives a polling signal to select itself and has no data to transmit to the master terminal, and that the master terminal receives this termination signal. This completes one cycle of polling.

この終結信号S5を主端末TDが受信すると、
さらに信号S6(従端末TD1に対するポーリング
1)を送る。この信号は中継装置RMで上記と同
様に受信され、ポーリング比較回路4において前
回受信したポーリング信号と比較される。この場
合は前回受信したものと一致するので、ポーリン
グ指示信号作成回路5に信号は送られず、従つて
ポーリング指示信号は中継線L2に送出されな
い。しかし、データ待合回路7には信号を送り、
該回路7にデータがないときは、上述の場合と同
様に終結信号作成回路8に信号を送り、終結信号
(信号S7、第2図参照)を送信回路11から主
端末TMに送る。
When the main terminal TD receives this termination signal S5,
Furthermore, it sends a signal S6 (polling 1 for slave terminal TD 1 ). This signal is received by the relay device RM in the same manner as described above, and is compared with the previously received polling signal in the polling comparison circuit 4. In this case, since it matches the one received last time, no signal is sent to the polling instruction signal generation circuit 5, and therefore no polling instruction signal is sent to the trunk line L2 . However, a signal is sent to the data waiting circuit 7,
When there is no data in the circuit 7, a signal is sent to the termination signal generating circuit 8 in the same way as in the case described above, and a termination signal (signal S7, see FIG. 2) is sent from the transmitting circuit 11 to the main terminal TM.

このようにして、従端末TD1からデータが返送
されるまで、主端末TMはポーリング信号の送出
およびこれに対する終結信号を繰返す。
In this way, the main terminal TM repeats sending the polling signal and the corresponding termination signal until data is returned from the slave terminal TD 1 .

一方、前記の動作の初頭において、中継装置
RMから中継線L2に送出されたポーリング信号指
示(第2図、信号S2)は、中継装置Rおよび中
継線L3を経て従端末を接続した第2の中継装置
RDに達する。中継装置Rは受信信号を一時蓄積
して送信するが信号の変換は行なわない。上記ポ
ーリング指示信号S3は中継装置RDにおいて、
その受信回路23(第4図参照)で受信され、ポ
ーリング指示判定回路22に転送され、ここでポ
ーリング指示信号か否かの判定が行なわれ、ポー
リング指示信号と判定すれば、この情報をポーリ
ング信号送信回路24へ転送し、その記憶部に蓄
積するとともに、該ポーリング信号を信号S4と
して(第2図参照)送信回路21より回線L4
送出する。上記信号S4(ポーリング1)は、主
端末TMから送出された信号S1(ポーリング
1)と同様のものであり、回線L4に分岐接続さ
れた複数個の従端末TD1〜TDoの総てに送られ
る。この信号S1またはS4は従端末TD1に対
するものであるから、従端末TD1によつてのみ受
信され、該従端末TD1に返送するデータがあれば
これを返送し、なければ終結信号を返送する。こ
の場合、従端末TD1以外の各端末(TD1〜TDo
うちからTD1を除いたもの)からは信号は何も返
送されない。
On the other hand, at the beginning of the above operation, the relay device
The polling signal instruction (Fig. 2, signal S2) sent from the RM to the trunk line L2 is sent to the second relay device connected to the slave terminal via the relay device R and the trunk line L3 .
Reach RD. Relay device R temporarily stores the received signal and transmits it, but does not convert the signal. The polling instruction signal S3 is sent to the relay device RD,
It is received by the receiving circuit 23 (see Figure 4) and transferred to the polling instruction determining circuit 22, where it is determined whether or not it is a polling instruction signal.If it is determined to be a polling instruction signal, this information is sent to the polling instruction signal. The polling signal is transferred to the transmitting circuit 24 and stored in its storage section, and the polling signal is sent as a signal S4 (see FIG. 2) from the transmitting circuit 21 to the line L4 . The above signal S4 (polling 1) is similar to the signal S1 (polling 1) sent from the main terminal TM, and is transmitted to all of the plurality of slave terminals TD 1 to TD o branched and connected to the line L 4 . sent to. Since this signal S1 or S4 is for the slave terminal TD1, it is received only by the slave terminal TD1 , and if there is data to be sent back to the slave terminal TD1 , it is sent back, and if not, a termination signal is returned. . In this case, no signal is returned from each terminal other than slave terminal TD 1 (TD 1 to TD o excluding TD 1 ).

いま、従端末TD1に返送すべきデータがなけれ
ば、終結信号が信号S12(第2図参照)として
従端末TD1より中継装置RDに返送される。この
終結信号S12が中継装置RDにおいて、その受
信回路25で受信され、終結信号判定回路26に
転送され、ここで終結信号が否かが判定され、終
結信号と判定したときは信号をポーリング信号送
信回路24に送り、以前受信されここに蓄積され
ているポーリング信号を信号S13(ポーリング
1)(第2図参照)として送出する。
If there is no data to be sent back to the slave terminal TD 1 , a termination signal is sent back from the slave terminal TD 1 to the relay device RD as a signal S12 (see FIG. 2). This termination signal S12 is received by the receiving circuit 25 of the relay device RD, and transferred to the termination signal determination circuit 26, where it is determined whether or not there is a termination signal, and when it is determined that it is a termination signal, the signal is sent as a polling signal. The polling signal previously received and stored in the circuit 24 is sent out as a signal S13 (polling 1) (see FIG. 2).

このようにして、従端末TD1に返送すべきデー
タがないときは、中継装置RDとの間でポーリン
グ信号と終結信号の授受が繰返される。
In this way, when there is no data to be sent back to the slave terminal TD 1 , the polling signal and termination signal are repeatedly sent and received with the relay device RD.

従端末TD1に返送すべきデータがあれば、従端
末TD1がポーリング信号(例えば第2図の信号S
13)を受信したとき終結信号の代りにそのデー
タを信号S14として送出する。
If there is data to be sent back to slave terminal TD 1 , slave terminal TD 1 sends a polling signal (for example, signal S in Figure 2).
13), the data is sent as the signal S14 instead of the termination signal.

この信号S14は、中継装置RDの受信回路2
5で受信され、終結信号判定回路26に転送さ
れ、ここで終結信号か否かが判定される。このと
き終結信号でないと判定され上記信号すなわちデ
ータ信号は送信回路27より回線L4を経て、信
号S15として中継装置Rに送出される。この信
号S15は中継装置Rで中継され、信号16(デ
ータ)として回線L2を経て中継装置RMに達し、
その受信回路10で受信される。そして、待合せ
判定回路9に転送され、待合せすべきものと判定
され、データ待合回路7に転送され、蓄積され
る。
This signal S14 is transmitted to the receiving circuit 2 of the relay device RD.
5 and transferred to the termination signal determination circuit 26, where it is determined whether or not it is a termination signal. At this time, it is determined that the signal is not a termination signal, and the signal, ie, the data signal, is sent from the transmitting circuit 27 to the relay device R via the line L4 as a signal S15. This signal S15 is relayed by the relay device R, and reaches the relay device RM via the line L2 as a signal 16 (data).
It is received by the receiving circuit 10. The data is then transferred to the queuing determination circuit 9, where it is determined that the data should be queued, and transferred to the data waiting circuit 7, where it is stored.

データ待合回路7にデータが蓄積されていると
き、主端末TMからポーリング信号S8(従端末
TD1)に対するポーリング1)が送出され、これ
が中継装置RMで受信され、前記したとおりの動
作をしてポーリング比較回路4からの信号をデー
タ待合回路7が受信したとき、データ待合回路7
にはデータが蓄積されているので、これが送信回
路11より回線L1を経て主端末TMに送信され
る。すなわち、主端末TMより従端末TD1と選択
するポーリング信号として送出された信号S8に
対応して上記データが信号S9として主端末TM
で受信される。
When data is accumulated in the data waiting circuit 7, the main terminal TM sends a polling signal S8 (slave terminal
Polling 1) for TD 1 ) is sent, this is received by the relay device RM, and when the data waiting circuit 7 receives the signal from the polling comparison circuit 4 by operating as described above, the data waiting circuit 7
Since data has been accumulated in , this data is transmitted from the transmitting circuit 11 to the main terminal TM via the line L1 . That is, in response to the signal S8 sent from the main terminal TM as a polling signal to select the slave terminal TD 1 , the above data is transmitted to the main terminal TM as a signal S9.
received at

主端末TMはこの信号S9(従端末TD1よりの
データ)受信後、データ応答信号である信号S1
0を後端末TD1に送出する。この信号S10は、
中継装置RMの受信回路1で受信され、ポーリン
グ判定回路2において、ポーリング信号でないと
判定され、信号作成回路3に転送され、送信回路
6より回線L2(信号S17)、中継装置R、回線
L3(信号S18)を経て中継装置RDに送られ
る。この信号S18は中継装置RDにおいて受信
回路23で受信され、ポーリング指示信号判定回
路22においてポーリング指示信号でないと判定
され、送信回路21に転送され、回線L4(信号
S19)を経て従端末TD1に送られる。
After receiving this signal S9 (data from slave terminal TD 1 ), the main terminal TM receives a signal S1 which is a data response signal.
0 to the rear terminal TD 1 . This signal S10 is
It is received by the reception circuit 1 of the relay device RM, determined by the polling determination circuit 2 to be not a polling signal, and transferred to the signal generation circuit 3, and sent from the transmission circuit 6 to the line L 2 (signal S17), the relay device R, and the line.
It is sent to the relay device RD via L 3 (signal S18). This signal S18 is received by the receiving circuit 23 in the relay device RD, determined to be not a polling instruction signal by the polling instruction signal determining circuit 22, and transferred to the transmitting circuit 21, and sent to the slave terminal TD 1 via the line L 4 (signal S19). sent to.

従端末TD1が上記信号S19(データ応答)を
受信すると、これに対応して、データ終結信号と
して信号S20を送出する。この信号S20は中
継装置RDにおいてその受信回路25で受信さ
れ、終結信号判定回路26に転送され、ここでポ
ーリングの終結信号でないと判定され、送信回路
27より回線L3(信号S21)、中継装置R、回
線L2(信号S22)を経て、データ終結信号と
して中継装置RMに達する。
When the slave terminal TD 1 receives the signal S19 (data response), it sends out a signal S20 as a data end signal in response. This signal S20 is received by the receiving circuit 25 of the relay device RD, and transferred to the termination signal determination circuit 26, where it is determined that it is not a polling termination signal, and the signal S20 is sent to the line L 3 (signal S21) from the relay device RD. R, line L 2 (signal S22), and reaches the relay device RM as a data end signal.

この信号S22は中継装置RMの受信回路10
で受けられ、待合せ判定回路9に転送され、ここ
で待合せ不要と判定され、送信回路11より回線
L1を経て信号S11(データ終結)として主端
末TMに送られる。主端末TMがこれを受信す
る。なお中継装置RMは、上記信号S22の受信
により、図示しない手段により、ポーリング比較
回路4に蓄積されていたポーリング信号(この場
合従端末TD1に対するポーリング信号)を消去す
る。以上のようにして1つの通信周期Co.1を完
了する。
This signal S22 is transmitted to the receiving circuit 10 of the relay device RM.
, the line is transferred to the waiting judgment circuit 9, where it is judged that no waiting is required, and the transmission circuit 11 disconnects the line.
It is sent to the main terminal TM via L1 as a signal S11 (end of data). The main terminal TM receives this. Note that upon receiving the signal S22, the relay device RM erases the polling signal (in this case, the polling signal for the slave terminal TD 1 ) stored in the polling comparison circuit 4 by means not shown. One communication cycle Co.1 is completed in the above manner.

次の通信周期として、主端末TMから例えば、
後端末TD2に対する通信(従端末TD2よりのデー
タの受信)を行なうには、通信周期Co.2に示す
ように、信号S23(ポーリング2)として従端
末TD2を選択するポーリング信号を送出する。そ
して、上記通信周期Co.1と同様に通信を行な
う。
For the next communication cycle, for example, from the main terminal TM,
To perform communication with the rear terminal TD 2 (receiving data from the slave terminal TD 2 ), a polling signal for selecting the slave terminal TD 2 is sent as a signal S23 (polling 2), as shown in communication cycle Co.2. do. Then, communication is performed in the same manner as in the above communication cycle Co.1.

次に異常状態に対する場合について説明する。
上記の通信周期においては、主端末が所望の従端
末から正常にデータを受信できた場合であるが、
主端末から所望の従端末のポーリング選択を行な
つても、従端末がデータを有せず、そのためデー
タが送られてこなければ、その通信周期中に他の
従端末を選択するポーリング信号に切換えること
となる。しかし、この切換と殆ど同時に前者の従
端末が主端末に送信するデータを得れば、中継装
置RDから送られるポーリング信号に応答して、
このデータを送信する。このデータが中継装置
RDに送られると、中継装置RDは既に後者の従端
末に対するポーリング信号を受けているので、こ
れに応答して後者の従端末よりのデータとして主
端末に返送するような異常状態すなわち、前者の
従端末よりのデータを後者の従端末よりのデータ
として受け入れるような不都合な状態を発生す
る。
Next, the case of an abnormal state will be explained.
In the above communication cycle, when the main terminal is able to normally receive data from the desired slave terminal,
Even if the main terminal polls and selects the desired slave terminal, if the slave terminal does not have data and therefore no data is sent, the polling signal is switched to select another slave terminal during that communication cycle. It happens. However, if the former slave terminal obtains data to be sent to the main terminal almost at the same time as this switching, in response to the polling signal sent from the relay device RD,
Send this data. This data is
When the data is sent to RD, the relay device RD has already received the polling signal for the latter's slave terminal, so if the relay device RD responds to the polling signal and sends it back to the main terminal as data from the latter's slave terminal, that is, the former's An inconvenient situation occurs in which data from a slave terminal is accepted as data from the latter slave terminal.

この異常状態による不都合を防止するため、本
発明においてはさらに手段を備えている。次にこ
れについて説明する。
In order to prevent the inconvenience caused by this abnormal state, the present invention further includes means. This will be explained next.

第5図にこのような異常状態の発生により生ず
る不都合を防止する場合の信号のシーケンスを示
す。
FIG. 5 shows a signal sequence for preventing inconveniences caused by the occurrence of such abnormal conditions.

第5図において、主端末TMは従端末TD1から
のデータを受信するため従端末TD1を選択するポ
ーリング信号S1の送信により通信周期を開始す
る。前記と同様にポーリング指示信号(信号S2
→S3)が中継装置RDに送られ、中継装置RDと
従端末TD1との間でポーリング信号(信号S4,
S10,S12等)と終結信号(信号S9,S1
1等)の授受が行なわれる。
In FIG. 5, the master terminal TM begins a communication cycle by sending a polling signal S1 that selects the slave terminal TD 1 to receive data from the slave terminal TD 1 . Similarly to the above, the polling instruction signal (signal S2
→S3) is sent to the relay device RD, and a polling signal (signal S4,
S10, S12, etc.) and termination signals (signals S9, S1
1st prize) will be given and received.

主端末TMにおいて、例えばデータが返送され
て来なければその送出信号を他の従端末例えば
TD2を選択するポーリング信号〔S8(ポーリン
グ2)〕に変更する。この信号S8は第3図に示
すように、中継装置RMの受信回路1で受信さ
れ、ポーリング信号判定回路2に転送され、ここ
でポーリング信号と判定され、ポーリング比較回
路4に転送され、前回受信したポーリング信号と
比較される。この場合前回のものと異るため、そ
の記憶部の内部を消去し、またこの結果をポーリ
ング指示信号作成回路5に送り、ここでポーリン
グ停止信号を作成し、送信回路6を経て、前記と
同様に信号S14,S15として中継装置RDに
送信する。
At the main terminal TM, for example, if data is not returned, the sent signal is sent to another slave terminal, for example.
Change the polling signal to select TD 2 [S8 (Polling 2)]. As shown in FIG. 3, this signal S8 is received by the receiving circuit 1 of the relay device RM, transferred to the polling signal determination circuit 2, where it is determined to be a polling signal, transferred to the polling comparison circuit 4, and the previously received signal S8 is sent to the polling comparison circuit 4. polling signal. In this case, since it is different from the previous one, the inside of the storage section is erased, and this result is sent to the polling instruction signal generation circuit 5, where a polling stop signal is generated, and the signal is transmitted through the transmission circuit 6 in the same manner as above. It is then transmitted to the relay device RD as signals S14 and S15.

中継装置RDにおいては(第4図参照)このポ
ーリング停止信号は受信回路23で受信され、ポ
ーリング指示判定回路22に転送され、ここでポ
ーリング停止信号であると判定される。この判定
結果はポーリング指示判定回路22よりポーリン
グ信号送信回路24へ送られ、これにより、以後
終結信号判定回路26から終結信号を受けた信号
が入力してもポーリング信号の送出を停止するよ
う制御するとともに停止確認信号を送信回路27
より信号S18(停止確認)として回線L3に送
出する。
In the relay device RD (see FIG. 4), this polling stop signal is received by the receiving circuit 23 and transferred to the polling instruction determining circuit 22, where it is determined that it is a polling stop signal. This determination result is sent from the polling instruction determination circuit 22 to the polling signal transmission circuit 24, which controls the transmission of the polling signal to be stopped even if a signal that has received the termination signal from the termination signal determination circuit 26 is input thereafter. The circuit 27 also transmits a stop confirmation signal.
It is then sent to line L3 as signal S18 (stop confirmation).

なお、中継装置RDが上記ポーリング停止信号
(第5図の信号S15)を受信する以前に、従端
末TD1からデータが返送されると、これは信号S
13,S16,S17として中継装置RMに返送
され、前記と同様データ待合回路7に蓄積され
る。この際、すなわち、ポーリング信号比較回路
4からポーリング停止指示が発せられた後は、デ
ータ待合回路7からのデータ送出は抑圧され主端
末TMには終結信号S11が送られる。
Note that if data is returned from slave terminal TD 1 before relay device RD receives the polling stop signal (signal S15 in FIG. 5), this is signal S.
13, S16, and S17 to the relay device RM, and stored in the data waiting circuit 7 in the same manner as above. At this time, after the polling stop instruction is issued from the polling signal comparison circuit 4, data transmission from the data waiting circuit 7 is suppressed and a termination signal S11 is sent to the main terminal TM.

その後、中継装置RMは上記の停止確認信号
(信号S17)をその受信回路10で受信し、待
合せ判定回路9に転送され、ここでポーリング停
止確認信号であることを判定し、データ待合回路
7に指示し、ここに蓄積されたデータを消去して
廃棄する。なお、図示しない手段によりポーリン
グ信号比較回路4に蓄積されていたポーリング信
号(この場合従端末TD2に対するもの)を消去す
る。
After that, the relay device RM receives the above-mentioned stop confirmation signal (signal S17) at its reception circuit 10, and transfers it to the waiting judgment circuit 9, where it judges that it is a polling stop confirmation signal and sends it to the data waiting circuit 7. command to erase and discard the data accumulated here. Note that the polling signal (for the slave terminal TD 2 in this case) stored in the polling signal comparison circuit 4 is erased by means not shown.

ポーリング信号比較回路4の記憶部が消去され
た後、さらに主端末TMから従端末TD2に対する
ポーリング信号の送出が継続していれば前記と同
様にして、新しい通信周期が始まり、主端末TM
は従端末TD2よりデータを受信する通信が行なわ
れる。
After the storage section of the polling signal comparison circuit 4 is erased, if the main terminal TM continues to send polling signals to the slave terminal TD 2 , a new communication cycle starts in the same manner as described above, and the main terminal TM
Communication is performed to receive data from slave terminal TD 2 .

上記において、第1の中継装置RMおよび第2
の中継装置RDは、ポーリング方式において、そ
れぞれ主端末および従端末に対するものであるが
第3の中継装置Rは一般用のものでよく、第1お
よび第2の中継装置RMおよびRDの間には、こ
のような第3の中継装置Rを複数個挿入した中継
回線を使用することができ、このような第3の中
継装置は、本ポーリング方式の信号中継とともに
他のシステムの信号中継に多重的に使用すること
ができる。
In the above, the first relay device RM and the second relay device RM
In the polling method, the relay device RD is for the main terminal and the slave terminal, respectively, but the third relay device R may be a general purpose one, and there is no connection between the first and second relay devices RM and RD. , it is possible to use a relay line in which a plurality of such third relay devices R are inserted, and such a third relay device can be used not only for signal relay of this polling method but also for multiplex signal relay of other systems. It can be used for.

本発明は上記の実施例に限定されるものではな
く、その技術的範囲内で種々の変形が可能であ
る。
The present invention is not limited to the above embodiments, and various modifications can be made within the technical scope thereof.

本発明は上記のように構成されているので、ポ
ーリング方式における主端末と従端末とを中継回
線を以て接続する場合、ポーリング方式特有の信
号を中継回線に送出しないようにして該中継回線
のトラヒツク増をまねくことをなくし、また中継
回線による信号の伝送遅延によつて前記した異常
状態が発生しても正しい通信を行なうことが可能
な効果がある。
Since the present invention is configured as described above, when a main terminal and a slave terminal in a polling method are connected via a relay line, the traffic on the relay line is increased by not sending signals specific to the polling method to the relay line. Furthermore, even if the above-mentioned abnormal condition occurs due to the delay in signal transmission by the relay line, correct communication can be carried out.

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

第1図は本発明の一実施例の概略を示すブロツ
ク図、第2図は第1図に示す実施例における信号
シーケンスを示す図、第3図は同じく主端末用の
第1の中継装置の構成の一例を示すブロツク図、
第4図は同じく従端末用の第2の中継装置の構成
の一例を示すブロツク図、第5図は本発明の実施
例の異常状態における信号シーケンスを示す図で
ある。 TM……主端末、TD1〜TDn……従端末、RM
……主端末用の第1の中継装置、RD……従端末
用の第2の中継装置、R……第3の中継装置、
L1〜L4……回線、1,10,23,25……受
信回路、6,11,21,27……送信回路、2
……ポーリング信号判定回路、3……信号作成回
路、4……ポーリング信号比較回路、5……ポー
リング指示信号作成回路、7……データ待合回
路、8……終結信号作成回路、9……待合せ判定
回路、22……ポーリング指示信号判定回路、2
4……ポーリング信号送信回路、26……終結信
号判定回路。
FIG. 1 is a block diagram showing an outline of an embodiment of the present invention, FIG. 2 is a diagram showing a signal sequence in the embodiment shown in FIG. 1, and FIG. 3 is a diagram showing a signal sequence in the embodiment shown in FIG. A block diagram showing an example of the configuration,
FIG. 4 is a block diagram showing an example of the configuration of a second relay device for a slave terminal, and FIG. 5 is a diagram showing a signal sequence in an abnormal state according to an embodiment of the present invention. TM...Main terminal, TD 1 to TDn...Slave terminal, RM
...First relay device for the main terminal, RD...Second relay device for the slave terminal, R...Third relay device,
L 1 to L 4 ... Line, 1, 10, 23, 25 ... Receiving circuit, 6, 11, 21, 27 ... Transmitting circuit, 2
...Polling signal determination circuit, 3...Signal creation circuit, 4...Polling signal comparison circuit, 5...Polling instruction signal creation circuit, 7...Data waiting circuit, 8...Termination signal creation circuit, 9...Waiting Determination circuit, 22...Polling instruction signal determination circuit, 2
4...Polling signal transmission circuit, 26... Termination signal determination circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 ポーリング信号を送信し、選択された従端末
から送られるデータを受信する主端末に接続され
た第1の中継装置と、ポーリング信号を受信しこ
れに対応して終結信号またはデータを送信する従
端末を接続した第2の中継装置と、上記第1およ
び第2の中継装置を接続する中継回線とを具備
し、上記主端末がポーリング信号の送信を開始し
てから該ポーリング信号により選択される従端末
からのデータの返送の完了するまでの一通信周期
において、第1の中継装置は主端末から最初のポ
ーリング信号を受信したとき第2の中継装置へ該
ポーリング信号を従端末へ送信することを指示す
るポーリング指示信号を送出するとともに終結信
号を主端末に返送し、それ以後受信するポーリン
グ信号に対しては前回受信したポーリング信号と
一致した際は上記ポーリング信号に基づいて選択
される従端末から送られたデータが受信蓄積され
ていないときは終結信号を、受信蓄積されている
ときは該データを主端末に返送し、なお前回受信
したポーリング信号と異るポーリング信号を受信
した際は、上記中継回線を介して第2の中継装置
にポーリング停止指示信号を送出するとともに第
2の中継装置が上記ポーリング停止指示信号の受
信を確認したとき送出する確認信号の受信の間に
第2の中継装置から受信されるデータがあればこ
れを消去するよう構成され、また、上記第2の中
継装置は上記の中継回線を経て第1の中継装置か
ら送られる上記ポーリング指示信号を受け、上記
ポーリング信号を従端末に送り、対応する従端末
から終結信号を受信したときはさらに上記ポーリ
ング信号を繰返して送出し、データ信号を受けた
ときは上記ポーリング信号の送出を停止するとと
もに上記データ信号を上記中継回線を介して前記
第1の中継装置に返送し、なお第1の中継装置か
らポーリング停止指示信号を受信したときは以後
のポーリング信号の送出を停止するとともに確認
信号を上記第1の中継装置に返送するよう構成さ
れたことを特徴とするデータ通信方式。
1 A first relay device connected to a main terminal that transmits a polling signal and receives data sent from a selected slave terminal, and a slave terminal that receives a polling signal and transmits a termination signal or data in response. A second relay device connected to a terminal, and a relay line connecting the first and second relay devices, and selected by the polling signal after the main terminal starts transmitting a polling signal. During one communication cycle until the return of data from the slave terminal is completed, when the first relay device receives the first polling signal from the main terminal, the first relay device transmits the polling signal to the slave terminal to the second relay device. At the same time, a termination signal is sent back to the main terminal, and if the polling signal received thereafter matches the previously received polling signal, the slave terminal is selected based on the polling signal. If the data sent from the terminal has not been received and stored, a termination signal is sent, and if the data has been received and stored, the data is returned to the main terminal.If a polling signal different from the polling signal received last time is received, The second relay sends a polling stop instruction signal to the second relay device via the relay line and receives a confirmation signal sent when the second relay device confirms reception of the polling stop instruction signal. The second relay device is configured to erase any data received from the device, and the second relay device receives the polling instruction signal sent from the first relay device via the relay line, and receives the polling signal. is sent to the slave terminal, and when a termination signal is received from the corresponding slave terminal, the above-mentioned polling signal is further sent repeatedly, and when a data signal is received, the sending of the above-mentioned polling signal is stopped, and the above-mentioned data signal is relayed to the above-mentioned. The signal is sent back to the first relay device via the line, and when a polling stop instruction signal is received from the first relay device, the transmission of subsequent polling signals is stopped and a confirmation signal is sent to the first relay device. A data communication method characterized by being configured to return data.
JP1726280A 1980-02-15 1980-02-15 Data communication system Granted JPS56115057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1726280A JPS56115057A (en) 1980-02-15 1980-02-15 Data communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1726280A JPS56115057A (en) 1980-02-15 1980-02-15 Data communication system

Publications (2)

Publication Number Publication Date
JPS56115057A JPS56115057A (en) 1981-09-10
JPS6239577B2 true JPS6239577B2 (en) 1987-08-24

Family

ID=11939046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1726280A Granted JPS56115057A (en) 1980-02-15 1980-02-15 Data communication system

Country Status (1)

Country Link
JP (1) JPS56115057A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61244149A (en) * 1985-04-22 1986-10-30 Nec Corp Data transmission system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54142902A (en) * 1978-04-28 1979-11-07 Hitachi Ltd Communication system using polling emulator

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54142902A (en) * 1978-04-28 1979-11-07 Hitachi Ltd Communication system using polling emulator

Also Published As

Publication number Publication date
JPS56115057A (en) 1981-09-10

Similar Documents

Publication Publication Date Title
US5828656A (en) Method of controlling communications, and electronic device
FR2571871A1 (en) CONTROL SYSTEM FOR SERIAL BUS
CA2192510A1 (en) Data Transmitting/Receiving Method Using Distributed Path Control in Data Switching System
JPH10290238A (en) Electronic device and its information transmission method
DK165150B (en) PROCEDURE AND APPARATUS FOR PROMOTING MULTIPLE, ANY ACCESS TO A TRANSMISSION LINE IN A LOCAL NETWORK FOR SPEECH AND DATA
JPS6239577B2 (en)
JPS62112451A (en) Setting system for selective signal system
JPS6142982B2 (en)
US4282400A (en) Signaling unit for interchange of data with multipoint line selection units and data terminals
US4506359A (en) TASI Apparatus for use with systems having interregister multifrequency signalling
US5661467A (en) Method and system for transferring supervisory right requirement in submarine cable communication network system
KR100427853B1 (en) Digital Message Routing System
US6320949B1 (en) Method for duplicating calls of remote multiple subscribers
JP2933376B2 (en) Outside line hooking method
JPH0234518B2 (en)
JPS59161956A (en) Transmission controller
JPH0122300Y2 (en)
SU1525704A1 (en) Device for exchange of information in circular communication line
JP3311568B2 (en) Center device malfunction prevention method
JPS61285850A (en) Slot ring type communicating control system
JPS6382137A (en) Managing method for terminal address
JPS5857942B2 (en) Transmission control procedure selection method for communication control equipment
JPS62171298A (en) Layer 2 control system in isdn network
JPS59207763A (en) Loop type full duplex communication system of data transmission line
JPH04238433A (en) Transmission system for event data