JPH0220188B2 - - Google Patents

Info

Publication number
JPH0220188B2
JPH0220188B2 JP58175183A JP17518383A JPH0220188B2 JP H0220188 B2 JPH0220188 B2 JP H0220188B2 JP 58175183 A JP58175183 A JP 58175183A JP 17518383 A JP17518383 A JP 17518383A JP H0220188 B2 JPH0220188 B2 JP H0220188B2
Authority
JP
Japan
Prior art keywords
station
slave
polling
frame information
master station
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 - Lifetime
Application number
JP58175183A
Other languages
Japanese (ja)
Other versions
JPS6068738A (en
Inventor
Kenichi Nagase
Tooru Matsuda
Tooru Ezawa
Nobuhiko Oohama
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 JP17518383A priority Critical patent/JPS6068738A/en
Publication of JPS6068738A publication Critical patent/JPS6068738A/en
Publication of JPH0220188B2 publication Critical patent/JPH0220188B2/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/40143Bus networks involving priority mechanisms
    • H04L12/4015Bus networks involving priority mechanisms by scheduling the transmission of messages at the communication node
    • 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)

Description

【発明の詳細な説明】 (技術分野) 本発明は複数の端末局を有し多重処理を行なう
システムにおけるデータリンクの確立方法に関す
るものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a method for establishing a data link in a system having a plurality of terminal stations and performing multiple processing.

(従来技術) 従来からデータリンクの確立方式としてポーリ
ング・セレクテイング方式が知られている。この
ポーリング・セレクテイング方式はシステム内に
主局と複数の従局とを有し、常に主局がデータリ
ンクの確立の動作を起す方式であり主局は複数の
従局の1つを規則的に選択してデータの送信を求
め(ポーリング)データ転送準備の整つた従局が
該ポーリングに応答して選択される(セレクテイ
ング)。この様にポーリング・セレクテイング方
式ではポーリング周期は一定であり、すべての従
局に対し平等にサービスするよう各従局を規則的
に順次ポーリングするのでたとえデータリンクの
確立を要求している従局が最下流に位置している
従局だけでも上流から順次ポーリングを行なわな
ければならずシステムの処理速度の低下原因とな
つていた。
(Prior Art) A polling/selecting method has been known as a method for establishing a data link. This polling/selecting method has a master station and multiple slave stations in the system, and the master station always initiates the operation to establish a data link, and the master station regularly selects one of the multiple slave stations. A slave station that is ready for data transfer is selected (selecting) in response to the polling. In this way, in the polling/selecting method, the polling cycle is constant, and each slave station is polled in sequence in order to provide equal service to all slave stations, so even if the slave station requesting the establishment of a data link is Even if only the slave station is located at the top, polling must be performed sequentially from the upstream, which causes a decrease in the processing speed of the system.

(発明の課題) 本発明は以上の点に鑑みてなされたものであり
目的とするところはシステム全体の処理速度の向
上を図つた改良されたデータ・リンクの確立方式
を提供することである。本発明は上記目的を達成
するため主局から転送されるポーリング情報によ
り全従局を指定し、その中で主局とのデータ・リ
ンクを要求する従局が上記ポーリング情報に含ま
れるタイマ値に基づき各従局に割り当てられた時
間経過後上記ポーリング情報に対する応答を主局
に返し、一方主局は該応答の中で優先度の高い従
局とのデータ・リンクを確立するものである。
(Problem of the Invention) The present invention has been made in view of the above points, and an object thereof is to provide an improved data link establishment method that improves the processing speed of the entire system. In order to achieve the above object, the present invention specifies all slave stations using polling information transferred from the master station, and among them, each slave station that requests a data link with the master station specifies each slave station based on the timer value included in the polling information. After the time allotted to the slave station has elapsed, a response to the polling information is returned to the master station, and the master station establishes a data link with the slave station having a higher priority in the response.

(発明の構成および作用) 第1図は本発明に係るシステム構成図を示し、
1は主局、2a,2b,2cは各々従局、3は伝
送ラインである。この様に構成されたシステムに
おいて各従局2a,2b,2cは各々個有のアド
レスSAa,SAb,SAcおよび全ての従局2a,2
b,2cに共通な共通アドレスGAを有す。本シ
ステムで使用される伝送フレームとしては第2図
のものがある。第2図aは本発明に係るポーリン
グを指定するフレーム情報であり4は、同期パタ
ーン・エリア、5は上記共通アドレスGA・エリ
ア、6は各従局2a,2b,2cがポーリングに
応答してリクエストを発生するタイミングTa,
Tb,Tcを規定するタイマ値エリア、7はチエツ
クコード・エリア、8は同期パターンエリアであ
る。第2図bは上記主局からのポーリング支持に
応答し、従局が主局1とのデータ・リンクを要求
するリクエストフレーム情報であり9は上記従局
の個有アドレス・エリア、10はリクエストフレ
ームを支持する特定パターン・エリアである。第
2図cは上記リクエストフレーム情報に応答して
主局1が従局にリクエスト内容の転送を支持する
リードフレーム情報であり11はリードフレーム
を支持する特定パターン・エリアである。第2図
dは上記リードフレーム情報に応答して従局がリ
クエスト内容を主局に転送するデータ転送フレー
ム情報であり12はリクエスト内容を支持するエ
リアである。第2図eは上記データ転送フレーム
情報に応答して主局1から従局に発せられる応答
フレーム情報であり、13は応答フレームを支持
する特定パターン・エリアである。
(Structure and operation of the invention) FIG. 1 shows a system configuration diagram according to the present invention,
1 is a main station, 2a, 2b, and 2c are slave stations, and 3 is a transmission line. In the system configured in this way, each slave station 2a, 2b, 2c has its own address SAa, SAb, SAc, and all slave stations 2a, 2c have their own address SAa, SAb, SAc.
It has a common address GA common to b and 2c. The transmission frame used in this system is shown in FIG. Figure 2a shows frame information specifying polling according to the present invention, 4 is a synchronization pattern area, 5 is the above-mentioned common address GA area, and 6 is a request made by each slave station 2a, 2b, 2c in response to polling. The timing Ta to generate
A timer value area defines Tb and Tc, 7 is a check code area, and 8 is a synchronization pattern area. Figure 2b shows request frame information in which the slave station requests a data link with the master station 1 in response to polling support from the master station, 9 is the unique address area of the slave station, and 10 is the request frame information. A specific pattern area to support. FIG. 2c shows lead frame information that supports the transfer of request contents from the master station 1 to the slave station in response to the request frame information, and 11 is a specific pattern area that supports the lead frame. FIG. 2d shows data transfer frame information in which the slave station transfers request contents to the master station in response to the lead frame information, and 12 is an area supporting the request contents. FIG. 2e shows response frame information issued from the master station 1 to the slave station in response to the data transfer frame information, and 13 is a specific pattern area that supports the response frame.

この様なシステム構成における主局1、従局2
a,2b,2cの動作は下記の如く行なわれる。
Master station 1 and slave station 2 in such a system configuration
The operations of a, 2b, and 2c are performed as follows.

(1) 主局1は一定周期で常に第2図aのポーリン
グフレーム情報を各従局2a,2b,2cに対
して発している。
(1) The master station 1 always issues the polling frame information shown in FIG. 2a to the slave stations 2a, 2b, and 2c at regular intervals.

(2) ここで主局1とのデータ・リンクを要求する
従局があると該従局はポーリングフレーム中の
タイマ値エリア6の自分のタイマ値で指定され
る時間経過後、主局1に対して自局の個有アド
レスを含む第2図bのリクエストフレーム情報
を転送する。例えば従局2aだけが主局1との
データ・リンクを要求していると第3図aのタ
イミングで主局1、従局2a間で処理が行なわ
れる。
(2) If there is a slave station that requests a data link with master station 1, the slave station will communicate with master station 1 after the time specified by its own timer value in timer value area 6 in the polling frame. The request frame information shown in FIG. 2b including the own unique address of the station is transferred. For example, if only the slave station 2a requests a data link with the master station 1, processing is performed between the master station 1 and the slave station 2a at the timing shown in FIG. 3a.

(3) 第3図aにおいて主局1が従局2aからリク
エストフレーム情報(以下第2図a〜eに応
じてポーリングフレーム情報を、リクエスト
フレーム情報を、リードフレーム情報を、
データ転送フレーム情報を、応答フレーム情
報をとする)を受け取ると、主局1は一定時
間T経過後第2図cのリードフレーム情報を
従局2aに転送する。
(3) In Fig. 3a, the master station 1 receives request frame information (hereinafter, polling frame information, request frame information, and lead frame information according to Fig. 2 a to e) from the slave station 2a.
Upon receiving the data transfer frame information and the response frame information, the main station 1 transfers the lead frame information shown in FIG. 2c to the slave station 2a after a certain period of time T has elapsed.

尚、上記時間Tは次式を満足するように予め
決定される。
Note that the above-mentioned time T is determined in advance so as to satisfy the following equation.

T>ΣTo+α n:従局の台数 To:従局のリクエストフレーム送信時間とタ
イマ監視時間の和 α:マージン(余裕時間であり“0”でもよく
システムにより適当な値とすればよい) (4) 第3図aにおいて従局2aがリードフレーム
情報(c)を受け取ると、従局2aは主局1に対し
てリクエスト内容(例えば主局1内の図示せぬ
主記憶装置に格納されているデータの読取り)
を含むデータ転送フレーム情報(d)を転送する。
T>ΣT o +α n: Number of slave stations T o : Sum of request frame transmission time and timer monitoring time of slave stations α: Margin (margin, it can be “0” and can be set to an appropriate value depending on the system) (4 ) When the slave station 2a receives the lead frame information (c) in FIG. reading)
The data transfer frame information (d) including the data transfer frame information (d) is transferred.

(5) 第3図aにおいて主局1がデータ転送フレー
ム情報(d)を受け取ると、主局1は従局2aに対
して応答フレーム情報(e)を転送すると共に主記
憶装置からのデータ読取り準備を始める。
(5) In Figure 3a, when the master station 1 receives the data transfer frame information (d), the master station 1 transfers the response frame information (e) to the slave station 2a and prepares to read data from the main memory. Start.

(6) 第3図aにおいて応答フレーム情報(e)転送後
一定時間経過しても主記憶装置からのデータ転
送準備ができないと主局1は再びポーリングフ
レーム情報aを各従局2a,2b,2cに対し
て転送する。ただし転送準備ができているとポ
ーリングを行なわず次のステツプに続く。
(6) In Figure 3a, if data transfer preparations from the main storage device are not ready even after a certain period of time has passed after the response frame information (e) has been transferred, the master station 1 will again transmit the polling frame information a to each slave station 2a, 2b, 2c. Transfer to. However, if the transfer is ready, polling is not performed and the process continues to the next step.

(7) 第3図aにおいて主局1内の主記憶装置から
のデータ転送準備ができると主局1はポーリン
グ期間中であれば該期間の終了を待ち、次のポ
ーリングを延期して格納データとともにデータ
転送する旨をデータ転送フレーム情報(d)に載せ
て従局2aに転送する。
(7) In Figure 3 a, when preparations for data transfer from the main storage device in the main station 1 are completed, the main station 1 waits for the end of the polling period if it is in the polling period, postpones the next polling, and transfers the stored data. At the same time, the data transfer frame information (d) indicates that the data will be transferred and is transferred to the slave station 2a.

(8) 第3図aにおいて、従局2aは上記データ転
送フレーム情報(d)を受け取ると主局1に対して
応答フレーム情報(e)を転送する。
(8) In FIG. 3a, when the slave station 2a receives the data transfer frame information (d), it transfers the response frame information (e) to the master station 1.

(9) 第3図aにおいて応答フレーム情報(e)転送後
一定時間経過すると主局1は再びポーリングフ
レーム情報(a)を各従局2a,2b,2cに対し
て転送する。
(9) In FIG. 3a, after a certain period of time has passed after the response frame information (e) is transferred, the master station 1 again transfers the polling frame information (a) to each slave station 2a, 2b, and 2c.

以上の説明は1つのポーリングフレームに対し
てデータリンクを要求している従局が1局であつ
たが複数局の場合(例えば従局2a,2c)には
第3図bのタイミングで主局1、従局2a,2c
間で処理が行なわれる。この場合前記(3)以降は下
記の如くなる。
In the above explanation, the number of slave stations requesting a data link for one polling frame is one, but in the case of multiple stations (for example, slave stations 2a and 2c), the master station 1, at the timing shown in FIG. 3b, Slave station 2a, 2c
Processing is performed in between. In this case, the steps after (3) above are as follows.

(3′) 第3図bにおいて主局1が従局2aおよび
従局2cからリクエストフレーム情報を受け
取ると、主局1は従局2a,2cの優先度を判
定して高優先度の従局、例えば2aに一定時間
T経過後リードフレーム情報(c)を転送する。
(3') When master station 1 receives request frame information from slave stations 2a and 2c in FIG. After a certain period of time T has elapsed, the lead frame information (c) is transferred.

優先度の決定は通常主局1に近い従局2aを
高優先度として以下遠ざかるごとに優先度を下
げて行く方法が行なわれるが本発明はこれに限
定されることがないことは言うまでもない。
The priority is usually determined by giving the slave station 2a closest to the main station 1 a high priority and decreasing the priority as the station gets further away, but it goes without saying that the present invention is not limited to this.

(4′)〜(9′)は前記(4)〜(9)と同様にして行なわ
れる。
(4') to (9') are carried out in the same manner as (4) to (9) above.

(10′) 第3図bにおいて主局1は次のポーリング
で前回選択されなかつた従局2cからリクエス
トフレーム情報(b)を受け取ると主局1は一定時
間T経過後リードフレーム情報(c)を従局2cに
転送する。
(10') In Figure 3b, when master station 1 receives request frame information (b) from slave station 2c, which was not selected last time, in the next polling, master station 1 receives lead frame information (c) after a certain period of time T has elapsed. Transfer to slave station 2c.

以降は前記(4)〜(9)と同様に動作する。ただし前
記における従局2aは2cとなる。
Thereafter, operations are similar to those in (4) to (9) above. However, the slave station 2a in the above becomes 2c.

今までは1つの従局又は2つの従局からリクエ
ストフレーム情報が転送される場合について説明
したが複数の従局からリクエストフレーム情報が
転送されても主局1は優先度の高い従局だけにリ
ードフレーム情報を転送することにより複数従局
からのリクエスト情報の競合に対して好ましい対
処を行なう。
Up to now, we have explained the case where request frame information is transferred from one slave station or two slave stations, but even if request frame information is transferred from multiple slave stations, master station 1 transfers lead frame information only to the slave station with a high priority. By transferring the information, a preferable countermeasure is taken against conflicting request information from multiple slave stations.

本発明の第2の実施例のとして第2図aに示す
ポーリングフレーム情報のタイマ値エリア6の各
タイマTa,Tb,Tcを対応する従局の優先度に
応じて変化させることも可能である。この場合主
局1内でリクエスト情報(b)の到着順に優先度の高
低を決定すれば良い。そしてこのタイマ値を可変
とすることにより従局の優先順位を任意に変える
ことができシステムの柔軟性を得ることができ
る。
As a second embodiment of the present invention, it is also possible to change each timer Ta, Tb, and Tc in the timer value area 6 of the polling frame information shown in FIG. 2a in accordance with the priority of the corresponding slave station. In this case, the priority level may be determined within the main station 1 in the order in which the request information (b) arrives. By making this timer value variable, the priority order of the slave stations can be changed arbitrarily, and flexibility of the system can be obtained.

本発明の第3の実施例として第2図aに示すポ
ーリングフレーム情報のタイマ値エリア6に各従
局毎にタイマ値を設定する事なしに各従局共通の
タイマ値を設定しておき各従局は該タイマ値と自
局の個有アドレスSAの値とを加算又は乗算を行
ないリクエストフレーム情報(b)の転送タイミング
とすることにより主局が従局の接続台数を意識す
る必要をなくすことも可能である。
As a third embodiment of the present invention, a timer value common to each slave station is set in the timer value area 6 of the polling frame information shown in FIG. 2a, without setting a timer value for each slave station. It is also possible to eliminate the need for the master station to be aware of the number of slave stations connected by adding or multiplying the timer value and the value of the own station's own address SA to determine the transfer timing of the request frame information (b). be.

(発明の効果) 以上詳細に説明したように本発明によれば主局
から転送されるポーリング情報により全従局が指
定され、その中で主局とのデータ・リンクを要求
する従局が上記ポーリング情報に含まれるタイマ
値に基づき各従局に割り当てられた時間経過後上
記ポーリング情報に対する応答を主局に返し、一
方主局は該応答の中で優先度の高い従局とのデー
タ・リンクを確定することにより処理速度の速い
システムが構築できる。
(Effects of the Invention) As explained in detail above, according to the present invention, all slave stations are designated by the polling information transferred from the master station, and among them, the slave station requesting a data link with the master station receives the polling information from the master station. After the time assigned to each slave station has elapsed based on the timer value included in the timer value, a response to the polling information is returned to the master station, and the master station determines a data link with the slave station with a higher priority in the response. This makes it possible to build a system with high processing speed.

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

第1図は本発明に係るシステム構成図、第2図
a〜e、は本システムで使用される伝送フレーム
を示す図であり、第3図a及びbは主局と従局と
のデータ・リンク確定を説明する図である。 1:主局、2a,2b,2c:従局、3:伝送
ライン。
Figure 1 is a system configuration diagram according to the present invention, Figures 2 a to e are diagrams showing transmission frames used in this system, and Figures 3 a and b are data links between the master station and slave stations. It is a figure explaining confirmation. 1: Main station, 2a, 2b, 2c: Slave stations, 3: Transmission line.

Claims (1)

【特許請求の範囲】[Claims] 1 複数の端末局を伝送ラインを介して互いに接
続し、主局が複数の従局を集中管理するシステム
において、主局から従局に対して転送するポーリ
ング情報の中に各従局がポーリングに応答してデ
ータリンク要求の応答を発生するタイミングを規
定するタイマ値を含み、主局から各従局に対して
ポーリング情報を転送すると、データリンクを要
求する従局は上記ポーリング情報に含まれる自己
のタイマ値に基づいて割り当てられた時間経過後
にデータリンク要求の応答を主局に返し、主局は
これら応答の到着順を優先順位にしてデータリン
クを確立することを特徴とするデータリンクの確
立方法。
1 In a system in which multiple terminal stations are connected to each other via transmission lines and a master station centrally manages multiple slave stations, the polling information transferred from the master station to the slave stations includes the information that each slave station responds to polling. It includes a timer value that defines the timing of generating a response to a data link request, and when polling information is transmitted from the master station to each slave station, the slave station requesting the data link will respond based on its own timer value included in the polling information. 1. A method for establishing a data link, characterized in that responses to a data link request are returned to a main station after an allotted time has elapsed, and the main station establishes a data link by prioritizing the order in which these responses arrive.
JP17518383A 1983-09-24 1983-09-24 Method for establishing data link Granted JPS6068738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17518383A JPS6068738A (en) 1983-09-24 1983-09-24 Method for establishing data link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17518383A JPS6068738A (en) 1983-09-24 1983-09-24 Method for establishing data link

Publications (2)

Publication Number Publication Date
JPS6068738A JPS6068738A (en) 1985-04-19
JPH0220188B2 true JPH0220188B2 (en) 1990-05-08

Family

ID=15991724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17518383A Granted JPS6068738A (en) 1983-09-24 1983-09-24 Method for establishing data link

Country Status (1)

Country Link
JP (1) JPS6068738A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4723120A (en) * 1986-01-14 1988-02-02 International Business Machines Corporation Method and apparatus for constructing and operating multipoint communication networks utilizing point-to point hardware and interfaces
JPS6377242A (en) * 1986-09-19 1988-04-07 Matsushita Electric Ind Co Ltd Communication control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53109449A (en) * 1977-03-07 1978-09-25 Hitachi Ltd Control system for data transmission
JPS5523608A (en) * 1978-07-17 1980-02-20 Yokogawa Hokushin Electric Corp Control system for interruption reception
JPS5672752A (en) * 1979-11-20 1981-06-17 Casio Comput Co Ltd Controller for occupation of common bus line

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53109449A (en) * 1977-03-07 1978-09-25 Hitachi Ltd Control system for data transmission
JPS5523608A (en) * 1978-07-17 1980-02-20 Yokogawa Hokushin Electric Corp Control system for interruption reception
JPS5672752A (en) * 1979-11-20 1981-06-17 Casio Comput Co Ltd Controller for occupation of common bus line

Also Published As

Publication number Publication date
JPS6068738A (en) 1985-04-19

Similar Documents

Publication Publication Date Title
KR890006019A (en) Network system using token passing bus method
US4199662A (en) Hybrid control of time division multiplexing
US4736366A (en) Bus acquisition system
US3702008A (en) Program for polling party line data stations for message pickups
CN105278413A (en) Communication method for upper computer and CAN equipment of same type
JPH0652900B2 (en) Multi-master communication bus
JPH0220188B2 (en)
JPS61100046A (en) Loop transmission method
JP2705683B2 (en) Network alert collection method
US4679045A (en) Sequencing data transmission process
JPH03270432A (en) Local area network
JPH09181752A (en) Polling method data collection system
JP2570192B2 (en) Loop type local area network system
JPH0358214B2 (en)
JP2559740B2 (en) Data transmission method
JPS63135037A (en) Establishing method for data link
JP2724572B2 (en) Token passing LAN device
JP2742239B2 (en) Data communication method between nodes
JPS5822893B2 (en) Data highway system line control method
JP2917369B2 (en) Line network controller
JP2000004246A (en) Supervisory and control method for communication equipment
JP2001094626A (en) Data transfer system and data transfer method
JP3067155B2 (en) Data transfer device
JP3355988B2 (en) Data transmission equipment
JPH10254821A (en) Data transferring device and its method