JPS62176239A - Packet transmission delay measuring system - Google Patents

Packet transmission delay measuring system

Info

Publication number
JPS62176239A
JPS62176239A JP61017517A JP1751786A JPS62176239A JP S62176239 A JPS62176239 A JP S62176239A JP 61017517 A JP61017517 A JP 61017517A JP 1751786 A JP1751786 A JP 1751786A JP S62176239 A JPS62176239 A JP S62176239A
Authority
JP
Japan
Prior art keywords
packet
circuit
measurement
transmission
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61017517A
Other languages
Japanese (ja)
Inventor
Susumu Tominaga
冨永 進
Satoshi Nojima
聡 野島
Takayuki Hasebe
高行 長谷部
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61017517A priority Critical patent/JPS62176239A/en
Publication of JPS62176239A publication Critical patent/JPS62176239A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the effect of a measured communication line onto traffic by informing a signal representing the packet sending from the transmission side to the reception side through other line than the transmission line and allowing the reception side to measure the time until the arrival of packet after the signal is detected. CONSTITUTION:A packet transmission data bus 101 and a signal line 102 are provided between the transmission side and the reception side. A measuring packet sending signal representing the sending of a packet is sent to a signal line by a measuring packet sending signal generating means 103 at the transmission side. A packet transferred from a comparison means 104 at the reception side via the data bus 101 and the same packet received via a packet communication line are collated and a transmission delay time measuring means 105 measures the time from the detection of a measured packet sending signal till the coincidence of collation of the packets to measure the transmission delay of the packet.

Description

【発明の詳細な説明】 〔目 次〕 概 要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を)W決するための手段(第1図〜第2図) 作用 実施例 第1の実施例(第3図) 第2の実施例(第4図〜第9図) 発明の効果 〔概 要〕 パケット送信回路からパケット通信路を経てパケット受
信回路に至るパケット伝送遅延を測定する方式において
、送信側からパケット通信路にパケットを送出するとと
もにパケット転送用データバスにもパケットを転送し、
さらに測定パケット送出信号を信号線に送出する。受信
側では測定パケット送出信号を検出してから、データバ
スに転送されたパケットと同一のバケツ1−がパケット
通信路を経て受信されるまでの時間を測定してパケット
伝送遅延時間を求める。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Conventional technology Problems to be solved by the invention Means for determining the problems (Figs. 1 to 2) Working examples First Example (Figure 3) Second Example (Figures 4 to 9) Effects of the Invention [Summary] Measuring the packet transmission delay from the packet transmission circuit to the packet reception circuit via the packet communication path In this method, the sending side sends the packet to the packet communication path and also transfers the packet to the data bus for packet transfer.
Furthermore, a measurement packet sending signal is sent to the signal line. On the receiving side, the packet transmission delay time is determined by measuring the time from when the measurement packet transmission signal is detected to when the same bucket 1- as the packet transferred to the data bus is received via the packet communication path.

また複数のパケット送信回路と複数のパケット受信回路
とをパケット通信網を介して接続してなる系における複
数のパケットの伝送遅延を測定する方式において、パケ
ット中にフラグを立ててパケット通信網に送出するとと
もに、測定パケット送出信号を信号線に送出する。受信
側では測定パケット送出信号を検出してからフラグが検
出されるまでの時間を測定することによって、パケット
伝送遅延時間を求める。この際測定パケット送出信号の
送出を時分割多重で行うことによって、複数パケットの
伝送遅延の同時測定を行う。
Also, in a method for measuring the transmission delay of multiple packets in a system in which multiple packet transmitting circuits and multiple packet receiving circuits are connected via a packet communication network, a flag is set in the packet and sent to the packet communication network. At the same time, a measurement packet sending signal is sent to the signal line. On the receiving side, the packet transmission delay time is determined by measuring the time from when the measurement packet sending signal is detected to when the flag is detected. At this time, the transmission delay of a plurality of packets is simultaneously measured by transmitting the measurement packet transmission signal by time division multiplexing.

〔産業上の利用分野〕[Industrial application field]

本発明はパケットの伝送遅延を測定する方式に係り、特
にパケットの通信路に影響を与えることなく、かつ通信
路速度に影響されないパケット伝送遅延測定方式に関す
るものである。
The present invention relates to a method for measuring packet transmission delay, and particularly to a method for measuring packet transmission delay without affecting a packet communication channel and unaffected by communication channel speed.

パケット網においては、バケツ(の遅延時間は網計価に
対する要素となるものであり、従ってパケット伝送遅延
時間を効率的にかつ正確に測定することができる方式が
要望されている。
In a packet network, the delay time of a bucket (bucket) is an element in network cost, and therefore there is a need for a method that can efficiently and accurately measure packet transmission delay time.

〔従来の技術〕[Conventional technology]

従来用いられているパケット伝送遅延測定方式式として
は、パケット送信側から測定用制御パケットを発生し、
この制御パケットに絶対時刻等を刻印して送信し、パケ
ット受信側において測定用制御パケットを検出したとき
、その到着時刻との差からパケット伝送遅延時間間を測
定する方式が一般的である。
The conventional method for measuring packet transmission delay is to generate a control packet for measurement from the packet transmitting side,
Generally, the control packet is stamped with an absolute time and transmitted, and when the measurement control packet is detected on the packet receiving side, the packet transmission delay time is measured from the difference from the arrival time.

〔発明がIW決しようとする問題点〕[Problems that the invention attempts to resolve]

このような従来のパケット伝送遅延測定方式では、パケ
ット伝送遅延測定のために測定用制御パケットという特
別のバケツ1−を制御する回路が必要になるとともに、
この特別のパケットが測定通信路のトラフィックとなり
、そのため正確な遅延時間測定を行うことができないと
いう問題があった。
Such a conventional packet transmission delay measurement method requires a circuit to control a special bucket 1- called a measurement control packet in order to measure packet transmission delay.
This special packet becomes traffic on the measurement channel, and therefore there is a problem in that accurate delay time measurement cannot be performed.

〔問題点を解決するための手段〕[Means for solving problems]

このような従来技術の問題点を解決するため、第1の発
明においては第1図の原理的構成図に示すように、パケ
ット送信回路からパケット通信路を経てパケット受信回
路に至るパケット伝送遅延を測定する方式において、送
信回路と受信回路の間にパケット転送用データバス(1
01)と信号線(102)とを設ける。
In order to solve these problems of the prior art, in the first invention, as shown in the principle block diagram of FIG. 1, the packet transmission delay from the packet transmission circuit to the packet reception circuit via the packet communication path is reduced. In the measurement method, a data bus for packet transfer (1
01) and a signal line (102).

103はパケットの送出を示す測定パケット送出信号を
信号IJJI(102)に送出する測定パケット送出信
号発生手段であって、送信側に設けられる。
Reference numeral 103 denotes a measurement packet sending signal generating means for sending a measurement packet sending signal indicating the sending of a packet as a signal IJJI (102), and is provided on the sending side.

104はパケット転送用データバス(lot)を介して
転送されたパケットとパケット通信路を経て受信された
同一パケットとを照合する比較手段、105は測定パケ
ット送出信号の検出からバケットの照合一致までの時間
を測定する伝送遅延時間測定手段であって、これらは受
信側に設けられる。
Reference numeral 104 refers to comparison means for comparing the packet transferred via the packet transfer data bus (lot) with the same packet received via the packet communication path, and reference numeral 105 refers to a comparison unit for comparing the packet transferred via the packet transfer data bus (lot) with the same packet received via the packet communication path. Transmission delay time measuring means for measuring time, these are provided on the receiving side.

また第2の発明においては第2図の原理的構成図に示す
ように、複数のパケット送信回路と複数のパケット受信
口路とをパケット通信網を介して接続してなる系におけ
る複数のパケットの伝送遅延を測定する方式において、
複数のパケット送信回路と複数のパケット受信回路を接
続する信号線(201)を設ける。
In addition, in the second invention, as shown in the principle block diagram of FIG. In the method of measuring transmission delay,
A signal line (201) is provided to connect a plurality of packet transmitting circuits and a plurality of packet receiving circuits.

202はパケット通信網を経て伝送されるパケット中に
測定フラグを立てるフラグ付加手段、203はパケット
の送出を示す測定パケット送出信号を信号線(201’
)に送出する測定パケット送出信号発生手段であって、
これらは各パケット送信回路に設けられる。
202 is a flag adding means for setting a measurement flag in a packet transmitted via a packet communication network, and 203 is a signal line (201') for transmitting a measurement packet sending signal indicating the sending of a packet.
) A measurement packet sending signal generating means for sending out a measurement packet to
These are provided in each packet transmission circuit.

204はパケット中のフラグを検出するフラグ検出手段
、205は測定パケット送出信号の検出からフラグの検
出までの時間を測定する伝送遅延時間測定手段であって
、これらは各パケット受信回路に設けられる。
204 is a flag detecting means for detecting a flag in a packet; 205 is a transmission delay time measuring means for measuring the time from detection of a measurement packet sending signal to detection of the flag; these are provided in each packet receiving circuit.

〔作 用〕[For production]

第1の発明においては、送信側からパケット通信網にパ
ケットを送出するとともにパケット転送用データバスに
もパケットを転送し、さらに測定パケット送出信号を信
号線に送出する。受信側では測定パケット送出信号を検
出してから、データバスに転送されたパケットと同一の
パケットがパケット通信路を経て受信されるまでの時間
を測定することによって、パケット伝送遅延時間を求め
る。
In the first invention, a packet is sent from the sending side to a packet communication network, the packet is also transferred to a data bus for packet transfer, and a measurement packet sending signal is sent to a signal line. On the receiving side, the packet transmission delay time is determined by measuring the time from when the measurement packet transmission signal is detected until the same packet as the packet transferred to the data bus is received via the packet communication path.

第2の発明においては、パケット中にフラグを立ててパ
ケット通信網に送出するとともに、測定パケット送出信
号を信号線に送出する。受信側では測定パケット送出信
号を検出してからフラグが検出されるまでの時間を測定
することによって、パケット伝送遅延時間を求める。こ
の際測定パケット送出信号の送出を時分割多重で行うこ
とによって、複数パケットの伝送遅延の同時測定が行わ
れる。
In the second invention, a flag is set in the packet and sent to the packet communication network, and a measurement packet sending signal is sent to the signal line. On the receiving side, the packet transmission delay time is determined by measuring the time from when the measurement packet sending signal is detected to when the flag is detected. At this time, the transmission delay of a plurality of packets can be measured simultaneously by transmitting the measurement packet transmission signal by time division multiplexing.

〔実施例〕〔Example〕

(第1の実施例) 第3図は本発明の一実施例の構成を示したものである。 (First example) FIG. 3 shows the configuration of an embodiment of the present invention.

1は送信回路であって、ラッチ回路10゜アドレスラッ
チ12.比較回路13.ゲート14を有している。2は
受信回路であって、ラッチ回路11.−比較回路15.
シフトレジスタ16.1?、遅延測定用カウンタ18.
ゲート19を有している。送信回路1と受信回路2とは
、測定条件のトラヒックが与えられているパケット通信
路3によって結ばれている。また4はパケット伝送遅延
時間測定のための制御回路であって、状態制御回路20
を有している。
1 is a transmitting circuit including a latch circuit 10°, an address latch 12. Comparison circuit 13. It has a gate 14. 2 is a receiving circuit, and includes a latch circuit 11. - Comparison circuit 15.
Shift register 16.1? , delay measurement counter 18.
It has a gate 19. The transmitting circuit 1 and the receiving circuit 2 are connected by a packet communication path 3 to which traffic under measurement conditions is applied. 4 is a control circuit for measuring packet transmission delay time, and a state control circuit 20
have.

送信回路1.受信回路2と制御回路4とは、パケット通
信路3とは別線からなるデータバス、アドレスバス、各
種制御信号線等によって接続されている。
Transmission circuit 1. The receiving circuit 2 and the control circuit 4 are connected by a data bus, an address bus, various control signal lines, etc. which are separate lines from the packet communication path 3.

送信回路1において、ラッチ回路10は送信パケットを
ラッチして、パケット通信路3に送信するとともに、ゲ
ート14にも出力する。アドレスラッチ12は制御回路
4から被測定アドレスの設定用バスを経て、被測定パケ
ットのアドレスを予め設定されて保持している。比較回
路13は2ボートのデータ入力を有し、両者を並列に比
較して、両者の大小または等しいことを示す比較結果を
出力する。
In the transmission circuit 1, the latch circuit 10 latches the transmission packet and transmits it to the packet communication path 3, and also outputs it to the gate 14. The address latch 12 has the address of the packet to be measured set in advance from the control circuit 4 via the bus for setting the address to be measured. The comparison circuit 13 has two data inputs, compares both in parallel, and outputs a comparison result indicating that the two are greater or smaller or equal.

受信回路2において、ラッチ回路11は受信パケットを
ラッチして送出するとともに、ゲート19にも出力する
。シフトレジスタ16はゲート14を介して出力され、
データバスを経て入力された送信パケットを設定され、
またシフトレジスタ17はゲー目9を介して入力された
受信パケットを設定されて、それぞれ設定されたデータ
列をシフトしながら並列に出力する。比較回路15は2
ポートのデータ入力を有し、シフトレジスタ16におけ
る送信パケットのデータ列と、シフトレジスタ17にお
ける受信パケットのデータ列とを並列に比較して、両者
の大小または等しいことを示す比較結果を出力する。遅
延測定用カウンタ18は、パケットの遅延測定用に用い
られるものである。
In the receiving circuit 2, the latch circuit 11 latches the received packet and sends it out, and also outputs it to the gate 19. The shift register 16 is output via the gate 14,
The transmission packet input via the data bus is set,
Further, the shift register 17 is set with the received packets inputted through the gate 9, and outputs the set data strings in parallel while shifting them. Comparison circuit 15 is 2
It has a port data input, and compares the data string of the transmitted packet in the shift register 16 and the data string of the received packet in the shift register 17 in parallel, and outputs a comparison result indicating that the two are larger or smaller or equal. The delay measurement counter 18 is used to measure packet delay.

制御回路4において、状態制御回路20は各種信号線の
信号を発生するとともに、状態を管理する機能を行う。
In the control circuit 4, a state control circuit 20 generates signals on various signal lines and also performs a state management function.

制御回路4内における状態制御回路20は、予め被測定
パケットのアドレスを送信回路1内のアドレスラッチ1
2に格納しておき、任意の時刻に測定開始信号を送信回
路1内のラッチ回路10に送って、測定開始を通知する
。ラッチ回路10はこの通知を受信したとき、受信した
パケットのアドレス部のみを比較回路13に転送する。
The state control circuit 20 in the control circuit 4 stores the address of the packet to be measured in advance in the address latch 1 in the transmission circuit 1.
2, and sends a measurement start signal to the latch circuit 10 in the transmitter circuit 1 at an arbitrary time to notify the start of measurement. When the latch circuit 10 receives this notification, it transfers only the address part of the received packet to the comparison circuit 13.

比較回路13はラッチ回路10からの受信パケットのア
ドレスと、アドレスラッチ12にラッチされている被測
定アドレスとを比較して、同じ値が検出されたとき、測
定パケットの送信開始信号をゲート14に出力して、ラ
ッチ回路10から被測定パケットのデータを制御回路4
に対して送出させるとともに、送信開始信号を制御回路
4内の状態制御回路20に送る。これによって制御回路
4は、データを受信回路2に通知する。この場合受信回
路2に通知されるデータは、測定パケットであることを
判断できる程度のデータ長とする。
The comparison circuit 13 compares the address of the received packet from the latch circuit 10 and the measured address latched in the address latch 12, and when the same value is detected, sends a measurement packet transmission start signal to the gate 14. The data of the packet under test is output from the latch circuit 10 to the control circuit 4.
At the same time, a transmission start signal is sent to the state control circuit 20 in the control circuit 4. Accordingly, the control circuit 4 notifies the receiving circuit 2 of the data. In this case, the data notified to the receiving circuit 2 has a data length that allows it to be determined that it is a measurement packet.

受信回路2においては、通知されたデータをシフトレジ
スタ16に逐次記憶する。また送信回路1からの測定パ
ケット送信開始信号によって制御回路4は、受信回路2
に対して測定開始通知信号を送出し、この信号によって
ゲート19がイネーブルにされる。これによってラッチ
回路11からシフ1−レジスタ17ヘデータが転送され
て、逐次記1.なされる。これと同時に遅延測定用カウ
ンタI8も、測定開始通知信号によってカウントを開始
する。比較回路15は両シフトレジスタ16.17から
それぞれ入力される1列の並列データを比較照合し、一
致していないときは、シフトレジスタ17をシフトして
ラッチ回路11から新しいデータを補いながら、比較照
合を続ける。
In the receiving circuit 2, the notified data is sequentially stored in the shift register 16. In addition, the control circuit 4 receives the measurement packet transmission start signal from the transmitting circuit 1, and the receiving circuit 2
A measurement start notification signal is sent to the gate 19, and the gate 19 is enabled by this signal. As a result, data is transferred from the latch circuit 11 to the shift 1 register 17, and the data is sequentially transferred to the shift 1 register 17. It will be done. At the same time, the delay measurement counter I8 also starts counting in response to the measurement start notification signal. Comparison circuit 15 compares and collates one column of parallel data input from both shift registers 16 and 17, and if they do not match, shifts shift register 17 and supplements new data from latch circuit 11 while comparing. Continue checking.

比較回路15においてデータの一致がとれたときは、測
定終了と判定して測定終了通知信号を制御回路4内の状
態制御回路20に出力すると同時に、遅延測定用カウン
タ18の動作を禁止し、そのカウント値を制御回路4に
通知する。これによって制御回路4は被測定パケットに
対する伝送遅延時間を知ることができる。
When the data match in the comparator circuit 15, it is determined that the measurement is completed and a measurement completion notification signal is output to the state control circuit 20 in the control circuit 4, and at the same time, the operation of the delay measurement counter 18 is inhibited. The count value is notified to the control circuit 4. This allows the control circuit 4 to know the transmission delay time for the packet under test.

以上の動作は繰り返して行ってもよく、または−回の測
定終了ごとに停止してもよい。このような動作モードの
選択は、状態制御回路20によって制御される。
The above operation may be performed repeatedly, or may be stopped every time - measurements are completed. Selection of such an operating mode is controlled by the state control circuit 20.

このようにしてパケットの伝送遅延を測定することがで
きる。しかしながら複数パケットの同時遅延測定を行お
うとする場合には、送信回路において受信回路側の情報
を有しないため、受信回路において測定パケットの重複
が生じるおそれがあり、また測定パケット送出信号を受
信回路に送出する機能を設けることが必要になる。
In this way, the packet transmission delay can be measured. However, when trying to measure the delay of multiple packets simultaneously, since the transmitting circuit does not have information on the receiving circuit side, there is a risk of duplication of measurement packets in the receiving circuit, and the measurement packet sending signal is sent to the receiving circuit. It is necessary to provide a sending function.

(第2の実施例) 第4図は本発明の他の実施例を示したものであって、測
定のために伝送路のトラヒックに変動をもたらすことな
しに、複数パケットの遅延同時測定が可能なものである
。同図は全体構成を示し、1 1.1 2.−1  n
は送信回路、2−1゜2−2.−・−22−nは受信回
路、4は制御回路であって、各送信回路と受信回路とは
それぞれ伝送路を介してパケット通信11Q3Aと接続
されている。
(Second Embodiment) FIG. 4 shows another embodiment of the present invention, in which the delay of multiple packets can be measured simultaneously without causing fluctuations in the traffic on the transmission path for measurement. It is something. The figure shows the overall configuration, 1 1.1 2. -1 n
is a transmitting circuit, 2-1°2-2. -.-22-n is a receiving circuit, 4 is a control circuit, and each transmitting circuit and receiving circuit are respectively connected to the packet communication 11Q3A via a transmission path.

さらに、各送信回路と受信回路および制御回路4は、デ
ータバス5.アドレスバス6によってハス接続されると
ともにクロック信号線7を並列に接続され、また測定パ
ケット送出信号線8によってループ状に接続されている
Further, each transmitting circuit, receiving circuit, and control circuit 4 connect to a data bus 5. They are connected in a helical manner by an address bus 6, connected in parallel with a clock signal line 7, and connected in a loop by a measurement packet sending signal line 8.

各送信回路は被測定パケットの一部に測定フラグを立て
、通常のデータが送信されている通信路に送出する機能
を有している。また各受信回路は通常のデータが受信さ
れている状態において、受信パケットの中から測定フラ
グを検知する機能を持っている。各送信回路と受信回路
とは制御回路からのクロックによって同期がとられてお
り、送信回路は、制御回路から任意に書き替えることが
可能な測定パケット指定レジスタと、受信回路に1対1
に対応して設けられ、測定パケット送出信号のタイムス
ロットの割り当てを指定するタイムスロット指定レジス
タとを有し、受信回路は遅延時間の値を保持する遅延デ
ータレジスタを有している。
Each transmitting circuit has a function of setting a measurement flag on a part of the packet to be measured and transmitting it to the communication path where normal data is being transmitted. Each receiving circuit also has a function of detecting a measurement flag from a received packet while normal data is being received. Each transmitting circuit and receiving circuit are synchronized by a clock from the control circuit, and the transmitting circuit has a measurement packet designation register that can be rewritten arbitrarily from the control circuit, and a one-to-one connection to the receiving circuit.
The receiver circuit has a time slot designation register that is provided corresponding to the measurement packet transmission signal and designates the time slot assignment of the measurement packet transmission signal, and the reception circuit has a delay data register that holds the value of the delay time.

また第5図は本実施例におけるクロックのタイミングを
示したものである。クロックは制御回路4におけるクロ
ック発生回路で作成され、CKOは測定バケツ1−送出
信号を時分割多重で発生するための基本クロックであり
、CKIは時分割多重で発生する測定パケット送出信号
を、各送信回路および受信回路で同期させるための同期
クロックである。
Further, FIG. 5 shows the clock timing in this embodiment. The clock is generated by the clock generation circuit in the control circuit 4, CKO is the basic clock for generating the measurement bucket 1 transmission signal by time division multiplexing, and CKI is the basic clock for generating the measurement packet transmission signal generated by time division multiplexing. This is a synchronization clock for synchronizing the transmitting circuit and receiving circuit.

第6図は制御回路4の詳細な構成を示すブロック図であ
る。21はクロック発生回路であって、クロックCKO
,CKIを発生する。22はパケットT。
FIG. 6 is a block diagram showing the detailed configuration of the control circuit 4. As shown in FIG. 21 is a clock generation circuit, and clock CKO
, CKI is generated. 22 is a packet T.

Hテーブルであって、パケットのトランスミッションヘ
ッダ(T、H)の値を、任意に書き替えて設定されてい
る。デコーダ詔はCPU24の発生するパケットアドレ
スをデコードしてバッファ四をイネーブルにし、これに
よって受信状態データが読み取り可能となる。またレジ
スタルの出力をイネーブルにし、トランスミッションヘ
ッダの値を読み出し可能とする。またバッファ27.2
8をイネーブルにしてそれぞれタイムスロットデータと
、測定開始信号および回路セレクトデータを読み出し可
能にする。ここでバッファ27をイネーブルにすると同
時にT、Hレジスタ26を更新してパケットT、Hテー
ブル22から読み出されたトランスミッションヘッダの
値を書き込む。バッファ29は測定パケット送出信号を
折り返して、受信回路に送出する。
The H table is set by arbitrarily rewriting the values of the transmission header (T, H) of the packet. The decoder command decodes the packet address generated by the CPU 24 and enables buffer 4, thereby making the reception status data readable. It also enables the output of the register and makes it possible to read the value of the transmission header. Also buffer 27.2
8 to enable reading of time slot data, measurement start signal, and circuit select data. Here, the buffer 27 is enabled, and at the same time the T and H registers 26 are updated and the transmission header value read from the packet T and H table 22 is written. The buffer 29 returns the measurement packet sending signal and sends it to the receiving circuit.

第7図は各送信回路の詳細な構成を示すブロック図であ
る。31は送信回路セレクトレジスタであって、デコー
ダ32によってパケット測定ごとに更新されて、データ
バスから書き込まれた送信回路番号の値を保持する。−
数構出回路33はこの値と送信回路番号レジスタ34に
例えばロークリスイッチ等の手段で予め書き込まれてい
る送信回路番号とを比較して、一致したときデコーダ3
5をイネーブルにする。これによってデコーダ35を介
して制御されて、タイムスロット指定レジスタ36.測
定パケット指定レジスタ379、測定開始信号レジスタ
38がクリアされて、制御回路から出力されているデー
タバス上のデータが書き込まれる。送信制御回路39は
伝送路上のパケットを検出してT、 Hレジスタ40を
クリアし、トランスミッションヘッダの値を書き込ませ
る。−数構出回路41は測定パケット指定レジスタ37
に保持された値と、T、 Hレジスタ40の値との一致
を検出して、測定フラグ付加回路42をイネーブルにし
、これによって測定フラグ付加回路42は伝送路上のパ
ケットにフラグを付加する。測定パケット送出信号付加
回路43は、前段の送信回路からの測定パケット送出信
号に、タイムスロット指定レジスタ36によって指定さ
れるタイムスロットで測定パケット送出信号を付加して
、次段に送出する。
FIG. 7 is a block diagram showing the detailed configuration of each transmitting circuit. Reference numeral 31 denotes a transmitting circuit select register, which is updated by the decoder 32 every time a packet is measured, and holds the value of the transmitting circuit number written from the data bus. −
The number output circuit 33 compares this value with the transmitting circuit number previously written in the transmitting circuit number register 34 by means such as a low reswitch, and when they match, the decoder 3
Enable 5. This is controlled via the decoder 35 and the time slot designation register 36. The measurement packet designation register 379 and the measurement start signal register 38 are cleared, and the data on the data bus output from the control circuit is written. The transmission control circuit 39 detects a packet on the transmission path, clears the T and H registers 40, and writes the value of the transmission header. - The number output circuit 41 is the measurement packet specification register 37
The measurement flag addition circuit 42 is enabled by detecting a match between the value held in the T and H registers 40 and the value of the T,H register 40, and thereby the measurement flag addition circuit 42 adds a flag to the packet on the transmission path. The measurement packet transmission signal adding circuit 43 adds a measurement packet transmission signal to the measurement packet transmission signal from the previous stage transmitting circuit at the time slot designated by the time slot designation register 36, and transmits the signal to the next stage.

第8図は各受信回路の詳細な構成を示すブロック図であ
る。51は受信回路セレクトレジスタであって、デコー
ダ52によって制御回路が受信回路を選択するごとに更
新され、データバスから書き込まれた受信回路番号の値
を保持する。受信状態レジスタ53はデコーダ52出力
に応じてクリアされて受信状態を書き込み、遅延データ
レジスタ54はフラグ検出回路62のフラグ検出によっ
てクリアされ、デコーダ52出力によって遅延データを
書き込む。
FIG. 8 is a block diagram showing the detailed configuration of each receiving circuit. A receiving circuit select register 51 is updated each time the control circuit selects a receiving circuit by the decoder 52, and holds the value of the receiving circuit number written from the data bus. The reception state register 53 is cleared in response to the output of the decoder 52 and the reception state is written therein, and the delay data register 54 is cleared by flag detection by the flag detection circuit 62 and delayed data is written in accordance with the output of the decoder 52.

−数構出回路55は受信回路セレクトレジスタ51の値
と曖信回路番号レジスタ56に例えばロークリスイッチ
等の手段で予め書き込まれている受信回路番号とを比較
して、一致したときバッファ57.58をイネーブルに
し、これによって、受信状態と遅延データとがデータバ
スに出力される。またこれによって遅延カウンタ59が
クリアされる。60はパケット送出信号検出回路であっ
て、受信回路番号レジスタ56に設定されている番号に
対応する測定パケット送出信号を検出したとき、遅延カ
ウンタ59のカウントを開始させる。受信制御回路6I
は伝送路上のパケットを検出したとき、フラグ検出回路
62をクリアし、フラグ検出回路62はフラグを検出し
たとき、遅延カウンタ59のカウントを停止する。
- The number output circuit 55 compares the value of the reception circuit select register 51 with the reception circuit number written in advance in the ambiguous circuit number register 56 by means such as a low reswitch, and when they match, the buffer 57. 58, which outputs the receive status and delayed data to the data bus. This also clears the delay counter 59. Reference numeral 60 denotes a packet transmission signal detection circuit, which causes the delay counter 59 to start counting when a measurement packet transmission signal corresponding to the number set in the receiving circuit number register 56 is detected. Reception control circuit 6I
When detecting a packet on the transmission path, it clears the flag detection circuit 62, and when the flag detection circuit 62 detects a flag, it stops counting the delay counter 59.

第4図に示された実施例におけるパケット遅延測定の手
順は、第9図のタイムチャートによって示される。
The packet delay measurement procedure in the embodiment shown in FIG. 4 is shown by the time chart in FIG.

まず送信回路における各レジスタにデータの書き込みが
行われる(第9図■)。次に測定開始信号レジスタ38
に“1”が書き込まれると(第9図■)、送信制御回路
39によってとられたタイミングによって、T、Hレジ
スタ40の値と測定パケッl定レジスタ37の値との比
較が行われ、不一致のときは次のパケットを待ち、一致
したならば伝送路上のパケットに測定フラグを付加し、
同時にタイムスロット1旨定レジスタ36で指定された
タイムスロットに測定パケット送出信号付加する。
First, data is written into each register in the transmitting circuit (FIG. 9). Next, the measurement start signal register 38
When "1" is written in (Fig. 9), the values of the T and H registers 40 and the value of the measurement packet constant register 37 are compared according to the timing taken by the transmission control circuit 39, and a mismatch is detected. If , wait for the next packet, and if it matches, add a measurement flag to the packet on the transmission path,
At the same time, a measurement packet sending signal is added to the time slot designated by the time slot 1 designation register 36.

受信回路においては、測定バケット送出信号中から、受
信回路番号と1対1に対応するタイムスロットによって
受信回路に対応した測定パケット送出信号を検出しく第
9図■)、これによって遅延カウンタ59をスタートさ
せる。次に伝送路上のパケットの中からフラグが付加さ
れている部分を受信制御回路61によって取り出し、フ
ラグ検出回路62によって測定フラグを検出する(第9
図■)。
The receiving circuit detects the measurement packet sending signal corresponding to the receiving circuit from the measurement bucket sending signal using the time slot that corresponds one-to-one with the receiving circuit number (Fig. 9 ■), thereby starting the delay counter 59. let Next, the reception control circuit 61 extracts the portion to which the flag has been added from the packet on the transmission path, and the flag detection circuit 62 detects the measurement flag (9th
Figure ■).

フラグ検出によって遅延カウンタ59のカウントを停止
し、遅延カウンタ59の値を遅延データレジスタ54に
書き込み、同時に受信状態レジスタ53に信号を送る。
Upon detection of the flag, the delay counter 59 stops counting, writes the value of the delay counter 59 to the delay data register 54, and simultaneously sends a signal to the reception status register 53.

受信状態レジスタ53は、遅延カウンタ59の状態を示
ずカウンタであって、遅延カウンタ59がオーバフロー
したのか、フラグIQ出によってカウント停止している
のか、またはそれぞれ以外の状態なのかが書き込まれて
、一定のインターバルで読み出されている。受信状態レ
ジスタ53がカウンタオーバフローを示す状態のときは
、パケット廃棄として扱われ、受信状態レジスタ53は
クリアされる。またフラグが検出されて遅延カウンタ5
9が停止したときは、次のザイクル開始前に遅延データ
レジスタ54から遅延データを読み出しく第9図■)、
受信状態レジスタ53をクリアする。遅延カウンタ59
は遅延データの読み出し、またはオーバフローによって
クリアされる。次の測定サイクルにおいて、送信回路の
レジスタは測定パケットに変更があればデータが更新さ
れるが、(第9図■*)、変更がないときはデータは書
き替えられない。
The reception status register 53 is a counter that does not indicate the status of the delay counter 59, and it is written therein whether the delay counter 59 has overflowed, has stopped counting due to the output of the flag IQ, or is in any other status. It is read out at regular intervals. When the reception status register 53 is in a state indicating a counter overflow, the packet is treated as discarded, and the reception status register 53 is cleared. Also, a flag is detected and the delay counter 5
9 has stopped, read the delay data from the delay data register 54 before starting the next cycle (Fig. 9■),
Clear the reception status register 53. delay counter 59
is cleared by reading delayed data or by overflow. In the next measurement cycle, the data in the register of the transmitting circuit is updated if there is a change in the measurement packet ((*) in FIG. 9), but if there is no change, the data is not rewritten.

第4図の実施例では、このように測定パケット送出信号
を時分割で送出することによって、複数パケットの伝送
遅延の同時測定を行うことができる。
In the embodiment shown in FIG. 4, transmission delays of a plurality of packets can be measured simultaneously by transmitting the measurement packet transmission signal in a time-division manner.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明方式によれば、送信側からの
パケット送出を示す信号を伝送路と別線により受信側に
通知し、受信側でこの信号を検出してから伝送路を経て
パケットが到着するまでの時間を測定してパケット伝送
遅延時間を求めるようにしたので、測定通信路のトラヒ
ックに影響を与えることなくパケットの伝送遅延測定を
測定することができる。本発明の方式では、遅延測定を
測定回路からの指示によって行うようにすることによっ
て、適当な時間間隔で間欠的に連続して遅延測定を行う
ことができる。
As explained above, according to the method of the present invention, a signal indicating packet transmission from the transmitting side is notified to the receiving side through a line separate from the transmission path, and after detecting this signal on the receiving side, the packet is transmitted via the transmission path. Since the packet transmission delay time is determined by measuring the time until the packet arrives, it is possible to measure the packet transmission delay without affecting the traffic on the measurement channel. In the method of the present invention, by performing delay measurement according to instructions from the measurement circuit, delay measurement can be performed intermittently and continuously at appropriate time intervals.

さらに第2の発明では測定パケット送出信号を時分割多
重で送出することよって、複数パケットの伝送遅延の同
時測定を行うことができ、かつこれによってハードウェ
ア規模も小さくすることができる。
Furthermore, in the second invention, by transmitting the measurement packet transmission signal by time division multiplexing, the transmission delays of a plurality of packets can be measured simultaneously, and the hardware scale can thereby be reduced.

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

第1図および第2図は本発明の原理的構成を示す図、 第3図は本発明の一実施例を示す図、 第4図は本発明の他の実施例を示す図、第5図はクロッ
クのタイミングを示すタイムチャート、 第6図は制御回路の詳細構成を示すブロック図、第7図
は送信回路の詳細構成を示すブロック図、第8図は受信
回路の詳細構成を示すブロック図、第9図はパケット遅
延測定の手順を示すタイムチャートである。 1・ 1−1・ 1−2・−“−+l  n:送信回路
2.2−重、2−2、−.2−n:受信回路3:パケッ
ト通信路 3A:パケット通信網 4:制御回路 to、tt:ラッチ回路 12ニアドレスラ゛ンチ 13.15:比較回路 14.19:ゲート 16.17:シフトレジスタ 】8:遅延測定用カウンタ 20:状態制御回路 21:クロツタ発生回路 22:パケットT、Hテーブル 23:デコーダ 24 : CP U 25、27.28.29 :バツファ 26:T、Hレジスタ 31:送信回路セレクトレジスタ 32.35:デコーダ 33ニ一致検出回路 34:送信回路番号レジスタ 36:タイムスロツト指定レジスタ 37:測定パケット指定レジスタ 38:測定開始信号レジスタ 39:送信制御回路 40:T、Hレジスタ 41ニ一致検出回路 42:測定フラグ付加回路 43:測定パケット送出信号付加回路 51:受信回路セレクトレジスタ 52:デコーダ 53:受信状恩レジスタ 54:遅延データレジスタ 55ニ一致検出回路 56:蝋信回路番号レジスタ 57.58:バッファ 59:遅延カウンタ 60:パケット送出信号検出回路 61:受信制御回路 62:フラグ検出回路
1 and 2 are diagrams showing the basic configuration of the present invention, FIG. 3 is a diagram showing one embodiment of the present invention, FIG. 4 is a diagram showing another embodiment of the invention, and FIG. 6 is a block diagram showing the detailed configuration of the control circuit, FIG. 7 is a block diagram showing the detailed configuration of the transmitting circuit, and FIG. 8 is a block diagram showing the detailed configuration of the receiving circuit. , FIG. 9 is a time chart showing the procedure for measuring packet delay. 1. 1-1. 1-2.-“-+l n: Transmission circuit 2.2-duplex, 2-2, -.2-n: Receiving circuit 3: Packet communication path 3A: Packet communication network 4: Control circuit to, tt: Latch circuit 12 Near address launch 13.15: Comparison circuit 14.19: Gate 16.17: Shift register] 8: Delay measurement counter 20: State control circuit 21: Crochet generation circuit 22: Packet T, H Table 23: Decoder 24: CPU 25, 27.28.29: Buffer 26: T, H register 31: Transmission circuit select register 32.35: Decoder 33 match detection circuit 34: Transmission circuit number register 36: Time slot specification Register 37: Measurement packet designation register 38: Measurement start signal register 39: Transmission control circuit 40: T, H register 41-match detection circuit 42: Measurement flag addition circuit 43: Measurement packet sending signal addition circuit 51: Receiving circuit selection register 52 : Decoder 53: Receipt register 54: Delayed data register 55 - Match detection circuit 56: Receive circuit number register 57.58: Buffer 59: Delay counter 60: Packet sending signal detection circuit 61: Reception control circuit 62: Flag detection circuit

Claims (2)

【特許請求の範囲】[Claims] (1)パケット送信回路からパケット通信路を経てパケ
ット受信回路に至るパケット伝送遅延を測定する方式に
おいて、 送信側と受信側の間にパケット転送用データバス(10
1)と信号線(102)とを設け、パケットの送出を示
す測定パケット送出信号を該信号線(102)に送出す
る測定パケット送出信号発生手段(103)を送信側に
設けるとともに、該データバス(101)を介して転送
されたパケットと前記パケット通信路を経て受信された
同一パケットとを照合する比較手段(104)と、前記
測定パケット送出信号の検出から前記パケットの照合一
致までの時間を測定する伝送遅延時間測定手段(105
)とを受信側に設けたことを特徴とするパケット伝送遅
延測定方式。
(1) In the method of measuring the packet transmission delay from the packet transmission circuit to the packet reception circuit via the packet communication path, a data bus for packet transfer (10
1) and a signal line (102), a measurement packet sending signal generating means (103) for sending a measurement packet sending signal indicating the sending of a packet to the signal line (102) is provided on the transmitting side, and the data bus (101) and a comparison means (104) for comparing the packet transferred via the packet communication path with the same packet received via the packet communication path; Transmission delay time measuring means (105
) is provided on the receiving side.
(2)複数のパケット送信回路と複数のパケット受信回
路とをパケット通信網を介して接続してなる系における
複数のパケットの伝送遅延を測定する方式において、 前記複数のパケット送信回路と複数のパケット受信回路
を接続する信号線(201)を設け、パケット通信網を
経て伝送されるパケット中に測定フラグを立てるフラグ
付加手段(202)と、該パケットの送出を示す測定パ
ケット送出信号を前記信号線(201)に送出する測定
パケット送出信号発生手段(203)を各パケット送信
回路に設け、 該パケット中のフラグを検出するフラグ検出手段(20
4)と、前記測定パケット送出信号の検出からフラグの
検出までの時間を測定する伝送遅延時間測定手段(20
5)を各パケット受信回路に設け、測定パケット送出信
号の送出を時分割多重で行うことによつて複数パケット
の伝送遅延の同時測定を可能にしたことを特徴とするパ
ケット伝送遅延測定方式。
(2) In a method for measuring the transmission delay of a plurality of packets in a system in which a plurality of packet transmission circuits and a plurality of packet reception circuits are connected via a packet communication network, the plurality of packet transmission circuits and a plurality of packets A signal line (201) connecting a receiving circuit is provided, a flag adding means (202) for setting a measurement flag in a packet transmitted via a packet communication network, and a measurement packet sending signal indicating sending of the packet is connected to the signal line. (201) is provided in each packet transmitting circuit, and a flag detecting means (203) for detecting a flag in the packet is provided.
4), and transmission delay time measuring means (20) for measuring the time from detection of the measurement packet sending signal to detection of the flag.
5) is provided in each packet receiving circuit, and the transmission delay of a plurality of packets can be measured simultaneously by transmitting the measurement packet transmission signal by time division multiplexing.
JP61017517A 1986-01-29 1986-01-29 Packet transmission delay measuring system Pending JPS62176239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61017517A JPS62176239A (en) 1986-01-29 1986-01-29 Packet transmission delay measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61017517A JPS62176239A (en) 1986-01-29 1986-01-29 Packet transmission delay measuring system

Publications (1)

Publication Number Publication Date
JPS62176239A true JPS62176239A (en) 1987-08-03

Family

ID=11946150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61017517A Pending JPS62176239A (en) 1986-01-29 1986-01-29 Packet transmission delay measuring system

Country Status (1)

Country Link
JP (1) JPS62176239A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7496046B2 (en) 2001-08-22 2009-02-24 Nippon Telegraph And Telephone Corporation Packet communication quality measurement method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7496046B2 (en) 2001-08-22 2009-02-24 Nippon Telegraph And Telephone Corporation Packet communication quality measurement method and system

Similar Documents

Publication Publication Date Title
JP2565631B2 (en) Data frame transmission method and transmission system
US4689740A (en) Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations
US11424902B2 (en) System and method for synchronizing nodes in a network device
US4811277A (en) Communication interface
JPH02253464A (en) Programmable data transfer timing
US7987381B2 (en) Cyclemaster synchronization in a distributed bridge
CN108293014A (en) Communication network, its operating method and participant in a communication network
KR100817270B1 (en) Interface device and method for synchronizing data
EP0534030B1 (en) A frame transfer device for a fixed format frame transmission network
JPS62176239A (en) Packet transmission delay measuring system
JPH025654A (en) Signal synchronizing system
JPS6386630A (en) Frame synchronization system in parallel transmission line
JPH1013398A (en) Parallel data phase synchronization circuit
JP2000258563A (en) Transmission delay time-measuring device
TWI751466B (en) Time synchronization method and time synchronization system
JP3412927B2 (en) Frame synchronization circuit
JP2845768B2 (en) Time information synchronization device
JPH0216829A (en) Data reception control system
JPH01140240A (en) Test signal sending system
CN117155502A (en) Clock synchronization deviation determining method and device, test equipment and storage medium
KR960016665B1 (en) Switching testing device
US6862266B1 (en) Loop test apparatus of packet routing bus in communication system and loop test method
JPH02162855A (en) Digital data communication equipment
JP3451691B2 (en) Serial data transmission circuit
JPS5918897B2 (en) Transmission result determination device at transmitting station