JPS63135037A - Establishing method for data link - Google Patents

Establishing method for data link

Info

Publication number
JPS63135037A
JPS63135037A JP27976786A JP27976786A JPS63135037A JP S63135037 A JPS63135037 A JP S63135037A JP 27976786 A JP27976786 A JP 27976786A JP 27976786 A JP27976786 A JP 27976786A JP S63135037 A JPS63135037 A JP S63135037A
Authority
JP
Japan
Prior art keywords
station
master station
data
slave
polling
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
JP27976786A
Other languages
Japanese (ja)
Inventor
Kazuyoshi Suzuki
一義 鈴木
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP27976786A priority Critical patent/JPS63135037A/en
Publication of JPS63135037A publication Critical patent/JPS63135037A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To establish next new data link during the establishing of data link between a master station and a slave station by returning the reply from the slave station to the master station with respect to polling information. CONSTITUTION:When the master station transfers a data to a slave station T1, the master station sends polling information to other slave stations (T2, T3) in succession to the data information transmission. Suppose that a transmission request takes place in the slave station T3, the slave station T3 receiving the polling information from the master station returns the reply to the polling information to the master station. The master station receiving the response gives transmission permission to the slave station T3. On the other hand, the slave station T1 receiving the data returns the reception acknowledge of reception enable or reception disable to the master station. Then the master station receives the reception acknowledge. The reception acknowledge is received after the response to the polling information is received because of the difference in the processing speed of the data information and polling information. Thus, while the reception acknowledge to the data transfer is awaited, the acknowledge of polling information is received to select the slave station establishing the data link next.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は複数の端末局を有し通信処理を行うシステムに
関し、更に詳細には、伝送ラインを介して互いに接続さ
れた複数の端末局である従局を主局が集中管理するシス
テムにおけるデータリンクの確立方法に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention relates to a system that has a plurality of terminal stations and performs communication processing, and more specifically, the present invention relates to a system that has a plurality of terminal stations and performs communication processing. This invention relates to a method for establishing a data link in a system in which a master station centrally manages a slave station.

(従来の技術) 従来からデータリンクの確立方式として、ポーリング・
セレクティング方式が知られている。このポーリング・
セレクティング方式は第3図に示すように、システム内
の伝送ライン6に接続された主局と複数の従局とを有し
、常に主局が従局とのデータリンクの確立の動作を起す
(集中管理)方式である。主局は複数の従局の1つを規
則的、に選択してデータの送信を求め(ポーリング)、
データ転送準備の整った従局が該ポーリングに応答しデ
ータリンクを確立する。また、主局から転送されるポー
リングにタイマ値情報を含ませ、従局からの応答を待た
ずに複数の従局ヘポーリングを送出し、そのタイマ値に
基づき各従局に割り当てられた時間経過後上記ポーリン
グ情報に対する応答を主局に返し、一方主局は該応答の
中で優先度の高い従局とのデータリンクを確立する方法
がある(例えば、特開昭60−68738号公報参照)
(Conventional technology) Polling and
A selection method is known. This polling
As shown in Figure 3, the selecting method has a master station and multiple slave stations connected to the transmission line 6 in the system, and the master station always initiates an operation to establish a data link with the slave stations (centralized management) method. The master station regularly selects one of the multiple slave stations and requests data transmission (polling).
A slave station ready for data transfer responds to the polling and establishes a data link. In addition, timer value information is included in the polling transferred from the master station, and polling is sent to multiple slave stations without waiting for responses from the slave stations, and the above polling is performed after the time allocated to each slave station based on the timer value has elapsed. There is a method in which a response to the information is returned to the master station, and the master station establishes a data link with a slave station having a high priority in the response (for example, see Japanese Patent Laid-Open No. 60-68738).
.

第4図は、上記従来のセレクティング方式により第3図
に示すシステムの主局から従局に対してデータ転送を行
う場合のシーケンスチャートである。同図及び第4図に
おいて、主局はポーリングフレームを送信するタイミン
グと同様のタイミングにて、1つの従局T工に対してデ
ータフレーム1を送信する。従局T□がこのデータフレ
ーム1を受信し、処理が完了すると従局T□は受信応答
フレーム4(例えばACKフレーム、又はNAKフレー
ム)を主局に転送する。主局は受信応答フレーム4をデ
ータフレーム1送信から70時間後に受信し、セレクテ
ィング方式を完了する。次に従局に対するデータ転送が
無い場合は、応答時間のタイマ値を含ませたポーリング
フレーム2を従局T□、T2.T3に対して送信し、従
局T、からのポーリング応答フレーム3をポーリングフ
レーム2送信から前記タイマ値に基づき決められたTP
時間後に受信することにより、主局は従局T3に対して
送信許可フレーム5を送信し、新しいデータリンクの確
立を行う。
FIG. 4 is a sequence chart when data is transferred from the master station to the slave station of the system shown in FIG. 3 using the conventional selecting method. In the figure and FIG. 4, the master station transmits data frame 1 to one slave station T at the same timing as the polling frame. The slave station T□ receives this data frame 1, and when the processing is completed, the slave station T□ transfers a reception response frame 4 (for example, an ACK frame or a NAK frame) to the master station. The main station receives reception response frame 4 70 hours after sending data frame 1, and completes the selection method. Next, if there is no data transfer to the slave stations, polling frame 2 containing the response time timer value is sent to the slave stations T□, T2. T3, and the polling response frame 3 from the slave station T is sent to the polling frame 2 at the TP determined based on the timer value.
Upon reception after a certain period of time, the master station transmits a transmission permission frame 5 to the slave station T3 and establishes a new data link.

(発明が解決しようとする問題点) しかし、上記のデータリンクの確立方法では主局はデー
タ転送から受信応答までの間(To待時間。
(Problems to be Solved by the Invention) However, in the above data link establishment method, the main station waits for a period from data transfer to reception response (To waiting time).

従局に対して動作を起すことができない。また、通常ポ
ーリング情報に対する応答(Tp待時間は従局が送信準
位ができている状態でポーリングフレームを待っている
ため早い。これに対し、データ転送による応答(T o
時間)は、従局側がデータを受信し、処理を行い、処理
結果をみて応答を返すため、前記ポーリングフレームに
対する応答(T p時間)に比較して時間がかかる。さ
らに従局が該データ転送により電気的又は機械的動作(
例えば画面表示や印字出力など)を伴う場合はかなりの
時間を要する。この応答待の間、伝送ライン上は゛″空
空状態上なり、このため伝送効率が低下し、結果として
システムの処理速度が低下するという問題点があった。
No action can be taken against the slave station. In addition, the response to polling information (Tp waiting time is usually fast because the slave station is waiting for the polling frame with the transmission level established. In contrast, the response by data transfer (Tp) is fast.
Since the slave side receives the data, processes it, and returns a response after checking the processing result, it takes more time than the response to the polling frame (T p time). Furthermore, the slave station may perform electrical or mechanical operations (
For example, if the process involves screen display, printout, etc.), it takes a considerable amount of time. While waiting for a response, the transmission line is in a ``empty'' state, resulting in a reduction in transmission efficiency and, as a result, a problem in that the processing speed of the system is reduced.

本発明は以上述べた主局からのデータ転送後の次のデー
タリンクの確立までの時間を短縮し、シ ・ステム全体
の処理速度の向上を図った、改良されたデータリンクの
確立方式を提供することを目的とする。
The present invention provides an improved data link establishment method that shortens the time required to establish the next data link after data transfer from the main station as described above, and improves the processing speed of the entire system. The purpose is to

(問題点を解決するための手段) 本発明は、複数の従局を伝送ラインを介して互いに接続
し、主局が複数の従局を集中管理するシステムを対象と
する。
(Means for Solving the Problems) The present invention is directed to a system in which a plurality of slave stations are connected to each other via a transmission line, and a master station centrally manages the plurality of slave stations.

本発明は上記システムにおいて、主局は従局に対するデ
ータ情報の転送時、データ情報に引き続き、ポーリング
情報も転送し、その中で主局とのデータリンクを要求す
る従局がポーリング情報に対する応答を主局に返すこと
により、主局は従局とのデータリンク確定中に次の新た
なデータリンクの確立の動作を行う。
The present invention provides the above system in which, when the master station transfers data information to the slave station, the master station also transfers polling information following the data information, and the slave station requesting a data link with the master station sends a response to the polling information to the master station. By returning this, the master station performs the operation of establishing the next new data link while the data link with the slave station is being established.

(作用) 例えば、主局が従局T工にデータ転送をする場合、主局
はデータ情報送信後ひきつづいて、他の従局(T z 
、T zとする)にポーリング情報を送信する。いま、
従局T3に送信要求が発生しているものとすると、主局
からのポーリング情報を受信した従局T3はポーリング
情報に対する応答を主局に返送する。この応答を受信し
た主局は、従局T、に送信許可を与える。一方、データ
を受信した従局T□は主局に受信可、又は受信不可の受
信応答を主局に返送する。そして、主局はこの受信応答
を受取る。この受信応答は通常、データ情報とポーリン
グ情報の処理速度のちがいから、ポーリング情報に対す
る応答を受信した後に受信される。
(Function) For example, when a master station transfers data to a slave station T, the master station continues to transmit data information to another slave station (T z
, T z). now,
Assuming that a transmission request has been issued to the slave station T3, the slave station T3, which has received the polling information from the master station, returns a response to the polling information to the master station. The master station that receives this response gives transmission permission to the slave station T. On the other hand, the slave station T□ which has received the data returns to the master station a reception response indicating that the data can be received or cannot be received. The main station then receives this reception response. This reception response is normally received after the response to the polling information is received due to the difference in processing speed between data information and polling information.

このように、データ転送に対する受信応答を待つ間に、
ポーリング情報の応答を受信することにより次にデータ
リンクを確立する従局を選択できるので、従来の問題点
は解決できる。
In this way, while waiting for a received response to a data transfer,
By receiving a response to polling information, it is possible to select the next slave station to establish a data link with, thereby solving the conventional problems.

(実施例) 以下、本発明の一実施例を図面を参照して詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

はじめに、本実施例に係るシステム構成は第3図に示す
ものと同一である。ここで、従局T工。
First, the system configuration according to this embodiment is the same as that shown in FIG. Here, the subordinate T engineer.

T2.T、は各々固有のステーションアドレスSA工。T2. T, each has a unique station address SA.

SA2.SA、、および全ての従局に共通なステーショ
ンアドレスGAを有す。
SA2. SA, and has a station address GA common to all slave stations.

第2図は前記システムで使用される伝送フレームのうち
本実施例に係るフレーム例である。
FIG. 2 shows an example of a frame according to this embodiment among the transmission frames used in the system.

第2図(a)はポーリング情報を指定するポーリングフ
レームであり、7は同期パターンエリア(F)、 8は
上記共通アドレスOAエリア(GA)。
FIG. 2(a) is a polling frame that specifies polling information, 7 is a synchronization pattern area (F), and 8 is the above-mentioned common address OA area (GA).

9はポーリング情報エリア(Data) 、 10はチ
ェックコードエリア(Fe2)である。
9 is a polling information area (Data), and 10 is a check code area (Fe2).

第2図(b)はデータ情報を指定するデータフレームで
あり、11は前記従局の固有アドレスSAエリア(SA
)、12はデータ情報エリア(Data)である。
FIG. 2(b) is a data frame specifying data information, and reference numeral 11 indicates the slave station's unique address SA area (SA
), 12 is a data information area (Data).

第2図(c)はポーリングフレーム(a)及びデータフ
レーム(b)を1つのフレームとして表わしたものであ
る。
FIG. 2(c) shows a polling frame (a) and a data frame (b) as one frame.

このようなシステム端成における本実施例のデータリン
クの確立は、第1図の如く行なわれる。
Establishment of a data link in this embodiment in such a system configuration is performed as shown in FIG.

主局が従局T□に対して伝送する情報が存在している場
合、主局は第2図(b)に示すデータフレームの固有ア
ドレスエリアSAをSAよとし、送信を開始する。デー
タフレーム1の送信が完了すると、主局は引き続きポー
リングフレーム2の送信を開始する。この特番従局T□
、 T2. T、において従局T□は自局あてのデータ
フレーム1及びポーリングフレーム2の処理を行い、従
局T、、T、はポーリングフレーム2の処理を行う。
If there is information to be transmitted by the master station to the slave station T□, the master station sets the unique address area SA of the data frame shown in FIG. 2(b) as SA and starts transmission. When the transmission of data frame 1 is completed, the main station subsequently starts transmitting polling frame 2. This special number subordinate station T□
, T2. At T, slave station T□ processes data frame 1 and polling frame 2 addressed to its own station, and slave stations T, , T, process polling frame 2.

ここで、従局T3にて送信要求が発生していると仮定す
ると、従局T3はポーリングフレーム2内のデータ情報
に基づいて、主局にポーリング応答フレーム3を送信す
る。又、複数の従局から送信要求があった場合、各従局
はポーリングフレーム2内のデータ情報に基づいて各従
局毎に決められた応答時間経過後、ポーリング応答フレ
ーム3を送信する。そして、主局は複数の従局からの応
答のうち優先度の一番高い従局を選択する。このポーリ
ングフレーム送信からポーリング応答フレーム受信まで
の動作は従来方法と同じであり、ポーリング方法、従局
数に依存しない。
Here, assuming that a transmission request has occurred at the slave station T3, the slave station T3 transmits a polling response frame 3 to the master station based on the data information in the polling frame 2. Further, when there are transmission requests from a plurality of slave stations, each slave station transmits a polling response frame 3 after a response time determined for each slave station based on the data information in the polling frame 2 has elapsed. Then, the master station selects the slave station with the highest priority among the responses from the plurality of slave stations. The operation from sending the polling frame to receiving the polling response frame is the same as the conventional method, and does not depend on the polling method or the number of slave stations.

主局は従局T、からのポーリング応答フレーム3をポー
リングフレーム送出からT1時間後に受イaし処理を行
い、ひきつづき従局T1からの受信応答フレーム4をデ
ータフレーム送出からT。時間後に受信する。ここで従
来技術で述べたように、従局のポーリングフレームとデ
ータフレームに対する処理速度の違いから、一般的にT
、の最大時間<Tl)の最小時間の関係が成り立つ。そ
して受信応答フレーム4を受信後、すでに受信済みの前
記ポーリング応答フレーム3に対する送信許可フレーム
5を従局T、に対して送信し、新しいデータリンクが確
立する。またT、=Toや、T、の最大時間〉TOの最
小時間となり、主局でのポーリング応答フレーム3の受
信が受信応答フレーム4の受信よりも遅れた場合でも、
フレームの内容によりそれぞれの処理を行なうため何ら
不都合は生じない。
The master station receives and processes the polling response frame 3 from the slave station T, T1 hours after sending the polling frame, and subsequently processes the reception response frame 4 from the slave station T1 after sending the data frame. Receive after hours. As mentioned in the prior art section, due to the difference in processing speed of the slave station for polling frames and data frames, generally T
, the maximum time < Tl) holds true. After receiving the reception response frame 4, the transmission permission frame 5 corresponding to the already received polling response frame 3 is transmitted to the slave station T, and a new data link is established. Furthermore, even if T,=To, maximum time of T>minimum time of TO, and reception of polling response frame 3 at the main station is delayed than reception of reception response frame 4,
Since each process is performed depending on the content of the frame, no inconvenience occurs.

尚1本発明の別の実施例として、主局が連続して送信す
るデータフレーム1及びポーリングフレーム2を第2図
(C)に示すような、1つのフレームとして送信しても
、従局T工、T2.T、側を前記の実施例と同様に動作
させる事もできる。
1. As another embodiment of the present invention, even if the data frame 1 and polling frame 2 that the master station continuously transmits are transmitted as one frame as shown in FIG. 2(C), the slave station T , T2. It is also possible to operate the T and side in the same manner as in the previous embodiment.

(発明の効果) 以上詳細に説明したように本発明によれば、主局がデー
タフレームにひきつづきポーリングフレームを送信し、
受信応答フレーム受信までに次にデータリンクを確立す
る従局を選択できるため、データリンク確立までの時間
が短く、システム全体の処理速度の向上が期待出来る。
(Effects of the Invention) As described above in detail, according to the present invention, the main station transmits a polling frame following a data frame,
Since the next slave station to establish a data link can be selected by the time the reception response frame is received, the time required to establish a data link is shortened, and an improvement in the processing speed of the entire system can be expected.

本発明は従局の設置数やポーリング方式等に依存するこ
となく等し〈実施できるため、各種システムに幅広く適
用できる。
The present invention can be implemented without depending on the number of slave stations installed or the polling method, so it can be widely applied to various systems.

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

第1図は本発明の一実施例によるデータリンクの確立手
順を説明するためのシーケンスチャート、第2図は本実
施例で用いられるフレームフォーマットを示す図、第3
図はデータリンクの確立を必要とするシステムのブロッ
ク図、及び第4図は従来のデータリンクの確立手順を説
明するためのシーケンスチャートである。 1・・・データフレーム、  2・・・ポーリングフレ
ーム。 3・・・ポーリング応答フレーム、 4・・・受信応答フレーム、5・・送信許可フレーム、
6・・・伝送ライン、    7・・・同期パターンエ
リア。 8・・・共通アドレスGAエリア。 9・・・ポーリング情報エリア。 10・・・チェックコードエリア、 11・・・固有アドレスエリア、 12・・・データ情報エリア。
FIG. 1 is a sequence chart for explaining the procedure for establishing a data link according to an embodiment of the present invention, FIG. 2 is a diagram showing a frame format used in this embodiment, and FIG.
The figure is a block diagram of a system that requires establishment of a data link, and FIG. 4 is a sequence chart for explaining a conventional procedure for establishing a data link. 1...Data frame, 2...Polling frame. 3... Polling response frame, 4... Reception response frame, 5... Transmission permission frame,
6...Transmission line, 7...Synchronization pattern area. 8...Common address GA area. 9...Polling information area. 10...Check code area, 11...Unique address area, 12...Data information area.

Claims (1)

【特許請求の範囲】 複数の従局を伝送ラインを介して互いに接続し、主局が
複数の従局を集中管理するシステムにおいて、 主局は従局に対するデータ情報の転送時、データ情報に
引き続き、ポーリング情報も転送し、その中で主局との
データリンクを要求する従局がポーリング情報に対する
応答を主局に返すことにより、主局は従局とのデータリ
ンク確定中に次の新たなデータリンクの確立の動作を行
うことを特徴とするデータリンクの確立方法。
[Claims] In a system in which a plurality of slave stations are connected to each other via a transmission line and a master station centrally manages the plurality of slave stations, when the master station transfers data information to the slave station, the master station transmits polling information following the data information. In this process, the slave station that requests a data link with the master station returns a response to the polling information to the master station, so that the master station can wait for the establishment of the next new data link while the data link with the slave station is being established. A method for establishing a data link characterized by performing the following actions.
JP27976786A 1986-11-26 1986-11-26 Establishing method for data link Pending JPS63135037A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27976786A JPS63135037A (en) 1986-11-26 1986-11-26 Establishing method for data link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27976786A JPS63135037A (en) 1986-11-26 1986-11-26 Establishing method for data link

Publications (1)

Publication Number Publication Date
JPS63135037A true JPS63135037A (en) 1988-06-07

Family

ID=17615622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27976786A Pending JPS63135037A (en) 1986-11-26 1986-11-26 Establishing method for data link

Country Status (1)

Country Link
JP (1) JPS63135037A (en)

Similar Documents

Publication Publication Date Title
GB2172779A (en) Local area network with self assigned address method
JPS6048638A (en) Polling method for searching service request
JPS63135037A (en) Establishing method for data link
JPH0473178B2 (en)
JP3075649B2 (en) Time division multiplex communication system
JPH0644763B2 (en) Data transfer method
JPH0358214B2 (en)
JP2662257B2 (en) Signal transmission method
JPS6068738A (en) Method for establishing data link
JP3895630B2 (en) Wireless communication system
JPH0683224B2 (en) Polling method
JPS62283724A (en) Multi-station one system radio communication control system
JP2935242B2 (en) Wireless communication system
JPS61274447A (en) Communication system
JP2002026951A (en) Optical network system
JPS62128241A (en) Polling system
JPH0380357A (en) Information processing system
JPH02217039A (en) Poling/selecting control procedure system
JPS6225532A (en) Loop delay time measuring method for loop data link system
JPS61278243A (en) Communication system
JPH03136426A (en) Transmission control method for plotting communication system
JPH02222240A (en) Transmission method for hierarchical system
JPH01183222A (en) Communication method for mobile radiocommunication system
JPH03136431A (en) Data communication method
JPH0420143A (en) Multi-address communication replay system and its circuit