Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2872767B2 - Contention control method - Google Patents
[go: Go Back, main page]

JP2872767B2 - Contention control method - Google Patents

Contention control method

Info

Publication number
JP2872767B2
JP2872767B2 JP18064590A JP18064590A JP2872767B2 JP 2872767 B2 JP2872767 B2 JP 2872767B2 JP 18064590 A JP18064590 A JP 18064590A JP 18064590 A JP18064590 A JP 18064590A JP 2872767 B2 JP2872767 B2 JP 2872767B2
Authority
JP
Japan
Prior art keywords
data
transmission
packet
transmitting
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP18064590A
Other languages
Japanese (ja)
Other versions
JPH0470147A (en
Inventor
義裕 松本
悟 藤井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP18064590A priority Critical patent/JP2872767B2/en
Publication of JPH0470147A publication Critical patent/JPH0470147A/en
Application granted granted Critical
Publication of JP2872767B2 publication Critical patent/JP2872767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、共通の伝送路に接続された複数の送信手段
からデータを所定の形態で送信する装置、たとえばパケ
ット交換機に用いて好適な競合制御方式に関する。
The present invention relates to an apparatus for transmitting data in a predetermined form from a plurality of transmitting means connected to a common transmission path, for example, a contention suitable for use in a packet switch. Related to the control method.

(従来の技術) 周知のように、パケット交換機においては、端末等か
ら連続的に送信されるデータを所定の長さ毎に区切り、
パケット化して伝送する。このパケット交換機において
は、共通の伝送路としてのバスラインに、パケット化さ
れたデータをパケット毎に送信するパケット送信回路が
複数接続されて、それぞれの送信回路毎に独立にパケッ
トの送信を行なう。このようなパケット交換機におい
て、パケット送信回路から同時にパケット送信要求が送
出された際に、最も高い優先度を持つパケットデータを
送出したパケット送信回路が、バスラインへのパケット
の送信権を得る。このパケットデータの優先度は、各パ
ケットデータの先頭に付加された優先補正データによっ
て決められる。
(Prior Art) As is well known, in a packet switch, data continuously transmitted from a terminal or the like is divided into predetermined lengths,
Packetize and transmit. In this packet switch, a plurality of packet transmission circuits for transmitting packetized data for each packet are connected to a bus line as a common transmission path, and each of the transmission circuits independently transmits a packet. In such a packet switch, when a packet transmission request is simultaneously transmitted from the packet transmission circuit, the packet transmission circuit that has transmitted the packet data having the highest priority obtains the right to transmit the packet to the bus line. The priority of the packet data is determined by the priority correction data added to the head of each packet data.

この場合、パケットデータの送信に際して、各送信回
路は、バスライン上を伝送されるパケットデータを取り
込み、送出したパケットデータと1ビットずつ順に照合
してゆく。照合の結果、両者が一致していれば、競合が
ないか、または、競合している他の送信回路のパケット
の優先度が自送信回路のそれより低いものとして、その
パケットの送出を継続する。また、両者間に不一致が検
出されると、他送信回路から優先度の高いパケットが送
出されているものとして、不一致が検出された時点で自
送信回路からのパケットの送出を停止する。パケットの
送出を停止した場合、その優先補正データの優先度を上
昇させて、バスラインが空くと、優先度が上昇した優先
補正データを先頭に付加したパケットデータを再度送信
する。
In this case, when transmitting the packet data, each transmission circuit takes in the packet data transmitted on the bus line, and sequentially checks the transmitted packet data one bit at a time. As a result of the comparison, if they match, it is determined that there is no conflict, or that the priority of the packet of the other transmitting circuit in conflict is lower than that of the own transmitting circuit, and the transmission of the packet is continued. . Further, if a mismatch is detected between the two, it is assumed that a packet having a higher priority has been transmitted from the other transmission circuit, and transmission of the packet from its own transmission circuit is stopped at the time when the mismatch is detected. When the transmission of the packet is stopped, the priority of the priority correction data is increased, and when the bus line becomes free, the packet data with the priority correction data with the increased priority added to the head is transmitted again.

従来、このようなパケット交換機に適用される競合制
御方式として、たとえば特開昭57−87645号公報に開示
された方式がある。この方式は、最初の優先補正データ
をランダムに発生させ、各送信回路に対して均等な確率
で送信権を付与し、競合に負けて送信できなかった場合
に、重みづけを行って優先度を上昇させ、各送信回路に
対してほぼ均等な送信権獲得を行わせる構成であった。
Conventionally, as a contention control system applied to such a packet switch, there is, for example, a system disclosed in Japanese Patent Laid-Open No. 57-87645. In this method, the first priority correction data is randomly generated, the transmission right is given to each transmission circuit with an equal probability, and when the transmission is not possible due to the competition, weighting is performed and the priority is given. In this case, the transmission right is almost equally obtained for each transmission circuit.

(発明が解決しようとする課題) ところで、パケット化されるデータには、音声、画
像、ファクシミリ等、多様なメディアがあり、これらメ
ディアを取り扱う端末には、多種類のビットレートによ
る伝送形態がある。これらビットレートが異なる他種多
様なメディアをパケット化して共通の伝送路にて多重伝
送する場合、各パケット送信回路に入力するデータ量
は、取り扱うメディアによって大幅に異なってくる。
(Problems to be Solved by the Invention) By the way, data to be packetized includes various media such as voice, image, facsimile, and the like, and terminals handling these media have transmission forms at various bit rates. . When various kinds of media having different bit rates are packetized and multiplexed and transmitted through a common transmission path, the amount of data input to each packet transmission circuit greatly differs depending on the media handled.

しかしながら、従来の技術においては、競合の際に、
各回路ごとに平均的にパケットの送信権を得るようにな
っており、上述のようにパケット送信回路毎に入力され
るパケット量が大幅に異なる場合、それぞれのパケット
送信回路における送信待ち合わせ時間の特性が均一とな
らない欠点があった。このため、従来の技術において
は、入力されるデータ量が多いパケット送信回路におい
ては、パケットの送信回数が多い分競合が発生しやすい
うえに、競合の際に、入力データ量の少ない他のパケッ
ト送信回路と同様な確率で送信権を得るので、データ量
の少ないパケット送信回路と比べて送信待ち合わせ時間
が多くなり、後に続くデータほど、遅延時間が大きくな
るという問題が生じてくる。
However, in the prior art, when competing,
The right to transmit a packet is obtained on an average basis for each circuit, and when the amount of packets input to each packet transmission circuit is significantly different as described above, the characteristics of the transmission waiting time in each packet transmission circuit However, there was a disadvantage that it was not uniform. For this reason, in the conventional technology, in a packet transmission circuit having a large amount of input data, competition is likely to occur due to the large number of packet transmissions. Since the transmission right is obtained with the same probability as that of the transmission circuit, there is a problem that the transmission waiting time increases as compared with the packet transmission circuit having a small amount of data, and the subsequent data has a problem that the delay time increases.

本発明はこのような従来技術の欠点を解決し、多種多
様なビットレートのメディアをそれぞれパケット化して
共通の伝送路にて多重送信する際に、各パケット送信回
路に入力されるデータ量がメディア対応毎に異なる場合
であっても、各パケット送信回路における送信待ち合わ
せ時間の特性を均一とすることができ、したがって、入
力データ量が多い送信回路における遅延時間増加の防止
を図った競合制御方式を提供することを目的とする。
The present invention solves such disadvantages of the prior art, and when packetizing media of various bit rates and multiplexing them on a common transmission line, the amount of data input to each packet transmission circuit is reduced. Even when the response differs depending on the correspondence, it is possible to make the characteristics of the transmission waiting time in each packet transmission circuit uniform, and therefore, a contention control method for preventing an increase in the delay time in the transmission circuit having a large amount of input data. The purpose is to provide.

(課題を解決するための手段) 本発明は上述の課題を解決するために、共通の伝送路
に、入力するデータを所定の形態で送信するための送信
手段が複数接続されて、これら送信手段から伝送路に同
時にデータを送出したときに、その競合制御を行う競合
制御方式において、送信手段のそれぞれに、入力するデ
ータを所定の形態で順次蓄積する複数のバッファと、こ
れらバッファに入力するデータ量をカウントする計数手
段と、伝送路の伝送状態を監視しつつバッファに蓄積し
たデータを伝送路に送出させる制御を行う制御手段とを
備え、この制御手段は、自送信手段からのデータ送出が
他の送信手段からのデータ送出と競合する場合、送出し
たデータ量と計数手段のカウント結果とから、バッファ
に蓄積している競合時のデータ量が他の送信手段の蓄積
している競合時のデータ量より多いときに、競合してい
る他の送信手段よりも優先的にデータ送出を行なわせ、
他の送信手段の蓄積しているデータ量が自送信手段にて
蓄積しているデータ量より多い場合にデータ送出を停止
させることを特徴とする。
(Means for Solving the Problems) In order to solve the above-described problems, the present invention is configured such that a plurality of transmitting means for transmitting input data in a predetermined form are connected to a common transmission path, and these transmitting means A plurality of buffers for sequentially storing input data in a predetermined form in each of transmission means, and a data input to these buffers, in a contention control system for performing contention control when data is simultaneously transmitted from a transmission line to a transmission line. Counting means for counting the amount, and control means for controlling transmission of the data stored in the buffer to the transmission line while monitoring the transmission state of the transmission line. In the case of contention with the data transmission from another transmitting means, the data amount at the time of contention accumulated in the buffer is determined based on the transmitted data amount and the count result of the counting means. When the data amount at the time of contention accumulated by the means is larger than the other transmitting means competing, the data is transmitted with priority.
Data transmission is stopped when the amount of data stored in another transmitting unit is larger than the amount of data stored in the own transmitting unit.

(作用) 本発明の競合制御方式によれば、それぞれの送信手段
にて、入力するデータ量を計数手段によってカウントし
つつ、入力データを複数のバッファに順次所定の形態で
蓄積していく。一方、データを所定の形態にてバッファ
に蓄積すると、制御手段は、伝送路を監視しつつ、順
次、蓄積したバッファからデータを伝送路に送出させる
制御を行なう。この場合、他の送信手段から送出される
データと自送信手段のデータ送出が競合する際に、制御
手段は、計数手段のカウント結果と、それまでに送出し
たデータ量とから、競合時に蓄積しているデータ量が他
の送信手段より多い場合に、他の送信回路のデータ送信
よりも優先的にデータ送信を行わせ、自送信手段におい
て蓄積しているデータ量が他の送信手段より少ない場合
に競合するデータの送出を停止させる。競合に負けてデ
ータの送出を停止した場合、入力するデータが続けて有
る場合は、計数手段におけるカウント値が累進されて優
先権が上昇し、他の送信手段が所定の量のデータを送出
すると、優先権が上昇したデータを他の送信手段よりも
優先的に送出するように制御される。
(Operation) According to the competition control system of the present invention, input data is sequentially accumulated in a plurality of buffers in a predetermined form while counting the amount of data to be input by the respective transmission means by the counting means. On the other hand, when the data is stored in the buffer in a predetermined form, the control means performs control to sequentially transmit the data from the stored buffer to the transmission path while monitoring the transmission path. In this case, when the data transmitted from the other transmitting means and the data transmission of the own transmitting means compete with each other, the control means accumulates at the time of the competition from the count result of the counting means and the data amount transmitted so far. When the amount of data being transmitted is larger than that of other transmitting means, data transmission is performed with priority over the data transmission of other transmitting circuits, and when the amount of data stored in the own transmitting means is smaller than that of other transmitting means. To stop sending competing data. When the transmission of data is stopped after losing the competition, if there is data to be input continuously, the count value in the counting means is advanced and the priority rises, and when the other transmission means sends a predetermined amount of data, Is controlled so that the data with the increased priority is transmitted with higher priority than other transmission means.

(実施例) 次に添付図面を参照して本発明による競合制御方式の
一実施例を説明する。
(Embodiment) Next, an embodiment of a contention control system according to the present invention will be described with reference to the accompanying drawings.

この実施例における競合制御方式は、第1図に示すよ
うに、共通の伝送路であるバスラインBに、N個のパケ
ット送信回路1〜Nが接続されて、各パケット送信回路
1〜Nから送出されるパケットデータDpがバスラインB
上で多重伝送されるパケット多重化装置に適用される。
In the contention control system according to this embodiment, as shown in FIG. 1, N packet transmission circuits 1 to N are connected to a bus line B, which is a common transmission path, and each packet transmission circuit 1 to N The transmitted packet data Dp is the bus line B
The present invention is applied to a packet multiplexing apparatus that performs multiplex transmission.

パケット送信回路1〜Nは、それぞれ所定の速度を有
する同期信号Fcに同期して送出される入力データDiをそ
れぞれの前段回路(図示略)から入力して、この入力デ
ータDiを一定の長さのパケット毎に順次蓄積し、パケッ
ト化されたデータDpをバスラインBにそれぞれ送出す
る。これらパケット送信回路1〜Nは、バスラインB側
において、監視線Aおよび同期クロック線Cにそれぞれ
接続されて、同期クロック線Cに送出される同期クロッ
クCKに同期した監視データDaを読み込むことにより、バ
スラインB上の他の送信回路のデータ送出を監視しつ
つ、蓄積したパケットデータPdの送出を行う構成であ
る。
Each of the packet transmission circuits 1 to N receives input data Di sent out in synchronization with a synchronization signal Fc having a predetermined speed from a preceding circuit (not shown), and inputs the input data Di to a predetermined length. , And sequentially transmits the packetized data Dp to the bus line B. The packet transmission circuits 1 to N are connected to the monitoring line A and the synchronization clock line C on the bus line B side, and read the monitoring data Da synchronized with the synchronization clock CK transmitted to the synchronization clock line C. The transmission of the stored packet data Pd is performed while monitoring the transmission of data from other transmission circuits on the bus line B.

これらパケット送信回路1〜Nの内部構成をパケット
送信回路1を例に挙げて説明する。
The internal configuration of these packet transmission circuits 1 to N will be described using the packet transmission circuit 1 as an example.

このパケット送信回路1は、入力データDiが送信され
るデータ線100を入力セレクタ10に収容し、同期信号Fc
が送信される信号線110をパケットカウンタ20に収容し
ている。
The packet transmission circuit 1 accommodates a data line 100 to which input data Di is transmitted in an input selector 10 and outputs a synchronization signal Fc
Is accommodated in the packet counter 20.

このパケットカウンタ20は、同期信号Fcをカウントし
て1パケット分の同期信号Fcをカウントする毎に入力セ
レクタ10および後述する各部にパケットカウント信号H
をそれぞれ送出する計数回路である。入力セレクタ10
は、複数の出力線120を備え、これら出力線120にそれぞ
れパケットバッファ11〜1mが接続されて、パケットカウ
ント信号Hの入力毎に入力データDiの出力先を順次切り
換える選択回路である。
Each time the packet counter 20 counts the synchronization signal Fc and counts the synchronization signal Fc for one packet, the packet counter 20 outputs the packet count signal H to the input selector 10 and each unit described later.
Are respectively sent out. Input selector 10
Is a selection circuit having a plurality of output lines 120, to which packet buffers 11 to 1m are connected, respectively, and to sequentially switch the output destination of the input data Di every time the packet count signal H is input.

パケットバッファ11〜1mは、入力セレクタ10を介して
入力するデータDiをパケット形式で順次蓄積する記憶回
路であり、面切替制御部22の制御により、データの書き
込みおよび読み出しを行う。
The packet buffers 11 to 1m are storage circuits for sequentially storing data Di input via the input selector 10 in packet format, and perform data writing and reading under the control of the plane switching control unit 22.

面切替制御部22は、パケットカウンタ20を介して入力
する同期信号Fcに応動して書込信号Wを所定の空きパケ
ットバッファ11〜1mに送出し、パケットカウンタ20から
送出されるパケットカウント信号Hを受信する毎に、パ
ケットバッファ11〜1mを順次切り換えてデータDiをパケ
ット毎に順次蓄積させる制御回路である。また、この面
切替制御部22は、後述する競合制御部24からデータ送出
信号Soを入力すると、データDiを蓄積した所定のパケッ
トバッファ11〜1mに読出信号Rを送出し、さらに、その
バッファ11〜1mの出力線130を選択するように、出力セ
レクタ26に選択信号Gを送出する。この出力セレクタ26
は、各パケットバッファ11〜1mから読み出された出力デ
ータをオープンコレクタゲート28にシリアルに送出する
選択回路である。
In response to the synchronization signal Fc input via the packet counter 20, the plane switching control unit 22 sends the write signal W to predetermined empty packet buffers 11 to 1m, and outputs the packet count signal H sent from the packet counter 20. Is a control circuit for sequentially switching the packet buffers 11 to 1m each time the data Di is received and sequentially accumulating the data Di for each packet. Further, when the plane switching control unit 22 receives the data transmission signal So from the competition control unit 24, which will be described later, the plane switching control unit 22 transmits the read signal R to the predetermined packet buffers 11 to 1m storing the data Di. A selection signal G is sent to the output selector 26 so as to select the output line 130 of ~ 1 m. This output selector 26
Is a selection circuit for serially sending output data read from each of the packet buffers 11 to 1m to the open collector gate 28.

一方、このパケット送信回路1は、オープンコレクタ
ゲート28をオンとして、パケットデータDpをバスライン
Bに送出させる制御を行う制御回路であって、その送出
の際に競合制御を行う競合制御部24を備えている。
On the other hand, the packet transmission circuit 1 is a control circuit for performing control for turning on the open collector gate 28 and transmitting the packet data Dp to the bus line B, and includes a contention control unit 24 for performing contention control at the time of the transmission. Have.

この競合制御部24は、パケットカウンタ20から送出さ
れたパケットカウント信号Hと、面切替制御部22に送出
したデータ送出信号Soとから自送信回路に蓄積されてい
るパケット蓄積量を演算する機能を有している。この実
施例において、このパケット蓄積量が競合の際にパケッ
トデータDp送出の優先度を決定する。この競合制御部24
は、パケットデータDpの送出に際して、演算したパケッ
ト蓄積量と回路番号とからなる監視データDaをオープン
コレクタゲート30を介して監視線Aに送出して、同時に
監視線Aを読出線140を介して監視する。この読み出し
線140は、オープンコレクタゲート30の出力線30aにワイ
ヤードOR接続されており、競合制御部24には、送出した
監視データDaと監視線Aに送出されている他の回路から
の監視データDaとの論理和(OR)がとられて入力され
る。
The contention control unit 24 has a function of calculating the packet storage amount stored in its own transmission circuit from the packet count signal H transmitted from the packet counter 20 and the data transmission signal So transmitted to the plane switching control unit 22. Have. In this embodiment, the priority of packet data Dp transmission is determined when the amount of accumulated packets conflicts. This conflict control unit 24
Transmits the monitoring data Da including the calculated packet storage amount and the circuit number to the monitoring line A via the open collector gate 30 when transmitting the packet data Dp, and simultaneously transmits the monitoring line A via the reading line 140 Monitor. The readout line 140 is wired OR-connected to the output line 30a of the open collector gate 30, and the conflict control unit 24 has the sent out monitoring data Da and the monitoring data from another circuit sent out on the monitoring line A. Logical OR (OR) with Da is input.

競合制御部24は、この読出線140から読み込んだ監視
データを、送出した監視データDaと1ビット毎に照合を
行う機能に有している。照合の結果送出した監視データ
Daとすべてのビットが一致した場合、面切替制御回路22
にデータ送出信号Soを送出して、かつオープンコレクタ
ゲート28の入力端子を、“High"レベルとしてパケット
データPdを送出させる。監視データDaの不一致を検出し
た場合は、監視データDaの送出を停止して、オープンコ
レクタゲート28の入力端子を“Low"レベルに保持して、
所定の時間後、たとえばパケットカウント信号Hを入力
後に、再び監視データDaを送出させる。
The conflict control unit 24 has a function of collating the monitoring data read from the read line 140 with the transmitted monitoring data Da for each bit. Monitoring data sent as a result of verification
If Da and all the bits match, the surface switching control circuit 22
And the input terminal of the open collector gate 28 is set to the “High” level to transmit the packet data Pd. When the mismatch of the monitoring data Da is detected, the sending of the monitoring data Da is stopped, and the input terminal of the open collector gate 28 is held at the “Low” level.
After a predetermined time, for example, after inputting the packet count signal H, the monitoring data Da is transmitted again.

この実施例において、競合制御部24から監視データDa
として送出されるパケット蓄積量は、パケットバッファ
11〜1mの数に対応する2進数で表わされる桁数を有し、
第2図に示すように、その上位桁から順次送出される。
同様に、回路番号はパケット送信回路1〜Nの数に対応
する2進数で表され、パケット蓄積量に続いて上位桁か
ら送出される。
In this embodiment, the monitoring data Da
The packet storage amount sent as
Has a number of digits represented by a binary number corresponding to a number of 11 to 1 m,
As shown in FIG. 2, the data is sequentially transmitted from the upper digit.
Similarly, the circuit number is represented by a binary number corresponding to the number of the packet transmission circuits 1 to N, and is transmitted from the upper digit following the packet storage amount.

回路番号レジスタ32は、この回路番号を記憶してお
り、監視データDa出力時に、パケット蓄積量に続いて競
合制御部24から読み出され、送出される。パケット蓄積
量が同じ場合には、この回路番号の多い方が優先的にデ
ータを送出することになる。
The circuit number register 32 stores this circuit number, and is read from the contention control unit 24 following the packet storage amount and sent out when the monitoring data Da is output. If the packet storage amounts are the same, the one with the larger circuit number transmits data preferentially.

次に、本実施例における競合制御動作を第1図および
第2図を参照して説明する。
Next, the contention control operation in this embodiment will be described with reference to FIGS.

それぞれのパケット送信回路1〜Nには、前段回路か
らデータ発生毎に入力データDiがシリアルに入力され
る。この入力データDiは、まず、入力セレクタ10を介し
てパケットバッファ11に送出される。このとき、面切替
制御部22は、パケットカウンタ20を介して入力する同期
信号Fcに応動してパケットバッファ11に書込信号Wを送
出する。これにより、パケットバッファ11は、入力デー
タDiを所定のパケット形式で蓄積する。一方、カウンタ
20は、同期信号Fcを1ビット毎にカウントして、1パケ
ット分の同期信号Fcをカウントすると、パケットカウン
ト信号Hをセレクタ10、面切替制御部22および競合制御
部24へ送出する。
To each of the packet transmission circuits 1 to N, input data Di is serially input from the preceding stage circuit every time data is generated. The input data Di is first transmitted to the packet buffer 11 via the input selector 10. At this time, the plane switching control unit 22 sends out the write signal W to the packet buffer 11 in response to the synchronization signal Fc input via the packet counter 20. Thus, the packet buffer 11 stores the input data Di in a predetermined packet format. Meanwhile, the counter
20 counts the synchronization signal Fc for each bit, and when the synchronization signal Fc for one packet is counted, sends the packet count signal H to the selector 10, the plane switching control unit 22, and the competition control unit 24.

パケットカウント信号Hを入力したセレクタ10は、入
力データDiの送出先をパケットバッファ11からパケット
バッファ12へ切り替える。同時に、パケットカウント信
号Hを入力した面切替制御部22は、その後の同期信号Fc
に同期して書込信号Wをパケットバッファ12に送出す
る。これにより、パケットバッファ12にパケット形式で
データが蓄積される。以下同様に、パケットカウンタ20
にて同期信号Fcをカウントして、1パケット毎にパケッ
トカウント信号Hを各部に送出すると、パケットバッフ
ァ13,14...と順に入力データDiが蓄積されていく。
The selector 10 that has received the packet count signal H switches the destination of the input data Di from the packet buffer 11 to the packet buffer 12. At the same time, the plane switching control unit 22 that has received the packet count signal H outputs the synchronization signal Fc
The write signal W is sent to the packet buffer 12 in synchronization with. As a result, data is accumulated in the packet buffer 12 in a packet format. Similarly, the packet counter 20
When the synchronization signal Fc is counted in step (1) and the packet count signal H is transmitted to each unit for each packet, the input data Di is accumulated in the order of the packet buffers 13, 14,.

一方、パケットカウント信号Hを入力した競合制御回
路24は、パケットカウント信号Hの入力毎に監視データ
Daのパケット蓄積量を歩進して、この蓄積量データおよ
び回路番号を監視データDaとして監視線Aに送出する。
On the other hand, the contention control circuit 24 to which the packet count signal H has been input outputs the monitoring data every time the packet count signal H is input.
The packet accumulation amount of Da is incremented, and the accumulation amount data and the circuit number are transmitted to the monitoring line A as the monitoring data Da.

競合制御部24は、たとえば、4ビットでパケット蓄積
量を表す場合、“0000"、“0001"....と歩進する。この
信号を上位桁から順に同期クロックCKの入力毎に1ビッ
トづつ送出し、同時に読出線140から同期クロックCKに
同期して監視線Aに送出されている監視データDaを取り
入れる。
When the packet storage amount is represented by, for example, 4 bits, the contention control unit 24 advances to “0000”, “0001”,.... This signal is transmitted one bit at a time for each input of the synchronous clock CK in order from the upper digit, and at the same time, the monitor data Da transmitted from the readout line 140 to the monitor line A in synchronization with the synchronous clock CK is taken in.

たとえば、第2図に示すように、自回路のパケット蓄
積量が11パケットの蓄積量の場合、“1011"という信号
を監視線Aに同期クロックCKに同期して上位桁から順次
送出する。このとき、10パケット分の蓄積量を有する他
の回路が同時に監視データを送出した場合、その回路
は、“1010"の信号を送出しており、読出線140からは、
これらの論理和“1011"が上位桁から順に得られる。他
の回路でも、同様に“1011"を入力し、他の回路は、5
ビット目以降の回路番号の送信を停止する。
For example, as shown in FIG. 2, when the packet storage amount of the own circuit is the storage amount of 11 packets, a signal "1011" is sequentially transmitted to the monitoring line A from the upper digit in synchronization with the synchronization clock CK. At this time, if another circuit having a storage amount of 10 packets simultaneously sends monitoring data, that circuit sends out a signal of “1010”, and from the read line 140,
The logical sum "1011" is obtained in order from the upper digit. For other circuits, input “1011” in the same manner.
The transmission of the circuit numbers after the bit is stopped.

このように、競合が発生する場合、その時点における
パケット蓄積量の多い回路が優先的にデータの送出を行
う。また、他の回路からデータが送出されない場合、も
しくは、パケット量が等しい場合も、ここまでのデータ
が一致するので、続けて回路番号を送出し、パケット量
が等しい場合は、上記と同様に各ビット毎に比較して、
回路番号が大きい方が優先的に、データを送出すること
になる。
As described above, when a conflict occurs, a circuit having a large amount of stored packets at that time preferentially transmits data. Also, when data is not transmitted from another circuit, or when the amount of packets is equal, since the data so far matches, the circuit number is successively transmitted. Bit by bit,
Data with a higher circuit number is transmitted with priority.

すべてのビットが一致すると、競合制御部24は、面切
替制御部22へデータ送出信号Soを送出し、オープンコレ
クタゲート28の入力端子を“High"レベルとする。これ
により、面切替制御部22は、パケットバッファ11に、読
出信号Rを送出して、出力セレクタ26にパケットバッフ
ァ11の出力線を選択する選択信号Gを送出する。この結
果、パケットバッファ11からパケットデータDpがシリア
ルに読み出されて、バスラインBに送出される。競合制
御部24は、面切替制御部22にデータ送出信号Soを送出し
た時点でパケット蓄積量を減算する。
When all the bits match, the conflict control unit 24 sends the data sending signal So to the plane switching control unit 22, and sets the input terminal of the open collector gate 28 to "High" level. As a result, the plane switching control unit 22 sends out the read signal R to the packet buffer 11 and sends out the selection signal G for selecting the output line of the packet buffer 11 to the output selector 26. As a result, the packet data Dp is read out serially from the packet buffer 11 and sent out to the bus line B. The contention control unit 24 subtracts the packet storage amount when the data transmission signal So is transmitted to the plane switching control unit 22.

競合制御部24は、監視データDaを送出したときに、デ
ータの不一致を検出すると、監視データDaの送出を停止
して、他の回路のパケットデータDpの送出期間を待っ
て、再び監視データDaを送出する。この間に、入力デー
タDiが蓄積されてパケットカウント信号Hが競合制御部
24に送出されると、パケット蓄積量が歩進されて、優先
度が高くなる。
When detecting a data mismatch when sending the monitoring data Da, the conflict control unit 24 stops sending the monitoring data Da, waits for the sending period of the packet data Dp of the other circuit, and again sends the monitoring data Da. Is sent. During this time, the input data Di is accumulated and the packet count signal H is changed to the contention control unit.
When the packet is transmitted to 24, the packet storage amount is increased, and the priority becomes higher.

このように、この実施例における競合制御方式におい
ては、複数のパケットバッファ11〜1mを各パケット送信
回路1〜Nに備えて、これらパケットバッファ11〜1mに
蓄積されたパケット量に対応して競合の際の優先度を決
定しているので、入力データDiの量が多い場合に、他の
データ量の少ない回路と競合しても、その優先度が高
く、すべての回路における待ち時間特性を均一に設定す
ることができる。また、入力データが多い場合に生じる
遅延時間を減少させることができる。
As described above, in the contention control method according to the present embodiment, a plurality of packet buffers 11 to 1m are provided in each of the packet transmission circuits 1 to N, and contention is performed in accordance with the amount of packets stored in these packet buffers 11 to 1m. When the input data Di is large, even if it competes with other circuits with a small amount of data, the priority is high and the latency characteristics of all circuits are uniform. Can be set to Further, it is possible to reduce a delay time generated when there is a large amount of input data.

なお、この実施例において、パケット蓄積量および回
路番号をそれぞれ、4桁の2進数にて表したが、パケッ
ト蓄積量は、パケットバッファの個数に対応させて決定
し、回路番号は、パケット送信回路の個数に応じて決定
するとよい。また、パケット送信回路は、各メディア毎
に設け、パケットバッファの個数は、たとえば、入力デ
ータの量の多いパケット送信回路に合わせて、適宜決定
するとよい。
In this embodiment, the packet storage amount and the circuit number are each represented by a 4-digit binary number. However, the packet storage amount is determined according to the number of packet buffers, and the circuit number is determined by the packet transmission circuit. It may be determined according to the number of. Also, a packet transmission circuit may be provided for each medium, and the number of packet buffers may be determined as appropriate according to, for example, a packet transmission circuit having a large amount of input data.

(発明の効果) 以上説明したように、この発明による競合制御方式に
よれば、共通の伝送路に接続された複数の送信手段のそ
れぞれに、複数のバッファと、これらバッファに入力す
るデータ量をカウントする計数手段と、前記伝送路の伝
送状態を監視しつつ前記バッファに蓄積したデータを伝
送路に送出させる制御を行う制御手段とを設け、この制
御手段によって自送信手段からのデータ送出が他の送信
手段からのデータ送出と競合する場合、データ送出量と
計数手段のカウント結果とから、バッファに蓄積されて
いる競合時のデータ量が他の送信手段の蓄積している競
合時のデータ量より多いときに、競合している他の送信
手段よりも優先的にデータ送出を行なわせ、他の送信手
段の蓄積しているデータ量が自送信手段に蓄積している
データ量より多い場合にデータ送出を停止させるように
構成したので、すべての送信手段における待ち時間特性
を均一に設定することができる。また、入力データが多
い場合に生じる遅延時間を減少させることができる。
(Effect of the Invention) As described above, according to the contention control method according to the present invention, a plurality of buffers and a data amount to be input to these buffers are assigned to each of a plurality of transmission means connected to a common transmission path. Counting means for counting, and control means for controlling transmission of the data stored in the buffer to the transmission line while monitoring the transmission state of the transmission line are provided. When there is contention with the data transmission from the transmitting means, the data amount at the time of contention stored in the buffer is calculated from the data transmission amount and the count result of the counting means. When the number is larger, data transmission is performed with priority over other competing transmission means, and the amount of data stored in the other transmission means is stored in the own transmission means. Since the data transmission is stopped when the data amount is larger than the data amount, the waiting time characteristics in all the transmission means can be set uniformly. Further, it is possible to reduce a delay time generated when there is a large amount of input data.

【図面の簡単な説明】 第1図は、本発明による競合制御方式の一実施例を示す
ブロック図、 第2図は、同実施例における競合制御の動作を説明する
ためのタイムチャートである。 主要部分の符号の説明 1〜N…パケット送信回路 10…入力セレクタ 11〜1m…パケットバッファ 20…パケットカウンタ 22…面切替制御部 24…競合制御部 26…出力セレクタ 28,30…オープンコレクタゲート 32…回路番号レジスタ A…監視線 B…バスライン C…同期クロック線
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a conflict control system according to the present invention, and FIG. 2 is a time chart for explaining the operation of the conflict control in the embodiment. Description of Signs of Main Parts 1 to N Packet Transmitter 10 Input Selector 11 to 1m Packet Buffer 20 Packet Counter 22 Surface Switching Controller 24 Competition Controller 26 Output Selector 28,30 Open Collector Gate 32 ... Circuit number register A ... Monitor line B ... Bus line C ... Synchronous clock line

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】共通の伝送路に、入力するデータを所定の
形態にて送信するための送信手段が複数接続されて、こ
れら送信手段から前記伝送路にデータを送出するとき
に、その競合制御を行う競合制御方式において、 前記送信手段のそれぞれに、入力するデータを所定の形
態で順次蓄積する複数のバッファと、これらバッファに
入力するデータのデータ量をカウントする計数手段と、
前記伝送路の伝送状態を監視しつつ前記バッファに蓄積
したデータを伝送路に送出させる制御を行う制御手段と
を備え、 この制御手段は、前記データ量を2進数化した自送信手
段のデータ量情報を監視線に送出し、競合している他送
信手段のデータ量情報と前記自送信手段のデータ量情報
との論理和を前記監視線から取り込んで前記自送信手段
のデータ量情報と上位桁から順次比較し、すべての桁で
一致したとき競合いている他送信手段よりも優先的にデ
ータ送出を行なわせ、一致しない桁がでたとき直ちに前
記自送信手段のデータ量情報の送出を停止すると共にデ
ータ送出を停止させることを特徴とする競合制御方式。
A plurality of transmission means for transmitting input data in a predetermined form are connected to a common transmission path, and when transmitting data from these transmission means to the transmission path, contention control is performed. In the competition control method, a plurality of buffers for sequentially accumulating input data in a predetermined form in each of the transmitting means, and a counting means for counting a data amount of data input to these buffers,
Control means for controlling transmission of data accumulated in the buffer to the transmission line while monitoring the transmission state of the transmission line, the control means comprising: Information is sent to the monitoring line, and the logical sum of the competing data amount information of the other transmitting means and the data amount information of the own transmitting means is taken in from the monitoring line, and the data amount information of the own transmitting means and the upper digit are taken. Are sequentially compared with each other, and when all digits match, data transmission is performed with priority over other competing transmission means. When a non-matching digit appears, transmission of the data amount information of the own transmission means is stopped immediately. And the data transmission is stopped.
【請求項2】共通の伝送路に、入力するデータを所定の
形態にて送信するための送信手段が複数接続されて、こ
れら送信手段から前記伝送路にデータを送出するとき
に、その競合制御を行う競合制御方式において、 前記送信手段のそれぞれに、入力するデータを所定の形
態で順次蓄積する複数のバッファと、これらバッファに
入力するデータのデータ量をカウントする計数手段と、
前記伝送路の伝送状態を監視しつつ前記バッファに蓄積
したデータを伝送路に送出させる制御を行う制御手段と
を備え、 この制御手段は、前記データ量を2進数化した自送信手
段のデータ量情報およびあらかじめ与えられた回路番号
を2進数化した自送信手段の回路番号情報を監視線に送
出し、競合している他送信手段のデータ量情報および回
路番号情報と前記自送信手段のデータ量情報および回路
番号情報との論理和を前記監視線から取り込んで前記自
送信手段のデータ量情報および回路番号情報と上位桁か
ら順次比較し、すべての桁で一致したとき競合している
他送信手段よりも優先的にデータ送出を行なわせ、一致
しない桁がでたとき直ちに前記自送信手段のデータ量情
報および回路番号情報の送出を停止すると共にデータ送
出を停止させることを特徴とする競合制御方式。
2. A plurality of transmission means for transmitting input data in a predetermined form to a common transmission path, and when transmitting data from these transmission means to the transmission path, the contention control is performed. In the competition control method, a plurality of buffers for sequentially accumulating input data in a predetermined form in each of the transmitting means, and a counting means for counting a data amount of data input to these buffers,
Control means for controlling transmission of data accumulated in the buffer to the transmission line while monitoring the transmission state of the transmission line, the control means comprising: The information and the circuit number information of the own transmitting means obtained by converting a predetermined circuit number into a binary number are sent to the monitoring line, and the data amount information and the circuit number information of the competing other transmitting means and the data amount of the own transmitting means are transmitted. The logical sum of the information and the circuit number information is fetched from the monitoring line, and the data amount information and the circuit number information of the own transmitting means are sequentially compared with the higher order digits. Data transmission with higher priority than before, and immediately stops sending data amount information and circuit number information of the own transmission means and stops data transmission when a digit that does not match is found. A conflict control method characterized by causing a conflict.
JP18064590A 1990-07-10 1990-07-10 Contention control method Expired - Lifetime JP2872767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18064590A JP2872767B2 (en) 1990-07-10 1990-07-10 Contention control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18064590A JP2872767B2 (en) 1990-07-10 1990-07-10 Contention control method

Publications (2)

Publication Number Publication Date
JPH0470147A JPH0470147A (en) 1992-03-05
JP2872767B2 true JP2872767B2 (en) 1999-03-24

Family

ID=16086815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18064590A Expired - Lifetime JP2872767B2 (en) 1990-07-10 1990-07-10 Contention control method

Country Status (1)

Country Link
JP (1) JP2872767B2 (en)

Also Published As

Publication number Publication date
JPH0470147A (en) 1992-03-05

Similar Documents

Publication Publication Date Title
JP3458469B2 (en) Signal receiving apparatus and communication method
CA2134017C (en) Network bridge
US5940597A (en) Method and apparatus for periodically updating entries in a content addressable memory
US7031330B1 (en) Very wide memory TDM switching system
JPH0748745B2 (en) Packet transfer method between adapters, conflict resolution device, and token ring device
JPH0225319B2 (en)
JPH06177907A (en) Cell transmission method and circuit device
JPH04369942A (en) Data communication system
JPH02272925A (en) Method and circuit for synchronizing frame phase by pointer conversion
US5124983A (en) Arbitration method and device for transmit mode access to the transmission medium of a distributed switching network
JP2872767B2 (en) Contention control method
KR20090103696A (en) Memory control apparatus, memory control method and information processing system
CN1296687A (en) Arbitration scheme for serial interface
JPH0744567B2 (en) Communication interface device
CA2039480C (en) Digital data packet switching module for allocating empty packets to a crosspoint switch
US5138612A (en) Time-division multiplex transmission system
JP4086676B2 (en) Data transfer device
JP2580412B2 (en) Multiple STM / ATM conversion method
JP2584868B2 (en) Cell switching equipment
US11528164B2 (en) Method for operating a network subscriber and network subscriber
JPS6272251A (en) Loop network
JP2004254188A (en) Communication network and transmission control method
JPH05199242A (en) Data communication equipment
JP3456009B2 (en) Communication method
JP2937750B2 (en) Pointer insertion device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090108

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100108

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100108

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110108

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110108

Year of fee payment: 12