JPH02137541A - Node device with token control function - Google Patents
Node device with token control functionInfo
- Publication number
- JPH02137541A JPH02137541A JP29213588A JP29213588A JPH02137541A JP H02137541 A JPH02137541 A JP H02137541A JP 29213588 A JP29213588 A JP 29213588A JP 29213588 A JP29213588 A JP 29213588A JP H02137541 A JPH02137541 A JP H02137541A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- packet
- node
- token
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の概要〕
通信装置をスロッテッドリング型LANに収容するトー
クン制御機能付きノード装置に関し、多数のトークンを
設定して通信効率を上げることができると共に、各ノー
ド間通信もグループ内同報通信も可能にすることを目的
とし、スロッテッドリング型LANの伝送路に多数設け
られ、通信グループ別に分けられた、通信装置を該LA
Nに収容するトークン制御機能付きノード装置において
、通信装置から受信した通信用フレームのデータの内容
を解析して、送信先ノードおよび通信形態に応じた、各
ノード対応のノード間通信用トークンあるいは各ノード
に共通のグループ内同報通信用トークンを選択する解析
選択部と、通信フレームからパケットを組立てて送信す
る際にそのパケットがノード間通信データであるかグル
ープ内同報通信データであるかをパケットヘッダ内の属
性設定部分に設定し、また受信したパケットのパケット
ヘッダを解析してその属性により、パケットから再構成
された通信フレームを格納する受信バッファを選択する
パケット組立分解部と、該受信バッファとしてのp−p
通信用受信バッファ部およびグループ内同報通信用受信
バッファ部とを備えるよう構成する。[Detailed Description of the Invention] [Summary of the Invention] Regarding a node device with a token control function that accommodates communication devices in a slotted ring type LAN, it is possible to set a large number of tokens to increase communication efficiency, and to improve communication efficiency between each node. The purpose is to enable communication and broadcast communication within a group, and the communication devices that are installed in a large number on the transmission path of a slotted ring type LAN and divided into communication groups are connected to the LAN.
The node device with a token control function accommodated in N analyzes the content of the communication frame data received from the communication device, and generates inter-node communication tokens or individual communication tokens for each node according to the destination node and communication form. An analysis selection unit that selects a token for intra-group broadcast communication that is common to nodes, and an analysis and selection unit that selects a token for intra-group broadcast communication that is common to nodes, and an analysis and selection unit that determines whether the packet is inter-node communication data or intra-group broadcast communication data when assembling and transmitting a packet from a communication frame. a packet assembling and disassembling unit that selects a reception buffer to store a communication frame reconstructed from the packet based on the attributes set in the attribute setting part in the packet header and that analyzes the packet header of the received packet; p-p as a buffer
It is configured to include a communication reception buffer section and an intra-group broadcast communication reception buffer section.
本発明は、通信装置をスロッテッドリング型LANに収
容するトークン制御機能付きノード装置に関する。The present invention relates to a node device with a token control function that accommodates communication devices in a slotted ring type LAN.
スロッテッドリング(Slotted Ring)型L
AN(Local Area Network)では、
割当てられたID番号のスロットをトークン(toke
n)として用いることにより送信権調停を行なう方式が
ある。即ち、割当てられたID番号のスロットを空きで
捕捉したノードは送信権を得たとして、送信データを該
スロット及び後続の空きスロットに挿入し、送信完了で
、周回してきた上記ID番号のスロットを使用中から空
きに戻し、送信権を他のノードへ委譲する。Slotted Ring type L
In AN (Local Area Network),
The assigned ID number slot is used as a token.
There is a method in which transmission right arbitration is performed by using it as n). In other words, a node that has captured an empty slot with the assigned ID number assumes that it has obtained the right to transmit, inserts the transmission data into that slot and the following empty slots, and when the transmission is completed, the node that has captured the slot with the ID number that has been circulating Return it from being used to free and transfer the transmission right to another node.
該LANの伝送路には複数のノードが設けられ、各ノー
ドに通信装置が接続され、送、受信を行なう。通信には
1ノードと1ノードとの間で行なわれるp −p (p
oint to point)通信の他、1ノードと多
ノードとの間で行なわれる同報通信がある。A plurality of nodes are provided on the transmission path of the LAN, and a communication device is connected to each node to perform transmission and reception. Communication is performed between one node and one node using p −p (p
In addition to point-to-point (point-to-point) communication, there is also broadcast communication performed between one node and multiple nodes.
LANの伝送路に設けられた多数のノードは複数の通信
グループに分けられ、各グループにそれぞれトークンが
割当てられることがある。本発明はか−るシステムにお
けるトークン制御機能付きノードに係るものである。A large number of nodes provided on a LAN transmission path may be divided into a plurality of communication groups, and a token may be assigned to each group. The present invention relates to a node with a token control function in such a system.
スロッテッドリング型LANはデータを全て固定長ミニ
パケットをベースに伝送するLANであり、リングの中
の伝送フレーム長は常に一定に保たれているのでリング
上には常に一定数のスロットが存在する。各スロットに
はそれぞれID番号が付されている。例えばある1つの
スロットを常時使って通信を行うと、使用スロットのI
D番号にか−ねらず一定の帯域を得ることができる。A slotted ring type LAN is a LAN that transmits all data based on fixed-length mini-packets, and since the transmission frame length within the ring is always kept constant, there is always a constant number of slots on the ring. . Each slot is assigned an ID number. For example, if one slot is always used for communication, the I
A constant band can be obtained regardless of the D number.
スロッテッドリング型LANに収容された複数(3台以
上)の通信装置間において、複数通信の装置から発生し
たデータが同時に1台の通信装置に向けられて送信され
、バケートが混信してしまうことを避けるために、同時
には1台だけが送信可能となる様な通信を実現するため
には、送信権調停を行わなければならない。送信権を得
た通信装置は、1回の送信権獲得で1通信フレーム(デ
ータの処理単位)の送信を行うと、送信権を次の通信装
置に委譲する。Between multiple (three or more) communication devices housed in a slotted ring type LAN, data generated from multiple communication devices is simultaneously sent to one communication device, causing interference. In order to avoid this, and to achieve communication in which only one device can transmit at the same time, it is necessary to perform transmission right arbitration. The communication device that has acquired the transmission right transmits one communication frame (data processing unit) in one acquisition of the transmission right, and then delegates the transmission right to the next communication device.
送信権調停制御は通信装置間における通信プロトコルの
上位レイヤで実現することも可能であるが、高い通信効
率を得るためには、スロッテッドリング型LANの持つ
機能として下位レイヤにおいて各ノード間での高速処理
を実現することが必要である。Although transmission right arbitration control can be realized in the upper layer of the communication protocol between communication devices, in order to obtain high communication efficiency, it is necessary to implement control between each node in the lower layer as a function of the slotted ring type LAN. It is necessary to realize high-speed processing.
この様な送信権調停は前述の手順により実現される。即
ち、スロッテッドリング型LANの中にトークンと呼ば
れる送信権を示すスロットを1スロツトだけ予約してお
き、トークンを空きスロットで捕捉したノードが送信権
を得たことを認識し、トークンを使用中にしてから送信
を開始する。ノードは送信が終了するとトークンを空き
スロットに戻すことにより、送信権は下流のノードに移
る。Such transmission right arbitration is realized by the procedure described above. In other words, only one slot, called a token, indicating the right to transmit is reserved in a slotted ring type LAN, and a node that captures the token in an empty slot recognizes that it has acquired the right to transmit, and uses the token. and then start sending. When the node finishes transmitting, it returns the token to an empty slot, and the right to transmit is transferred to a downstream node.
送信権を得たノードはパケットの送信準備ができると空
きスロットを捕捉して送信を行うが、通信フレームのブ
ロッキングによる遅延(パケット化などのための遅れ)
等により、捕捉可能な全ての空きスロットに対してパケ
ットを送信できるとは限らない。通信フレーム長が長い
場合などは、使用中としたトークンが周回してきても、
まだ送信データが送信準備できずに残っていることがあ
る。このような場合はノードがデータの送信を続けられ
るよう、周回してきたトークンを再び使用中とするため
ダミーデータをトークンスロットヘ入れる。When a node that has obtained the transmission right is ready to transmit a packet, it acquires an empty slot and transmits it, but there is a delay due to blocking of communication frames (delay due to packetization, etc.)
For example, it is not always possible to transmit packets to all available slots that can be captured. If the communication frame length is long, even if a token that is in use comes around,
There may still be some data that is not ready to be sent. In such a case, dummy data is inserted into the token slot in order to make the circulating token in use again so that the node can continue transmitting data.
この送信権調停の方式では、相互通信を行うノード同志
を通信グループとし、各通信グループに対して固有のト
ークンを割当てることにより、システム全体の通信効率
の向上を図ることができる。In this transmission right arbitration method, nodes that communicate with each other are grouped into communication groups, and a unique token is assigned to each communication group, thereby making it possible to improve the communication efficiency of the entire system.
第5図ではスロッテッドリング型LANの伝送路10に
設けられたノード11〜13は通信グループ八に、また
ノード15〜17は通信グループBに分けられ、通信グ
ループAではトークンAを用いてまた通信グループBで
はトークンBを用いて通信を行なう。このトークンの使
用で、異なる通信グループ間ではお互いの送信権調停を
干渉することなく制御できる。In FIG. 5, nodes 11 to 13 provided on the transmission line 10 of the slotted ring type LAN are divided into communication group 8, and nodes 15 to 17 are divided into communication group B. In communication group A, token A is used to Communication group B uses token B for communication. By using this token, transmission rights arbitration between different communication groups can be controlled without interfering with each other.
第5図の方式では通信グループ毎に1つのトークンが割
当てられるが、このトークン割当て方法では、通信グル
ープを構成するノードの台数が増えると、トークンの使
用権が巡回する遅延時間(Round Trip De
lay)が増大して、通信グループ内の通信効率がそれ
に抑えられてしまい、ノード当たりの通信効率が低下し
てしまう。In the method shown in Fig. 5, one token is allocated to each communication group, but in this token allocation method, as the number of nodes composing the communication group increases, the delay time (Round Trip De
ray) increases, the communication efficiency within the communication group is suppressed, and the communication efficiency per node decreases.
そこで、トークンの意味付けを、従来の通信グループ内
での送信権獲得というだけでなく、通信グループ内での
送信権獲得と送信先ノードの受信バッ゛ファの使用権獲
得という2つの意味付けで用いることにすると、ノード
数分のトークンを通信グループ内に使用予約して、通信
グループ内の通信効率を向上させることができる。第7
図はこの例で、トークンはノード対応に設けられる。即
ち通信グループAにはトークンAll〜A14が、また
通信グループBにはトークンB15〜B1Bが割当てら
れる。これらのトークンの意味は例えばトークンA12
はノード12に対して送信してよいことを示し、トーク
ンA14はノード14に対して送信してよいことを示し
、以下これに準する。Therefore, we have changed the meaning of tokens not only to acquire the right to transmit within a communication group, but also to acquire the right to transmit within a communication group, and to acquire the right to use the receiving buffer of the destination node. If used, tokens for the number of nodes can be reserved for use within a communication group, thereby improving communication efficiency within the communication group. 7th
The figure shows this example, and tokens are provided corresponding to nodes. That is, communication group A is allocated tokens All to A14, and communication group B is allocated tokens B15 to B1B. The meaning of these tokens is, for example, token A12.
indicates that it may be transmitted to the node 12, and token A14 indicates that it may be transmitted to the node 14, and the following applies accordingly.
この第7図は、通信グループAではノード11がトーク
ンA12を獲得してノード12に対してp−p通信を、
またノード13がトークンA14を獲得してノード14
に対してp−p通信を同時に行っていることを示してい
る。図には示していないが、通信グループAではさらに
、トークンA11を使ってノード12からノード11へ
の、またトークンA13を使ってノード14からノード
13へのp−p通信を同時に行うこともできる(通信グ
ループBについても同様)。FIG. 7 shows that in communication group A, node 11 acquires token A12 and sends pp communication to node 12.
Also, node 13 acquires token A14 and node 14
This shows that pp communication is being performed simultaneously for both. Although not shown in the diagram, in communication group A, it is also possible to simultaneously perform p-p communication from node 12 to node 11 using token A11, and from node 14 to node 13 using token A13. (The same applies to communication group B).
このようにトークンを増加すると各ノードの通信機会が
増え、迅速な送信が可能である。勿論、混信するような
ことはない。例えばノード12ヘノード11と14が同
時に送信しようとしても、ノード12への送信にはトー
クンA12の獲得が必要であるから、1時には1ノード
しか送信できず、ノード12の受信バッファヘノード1
1と14の各送信データが混じて入ってしまったという
樺なことはない。なおスロッテッドリング型LANの伝
送容量は極めて太きく (400Mbps =Gbps
)、ノードのバス型LANの伝送容量は小さり(10M
bpsなど)、前者が後者の通信を処理し切れないとい
うことはないから、トークンが獲得できれば通信は可能
である。Increasing the number of tokens in this way increases communication opportunities for each node, allowing prompt transmission. Of course, there is no such thing as confusion. For example, even if nodes 11 and 14 try to transmit to node 12 at the same time, since transmission to node 12 requires acquisition of token A12, only one node can transmit at 1:00, and node 1 is sent to node 12's receiving buffer.
There is no possibility that the transmission data of numbers 1 and 14 are mixed together. Note that the transmission capacity of slotted ring type LAN is extremely large (400Mbps = Gbps
), the transmission capacity of the node bus type LAN is small (10M
(bps, etc.), there is no way that the former cannot handle the latter's communication, so communication is possible if a token can be obtained.
ノード対応にトークンを設定する第7図の方式では待ち
時間の少ない、迅速な送信が可能であるが、通信グルー
プ内の通信形態はp−p通信に限定されてしまい、従来
の意味でのトークンを使用する通信グループと比べてグ
ループ内同報通信ができなくなってしまうという問題が
ある。即ち1通信グループに1つのトークンを割当てる
方式なら第6図に示すようにp−p通信も回報通信も可
能であるが、ノード対応のトークンでは回報ができない
。なおこの第6図では通信グループAではノード11が
トークンAを獲得してノード13に対してp−p通信を
行っており、通信グループBではノード17がトークン
Bを獲得してノード15および16に対してグループ内
同報通信を行っていることを示している。The method shown in Figure 7, in which tokens are set corresponding to nodes, enables quick transmission with little waiting time, but the communication form within a communication group is limited to pp communication, and tokens in the conventional sense are Compared to communication groups that use , there is a problem in that intra-group broadcast communication becomes impossible. That is, if one token is assigned to one communication group, pp communication and relay communication are possible as shown in FIG. 6, but relay communication is not possible with a token corresponding to a node. In FIG. 6, in communication group A, node 11 acquires token A and performs pp communication with node 13, and in communication group B, node 17 acquires token B and communicates with nodes 15 and 16. This indicates that intra-group broadcast communication is being performed for the group.
本発明はか−る点を改善し、多数のトークンを設定して
通信効率を上げることができると共に、p−p通信もグ
ループ内同報通信も可能にすることを目的とするもので
ある。An object of the present invention is to improve the above points, to increase communication efficiency by setting a large number of tokens, and to enable both pp communication and intra-group broadcast communication.
(課題を解決するための手段〕
第1図に示すように本発明では、スロッテッドリング型
LANの伝送路(10)に多数段けられ、通信グループ
別に分けられた、通信装置(40,41゜41、・・・
・・・)を該LANに収容するトークン制御機能付きノ
ード装置(li、 11.12.・・・・・・)に、解
析選択部50、パケット組立分解部28、p−p通信用
受信バフフッ部29aおよびグループ内同報通信用受信
バッファ部29bを設ける。(Means for Solving the Problems) As shown in FIG. 1, in the present invention, communication devices (40, 41゜41,...
...) in the LAN includes an analysis selection section 50, a packet assembly/disassembly section 28, and a reception buffer for pp communication. A receiving buffer section 29a and a reception buffer section 29b for intra-group broadcast communication are provided.
解析選択部50は、通信装置40から受信した通信用フ
レームのデータの内容を解析して、その送信先ノードお
よび通信形態に応じた、各ノード対応のp−p通信用ト
ークンあるいは各ノードに共通のグループ内同報通信用
トークンを選択する。The analysis selection unit 50 analyzes the contents of the data of the communication frame received from the communication device 40, and generates a pp communication token corresponding to each node or common to each node according to the destination node and communication form. Select the intra-group broadcast communication token.
またパケット組立分解部28は、通信フレームからパケ
ットを組立てて送信する際にそのパケットがp−p通信
データであるか、グループ内同報通信データであるかを
、パケットヘッダ内の属性設定部分に設定する。また受
信したパケットのパケットヘッダを解析してその属性に
より、パケットから再構成された通信フレームを格納す
る受信バッファを、p−p通信用受信バフフッ部29a
にするかグループ内同報通信用バッファ部29bにする
かを選択する。Furthermore, when assembling and transmitting a packet from a communication frame, the packet assembling and disassembling unit 28 determines whether the packet is pp communication data or intra-group broadcast communication data in the attribute setting part in the packet header. Set. Furthermore, the packet header of the received packet is analyzed, and the receive buffer for storing the communication frame reconstructed from the packet is stored in the receive buffer section 29a for pp communication.
or the intra-group broadcast communication buffer section 29b.
本発明ではトークンをノード別と同報用にする。 In the present invention, tokens are used for each node and for broadcasting.
従って通信グループAではノード11〜14に対するト
ークンAll〜A14と、グループ入内同報用トークン
Cとなり、通信グループBでも同様である。Therefore, in communication group A, there are tokens All to A14 for nodes 11 to 14, and token C for intra-group broadcasting, and the same applies to communication group B.
通信装置40から通信フレームが送られてくると、その
送信先情報および通信形態(p−pか回報か)情報によ
り、解析選択部50では該当するトークンを決定し、こ
の決定されたトークンの捕捉で送信が行なわれる。When a communication frame is sent from the communication device 40, the analysis and selection unit 50 determines the corresponding token based on the transmission destination information and communication type (pp or circular) information, and captures the determined token. Transmission is performed in
この方式では、ノードではp−p通信用パケットと回報
通信用パケットが同時に受信される事があるが、パケッ
トヘッダ部の属性設定部分を見るとp−p通信か回報通
信かが分るから、それぞれのバッファ29a、29bヘ
バツフアリングする。In this method, a node may receive a pp communication packet and a relay communication packet at the same time, but if you look at the attribute setting part of the packet header, you can tell whether it is pp communication or relay communication. Buffering is performed to the respective buffers 29a and 29b.
この処理はパケット組立分解部が行なう。This process is performed by the packet assembly and disassembly section.
こうして本発明では通信グループ内に多数の(ノード数
だけの)トークンを設定できて通信効率を上げることが
でき、また同報用トークンも設定するから同報も可能で
あり、更にp−p通信と同報通信では受信バッファを異
ならせるから、あるノードにp−p通信と同報が同時に
行なわれても混信するようなことはない。In this way, in the present invention, it is possible to set a large number of tokens (as many as the number of nodes) within a communication group, increasing communication efficiency, and since tokens for broadcasting are also set, broadcasting is possible. Since the receiving buffers are different for broadcast communication and broadcast communication, there will be no interference even if pp communication and broadcast communication are performed at the same time at a certain node.
第2図に本発明のノード装置の詳細を示す。このノード
装置11は、スロッテッドリング型LANの伝送路10
と通信装置40との間のデータ変換を行うものである。FIG. 2 shows details of the node device of the present invention. This node device 11 is a transmission line 10 of a slotted ring type LAN.
It performs data conversion between the communication device 40 and the communication device 40.
21は伝送路同期検出部であり、リング伝送路10上の
伝送フレームの同期検出を行うことにより伝送路クロッ
クの抽出、各種タイミングの生成を行い、これらをノー
ド内の各ブロックに分配している。22はパケット分岐
挿入部であり、パケットヘッダの内容を解析してスロッ
テッドリング型LANのスロットからパケットを分岐し
てパケット受信制御部25に受信通知を行い、パケット
受信バッファ部26にパケットを分岐したり、通信フレ
ーム受信制御・パケット送信制御部32からの要求に従
い、通信フレーム受信バッファ部31からのパケットを
伝送路10に挿入したりする。Reference numeral 21 denotes a transmission path synchronization detection unit, which extracts transmission path clocks and generates various timings by detecting synchronization of transmission frames on the ring transmission path 10, and distributes these to each block within the node. . 22 is a packet branching/insertion unit which analyzes the content of the packet header, branches the packet from the slot of the slotted ring type LAN, notifies the packet reception control unit 25 of reception, and branches the packet to the packet reception buffer unit 26. or inserts a packet from the communication frame reception buffer section 31 into the transmission path 10 in accordance with a request from the communication frame reception control/packet transmission control section 32.
また23はタイミングカウンタ部であり、トークン検査
部34からのカウンタリセット指示に従って伝送路同期
検出部21が抽出した伝送フレームタイミングのカウン
トを行う。トークン検査部34からカウンタリセット指
示がくる前にカウンタがオーバフローした場合にはトー
クン検査部34にそのことを通知する。24はトークン
検出部であり、伝送路を周回しているトークンのスロッ
ト使用状態を検出してトークン検査部34にこれを通知
する。Further, 23 is a timing counter section, which counts the transmission frame timing extracted by the transmission path synchronization detection section 21 in accordance with a counter reset instruction from the token inspection section 34. If the counter overflows before a counter reset instruction is received from the token checking unit 34, the token checking unit 34 is notified of this fact. Reference numeral 24 denotes a token detection section, which detects the slot use status of the token circulating on the transmission path and notifies the token inspection section 34 of this.
パケット受信制御部25は、パケット分岐挿入部22か
らのパケット受信指示に従ってパケット受信バッファ部
26へのデータの書込み制御を行う。また、通信フレー
ム送信制御部27からの要求によりパケットを分解して
通信フレームを組立てるために、パケット受信バッファ
部26からデータの読出し制御を行う。パケット受信バ
ッファ部26はパケット受信制御部25の制御によりパ
ケット分岐挿入部22が伝送路から分岐したパケットの
バッファリングを行う。The packet reception control section 25 controls writing of data to the packet reception buffer section 26 in accordance with a packet reception instruction from the packet add/drop section 22 . Furthermore, in response to a request from the communication frame transmission control section 27, data reading from the packet reception buffer section 26 is controlled in order to disassemble packets and assemble communication frames. The packet reception buffer section 26 buffers the packets branched from the transmission path by the packet add/drop section 22 under the control of the packet reception control section 25 .
通信フレーム送信制御部27は、パケット受信バッファ
部26に蓄積されたパケットを読出してパケット組立分
解部28のパケットヘッダ解析結果に従ってp−p通信
用フレーム送信バッファ部29aあるいはグループ内同
報通信用フレーム送信バッファ部29bへの通信フレー
ムの書込み制御を行う。また、バッファ29a、29b
内に通信フレームの組立てが完了したら、外部インタフ
ェース制御部30からの要求に従って通信装置40に対
して通信フレームの送信を行うための読出し制御を行う
。The communication frame transmission control section 27 reads out the packets stored in the packet reception buffer section 26 and, according to the packet header analysis result of the packet assembly/disassembly section 28, sends the packets to the pp communication frame transmission buffer section 29a or the frame for intra-group broadcast communication. It controls writing of communication frames to the transmission buffer section 29b. In addition, buffers 29a and 29b
When the assembly of the communication frame is completed, read control is performed to transmit the communication frame to the communication device 40 in accordance with a request from the external interface control unit 30.
パケット組立分解部28は、パケット受信バッファ部2
6から読出されたパケットから通信フレームへの組立て
および、通信フレーム受信バッファ部31から読出され
た通信フレームのパケットへの分解を行う。パケットを
分解する場合には、パケットヘッダを解析しそのパケッ
トがp−p通信用であるかグループ内同報通信用である
か判断して、これを通信フレーム送信制御部27に通知
する。パケットを組立てる場合には、通信定義テーブル
部33から通知されるパケットヘッダ情報を付加する。The packet assembling and disassembling section 28 includes the packet receiving buffer section 2
6 is assembled into a communication frame, and the communication frame read from the communication frame reception buffer section 31 is disassembled into packets. When disassembling a packet, the packet header is analyzed to determine whether the packet is for pp communication or intra-group broadcast communication, and this is notified to the communication frame transmission control unit 27. When assembling a packet, packet header information notified from the communication definition table section 33 is added.
通信フレーム送信バッファ部29 a、 29 bハ
通信フレーム送信制御部27の制御によりパケット組立
分解部28により組立てられた通信フレームのバッファ
リングを行う。外部インタフェース制御部30は、ノー
ドと通信装置間のインタフェース制御を行い、通信フレ
ームの送受信を行う。Communication frame transmission buffer units 29 a and 29 b c) Buffer the communication frames assembled by the packet assembly/disassembly unit 28 under the control of the communication frame transmission control unit 27 . The external interface control unit 30 controls the interface between a node and a communication device, and sends and receives communication frames.
通信フレーム受信バッファ部31は、通信フレーム受信
制御・パケット送信制御部32の制御により外部インタ
フェース制御部30からの受信指示に従った通信フレー
ムのバッファリングを行う。The communication frame reception buffer section 31 performs buffering of communication frames according to reception instructions from the external interface control section 30 under the control of the communication frame reception control/packet transmission control section 32 .
通信フレーム受信制御・パケット送信制御部32は、外
部インタフェース制御部30からの受信指示に従った通
信フレームの通信フレーム受信バッファ部31への書込
み制御を行う。また、トークン検査部34からの指示に
従ってパケットを送信するために、通信フレーム受信バ
ッファ部31から通信フレームの続出し制御を行う。The communication frame reception control/packet transmission control section 32 controls writing of communication frames into the communication frame reception buffer section 31 in accordance with reception instructions from the external interface control section 30 . Further, in order to transmit packets according to instructions from the token inspection section 34, control is performed to continuously output communication frames from the communication frame reception buffer section 31.
通信定義テーブル部33は、通信フレームをパケットに
分解して送信するために使用するトークンおよびパケッ
トヘッダに設定する通信パス定義情報を設定しておくテ
ーブルである。通信フレーム受信制御・パケット送信制
御部32からの指示により通信フレームを通信フレーム
受信バッファ部31に受信する度に送信に使用するトー
クンを検索して、トークン検査部34に通知する。また
通信フレーム受信制御・パケット送信制御部32からの
指示によりトークンと同時に検索したパケットヘッダ情
報をパケット組立分解部28に発生してパケットの組立
を行う。パケットヘッダ情報の中には、通信フレームが
p−p通信用通信フレームであるかグループ内同報通信
用通信フレームであるかの属性を示す情報が含まれてい
る。これらの制御部32およびテーブル部33は第1図
の解析選択部を構成する。The communication definition table section 33 is a table in which tokens used for disassembling communication frames into packets and transmitting them and communication path definition information to be set in packet headers are set. Every time a communication frame is received by the communication frame reception buffer section 31 according to an instruction from the communication frame reception control/packet transmission control section 32, a token used for transmission is searched and the token inspection section 34 is notified. Also, according to instructions from the communication frame reception control/packet transmission control section 32, the packet header information retrieved at the same time as the token is generated in the packet assembly/disassembly section 28 to assemble the packet. The packet header information includes information indicating an attribute of whether the communication frame is a communication frame for pp communication or a communication frame for intra-group broadcast communication. These control section 32 and table section 33 constitute the analysis selection section shown in FIG.
トークン検査部34は、伝送路への送信待ちである通信
フレームの使用するトークンの獲得、送信待ち時間の監
視、トークン獲得による通信フレーム受信制御・パケッ
ト送信制御部32への送信指示、トークンの保持、送信
終了後のトークンの放出の各制御を行う。各トークンの
使用状態はトークン検出部24により検出され、送信待
ち時間の監視はタイミングカウンタ部23により行われ
る。The token inspection unit 34 acquires tokens used in communication frames waiting to be transmitted to the transmission path, monitors transmission waiting time, controls communication frame reception by acquiring tokens, instructs transmission to the packet transmission control unit 32, and holds tokens. , controls the release of tokens after transmission is completed. The usage status of each token is detected by the token detection section 24, and the timing counter section 23 monitors the transmission waiting time.
本発明では、スロッテッドリング型LANのリング上で
送信権調停を行うノードn台から構成される通信グルー
プに、ノード台数分のn個のp−2通信用トークンとグ
ループ内同報通信用の1個のトークンの合計n+1個の
トークンを定義して、ノードは通信袋240から通信フ
レームを受信する度にその送信先および通信形態を検索
して、それにあったトークンを用いて送信を行う。これ
らのトークンは通信定義テーブル部33に用意されてお
り、送信先と通信形態で検索して該当するものを取出す
ことができる。受信側ノードでは、受信したパケットが
p−p通信用かグループ内同報通信用であるかを判断し
てそれぞれをバッファ部29a、29bに別々にバッフ
ァリングし、通信フレームに再構成して通信装置40に
送信する。In the present invention, a communication group consisting of n nodes that perform transmission right arbitration on the ring of a slotted ring type LAN is provided with n P-2 communication tokens for the number of nodes and a token for intra-group broadcast communication. Defining one token, a total of n+1 tokens, each time a node receives a communication frame from the communication bag 240, it searches for its transmission destination and communication form, and performs transmission using the corresponding token. These tokens are prepared in the communication definition table section 33, and a corresponding token can be retrieved by searching for the destination and communication type. The receiving node determines whether the received packet is for pp communication or intra-group broadcast communication, buffers each packet separately in buffer units 29a and 29b, reconfigures it into a communication frame, and then communicates it. to the device 40.
こうして1つの通信グループに対して複数のトークンを
定義することができ、トークン1つの場合に比べて各ノ
ードの通信効率を上げることができ、またp−2通信と
グループ内同報通信も可能である。In this way, multiple tokens can be defined for one communication group, which increases the communication efficiency of each node compared to the case of one token, and also enables p-2 communication and intra-group broadcast communication. be.
第3図に本発明を、スロッテッドリング型LANにブリ
ッジ装置Bを接続しLAN間接続を実現したシステムに
適用した例について示す。11〜14は本発明を適用し
たノード、10はスロッテッドリング型LANの伝送路
、WSはバス型LANに収容されている通信端末のワー
クスチーシコン等である。51〜54は該バス型のLA
Nで、IEEE802.3で規定されているLANであ
る。FIG. 3 shows an example in which the present invention is applied to a system in which a bridge device B is connected to a slotted ring type LAN to realize inter-LAN connection. 11 to 14 are nodes to which the present invention is applied, 10 is a transmission line of a slotted ring type LAN, and WS is a workstation of a communication terminal accommodated in the bus type LAN. 51 to 54 are LA of the bus type
N, which is a LAN defined by IEEE802.3.
第4図に、本実施例における通信フレームのフォーマッ
ト例および通信フレームの内容による通信グループ内で
の通信形態を示す。DAは送信先アドレス、SAは送信
元アドレス、LLCPDU !;I′LLCデータ、F
e2はフレームチエツクシーケンスである。バイト数の
例を挙げるとDAは6ハイト、SAも6バイト、LLC
PDU は46〜150oハイド、Fe2は4バイトで
ある。送信先アドレスDAは個別/同報インジケートフ
ィールドI10、ローカル/ユニバーサル定義インジケ
ースフィールドL/U、および残りの46ビツトのアド
レスからなる。通信形態にはp−2通信と同報があり、
p−pのときはL/Uはり、I/Gは■になる。それ以
外は同報である。FIG. 4 shows an example of the format of a communication frame and a form of communication within a communication group according to the contents of the communication frame in this embodiment. DA is the destination address, SA is the source address, LLC PDU! ;I'LLC data, F
e2 is a frame check sequence. To give an example of the number of bytes, DA is 6 bytes, SA is also 6 bytes, LLC
PDU is 46-150o hide, Fe2 is 4 bytes. The destination address DA consists of an individual/broadcast indicator field I10, a local/universal definition indicator field L/U, and the remaining 46 bits of the address. Communication forms include p-2 communication and broadcast,
When it is pp, the L/U beam becomes ``■'' and the I/G becomes ■. Other than that, it is the same report.
通信グループ内にp−p通信用として各ノード毎のトー
クン、第3図で言えばトークンAIl〜A14と、グル
ープ間同報用のトークンCが定義される。Within a communication group, tokens for each node for pp communication, tokens A1 to A14 in FIG. 3, and token C for inter-group broadcasting are defined.
ノードが通信フレーム毎に行う通信形態の解析は、通信
フレームのDA部先頭2ビットの内容により行われる。The analysis of the communication form performed by the node for each communication frame is performed based on the contents of the first two bits of the DA section of the communication frame.
例えば第3図のノード11では、ブリッジ装置から受信
した通信フレームを通信定義テーブル部33で解析する
ことによりノード12宛であることが分かる。これによ
り、パケットヘッダ情報として送信先アドレスをノード
12、通信形態をp−2通信としてパケット組立分解部
28に通知する。同時にトークン検査部34に対してト
ークンA12の獲得要求を発生し、トークン検査部34
はトークンA12の獲得を行う。トークンA12が獲得
できたことによりノード11からノード12へのp−2
通信が実行される。For example, in the node 11 of FIG. 3, the communication definition table section 33 analyzes the communication frame received from the bridge device, and it can be determined that the communication frame is addressed to the node 12. As a result, the packet assembly/disassembly unit 28 is notified of the destination address as the packet header information and the communication mode as p-2 communication. At the same time, a request to acquire the token A12 is issued to the token inspection unit 34, and the token inspection unit 34
acquires token A12. p-2 from node 11 to node 12 due to the acquisition of token A12
Communication is carried out.
また、ノード13がトークンA14を獲得することによ
りノード13からノード14へのp−2通信が、またノ
ード12がトークンCを獲得することにより、ノード1
2からノード11,14゜13へのグループ内同報通信
が、それぞれ並行して同時に実行できる。In addition, when node 13 acquires token A14, p-2 communication from node 13 to node 14 occurs, and when node 12 acquires token C, node 1
Intra-group broadcast communication from node 2 to nodes 11, 14 and 13 can be executed simultaneously in parallel.
例えばノード14では、ノード13からのp−p通信パ
ケットとノード12からのグループ内同報通信パケット
が同時に到着する。ノード14では、混在してパケット
受信バッファ部26に蓄積したパケットを分解して通信
フレームを再構成する。パケット組立分解部28はパケ
ット受信制御部25から受信パケットの処理要求に従っ
て、受信パケットのパケットヘッダの解析を行う。その
結果、各パケットの通信形態に従ってp−p通信用パケ
ットはp−p通信用フレーム送信バフフッ部29aへの
書込みを、グループ内同報通信用パケットはグループ内
同報通信用フレーム送信バッファ部29bへの書込みを
行う。どちらかの通信フレーム送信バッファ部に1通信
フレーム分のデータの書込みが完了すると、通信フレー
ム送信制御部27は外部インタフェース制御部30に対
してこれを通知して、ブリッジ装置に対する通信フレー
ムの送信を行う。For example, at the node 14, the pp communication packet from the node 13 and the intra-group broadcast communication packet from the node 12 arrive at the same time. The node 14 disassembles the mixed packets accumulated in the packet reception buffer section 26 and reconstructs a communication frame. The packet assembling and disassembling unit 28 analyzes the packet header of the received packet in accordance with a request from the packet reception control unit 25 to process the received packet. As a result, packets for pp communication are written to the frame transmission buffer section 29a for pp communication according to the communication form of each packet, and packets for intra-group broadcast communication are written to the frame transmission buffer section 29b for intra-group broadcast communication. Write to. When data for one communication frame has been written to either of the communication frame transmission buffer units, the communication frame transmission control unit 27 notifies the external interface control unit 30 of this and causes the communication frame to be transmitted to the bridge device. conduct.
以上説明した様に本発明では、スロッテッドリング型L
ANに接続されている、通信フレームの処理毎にトーク
ンを選択する機能を持ったノードにおいて、ノードn台
から構成される通信グループにノード台数(n台)分の
p−p通信用トークンとグループ内同報通信用の1つの
トークンとの合計n+1個のトークンを定義して、ノー
ドが通信装置から通信フレームを受信する度に送信先お
よび通信形態を検索して、それにあったトークンにより
送信を行う機能と、受信したパケットがp−2通信用か
グループ内同報通信用であるかを判断してそれぞれを別
々にバッファリングして通信フレームに再構成する機能
を備えるので、1通信グループに対して複数のトークン
を定義することができて、通信グループ内の各ノードの
通信効率を上げられるという効果が得られると共に、従
来1つのトークンを定義した場合に実現できた通信形態
(p−p通信およびグループ内同報通信)も同様に実現
することができるという利点が得られる。As explained above, in the present invention, the slotted ring type L
In a node that is connected to the AN and has the function of selecting a token for each communication frame processing, a communication group consisting of n nodes is divided into groups with pp communication tokens for the number of nodes (n). By defining a total of n+1 tokens, including one token for internal broadcast communication, each time a node receives a communication frame from a communication device, it searches for the destination and communication format, and performs transmission using the corresponding token. It also has a function to determine whether the received packet is for P-2 communication or intra-group broadcast communication, buffer each packet separately, and reassemble it into a communication frame, so it is possible to combine it into one communication group. It is possible to define multiple tokens for each node, which has the effect of increasing the communication efficiency of each node within the communication group, and the communication form (p-p The advantage is that communication and intra-group broadcast communication) can be realized as well.
第1図は本発明の原理説明図、
第2図は本発明のノードの構成を示すブロック図、
第3図は本発明の通信例を示す説明図、第4図は通信フ
ォーマット及び通信形態の説明図、
第5図〜第7図はトークン使用例の説明図である。
第1図で10は伝送路、11〜17はノード、40は通
信装置、28はパケット組立分解部、29a、29bは
バッファ、50は解析選択部である。Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is a block diagram showing the configuration of a node of the invention, Fig. 3 is an explanatory diagram showing an example of communication of the invention, and Fig. 4 is a diagram of the communication format and form. Explanatory diagrams FIGS. 5 to 7 are explanatory diagrams of examples of token usage. In FIG. 1, 10 is a transmission path, 11 to 17 are nodes, 40 is a communication device, 28 is a packet assembly/disassembly section, 29a and 29b are buffers, and 50 is an analysis selection section.
Claims (1)
数設けられ、通信グループ別に分けられた、通信装置(
40)を該LANに収容するトークン制御機能付きノー
ド装置において、 通信装置から受信した通信用フレームのデータの内容を
解析して、送信先ノードおよび通信形態に応じた、各ノ
ード間の通信用トークンあるいは各ノードに共通のグル
ープ内同報通信用トークンを選択する解析選択部(50
)と、 通信フレームからパケットを組立てて送信する際にその
パケットが各ノード間の通信データであるかグループ内
同報通信データであるかをパケットヘッダ内の属性設定
部分に設定し、また受信したパケットのパケットヘッダ
を解析してその属性により、パケットから再構成された
通信フレームを格納する受信バッファを選択するパケッ
ト組立分解部(28)と、 該受信バッファとしてのp−p通信用受信バッファ部(
29a)およびグループ内同報通信用受信バッファ部(
29b)とを備えることを特徴とするトークン制御機能
付きノード装置。[Claims] 1. A large number of communication devices (
40) in the LAN, analyzes the content of the data of the communication frame received from the communication device, and generates a communication token between each node according to the destination node and communication form. Alternatively, an analysis selection unit (50
), and when assembling and transmitting a packet from a communication frame, it sets whether the packet is communication data between each node or broadcast communication data within a group in the attribute setting part in the packet header, and also sets the received packet. A packet assembly/disassembly unit (28) that analyzes the packet header of a packet and selects a reception buffer for storing a communication frame reconstructed from the packet based on its attributes; and a reception buffer unit for pp communication as the reception buffer. (
29a) and intra-group broadcast communication reception buffer section (
29b) A node device with a token control function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29213588A JPH02137541A (en) | 1988-11-18 | 1988-11-18 | Node device with token control function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29213588A JPH02137541A (en) | 1988-11-18 | 1988-11-18 | Node device with token control function |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02137541A true JPH02137541A (en) | 1990-05-25 |
Family
ID=17777989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29213588A Pending JPH02137541A (en) | 1988-11-18 | 1988-11-18 | Node device with token control function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02137541A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05284168A (en) * | 1992-03-30 | 1993-10-29 | Takaoka Electric Mfg Co Ltd | Loop data communication system |
KR20010041442A (en) * | 1998-04-10 | 2001-05-25 | 다이나크 인코포레이티드 디비에이 다이나믹 네트워크 알키텍쳐 인코포레이티드 | Method and device for synchronizing dynamic synchronous transfer mode in a ring topology |
-
1988
- 1988-11-18 JP JP29213588A patent/JPH02137541A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05284168A (en) * | 1992-03-30 | 1993-10-29 | Takaoka Electric Mfg Co Ltd | Loop data communication system |
KR20010041442A (en) * | 1998-04-10 | 2001-05-25 | 다이나크 인코포레이티드 디비에이 다이나믹 네트워크 알키텍쳐 인코포레이티드 | Method and device for synchronizing dynamic synchronous transfer mode in a ring topology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3168235B2 (en) | High-speed packet switching apparatus and data packet routing method | |
US6907002B2 (en) | Burst switching in a high capacity network | |
KR100454681B1 (en) | An Ethernet switching Apparatus and Method using Frame Multiplexing and Demultiplexing | |
US6967951B2 (en) | System for reordering sequenced based packets in a switching network | |
US5081622A (en) | Method and apparatus for distributed queue multiple access in a communication system | |
US8397233B2 (en) | Systems and methods for preserving the order of data | |
US5400326A (en) | Network bridge | |
US4566095A (en) | Time division multiplex switching network permitting communications between one or several calling parties and one or several called parties | |
US6684258B1 (en) | Stackable ring network including burst transmission of data packet | |
JP2000503828A (en) | Method and apparatus for switching data packets over a data network | |
JPH08505991A (en) | Access control ATM switch | |
JPH04233354A (en) | Wide band ring communication system and access control method | |
US5210750A (en) | Method and apparatus for distributed queue multiple access in a communication system | |
JP2001223704A (en) | Packet transfer device | |
JPH0720122B2 (en) | Packet communication system using ring type transmission line | |
CN110505161A (en) | A kind of message processing method and equipment | |
US20030012223A1 (en) | System and method for processing bandwidth allocation messages | |
EP0653863A2 (en) | Arbitration apparatus and method for controlling the access to a network | |
JPH0748742B2 (en) | Multi-slot access method | |
JPH02137541A (en) | Node device with token control function | |
EP0616450A2 (en) | Communication control device | |
Personick | Protocols for fiber-optic local area networks | |
Ofek | Integration of voice communication on a synchronous optical hypergraph | |
Vranesic et al. | TORNET: A local area network | |
JPH03159336A (en) | Token control system for node device of slotted ring type lan |