JPH0227837A - Communication control system - Google Patents

Communication control system

Info

Publication number
JPH0227837A
JPH0227837A JP63177012A JP17701288A JPH0227837A JP H0227837 A JPH0227837 A JP H0227837A JP 63177012 A JP63177012 A JP 63177012A JP 17701288 A JP17701288 A JP 17701288A JP H0227837 A JPH0227837 A JP H0227837A
Authority
JP
Japan
Prior art keywords
token
data
transmission
priority
node
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
JP63177012A
Other languages
Japanese (ja)
Inventor
Akihiro Sugita
明宏 杉田
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP63177012A priority Critical patent/JPH0227837A/en
Publication of JPH0227837A publication Critical patent/JPH0227837A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To allow a specific node to acquire the transmission right with a larger rate than that of other nodes by providing a field representing the priority of an equipment to a token number and providing the communication control right to the specific equipment with priority. CONSTITUTION:A token control section 20 has a 2-bit switch as part of a token register 21 and the priority is decided by setting the switch. A token number received from a data bus 1 is stored in a token register 22, compared with the token number of the register 21 by a comparator 23, and when they are coincident, the equipment can send a data. If the data transmission is desired urgently and when the node during transmission at present has lower priority than itself, a dummy data is sent to cause data collision and to stop the data transmission of the opposite party, thereby fetching the transmission right. Thus, the transmission right is forcibly acquired from the node with lower priority than itself to attain data transmission.

Description

【発明の詳細な説明】[Detailed description of the invention]

〔産業上の利用分野] 本発明は、データ・バスの通信制御方式に関する。 特に、トークン方式を使用してデータ転送を行う通信制
御方式に関するものである。 [従来の技術] 従来、この種の通信制御方式は、第3図に示すように、
各ノードに連続したトークン番号を割り当てる。そして
、この割り当てたトークン番号順に、各ノードがデータ
送信権を獲得するようになっている。 したがって、すべてのノードが同じ割合でデータ送信権
を獲得するようになっていた。 [解決すべき課題] 上述した従来の通信制御方式では、第3図に示すように
、ランダムにトークン番号が割り当てられ、各ノードが
同じ割合でデータ送信権を得るため、特定のノードが他
のノードより大きい割合で送信権を得ることができず、
また、緊急なデータを送信したい時に送信権が得られな
いという問題点を有していた。 このため、ホストCPUのように、頻繁にデータ転送す
ることを必要とするノードや、実時間性を保ってデータ
転送を行なう必要のあるノードが、自由にデータ転送を
行なうことができないという問題点があった。 本発明は上述した問題点にかんがみてなされたもので、
特定のノードが他のノードより大きい割合で送信権を得
ることのできる通信制御方式の提供憂目的とする。 [H題の解決手段] 上記目的を達成するために本発明は、トークン方式を使
用してデータ転送の制御を行うバス・システムにおいて
、連続した一連のトークン番号ではなく、トークン番号
に装置の優先順位を示すフィールドを設けることにより
、特定の装置に優先的な通信制御権を持たせた構成とし
である。
[Industrial Application Field] The present invention relates to a data bus communication control system. In particular, it relates to a communication control method for transferring data using a token method. [Prior Art] Conventionally, this type of communication control method has been used as shown in Fig. 3.
Assign a consecutive token number to each node. Then, each node acquires data transmission rights in the order of the assigned token numbers. Therefore, all nodes acquired the right to transmit data at the same rate. [Problems to be solved] In the conventional communication control method described above, as shown in Figure 3, token numbers are randomly assigned and each node obtains the right to transmit data at the same rate. It is not possible to obtain the transmission right at a higher rate than the node,
Furthermore, there is a problem in that when it is desired to transmit urgent data, transmission rights cannot be obtained. For this reason, a problem arises in that nodes that require frequent data transfer, such as the host CPU, and nodes that need to transfer data while maintaining real-time performance cannot freely transfer data. was there. The present invention has been made in view of the above-mentioned problems.
The purpose of the present invention is to provide a communication control method that allows a specific node to obtain transmission rights at a higher rate than other nodes. [Means for solving problem H] In order to achieve the above object, the present invention provides a bus system in which data transfer is controlled using a token system, in which a device prioritizes a token number instead of a continuous series of token numbers. By providing a field indicating the rank, a specific device is given preferential communication control authority.

【実施例】【Example】

以下1本発明の一実施例について図面を参照して説明す
る。 第1IiiiIは本発明に係る通信制御方式のブe2.
り図である。 本実施例における通信制御方式の特徴とする点は、従来
のトークン番号の一部のビットを特定の装置グループを
決めるための特殊ビットとして定義し、この特殊ビット
を使用することにより、優先権を必要とするノードに対
して優先度の高いトークン番号を割り当てることができ
る機能を有している点にある。 以下、具体的に説明する。 本発明による通信制御方式は、データ拳バスlとのイン
ターフェースを行うバス・インターフェース部!O,ト
ークンに関する制御を行うトークンrvI御7IIz 
o、およびデータ・バス1とCPU/端末装置とのデー
タの送受信を行うデータ送受信制御部30により構成さ
れる。 トークン關御部20は1割当てトークン番号を保存する
割当てトークン・レジスタ21と、データバスからの受
信トークン番号を保存する受信トークンレジスタ22と
1割り当てトークンと受信トークンとを比較する比較器
23、グループビットを処理するグループビ?)処理器
24゜およびデータの無送信状@(Bus  Time
Out:BTO)を検出するBTO検出器25により構
成されている。 各*aは1割り当てトークン−レジスタ21の−aBと
して2bl tのスイッチを有しており、このス、イフ
チの設定により優先順位を決定する。 上記スイッチ設定が00の状態にある装置が鏝も優先順
位の高いグループとなる。初期化時に。 各装置はトークン番号を獲得するが、上位2ビー2トは
グループ・ビットとして割り当てられているため下位2
ビフ・トのみをランダムに決定する。 トークン番号割り当ての例を第2図に示す。 データ・バスlかも受信したトークン番号は。 トークン・レジスタ22に保存され、割り当てトークン
・レジスタ21のトークン番号と比較器23により比較
される。 トークン番号が一致した場合に、その装置はデータを送
信することができる。 通常の場合は1割り当てトークン番号の若い順に送信権
を獲得し、データの送信を行なう、第2図の例ではoo
oo→0001→(BTO)→0100→0101峠(
BTO)→1000→tool−(BTO) →(BT
O) →0000−・・・の順番で制御が行なわれる。 この場合、0001の次は0010になるが、0010
がないため、BTOが発生する。BTO検出器25がB
TOを検出した場合、そのときのグループの次に優先順
位の高いグループの一連番号00のノードが送信権を獲
得する。そして、BTOが2回連続で発生すると、oo
ooのノードが送信権を獲得する。 緊急にデータ送信を行いたい場合は、現在送信権を獲得
しているノードのグループが、自分の属しているグルー
プよりも優先順位が低ければ、ダミー・データを送信し
1強制的にコリジョン(データの衝突)を発生させ、相
手のデータ送信を中止させて、送信権を横取りしてしま
う、そして、送信したいデータを出力する。コリジヨン
を起こされた相手側は、再度別のトークン番号が割り当
られ、そのときにデータを送信する。 [発明の効果] 以上説明したように本発明は、トークン番号の中にグル
ープ・ビットを設定し、そのビットを識別することによ
り、現在送信中のノードが自分より優先順位が低い場合
1強制的に送信権を獲得し、データ転送を行うことがで
きるという効果がある。
An embodiment of the present invention will be described below with reference to the drawings. The first III is block e2. of the communication control method according to the present invention.
This is a diagram. The communication control method in this embodiment is characterized by defining some bits of the conventional token number as special bits for determining a specific device group, and by using these special bits, priority can be determined. It has the ability to allocate a high-priority token number to a node that requires it. This will be explained in detail below. The communication control system according to the present invention is a bus interface unit that interfaces with the data fist bus l! O, Token rvI control 7IIz that performs control regarding tokens
o, and a data transmission/reception control section 30 that transmits and receives data between the data bus 1 and the CPU/terminal device. The token control unit 20 includes an allocation token register 21 for storing an allocated token number, a receiving token register 22 for storing a received token number from the data bus, a comparator 23 for comparing the 1 allocated token and the received token, and a group. Groupby to process bits? ) Processor 24° and data non-transmittal @ (Bus Time
It is composed of a BTO detector 25 that detects Out:BTO). Each *a has 2 bl t switches as -aB of the 1 allocation token register 21, and the priority order is determined by the setting of this space. Devices in which the switch setting is 00 become a group with a high priority. at initialization. Each device gets a token number, but the upper two bits are assigned as group bits, so the lower two bits are assigned as group bits.
Only Bifu and To are randomly determined. An example of token number assignment is shown in FIG. The token number received on the data bus is also. It is stored in the token register 22 and compared with the token number in the allocated token register 21 by the comparator 23. If the token numbers match, the device can transmit data. Normally, the transmission right is acquired in descending order of the assigned token number and data is transmitted. In the example in Figure 2, oo
oo→0001→(BTO)→0100→0101 Pass(
BTO) → 1000 → tool-(BTO) → (BT
O) Control is performed in the order of →0000-... In this case, the next one after 0001 is 0010, but 0010
Since there is no BTO, a BTO occurs. BTO detector 25 is B
When TO is detected, the node with serial number 00 of the group with the next highest priority after the group at that time acquires the transmission right. Then, when BTO occurs twice in a row, oo
Node oo acquires the transmission right. If you want to send data urgently, if the group of the node that currently has the right to send has a lower priority than the group to which you belong, send dummy data and force 1 collision (data collision), causing the other party's data transmission to stop, stealing the transmission right, and then outputting the data that the other party wants to send. The other party with whom the collision occurred is assigned another token number again, and transmits data at that time. [Effect of the Invention] As explained above, the present invention sets a group bit in the token number and identifies the bit, so that if the currently transmitting node has a lower priority than itself, the This has the effect that it is possible to acquire transmission rights and perform data transfer.

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

第1図は本発明に係る通信制御方式の一実施例のブロッ
ク図、第2図は本実施例によるトークン番号割り当て例
を示す図、第3図は従来のトークン番号割当て例を示す
図である。 :バスインターフェイス部 ニド−クン制御部 :割当てトークンレジスタ :受信トークンレジスタ :比較器 ニゲループビット処理器 :BTO検出器 :データ送受信制御部
FIG. 1 is a block diagram of an embodiment of the communication control method according to the present invention, FIG. 2 is a diagram showing an example of token number assignment according to this embodiment, and FIG. 3 is a diagram showing an example of conventional token number assignment. . :Bus interface unit Nidokun control unit:Assignment token register:Receiving token register:Comparator Nigel loop bit processor:BTO detector:Data transmission/reception control unit

Claims (1)

【特許請求の範囲】[Claims] トークン方式を使用してデータ転送の制御を行うバス・
システムにおいて、トークン番号に装置の優先順位を示
すフィールドを設けることにより、特定の装置に優先的
な通信制御権を持たせることを特徴とする通信制御方式
A bus that uses a token method to control data transfer.
A communication control method characterized in that, in a system, a field indicating device priority is provided in a token number to give preferential communication control rights to a specific device.
JP63177012A 1988-07-18 1988-07-18 Communication control system Pending JPH0227837A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63177012A JPH0227837A (en) 1988-07-18 1988-07-18 Communication control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63177012A JPH0227837A (en) 1988-07-18 1988-07-18 Communication control system

Publications (1)

Publication Number Publication Date
JPH0227837A true JPH0227837A (en) 1990-01-30

Family

ID=16023620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63177012A Pending JPH0227837A (en) 1988-07-18 1988-07-18 Communication control system

Country Status (1)

Country Link
JP (1) JPH0227837A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190179787A1 (en) * 2017-12-08 2019-06-13 Hyundai Autron Co., Ltd. Device and method for controlling priority-based vehicle multi-master module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190179787A1 (en) * 2017-12-08 2019-06-13 Hyundai Autron Co., Ltd. Device and method for controlling priority-based vehicle multi-master module
US10534740B2 (en) * 2017-12-08 2020-01-14 Hyundai Autron Co., Ltd. Device and method for controlling priority-based vehicle multi-master module

Similar Documents

Publication Publication Date Title
US4860006A (en) Heartbeat collision avoidance method and circuit
US5968158A (en) Apparatus including a host processor and communications adapters interconnected with a bus, with improved transfer of interrupts between the adapters and host processor
JPH0128547B2 (en)
EP0130206B1 (en) Method and apparatus for bus contention resolution
US4750168A (en) Channel allocation on a time division multiplex bus
JPH02156750A (en) Multiplex access control method and multiplex access control system executing same
JPS61290838A (en) Telecommunication exchange
EP0523878B1 (en) Deterministic method for allocation of a shared resource
US4672604A (en) Time slot polling arrangement for multiple stage time division switch
US20080126640A1 (en) Round-Robin Bus Protocol
JPS61100046A (en) Loop transmission method
KR19990021848A (en) Ring bus data transmission system
EP0028891B1 (en) A data processing system
JPH0568041A (en) Communication control system
JPH08204740A (en) Data transmission method and data transmitter
KR20010072352A (en) Method of, and a heterogeneous network for, transmitting data packets
JPS6340079B2 (en)
JP2518910B2 (en) Storage controller access control method
JP2737179B2 (en) Bus system
CA1253640A (en) Channel allocation on a time division multiplex bus
JPH089941Y2 (en) Digital controller
JP2000307611A (en) Information processor and bus system
JPH03235152A (en) Bus control system
JPS63107251A (en) Time slot assigning system for loop communication system
JPS648501B2 (en)