JPS6348215B2 - - Google Patents

Info

Publication number
JPS6348215B2
JPS6348215B2 JP10916979A JP10916979A JPS6348215B2 JP S6348215 B2 JPS6348215 B2 JP S6348215B2 JP 10916979 A JP10916979 A JP 10916979A JP 10916979 A JP10916979 A JP 10916979A JP S6348215 B2 JPS6348215 B2 JP S6348215B2
Authority
JP
Japan
Prior art keywords
coupling device
node
loop bus
bus
ncpno
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
JP10916979A
Other languages
Japanese (ja)
Other versions
JPS5634259A (en
Inventor
Minoru Hatada
Tokuyuki Iwai
Kunio Hyama
Koichi Ihara
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10916979A priority Critical patent/JPS5634259A/en
Publication of JPS5634259A publication Critical patent/JPS5634259A/en
Publication of JPS6348215B2 publication Critical patent/JPS6348215B2/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/42Loop networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 この発明はループバスネツトワークシステムに
おける初期化方式に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an initialization method in a loop bus network system.

一般に、第1図に示すようなホストコンピユー
タ11〜16を、夫々結合装置21〜26を介し
て、一方向のループ状の伝送路3で結合したルー
プバスネツトワークシステムでは、バスの使用が
同時におこることがあり、何らかの方法でバスの
競合を制御する必要がある。
Generally, in a loop bus network system in which host computers 11 to 16 as shown in FIG. It is necessary to control bus contention in some way.

代表的な競合制御方式のひとつとしては、バス
使用権パス方式がある。この方式は、あるノード
がバス使用権を得ると、データ伝送を行ない、こ
れが終ると次のノードにバス使用権を渡すもので
ある。送信データがないときには、直ちにバス使
用権を次のノードに渡す。この方式では、システ
ムの運転開始時に何らかの手段で、ただ1つのノ
ードにバス使用権を与える必要がある(初期化)。
その他の競合制御方式を採用する場合にもしばし
ば同じ問題を生じる。
One of the typical contention control methods is a bus right pass method. In this method, when a node obtains the right to use the bus, it performs data transmission, and when this is completed, the right to use the bus is handed over to the next node. When there is no data to send, the right to use the bus is immediately passed to the next node. In this method, when the system starts operating, it is necessary to give the right to use the bus to only one node by some means (initialization).
The same problem often occurs when other contention control methods are employed.

システムの運転開始時に、あるひとつのノード
にバス使用権を与える方式としてもつとも簡単な
ものに、最初にバス使用権を与えるノードを固定
してしまう方式がある。しかし、この方式を採用
した場合、ネツトワーク構成の変更によつて、初
めに固定したノードが取りはずされてしまつた時
には、運転再開に際し、あらためて最初にバス使
用権を与えるノードを設定すると共に、それに応
じてソフトウエアも変更しなくてはならないとい
う欠点を有している。
One of the simplest methods for granting the right to use the bus to a node when the system starts operating is to fix the node to which the right to use the bus is initially given. However, when this method is adopted, if the initially fixed node is removed due to a change in the network configuration, when restarting operation, the first node to be given the right to use the bus is set again, and The disadvantage is that the software must be changed accordingly.

この発明の目的は、簡単な方式により、面倒な
ソフトウエアの変更等をする必要のないループバ
スネツトワークシステムの初期化方式を提供する
ことにある。
An object of the present invention is to provide a simple initialization method for a loop bus network system that does not require troublesome software changes.

この発明の特徴とするところは、複数のノード
が一方向性のループバスにより結合され、各ノー
ドはループバスに接続された結合装置を有するル
ープバスネツトワークシステムにおいて、各結合
装置には各ノードに個有の番号が割当てられてお
り、前記ネツトワークシステムの運転開始に先立
ち、各結合装置は自己個有の前記番号を前方ノー
ドの結合装置へ送信すると共に、後方ノードの結
合装置からの前記番号を受信し、この受信番号
が、前方ノードの結合装置へ前回送信した番号よ
りも大きい(又は小さい)場合のみ、これを前方
ノードの結合装置へ送信することによつて、各結
合装置が送信した前記番号のうち最大(又は最
小)のもののみがループバスを一巡するように
し、前記最大番号がそれを送信したノードの結合
装置により受信されたときに、その受信したこと
を知らせる信号をループバスに送出することによ
り他のノードをスレープに設定し、前記信号がル
ープバスを一巡したときに、それを送出したノー
ドをマスタに設定してループバスネツトワークシ
ステムの初期化をおこなうことにある。
The present invention is characterized in that in a loop bus network system in which a plurality of nodes are connected by a unidirectional loop bus, and each node has a connecting device connected to the loop bus, each connecting device has a connecting device for each node. A unique number is assigned to each node, and prior to the start of operation of the network system, each coupling device transmits its own unique number to the coupling device of the forward node, and also transmits the number from the coupling device of the rear node. Each coupling device receives a number and sends it to the coupling device of the forward node only if the received number is larger (or smaller) than the number previously sent to the coupling device of the preceding node. Only the maximum (or minimum) of the numbers sent goes around the loop bus, and when the maximum number is received by the coupling device of the node that sent it, a signal is sent to the loop to notify that it has been received. By sending the signal to the bus, other nodes are set as slaves, and when the signal goes around the loop bus, the node that sent it is set as the master and the loop bus network system is initialized. .

以下、図を参照して説明する。 This will be explained below with reference to the drawings.

この発明においては、まず各ノードあるいはそ
れらの結合装置に固有の番号NCPNOが割当てら
れる。そして、ネツトワークシステムの運転開始
に先立つて、各結合装置が、各自に割当てられた
番号NCPNOを一方向性のループバスに送出す
る。これら送出されたNCPNOのうちの最大(又
は最小)のものを送出した結合装置を認識するこ
とによつて、ネツトワークシステムの初期化がお
こなわれる。
In this invention, a unique number NCPNO is first assigned to each node or their coupling device. Then, prior to the start of operation of the network system, each coupling device sends the number NCPNO assigned to each device to the unidirectional loop bus. The network system is initialized by recognizing the coupling device that sent the largest (or smallest) of these sent NCPNOs.

次に、第2図のフロー図を参照して、上述した
最大(又は最小)NCPNOを送出した結合装置を
認識する方式について説明する。
Next, a method for recognizing the coupling device that has sent out the maximum (or minimum) NCPNO mentioned above will be explained with reference to the flow diagram in FIG.

まず、各結合装置は、夫々自己に与えられた
NCPNOを夫々の前方ノードの結合装置に送信す
る。その後、夫々の後方ノードの結合装置から送
られてきたNCPNOを受信する。この受信された
NCPNOは、前回に、その結合装置から前方ノー
ドの結合装置へ送信したNCPNOと比較される。
もし、受信NCPNOが送信NCPNOより大きけれ
ば、受信NCPNOをそのまま前方ノードの結合装
置へ送り出し、再度受信データを待機する。反対
に、送信NCPNOの方が受信NCPNOよりも大き
ければ、受信NCPNOを無視(あるいは破棄)
し、次の受信データを待機する。
First, each coupling device has its own
Send the NCPNO to the coupling device of each forward node. Thereafter, it receives the NCPNO sent from the coupling device of each backward node. This received
The NCPNO is compared with the NCPNO previously sent from the coupling device to the coupling device of the forward node.
If the received NCPNO is larger than the transmitted NCPNO, the received NCPNO is sent as is to the coupling device of the forward node, and the received data is waited for again. Conversely, if the sending NCPNO is larger than the receiving NCPNO, the receiving NCPNO is ignored (or discarded).
and waits for the next received data.

各ノードの結合装置が、上述のごとき動作をお
こなうことにより、すべての結合装置から送出さ
れたNCPNOのうち最大のものゝみがループバス
を一巡することになる。なお、上記の例では、最
大NCPNOを一巡せしめるようにしたが、これと
は逆に最小NCPNOを一巡せしめるようにしても
よい。この場合は、前述の受信NCPNOが送信
NCPNOよりも小さいときにのみ、受信NCPNO
を前方ノードの結合装置へ送信する。そうでない
ときには、受信NCPNOを無視する。
As the coupling devices of each node perform the operations described above, the largest number of NCPNOs sent out from all the coupling devices goes around the loop bus. Note that in the above example, the maximum NCPNO is cycled once, but the minimum NCPNO may be cycled conversely. In this case, the receiving NCPNO mentioned above will send
Receive NCPNO only when less than NCPNO
is sent to the coupling device of the forward node. Otherwise, ignore the received NCPNO.

受信データを判断して、それが他結合装置の
NCPNOであるならば前述のごとき動作を繰り返
えす(第2図のルート20参照)わけであるが、
受信データがその結合装置の自己のNCPNOと一
致したならば、そのNCPNOがループバスを一巡
してきた最大のものであることを意味する。それ
により、その結合装置は自分が最初にループバス
を使用しうるノード(マスタという。これに対
し、残りのノードをスレイブという)であること
を知る。その後、その結合装置は他の結合装置に
対し、自分が最初にバス使用権を獲得したことを
伝えるための制御信号STXを送信する(第2図
のルート21を参照)。
Determine the received data and determine if it is connected to another coupling device.
If it is an NCPNO, the above operation can be repeated (see route 20 in Figure 2), but
If the received data matches the coupling device's own NCPNO, it means that the NCPNO is the largest one that has passed around the loop bus. As a result, the coupling device learns that it is the first node (called a master; the remaining nodes are called slaves) that can use the loop bus first. Thereafter, that coupling device transmits a control signal STX to inform other coupling devices that it has acquired the right to use the bus first (see route 21 in FIG. 2).

他のノードの結合装置はSTX信号を受信する
ことにより、マスタとなるノードが決まつたこと
を知り、STX信号を前方ノードの結合装置へ送
信した後、自己をスレイブに設定する(第2図の
ルート22参照)。
By receiving the STX signal, the coupling devices of other nodes learn that the master node has been determined, and after transmitting the STX signal to the coupling device of the previous node, set themselves as slaves (see Figure 2). (see route 22).

STX信号を送出した結合装置は、その信号を
送信した後、その信号のループバス一巡を待機す
ると共に、自己をマスタに設定する。そして、再
びSTX信号を受信したとき、ネツトワークシス
テムの初期化が完了したことを知る。
After transmitting the STX signal, the coupling device waits for the signal to go around the loop bus and sets itself as the master. When the STX signal is received again, it is known that the initialization of the network system has been completed.

以上説明したように、この発明によれば、簡単
な方式でループバスネツトワークの初期化をおこ
なうことができる。
As described above, according to the present invention, a loop bus network can be initialized using a simple method.

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

第1図は、ループバス方式のネツトワークシス
テムを説明するための図、第2図はこの発明初期
化方式による結合装置の動作を示すフロー図であ
る。 11〜16……ホストコンピユータ、21〜2
6……結合装置、3……ループバス。
FIG. 1 is a diagram for explaining a loop bus type network system, and FIG. 2 is a flow diagram showing the operation of a coupling device according to the initialization method of the present invention. 11-16...Host computer, 21-2
6...Coupling device, 3...Loop bus.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のノードが一方向性のループバスにより
結合され、各ノードはループバスに接続された結
合装置を有するループバスネツトワークシステム
において、各結合装置には各ノードに個有の番号
が割当てられており、前記ネツトワークシステム
の運転開始に先立ち、各結合装置が自己の上記個
有番号を前方ノードの結合装置へ送信すると共に
後方ノードの結合装置が送信した上記番号を受信
し、この受信番号が自ノードから前方ノードに送
信した自己の個有番号より大きい、または小さい
場合のみ、これを前方ノードの結合装置へ送信す
ることにより、各結合装置が送信した前記番号の
うち最大、または最小のものだけが上記ループバ
スを一巡できるようにし、後方ノードから自己の
個有番号と一致する番号を受信した結合装置がマ
スタノードとなり、該結合装置が上記ループバス
上に所定の制御信号を送出して他の結合装置をス
レーブに設定し、該制御信号が一巡して戻つて来
た後、上記マスタノードが上記ループバスの使用
権を得るようにしたことを特徴とするループバス
ネツトワークシステムの初期化方式。
1. In a loop bus network system in which multiple nodes are connected by a unidirectional loop bus and each node has a coupling device connected to the loop bus, a unique number is assigned to each coupling device. Prior to the start of operation of the network system, each coupling device transmits its own unique number to the coupling device of the forward node, receives the number sent by the coupling device of the rear node, and receives this received number. is larger or smaller than its own unique number transmitted from its own node to the forward node, by transmitting this to the forward node's coupling device, the maximum or minimum of the numbers transmitted by each coupling device The coupling device that receives a number matching its own unique number from the rear node becomes the master node, and the coupling device sends a predetermined control signal onto the loop bus. A loop bus network system characterized in that the master node obtains the right to use the loop bus after the control signal goes around and returns to another coupling device as a slave. Initialization method.
JP10916979A 1979-08-29 1979-08-29 Initialization system of loop bus network system Granted JPS5634259A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10916979A JPS5634259A (en) 1979-08-29 1979-08-29 Initialization system of loop bus network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10916979A JPS5634259A (en) 1979-08-29 1979-08-29 Initialization system of loop bus network system

Publications (2)

Publication Number Publication Date
JPS5634259A JPS5634259A (en) 1981-04-06
JPS6348215B2 true JPS6348215B2 (en) 1988-09-28

Family

ID=14503397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10916979A Granted JPS5634259A (en) 1979-08-29 1979-08-29 Initialization system of loop bus network system

Country Status (1)

Country Link
JP (1) JPS5634259A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02128544A (en) * 1988-11-09 1990-05-16 Fujitsu Ltd Transmission master determining system
JP5932696B2 (en) * 2013-03-26 2016-06-08 ニチコン株式会社 Charger

Also Published As

Publication number Publication date
JPS5634259A (en) 1981-04-06

Similar Documents

Publication Publication Date Title
EP0165600B1 (en) Input/output bus for computer
JPH0475700B2 (en)
US4516205A (en) Access control of data transmission network
US6657973B1 (en) Communications node, network system and method of controlling network system
US6804263B1 (en) Controlling the state of a node connected to a bus during the self identification phase of bus arbitration
EP0115348A2 (en) Remote initialization of interconnected communications stations
JPS6348215B2 (en)
JP2510221B2 (en) Network node address setting method
EP1225724B1 (en) Data transmission/reception system, connection restoring method and information transmission/reception apparatus
US5303261A (en) High-throughput pipelined communication channel for interruptible data transmission
JP3512164B2 (en) Communication node, network system, and control method for network system
JP3184497B2 (en) Asynchronous data communication method, asynchronous data communication device, and asynchronous data communication system
CN111491267A (en) Gateway and data transmission method
JP3996304B2 (en) Asynchronous data communication method, asynchronous data communication apparatus, and asynchronous data communication system
JPH0741231Y2 (en) Data transmission system
JPH11215132A (en) Device and method for processing information and distribution medium
JP2006005646A (en) Network communication method
JP3019370B2 (en) Data multiplexing method
JPS5939140A (en) Communication system
JPH0388446A (en) Polling system
JPS62100048A (en) System for sending large amount data in parallel
JP3644984B2 (en) Process control device
JP3678705B2 (en) ATM cell communication system
JPH0654913B2 (en) Control method for linear transmission line
JPH10243022A (en) Packet converter and medium