JPS61285846A - Priority communication control system - Google Patents

Priority communication control system

Info

Publication number
JPS61285846A
JPS61285846A JP12625785A JP12625785A JPS61285846A JP S61285846 A JPS61285846 A JP S61285846A JP 12625785 A JP12625785 A JP 12625785A JP 12625785 A JP12625785 A JP 12625785A JP S61285846 A JPS61285846 A JP S61285846A
Authority
JP
Japan
Prior art keywords
communication
token
priority
node
transmission
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
JP12625785A
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 JP12625785A priority Critical patent/JPS61285846A/en
Publication of JPS61285846A publication Critical patent/JPS61285846A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To improve the transmission efficiency by changing communication priority designation information at the reception of a token in a specific transmitter and changing the opportunity of communication right acquisition depending on the communication quantity of the transmitter. CONSTITUTION:In the priority communication control system of a network system where plural transmitters are connected via a communication medium and only a transmitter acquiring the communication right by using a token being a communication right transfer instruction obtains the transmission right, a token including communication priority designation information is received, the information is sent by a transmission request as the communication right acquisition only when the communication priority designation information of the own equipment is higher depending on the said communication priority designation information and in other case, the communication right is not acquired even with the reception of a token and the token is circulated to the next nodes. Then the communication priority designation information is changed to a specific transmitter in the network system to attain much communication right transfer to a device with 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.

し開示の概要] 本明細書及び図面は、複数の伝送装置を通信媒体を介し
て接続し、通信権移譲命令であるトークンにより通信権
を獲得した伝送装置のみが送信権を得るネットワークシ
ステムの優先通信制御方式において、前記トークン中に
通信優先度指定情報を含み、前記伝送装置に自装置の通
信における優先度を保持する保持手段と、該保持手段で
保持の優先度と受信した前記トークン中の通信優先度指
定情報とを比較する比較手段と、該比較手段での比較の
結果により通信権を獲得するか否かを決定する通信権獲
得決定手段と、前記伝送装置のうちの特定の装置に更に
前記トークン中の通信優先度指定情報を変更する変更手
段を備え、該特定伝送装置は前記トークンの受信時に前
記通信優先度指定情報を変化させ、前記伝送装置の通信
量により通信権獲得の機会を変更可能とすることし通信
量にあわせて効率の良い通信権配分を行い得、伝送効率
の向上する技術を開示するものである。
[Summary of Disclosure] 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 right transfer command, can obtain the transmission right. In the communication control method, the token includes communication priority designation information, and the holding means holds the communication priority of the own device in the transmission device; a comparison means for comparing the information with the communication priority designation information; a communication right acquisition determining means for determining whether or not to acquire the communication right based on the comparison result of the comparison means; Furthermore, the specific transmission device is provided with a changing means for changing the communication priority designation information in the token, and the specific transmission device changes the communication priority designation information when receiving the token, and increases the chances of acquiring communication rights depending on the communication volume of the transmission device. The present invention discloses a technology that enables efficient allocation of communication rights according to the amount of communication and improves transmission efficiency.

「従来の技術」 一本の伝送路を共用して多数の伝送装置(以下ノートと
称す)が連結され、これらの各ノード間でデータ通信が
行われる、所謂ローカルエリアネットワーク“LAN”
が盛んである。LANにおける種々の通信方式の中で、
トークンパッシング方式はネットワークが高トラフイツ
ク状態でも均等に全ノードに通信サービスを行い得ると
いう点で特に優れたものである。
"Prior Art" A so-called local area network "LAN" is a so-called local area network in which a large number of transmission devices (hereinafter referred to as notebooks) are connected together using 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 outgoing calls through heat management, a situation may arise where two or more nodes are sending out calls at the same time.
A so-called "collision" phenomenon occurs in which data on the transmission path is interfered with. In contrast, 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 token is acquired (
Control is performed so that only the node that received the data (receiving data) acquires the right to transmit data, thereby preventing the occurrence of this collision phenomenon.

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

この様にしてトークンはトークンを獲得したノードの送
信が終了する都度、次々と次のノードに渡されるが、こ
の渡し方がネットワーク内の全てのノートを巡回する様
に考えられており、ネットワーク内の各7−ドでは均等
に通信のチャンス、即ち通信サービスが与えられるわけ
である。
In this way, the token is passed to the next node one after another each time the transmission of the node that acquired the token is completed, but this method of passing is designed to circulate all the notes in the network, Each of the seven cards 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 circulation method described above, there are two methods, the token bus method and the token link method, depending on the shape of the transmission path of the network.

トークンバス方式では、各ノードは一本の共通伝送路に
接続され、各ノードに固有のノードアドレスに従い、例
えばノードアドレス順にトークンが周回する。また一方
、トークンリング方式の場合には、伝送路は互いに隣接
するノードとの間のみを接続しており、一方のノードよ
りトークンを受信すると、次には他方のノードへとトー
クンを送用する。つまり物理的に隣のメートへと順送り
でトークンが渡されていくが、ネットワークがリング形
状となっている為、自動的にネットワーク内を周回する
事になる。いずれの方式でもトークンが均等にネットワ
ーク内の全メートを周回する点では同じである。
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 unique 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 mates in order, but since the network is ring-shaped, they automatically circulate within the network. Both methods are the same in that the token circulates around all the mates in the network equally.

[発明が解決しようとする問題点コ この様にして、トークンの周回により各ノードが均等な
通信サービスを受けられるわけであるが、例えばネット
ワーク内のノードにホストコンピュータやファイル装置
が接続された様な場合には、これらの通信要求の発生頻
度は他の一般端末と比較して極端に高い。
[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 these 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 swords, which delays the transmission of necessary data and reduces the processing efficiency of the network system as a whole. There was a drawback that it could be stored away.

し問題点を解決するための手段J 上記問題点を解決するために、複数の伝送装置を通信媒
体を介して接続し、通信権移譲命令であるトークンによ
り通信権を獲得した伝送装置のみが送信権を得るネット
ワークシステムの優先通信制御方式において、前記伝送
装置に自装置の通信における優先度を設定する設定手段
と、該設定手段で設定した優先度と受信した前記トーク
ン中の通信優先度指定情報とを比較する比較手段と、該
比較手段での比較の結果により通信権を獲得するか否か
を決定する通信権獲得決定手段と、前記伝送装置のうち
の特定の装置に更に前記トークン中の通信優先度指定情
報を変更する変更手段を備え、該特定伝送装置は前記ト
ークンの受信時に前記通信優先度指定情報を変化させ、
前記伝送装置の通信量により通信権獲得の機会を変更可
能とすることし通信量にあわせて効率の良を備える伝送
装置によるネットワークシステム構成とする。
Measures to Solve the Problem J 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 a priority communication control method of a network system in which the transmission device receives a communication priority, a setting means for setting a priority in communication of the own device to the transmission device, the priority set by the setting means and communication priority designation information in the received token. communication right acquisition determining means for determining whether or not to acquire communication rights based on the comparison result of the comparison means; comprising a changing means for changing communication priority designation information, the specific transmission device changing the communication priority designation information when receiving the token;
The opportunity for acquiring communication rights can be changed depending on the amount of communication of the transmission device, and the network system is configured with the transmission device having high efficiency according to the amount of communication.

[作用] 上記構成より成るネットワークシステムにおいて、通信
優先度指定情報を含むトークンを受信し、この通信優先
度指定情報より自装置の通信優先度指定情報の高い場合
のみ通信権獲得として送信要求により情報の送信を行い
、他の場合にはトークンの受信によっても通信権獲得と
せず次のノードにトークンを巡回させ、ネットワークシ
ステム中の特定伝送装置に通信優先度指定情報の変更を
行うことにより、送信頻度の高い装置に対して、より多
くの通信権移譲を可能としている。
[Operation] 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 the token is received, communication rights are not acquired, the token is circulated to the next node, and communication priority designation information is changed to a specific transmission device in the network system. This allows more communication rights to be transferred to devices that are used frequently.

「実施例」 以下、図面を参照して本発明の一実施例を詳細に説明す
る。
"Embodiment" Hereinafter, an embodiment 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 node according to an embodiment of the present invention. In the diagram, 1 is a LAN network transmission path, 2 is a mate which is a transmission control device, and 3 is a block diagram of various computer equipment and office work connected to the node 2. It is a device.

ノード2は伝送路lとの間でデータ通信を行う送信回路
11/受信回路12、受信回路12での受信データがト
ークンか否かを判別するトークン判別回路4、ノードの
全体制御及び発信データの加工や受信データの解読、分
解や通信動作のタイミング制御等を行なう制御部(以下
CPUと称す)5.送受信データ等を蓄積するメモリ回
路6、そしてホスト3との間のインターフェース回路7
、各ノードに固有のアドレス番号を設定するスイッチ等
で構成されるアドレス設定部8及び優先度情報保持部9
、トークン中の優先度情報と優先度情報保持部9に保−
持の優先度情報との比較を行う比較回路10、宛先アド
レス判別回路13より構成されている。アドレス設定部
8に設定されたアドレス値はCPU5により読み出され
、送受信時の宛先アドレス、また送信元アドレスとして
利用される。
The node 2 has 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 controls the entire node and controls the outgoing data. A control unit (hereinafter referred to as CPU) that performs processing, decoding and decomposition of received data, and timing control of communication operations, etc.5. 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, each of which includes a switch that sets a unique address number for each node.
, priority information in the token and stored in the priority information holding unit 9.
It is comprised of a comparison circuit 10 that performs comparison with existing priority information, and a destination address discrimination circuit 13. The address value set in the address setting section 8 is read out by the CPU 5 and used as the destination address and source address during transmission and reception.

ホスト3よりの送信すべきデータは、一旦ノード2内の
メモリ回路6に蓄えられ、通信データとしての適切なる
フォーマット化(パケット化)がなされ、送信先ノード
アドレスを宛先アドレス値、アドレス設定回路8の設定
値を送信元アドレスとして付加した後、受信回路11で
自ノード宛のトークンを受信し、かつ、その優先度情報
より自装置の優先度情報保持部9の保持情報の優先度が
高く、送信権を獲得した時に初めて送信回路12を介し
て伝送路lに送出することができる。
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 l 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 the eye 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.

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

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

歯巾200はトークンフレーム、201は送信元アドレ
ス(以下、SAと称す)、202は宛先アドレス(以下
、DAと称す)、203はトークンフレームを表すトー
クンコード、204は優先度指定コード、205はデー
タフレームを表す伝送コード、206は伝送情報である
The tooth width 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.

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

まず、ステップSlで伝送路lより伝送フレームを受信
したか否かを監視し、伝送フレームを受信するとステッ
プS2に進み、宛先アドレス判別回路13は受信フレー
ム中のDA202とアドレス設定回路8に設定された自
ノードアドレス値とを比較する。そして両値が一致しな
い場合、110ち目ノード宛伝送フレームでない場合に
はステップS3に進み、受信データフレームをそのまま
送信回路12より伝送路lに送出してステップSLに戻
る。
First, in step Sl, it is monitored whether or not a transmission frame has been received from 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, and the transmission frame is not addressed to the 110th node, the process proceeds to step S3, where the received data frame is directly sent from the transmitting circuit 12 to the transmission path 1, and the process returns to step SL.

自ノード宛伝送フレームの場合にはステップS4に進み
、トークン判別回路4が付勢され受信した伝送フレーム
中の伝送コード領域(203゜205)を調べ、ここが
トークンコード203か否かを調べる。トークンフレー
ムの受信の場合にはステップS5に進み、比較回路10
を付勢し、優先度指定コード204と優先度情報保持部
9の保持データを比較する。その結果自ノードの優先度
の方が高い場合にはステップS7に進み、受信トークン
により送信権を獲得し、ステップS8でホスト3又は自
ノード゛よりの送信すべきデータがあるか、即ち送信要
求があるか否かを調べ、送信要求があればステップS9
で送信先メートに固有のノードアドレスをDA202に
、アドレス設定回路8により設定された自ノードアドレ
スを5A201にそれぞれセットし、続いて伝送コード
205、伝送情報206をセットし、データ伝送フレー
ム250を生成し、ステップSlOでこのデータ伝送フ
レーム250を予め定められた伝送制御手順に従い、伝
送先ノードに送信する。そしてデータの送信処理が終了
するとステップSllで、次にトークンを渡すべきノー
ド(下流ノード)アドレスをDA202にセットすると
共に、5A201に自メートアドレスを、203にトー
クンコードを設定し、優先度指定コード204には自ノ
ード宛に送られてきた優先度指定をそのままセットして
、このトークンフレーム200を生成し、下流ノード宛
に送出し、送信権を移譲した後ステップS1に戻る。
If the transmission frame is addressed to the own node, the process proceeds to step S4, where the token discriminating 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 receiving a token frame, the process advances to step S5, and the comparison circuit 10
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 own node is higher, the process proceeds to step S7, and acquires the transmission right using the received token.In step S8, it is determined whether there is data to be transmitted from the host 3 or the own node, that is, a transmission request. Check whether there is a transmission request, and if there is a transmission request, step S9
The node address unique to the destination mate is set in DA202, the own node address set by address setting circuit 8 is set in 5A201, and then the transmission code 205 and transmission information 206 are set to generate data transmission frame 250. Then, in step SlO, this data transmission frame 250 is transmitted to the destination node according to a predetermined transmission control procedure. When the data transmission process is completed, in step Sll, the next node (downstream node) address to which the token should be passed is set in the DA 202, the self-mate 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, the priority designation sent to the own node is set as is, and this token frame 200 is generated, sent to the downstream node, and after transferring the transmission right, the process returns to step S1.

一方、ステップS6で受信したトークンフレーム200
の優先度指定コード204が、自ノードの優先度情報保
持部9に保持の優先度より高い場合には、送信権を獲得
することは許されず、ステップS11に進み、直ちにト
ークンフレームを生成して下流ノードにトークンを送出
する。またステップS8で送信要求のない場合も同様に
しそステップSllに進み、下流ノードにトークンを送
出する。
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 S11, where it immediately generates a token frame. Send the token to the downstream node. If there is no request for transmission in step S8, the process similarly proceeds to step Sll, and the token is sent to the downstream node.

ステップS4でトークンの受信でない場合にはステップ
S20に進み、予め定められた伝送制御手順に従い、自
装置宛データ伝送フレーム250等を自ノード内に受信
し、ステップS21で受信した伝送情報がホスト3へ送
るべき情報か否かを調べ、ホスト3へ送るべき情報であ
ればステップS22に進み、この情報を多少の分解、編
集を行った後このノードに接続されたホスト3へ送信し
、ステップS1に戻り次のデータ伝送に備える。
If the token has not been received in step S4, the process advances to step S20, and according to a predetermined transmission control procedure, the data transmission frame 250 addressed to the own device is received within the own node, and the transmission information received in step S21 is transferred 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の保持内容の変更情報等の場合に
はステップ530に進み、それぞれの受信データに対応
した処理を行い、その後ステップSlに戻る。
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 530, 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
図の順序で巡回しており、100〜170は夫々第1図
に示すノード2に対応する。
The circulating state of the token in the above explanation is the fourth
The nodes 100 to 170 correspond to the nodes 2 shown in FIG. 1, respectively.

このノートA100はネットワークシステムのマスタノ
ードとも言うべきノードであり、トークンフレーム20
0中の優先度指定コード204の設定を行う、これはト
ークンの周回周期と関連してダイナミックに設定されて
いく。
This notebook A100 is a node that can be called the master node of the network system, and the token frame 20
A priority designation code 204 of 0 is set, 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巡
目には“l”に設定し、4巡目には再び“3nに設定し
、上記の優先度指定をト−クン巡回周期に合わせ゛て周
期的に変更する。
In Mate A100, the priority designation code 204 is set to 13'' in the first round of tokens, to ``2'' in the second round, to ``l'' in the third round, and again to ``1'' in the fourth round. 3n, and the above priority designation is periodically changed in accordance with the token circulation period.

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

図示の如くレベル数が多い程、高い優先度が与えられる
。この様にレベル3のノード(例えばノードC120)
はレベルlのノード(例えばノードF150)に比べ、
3倍の頻度で送信権を獲得スることができ、レベル2の
7−ドはレベルlのノードに比べ2倍の頻度で送信権が
獲得できる。
As shown in the figure, the higher the number of levels, the higher the priority is given. In this way, a level 3 node (for example, node C120)
is compared to a node at level l (for example, node F150),
The right to transmit can be acquired three times as often, and a node at level 2 can acquire the right to transmit twice as often as a node at level l.

ここでメートに接続されるホストがホストコンピュータ
やファイル装置等の高通信負荷の機器が接続されるノー
ドでは、ノードの優先度を高いレベルに設定しておく事
により、他のノードに比べて通信処理を著しく速く進め
る事が可能となる。
If the host connected to the mate is connected to a device with a high communication load, such as a host computer or a file device, by setting the node's priority to a high level, it will be able to communicate more easily than other nodes. 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例えば、ネットワークのスタートア
ップ時に、通信優先度の設定を特定値(ディフォルト値
)であるとして各ノードを一旦立ち上げ、交信可能とな
った時点で特定のノード(例えばノードC120)より
、各ノード毎に通信データとして優先度設定データを送
り、各ノードはこの送られてきた優先度設定データを、
例えばRAMで構成された優先度情報保持部9に格納す
る。この優先度設定データ送信フレーム300の例を第
6図に示す。
However, this priority information holding unit 9 does not necessarily set a fixed priority level using hardware, but can also set a dynamic priority level to an optimal value using software. For example, at the time of network startup, 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としてファイル装置等の不揮
発性メモリを有する機器を接続されているノードとして
おき、予めネットワーク内の全7−ドに対する優先度情
報をこのファイル装置に登録しておけば良い。
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 seven nodes in the network may be registered in advance in this file device.

この立ち上げ時のネットワークの優先度設定例を第7図
(A)に、その後各ノードへの優先度情報208の送出
(設定)が終了し、優先度の再設定の終了した場合の例
を第7図(B)示す。
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. FIG. 7(B) shows.

各ノードの枠内に示したのが設定された優先度であり、
Xは特定値であるディフォルト値である。第7図(A)
に示す状態より、ネットワークのトラフィック量等を勘
案して最適優先度情報を各ノードに設定し、例えば第7
図(B)に示す優先度情報に設定すればよい、この設定
は例えばホスト3としてファイル゛装置の接続されてい
るノードCl2Oが、886図に示す伝送フレーム30
0を送信することにより行い、優先レベルとしてX1〜
X6が各ノードに設定される例を示している。
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 shown in FIG. 886 can be set to the priority information shown in FIG.
This is done by sending 0, and the priority level is X1~
An example is shown in which X6 is set for each node.

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

この優先度指定コード204を変更する権利は全てのノ
ードが均一に所有していてもよく、また特定の優先度レ
ベルを持ったノードのみが行えれる様制御してもよい。
The right to change this priority designation code 204 may be equally owned by all nodes, or may be controlled so that only nodes with a specific priority level can do so.

第8図はノードA100が獲得したトークン(即ち、送
信権)を下流ノードへ手渡す例を示す状態図であり、O
内を斜線で示したノードが送信権を獲得するノードであ
り、Oで示すノードはトークンフレーム200を受信し
ても送信権を獲得することができず、そのまま次のノー
ドへ渡すメートを示す。
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 mate 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内の優先度指定m−)”2
04を高いレベルより低いレベルへ周期的に変化させる
例を示している。
Every time the token frame 200 circulates, the node A 100 updates the priority designation m-)"2 in the token frame 200.
04 is periodically changed from a high level to a low level.

この方式の長所としては、前記実施例が唯一特定の7−
ドに頼ってトークン中の優先度指定情報を変化させてい
たものが、完全に分散化されると言う事で、故障に対し
てはより強固なネットワークとする事ができる点にある
The advantage of this method is that the above embodiment is the only specific 7-
What used to depend on the code to change the priority designation information in tokens is now completely decentralized, which means that the network can be made more robust against failures.

また本実施例においては、トークンフレーム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.

(発明の効果] 以上説明した様に本発明によれば、ネットワークを構成
する各伝送装装置の通信量に合わせて効率のよい通信権
(送信権)配分を行うことができ、伝送効率のよいネッ
トワークシステムの優先通信制御方式を提供できる。
(Effects of the Invention) As explained above, according to the present invention, it is possible to efficiently allocate communication rights (transmission rights) in accordance with the communication amount of each transmission device constituting the network, and to achieve efficient transmission. A preferential communication control method for network systems can be provided.

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

第1図は本発明に係る一実施例のネットワークシステム
を構成するノードのブロック図、第2図(A)、(B)
は本実施例で用いる伝送フレーム構成図、 第3図は本実施例のノードにおけるデータ伝送制御フロ
ーチャート、 第4図はネットワークにおけるトークン巡回状態図、 第5図(A)〜(C)は本実施例における各ノードの送
信権獲得状意図。 第6図は本発明に係る他の実施例における優先レベル伝
送フレーム構成図、 第7図(A)、CB)は本発明に係る他の実施例の各ノ
ードにおける優先度情報設定状態図、第8図は本発明に
係る更に他の実施例のノードAにおける優先度指定状態
遷移図である。 図中、1・・・伝送路、2,100〜170・・・ノー
ド、3・・・ホスト、4・・・トークン判別回路、5・
・・CPU、6・・・メモリ回路、8・・・アドレス設
定回路、9・・・優先度情報保持部、10・・・比較回
路、11・・・受信回路、12・・・送信回路、13・
・・宛先アドレス判別回路、203・・・トークンコー
ド。 204・・・優先度指定コード、205・・・伝送コー
ド、207・・・優先レベル送信コード、208・・・
優先度情報である。 特許出願人    キャノン株式会社 第6図 第7図 (A) 第7図 (”B) ?−38図
FIG. 1 is a block diagram of nodes configuring a network system according to an embodiment of the present invention, and FIGS. 2(A) and (B)
is a transmission frame configuration diagram used in this embodiment, FIG. 3 is a data transmission control flowchart in a node of this embodiment, FIG. 4 is a token circulation state diagram in the network, and FIGS. 5 (A) to (C) are diagrams of this embodiment. The intent of each node in the example. FIG. 6 is a priority level transmission frame configuration diagram in another embodiment according to the present invention, FIG. FIG. 8 is a priority designation state transition diagram at node A according to still another embodiment of the present invention. In the figure, 1... 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 section, 10 ... comparison circuit, 11 ... reception circuit, 12 ... transmission circuit, 13.
...Destination address discrimination circuit, 203...Token code. 204...Priority designation code, 205...Transmission code, 207...Priority level transmission code, 208...
This is priority information. Patent applicant Canon Corporation Figure 6 Figure 7 (A) Figure 7 (''B) ?-38

Claims (1)

【特許請求の範囲】[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 holding unit that includes communication priority designation information and holds the communication priority of the own device in the transmission device; and comparing the priority held in the storage unit with the communication priority designation information in the received token. and communication right acquisition determining means for determining whether or not to acquire a communication right based on the comparison result of the comparison means, and further assigning communication priority to a specific device among the transmission devices in the token. A priority communication control method characterized by comprising a changing means for changing degree designation information.
JP12625785A 1985-06-12 1985-06-12 Priority communication control system Pending JPS61285846A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=14930699

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS61285846A (en)

Similar Documents

Publication Publication Date Title
JPH11505986A (en) Data communication with highly efficient polling procedure
JPH03158959A (en) Common memory facility for multiprocessor computor device and operation of computor network
JPS5846098B2 (en) Bus priority control method in loop bus network system
US4780871A (en) Data Transmission system
US7480832B2 (en) Centralized error signaling and logging
JPS61285846A (en) Priority communication control system
JPS61285844A (en) Priority communication control system
JPS61285847A (en) Priority communication control system
JPS61285845A (en) Priority communication control system
US6938078B1 (en) Data processing apparatus and data processing method
JPS61285849A (en) Priority communication control system
JPS6211339A (en) Data transmission control system
JPS6211337A (en) Data transmission control system
JPS6211340A (en) Data transmission control system
JPH07105804B2 (en) Address setter
JPS61285848A (en) Priority communication control system
RU1807493C (en) Data communications in computer network
JPS6211338A (en) Data transmission control system
CN112422388B (en) Communication device, method, system and electronic equipment
JPS6211335A (en) Data transmission control system
JPS6211336A (en) Data transmission control system
JPS6046150A (en) Method for controlling data transmission of loop-like transmission system
JPS61283248A (en) Network control system
JPS61283250A (en) Network control system
JPS617751A (en) Data transmission control system