JPH09149082A - Packet string mixing generating method and device - Google Patents
Packet string mixing generating method and deviceInfo
- Publication number
- JPH09149082A JPH09149082A JP30626595A JP30626595A JPH09149082A JP H09149082 A JPH09149082 A JP H09149082A JP 30626595 A JP30626595 A JP 30626595A JP 30626595 A JP30626595 A JP 30626595A JP H09149082 A JPH09149082 A JP H09149082A
- Authority
- JP
- Japan
- Prior art keywords
- packet
- generation
- packet generation
- generated
- packets
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 14
- 239000000203 mixture Substances 0.000 claims description 16
- 230000003213 activating effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 25
- 238000012360 testing method Methods 0.000 description 10
- 238000007796 conventional method Methods 0.000 description 8
- 125000004122 cyclic group Chemical group 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000011158 quantitative evaluation Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、パケット列混合発
生方法及び装置に係り、特に、発生頻度の異なるパケッ
ト列を混合して発生させる場合に用いるパケット列混合
発生方法及び装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a packet sequence mixture generation method and device, and more particularly to a packet sequence mixture generation method and device used for generating packet sequences having different generation frequencies by mixing them.
【0002】詳しくは、各々のパケット列からのパケッ
ト発生数の時間平均を所定の値に保ちながら、互いに異
なる複数のパケット列を混合してパケットを発生させる
ためのパケット列混合発生方法及び装置に関する。特
に、パケットを受け取り、ペイロード(パケットの積載
情報部分)の内容を時間的に周期的なフレーム内の特定
の時間領域(特定のタイムスロット)に送り出す変換シ
ステム(パケット分解装置)の機能検証を行うためのパ
ケットを発生させる目的で用いるパケット列混合発生方
法及び装置に関する。More specifically, the present invention relates to a packet sequence mixture generation method and apparatus for generating a packet by mixing a plurality of different packet sequences while maintaining a time average of the number of packets generated from each packet sequence at a predetermined value. . In particular, the functional verification of the conversion system (packet disassembly device) that receives a packet and sends the contents of the payload (packet information portion of the packet) to a specific time region (specific time slot) in a temporally periodic frame is performed. To a packet string mixture generation method and apparatus used for the purpose of generating a packet for use.
【0003】[0003]
【従来の技術】複数のパケット列を異なる発生頻度で混
合して、パケットを発生させる場合、図24に示すよう
に、従来の技術では、予め複数のパケットを発生させる
順に配列し、予めメモリ2に格納しておき、これをアド
レスカウンタ1の指示により巡回的に読み出すことによ
り生成している。2. Description of the Related Art When a plurality of packet sequences are mixed at different occurrence frequencies to generate packets, in the conventional technique, as shown in FIG. It is generated by cyclically reading it according to the instruction of the address counter 1.
【0004】従来のパケット配列の準備の方法を説明す
る。一般にパケットはヘッダ部分とペイロード部分から
構成され、ペイロード部分の内容がフレームに移送され
る。例えば、1パケットの中のペイロード部分の内容が
フレームに移送されるとき、1パケットの中のペイロー
ドの長さが47バイトであり、1フレームの中の1タイ
ムスロットにパケットの1バイトの内容を移送する機能
を検証するためには、47フレーム毎に1パケットを与
えるようにする必要がある。A conventional method for preparing a packet arrangement will be described. Generally, a packet is composed of a header part and a payload part, and the contents of the payload part are transferred to a frame. For example, when the content of the payload portion of one packet is transferred to a frame, the length of the payload of one packet is 47 bytes, and the content of one byte of the packet is stored in one time slot of one frame. In order to verify the transfer function, it is necessary to give one packet every 47 frames.
【0005】パケットを分散させるためには、配列の中
の必要箇所に予め計算した所定数の既定パケット(空き
セル)を配置しておく方法がとられる。空きセルは、そ
れ自体はパケット分解装置で処理されないパケットであ
る。空きセルが到着している時間には、パケット分解装
置の中では空きセルでないそれまでに到着したパケット
に対する処理が進むので、空きセルを配列に含ませるこ
とは空きセルの前後のパケット同士を単純に時間的に引
き離す効果がある。In order to disperse the packets, a method of arranging a predetermined number of predetermined packets (empty cells) calculated in advance at necessary locations in the array is adopted. An empty cell is a packet that is not itself processed by the packet decomposer. During the time when an empty cell arrives, processing for packets that have arrived up to that time that is not an empty cell progresses in the packet decomposing device, so including an empty cell in the array simplifies the packets before and after the empty cell. Has the effect of pulling apart in time.
【0006】例えば、47フレームの時間に1パケット
の試験パケットを与えるためには、47フレームの時間
をパケットの個数で換算して、その個数の空きセルの中
の1個を試験パケットに置き替えた配列を用意すればよ
い。ある数のフレームの時間をパケットの個数に換算す
るには、説明の簡単化のために、フレームのタイムスロ
ット1個の時間とパケットの1バイトの時間が等しいと
して、その数のフレームのタイムスロット数をパケット
1個のバイト数で除算すれば、その商がパケットの個数
に換算したフレームの時間となり、その個数のパケット
からなる配列を用意し、その配列から巡回的にパケット
を発生させればよい。For example, in order to give a test packet of 1 packet in a time of 47 frames, the time of 47 frames is converted into the number of packets, and one of the empty cells of that number is replaced with a test packet. You can prepare an array. To convert the time of a certain number of frames into the number of packets, it is assumed that the time of one time slot of a frame is equal to the time of one byte of a packet for the sake of simplification of explanation. If the number is divided by the number of bytes in one packet, the quotient becomes the time of the frame converted into the number of packets, and if an array consisting of that number of packets is prepared and packets are cyclically generated from that array, Good.
【0007】ところが、この商が整数にならない場合に
は、その個数で巡回させるパケットの配列を構成するこ
とはできないので、パケットを巡回させる基準周期をフ
レーム数で表したもの(上記の例では47フレーム)を
T,1フレームのタイムスロット数をLF,パケットの
バイト数をLPとしてT×LFとLPの最小公倍数LC
をLPで除算した商を、パケット個数として巡回させる
パケット配列を構成することが必要となる。However, if this quotient is not an integer, it is not possible to construct an array of packets to be circulated by that number, so the reference cycle for circling the packets is represented by the number of frames (47 in the above example). Frame) is T, the number of time slots in one frame is LF, and the number of bytes in a packet is LP, and the least common multiple LC of T × LF and LP
It is necessary to construct a packet array that circulates the quotient obtained by dividing by as the number of packets.
【0008】以降、従来の技術の定量的評価のために、
現在広く用いられている規格を例にとると、LFは24
30、LPは53であり、47フレームに1パケットを
発生させるための巡回的なパケット配列を検討すると、
LC=LCM((47×2430),53)は、605
3130となり、結局、巡回させる配列のパケットの個
数はLC/53=114210となる。空きセルをこの
個数だけ配列し、その中の平均した時間間隔で53個の
空きセルを試験パケットに置き換えて、巡回させること
になる。なお、置き換えられた試験パケットの間隔は、
厳密に等間隔にはならないが、これによって、被試験装
置内部の一時記憶部に試験パケットが蓄えられることに
よる一時記憶部の内容の増え方と、一時記憶部からフレ
ームの内容が取り出されることによる内容の減り方と
が、どんなに長時間経過しても完全に釣り合うようにな
る。Thereafter, for the quantitative evaluation of the conventional technique,
Taking the standard widely used today as an example, LF is 24
30, LP is 53. Considering a cyclic packet arrangement for generating one packet in 47 frames,
LC = LCM ((47 × 2430), 53) is 605
3130, and eventually the number of packets in the array to be circulated becomes LC / 53 = 114210. This number of empty cells is arranged, and 53 empty cells are replaced with test packets at an averaged time interval, and the cells are circulated. The interval of the replaced test packets is
The intervals are not strictly equal, but this causes the contents of the temporary storage unit to increase due to the storage of test packets in the temporary storage unit inside the device under test, and the contents of the frame being extracted from the temporary storage unit. The content will be perfectly balanced no matter how long the time passes.
【0009】ここに説明したT,LF,及びLPの値で
は47(=T)フレームに一般にN個の試験パケットを
生成する場合に巡回させるパケット配列としては、11
4210個の空きセルを配列し、その中の平均した時間
間隔でN×53個の空きセルを試験パケットに置き換え
たものを格納しておくことになる。With the values of T, LF, and LP described here, a packet array to be circulated when N test packets are generally generated in 47 (= T) frames is 11
4210 vacant cells are arranged, and N × 53 vacant cells are replaced with test packets at an averaged time interval, which is stored.
【0010】また、複数のヘッダを持つパケットを多重
的に処理する機能を検証するために巡回させるパケット
配列としては、まず、ある一つのヘッダを持つパケット
に対して47フレームあたりN1パケット生成するため
に、114210個の空きセルを配列し、その中の平均
した時間間隔でN1×53個の空きセルを試験パケット
に置き換える。次に、別の1つのヘッダを持つパケット
に対して47フレームあたりN2パケット生成するため
に、この置き換えの終わった配列に対してその中の平均
した時間間隔でN2×53個の空きセルを試験パケット
に置き換える。これを、必要なだけ繰り返して作成した
パケット配列を格納しておき、この配列から巡回的にパ
ケットを発生させることになる。Further, as a packet array to be circulated in order to verify a function of processing a packet having a plurality of headers in multiple, first, N1 packets are generated per 47 frames for a packet having a certain header. Then, 114210 empty cells are arrayed, and N1 × 53 empty cells are replaced with test packets at an averaged time interval. Next, in order to generate N2 packets per 47 frames for a packet having another one header, N2 × 53 empty cells are tested at an average time interval in the array for which replacement has been completed. Replace with packet. This is repeated as many times as necessary to store a packet array, and packets are cyclically generated from this array.
【0011】パケット配列を巡回させる周期T(フレー
ム単位)が単一の値である場合は、上記のような方法で
巡回させるパケットの配列を作成することができ、従
来、これに基づいてパケットを発生させている。パケッ
ト配列を巡回させる周期T(フレーム単位)が複数ある
パケット列の間で必ずしも互いに等しくない場合があ
る。この場合には、例えば、あるパケット列Aは47フ
レームに1個のパケット、別のパケット列Bは375フ
レームに8個のパケットを発生させようとし、この両者
を混合してパケットを発生させる場合、従来の方法で
は、それぞれのT、つまり前者の47、後者の375の
最小公倍数を以て、新たなフレームの巡回周期とし、そ
れぞれのパケット列のパケット数を新たな巡回周期に見
合う比率で重複させて、巡回させるパケット配列を作成
することになる。When the cycle T (frame unit) of circulating the packet array has a single value, the array of packets to be circulated can be created by the above method, and the packet is conventionally based on this. Has been generated. In some cases, a plurality of packet sequences having a cycle T (frame unit) for circulating the packet array are not equal to each other. In this case, for example, one packet sequence A tries to generate one packet in 47 frames, another packet sequence B attempts to generate eight packets in 375 frames, and both packets are generated to generate packets. In the conventional method, each T, that is, the least common multiple of 47 of the former and 375 of the latter is set as a cyclic period of a new frame, and the number of packets of each packet sequence is overlapped at a ratio commensurate with the new cyclic period. , A packet array to be circulated will be created.
【0012】つまり、この例では、新たなフレームの巡
回周期は、47×375=17625フレームであっ
て、この期間にパケット列Aのパケットは、1×375
=375個のパケット、パケット列Bのパケットは8×
47=376個のパケットの頻度で発生させるように、
パケット配列を作成しておくことになる。That is, in this example, the cycle period of the new frame is 47 × 375 = 17625 frames, and the packets of the packet sequence A during this period are 1 × 375.
= 375 packets, the packet in packet sequence B is 8 ×
47 = 376 packets so that they occur at a frequency of
You will have to create a packet array.
【0013】巡回周期である17625フレームの整数
倍がパケットの長さの整数倍に一致するようにするため
に、先に説明した場合の評価条件、LFは2430、L
Pは53で、パケット配列の規模、即ち、必要な記憶装
置の容量を計算すると、LC=LCM((17625×
2430),53)は、2266×(106 )程度とな
り、42×(106 )個程度のパケットを格納する記憶
装置が必要となる。In order to make the integer multiple of 17625 frames, which is the cyclic period, match the integer multiple of the packet length, the evaluation condition in the case described above, LF is 2430, L
When P is 53 and the scale of the packet array, that is, the required storage device capacity is calculated, LC = LCM ((17625 ×
2430) and 53) are about 2266 × (10 6 ), and a storage device for storing about 42 × (10 6 ) packets is required.
【0014】[0014]
【発明が解決しようとする課題】しかしながら、パケッ
ト配列は一般的に記憶装置に格納されるが、その際に必
要となる記憶装置の容量は、発生させるパケットの巡回
周期Tiの最小公倍数に比例する性質があるため、異な
る巡回周期のパケット列を複数種類発生させようとする
と、必要なメモリの容量が極めて大きくなってしまう。
前述の従来の技術のように、106 を越える大きなパケ
ット配列を格納する記憶装置は価格も高く実用性に乏し
い。実際には、パケットを発生させる頻度の基準である
フレーム数Tはさらに多くの種類を取り得るので、LC
の値も大きくなる。従って、パケット配列を格納するた
めの記憶装置の容量はこれよりも大きくなる。このよう
に、記憶装置の十分な容量を予測することは困難であ
り、パケット発生器を設計する際の技術的問題点となっ
ている。However, the packet array is generally stored in the storage device, and the capacity of the storage device required at that time is proportional to the least common multiple of the cyclic period Ti of the packet to be generated. Due to its nature, if it is attempted to generate a plurality of types of packet sequences having different cyclic periods, the required memory capacity will become extremely large.
A storage device for storing a large packet array of more than 10 6 as in the above-mentioned conventional technique is expensive and not practical. In practice, the number of frames T, which is the standard for the frequency of packet generation, can take many types, so that LC
The value of also becomes large. Therefore, the capacity of the storage device for storing the packet array becomes larger than this. As described above, it is difficult to predict the sufficient capacity of the storage device, which is a technical problem in designing the packet generator.
【0015】前述の従来の技術では、 パケットを巡回的に発生させる周期をフレーム数で
表したT(周期)の整数回の繰り返しと境界が一致する
ように、パケット配列を整数回繰り返している: 複数のT(周期)でパケットを発生させてこれらの
パケットを混合する必要がある場合には、全てのTの最
小公倍数を新たなTとして採用することにより、便宜的
に単一のTに基づいた頂戴なパケット配列を作成して、
これを記憶装置に格納し、ここから試験パケットを生成
している。In the above-mentioned conventional technique, the packet array is repeated an integral number of times so that the boundary coincides with the integer number of repetitions of T (period), which is the number of frames for the period for cyclically generating a packet: When it is necessary to generate packets at a plurality of Ts (cycles) and mix these packets, the least common multiple of all Ts is adopted as a new T, so that it is based on a single T for convenience. Create a custom packet array,
This is stored in the storage device, and the test packet is generated from this.
【0016】そのため、パケット配列を巡回させる周期
Tの種類が増える程、パケット配列を格納するための記
憶装置に必要な容量がそれらのTの最小公倍数に比例し
て急速に増大し、必要なパケット列を発生させることが
できないという問題がある。本発明は、上記の点に鑑み
てなされたもので、パケット配列を巡回させる周期Tの
種類が増加しても、パケット配列を格納する記憶装置の
容量を増加させることがないパケット列混合発生装置を
提供することを目的とする。Therefore, as the number of types of the cycle T for circulating the packet array increases, the capacity required for the storage device for storing the packet array increases rapidly in proportion to the least common multiple of T, and the required packet There is a problem that a row cannot be generated. The present invention has been made in view of the above points, and does not increase the capacity of a storage device that stores a packet array even if the number of types of cycle T that circulates the packet array increases. The purpose is to provide.
【0017】[0017]
【課題を解決するための手段】本発明のパケット列混合
発生方法は、メモリ内に発生させるパケットを格納して
おき、設定された周期Tに基づいてそのパケット発生要
素が管理するパケット配列からその時刻にパケットを取
り出して発生させるべきであるかどうかを判定し、パケ
ット発生要素よりも優先させる他のパケット発生要素の
有無を判定し、判定の結果、パケットを生成する場合に
は、パケット配列の1個分のパケットを発生させるよう
にアドレスを制御して、メモリよりパケットを取り出
す。According to a packet sequence mixture generation method of the present invention, packets to be generated are stored in a memory, and a packet array managed by the packet generation element based on a set cycle T is used. It is determined whether a packet should be extracted and generated at a time, and whether or not there is another packet generation element that has priority over the packet generation element, and if a packet is generated as a result of the determination, the packet array The address is controlled so that one packet is generated, and the packet is taken out from the memory.
【0018】また、本発明のパケット列混合発生方法
は、複数の種類のパケット発生要素が存在する場合に、
パケット発生要素をパケット発生基準が常に満たされる
ように空きセル専用のパケット発生要素とする。また、
本発明のパケット列混合発生方法は、パケット発生要素
によるパケットの発生が一定時間後に終了することを他
のパケット発生要素にも予告する。Further, the packet sequence mixture generation method of the present invention is such that when a plurality of types of packet generation elements are present,
The packet generation element is a packet generation element dedicated to empty cells so that the packet generation criterion is always satisfied. Also,
The packet string mixture generation method of the present invention also notifies other packet generation elements that the generation of packets by the packet generation elements will end after a certain time.
【0019】図1は、本発明の第1の原理構成図であ
る。本発明のパケット列混合発生装置は、基準時刻から
のパケットの発生数と経過時間を設定されたパケット発
生頻度と比較する、パケット発生基準判定手段10と、
パケットを発生する権利を結線によって決定された優先
順位に従ってパケットの発生の優先権を調整する優先調
停手段30と、優先調停手段を起動させる調停タイミン
グ制御手段40と、メモリ100からパケットを読み出
すアドレス制御手段20とを有するパケット発生要素を
優先調停手段30の出力による優先順位に従って、パケ
ット発生に必要なパラメタの種類に応じて必要な個数だ
け順次結線しておき、各パケット発生要素にパラメタを
設定することにより、複数種類の等時的パケット列を混
合して発生させる。FIG. 1 is a block diagram of the first principle of the present invention. The packet sequence mixture generation device of the present invention compares the number of packets generated from the reference time and the elapsed time with the set packet generation frequency;
Priority arbitration means 30 for adjusting the priority of packet generation in accordance with the priority determined by the connection, arbitration timing control means 40 for activating the priority arbitration means, and address control for reading packets from the memory 100. The packet generating elements having the means 20 are sequentially connected according to the priority order output from the priority arbitration means 30 in the required number according to the kind of parameters required for packet generation, and the parameters are set in each packet generating element. As a result, a plurality of types of isochronous packet sequences are mixed and generated.
【0020】図2は、本発明の第2の原理構成図であ
る。本発明のパケット列混合発生装置は、上記の構成に
加えて、各パケット発生要素がパラメタの設定によって
パケット発生基準判定手段10の結果をパケット発生基
準が常に満たされているように置き換える空きセル設定
手段90を更に有する。FIG. 2 is a block diagram of the second principle of the present invention. In addition to the above-mentioned configuration, the packet sequence mixing / generating device of the present invention is configured such that each packet generating element replaces the result of the packet generation criterion determination means 10 by setting parameters so that the packet generation criterion is always satisfied. It further comprises means 90.
【0021】図3は、本発明の第3の原理構成図であ
る。本発明のパケット列混合発生装置において、メモリ
100は、発生させるパケットと共に該パケットが終了
する予告情報を格納し、優先調停手段30は、予告情報
に基づいて起動する。FIG. 3 is a block diagram of the third principle of the present invention. In the packet string mixture generating apparatus of the present invention, the memory 100 stores the packet to be generated and the notice information that the packet ends, and the priority arbitration means 30 is activated based on the notice information.
【0022】図4は、本発明の第4の原理構成図であ
る。本発明の空きセル設定手段90を有するパケット列
混合発生装置において、メモリ100は、発生させるパ
ケットと共に該パケットが終了する予告情報を格納し、
優先調停手段30は、予告情報に基づいて起動する。FIG. 4 is a block diagram of the fourth principle of the present invention. In the packet string mixture generating device having the empty cell setting means 90 of the present invention, the memory 100 stores the packet to be generated and the advance notice information about the end of the packet,
The priority arbitration means 30 is activated based on the advance notice information.
【0023】上記のように、第1及び第4の発明は、パ
ケット発生基準判定手段が設定された周期Tに基づいて
そのパケット発生要素が管理するパケット配列からその
時刻にパケットを取り出して発生させるべきであるかど
うかを判定し、優先調停手段がそのパケット発生要素よ
りも優先させる他のパケット発生要素の有無を判定し、
その結果、パケットを生成する場合には、パケット配列
のアドレス制御手段が1個分のパケットを発生させるよ
うにアドレスを制御する。これにより、パケットを巡回
させる周期とパケット配列の境界とが一致していない場
合にも一定の頻度でパケットを発生させることができ
る。また、優先調停手段を備えることにより、複数の値
の周期で巡回するパケット配列から混合したパケットを
発生させることができる。As described above, in the first and fourth aspects of the invention, the packet generation criterion judging means generates a packet by extracting it at that time from the packet array managed by the packet generating element based on the set period T. Whether there is another packet generating element that the priority arbitration means gives priority to over the packet generating element,
As a result, when a packet is generated, the address control means of the packet array controls the address so as to generate one packet. As a result, even when the cycle of circulating packets does not match the boundary of the packet array, packets can be generated at a constant frequency. Further, by providing the priority arbitration means, it is possible to generate a mixed packet from a packet array that circulates in a cycle of a plurality of values.
【0024】さらに、第2及び第5の発明は、パケット
発生基準判定の結果をパケット発生基準が常に満たされ
るように、上記の空きセル設定手段により、パケット発
生要素を空きセルの構成とすることにより、複数種類の
パケット発生を混合して発生させることが可能である。Further, in the second and fifth aspects of the invention, the packet generating element is configured as an empty cell by the above empty cell setting means so that the result of the packet generation criterion judgment is always satisfied with the packet generation criterion. Thus, it is possible to generate a plurality of types of packets by mixing them.
【0025】さらに、第3、第6、7の発明は、調停タ
イミング制御部がそのパケットの発生が一定時間後に終
了することを他のパケット発生要素にも予告することに
よって、再びパケット発生要素間の調停を行うことがで
きる。それぞれのパケット発生要素は、設定された周期
Tの期間に発生させる個数のパケットを管理するだけで
あるので、それぞれのパケット発生要素が管理する記憶
装置の容量は従来の方式に比べてずっと少なくなる。Further, in the third, sixth, and seventh inventions, the arbitration timing control unit notifies other packet generating elements that the generation of the packet will be completed after a fixed time, so that the packet generating elements can be restarted. Can be arbitrated. Since each packet generation element only manages the number of packets generated during the set period T, the capacity of the storage device managed by each packet generation element is much smaller than that of the conventional method. .
【0026】また、全てのパケット発生要素にこのよう
な機能を持たせ、それぞれ別の周期Tを設定できるよう
にして、優先調停のための配線を通じて相互に作用させ
ることにより、Tの種類が増えても従来のように記憶装
置の必要量が急速に増大することなく、Tの種類数だけ
パケット発生要素を結合することによって、実用的な装
置規模にてパケット分解装置の正常動作を検証するパケ
ットを発生させることができる。Further, all packet generating elements are provided with such a function so that different periods T can be set respectively and interact with each other through the wiring for priority arbitration, so that the number of types of T is increased. Even if the required amount of storage device does not increase rapidly as in the conventional case, a packet for verifying the normal operation of the packet decomposing device on a practical device scale by combining the packet generating elements by the number of types of T Can be generated.
【0027】[0027]
【発明の実施の形態】図5は、本発明のシステム構成を
示す。本発明では、パケット配列を巡回させる周期Tに
ついて異なる設定をもつパケット列毎に、別々のパケッ
ト発生要素A,B,…を設置する。BEST MODE FOR CARRYING OUT THE INVENTION FIG. 5 shows the system configuration of the present invention. In the present invention, different packet generating elements A, B, ... Are provided for each packet sequence having different settings for the cycle T for circulating the packet array.
【0028】同図に示す各パケット発生要素は、パケッ
ト発生基準判定部10、アドレス制御部20、優先調停
部30、及び調停タイミング制御部40より構成され
る。パケット発生基準判定部10は、一つ一つのパケッ
ト発生要素毎に基準時刻以降のパケットの配列からのパ
ケットの発生数と経過時間を設定されたパケット発生頻
度と比較する。これにより、パケット配列の巡回させる
周期Tとパケット配列の境界が一致してない場合にも一
定の頻度でパケットを発生させる。Each packet generation element shown in the figure is composed of a packet generation reference determination unit 10, an address control unit 20, a priority arbitration unit 30, and an arbitration timing control unit 40. The packet generation criterion determination unit 10 compares the number of packets generated from the packet array after the reference time and the elapsed time for each packet generation element with the set packet generation frequency. As a result, packets are generated at a constant frequency even when the cycle T of the packet array and the boundary of the packet array do not match.
【0029】優先調停部30は、パケットを発生させる
パケット発生要素A,B,…が複数接続されている前提
で、他のパケット発生要素とのパケット発生の優先権を
調整する。これにより、複数の値のTで巡回するパケッ
ト配列から混合したパケットを発生させることができ
る。The priority arbitration unit 30 adjusts the priority of packet generation with other packet generation elements on the assumption that a plurality of packet generation elements A, B, ... Which generate packets are connected. As a result, a mixed packet can be generated from a packet array that circulates with a plurality of values of T.
【0030】アドレス制御部20は、メモリ100から
パケットを読み出す。調停タイミング制御部40は、優
先調停部30を起動させる。これにより、優先調停部3
0が判定する優先順位に従って、パケット発生に必要な
パラメタの種類に応じて、必要な個数だけ、順次結線し
ておき、各パケット発生要素にパラメタを設定すること
により複数種類の等時的なパケット列を混合して発生さ
せる。The address controller 20 reads the packet from the memory 100. The arbitration timing control unit 40 activates the priority arbitration unit 30. As a result, the priority arbitration unit 3
According to the priority determined by 0, the required number of packets are sequentially connected according to the types of parameters required for packet generation, and parameters are set for each packet generation element to create multiple types of isochronous packets. Generate rows by mixing.
【0031】[0031]
【実施例】以下、図面と共に本発明の実施例を説明す
る。 [第1の実施例]図6は、本発明の第1の実施例のパケ
ット構成要素の構成を示す。同図は、1〜N個のパケッ
ト発生要素のうち、メモリ100から読み出された値
は、そのままパケットを構成する(単位時間分の)値と
なる。Embodiments of the present invention will be described below with reference to the drawings. [First Embodiment] FIG. 6 shows the structure of a packet component according to the first embodiment of the present invention. In the figure, among the 1 to N packet generation elements, the value read from the memory 100 is the value that constitutes the packet as it is (for the unit time).
【0032】メモリ100に格納されているパケット配
列の図を図7に示す。同図の例では、メモリ100の各
アドレスに1バイトずつ全てのパケットのヘッダとペイ
ロードを格納している。一度に発生されるパケットは常
に1つであるので、どのパケット発生要素に管理される
パケットであるかに関わらず、この図のように単一のメ
モリ100に格納することができる。A diagram of the packet array stored in the memory 100 is shown in FIG. In the example of the figure, the header and payload of all packets are stored in each address of the memory 100, one byte at a time. Since only one packet is generated at a time, it can be stored in a single memory 100 as shown in this figure, regardless of which packet generation element manages the packet.
【0033】図6のフレーム周期発生部200は、一定
のフレームの周期で一定の間隔信号を発生する。この間
隔信号は、全てのパケット発生要素の端子ST(パケッ
ト発生基準判定部10の入力端子)から入力される。パ
ケット発生要素は、パケット発生の判定を行うために端
子STに対して特定の計数動作を行っている。The frame cycle generator 200 of FIG. 6 generates a constant interval signal at a constant frame cycle. This interval signal is input from the terminals ST (input terminals of the packet generation reference determination unit 10) of all packet generation elements. The packet generation element performs a specific counting operation with respect to the terminal ST in order to determine whether a packet has been generated.
【0034】図6のパケット発生要素i(i=1〜N)
は、端子PTO(調停タイミング制御部40の出力端
子)によって、優先調停判定部30に対して優先調停判
定の開始タイミングを自らを含む全てのパケット発生要
素に放送する。また、放送された優先調停判定の開始タ
イミングを端子PTI(優先調停部30の入力端子)に
よって受信し、受信したパケット発生要素はそのタイミ
ングで優先調停を開始する。Packet generating element i (i = 1 to N) of FIG.
The terminal PTO (output terminal of the arbitration timing control unit 40) broadcasts the start timing of the priority arbitration determination to the priority arbitration determination unit 30 to all packet generating elements including itself. The broadcast start timing of the priority arbitration determination is received by the terminal PTI (the input terminal of the priority arbitration unit 30), and the received packet generation element starts the priority arbitration at that timing.
【0035】図6のパケット発生要素i(i=1〜N−
1)は、端子JO(優先調停部30の出力端子)によっ
てi+1番のパケット発生要素にパケット発生権の有無
を伝える。図6のパケット発生要素Nは特に優先調停部
30の出力端子JOによって伝えられる先を持たない。The packet generation element i (i = 1 to N- in FIG. 6)
1) uses the terminal JO (output terminal of the priority arbitration unit 30) to notify the i + 1th packet generation element of the presence or absence of the packet generation right. The packet generating element N of FIG. 6 has no destination specifically transmitted by the output terminal JO of the priority arbitration unit 30.
【0036】図6のパケット発生要素i(i=2から
N)は、優先調停部30の入力端子JIにi−1番のパ
ケット発生要素から与えられる値によって優先調停処理
を行う。パケット発生要素1は特に優先調停部30の入
力端子JIに固定値「t=真」が与えられる。これは、
パケット発生要素[1]よりも優先順位が高いパケット
発生要素がない、つまり、優先順位が常に最も高いこと
をパケット発生要素[1]に通知するものである。The packet generating element i (i = 2 to N) in FIG. 6 performs the priority arbitration processing according to the value given to the input terminal JI of the priority arbitration unit 30 from the packet generating element number i-1. In the packet generation element 1, a fixed value “t = true” is given to the input terminal JI of the priority arbitration unit 30. this is,
The packet generation element [1] is notified that there is no packet generation element having a higher priority than the packet generation element [1], that is, the packet generation element [1] is always the highest priority.
【0037】N番目のパケット発生要素[N]は、優先
調停部30の入力端子JI及び出力端子JOの結線によ
って、一番低い優先順位を持つので、他の全ての(1番
からN−1番までの)パケット発生要素がどれもパケッ
トを発生させない時に限って、パケット発生させる権利
を得ることになる。そこで、N番のパケット発生要素
[N]をパケットを発生させる権利を得た時にはいつで
もパケットを発生させる状態にしておいて、意味のある
パケットがないことを示す既定値のパケット(例えば、
空きセル)を発生させるために利用することもできる。Since the N-th packet generation element [N] has the lowest priority due to the connection of the input terminal JI and the output terminal JO of the priority arbitration unit 30, all other (1 to N-1). You get the right to generate a packet only if none of the packet generators (up to number) generate a packet. Therefore, the N-th packet generation element [N] is set to generate a packet whenever the right to generate a packet is obtained, and a packet with a default value indicating that there is no meaningful packet (for example,
It can also be used to generate empty cells.
【0038】図6のパケット発生要素i(i=1から
N)は、端子AD(アドレス制御部の出力端子)によっ
てパケット配列を格納しているメモリ100に読み出す
べきアドレスを与える。図8は、本発明の一実施例のパ
ケット発生要素のパケット発生基準判定部が有するパラ
メタの例を示す。同図に示す例は、i(i=1〜N)番
目のパケット発生要素のパケット発生基準判定部10が
有するパラメタである。パケット発生要素のパケット発
生基準判定部10においてパケットを発生させるべきか
どうかを判定するため等にこのパラメタを利用する。D
iはi番目のパケット発生要素[i]が管理するメモリ
内の領域であるパケット配列の中のパケットの個数であ
る。Liは、i番目のパケット発生要素[i]が発生す
るパケットの長さを指定する場合には、フラグ=1とな
り、指定しない場合にはフラグ=0となる。本実施例で
は、フラグ=1とする。パケットの長さは適切な単位時
間を基準にして、パケットを送出し始めてから送出し終
わるまでの時間によって表すものとする。The packet generation element i (i = 1 to N) in FIG. 6 gives an address to be read to the memory 100 storing the packet array by the terminal AD (output terminal of the address control unit). FIG. 8 shows an example of parameters included in the packet generation criterion determination unit of the packet generation element according to the embodiment of the present invention. The example shown in the figure is a parameter included in the packet generation criterion determination unit 10 of the i-th (i = 1 to N) packet generation element. This parameter is used in the packet generation criterion determination unit 10 of the packet generation element to determine whether to generate a packet. D
i is the number of packets in the packet array, which is an area in the memory managed by the i-th packet generation element [i]. Li has flag = 1 when the length of the packet generated by the i-th packet generation element [i] is designated, and flag = 0 when it is not designated. In this embodiment, flag = 1. The length of a packet is represented by the time from the start of packet transmission to the end of packet transmission, based on an appropriate unit time.
【0039】以下、説明のために、基準となる単位時間
は、パケットの1オクテット(8ビット)の送り出しに
かける時間とし、フレームの1オクテット(8ビット)
の送り出しにかかる時間と同じであって、“1TS”と
表すものとする。そこで、パケットの大きさが53バイ
トであるときには、そのパケット発生要素のLiは53
TSとなる。Hereinafter, for the sake of explanation, the reference unit time is the time taken to send 1 octet (8 bits) of a packet, and 1 octet (8 bits) of a frame.
It is the same as the time required to send the data, and is represented by "1TS". Therefore, when the packet size is 53 bytes, the Li of the packet generation element is 53.
TS.
【0040】Tiは、i番目のパケット発生要素[i]
がパケット配列を巡回させる周期である。単位は任意で
あるが、全てのi(1〜N)で共通とする。前述の説明
と合わせるために、フレーム数で表すものとする。i番
目のパケット発生要素[i]がパケットを発生させる要
求は次の条件で出される。Ti is the i-th packet generation element [i]
Is the cycle for circulating the packet array. The unit is arbitrary, but is common to all i (1 to N). In order to match the above description, the number of frames is used. A request for the i-th packet generation element [i] to generate a packet is issued under the following conditions.
【0041】Di(t)を時刻0から時刻tまでにパケ
ット発生要素が発生させたパケットの数、T(t)を時
刻0から時刻tまでに経過したフレーム数、Ti及びD
iをそれぞれi番目のフレーム数及びパケット発生要素
数とし、フレーム数Tiの間にDi個のパケットを発生
させるとき、 条件1:(Di(t)/T(t))<(Di/Ti) であれば、i番目のパケット発生要素[i]はパケット
を発生させる要求を出すものである。Di (t) is the number of packets generated by the packet generating element from time 0 to time t, T (t) is the number of frames elapsed from time 0 to time t, Ti and D
When i is the number of the i-th frame and the number of packet generation elements and Di packets are generated within the number of frames Ti, condition 1: (Di (t) / T (t)) <(Di / Ti) If so, the i-th packet generation element [i] issues a request to generate a packet.
【0042】ここで、T(t)、Tiが共に正の数であ
ることに注意して条件1を書き改めると、 条件2:(Di(t)・Ti)<(Di・T(t)) となる。左辺、右辺をそれぞれ、 PC=Di(t)・Ti FC=Di・T(t) とおくと、正規化されたパケット量PCは1パケット発
生させるたびにTiずつ増加し、正規化されたフレーム
量FCは1フレーム経過するたびにDiずつ増加するこ
とになる。Here, rewriting condition 1 while noting that both T (t) and Ti are positive numbers, condition 2: (Di (t) .Ti) <(Di.T (t) ). If PC = Di (t) · Ti FC = Di · T (t) is set on the left side and the right side, respectively, the normalized packet amount PC increases by Ti each time one packet is generated, and the normalized frame is calculated. The quantity FC will increase by Di each time one frame elapses.
【0043】このままでは、正規化されたパケット量P
Cも正規化されたフレーム量FCも限りなく大きくなる
ので、発明の実施には適さない。そこで、次のように処
理する。正規化されたパケット量PCが値(Di・T
i)に達したら、 正規化されたパケット量PCの値を(Di・Ti)で
なく、0に置き換える: 正規化されたフレーム量FCの値を(Di・Ti)だ
け減少させる:この処理によって、正規化されたパケッ
ト量PC及び正規化されたフレーム量FCを計数のため
の部品にはたかだか(2・Di・Ti)程度の数値を記
憶する容量があればよくなる。As it is, the normalized packet amount P
Since C and the normalized frame amount FC also become infinitely large, they are not suitable for carrying out the invention. Therefore, the processing is performed as follows. The normalized packet amount PC is the value (Di · T
When i) is reached, the value of the normalized packet amount PC is replaced with 0 instead of (Di · Ti): The value of the normalized frame amount FC is decreased by (Di · Ti): By this process The components for counting the normalized packet amount PC and the normalized frame amount FC need only have a capacity for storing a numerical value of at most (2 · Di · Ti).
【0044】このようにして、パケット発生基準判定部
10は、それぞれのパケット発生要素がパケット発生の
要求を出したら、その要求に優先順位を適用してパケッ
トの発生を許可する。例えば、i番目のパケット発生要
素[i]がパケットを発生させる要求を出しており、そ
れよりも番号の小さい(つまり、優先順位の高い)パケ
ット発生要素がパケット発生要求を出していない時に限
って、i番目のパケット発生要素[i]にパケットの発
生が許可されるように実施すればよい。In this way, when each packet generation element issues a packet generation request, the packet generation criterion determination unit 10 applies the priority order to the request and permits the packet generation. For example, only when the i-th packet generation element [i] issues a request to generate a packet and the packet generation element with a smaller number (that is, a higher priority) does not issue a packet generation request. , I-th packet generation element [i] may be permitted to generate a packet.
【0045】図9は、本発明の第1の実施例の1つのパ
ケット発生要素の構成を示す。同図において、図5と同
一構成部分には、同一符号を付与する。同図に示すパケ
ット発生要素i(i=1〜N)は、パケット発生要素基
準判定部10、アドレス制御部20、優先調停部30、
調停タイミング制御部40、及び動作順序制御部50よ
り構成される。FIG. 9 shows the structure of one packet generating element according to the first embodiment of the present invention. In the figure, the same components as those in FIG. 5 are designated by the same reference numerals. The packet generation element i (i = 1 to N) shown in the figure includes a packet generation element criterion determination unit 10, an address control unit 20, a priority arbitration unit 30,
It is composed of an arbitration timing control unit 40 and an operation sequence control unit 50.
【0046】パケット発生要素判定部10は、FC更新
制御部11、PC更新制御部12及び比較部13を有す
る。以下に、図10に示す動作タイミングに基づいて動
作順序制御部50により行われる動作順序を説明する。The packet generation element determination unit 10 has an FC update control unit 11, a PC update control unit 12 and a comparison unit 13. The operation sequence performed by the operation sequence controller 50 based on the operation timing shown in FIG. 10 will be described below.
【0047】 いま、アドレス制御部20が、i番目
のパケット発生要素[i]がパケットaを出力するよう
に、図6に示すメモリ100のアドレスを制御している
ものとする。 図10に示すAの単位時間帯(マシンサイクル)に
i番目のパケット発生要素[i]の調停タイミング制御
部40が端子PTOの値を「有効」にする。Assume that the address control unit 20 controls the address of the memory 100 shown in FIG. 6 so that the i-th packet generation element [i] outputs the packet a. In the unit time zone (machine cycle) of A shown in FIG. 10, the arbitration timing control unit 40 of the i-th packet generation element [i] sets the value of the terminal PTO to "valid".
【0048】 端子PTOは図6において、他の全て
のパケット発生要素の優先調停部30の入力端子PTI
及び調停タイミング制御部40の端子PTOと電気的に
接続されており、パケットを出力するための制御を行っ
ていないi番目以外のパケット発生要素は、それぞれの
端子PTOを絶縁状態に保つようになっている。そこ
で、i番目のパケット発生要素[i]自身を含む全ての
パケット発生要素は、図10のマシンサイクルAの時
に、端子PTIの値が「有効」になったことを検知す
る。In FIG. 6, the terminal PTO is the input terminal PTI of the priority arbitration unit 30 of all other packet generating elements.
And, the packet generating elements other than the i-th packet generating element that are electrically connected to the terminal PTO of the arbitration timing control unit 40 and that do not perform control for outputting a packet keep their terminals PTO in an insulated state. ing. Therefore, all the packet generating elements including the i-th packet generating element [i] itself detect that the value of the terminal PTI becomes "valid" at the machine cycle A in FIG.
【0049】 i番目のパケット発生要素[i]自身
を含む全てのパケット発生要素の優先調停部30は、端
子PTIの値が「有効」になると、優先調停を開始し、
端子JIとパケット発生基準判定部10からの入力を受
け付ける端子Qの値に基づいて、動作順序制御部50へ
の出力端子Kと端子JOの値を決定する。端子Qに与え
られている値は、その時点でそのパケット発生要素がパ
ケット発生基準を満たしているかどうかの論理値であ
る。端子JIに与えられている値は、1番目のパケット
発生要素[1]からi−1番目のパケット発生要素[i
−1]がすべて、パケット発生基準を満たしていなかっ
たことを表す論理値である。但し、i=1番目のパケッ
ト発生要素[1]に対しては、この論理値は、図6に示
すように常に「真」となっている。The priority arbitration unit 30 of all packet generation elements including the i-th packet generation element [i] itself starts priority arbitration when the value of the terminal PTI becomes “valid”,
The values of the output terminal K and the terminal JO to the operation sequence control unit 50 are determined based on the values of the terminal JI and the terminal Q that receives the input from the packet generation criterion determination unit 10. The value given to the terminal Q is a logical value indicating whether or not the packet generating element at that time satisfies the packet generating criterion. The value given to the terminal JI is from the 1st packet generation element [1] to the (i-1) th packet generation element [i
-1] are all logical values indicating that the packet generation criteria are not satisfied. However, for the i = 1st packet generation element [1], this logical value is always "true" as shown in FIG.
【0050】 優先調停部30は、一定時間の後に、
端子Kには優先調停の結果、i番目にパケット発生要素
がパケットを出力する制御を行う権利を獲得したか否か
を表す論理値が表れる。端子JOに表れるのは、1番目
のパケット発生要素[1]からi番目のパケット発生要
素[i]が全て、パケット発生基準を満たしていなかっ
たことを表す論理値である。The priority arbitration unit 30 determines that, after a fixed time,
As a result of the priority arbitration, the terminal K shows a logical value indicating whether or not the i-th packet generation element has acquired the right to control the output of the packet. What appears at the terminal JO is a logical value indicating that all of the first packet generation element [1] to the i-th packet generation element [i] do not satisfy the packet generation criterion.
【0051】多くのパケット発生要素を図6に示すよう
に接続していくと、全てのパケット発生要素の優先調停
部30が端子Kの値を決定するまでにかかる時間が長く
なる。そこで、全てのパケット発生要素で端子QのPを
端子PTIが再び「有効」になる次のパケットbの優先
調停のマシンサイクルまで一旦保存して図10に示すC
のマシンサイクルで端子Kに論理値を表すこととする。When many packet generating elements are connected as shown in FIG. 6, it takes a long time for the priority arbitration unit 30 of all the packet generating elements to determine the value of the terminal K. Therefore, in all the packet generation elements, the P of the terminal Q is temporarily stored until the machine cycle of the priority arbitration of the next packet b in which the terminal PTI becomes “valid” again, and then C shown in FIG.
In this machine cycle, a logical value is represented at the terminal K.
【0052】このようにすることで、パケット発生要素
を追加拡張してパケット発生要素が多くなった場合でも
適切な優先調停処理を待つ時間を確保することができ
る。 i番目のパケット発生要素[i]で端子Kの値がパ
ケットを出力する制御を行う権利のないものであった場
合、そのときにi番目のパケット発生要素[i]がパケ
ットを出力する制御を行っていた場合に、図10に示す
Dのマシンサイクルだけパケットを出力する制御を継続
して、その次のマシンサイクルから、アドレス制御部2
0の出力を絶縁状態にする。また、パケットを出力する
制御を行っていなかった場合には、そのままアドレス制
御部20の出力を絶縁状態とする。By doing so, it is possible to secure the time to wait for appropriate priority arbitration processing even when the number of packet generating elements is increased by additionally expanding the packet generating elements. If the value of the terminal K in the i-th packet generation element [i] does not have the right to control the output of the packet, then the i-th packet generation element [i] controls the output of the packet. If so, the control for outputting the packet is continued only for the machine cycle D shown in FIG. 10, and the address controller 2 starts from the next machine cycle.
Output 0 is isolated. Further, when the control for outputting the packet is not performed, the output of the address control unit 20 is kept in the insulating state as it is.
【0053】 また、j番目のパケット発生要素
[j]で端子Kの値がパケットを出力する制御を行う権
利のあるものであった場合には、図10に示すDの単位
時間帯(マシンサイクル)だけアドレス制御部20の出
力の絶縁状態を継続し、その次のマシンサイクルから、
アドレス制御部20の出力をパケット出力するためのア
ドレス制御を開始する。この動作順序の制御は、動作順
序制御部50が行う。When the value of the terminal K in the j-th packet generation element [j] has the right to control the output of the packet, the unit time zone (machine cycle of D shown in FIG. ), The insulation state of the output of the address control unit 20 is continued, and from the next machine cycle,
Address control for outputting the output of the address control unit 20 as a packet is started. The operation order control unit 50 controls the operation order.
【0054】j番目のパケット発生要素[j]で端子K
の値がパケットを出力する制御を行う権利のあるもので
あった場合には、さらに、PC更新制御部12で正規化
されたパケット量PCの値を更新する。なお、動作順序
制御部50が行う動作の時間パラメタrとqが図10に
示すAからDの単位時間帯(マシンサイクル)を決定す
るので、使用する部品の動作速度に合わせてrとqを決
定すれば、本構成をより広く適用することができる。At the j-th packet generation element [j], terminal K
If the value of is the right to control the output of the packet, the value of the packet amount PC normalized by the PC update control unit 12 is further updated. Since the time parameters r and q of the operation performed by the operation sequence control unit 50 determine the unit time zone (machine cycle) of A to D shown in FIG. 10, r and q are set according to the operation speed of the parts used. If determined, this configuration can be applied more widely.
【0055】図9のパケット発生基準判定部10のFC
更新制御部11は、周期的に発生する時間信号を端子S
Tで検知して、正規化されたフレーム量FCの値を更新
する。正規化されたフレーム量FCの値は比較部13に
より正規化されたパケット量PCの値と比較され、正規
化されたフレーム量FCが正規化されたパケット量PC
の値よりも大きいとき、パケット発生基準が満たされ、
優先調停部30の端子Qに与えられる値が「有効」を示
すものとなる。FC of the packet generation criterion determination unit 10 of FIG.
The update control unit 11 sends the time signal generated periodically to the terminal S.
Detected at T, the value of the normalized frame amount FC is updated. The value of the normalized frame amount FC is compared with the value of the packet amount PC normalized by the comparison unit 13, and the normalized frame amount FC is the normalized packet amount PC.
Greater than the value of, the packet generation criteria are met,
The value given to the terminal Q of the priority arbitration unit 30 indicates “valid”.
【0056】なお、N番目のパケット発生要素[N]に
よって空きセルを発生させる場合には、図11に示すよ
うに、特に端子Qに対して常に「真」を与えるパケット
発生要素を使うこともできる。図11に示すパケット発
生要素の構成は、パケット発生基準判定部10を設けず
に、常に優先調停部30の入力端子Qに「真」を与える
論理器70を用いている。When an empty cell is generated by the Nth packet generation element [N], a packet generation element which always gives "true" to the terminal Q may be used as shown in FIG. it can. The configuration of the packet generation element shown in FIG. 11 does not include the packet generation criterion determination unit 10 but uses a logic unit 70 that always gives “true” to the input terminal Q of the priority arbitration unit 30.
【0057】図12は、本発明の第1の実施例の優先調
停部の構成を示す。優先調停部30は、予めパケット発
生基準判定部10からパケットを発生させるかどうかを
示す信号Qを受け取って端子PTIに「有効」を示す値
が与えられたら、一定時間内に、このパケット発生単位
が次のパケットを発生させて良いかどうかを端子Kに表
す機能を持っている。端子JIと端子JOは、優先度に
おいて隣接する他のパケット発生要素からパケットを発
生させる権利を受け取ったり、渡したりするために使わ
れる。FIG. 12 shows the configuration of the priority arbitration unit according to the first embodiment of the present invention. The priority arbitration unit 30 receives a signal Q indicating whether or not to generate a packet from the packet generation reference determination unit 10 in advance, and when a value indicating "valid" is given to the terminal PTI, the packet generation unit Has a function to indicate to the terminal K whether or not the next packet can be generated. The terminals JI and JO are used to receive and pass the right to generate a packet from another packet generating element adjacent to each other in priority.
【0058】端子PTIが有効を示す値になると、図1
2の選択回路Dが端子Yの入力値をフリップフロップC
に与える。端子PTIが無効を示す値になると、選択回
路Dが端子Xの入力値をフリップフロップCに与えるた
め、その時にフリップフロップCに格納されている値は
保持される。従って、端子PTIの値が一旦「有効」に
なり、さらに「無効」に戻ると、その時の端子Qの値が
フリップフロップCに保存されるものである。全てのパ
ケット発生単位には同時刻の端子PTIが与えられ、端
子Qには、このパケット発生単位がパケットを発生しよ
うとしているかどうかがパケット発生基準判定部10か
ら与えられているので、それぞれのパケット発生単位の
フリップフロップCにはPTIが「有効」から「無効」
に変化した互いに同時刻でのパケット発生基準判定部1
0の結果が蓄えられていることになる。When the terminal PTI reaches a value indicating that it is valid, FIG.
The selection circuit D of 2 inputs the input value of the terminal Y to the flip-flop C
Give to. When the terminal PTI becomes a value indicating invalidity, the selection circuit D gives the input value of the terminal X to the flip-flop C, and thus the value stored in the flip-flop C at that time is held. Therefore, when the value of the terminal PTI once becomes “valid” and then returns to “invalid”, the value of the terminal Q at that time is stored in the flip-flop C. All the packet generation units are given the terminal PTI at the same time, and the terminal Q is given from the packet generation reference determination unit 10 whether or not this packet generation unit is going to generate a packet. The PTI of the generation unit flip-flop C is changed from "valid" to "invalid".
Packet generation criterion determination unit 1 at the same time
The result of 0 is stored.
【0059】さらに、フリップフロップCの値は、常に
論理素子Aと論理素子Bに与えられている。図13は、
本発明の第1の実施例の優先調停部の論理素子Aの真理
値表を示し、図14は、本発明の第1の実施例の優先調
停部の論理素子Bの真理値表を示す。Further, the value of the flip-flop C is always given to the logic element A and the logic element B. FIG.
14 shows a truth table of the logic element A of the priority arbitration unit of the first embodiment of the present invention, and FIG. 14 shows a truth table of the logic element B of the priority arbitration unit of the first embodiment of the present invention.
【0060】論理素子Aは、端子JIから供給される入
力が「有効」を示す値(例えば“1”)で、もう一方の
(フリップフロップCから与えられる)値が「無効」を
示す値(例えば“0”)の時に限って、出力を「有効」
を示す値(例えば“1”)とする。そのため、端子JI
に有効を示す値が与えられ、かつ、このパケット発生単
位のフリップフロップCの値が「無効」を示すものであ
った場合(つまり、このパケット発生単位がパケットを
発生する基準に達していなかった場合)に限って、端子
JOに有効を示す値が出力される。In the logic element A, the input supplied from the terminal JI is a value indicating "valid" (for example, "1"), and the other value (given from the flip-flop C) is a value indicating "invalid" ( For example, output is "valid" only when "0")
Is set to a value (for example, "1"). Therefore, the terminal JI
Is given a valid value, and the value of the flip-flop C of this packet generation unit indicates "invalid" (that is, this packet generation unit did not reach the criterion for generating a packet). Only in the case), a value indicating validity is output to the terminal JO.
【0061】この結果、図6に示す1番目からi−1番
目までのパケット発生要素がパケットを発生する基準に
達しておらず、i番目のパケット発生要素[i]がパケ
ット発生基準に達している時には、1番目からi番目ま
でのJIの値は「有効」であり、i+1番目以降のJI
の値は「無効」となるために、例え、i+1番目以降で
パケット発生基準に到達しているパケット発生要素があ
っても、i番目のパケット発生要素[i]が優先され、
複数のパケット発生要素間で競合が生じないように調整
されることになる。As a result, the 1st to i-1th packet generation elements shown in FIG. 6 have not reached the packet generation reference, and the ith packet generation element [i] has reached the packet generation reference. When it is present, the values of the JIs from the 1st to the i-th are “valid”, and the JIs after the i + 1th are
Since the value of is "invalid", the i-th packet generation element [i] is prioritized even if there is a packet generation element that has reached the packet generation reference after the i + 1th,
It will be adjusted so that there is no conflict between multiple packet generating elements.
【0062】優先調停部30の論理素子Aは、端子JI
から供給される入力が「有効」を示す値(例えば、
“1”)で、もう一方の(フリップフロップCから与え
られる)値が「有効」を示す値(例えば“1”)の場合
に限って、出力を「有効」を示す値(例えば“1”)に
する。The logic element A of the priority arbitration unit 30 is connected to the terminal JI.
The value provided by the input is "valid" (for example,
"1") and the other value (given from the flip-flop C) is "valid" (for example, "1"), the output is "valid" (for example, "1"). ).
【0063】この出力は、論理素子Gに与えられる。図
15は、本発明の第1の実施例の優先調停部の論理素子
Gの真理値表を示す。論理素子Gは、論理素子Bから供
給される入力が「有効」を示す値(例えば“1”)で、
もう一方の(フリップフロップの列Eから与えられる)
値が有効を示す値(例えば“1”)の時に限って、出力
を「有効」を示す値(例えば“1”)にする。This output is given to the logic element G. FIG. 15 shows a truth table of the logic element G of the priority arbitration unit according to the first embodiment of the present invention. The logic element G has a value (for example, “1”) indicating that the input supplied from the logic element B is “valid”,
The other (given from column E of flip-flops)
Only when the value is a value indicating valid (eg, “1”), the output is set to a value indicating “valid” (eg, “1”).
【0064】その結果、端子PTIが「有効」を示す値
になってから、一定時間が経過し、論理素子Bの出力が
安定した後、論理素子Bの出力が「有効」である場合に
は、端子PTIが有効であった期間と同じ時間だけ、端
子Kの値が有効となる。フリップフロップの列Eは、端
子PTIから与えられる入力を、列を構成するフリップ
フロップの個数qに比例して遅らせて出力する。As a result, when the output of the logic element B stabilizes after a certain period of time elapses after the terminal PTI becomes a value indicating "valid", and the output of the logic element B is "valid", , The value of the terminal K is valid only for the same period as the terminal PTI is valid. The row E of flip-flops delays the input given from the terminal PTI in proportion to the number q of flip-flops forming the row and outputs the delayed input.
【0065】たくさんのパケット発生要素を図6に示す
ように繋ぐと、最後のN番目のパケット発生要素で論理
素子Bの出力を安定させるにはいくらかの時間が必要で
ある。フリップフロップの列Eは、端子PTIの値が
「有効」になっても論理素子Bの出力が安定するまで、
論理素子Gが「有効」の値を出力しないように機能して
いる。When many packet generating elements are connected as shown in FIG. 6, it takes some time to stabilize the output of the logic element B at the last Nth packet generating element. The row E of the flip-flops is until the output of the logic element B stabilizes even if the value of the terminal PTI becomes “valid”.
The logic element G functions so as not to output a "valid" value.
【0066】優先調停部30の端子Kの値は、動作順序
制御部50に与えられて、その値が「有効」であれば、
一定時間後からパケット発生のための制御を開始させる
ものである。このようにして、優先調停部30は、予め
パケット発生基準判定部10からパケットを発生させる
かどうかを示す信号Qを端子Qで受け取って、端子PT
Iに「有効」を示す値が与えられたら、一定時間内にこ
のパケット発生単位が次のパケットを発生させて良いか
どうかを端子Kに表す機能を実現する。The value of the terminal K of the priority arbitration unit 30 is given to the operation sequence control unit 50, and if the value is "valid",
The control for packet generation is started after a certain period of time. In this way, the priority arbitration unit 30 receives the signal Q indicating whether to generate a packet from the packet generation criterion determination unit 10 in advance at the terminal Q, and then the terminal PT
When a value indicating "valid" is given to I, the function of indicating to the terminal K whether or not this packet generation unit can generate the next packet within a fixed time is realized.
【0067】図9のFC更新制御部11は、周期的に発
生する時間信号を端子STで検知して、正規化されたフ
レーム量FCの値をそれまでの値よりもDiだけ大きい
値に更新する。また、正規化されたパケット量PCの値
が(Di,Ti)に達したことをPC更新制御部12か
ら通知されたら、正規化されたフレーム量FCの値を
(Di,Ti)だけ減少させる。The FC update control unit 11 of FIG. 9 detects a time signal that occurs periodically at the terminal ST and updates the value of the normalized frame amount FC to a value larger by Di than the previous value. To do. When the PC update control unit 12 notifies that the value of the normalized packet amount PC has reached (Di, Ti), the value of the normalized frame amount FC is decreased by (Di, Ti). .
【0068】図9のPC更新制御部11は、動作制御部
50からの信号に基づいて、正規化されたパケット量P
Cの値をそれまでの値よりもTiだけ大きい値に更新す
る。但し、正規化されたパケット量PCの値が(Di,
Ti)に達したら、正規化されたパケット量PCの値を
(Di,Ti)ではなく、直ちに“0”に置き換える。The PC update control unit 11 in FIG. 9 uses the signal from the operation control unit 50 to normalize the packet amount P.
The value of C is updated to a value that is larger than the previous value by Ti. However, the value of the normalized packet amount PC is (Di,
When (Ti) is reached, the value of the normalized packet amount PC is immediately replaced with "0" instead of (Di, Ti).
【0069】図9の調停タイミング部40は、動作順序
制御部50からの信号に基づいてそのパケット発生単位
でパケットを発生させている場合には、パケットの末尾
まで一定の時間を残す時刻をLi(i番目のパケット発
生要素[i]が発生するパケットの長さ)に基づいて検
出し、端子PTOの値を一定時間「有効」にする。When the arbitration timing unit 40 of FIG. 9 generates a packet in the unit of packet generation based on the signal from the operation sequence control unit 50, the arbitration timing unit 40 sets the time to leave a fixed time until the end of the packet as Li. Based on (the packet length generated by the i-th packet generation element [i]), the value of the terminal PTO is set to "valid" for a certain period of time.
【0070】図9のアドレス制御部20は、動作順序制
御部50からの信号に基づいて、そのパケット発生単位
がパケットを発生させている間、端子ADにパケットの
内容を取り出すためのメモリのアドレスを出力してい
る。パケット発生単位がパケットを発生させていない状
態では、アドレス制御部20は、動作順序制御部50か
らの信号に基づいて端子ADを絶縁して、並列に接続し
ている他のパケット発生要素に影響を及ぼさないように
する。また、そのパケット発生要素から次に発生させる
予定のパケットが格納されているメモリのアドレスを内
部に保持する。The address control unit 20 of FIG. 9 is based on a signal from the operation sequence control unit 50, and while the packet generation unit is generating a packet, the address of the memory for taking out the contents of the packet to the terminal AD. Is being output. When the packet generation unit is not generating a packet, the address control unit 20 insulates the terminal AD based on the signal from the operation sequence control unit 50 and affects other packet generation elements connected in parallel. Try not to hit. The address of the memory in which the packet to be generated next is stored from the packet generating element is internally held.
【0071】また、アドレス制御部20は、そのパケッ
ト発生要素が取り扱うパケットが格納されているメモリ
100の中の領域情報を保持しており、例えば、メモリ
領域のどこからどこまでが、そのパケット発生要素が取
り扱うパケットを保持しており、取り扱う領域の中のパ
ケットを循環的に発生させる。Further, the address control unit 20 holds area information in the memory 100 in which the packet handled by the packet generating element is stored. For example, from the memory area to where the packet generating element is stored. It holds packets to be handled and cyclically generates packets in the area to be handled.
【0072】図9の動作順序制御部50は、優先調停部
30からの信号が「有効」となったら、これまでに説明
した一連の動作順序制御を行うためのタイミングの通知
を各部に送るものである。これにより、上記の第1の実
施例によれば、発生させるパケット列のパラメタ(D
i,Ti,Liの組み合わせ)の種類に応じたN個のパ
ケット発生要素を設置することによって、パケットを格
納しておく、記憶装置についてはたかだかNに比例する
程度の容量で、パケットを混合して等時的に発生させる
ことができる。例えば、従来の技術で説明に用いた47
フレームに1個のパケットを発生させるパケット列と、
375フレームに8個のパケットを発生させるパケット
列を混合して発生させる場合には、3個のパケット発生
要素を設置して、そのうち1個を空きセル発生専用要素
とし、残りの2個の1つのパケット発生要素には(D
i,Ti,Li)=(1,47,53)を、もう1つの
パケット発生要素には(Di,Ti,Li)=(8,3
75,53)を設定する。その際、必要なメモリ量は、
空きセルのための1パケットを加えて、合計10パケッ
ト分で実施できることになる。これは、従来の例の必要
メモリ量である42×(106 )パケット分と比較して
遙に少ない。When the signal from the priority arbitration unit 30 becomes "valid", the operation sequence control unit 50 of FIG. 9 sends a notification of the timing for performing the series of operation sequence control described above to each unit. Is. As a result, according to the first embodiment described above, the parameter (D
(packets of i, Ti, Li) are installed to store the packets, and the storage device mixes the packets with a capacity of at most proportional to N. Can be generated isochronously. For example, 47 used in the description of the conventional technique.
A packet sequence that generates one packet in a frame,
In the case of generating a packet sequence that generates eight packets in 375 frames, three packet generation elements are installed, one of which is a dedicated element for generating empty cells, and the remaining two 1 (D)
i, Ti, Li) = (1, 47, 53), and (Di, Ti, Li) = (8, 3) for the other packet generation element.
75, 53) is set. At that time, the required memory amount is
It will be possible to carry out a total of 10 packets by adding 1 packet for an empty cell. This is much smaller than the required memory amount of 42 × (10 6 ) packets in the conventional example.
【0073】[第2の実施例]次に、本発明の第2の実
施例を説明する。本実施例は、前述の第1の実施例をパ
ケット発生要素を空きセル専用のパケット発生要素とし
ても使用できるようにする例である。図16は、本発明
の第2の実施例のパケット発生要素の構成を示す。同図
において、図9と同一構成部分には同一符号を付し、そ
の説明を省略する。図16に示すパケット発生要素の構
成は、図9の構成に、論理和回路80、空きセル設定部
91、空きセル指定部92が付加された構成である。[Second Embodiment] Next, a second embodiment of the present invention will be described. The present embodiment is an example in which the packet generating element of the first embodiment described above can be used as a packet generating element dedicated to an empty cell. FIG. 16 shows the configuration of the packet generation element according to the second embodiment of the present invention. In the figure, the same components as those of FIG. The configuration of the packet generation element shown in FIG. 16 is a configuration in which an OR circuit 80, an empty cell setting unit 91, and an empty cell designating unit 92 are added to the configuration of FIG.
【0074】パケット発生要素の端子DCに与える値が
「有効」であるとき、正規化されたパケット量PCと正
規化されたフレーム量FCの比較の結果によらず、常に
パケットを発生する要求であるQが「有効」になるもの
である。このように、優先調停部30の端子Qに与える
要求が常に「有効」にするための論理和回路80を設定
する。When the value given to the terminal DC of the packet generation element is "valid", the packet generation request is always generated regardless of the result of comparison between the normalized packet amount PC and the normalized frame amount FC. A certain Q becomes "valid". In this way, the OR circuit 80 is set so that the request given to the terminal Q of the priority arbitration unit 30 is always "valid".
【0075】前述の第1の実施例では、発生させるパケ
ットの種類に応じてパケット発生要素の個数を決定し、
その個数をNとしたときに、優先順位の最も低いN番目
のパケット発生要素[N]を図11に示す空きセル専用
モジュールとして構成することが必要である。しかし、
本実施例のパケット発生要素を用いて、第1の実施例と
同じ結線で、予めM個(M>N)のパケット発生要素の
構成を実施しておくと、N番目のモジュールのDC端子
に与える値を「有効」とすることで、Mより多くない任
意のN種類のパケット発生に、パケット発生要素の相互
結線を変えることなく、適用することができる。In the above-mentioned first embodiment, the number of packet generating elements is determined according to the type of packet to be generated,
When the number is N, it is necessary to configure the N-th packet generation element [N] having the lowest priority as the empty cell dedicated module shown in FIG. But,
When the packet generating elements of this embodiment are used to configure M (M> N) packet generating elements in advance in the same wiring as in the first embodiment, the DC terminal of the Nth module is connected. By setting the value to be “valid”, it can be applied to the generation of arbitrary N kinds of packets that are not more than M without changing the mutual connection of the packet generating elements.
【0076】本実施例では、前述の第1の実施例の効果
に加え、M個のパケット発生要素で構成の装置を、同一
の構成まま、1種類からM種類までの任意の種類のパラ
メタをもつパケット列を混合して発生できる。 [第3の実施例]次に、本発明の第3の実施例を説明す
る。In this embodiment, in addition to the effects of the first embodiment described above, an apparatus having M packet generating elements can be used with the same configuration and parameters of any type from 1 type to M types can be used. It can be generated by mixing packet sequences. [Third Embodiment] Next, a third embodiment of the present invention will be described.
【0077】本実施例のパケット発生要素は、第1の実
施例のパケット発生要素間の結線を図17に示すように
変更し、パケット発生要素iの中の優先調停部30を図
18に示すものに置き換えている。図17では、発生さ
せるパケットを格納しているメモリ100にパケット本
体だけでなく、パケットの終了位置を知らせる情報を書
き込んでおき、メモリの出力から、この情報を取り出し
て、これを元に全てのパケット発生要素に優先調停を開
始するタイミングを生成している。In the packet generating element of this embodiment, the connection between the packet generating elements of the first embodiment is changed as shown in FIG. 17, and the priority arbitration unit 30 in the packet generating element i is shown in FIG. I have replaced it with one. In FIG. 17, not only the packet main body but also information notifying the end position of the packet is written in the memory 100 storing the packet to be generated, and this information is extracted from the output of the memory, and based on this, all the information is extracted. The timing for starting priority arbitration is generated in the packet generation element.
【0078】例えば、図19に示すメモリ内のパケット
の配列に示すように、どのパケットでもパケットの最後
のオクテットから一定のm個前のオクテットを読み出す
と、同時に終端記号として“1”が読み出されるように
しておく。読み出された終端記号が図17のタイミング
調整部300を起動し、タイミング調整部300が優先
調停を開始させるタイミングを全てのパケット発生要素
に放送する。For example, as shown in the array of packets in the memory shown in FIG. 19, when a certain number of octets before the last octet of a packet is read in any packet, "1" is read as a terminal symbol at the same time. Keep it. The read terminal symbol activates the timing adjustment unit 300 in FIG. 17, and broadcasts the timing at which the timing adjustment unit 300 starts priority arbitration to all packet generation elements.
【0079】図19のパケット発生要素はそれぞれ図1
8に示すパラメタを保持している。このとき、Liのフ
ラグ=「0」とし、パケット発生要素が取り扱うパケッ
トの長さの指定を行わない。また、図18に示すよう
に、各パケット発生要素には端子PTOが不要となる。The packet generating elements shown in FIG. 19 are respectively shown in FIG.
It holds the parameters shown in 8. At this time, the Li flag = “0” is set, and the length of the packet handled by the packet generation element is not designated. Further, as shown in FIG. 18, each packet generating element does not require the terminal PTO.
【0080】図20は、本発明の第3の実施例のパケッ
ト発生要素の優先調停部の構成を示す。同図に示す優先
調停部30は、前述の第1の実施例の図12の構成に比
べて、論理素子Hと端子Nが追加されている。論理素子
Hの真理値表を図21に示す。端子Nに表れる信号の値
は、このパケット発生要素がパケットを発生する権利が
ない場合に「有効」となる。FIG. 20 shows the configuration of the priority arbitration unit of the packet generating element according to the third embodiment of the present invention. In the priority arbitration unit 30 shown in the figure, a logic element H and a terminal N are added as compared with the configuration of FIG. 12 of the first embodiment described above. The truth table of the logic element H is shown in FIG. The value of the signal appearing at terminal N is "valid" if this packet generating element does not have the right to generate a packet.
【0081】端子Nは、図22に示すパケット発生要素
の構成において、動作順序制御部50の端子Eに接続さ
れている。なお、端子Kは第1の実施例と同様に、動作
順序制御部50の端子Bに接続されている。第3の実施
例における動作順序制御部50は、端子Bに有効な値が
与えられた場合の動作は、第1の実施例の場合と同じで
あるが、端子Eに有効な値が与えられた場合には、アド
レス制御部20を端子Aによって、 1.現在パケットを出力しているならば、出力している
パケットの終了後、アドレス制御部20の出力端子AD
を絶縁する: 2.現在パケットを出力していないならば、引続き出力
端子ADを絶縁状態とする:となるように制御する。The terminal N is connected to the terminal E of the operation sequence control unit 50 in the configuration of the packet generating element shown in FIG. Note that the terminal K is connected to the terminal B of the operation sequence control unit 50, as in the first embodiment. The operation sequence control unit 50 in the third embodiment operates in the same manner as in the first embodiment when a valid value is given to the terminal B, but a valid value is given to the terminal E. If the address control unit 20 is connected to the terminal A, 1. If a packet is currently being output, the output terminal AD of the address control unit 20 will be output after the output packet is completed.
Insulate: If no packet is currently output, the output terminal AD is continuously set to the insulated state:
【0082】以上のようにして、本実施例ではパケット
の終了位置を知らせる情報をメモリ100に書き込んで
おけば、例え、終了位置から一定の位置に終端記号を図
19に示すメモリに書き込んでおくことによって、異な
る長さのパケットであっても一つのパケット発生要素で
発生を制御することができる。As described above, in this embodiment, if the information indicating the end position of the packet is written in the memory 100, for example, the terminal symbol is written in the memory shown in FIG. 19 at a fixed position from the end position. Thus, it is possible to control the generation of packets having different lengths with one packet generation element.
【0083】上記の第3の実施例では、第1の実施例の
効果に加えて、必ずしも一定の長さでないパケットを、
一つのパケット発生要素の取扱いで発生させることがで
きる。また、Li(i番目のパケット発生要素[i]が
取り扱うパケットの長さ)を設定しなくてよいので(パ
ラメータLiのフラグ=0)、各パケット発生要素に設
定するパラメタを単純化できる。In addition to the effect of the first embodiment, the third embodiment has the following advantages:
It can be generated by handling one packet generation element. Moreover, since it is not necessary to set Li (the length of the packet handled by the i-th packet generation element [i]) (flag of the parameter Li = 0), the parameters set in each packet generation element can be simplified.
【0084】[第4の実施例]本実施例は、前述の第3
の実施例の優先調停部30を前述の第2の実施例に適用
したものである。図23は、本発明の第4の実施例のパ
ケット発生要素の構成を示す。同図に示す構成により、
前述の第2と第3の実施例の各構成を合わせたものであ
るため、双方の効果を得ることができる。[Fourth Embodiment] This embodiment is the same as the third embodiment described above.
The priority arbitration unit 30 of this embodiment is applied to the above-mentioned second embodiment. FIG. 23 shows the structure of a packet generation element according to the fourth embodiment of the present invention. With the configuration shown in the figure,
Since the configurations of the second and third embodiments described above are combined, both effects can be obtained.
【0085】なお、本発明は、上記の実施例に限定され
ることなく、特許請求の範囲内で種々変更・応用が可能
である。The present invention is not limited to the above embodiments, but various modifications and applications are possible within the scope of the claims.
【0086】[0086]
【発明の効果】上述のように本発明によれば、発生させ
るパケット列のパラメタの種類に応じてパケット列を複
数の種類に応じたN個のパケット発生要素を設置するこ
とにより、パケットを記憶しておく記憶装置について
は、Nに比例する程度の容量でパケットを混合して発生
させることが可能である。従って、パケット配列を巡回
させる周期Tの種類が増加しても、パケット配列を格納
する記憶装置の容量は、種類数に比例する程度にしか大
きくならず、記憶装置の必要容量が増大する問題を実質
的に解決することができる。As described above, according to the present invention, packets are stored by installing N packet generating elements corresponding to a plurality of types of packet sequences according to the types of parameters of the packet sequences to be generated. With respect to the storage device to be stored, it is possible to generate packets by mixing the packets in a capacity that is proportional to N. Therefore, even if the number of types of the cycle T that circulates the packet array increases, the capacity of the storage device that stores the packet array increases only to an extent proportional to the number of types, which increases the required capacity of the storage device. Can be practically solved.
【図1】本発明の第1の原理構成図である。FIG. 1 is a first principle configuration diagram of the present invention.
【図2】本発明の第2の原理構成図である。FIG. 2 is a second principle configuration diagram of the present invention.
【図3】本発明の第3の原理構成図である。FIG. 3 is a third principle configuration diagram of the present invention.
【図4】本発明の第4の原理構成図である。FIG. 4 is a fourth principle configuration diagram of the present invention.
【図5】本発明のシステム構成図である。FIG. 5 is a system configuration diagram of the present invention.
【図6】本発明の第1の実施例のパケット構成要素の構
成図である。FIG. 6 is a configuration diagram of packet components according to the first embodiment of this invention.
【図7】本発明の第1の実施例のメモリ内のパケット配
列を示す図である。FIG. 7 is a diagram showing a packet array in the memory of the first exemplary embodiment of the present invention.
【図8】本発明の第1の実施例のパケット発生要素のパ
ケット発生基準判定部が有するパラメタの例を示す図で
ある。FIG. 8 is a diagram showing an example of parameters included in the packet generation criterion determination unit of the packet generation element according to the first embodiment of this invention.
【図9】本発明の第1の実施例の1つのパケット発生要
素の構成図である。FIG. 9 is a configuration diagram of one packet generating element according to the first embodiment of this invention.
【図10】本発明の第1の実施例の動作タイミングを示
す図である。FIG. 10 is a diagram showing an operation timing of the first embodiment of the present invention.
【図11】本発明の第1の実施例の空きセルを発生させ
る場合のパケット発生要素の構成図である。FIG. 11 is a configuration diagram of a packet generation element when generating an empty cell according to the first embodiment of this invention.
【図12】本発明の第1の実施例の優先調停部の構成図
である。FIG. 12 is a configuration diagram of a priority arbitration unit according to the first embodiment of this invention.
【図13】本発明の第1の実施例の優先調停部の論理素
子Aの真理値表である。FIG. 13 is a truth table of the logic element A of the priority arbitration unit according to the first embodiment of this invention.
【図14】本発明の第1の実施例の優先調停部の論理素
子Bの真理値表である。FIG. 14 is a truth table of the logic element B of the priority arbitration unit according to the first embodiment of this invention.
【図15】本発明の第1の実施例の優先調停部の論理素
子Gの真理値表である。FIG. 15 is a truth table of the logic element G of the priority arbitration unit according to the first embodiment of this invention.
【図16】本発明の第2の実施例のパケット発生要素の
構成図である。FIG. 16 is a configuration diagram of a packet generation element according to the second embodiment of the present invention.
【図17】本発明の第3の実施例のパケット発生要素間
の結線を示す図である。FIG. 17 is a diagram showing connections between packet generation elements according to the third embodiment of this invention.
【図18】本発明の第3の実施例のパラメタの一覧表及
び優先調停部の構成図である。FIG. 18 is a configuration diagram of a parameter list and a priority arbitration unit according to the third embodiment of this invention.
【図19】本発明の第3の実施例のメモリ中のパケット
の配列の例を示す図である。FIG. 19 is a diagram showing an example of an array of packets in the memory of the third exemplary embodiment of the present invention.
【図20】本発明の第3の実施例のパケット発生要素の
優先調停部の構成図である。FIG. 20 is a configuration diagram of a priority arbitration unit of a packet generation element according to the third embodiment of this invention.
【図21】本発明の第3の実施例の論理素子Hの真理値
表である。FIG. 21 is a truth table of the logic element H according to the third embodiment of the present invention.
【図22】本発明の第3の実施例のパケット発生要素の
構成図である。FIG. 22 is a configuration diagram of a packet generation element according to the third embodiment of this invention.
【図23】本発明の第4の実施例のパケット発生要素の
構成図である。FIG. 23 is a configuration diagram of a packet generation element according to the fourth embodiment of the present invention.
【図24】従来のパケット発生の例を示す図である。FIG. 24 is a diagram showing an example of conventional packet generation.
10 パケット発生基準判定手段,パケット発生基準判
定部 11 FC更新制御部 12 PC更新制御部 13 比較部 20 アドレス制御手段,アドレス制御部 30 優先調停手段,優先調停部 40 調停タイミング制御手段,調停タイミング制御部 50 動作順序制御部 70 論理回路 80 論理回路 90 空きセル設定手段 92 空きセル指定部 91 空きセル設定部 100 メモリ 200 フレーム周期発生部 300 タイミング調整部10 packet generation reference determination means, packet generation reference determination portion 11 FC update control portion 12 PC update control portion 13 comparison portion 20 address control means, address control portion 30 priority arbitration means, priority arbitration portion 40 arbitration timing control means, arbitration timing control Part 50 Operation order control part 70 Logic circuit 80 Logic circuit 90 Free cell setting means 92 Free cell designating part 91 Free cell setting part 100 Memory 200 Frame cycle generating part 300 Timing adjusting part
Claims (7)
ておき、 設定された周期Tに基づいてそのパケット発生要素が管
理するパケット配列からその時刻にパケットを取り出し
て発生させるべきであるかどうかを判定し、 前記パケット発生要素よりも優先させる他のパケット発
生要素の有無を判定し、 判定の結果、パケットを生成する場合には、パケット配
列の1個分のパケットを発生させるようにアドレスを制
御して、メモリよりパケットを取り出すことを特徴とす
るパケット列混合発生方法。1. A packet to be generated is stored in a memory, and it is determined whether or not the packet should be extracted at that time from a packet array managed by the packet generation element based on a set cycle T. It is determined whether or not there is another packet generating element that has priority over the packet generating element, and when a packet is generated as a result of the determination, the address is controlled so that one packet in the packet array is generated. Then, the packet sequence mixture generation method is characterized in that the packet is retrieved from the memory.
る場合に、パケット発生要素をパケット発生基準が常に
満たされるように空きセル専用のパケット発生要素とす
る請求項1記載のパケット列混合発生方法。2. The packet string mixture generation method according to claim 1, wherein when there are a plurality of types of packet generation elements, the packet generation element is a packet generation element dedicated to an empty cell so that the packet generation criterion is always satisfied. .
発生が一定時間後に終了することを他のパケット発生要
素にも予告する請求項1記載のパケット列混合発生方
法。3. The packet string mixture generation method according to claim 1, further notifying other packet generation elements that the generation of packets by said packet generation element will be terminated after a fixed time.
時間を設定されたパケット発生頻度とを比較する、パケ
ット発生基準判定手段と、 パケットを発生する権利を結線によって決定された優先
順位に従ってパケットの発生の優先権を調整する優先調
停手段と、 前記優先調停手段を起動させる調停タイミング制御手段
と、 メモリからパケットを読み出すアドレス制御手段とを有
するパケット発生要素を前記優先順位に従って、パケッ
ト発生に必要なパラメタの種類に応じて必要な個数だけ
順次結線しておき、 各前記パケット発生要素にパラメタを設定することによ
り、複数種類の等時的パケット列を混合して発生させる
ことを特徴とするパケット列混合発生装置。4. A packet generation reference determining means for comparing the number of packets generated from a reference time with a packet generation frequency for which an elapsed time has been set, and a packet generation right according to a priority determined by connection. A packet generating element having priority arbitration means for adjusting the priority of the generation of the packet, arbitration timing control means for activating the priority arbitration means, and address control means for reading the packet from the memory are required for the packet generation in accordance with the priority order. Packets characterized in that a plurality of types of isochronous packet strings are mixed and generated by sequentially connecting the required number of wires according to the types of various parameters and setting parameters in each of the packet generation elements. Row mixing generator.
メタの設定によって前記パケット発生基準判定手段の結
果をパケット発生基準が常に満たされているように置き
換える空きセル設定手段をさらに有する請求項4記載の
パケット列混合発生装置。5. The packet according to claim 4, further comprising empty cell setting means for replacing the result of said packet generation criterion determination means by setting a parameter in each said packet generation element so that the packet generation criterion is always satisfied. Row mixing generator.
に該パケットが終了する予告情報を格納し、 前記優先調停手段は、前記予告情報に基づいて起動する
請求項4記載のパケット列混合発生装置。6. The packet string mixture generating apparatus according to claim 4, wherein the memory stores the packet to be generated and the advance notice information that the packet ends, and the priority arbitration unit is activated based on the advance notice information.
に該パケットが終了する予告情報を格納し、 前記優先調停手段は、前記予告情報に基づいて起動する
請求項5記載のパケット列混合発生装置。7. The packet string mixture generating apparatus according to claim 5, wherein the memory stores, together with a packet to be generated, advance notice information that the packet will end, and the priority arbitration unit is activated based on the advance notice information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30626595A JP3286886B2 (en) | 1995-11-24 | 1995-11-24 | Packet sequence mixing generation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30626595A JP3286886B2 (en) | 1995-11-24 | 1995-11-24 | Packet sequence mixing generation method and apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09149082A true JPH09149082A (en) | 1997-06-06 |
JP3286886B2 JP3286886B2 (en) | 2002-05-27 |
Family
ID=17955004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30626595A Expired - Fee Related JP3286886B2 (en) | 1995-11-24 | 1995-11-24 | Packet sequence mixing generation method and apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3286886B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5852602A (en) * | 1996-01-29 | 1998-12-22 | Nec Corporation | Credit control method and system for ATM communication apparatus |
-
1995
- 1995-11-24 JP JP30626595A patent/JP3286886B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5852602A (en) * | 1996-01-29 | 1998-12-22 | Nec Corporation | Credit control method and system for ATM communication apparatus |
Also Published As
Publication number | Publication date |
---|---|
JP3286886B2 (en) | 2002-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6885639B2 (en) | Packet switch and packet switching method | |
JP2991282B2 (en) | Cell multiplex conversion method and system for constant, variable, maximum effort data on asynchronous networks | |
KR930004911B1 (en) | Multiphase packet switching system | |
US5901146A (en) | Asynchronous data transfer and source traffic control system | |
US6813249B1 (en) | System and method for prefetching data | |
CN1214168A (en) | Efficient output-request packet switch and method | |
JPH0338137A (en) | High-speed digital packet exchanging system | |
EP1491011B9 (en) | Packet scheduling mechanism | |
US10938715B2 (en) | Throughput in a crossbar network element by modifying mappings between time slots and ports | |
JPH09149082A (en) | Packet string mixing generating method and device | |
EP0089683A1 (en) | Improvements relating to PCM switching units | |
US7233592B1 (en) | Packet transfer control circuit | |
US6816924B2 (en) | System and method for tracing ATM cells and deriving trigger signals | |
US7239633B1 (en) | Ethernet switch and method of switching | |
Martel et al. | Dynamic prioritized conflict resolution on multiple access broadcast networks | |
JP3558904B2 (en) | ATM cell queue read scheduling method and apparatus | |
Pattavina | Performance evaluation of a Batcher-banyan interconnection network with output pooling | |
JP2893850B2 (en) | Serial data transmission method | |
JP4068263B2 (en) | Cell transmission circuit | |
JPH0583284A (en) | Access control system for buffer in concentrator | |
Hradovich | Efficient communication algorithms in shared channels with adversary | |
JPH09149043A (en) | Contention multiplexer | |
JPH10173684A (en) | Communication control system | |
CN115941774A (en) | Service node selection method, device, electronic device and storage medium | |
JPH07321750A (en) | Packet data generator |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090315 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090315 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100315 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110315 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110315 Year of fee payment: 9 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120315 Year of fee payment: 10 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130315 Year of fee payment: 11 |
|
LAPS | Cancellation because of no payment of annual fees |