JPS6359623B2 - - Google Patents

Info

Publication number
JPS6359623B2
JPS6359623B2 JP56180305A JP18030581A JPS6359623B2 JP S6359623 B2 JPS6359623 B2 JP S6359623B2 JP 56180305 A JP56180305 A JP 56180305A JP 18030581 A JP18030581 A JP 18030581A JP S6359623 B2 JPS6359623 B2 JP S6359623B2
Authority
JP
Japan
Prior art keywords
relay device
link
terminal
command
mode
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
JP56180305A
Other languages
Japanese (ja)
Other versions
JPS5883449A (en
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 filed Critical
Priority to JP56180305A priority Critical patent/JPS5883449A/en
Publication of JPS5883449A publication Critical patent/JPS5883449A/en
Publication of JPS6359623B2 publication Critical patent/JPS6359623B2/ja
Granted 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)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 本発明は、主端末と従端末との間に位置する中
継装置が、前記主端末に代行してHDLC−UNク
ラスの伝送制御手順に基づいて、前記従端末に対
してポーリングを行うデータ通信システムに関
し、特に前記主端末の指示によつて前記中継装置
のポーリングテーブルの内容を自動的に更新させ
るためのHDLC−UNクラスの伝送制御手順を提
供するものである。
DETAILED DESCRIPTION OF THE INVENTION According to the present invention, a relay device located between a main terminal and a slave terminal transmits data to the slave terminal on behalf of the master terminal based on an HDLC-UN class transmission control procedure. The present invention relates to a data communication system that performs polling, and particularly provides an HDLC-UN class transmission control procedure for automatically updating the contents of the polling table of the relay device according to instructions from the main terminal.

HDLC(high level data link control
procedure)とは、国際標準化機構(ISO)で国
際標準化された伝送制御手順の一つであり、
HDLCには次の3つのクラスがある。
HDLC (high level data link control)
procedure) is one of the transmission control procedures standardized internationally by the International Organization for Standardization (ISO).
HDLC has the following three classes.

UA(unbalanced asynchronous)クラス これは、端末間に主従の関係があり
(unbalanced)、非同期レスポンスモード
(ARM:asynchronous response mode)で通
信が行われるクラスである。
UA (unbalanced asynchronous) class This is a class in which there is a master-slave relationship (unbalanced) between terminals, and communication is performed in asynchronous response mode (ARM).

UN(unbalanced normal)クラス これは、端末間に主従の関係があり
(unbalanced)、ノーマルレスポンスモード
(NRM:normal response mode)で通信が行
われるクラスである。即ち、従端末は主端末か
らポーリングで指令を受けるまでデータの送信
を開始できない。
UN (unbalanced normal) class This is a class in which there is a master-slave relationship (unbalanced) between terminals, and communication is performed in normal response mode (NRM). That is, the slave terminal cannot start transmitting data until it receives a polling command from the master terminal.

BA(balanced asynchronous)クラス これは、端末間に主従の関係がなく
(balanced)、非同期バランストモード
(ABM:asynchronous balanced mode)で通
信が行われるクラスである。
BA (balanced asynchronous) class This is a class in which there is no master-slave relationship between terminals (balanced) and communication is performed in asynchronous balanced mode (ABM).

本発明は上記のHDLC−UNクラスの伝送制
御手順に関し、特に主端末の指示によつて中継装
置のポーリングテーブルの内容を自動的に更新さ
せるためのHDLC−UNクラスの伝送制御手順を
提供するものである。
The present invention relates to the HDLC-UN class transmission control procedure described above, and particularly provides an HDLC-UN class transmission control procedure for automatically updating the contents of a polling table of a relay device according to instructions from a main terminal. It is.

従来、中継装置のポーリングテーブルの内容
(従端末のアドレス、ポーリング周期、ポーリン
グサイクル)は、システム運用者の介入等でロー
カルに更新されていた。従端末の構成、状態、ト
ラフイツク及び運用条件等に応じさせるべく、主
端末から自動的にポーリングテーブルの内容を更
新させることのできる、HDLC−UNクラスの伝
送制御手順によるポーリングテーブルの制御方式
が望まれる。
Conventionally, the contents of the polling table of a relay device (address of slave terminal, polling period, polling cycle) have been locally updated through the intervention of a system operator. It is desirable to have a polling table control method using HDLC-UN class transmission control procedures that allows the main terminal to automatically update the contents of the polling table in response to the configuration, status, traffic, operational conditions, etc. of the slave terminal. It will be done.

本発明の目的は、前述の要望を満すことのでき
るポーリングテーブルの制御方式を提供すること
にある。
An object of the present invention is to provide a polling table control method that can satisfy the above-mentioned requirements.

本発明によれば、主端末と、従端末と、該主端
末及び該従端末間に位置する中継装置と、前記主
端末及び前記中継装置間の第1のリンクと、前記
中継装置及び前記従端末間の第2のリンクとを有
し、前記中継装置が前記主端末に代行してHDLC
−UNクラスの伝送制御手順に基づいて前記従端
末に対してポーリングを行うデータ通信システム
において、前記主端末の指示によつて前記中継装
置のポーリングテーブルの内容を更新させるため
の制御方式であつて、前記主端末は前記中継装置
に前記第1のリンクを初期モードに設定するため
の第1のコマンドを送信して該第1のリンクを初
期モードに設定し、前記中継装置は該第1のコマ
ンドを受けると前記第2のリンクが切断モードで
ない時のみ該第2のリンクを切断モードに設定す
るための第2のコマンドを前記従端末に送信して
該第2のリンクを切断モードに設定し、続いて前
記主端末は番号なし情報による第3のコマンドに
より前記ポーリングテーブルの更新情報を前記中
継装置に送信し、該中継装置は受信した前記第3
のコマンドの前記ポーリングテーブルの更新情報
により前記ポーリングテーブルの内容を更新し、
前記主端末は更新終了時に前記第1のリンクの初
期モードを解除することを特徴とするポーリング
テーブルの制御方式が得られる。
According to the present invention, a main terminal, a slave terminal, a relay device located between the master terminal and the slave terminal, a first link between the main terminal and the relay device, and a link between the relay device and the slave terminal. a second link between the terminals, and the relay device performs HDLC on behalf of the main terminal.
- A control method for updating the contents of a polling table of the relay device according to an instruction from the main terminal in a data communication system that polls the slave terminal based on a UN class transmission control procedure; , the main terminal transmits a first command for setting the first link to the initial mode to the relay device to set the first link to the initial mode, and the relay device sets the first link to the initial mode. Upon receiving the command, only when the second link is not in the disconnected mode, sends a second command to the slave terminal to set the second link in the disconnected mode, and sets the second link in the disconnected mode. Then, the main terminal transmits the update information of the polling table to the relay device using a third command based on unnumbered information, and the relay device transmits the update information of the polling table to the relay device using the third command based on the unnumbered information.
updating the contents of the polling table according to update information of the polling table of the command;
A polling table control method is obtained in which the main terminal cancels the initial mode of the first link when the update is completed.

次に本発明の実施例について図面を参照して説
明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図を参照すると、本発明の一実施例に従う
データ通信システムは、ホストコンピユータであ
る主端末TMと、複数個の従端末TS1,TS2,…
……と、該主端末及び該従端末間に位置し、該主
端末に代行してHDLC−UNクラスの伝送制御手
順に基づいて前記従端末に対してポーリングを行
う中継装置Rとを含む。また、Laは主端末TMと
中継装置Rとの間のHDLC−UNクラスの手順に
よる伝送制御を行う第1のリンクであり、Lb
中継装置Rと従端末TS1,TS2,………との間の
HDLC−UNクラスの手順による伝送制御を行う
第2のリンクである。中継装置Rはポーリングテ
ーブル(図示せず)を有している。
Referring to FIG. 1, a data communication system according to an embodiment of the present invention includes a main terminal TM, which is a host computer, and a plurality of slave terminals TS 1 , TS 2 , . . .
. . . and a relay device R that is located between the main terminal and the slave terminal and polls the slave terminal on behalf of the main terminal based on an HDLC-UN class transmission control procedure. Further, L a is the first link that performs transmission control according to the HDLC-UN class procedure between the main terminal TM and the relay device R, and L b is the link between the relay device R and the slave terminals TS 1 , TS 2 , . . . between...
This is the second link that performs transmission control using HDLC-UN class procedures. Relay device R has a polling table (not shown).

第1図のデータ通信システムにおいて行われる
本発明の一実施例によるポーリングテーブルの内
容更新のための制御手順は、第2図に示したとお
りである。即ち、まず、主端末TMは、切断モー
ドあるいは既述したノーマルレスポンスモード
(NRM)にある第1のリンクLaを初期モード
(initialization mode)に設定するためのSIM
(set initialization mode)コマンド11を、中
継装置Rに送信する。中継装置Rは、SIMコマン
ド11を受けると、主端末TMに対しては番号な
し承認番号(unnumbered acknowledgement)
によるレスポンス(UAレスポンス)12を送信
し、一方、従端末TS1及びTS2に対しては第2の
リンクLbが既述したノーマルレスポンスモード
(NRM)のときは第2のリンクLbを切断モード
(disconnect mode)に設定するためのDISC
(disconnect)コマンド13を送信する。なお、
第2のリンクLbが既に切断モードであるときは
中継装置Rは上述のDISCコマンド13を送信し
ない。従端末TS1及びTS2は、DISCコマンド1
3を受けると、番号なし承認信号(unnumbered
acknowledgement)によるレスポンス(UAレ
スポンス)14を中継装置Rに送信する。中継装
置Rは、UAレスポンス14を受けたことによ
り、第2のリンクLbを切断モードに設定したと
認識する。一方、主端末TMは、UAレスポンス
12を受けることにより、第1のリンクLaを初
期モードに設定したと認識する。続いて、主端末
TMは、番号なし情報(unnumbered
information)によるコマンド(UIコマンド)1
5により、ポーリングテーブルの更新情報IDを
中継装置Rに送信する。中継装置Rは、UIコマ
ンド15を受けると、主端末TMに対して番号な
し承認番号(unnumbered acknowledgement)
によるレスポンス(UAレスポンス)16を送信
するとともに、受信したUIコマンド15のポー
リングテーブルの更新情報IDによりポーリング
テーブルの内容を更新する。更新が終了すると、
主端末TMは、第1のリンクLaの初期モードを解
除するために、上位の制御レベルからの指令に従
つて第1のリンクLaを切断モードあるいはノー
マルレスポンスモード(NRM)に設定する。本
実施例では、第1のリンクLaをノーマルレスポ
ンスモード(NRM)に設定するためのSNRM
(set normalresponse mode)コマンド17を中
継装置Rに送信する。中継装置Rは、SNRMコ
マンド17を受けると、第2のリンクLbをノー
マルレスポンスモード(NRM)に設定するため
のSNRMコマンド18を従端末TS1及びTS2に送
信する。従端末TS1及びTS2は、SNRMコマンド
18を受けると、番号なし承認番号
(unnumbered acknowledgement)によるレス
ポンス(UAレスポンス)19を中継装置Rに送
信する。中継装置Rは、UAレスポンス19を受
けることにより、第2のリンクLbをノーマルレ
スポンスモード(NRM)に設定したと認識し、
主端末TMに番号なし承認番号(unnumbered
acknowledgement)によるレスポンス(UAレ
スポンス)20を送信する。主端末TMは、UA
レスポンス20を受けることにより、第1のリン
クLaをノーマルレスポンスモード(NRM)に設
定したと認識する。このようにして、第1のリン
クLa及び第2のリンクLbがノーマルレスポンス
モード(NRM)に設定された後、中継装置Rは
更新されたポーリングテーブルに従つてポーリン
グを行うことができる。
The control procedure for updating the contents of the polling table according to an embodiment of the present invention performed in the data communication system of FIG. 1 is as shown in FIG. That is, first, the main terminal TM uses a SIM card to set the first link L a , which is in the disconnection mode or the normal response mode (NRM) described above, to the initialization mode.
(set initialization mode) command 11 is sent to relay device R. When the relay device R receives the SIM command 11, it sends an unnumbered acknowledgment number to the main terminal TM.
On the other hand, when the second link L b is in the normal response mode (NRM) described above, the second link L b is sent to slave terminals TS 1 and TS 2 . DISC for setting disconnect mode
(disconnect) command 13 is sent. In addition,
When the second link L b is already in disconnection mode, the relay device R does not transmit the above-mentioned DISC command 13. Slave terminals TS 1 and TS 2 use DISC command 1
3, an unnumbered acknowledge signal is received.
acknowledgment) response (UA response) 14 is transmitted to the relay device R. Upon receiving the UA response 14, the relay device R recognizes that the second link L b has been set to disconnection mode. On the other hand, by receiving the UA response 12, the main terminal TM recognizes that the first link L a has been set to the initial mode. Next, the main terminal
TM contains unnumbered information.
command (UI command) 1
5, the update information ID of the polling table is transmitted to the relay device R. Upon receiving the UI command 15, the relay device R sends an unnumbered acknowledgment number to the main terminal TM.
The response (UA response) 16 is sent, and the contents of the polling table are updated using the polling table update information ID of the received UI command 15. When the update is finished,
In order to release the initial mode of the first link L a , the main terminal TM sets the first link L a to a disconnection mode or normal response mode (NRM) in accordance with a command from a higher control level. In this example, SNRM for setting the first link L a to normal response mode (NRM) is used.
(set normalresponse mode) command 17 is sent to relay device R. Upon receiving the SNRM command 17, the relay device R transmits an SNRM command 18 for setting the second link L b to normal response mode (NRM) to the slave terminals TS 1 and TS 2 . Upon receiving the SNRM command 18, the slave terminals TS 1 and TS 2 transmit a response (UA response) 19 to the relay device R using an unnumbered acknowledgment number. By receiving the UA response 19, the relay device R recognizes that the second link L b has been set to normal response mode (NRM), and
The main terminal TM has an unnumbered approval number (unnumbered).
acknowledgment) response (UA response) 20 is sent. The main terminal TM is UA
By receiving the response 20, it is recognized that the first link L a has been set to normal response mode (NRM). In this way, after the first link L a and the second link L b are set to normal response mode (NRM), the relay device R can perform polling according to the updated polling table.

なお、中継装置Rの立ち上り時等、中継装置R
から主端末TMにポーリングテーブルの更新を勧
誘する必要のある時は、中継装置Rより主端末
TMへRIM(request initialization mode)レス
ポンス10を送信する。主端末TMは、RIMレス
ポンス10を受けとると、SIMコマンド11を中
継装置Rに送信し、以後の制御は上述したとおり
である。
In addition, when the relay device R starts up, etc., the relay device R
When it is necessary to invite the main terminal TM to update the polling table from the relay device R, the main terminal TM
Send RIM (request initialization mode) response 10 to TM. When the main terminal TM receives the RIM response 10, it transmits the SIM command 11 to the relay device R, and the subsequent control is as described above.

以上説明したように、本発明によれば、主端末
と従端末との間に位置する中継装置が、前記主端
末に代行してHDLC−UNクラスの伝送制御手順
に基づいて、前記従端末に対してポーリングを行
うデータ通信システムにおいて、前記主端末の指
示によつて前記中継装置のポーリングテーブルの
内容を自動的に更新させることのできるHDLC−
UNクラスの伝送制御手順が得られ、HDLC−
UNクラスの伝送制御手順の実行部分に容易に吸
収できるという利点がある。
As explained above, according to the present invention, a relay device located between a main terminal and a slave terminal communicates with the slave terminal on behalf of the master terminal based on an HDLC-UN class transmission control procedure. In a data communication system that performs polling for HDLC-
UN-class transmission control procedures are obtained, and HDLC-
It has the advantage that it can be easily absorbed into the execution part of UN class transmission control procedures.

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

第1図は本発明の一実施例に従うデータ通信シ
ステムを示すブロツク図、第2図は第1図のデー
タ通信システムにおいて行われる本発明の一実施
例によるポーリングテーブルの制御方式の制御手
順を示した図である。 TM……主端末、R……中継装置、TS1,TS2
……従端末、La……主端末及び中継装置間の
HDLC−UNクラスの手順による伝送制御を行う
第1のリンク、Lb……中継装置及び従端末間の
HDLC−UNクラスの手順による伝送制御を行う
第2のリンク、10……RIMレスポンス、11
……SIMコマンド、12……UAレスポンス、1
3……DISCコマンド、14……UAレスポンス、
15……UIコマンド、ID……ポーリングテーブ
ルの更新情報、16……UAレスポンス、17…
…SNRMコマンド、18……SNRMコマンド、
19……UAレスポンス、20……UAレスポン
ス。
FIG. 1 is a block diagram showing a data communication system according to an embodiment of the present invention, and FIG. 2 shows a control procedure of a polling table control method according to an embodiment of the present invention performed in the data communication system of FIG. This is a diagram. TM...Main terminal, R...Relay device, TS 1 , TS 2
...Slave terminal, L a ...between the main terminal and the relay device
The first link, L b , which performs transmission control using HDLC-UN class procedures... between the relay device and slave terminal
Second link that performs transmission control according to HDLC-UN class procedures, 10...RIM response, 11
...SIM command, 12 ...UA response, 1
3...DISC command, 14...UA response,
15...UI command, ID...Polling table update information, 16...UA response, 17...
...SNRM command, 18...SNRM command,
19...UA response, 20...UA response.

Claims (1)

【特許請求の範囲】[Claims] 1 主端末と、従端末と、該主端末及び該従端末
間に位置する中継装置と、前記主端末及び前記中
継装置間の第1のリンクと、前記中継装置及び前
記従端末間の第2のリンクとを有し、前記中継装
置が前記主端末に代行してHDLC−UNクラスの
伝送制御手順に基づいて前記従端末に対してポー
リングを行うデータ通信システムにおいて、前記
主端末の指示によつて前記中継装置のポーリング
テーブルの内容を更新させるための制御方式であ
つて、前記主端末は前記中継装置に前記第1のリ
ンクを初期モードに設定するための第1のコマン
ドを送信して該第1のリンクを初期モードに設定
し、前記中継装置は該第1のコマンドを受けると
前記第2のリンクが切断モードでない時のみ該第
2のリンクを切断モードに設定するための第2の
コマンドを前記従端末に送信して該第2のリンク
を切断モードに設定し、続いて前記主端末は番号
なし情報による第3のコマンドにより前記ポーリ
ングテーブルの更新情報を前記中継装置に送信
し、該中継装置は、受信した前記第3のコマンド
の前記ポーリングテーブルの更新情報により前記
ポーリングテーブルの内容を更新し、前記主端末
は更新終了時に前記第1のリンクの初期モードを
解除することを特徴とするポーリングテーブルの
制御方式。
1 A main terminal, a slave terminal, a relay device located between the master terminal and the slave terminal, a first link between the main terminal and the relay device, and a second link between the relay device and the slave terminal. in a data communication system in which the relay device polls the slave terminal on behalf of the master terminal based on an HDLC-UN class transmission control procedure, according to instructions from the master terminal. In this control method, the main terminal transmits a first command to set the first link to an initial mode to the relay device to update the contents of a polling table of the relay device. a second link for setting a first link in an initial mode, and setting the second link in a disconnection mode only when the second link is not in a disconnection mode upon receiving the first command; sending a command to the slave terminal to set the second link in a disconnected mode; subsequently, the main terminal sends update information of the polling table to the relay device by a third command with unnumbered information; The relay device updates the contents of the polling table based on update information of the polling table of the received third command, and the main terminal releases the initial mode of the first link when the update is completed. Polling table control method.
JP56180305A 1981-11-12 1981-11-12 Control system for polling table Granted JPS5883449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56180305A JPS5883449A (en) 1981-11-12 1981-11-12 Control system for polling table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56180305A JPS5883449A (en) 1981-11-12 1981-11-12 Control system for polling table

Publications (2)

Publication Number Publication Date
JPS5883449A JPS5883449A (en) 1983-05-19
JPS6359623B2 true JPS6359623B2 (en) 1988-11-21

Family

ID=16080879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56180305A Granted JPS5883449A (en) 1981-11-12 1981-11-12 Control system for polling table

Country Status (1)

Country Link
JP (1) JPS5883449A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60142A (en) * 1983-06-16 1985-01-05 Hitachi Ltd Data transmission system
JPH0773266B2 (en) * 1987-06-16 1995-08-02 富士通株式会社 Polling control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5652949A (en) * 1979-10-05 1981-05-12 Hitachi Ltd Interruption control method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5652949A (en) * 1979-10-05 1981-05-12 Hitachi Ltd Interruption control method

Also Published As

Publication number Publication date
JPS5883449A (en) 1983-05-19

Similar Documents

Publication Publication Date Title
EP0433077B1 (en) Data transfer method
JPS6276954A (en) Communication controller
US4675864A (en) Serial bus system
JPH10502227A (en) Packet data protocol for wireless communication
JPS6359623B2 (en)
JPH069361B2 (en) Message transmission method
CN111431668B (en) Baud rate switching method based on multi-node UART communication, air conditioning system and processor
JPS6388662A (en) Data communication system
US5559972A (en) Method and apparatus for supporting byte-mode devices and non-byte-mode devices on a bus
JPH054040Y2 (en)
JPS6197754A (en) Back-up system
JPS6351584B2 (en)
CN111510498A (en) Steering judgment backup system and method for traction motor
JPH05282225A (en) Intra-terminal data communication equipment
JPH0234518B2 (en)
JPH04238433A (en) Transmission system for event data
JPH0148573B2 (en)
JPH0368239A (en) Terminal characteristic converter
JPH02196596A (en) Communication control method
JPS63308436A (en) Subbus coupling device for home bus system
JPH0423533A (en) Resending control processing method
JPH0545107B2 (en)
JPS5858629A (en) Bus switching system
JPS63207238A (en) Data communication system
JPH022279A (en) Communication network control method