JPS61285844A - Priority communication control system - Google Patents

Priority communication control system

Info

Publication number
JPS61285844A
JPS61285844A JP12625585A JP12625585A JPS61285844A JP S61285844 A JPS61285844 A JP S61285844A JP 12625585 A JP12625585 A JP 12625585A JP 12625585 A JP12625585 A JP 12625585A JP S61285844 A JPS61285844 A JP S61285844A
Authority
JP
Japan
Prior art keywords
communication
node
priority
transmission
token
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
JP12625585A
Other languages
Japanese (ja)
Inventor
Koji Takao
高尾 貢司
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12625585A priority Critical patent/JPS61285844A/en
Publication of JPS61285844A publication Critical patent/JPS61285844A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To improve the transmission efficiency by distributing the communication right (transmission right) in matching with quantity of communication of each transmitter constituting a network. CONSTITUTION:Data to be sent from a host 3 is stored once in a memory circuit 6 in a node 2, subjected to formatting (packet forming) in a proper way as communication data, sender node address is added as a destination address, a setting value of an address setting circuit 8 is added as a sender address, a token addressed to the own node is received by a reception circuit 11, and then the priority of holding information of a priority information holding section 9 of the own device is higher than the former priority information and the data is sent to a transmission line 1 via a transmission circuit 12 after the transmission right is acquired. Thus, much more communication right transfer is made possible for equipments having higher sending frequency.

Description

【発明の詳細な説明】 し産業上の利用分野] 本発明は優先通信制御方式に関し、特にトークン内の通
信優先度指定情報により通信権の移譲を制御する優先通
信制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application] The present invention relates to a priority communication control system, and particularly to a priority communication control system that controls transfer of communication rights using communication priority designation information in a token.

し開示の概要」 本明細書及び図面は、複数の伝送装置を通信媒体を介し
て接続し、通信権移譲命令であるトークンにより通信権
を獲得した伝送装置のみが送信権を得るネットワークシ
ステムの優先通信制御方式において、前記トークン中に
通信優先度指定情報を含み、前記伝送装置に自装置宛の
通信優先度指定情報を受信する受信手段と、該受信手段
で受信した通信優先度指定情報を保持する保持手段と、
該保持手段の保持情報と前記トークン中の通信優先度指
定情報とを比較する比較手段と、該比較手段での比較の
結果自装置の保持通信潰先度指定情報の優先度の高い場
合に前記トークンにより通信権を獲得する通信権獲得手
段とを備えることにより、伝送装置の通信量に合わせて
効率の良い通信権配分を行い得、伝送効率の向上する技
術を開示するものである。
This specification and drawings describe a priority network system in which a plurality of transmission devices are connected via a communication medium, and only the transmission device that has acquired the communication right using a token, which is a communication rights transfer command, can obtain the transmission right. In the communication control method, the token includes communication priority designation information, and the transmission device includes a receiving means for receiving the communication priority designation information addressed to the transmitting device, and retains the communication priority designation information received by the receiving means. a retaining means for
a comparison means for comparing the information held by the holding means and the communication priority designation information in the token; The present invention discloses a technology that improves transmission efficiency by providing communication right acquisition means that acquires communication rights using tokens, thereby making it possible to efficiently allocate communication rights in accordance with the amount of communication of a transmission device.

[従来の技術] 一本の伝送路を共用して多数の伝送装置(以下ノードと
称す)が連結され、これらの各ノード間でデータ通信が
行われる、所謂ローカルエリアネットワーク−LAN”
が盛んである。LANにおける種々の通信方式の中で、
トークンパッシング方式はネットワークが高トラフイツ
ク状態でも均等に全ノードに通信サービスを行い得ると
いう点で特に優れたものである。
[Prior Art] A so-called local area network (LAN) is a network in which a large number of transmission devices (hereinafter referred to as nodes) are connected by sharing a single transmission path, and data communication is performed between these nodes.
is popular. Among the various communication methods in LAN,
The token passing method is particularly advantageous in that it can equally provide communication services to all nodes even when the network is in a high traffic state.

しかし、LANでは通常一本の伝送路を各ノードで共用
している為、各ノードでの発信を無管理で許すと、同時
に2つ以上のノードから送信が行われる状態が起こり、
伝送路上のデータが混信する、所謂−衝英″′現象が生
じる。トークンパッシング方式では、これに対し通信権
移譲命令である゛°トークン゛′なる通信制御コードを
ネットワークシステム内に巡回させ、このトークンを獲
得(受信)したノードのみがデータを送信する送信権を
獲得する様制御し、この衝突現象の発生を防止している
However, in a LAN, one transmission path is usually shared by each node, so if each node is allowed to send calls without management, a situation will occur where two or more nodes will send calls at the same time.
The so-called ``token'' phenomenon occurs, in which data on the transmission path is interfered with.In the token passing method, a communication control code called ``token'', which is a command to transfer communication rights, is circulated within the network system, and this This collision phenomenon is prevented by controlling so that only the node that has acquired (received) the token acquires the right to transmit data.

即ち、ノートはトークンを受信した時のみ送信権を獲得
し、送信の必要があればこの時に一連の通信処理を天性
する。そしてこの送信処理の終了した時点、又は送信処
理の必要ない場合にはこのトークンを次のノードに渡す
(送信する)。
That is, the note acquires the transmission right only when it receives a token, and if there is a need for transmission, it automatically performs a series of communication processes at this time. Then, when this transmission processing is completed or when transmission processing is not necessary, this token is passed (sent) to the next node.

この様にしてトークンはトークンを獲得したノードの送
信が終了する都度、次々と次の7−ドに渡されるが、こ
の渡し方がネットワーク内の全てのノートを巡回する様
に考えられており、ネットワーク内の各7−ドでは均等
に通信のチャンス、即ち通信サービスが与えられるわけ
である。
In this way, each time the transmission of the node that acquired the token is completed, the token is passed to the next node one after another, but this method of passing is designed to circulate all the notes in the network. Each node in the network is given an equal chance of communication, that is, an equal communication service.

このネットワークシステムにおけるノードの巡回状態を
第4図に示す。
FIG. 4 shows the circulating state of nodes in this network system.

以上に説明したトークンの巡回方法についてはネットワ
ークの伝送路の形状と関連して、トークンバス方式とト
ークンリング方式の2方式がある。
Regarding the token circulating method described above, there are two methods, the token bus method and the token ring method, depending on the shape of the transmission path of the network.

トークンバス方式では、各ノートは一本の共通伝送路に
接続され、各ノードに固有のノードアドレスに従い、例
えばノードアドレス順にトークンが周回する。また一方
、トークンリング方式の場合には、伝送路は互いに隣接
するノートとの間のみを接続しており、一方のノードよ
りトークンを受信すると5次には他方のノードへとトー
クンを送用する。つまり物理的に隣のノードへと順送り
でトークンが渡されていくが、ネットワークがリング形
状となっている為、目動的にネットワーク内を周回する
事になる。いずれの方式でもトークンが均等にネットワ
ーク内の全ソードを周回する点では同じである。
In the token bus system, each node is connected to one common transmission path, and tokens circulate in the order of node addresses, for example, according to node addresses specific to each node. On the other hand, in the case of the token ring method, the transmission path connects only adjacent nodes, and when a token is received from one node, the token is sent to the other node. . In other words, tokens are physically passed to neighboring nodes sequentially, but since the network is in a ring shape, they move around the network on purpose. Both methods are the same in that the tokens circulate equally among all the swords in the network.

し発明が解決しようとする問題点] この様にして、トークンの周回により各7−ドが均等な
通信サービスを受けられるわけであるが、例えばネット
ワーク内のノードにホストコンピュータやファイル装置
が接続された様な場合には、これらの通信要求の発生頻
度は他の一般端末と比較して極端に高い。
[Problems to be Solved by the Invention] In this way, each node can receive equal communication services by circulating the token, but for example, if a host computer or file device is connected to a node in the network, In such cases, the frequency of occurrence of these communication requests is extremely high compared to other general terminals.

この様な場合にも従来の通信方式においては、全ノート
に対して均等にしか送信権(トークン)が巡回せず、必
要なテークの送信が遅れ、ネットワークシステム全体と
しての処理効率も低下してしまうという欠点があった。
Even in such cases, with conventional communication methods, the transmission right (token) is circulated only equally among all notes, which delays the transmission of necessary takes and reduces the processing efficiency of the network system as a whole. There was a drawback that it could be stored away.

し問題点を解決するための手段] 上記問題点を解決するために、複数の伝送装置を通信媒
体を介して接続し、通信権移譲命令であるトークンによ
り通信権を獲得した伝送装置のみが送信権を得るネット
ワークシステムの優先通信制御方式において、前記伝送
装置に自装置宛の通信優先度指定情報を受信する受信手
段と、該受信手段で受信した通信優先度指定情報を保持
する保持手段と、該保持手段の保持情報と前記トークン
中の通信優先度指定情報とを比較する比較手段と、該比
較手段での比較の結果自装置の保持通信優先度指定情報
の優先度の高い場合に前記トークンにより通信権を獲得
する通信権獲得手段とを備える伝送装置によるネットワ
ークシステム構成とする。
[Means for Solving the Problem] In order to solve the above problem, multiple transmission devices are connected via a communication medium, and only the transmission device that has acquired communication rights using a token, which is a communication rights transfer command, transmits data. In the priority communication control method of the network system, the transmitting device receives communication priority designation information addressed to the transmitting device, and a holding device holds the communication priority designation information received by the receiving device; a comparison means for comparing the information held by the holding means and the communication priority designation information in the token; and if the comparison result by the comparison means indicates that the priority of the communication priority designation information held by the own device is high, the token is A network system configuration includes a transmission device including a communication right acquisition means for acquiring communication rights.

[作用J 上記構成より成るネットワークシステムにおいて、通信
優先度指定情報を含むトークンを受信し、この通信優先
度指定情報より自装置の通信優先度指定情報の高い場合
のみ通信権獲得として送信要求により情報の送信を行い
、他の場合にはトークンの受信によっても通信権獲得と
せず次のノードにトークンを巡回させることにより、送
信頻度の高い装置に対して、より多くの通信権移譲を可
能としている。
[Operation J] In a network system configured as described above, a token containing communication priority designation information is received, and only if the communication priority designation information of the own device is higher than this communication priority designation information, the information is acquired by a transmission request as a communication right acquisition. In other cases, even if a token is received, the token is circulated to the next node without acquiring communication rights, making it possible to transfer more communication rights to devices that transmit frequently. .

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

第1図は本発明の一実施例のメートのブロック図である
0図中1はLANのネットワーク伝送路、2は伝送制御
装置であるノード、3はノード2に接続される各種コン
ピュータ機器や事務機器である。
FIG. 1 is a block diagram of a Mate according to an embodiment of the present invention. In the figure, 1 is a LAN network transmission path, 2 is a node which is a transmission control device, and 3 is a block diagram of various computer equipment and office work connected to node 2. It is a device.

ノード2は伝送路1との間でデータ通信を行う送信回路
11/受信回路12、受信回路12での受信データがト
ークンか否かを判別するトークン判別回路4、メートの
全体制御及び発信データの加工や受信データの解読、分
解や通信動作のタイミング制v4等を行なう制御部(以
下CPUと称す〕5、送受信データ等を蓄積するメモリ
回路6、そしてホスト3との間のインターフェース回路
7、各ノートに固有のアドレス番号を設定するスイッチ
等で構成されるアドレス設定部8及び優先度情報保持部
9.トークン中の優先度情報と優先度情報保持部9に保
持の優先度情報との比較を行う比較回路10.宛先アド
レス判別回路13より構成されている。アドレス設定部
8に設定されたアドレス値はCPU5により読み出され
、送受信時の宛先アドレス、また送信元アドレスとして
利用される。
The node 2 includes a transmitting circuit 11/receiving circuit 12 that performs data communication with the transmission path 1, a token discriminating circuit 4 that determines whether or not the data received by the receiving circuit 12 is a token, and a token discriminating circuit 4 that performs overall control of the mate and controls the transmission data. A control unit (hereinafter referred to as CPU) 5 that performs processing, decoding and disassembly of received data, timing control v4 of communication operations, etc., a memory circuit 6 that stores transmitted and received data, etc., and an interface circuit 7 with the host 3. An address setting section 8 and a priority information holding section 9 are configured of a switch and the like to set a unique address number for a note.A comparison is made between the priority information in the token and the priority information held in the priority information holding section 9. It consists of a comparison circuit 10 and a destination address determination circuit 13.The address value set in the address setting section 8 is read by the CPU 5 and used as the destination address and source address during transmission and reception.

ホスト3よりの送信すべきデータは、一旦ノード2内の
メモリ回路6に蓄えられ、通信データとしての適切なる
フォーマット化(パケット化)がなされ、送信先ノード
アドレスを宛先アドレス値、アドレス設定回路8の設定
値を送信元アドレスとして付加した後、受信回路11で
自ノード宛のトークンを受信し、かつ、その優先度情報
より自装置の優先度情報保持部9の保持情報の優先度が
高く、送信権を獲得した時に初めて送信回路12を介し
て伝送路1に送出することができる。
The data to be transmitted from the host 3 is temporarily stored in the memory circuit 6 in the node 2, and is appropriately formatted (packetized) as communication data, and the destination node address is set as the destination address value and the address setting circuit 8 After adding the set value of as the source address, the receiving circuit 11 receives the token addressed to the node, and the priority information of the information held in the priority information holding unit 9 of the own device is higher than the priority information of the token, Only when the transmission right is acquired can the signal be sent to the transmission path 1 via the transmission circuit 12.

一方、他ノードでは、伝送路l上の通信データを受信し
、宛先アドレス判別回路13で受信データ中の宛先アド
レス値を調べ、自ノード内のアドレス設定回路8の設定
値、即ち自ノード宛のデータであると判断すると、これ
をCPU5に報知し、このデータを自ノード内に取り込
み、CPU5で多少の分解、編集処理を行なった後、接
続されたホスト3へと配送する。
On the other hand, the other node receives the communication data on the transmission path l, checks the destination address value in the received data in the destination address discrimination circuit 13, and checks the setting value of the address setting circuit 8 in the own node, that is, the value addressed to the own node. If it is determined that it is data, it is notified to the CPU 5, this data is taken into its own node, and after some disassembly and editing processing is performed by the CPU 5, it is delivered to the connected host 3.

また、トークンパッシング方式では、伝送路l上を流れ
るデータは全てホスト3相互間での通信データばかりで
はなく、トークン等の各ノード内のCPU目身と、相手
先ノードのCPUとの間のみのいわゆる通信制御データ
も含まれる。
In addition, in the token passing method, all the data flowing on the transmission path l is not only the communication data between the hosts 3, but also the communication data between the CPU in each node such as a token and the CPU of the destination node. It also includes so-called communication control data.

以上のハードウェア構成と前述トークンパッシングの原
理に基づき、ネットワーク内の各々の7−ドで、トーク
ンを次々に下流ノードに受は渡していく事で一本の伝送
路を共用した通信がなされるわけである。
Based on the above hardware configuration and the above-mentioned principle of token passing, each node in the network receives and passes tokens to downstream nodes one after another, thereby performing communication using a single transmission path. That's why.

本実施例ネットワークシステムを巡回する伝送フレーム
の構成を第2図(A)、CB)に示す。
The structure of a transmission frame circulating in the network system of this embodiment is shown in FIGS. 2(A) and CB).

図中200はトークンフレーム、201は送信元アドレ
ス(以下、SAと称す)、202は宛先アドレス(以下
、DAと称す)、203はトークンフレームを表すトー
クンコード、204は優先度指定コード、205はデー
タフレームを表す伝送コード、206は伝送情報である
In the figure, 200 is a token frame, 201 is a source address (hereinafter referred to as SA), 202 is a destination address (hereinafter referred to as DA), 203 is a token code representing the token frame, 204 is a priority specification code, and 205 is a A transmission code 206 representing a data frame is transmission information.

以下、本実施例のデータ伝送制御を第3図のフローチャ
ートを参照して説明する。
The data transmission control of this embodiment will be explained below with reference to the flowchart of FIG.

まず、ステップStで伝送路lより伝送フレームを受信
したか否かを監視し、伝送フレームを受信するとステッ
プS2に進み、宛先アドレス判別回路13は受信フレー
ム中のDA202とアドレス設定回路8に設定された自
ノードアドレス値とを比較する。モして両値が一致しな
い場合、即ち自ノード宛伝送フレームでない場合にはス
テップS3に進み、受信データフレームをそのまま送信
回路12より伝送路1に送出してステップS1に戻る。
First, in step St, it is monitored whether or not a transmission frame is received from the transmission path l. When a transmission frame is received, the process proceeds to step S2, and the destination address determination circuit 13 sets the DA 202 and address setting circuit 8 in the received frame. and the own node address value. If the two values do not match, that is, if the transmission frame is not addressed to the own node, the process proceeds to step S3, where the received data frame is directly sent from the transmission circuit 12 to the transmission path 1, and the process returns to step S1.

自ノード宛伝送フレームの場合にはステップS4に進み
、トークン判別回路4が付勢され受信した伝送フレーム
中の伝送コード領域(203゜205)を調べ、ここが
トークンコード203か否かを調べる。トークンフレー
ムの受信の場合にはステップS5に進み、比較回路lO
を付勢し、優先度指定コード204と優先度情報保持部
9の保持データを比較する。その結果目ノードの優先度
の方が高い場合にはステップS7に進み、受信トークン
により送信権を獲得し、ステップS8でホスト3又は目
ノードよりの送信すべきデータがあるか、即ち送信要求
があるか否かを調べ、送信要求があればステップS9で
送信先ノードに固有のノードアドレスをDA202に、
アドレス設定回路8により設定された自ノードアドレス
を5A201にそれぞれセットし、続いて伝送コード2
05、伝送情報206をセットし、データ伝送フレーム
250を生成し、ステップ310でこのデータ伝送フレ
ーム250を予め定められた伝送制御手順に従い、伝送
元ノードに送信する。そしてデータの送信処理が終了す
るとステップ311で、次にトークンを渡すべきメート
(下流ノード)アドレスをDA202にセットすると共
に、5A201に自ノードアドレスを、203にトーク
ンコードを設定し、優先度指定コード204には目ノー
ド宛に送られてきた優先度指定をそのままセットして、
このトークンフレーム200を生成し、下流ノード宛に
送出し、送信権を移譲した後ステップ31に戻る。
If the transmission frame is addressed to the own node, the process proceeds to step S4, where the token discrimination circuit 4 is activated and checks the transmission code area (203.degree. 205) in the received transmission frame to determine whether this is the token code 203 or not. In the case of reception of a token frame, the process advances to step S5, and the comparison circuit lO
is activated, and the priority designation code 204 is compared with the data held in the priority information holding unit 9. As a result, if the priority of the second node is higher, the process proceeds to step S7, where the transmission right is acquired by the received token, and in step S8, whether there is data to be transmitted from the host 3 or the second node, that is, there is a transmission request. If there is a transmission request, a unique node address of the destination node is sent to the DA 202 in step S9.
The own node address set by the address setting circuit 8 is set to 5A201, and then the transmission code 2
05, the transmission information 206 is set, a data transmission frame 250 is generated, and in step 310, this data transmission frame 250 is transmitted to the transmission source node according to a predetermined transmission control procedure. When the data transmission process is completed, in step 311, the next mate (downstream node) address to which the token should be passed is set in the DA 202, the own node address is set in 5A 201, the token code is set in 203, and the priority designation code is set in the DA 202. In 204, set the priority specification sent to the eye node as is,
After generating this token frame 200 and sending it to the downstream node and transferring the transmission right, the process returns to step 31.

一方、ステップS6で受信したトークンフレーム200
の優先度指定コード204が、自ノードの優先度情報保
持部9に保持の優先度より高い場合には、送信権を獲得
することは許されず、ステップ311に進み、直ちにト
ークンフレームを生成して下流ノードにトークンを送出
する。またステップS8で送信要求のない場合も同様に
してステップSllに進み、下流ノードにトークンを送
mする。
On the other hand, the token frame 200 received in step S6
If the priority specification code 204 of the node is higher than the priority held in the priority information holding unit 9 of the own node, the node is not allowed to acquire the transmission right, and the process proceeds to step 311, where it immediately generates a token frame. Send the token to the downstream node. Also, if there is no transmission request in step S8, the process proceeds to step Sll in the same manner, and the token is sent to the downstream node.

ステップS4でトークンの受信でない場合にはステップ
320に進み、予め定められた伝送制御手順に従い、自
装置宛データ伝送フレーム250等を自ノード内に受信
し、ステップ321で受信した伝送情報がホスト3へ送
るべき情報か否かを調べ、ホスト3へ送るべき情報であ
ればステップS22に進み、この情報を多少の分解、編
集を行った後このノードに接続されたホスト3へ送信し
、ステップS1に戻り次のデータ伝送に備える。
If the token is not received in step S4, the process proceeds to step 320, in which the data transmission frame 250 addressed to the own device is received within the own node according to a predetermined transmission control procedure, and the transmission information received in step 321 is transmitted to the host 3. It is checked whether the information should be sent to the host 3, and if it is the information that should be sent to the host 3, the process proceeds to step S22, where this information is slightly disassembled and edited, and then sent to the host 3 connected to this node, and the process proceeds to step S1. and prepare for the next data transmission.

ホスト3に送信すべきデータでない場合、即ち、後述す
る優先度情報保持部9の保持内容の変更情報等の場合に
はステップS30に進み、それぞれの受信データに対応
した処理を行い、その後ステップS1に戻る。
If the data is not to be transmitted to the host 3, that is, if it is information for changing the content held in the priority information holding unit 9, which will be described later, the process advances to step S30, where processing corresponding to each received data is performed, and then step S1 Return to

従って、トークン情報に付加される優先度指定情報は、
この場合、通信サービスを受は得るノードの選別を行う
フィルタ的な役目を持つ事になる。
Therefore, the priority specification information added to the token information is
In this case, it acts as a filter to select nodes that receive communication services.

以上の説明におけるトークンの巡回状態は前述した第4
cgJの順序で巡回しており、100〜170は夫々第
1図に示すノード2に対応する。このノードA100は
ネットワークシステムのマスタノードとも言うべきノー
ドであり、トークンフレーム200中の優先度指定コー
ド204の設定を行う、これはトークンの周回周期と関
連してダイナミックに設定されていく。
The circulating state of the token in the above explanation is the fourth
They circulate in the order of cgJ, and 100 to 170 correspond to node 2 shown in FIG. 1, respectively. This node A 100 is a node that can be called a master node of the network system, and sets the priority designation code 204 in the token frame 200, which is dynamically set in relation to the token circulation period.

このノードA100の優先度指定コード204の再生設
定処理を第5図のトークン巡回図を参照して説明する。
The reproduction setting process of the priority designation code 204 of the node A 100 will be explained with reference to the token circuit diagram of FIG.

本実施例では各ノードの優先度情報保持部9の保持レベ
ルは以下に示すレベルとする。
In this embodiment, the retention level of the priority information retention unit 9 of each node is set to the level shown below.

ノードA100ではトークンの1巡目には優先度指定コ
ード204を“3″に、2巡目には2”に、3巡目には
”1”に設定し、4巡目には再び°°3″に設定し、上
記の優先度指定をトークン巡゛回周期に合わせて周期的
に変更する。
In the node A 100, the priority specification code 204 is set to "3" in the first round of the token, to 2 in the second round, to "1" in the third round, and again in the fourth round. 3'' and change the above priority designation periodically according to the token cycle period.

そしてレベル“3”のときの送信権を獲得するノードを
第5図(A)に、レベル“2″のときの送信権を獲得す
るノードを第5図(B)に、レベル“1”のときの送信
権を獲得するノードを第5図(C)に夫々斜線で示す。
Figure 5 (A) shows the nodes that acquire the transmission right when the level is "3", Figure 5 (B) shows the nodes that acquire the transmission right when the level is "2", and the nodes that acquire the transmission right when the level is "2" are shown in Figure 5 (B). In FIG. 5C, the nodes that acquire the transmission right at this time are indicated by diagonal lines.

図示の如くレベル数が多い程、高い優先度が与えられる
。この様にレベル3のノード(例えばノード0120)
はレベル1のノード(例えばノードF 150)に比べ
、3倍の頻度で送信権を獲得することができ、レベル2
のノードはレベルlの7−ドに比べ2倍の頻度で送信権
が獲得できる。
As shown in the figure, the higher the number of levels, the higher the priority is given. Like this, level 3 nodes (e.g. node 0120)
can obtain transmission rights three times more frequently than a level 1 node (e.g. node F 150), and a level 2
A node of 1 can acquire the transmission right twice as often as a node of 7 at level l.

ここでノードに接続されるホストがホストコンピュータ
やファイル装置等の高通信負荷の機器が接続されるノー
ドでは、ノードの優先度を高いレベルに設定しておく事
により、他のノードに比べて通信処理を著しく速く進め
る事が可能となる。
If the host connected to the node is connected to a device with a high communication load, such as a host computer or a file device, by setting the priority of the node to a high level, the communication It is possible to proceed with the processing significantly faster.

上述のノードの優先度情報保持部9はディツブスイッチ
により構成されており、接続されているホスト3の機種
によりレベル1〜レベル3の任意のレベルを設定可能で
ある。
The priority information holding unit 9 of the node described above is constituted by a digital switch, and can be set to any level from level 1 to level 3 depending on the model of the connected host 3.

しかし、この優先度情報保持部9は必ずしもハードウェ
アにより固定的な優先レベルの設定でなく、ソフトウェ
アによるダイナミックな優先レベルの最適値への設定を
行うこともできる0例えば、ネットワークのスタートア
ップ時に1通信優先度の設定を特定値(ディフォルト値
)であるとして各ノードを一旦立ち上げ、交信可能とな
った時点で特定のノード(例えばノードC120)より
、各ノード毎に通信データとして優先度設定データを送
り、各ノードはこの送られてきた優先度設定データを、
例えばRAMで構成された優先度情報保持部9に格納す
る。この優先度設定データ送信フレーム300の例を第
6図に示す。
However, this priority information holding unit 9 does not necessarily set a fixed priority level by hardware, but can also dynamically set the priority level to an optimal value by software. For example, when starting up the network, one communication Once each node is started with the priority setting set to a specific value (default value), and when communication becomes possible, the specific node (for example, node C120) sends priority setting data as communication data to each node. and each node uses this sent priority setting data,
For example, it is stored in the priority information holding unit 9 configured with RAM. An example of this priority setting data transmission frame 300 is shown in FIG.

図中207は伝送フレームが優先度情報送信フレームで
あることを示す優先レベル送信コード、208は優先度
情報である。
In the figure, 207 is a priority level transmission code indicating that the transmission frame is a priority information transmission frame, and 208 is priority information.

この伝送フレームを受信した時には、第3図のステップ
S30の処理として送られてきた優先度情報208をC
PU5の処理で優先度情報保持部9に格納すればよい。
When this transmission frame is received, the priority information 208 sent as the process of step S30 in FIG.
It may be stored in the priority information holding unit 9 through the processing of the PU 5.

上記特定ノードはホスト3としてファイル装置等の不揮
発性メモリを有する機器を接続されているノードとして
おき、予めネットワーク内の全ノードに対する優先度情
報をこのファイル装置に登録しておけば良い。
The specific node may be connected to a device having a non-volatile memory such as a file device as the host 3, and priority information for all nodes in the network may be registered in advance in this file device.

この立ち上げ時のネットワークの優先度設定例を第7図
(A)に、その後各ノードへの優先度情報208の送出
(設定)が終了し、優先度の再設定の終了した場合の例
を第7図CB)示す。
Figure 7 (A) shows an example of network priority setting at startup, and an example when the sending (setting) of the priority information 208 to each node has been completed and the priority resetting has been completed. Figure 7 CB) is shown.

各ノードの枠内に示したのが設定された優先度であり、
Xは特定値であるディフォルト値である。第7図(A)
に示す状態より、ネットワークのトラフィック量等を勘
案して最適優先度情報を各ノードに設定し、例えば第7
図CB)に示す優先度情報に設定すればよい。この設定
は例えばホスト3としてファイル装置の接続されている
ノー1”Cl2Oが、第6図に示す伝送フレーム300
を送信することにより行い、優先レベルとしてx1〜×
6が各ノードに設定される例を示している。
The set priority is shown within the frame of each node.
X is a default value which is a specific value. Figure 7 (A)
Based on the state shown in , optimal priority information is set for each node by taking into consideration the network traffic volume, etc.
The priority information may be set as shown in Figure CB). For example, if a host 3 connected to a file device, No. 1" Cl2O, transmits the transmission frame 300 shown in FIG.
This is done by sending x1 to x as the priority level.
6 is set for each node.

また以上の説明では、ネットワーク内を巡回するトーク
ンフレーム2゛OO内の優先度指定コード204はネッ
トワーク内の唯一の特定のノードのみが変更設定可能な
例を説明したが、これを特定のノードに限らず全てのノ
ードで行えることとしてもよい、即ち、各ノードは各々
パワーオンして立ち上がった時点からトークンが自ノー
ドに巡回する1周期毎に(或いは複数周期毎に)、次の
7−ドに渡すトークンフレーム200中の優先度指定コ
ード204を変化させる。この場合、前記実施例の如く
、ネットワーク全体が同一の優先度レベル以上のメート
の通信サービスを行わしめる様な統一した制御を行うこ
とはできないが、少なくともノード対ノード間でみた場
合、第5図(A)〜(C)に示す様に優先度設定の高い
ノードはど、多く送信権を獲得することができ、通信の
機会を得ることができる。
Furthermore, in the above explanation, the priority specification code 204 in the token frame 2゛OO that circulates within the network has been explained as an example in which only a specific node within the network can change and set it. This can be done not only by all nodes, but also by all nodes. In other words, from the time each node powers on and starts up, each node receives the next 7 nodes every cycle (or every multiple cycles) in which the token circulates to its own node. The priority specification code 204 in the token frame 200 to be passed to is changed. In this case, as in the previous embodiment, it is not possible to perform unified control such that the entire network provides communication services for mates with the same priority level or higher, but at least from a node-to-node perspective, as shown in FIG. As shown in (A) to (C), the node with a higher priority setting can acquire more transmission rights and have more communication opportunities.

この優先度指定コード204を変更する権利は全ての7
−ドが均一に所宥していてもよく、また特定の優先度レ
ベルを持ったメートのみが行えれる様制御してもよい、
第8図はノードA100が獲得したトークン(即ち、送
信権)を下流ノードへ手渡す例を示す状態図であり、O
内を斜線で示したノードが送信権を獲得するノードであ
り、Oで示すノードはトークンフレーム200を受信し
ても送信権を獲得することができず、そのまま次のノー
ドへ渡すノードを示す。
All seven members have the right to change this priority specification code 204.
- The code may be uniformly available, or it may be controlled so that only mates with a specific priority level can perform it.
FIG. 8 is a state diagram showing an example in which node A100 hands over the acquired token (i.e., transmission right) to a downstream node, and O
The node indicated by diagonal lines is the node that acquires the transmission right, and the node indicated by O is the node that cannot acquire the transmission right even if it receives the token frame 200 and passes it to the next node as is.

なお、図中優先度レベルは ノードD〉ノードC〉ノードBである。In addition, the priority level in the diagram is Node D>Node C>Node B.

ノードA100はトークンフレーム200が周回する毎
に、トークンフレーム200内の優先度指定コード20
4を高いレベルより低いレベルへ周期的に変化させる例
を示している。
The node A 100 updates the priority designation code 20 in the token frame 200 every time the token frame 200 circulates.
4 shows an example in which the signal 4 is periodically changed from a high level to a low level.

この方式の長所としては、前記実施例が唯一特定のノー
ドに頼ってトークン中の優先度指定情報を変化させてい
たものが、完全に分散化されると言う事で、故障に対し
てはより強固なネットワークとする事ができる点にある
The advantage of this method is that it is completely decentralized, unlike the previous embodiment, which relied only on a specific node to change the priority specification information in the token. The point is that it can be made into a strong network.

また本実施例においては、トークンフレーム200中の
優先度指定コード204が優先度を決定する例を説明し
たが、この優先度指定コードを別エリアに定義せず、ト
ークンコード203中に含めたものとし、トークンコー
ド203として各優先度レベル毎に別個のトークンコー
ドを割り当てておき、このトークンフレーム200を受
信したノード側でこのトークンコードをデコード(解読
)処理し、優先度レベルを抽出してもよい、これにより
ネットワーク上でのデータ伝送量が短縮され、データ伝
送効率のよいネットワークシステムとすることができる
。この様にトークンフレーム200の全体の中に何らか
の優先度指定を示す情報が含まれていれば良い。
Furthermore, in this embodiment, an example was explained in which the priority designation code 204 in the token frame 200 determines the priority, but this priority designation code is not defined in a separate area but is included in the token code 203. Then, a separate token code is assigned to each priority level as the token code 203, and the node that receives this token frame 200 decodes (deciphers) this token code and extracts the priority level. This reduces the amount of data transmitted over the network, making it possible to create a network system with high data transmission efficiency. In this way, it is sufficient that the entire token frame 200 includes information indicating some kind of priority designation.

また以上の説明ではトークンリング方式のネットワーク
を基準として説明したが、これに限るものではなく、ト
ークンバス方式のネットワーク構成としても全く同様の
処理で伝送制御を行えばよい。
Furthermore, although the above explanation has been made based on a token ring type network, the present invention is not limited to this, and transmission control may be performed using exactly the same processing even in a token bus type network configuration.

し発明の効果1 以上説明した様に本発明によれば、ネットワーりを構成
する各伝送装置の通信量に合わせて効率のよい通信権(
送信権)配分を行うことができ。
Effects of the Invention 1 As explained above, according to the present invention, efficient communication rights (
transmission rights) can be distributed.

伝送効率のよいネットワークシステムの優先通信制御方
式を提供できる。
A preferential communication control method for a network system with high transmission efficiency can be provided.

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

第1図は本発明に係る一実施例のネットワークシステム
を構成するノ、−ドのブロック図。 第2図(A)、(B)は本実施例で用いる伝送フレーム
構成図。 883図は本実施例の7−ドにおけるデータ伝送制御フ
ローチャート、 第4図はネットワークにおけるトークン巡回状態図、 第5図(A)〜(C)は本実施例における各ノードの送
信権獲得状態図。 第6図は本発明に係る他の実施例における優先レベル伝
送フレーム構成図、 第7図(A)、(B)は本発明に係る他の実施例の各ノ
ードにおける優先度情報設定状態図。 第8図は本発明に係る更に他の実施例のノードAにおけ
る優先度指定状態遷移図である。 図中、l・・・伝送路、2,100〜170・・・ノー
ド、3・・・ホスト、4・・・トークン判別回路、5・
・・CPU、6・・・メモリ回路、8・・・アドレス設
定回路、9・・・優先度情報保持部、lO・・・比較回
路、11・・・受信回路、12・・・送信回路、13・
・・宛先アドレス判別回路、203・・・トークンコー
ド、204・・・優先度指定コード、205・・・伝送
コード、207・・・優先レベル送信コード、208・
・・優先度情報である。 僅5図 (A ’) り;35囚 (B) +60  15Q   140 第6図 第7図 (A) 第7図 (”8)
FIG. 1 is a block diagram of nodes configuring a network system according to an embodiment of the present invention. FIGS. 2(A) and 2(B) are transmission frame configuration diagrams used in this embodiment. Figure 883 is a data transmission control flowchart in the 7th mode of this embodiment, Figure 4 is a token circulation state diagram in the network, and Figures 5 (A) to (C) are transmission right acquisition state diagrams of each node in this embodiment. . FIG. 6 is a configuration diagram of a priority level transmission frame in another embodiment of the present invention, and FIGS. 7(A) and (B) are diagrams of priority information setting states at each node in another embodiment of the present invention. FIG. 8 is a priority designation state transition diagram at node A according to still another embodiment of the present invention. In the figure, l...transmission path, 2,100-170...node, 3... host, 4... token discrimination circuit, 5...
...CPU, 6...Memory circuit, 8...Address setting circuit, 9...Priority information holding unit, IO...Comparison circuit, 11...Receiving circuit, 12...Transmitting circuit, 13・
... Destination address discrimination circuit, 203 ... Token code, 204 ... Priority designation code, 205 ... Transmission code, 207 ... Priority level transmission code, 208.
...Priority information. Only 5 figures (A') 35 prisoners (B) +60 15Q 140 Figure 6 Figure 7 (A) Figure 7 (''8)

Claims (2)

【特許請求の範囲】[Claims] (1)複数の伝送装置を通信媒体を介して接続し、通信
権移譲命令であるトークンにより通信権を獲得した伝送
装置のみが送信権を得るネットワークシステムの優先通
信制御方式において、前記トークン中に通信優先度指定
情報を含み、前記伝送装置に自装置宛の通信優先度指定
情報を受信する受信手段と、該受信手段で受信した通信
優先度指定情報を保持する保持手段と、該保持手段の保
持情報と前記トークン中の通信優先度指定情報とを比較
する比較手段と、該比較手段での比較の結果自装置の保
持通信優先度指定情報の優先度の高い場合に前記トーク
ンにより通信権を獲得する通信権獲得手段とを備えたこ
とを特徴とする優先通信制御方式。
(1) In a priority communication control method for a network system in which multiple transmission devices are connected via a communication medium and only the transmission device that has acquired the communication right by a token that is a communication right transfer command obtains the transmission right, the token is a receiving means that includes communication priority designation information and receives the communication priority designation information addressed to the transmission device itself; a holding device that holds the communication priority designation information received by the receiving device; a comparison means for comparing the held information with the communication priority designation information in the token, and if the comparison result of the comparison by the comparison means is that the priority of the communication priority designation information held in the own device is high, the communication right is granted by the token; 1. A priority communication control method comprising: means for acquiring communication rights.
(2)通信優先度指定情報はネットワークシステム内の
特定ノードより送出されることを特徴とする特許請求の
範囲第1項記載の優先通信制御方式。
(2) The priority communication control method according to claim 1, wherein the communication priority designation information is sent from a specific node within the network system.
JP12625585A 1985-06-12 1985-06-12 Priority communication control system Pending JPS61285844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12625585A JPS61285844A (en) 1985-06-12 1985-06-12 Priority communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12625585A JPS61285844A (en) 1985-06-12 1985-06-12 Priority communication control system

Publications (1)

Publication Number Publication Date
JPS61285844A true JPS61285844A (en) 1986-12-16

Family

ID=14930645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12625585A Pending JPS61285844A (en) 1985-06-12 1985-06-12 Priority communication control system

Country Status (1)

Country Link
JP (1) JPS61285844A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127900A (en) * 1991-10-31 1993-05-25 Sanyo Electric Co Ltd Parallel processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05127900A (en) * 1991-10-31 1993-05-25 Sanyo Electric Co Ltd Parallel processor

Similar Documents

Publication Publication Date Title
JPH11505986A (en) Data communication with highly efficient polling procedure
US4780871A (en) Data Transmission system
JPS61285844A (en) Priority communication control system
JPS61100046A (en) Loop transmission method
JPS61285847A (en) Priority communication control system
JPS60246147A (en) Data transmission control system
JPS61285846A (en) Priority communication control system
JPS61285849A (en) Priority communication control system
JPS61285845A (en) Priority communication control system
JPS6211337A (en) Data transmission control system
JPS61285848A (en) Priority communication control system
JPS6211339A (en) Data transmission control system
JPS6211335A (en) Data transmission control system
JPS6211338A (en) Data transmission control system
JPS6211340A (en) Data transmission control system
JPS6211336A (en) Data transmission control system
WO2003071744A1 (en) Information communication controller interface apparatus and method
JPS6046150A (en) Method for controlling data transmission of loop-like transmission system
JPS617751A (en) Data transmission control system
US6865630B2 (en) Apparatus and method of preventing congestion in message transmission system
JPS60260248A (en) System and apparatus for controlling data communication
JPS6069935A (en) Data communication system
JPH0294848A (en) Communication method for programmable controller network
JPS6319935A (en) Bus access system
JPH01276845A (en) Token bus system communication control device