JP2010088040A - Method and system for measuring relay delay time between relay apparatuses, and relay apparatus - Google Patents

Method and system for measuring relay delay time between relay apparatuses, and relay apparatus Download PDF

Info

Publication number
JP2010088040A
JP2010088040A JP2008257591A JP2008257591A JP2010088040A JP 2010088040 A JP2010088040 A JP 2010088040A JP 2008257591 A JP2008257591 A JP 2008257591A JP 2008257591 A JP2008257591 A JP 2008257591A JP 2010088040 A JP2010088040 A JP 2010088040A
Authority
JP
Japan
Prior art keywords
relay
frame
relay device
delay time
round
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
JP2008257591A
Other languages
Japanese (ja)
Inventor
Hitoshi Kuwata
斉 桑田
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.)
Hitachi Cable Ltd
Original Assignee
Hitachi Cable 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 Hitachi Cable Ltd filed Critical Hitachi Cable Ltd
Priority to JP2008257591A priority Critical patent/JP2010088040A/en
Publication of JP2010088040A publication Critical patent/JP2010088040A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method and system for measuring a relay delay time between relay apparatuses, wherein the relay delay time between the relay apparatuses is accurately measured, and also to provide a relay apparatus. <P>SOLUTION: The present invention relates to a measurement method of a relay delay time between relay apparatuses, for measuring a reciprocative relay delay time between a first relay apparatus A and a second relay apparatus B. The method includes measuring the relay delay time required for reciprocating predetermined times between the first relay apparatus and the second relay apparatus. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、中継機器間の往復の中継遅延時間を測定する中継機器間の中継遅延時間の測定方法および測定システム、並びに中継機器に関するものである。   The present invention relates to a method and system for measuring a relay delay time between relay devices that measures a round trip relay delay time between relay devices, and a relay device.

IP(Internet Protocol)電話のように、複数の端末がインタネットを介して相互にリアルタイムの通信を行うサービスでは、端末間の通信の遅延時間が、そのサービスの品質の劣化要因の一つとなっている。この遅延の発生箇所として、ネットワークを構成する中継機器間の中継遅延があり、その中継機器間の中継遅延時間を測定したいという要求がある。   In a service in which a plurality of terminals perform real-time communication with each other via the Internet, such as an IP (Internet Protocol) telephone, the delay time of communication between the terminals is one of the factors that degrade the quality of the service. . As a place where this delay occurs, there is a relay delay between relay devices constituting the network, and there is a request to measure the relay delay time between the relay devices.

従来の中継機器間の中継遅延時間の測定には、ITU−T Y.1731に規定されるDMM(Delay Measurement Message)、DMR(Delay Measurement Reply)を用いる方法がある。   For the measurement of the relay delay time between conventional relay devices, ITU-T Y.T. There are methods using DMM (Delay Measurement Message) and DMR (Delay Measurement Reply) defined in J. 1731.

例えば、中継機器A,B間の往復の中継遅延時間を測定する場合、中継機器Aから中継機器BへDMMを送信し、DMMを受信した中継機器BはそのDMMをDMRに変換して中継機器Aへ返信し、DMRを受信した中継機器AはDMMを送信した時刻からDMRを受信する時刻までの時間を測定する。中継機器Aは、DMMを送信する瞬間の時刻をDMMのフレーム内に格納し、DMRを受信した瞬間の時刻を取得し、DMRを受信した時刻とDMR内のDMMを送信した時刻を比較することで、中継遅延時間が得られる。測定される中継遅延時間(DMMが送信されてからDMRを受信するまでの時間)は、例えば、数100μsec程度である。   For example, when measuring the round trip relay delay time between the relay devices A and B, the relay device B transmits the DMM from the relay device A to the relay device B, and the relay device B that receives the DMM converts the DMM into a DMR and relays the relay device. The relay device A returns to A and receives the DMR, and measures the time from the time when the DMM is transmitted to the time when the DMR is received. The relay device A stores the time of the moment when the DMM is transmitted in the frame of the DMM, acquires the time of the moment when the DMR is received, and compares the time when the DMR is received with the time when the DMM in the DMR is transmitted. Thus, the relay delay time can be obtained. The measured relay delay time (the time from when the DMM is transmitted until the DMR is received) is, for example, about several hundred μsec.

なお、この出願の発明に関連する先行技術文献情報としては、次のものがある。   The prior art document information related to the invention of this application includes the following.

特開2007−180611号公報JP 2007-180611 A

図6に示すように、中継機器A内で、送信側のラインカード61と受信側のラインカード62が分かれている場合がある。このような場合、上記の中継遅延時間の測定をハードウェアの処理により実施する際、送信側のラインカード61のハードウェアと受信側のラインカード62のハードウェアは、内蔵されているクロックを同期させる必要がある。クロックが同期していない場合、送信側ラインカード61においてDMMを送信した時刻を取得し、受信側ラインカード62においてDMRを受信した時刻を取得するため、DMRを受信した時刻とDMMを送信した時刻から求めた中継遅延時間に、送信側のラインカード61のクロックと受信側のラインカード62のクロックの間の誤差が含まれてしまう。   As shown in FIG. 6, in the relay device A, the transmission-side line card 61 and the reception-side line card 62 may be separated. In such a case, when the above-described measurement of the relay delay time is performed by hardware processing, the hardware of the transmission-side line card 61 and the hardware of the reception-side line card 62 synchronize the built-in clock. It is necessary to let When the clocks are not synchronized, the transmission side line card 61 acquires the time when the DMM is transmitted, and the reception side line card 62 acquires the time when the DMR is received, so the time when the DMR is received and the time when the DMM is transmitted Therefore, an error between the clock of the line card 61 on the transmission side and the clock of the line card 62 on the reception side is included in the relay delay time obtained from the above.

測定する中継遅延時間が数100μsec程度であることから、クロックの誤差を数μsec程度に抑える必要があり、数μsec程度の誤差でハードウェアのクロックを同期させる必要がある。図6の示す中継機器Aの場合、各ラインカード61,62に搭載されたパケット回路63間で、数μsec程度の誤差で同期されたクロックを実現する必要がある。   Since the relay delay time to be measured is about several hundred μsec, it is necessary to suppress the clock error to about several μsec, and it is necessary to synchronize the hardware clock with an error of about several μsec. In the case of the relay device A shown in FIG. 6, it is necessary to realize a clock synchronized with an error of about several μsec between the packet circuits 63 mounted on the line cards 61 and 62.

中継機器Aの送信側ラインカード61と受信側ラインカード62の間でハードウェアのクロックを同期させる手段をもたない場合、中継遅延時間の測定を管理モジュール64のCPU65におけるソフトウェアの処理により実施する必要がある。   When there is no means for synchronizing the hardware clock between the transmission side line card 61 and the reception side line card 62 of the relay device A, the relay delay time is measured by software processing in the CPU 65 of the management module 64. There is a need.

しかしながら、中継遅延時間の測定をソフトウェアの処理で実施する場合、ソフトウェアの処理時間による誤差が問題となる。   However, when measuring the relay delay time by software processing, an error due to the software processing time becomes a problem.

図6、7を参照して、中継遅延時間の測定をソフトウェアの処理で実施する場合、管理モジュール64のCPU65から送信用ラインカード61にDMMを送信させる命令を出す送信処理を行う。同時に送信処理を開始した時刻を記憶する。送信用ラインカード61は中継機器BへDMMを送信する。受信用ラインカード62は中継機器Bから返信されたDMRを受信し、受信したDMRをCPU65のメモリへ送る。CPU65はDMRの受信処理を行い、その受信処理を行った時刻を記憶する。CPU65は、受信処理を終了した時刻と送信処理を行った時刻から中継遅延時間を求める。   Referring to FIGS. 6 and 7, when the measurement of the relay delay time is performed by software processing, transmission processing for issuing a command for transmitting the DMM from the CPU 65 of the management module 64 to the transmission line card 61 is performed. At the same time, the time when the transmission process is started is stored. The transmission line card 61 transmits the DMM to the relay device B. The receiving line card 62 receives the DMR returned from the relay device B, and sends the received DMR to the memory of the CPU 65. The CPU 65 performs DMR reception processing and stores the time when the reception processing is performed. The CPU 65 obtains the relay delay time from the time when the reception process is completed and the time when the transmission process is performed.

図7に示すように、CPU65において送信処理を開始してから、送信用ラインカード61がDMMを送信するまでに、CPU65におけるソフトウェアの送信処理の処理時間が数100msec程度かかる。また、受信用ラインカード62がDMRを受信してから、CPU65において受信処理が終了するまでに、CPU65におけるソフトウェアの受信処理の処理時間が数100msec程度かかる。そして、CPU65が求めた中継遅延時間には、中継機器A,B間の実際の中継遅延時間にソフトウェアの送信処理、受信処理の処理時間が含まれたものとなる。   As shown in FIG. 7, it takes about several hundred msec for the software transmission processing time in the CPU 65 until the transmission line card 61 transmits the DMM after the CPU 65 starts the transmission processing. Further, it takes about several hundreds of milliseconds for the CPU 65 to receive the software after the receiving line card 62 receives the DMR until the CPU 65 finishes the receiving process. The relay delay time obtained by the CPU 65 includes the processing time of software transmission processing and reception processing in the actual relay delay time between the relay devices A and B.

中継機器A,B間の実際の中継遅延時間は数100μsec程度であるのに対し、ソフトウェアの送信処理、受信処理の処理時間は数100msec程度であるため、実際の中継遅延時間の正確な値を測定することができなかった。   While the actual relay delay time between the relay devices A and B is about several hundreds of microseconds, the processing time for software transmission processing and reception processing is about several hundreds of milliseconds, so an accurate value of the actual relay delay time can be obtained. It could not be measured.

そこで、本発明の目的は、中継機器間の往復の中継遅延時間を正確に測定することが可能な中継機器間の中継遅延時間の測定方法および測定システム、並びに中継機器を提供することにある。   Accordingly, an object of the present invention is to provide a measuring method and measuring system for a relay delay time between relay devices and a relay device capable of accurately measuring the round trip relay delay time between the relay devices.

本発明は上記目的を達成するために創案されたものであり、請求項1に係る発明は、第1の中継機器と第2の中継機器の間の往復の中継遅延時間を測定する中継機器間の中継遅延時間の測定方法であって、前記第1の中継機器と前記第2の中継機器の間を所定の回数往復するときにかかる中継遅延時間を測定することを特徴とする中継機器間の中継遅延時間の測定方法である。   The present invention was devised to achieve the above object, and the invention according to claim 1 relates to a relay device that measures a round trip relay delay time between the first relay device and the second relay device. The relay delay time is measured between the relay devices, wherein the relay delay time is measured when the relay device makes a predetermined number of round trips between the first relay device and the second relay device. This is a method for measuring the relay delay time.

請求項2に係る発明は、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記第1の中継機器と前記第2の中継機器の間の往復の中継遅延時間を算出する請求項1記載の中継機器間の中継遅延時間の測定方法である。   The invention according to claim 2 is characterized in that the first delay device and the second relay device are divided by the predetermined number of times to divide the relay delay time required when the predetermined number of times of round trip between the first relay device and the second relay device. The method of measuring a relay delay time between relay devices according to claim 1, wherein a round trip relay delay time between the relay device and the second relay device is calculated.

請求項3に係る発明は、前記第1の中継機器から第1のフレームを前記第2の中継機器に送信し、前記第2の中継機器は、前記第1のフレームを受信し、前記第1のフレームを第2のフレームに変換し、前記第2のフレームを前記第1の中継機器へ送信し、前記第1の中継機器は、前記第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信し、前記第1の中継機器と前記第2の中継機器の間で前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行うことにより、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項1又は2記載の中継機器間の中継遅延時間の測定方法である。   According to a third aspect of the present invention, the first relay device transmits a first frame to the second relay device, the second relay device receives the first frame, and the first relay device receives the first frame. Frame is converted to a second frame, and the second frame is transmitted to the first relay device. The first relay device receives the second frame, and converts the second frame into the second frame. The first frame is converted to the first frame, the first frame is transmitted to the second relay device, and the first frame and the second frame are transmitted between the first relay device and the second relay device. The relay delay time required when the frame is reciprocated a predetermined number of times between the first relay device and the second relay device by performing the frame reciprocal exchange for the predetermined number of times. 2 is a method for measuring a relay delay time between relay devices.

請求項4に係る発明は、前記第1の中継機器から最初の第1のフレームを送信する際に、前記第1の中継機器が内部で受信して、最初の第1のフレームの受信時刻を測定し、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復した後の第2のフレームを前記第1の中継機器が受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項3記載の中継機器間の中継遅延時間の測定方法である。   In the invention according to claim 4, when the first first frame is transmitted from the first relay device, the first relay device receives the first frame internally, and the reception time of the first first frame is determined. The first relay device receives the second frame after measuring and reciprocating the predetermined number of times between the first relay device and the second relay device. The second frame reception time is measured, and the first relay device and the second frame are calculated from the difference between the reception time of the second frame after the predetermined number of round trips and the reception time of the first first frame. 4. The method of measuring a relay delay time between relay devices according to claim 3, wherein the relay delay time required when the predetermined number of round trips between the relay devices is measured.

請求項5に係る発明は、前記第1のフレームおよび前記第2のフレームは前記第1の中継機器と前記第2の中継機器の間の往復回数を保持する領域を備え、前記第1の中継機器は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記第2の中継機器に送信する請求項3又は4記載の中継機器間の中継遅延時間の測定方法である。   According to a fifth aspect of the present invention, the first frame and the second frame include a region for holding a round-trip number between the first relay device and the second relay device, and the first relay The device converts the received second frame into the first frame, increments the number of round-trips of the area, and transmits the first frame to the second relay device. It is the measuring method of the relay delay time between the described relay apparatuses.

請求項6に係る発明は、前記第1のフレームおよび前記第2のフレームとしてITU−T Y.1731に規定されるDMM、DMRを用いる請求項3から5いずれか記載の中継機器間の中継遅延時間の測定方法である。   According to a sixth aspect of the present invention, there is provided an ITU-T Y.3 as the first frame and the second frame. 6. The method for measuring a relay delay time between relay devices according to claim 3, wherein DMM and DMR defined in 1731 are used.

請求項7に係る発明は、第1の中継機器と第2の中継機器の間の往復の中継遅延時間を測定する中継機器間の中継遅延時間の測定システムであって、前記第1の中継機器は前記第2の中継機器との間を所定の回数往復するときにかかる中継遅延時間を測定する手段を備えることを特徴とする中継機器間の中継遅延時間の測定システムである。   The invention according to claim 7 is a system for measuring a relay delay time between relay devices that measures a round trip relay delay time between a first relay device and a second relay device, wherein the first relay device Is a system for measuring a relay delay time between relay devices, comprising means for measuring a relay delay time required for a predetermined number of round trips to and from the second relay device.

請求項8に係る発明は、前記第1の中継機器は、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記第1の中継機器と前記第2の中継機器の間の往復の中継遅延時間を算出する請求項7記載の中継機器間の中継遅延時間の測定システムである。   According to an eighth aspect of the present invention, the first relay device sets a relay delay time required when the first relay device makes a round trip between the first relay device and the second relay device for the predetermined number of times. 8. The relay delay time measuring system between relay devices according to claim 7, wherein a round trip relay delay time between the first relay device and the second relay device is calculated by dividing.

請求項9に係る発明は、前記第2の中継機器は、前記第1の中継機器からの第1のフレームを受信し、前記第1のフレームを第2のフレームに変換し、前記第2のフレームを前記第1の中継機器へ送信する手段を備え、前記第1の中継機器は、前記第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信する手段を備え、前記第1の中継機器と前記第2の中継機器は前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行う請求項7又は8記載の中継機器間の中継遅延時間の測定システムである。   In the invention according to claim 9, the second relay device receives the first frame from the first relay device, converts the first frame into a second frame, and converts the second frame into the second frame. Means for transmitting a frame to the first relay device, wherein the first relay device receives the second frame, converts the second frame into the first frame, and Means for transmitting the first frame to the second relay device, wherein the first relay device and the second relay device exchange the round trip between the first frame and the second frame a predetermined number of times. The relay delay time measurement system between relay devices according to claim 7 or 8.

請求項10に係る発明は、前記第1の中継機器は、最初の第1のフレームを送信する際に、内部で受信して、最初の第1のフレームの受信時刻を測定し、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復した後の第2のフレームを受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項9記載の中継機器間の中継遅延時間の測定システムである。   In the invention according to claim 10, when the first relay device transmits the first first frame, the first relay device internally receives the first frame, measures the reception time of the first first frame, and receives the first frame. Receiving the second frame after the predetermined number of round trips between the relay equipment and the second relay equipment, measuring the reception time of the second frame after the predetermined round trips, A round trip between the first relay device and the second relay device for the predetermined number of times based on the difference between the reception time of the second frame and the reception time of the first first frame. The relay delay time measuring system between relay devices according to claim 9 for measuring the relay delay time.

請求項11に係る発明は、前記第1のフレームおよび前記第2のフレームは前記第1の中継機器と前記第2の中継機器の間の往復回数を保持する領域を備え、前記第1の中継機器は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記第2の中継機器に送信する請求項9又は10記載の中継機器間の中継遅延時間の測定システムである。   According to an eleventh aspect of the present invention, the first frame and the second frame include a region for holding a round-trip number between the first relay device and the second relay device, and the first relay The device converts the received second frame into the first frame, increments the number of round-trips of the area, and transmits the first frame to the second relay device. It is a measurement system of the relay delay time between the described relay apparatuses.

請求項12に係る発明は、前記第1のフレームおよび前記第2のフレームとしてITU−T Y.1731に規定されるDMM、DMRを用いる請求項9から11いずれか記載の中継機器間の中継遅延時間の測定方法である。   According to a twelfth aspect of the present invention, as the first frame and the second frame, ITU-T Y. 12. The method for measuring a relay delay time between relay devices according to claim 9, wherein DMM and DMR specified in 1731 are used.

請求項13に係る発明は、他の中継機器との間を所定の回数往復するときにかかる中継遅延時間を測定する手段を備えることを特徴とする中継機器である。   According to a thirteenth aspect of the present invention, there is provided a relay device comprising means for measuring a relay delay time required for a predetermined number of round trips to and from another relay device.

請求項14に係る発明は、前記手段は、前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記他の中継機器との間の往復の中継遅延時間を算出する請求項13記載の中継機器である。   According to a fourteenth aspect of the present invention, the means is configured to divide a relay delay time required for the predetermined number of round trips with the other relay device by the predetermined number of times. 14. The relay device according to claim 13, which calculates a round trip relay delay time between the relay devices.

請求項15に係る発明は、前記手段は、第1のフレームを前記他の中継機器に送信し、前記他の中継機器からの第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信し、前記他の中継機器との間で前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行うことにより、前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項13又は14記載の中継機器である。   In the invention according to claim 15, the means transmits the first frame to the other relay device, receives the second frame from the other relay device, and sends the second frame to the first relay device. The first frame is transmitted to the second relay device, and the round-trip exchange between the first frame and the second frame is performed with the predetermined relay device. 15. The relay device according to claim 13 or 14, wherein the relay delay time is measured when the predetermined number of round trips are performed with the other relay device by performing the number of times.

請求項16に係る発明は、前記手段は、最初の第1のフレームを送信する際に、前記手段の内部で受信して、最初の第1のフレームの受信時刻を測定し、前記他の中継機器との間を前記所定の回数往復した後の前記第2のフレームを受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項15記載の中継機器である。   According to a sixteenth aspect of the present invention, when the means transmits the first first frame, the means receives the first first frame, measures the reception time of the first first frame, and determines the other relay. Receiving the second frame after the predetermined number of round-trips with the device, measuring the reception time of the second frame after the predetermined number of round-trips, 16. The relay device according to claim 15, wherein a relay delay time required when the predetermined number of round trips between the other relay devices is determined from a difference between the reception time of the first frame and the reception time of the first first frame. It is.

請求項17に係る発明は、前記第1のフレームおよび前記第2のフレームは前記他の中継機器との間の往復回数を保持する領域を備え、前記手段は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記他の中継機器に送信する請求項15又は16記載の中継機器である。   According to a seventeenth aspect of the present invention, the first frame and the second frame include an area for holding a round-trip count with the other relay device, and the means includes the received second frame. The relay device according to claim 15 or 16, wherein the relay device converts the first frame and increments the number of round-trips of the area to transmit the first frame to the other relay device.

請求項18に係る発明は、前記第1のフレームとしてITU−T Y.1731に規定されるDMMを用いる請求項15から17いずれか記載の中継機器である。   According to an eighteenth aspect of the present invention, there is provided an ITU-T Y.T. The relay device according to any one of claims 15 to 17, wherein a DMM defined in 1731 is used.

本発明によれば、中継機器間の往復の中継遅延時間を正確に測定することできる。   According to the present invention, the round-trip relay delay time between relay devices can be accurately measured.

以下、本発明の好適な実施の形態を添付図面にしたがって説明する。   Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.

図1は、本実施形態に係る中継機器間の中継遅延時間の測定システムの模式図である。   FIG. 1 is a schematic diagram of a measurement system for a relay delay time between relay devices according to the present embodiment.

図1に示すように、中継機器間の中継遅延時間の測定システム1は、中継機器A,B間の往復の中継遅延時間を測定するシステムである。   As shown in FIG. 1, the measurement system 1 for the relay delay time between relay devices is a system that measures the round trip relay delay time between the relay devices A and B.

図1では、図を簡略化しているが、中継機器A,Bはネットワークを介して接続されており、このネットワークには種々の装置が接続されている。   In FIG. 1, although the diagram is simplified, the relay devices A and B are connected via a network, and various devices are connected to this network.

図1では、中継機器Aから中継機器BにDMM(Delay Measurement Message)(「第1のフレーム」)を送信し、中継機器Bから中継機器Aに返信されたDMR(Delay Measurement Reply)(「第2のフレーム」)を中継機器Aが受信する場合を説明する。中継機器A,Bは、スイッチングハブである。   In FIG. 1, DMR (Delay Measurement Message) (“first frame”) is transmitted from the relay device A to the relay device B, and the DMR (Delay Measurement Reply) (“first” is returned from the relay device B to the relay device A. The case where the relay device A receives the second frame ")" will be described. The relay devices A and B are switching hubs.

中継機器間の中継遅延時間の測定システム1は、中継機器A,B間でDMM/DMRを往復させて、中継遅延時間をソフトウェアでも測定可能なレベルまで遅延させるものである。ここでは、往復回数をn回と設定した場合を説明する。   The relay delay time measurement system 1 between relay devices reciprocates the DMM / DMR between the relay devices A and B to delay the relay delay time to a level that can be measured by software. Here, a case where the number of reciprocations is set to n times will be described.

本発明のスイッチングハブである中継機器Aは、中継機器Bから受信したDMRをDMMに変換するDM制御回路2と、中継機器Aから送信するDMM、および中継機器Bから受信するDMRを解析するパケット解析回路3と、ソフトウェア処理により中継遅延時間を算出するソフトウェア処理部4とを備える。   The relay device A that is a switching hub of the present invention includes a DM control circuit 2 that converts the DMR received from the relay device B into a DMM, a DMM that is transmitted from the relay device A, and a packet that analyzes the DMR received from the relay device B. An analysis circuit 3 and a software processing unit 4 that calculates a relay delay time by software processing are provided.

DM制御回路2は、中継機器Bから受信したDMRをDMMに変換するDMR−DMM変換回路5と、そのDMR−DMM変換回路5から出力されたDMMの往復回数rを格納する領域(図4参照)の往復回数rをインクリメントするインクリメント回路6とを備える。DMM、DMRのフレーム構造については後述する。   The DM control circuit 2 stores a DMR-DMM conversion circuit 5 that converts the DMR received from the relay device B into a DMM, and a DMR round-trip count r output from the DMR-DMM conversion circuit 5 (see FIG. 4). And an increment circuit 6 that increments the number of round-trip times r. The frame structure of DMM and DMR will be described later.

パケット解析回路3は、ソフトウェア処理部4からの送信要求を受けてDMMを送信するソフトウェア要求受信回路7と、そのソフトウェア要求受信回路7から送信される最初のDMMをコピーし、コピーした最初のDMMをソフトウェア処理部4に転送する送信側コピー回路8と、中継機器Bから受信したDMRのうち、中継機器A,B間をn往復した後のDMRをコピーし、コピーしたn往復後のDMRをソフトウェア処理部4に転送する受信側コピー回路9と、受信側コピー回路9を通過したn往復後のDMRを破棄するDMR破棄回路10とを備える。以下、DMM(r)、DMR(r)というように、括弧内にDMM,DMRに格納されている往復回数rを示す。DMM(0)は最初のDMMを表し、DMR(n−1)は中継機器A,B間をn往復した後のDMRを表す。   The packet analysis circuit 3 receives the transmission request from the software processing unit 4, copies the software request receiving circuit 7 that transmits the DMM, and copies the first DMM transmitted from the software request receiving circuit 7. Of the DMR received from the relay device B and the DMR received from the relay device B is copied to the software processing unit 4 after the n-round trip between the relay devices A and B. A receiving-side copy circuit 9 that transfers to the software processing unit 4 and a DMR discarding circuit 10 that discards the DMR after n round-trips that have passed through the receiving-side copy circuit 9 are provided. Hereinafter, the round-trip times r stored in the DMM and DMR are shown in parentheses as DMM (r) and DMR (r). DMM (0) represents the first DMM, and DMR (n-1) represents the DMR after n round trips between the relay devices A and B.

ソフトウェア処理部4は、送信側コピー回路8から転送された最初のDMM(0)を受信し、これを受信した時刻を測定する第1受信時刻測定部11と、受信側コピー回路9から転送されたDMR(n−1)を受信し、これを受信した時刻を測定する第2受信時刻測定部12と、第1受信時刻測定部11および第2受信時刻測定部12で測定した受信時刻の差から遅延時間の時間差を求めると共に、その遅延時間の時間差を往復回数nで割ることで、中継遅延時間を算出する中継遅延時間測定部13とを備える。   The software processing unit 4 receives the first DMM (0) transferred from the transmission side copy circuit 8 and receives the first DMM (0) from the reception side copy circuit 8, and the reception side copy circuit 9 transfers the received time. Difference between reception times measured by the second reception time measurement unit 12 that receives the received DMR (n-1) and measures the time when the DMR (n-1) is received, and the first reception time measurement unit 11 and the second reception time measurement unit 12 And a relay delay time measuring unit 13 for calculating the relay delay time by determining the time difference of the delay time and dividing the time difference of the delay time by the number of round trips n.

また、図示しないが、ソフトウェア処理部4は、ソフトウェア要求受信回路7に最初のDMM(0)を送信する命令を出力する測定開始命令出力部と、予め設定した往復回数nを記憶する往復回数記憶部と、第1受信時刻測定部11および第2受信時刻測定部12で測定した受信時刻を記憶する受信時刻記憶部とを備える。   Although not shown, the software processing unit 4 includes a measurement start command output unit that outputs a command for transmitting the first DMM (0) to the software request receiving circuit 7, and a round-trip number storage that stores a preset round-trip number n. And a reception time storage unit that stores the reception times measured by the first reception time measurement unit 11 and the second reception time measurement unit 12.

DMR−DMM変換回路5、インクリメント回路6、ソフトウェア要求受信回路7、送信側コピー回路8、受信側コピー回路9、およびDMR破棄回路10は、ハードウェアにより実現される。ここでハードウェアとは、例えば、特定の処理専用のLSIである。また、第1受信時刻測定部11、第2受信時刻測定部12、中継遅延時間測定部13、および測定開始命令出力部はソフトウェア処理により実現される。往復回数記憶部および受信時刻記憶部は、メモリにより実現される。   The DMR-DMM conversion circuit 5, the increment circuit 6, the software request reception circuit 7, the transmission side copy circuit 8, the reception side copy circuit 9, and the DMR discard circuit 10 are realized by hardware. Here, the hardware is, for example, an LSI dedicated to a specific process. The first reception time measurement unit 11, the second reception time measurement unit 12, the relay delay time measurement unit 13, and the measurement start command output unit are realized by software processing. The round-trip number storage unit and the reception time storage unit are realized by a memory.

図2に示すように、中継機器Aは、最初のDMM(0)を送信するときは、これを中継機器Bに送信すると共に、DMM(0)を送信側コピー回路8でコピーしてソフトウェア処理部4に転送し、第1受信時刻測定部11でその受信時刻を測定する。   As shown in FIG. 2, when the relay device A transmits the first DMM (0), it transmits this to the relay device B and copies the DMM (0) by the transmission side copy circuit 8 for software processing. The first reception time measurement unit 11 measures the reception time.

また、中継機器BからDMR(r)を受信したときは、これをDMR−DMM変換回路5でDMM(r)に置き換え、さらに、インクリメント回路6により往復回数rをインクリメントしてDMM(r+1)として中継機器Bに送信する。   When DMR (r) is received from the relay device B, it is replaced with DMM (r) by the DMR-DMM conversion circuit 5, and the round trip number r is incremented by the increment circuit 6 to obtain DMM (r + 1). Transmit to relay device B.

さらに、中継機器Bからn往復後のDMR(n−1)を受信したときは、これを受信側コピー回路9でコピーしてソフトウェア処理部4に転送する。ソフトウェア処理部4は、第2受信時刻測定部12でその受信時刻を測定する。もとのDMR(n−1)はDMR破棄回路10で破棄する。   Further, when DMR (n−1) after n round-trips is received from the relay device B, it is copied by the receiving side copy circuit 9 and transferred to the software processing unit 4. The software processing unit 4 measures the reception time by the second reception time measurement unit 12. The original DMR (n−1) is discarded by the DMR discard circuit 10.

一方、中継機器Bは、中継機器Aから受信したDMMをDMRに変換して送信するDM制御回路14を備える。DM制御回路14は、受信したDMMをDMRに変換するDMM−DMR変換回路15を備える。   On the other hand, the relay device B includes a DM control circuit 14 that converts the DMM received from the relay device A into a DMR and transmits it. The DM control circuit 14 includes a DMM-DMR conversion circuit 15 that converts received DMM into DMR.

中継機器Bは、図3に示すように、中継機器Aから受信したDMM(r)をDMM−DMR変換回路15でDMR(r)に置き換え、そのDMR(r)を中継機器Aに返信する。   As shown in FIG. 3, the relay device B replaces the DMM (r) received from the relay device A with the DMR (r) by the DMM-DMR conversion circuit 15, and returns the DMR (r) to the relay device A.

ここで、DMM,DMRのフレーム構造について説明する。   Here, the frame structure of DMM and DMR will be described.

図4に示すように、DMM,DMRはイーサネットOAM(Operation Administration and Maintenance)フレーム(イーサネットは登録商標)であり、宛先MACアドレス(DA;Destination Address)41、送信元MACアドレス(SA;Source Address)42、VLANタグ(VLAN TAG)43、イーサネットOAMである識別が格納されるイーサタイプ(CFM EtherType)44、保守ドメイン(MD;Maintenance Domain)レベル・バージョン(MD Level+version)45、DMMあるいはDMRであることを示すコードを格納するオペレーションコード(OP code)46、フラグ(Flags)47、TLV(Type/Length/Value)オフセット(TLV offset)48、DMMTLV(DMM TLV)49、往復回数rを格納する追加TLV50、エンドTLV(END TLV)51、パディングデータ(Padding Data)52、FCS(Flame Check Sequence)53の各領域を備える。つまり、本実施形態で用いるDMM,DMRのフレーム構造は、通常のイーサネットOAMフレームにおいて、往復回数rを格納する追加TLV50を追加したものである。   As shown in FIG. 4, DMM and DMR are Ethernet OAM (Operation Administration and Maintenance) frames (Ethernet is a registered trademark), a destination MAC address (DA) 41, a source MAC address (SA). 42, a VLAN tag (VLAN TAG) 43, an Ethernet type (CFM EtherType) 44 storing an identification of Ethernet OAM, a maintenance domain (MD) level version (MD Level + version) 45, a DMM or a DMR An operation code (OP code) 46, a flag (Flags) 47, a TLV (Type / Length / Value) offset (TLV offset) 48, a DMMTLV (DMM TLV) 49, and a round trip count r are stored. Add TLV50, including each region of the end TLV (END TLV) 51, padding data (Padding Data) 52, FCS (Flame Check Sequence) 53. That is, the frame structure of the DMM and DMR used in this embodiment is obtained by adding an additional TLV 50 that stores the number of round-trip times r in a normal Ethernet OAM frame.

このフレームがDMMである場合は、フレーム中の宛先MACアドレス41に中継機器BのMACアドレスが格納され、送信元MACアドレス42に中継機器AのMACアドレスが格納される。また、オペレーションコード46には、DMMであることを示すコード「47」が格納される。   When this frame is DMM, the MAC address of the relay device B is stored in the destination MAC address 41 in the frame, and the MAC address of the relay device A is stored in the source MAC address 42. The operation code 46 stores a code “47” indicating DMM.

また、このフレームがDMRである場合は、フレーム中の宛先MACアドレス41に中継機器AのMACアドレスが格納され、送信元MACアドレス42に中継機器BのMACアドレスが格納される。また、オペレーションコード46には、DMRであることを示すコード「46」が格納される。   When this frame is a DMR, the MAC address of the relay device A is stored in the destination MAC address 41 in the frame, and the MAC address of the relay device B is stored in the source MAC address 42. In addition, the operation code 46 stores a code “46” indicating DMR.

なお、DMM、DMRを識別するコードは、OAMフレームの規格の範囲内において、中継機器のベンダーが独自に設定することも可能である。   The codes for identifying the DMM and DMR can be uniquely set by the vendor of the relay device within the scope of the OAM frame standard.

次に、中継機器間の中継遅延時間の測定方法を説明する。   Next, a method for measuring the relay delay time between relay devices will be described.

図5に示すように、まず、中継機器Aから中継機器Bに最初のDMM(0)を送信する。中継機器A,B間を往復させる往復回数nは、予め設定され、中継機器Aの往復回数記憶部に記憶されている。   As shown in FIG. 5, first, the first DMM (0) is transmitted from the relay device A to the relay device B. The number of reciprocations n for reciprocating between the relay devices A and B is set in advance and stored in the reciprocation number storage unit of the relay device A.

より詳細には、中継機器Aのソフトウェア処理部4(測定開始命令出力部)がソフトウェア要求受信回路7に最初のDMM(0)を送信する命令を出力し、これを受けて、ソフトウェア要求受信回路7が最初のDMM(0)を送信する。DMM(0)の宛先MACアドレス41には中継機器BのMACアドレス、送信元MACアドレス42には中継機器AのMACアドレスが格納され、追加TLV50には、往復回数r=0が格納される。   More specifically, the software processing unit 4 (measurement start command output unit) of the relay device A outputs a command for transmitting the first DMM (0) to the software request receiving circuit 7, and receives this to receive the software request receiving circuit. 7 sends the first DMM (0). The destination MAC address 41 of DMM (0) stores the MAC address of relay device B, the source MAC address 42 stores the MAC address of relay device A, and the additional TLV 50 stores the number of round trips r = 0.

送信側コピー回路8は、ソフトウェア要求受信回路7から入力されたDMM(0)の追加TLV50に格納された往復回数rを参照し、r=0である場合、DMM(0)をコピーして第1受信時刻測定部11に転送する。最初のDMM(0)の追加TLV50にはr=0が格納されているので、送信側コピー回路8は、DMM(0)をコピーして第1受信時刻測定部11に転送する。   The transmission side copy circuit 8 refers to the round-trip number r stored in the additional TLV 50 of the DMM (0) input from the software request reception circuit 7, and when r = 0, copies the DMM (0) 1 Transfer to reception time measuring unit 11. Since r = 0 is stored in the additional TLV 50 of the first DMM (0), the transmission side copy circuit 8 copies the DMM (0) and transfers it to the first reception time measuring unit 11.

第1受信時刻測定部11は、送信側コピー回路8から転送されたDMM(0)を受信した受信時刻t1’を測定する。受信時刻t1’は、実際にDMM(0)を送信した時刻t1よりもソフトウェアの受信処理にかかる時間(数100msec)だけ遅れたものとなる。第1受信時刻測定部11で測定された受信時刻t1’は、受信時刻記憶部に記憶される。送信側コピー回路8を通過したDMM(0)は、中継機器Bに送信される。 The first reception time measurement unit 11 measures the reception time t 1 ′ when the DMM (0) transferred from the transmission side copy circuit 8 is received. The reception time t 1 ′ is delayed by the time (several hundred msec) required for the software reception process from the time t 1 when the DMM (0) is actually transmitted. The reception time t 1 ′ measured by the first reception time measurement unit 11 is stored in the reception time storage unit. The DMM (0) that has passed through the transmission side copy circuit 8 is transmitted to the relay device B.

DMM(0)を受信した中継機器Bは、DMM−DMR変換回路15によりDMM(0)をDMR(0)に置き換えて(宛先MACアドレス41と送信元MACアドレス42を入れ替えると共に、オペレーションコード46にDMRを示すコードを格納して)、そのDMR(0)を中継機器Aに返信する。   The relay device B that has received the DMM (0) replaces the DMM (0) with the DMR (0) by the DMM-DMR conversion circuit 15 (the destination MAC address 41 and the source MAC address 42 are replaced, and the operation code 46 The DMR (0) is returned to the relay device A after storing the code indicating the DMR.

中継機器BからのDMR(0)を受信した中継機器Aの受信側コピー回路9は、受信したDMR(0)の追加TLV50に格納された往復回数r(この場合、r=0)を参照し、r=n−1である場合、DMR(n−1)をコピーして第2受信時刻測定部12に転送する。ここでは、DMR(0)がr=n−1ではないので、DMR(0)を転送せずにそのまま通過させ、DMR破棄回路10に出力する。   The receiving side copy circuit 9 of the relay device A that has received the DMR (0) from the relay device B refers to the round trip number r (in this case, r = 0) stored in the additional TLV 50 of the received DMR (0). R = n−1, DMR (n−1) is copied and transferred to the second reception time measurement unit 12. Here, since DMR (0) is not r = n−1, DMR (0) is passed through without being transferred, and is output to the DMR discard circuit 10.

DMR破棄回路10は、受信したDMR(0)の追加TLV50に格納された往復回数r(この場合、r=0)を参照し、r=n−1である場合、DMR(n−1)を破棄する。ここでは、DMR(0)がr=n−1ではないので、DMR(0)を破棄せずにそのまま通過させ、DMR−DMM変換回路5に出力する。   The DMR discard circuit 10 refers to the round-trip number r (in this case, r = 0) stored in the additional TLV 50 of the received DMR (0). If r = n−1, the DMR (n−1) is determined. Discard. Here, since DMR (0) is not r = n−1, DMR (0) is passed as it is without being discarded, and is output to the DMR-DMM conversion circuit 5.

DMR−DMM変換回路5は、DMR(0)をDMM(0)に置き換えて(宛先MACアドレス41と送信元MACアドレス42を入れ替えると共に、オペレーションコード46にDMMを示すコードを格納して)、そのDMM(0)をインクリメント回路6に出力する。   The DMR-DMM conversion circuit 5 replaces DMR (0) with DMM (0) (replaces the destination MAC address 41 and the source MAC address 42 and stores a code indicating DMM in the operation code 46), and DMM (0) is output to the increment circuit 6.

インクリメント回路6は、入力されたDMM(0)の追加TLV50に格納されている往復回数rをインクリメントしてDMM(1)とし、これをソフトウェア要求受信回路7に出力する。   The increment circuit 6 increments the round-trip count r stored in the additional TLV 50 of the input DMM (0) to obtain DMM (1), and outputs this to the software request reception circuit 7.

ソフトウェア要求受信回路7は、入力されたDMM(1)をそのまま通過させる。送信側コピー回路8は、ソフトウェア要求受信回路7から入力されたDMM(1)の追加TLV50に格納された往復回数r(この場合、r=1)を参照し、r=0でないため、そのまま通過させる。送信側コピー回路8を通過したDMM(1)は、中継機器Bに送信される。   The software request receiving circuit 7 passes the input DMM (1) as it is. The transmission side copy circuit 8 refers to the round trip number r (in this case, r = 1) stored in the additional TLV 50 of the DMM (1) input from the software request reception circuit 7 and passes through as it is because r = 0 is not satisfied. Let The DMM (1) that has passed through the transmission side copy circuit 8 is transmitted to the relay device B.

以上を繰り返すことで、DMM/DMRを中継機器A,B間でn往復させる。DMR−DMM変換回路5、インクリメント回路6、ソフトウェア要求受信回路7、送信側コピー回路8、受信側コピー回路9、DMR破棄回路10、およびDMM−DMR変換回路15は、ハードウェアで構成されているため、各回路で処理を行う際の遅延はほとんど発生しない。   By repeating the above, the DMM / DMR is reciprocated n times between the relay devices A and B. The DMR-DMM conversion circuit 5, the increment circuit 6, the software request reception circuit 7, the transmission side copy circuit 8, the reception side copy circuit 9, the DMR discard circuit 10, and the DMM-DMR conversion circuit 15 are configured by hardware. Therefore, there is almost no delay when processing is performed in each circuit.

中継機器A,B間をn往復した後のDMR(n−1)を受信した受信側コピー回路9は、受信したDMR(n−1)の追加TLV50に格納された往復回数r(この場合、r=n−1)を参照し、r=n−1であるため、DMR(n−1)をコピーして、第2受信時刻測定部12に転送する。   The receiving side copy circuit 9 that has received the DMR (n−1) after n round trips between the relay devices A and B receives the round trip number r (in this case, stored in the additional TLV 50 of the received DMR (n−1)). With reference to r = n−1), since r = n−1, DMR (n−1) is copied and transferred to the second reception time measurement unit 12.

第2受信時刻測定部12は、受信側コピー回路9から転送されたDMR(n−1)を受信した受信時刻t2’を測定する。受信時刻t2’は、実際にDMR(n−1)を受信した時刻t2よりもソフトウェアの受信処理にかかる時間(数100msec)だけ遅れたものとなる。第2受信時刻測定部12で測定された受信時刻t2’は、受信時刻記憶部に記憶される。 The second reception time measuring unit 12 measures the reception time t 2 ′ when the DMR (n−1) transferred from the reception side copy circuit 9 is received. The reception time t 2 ′ is delayed by the time (several hundred msec) required for the software reception process from the time t 2 when the DMR (n−1) is actually received. The reception time t 2 ′ measured by the second reception time measurement unit 12 is stored in the reception time storage unit.

受信側コピー回路9を通過したDMR(n−1)は、DMR破棄回路10に入力される。DMR破棄回路10は、受信したDMR(n−1)の追加TLV50に格納された往復回数r(この場合、r=n−1)を参照し、r=n−1であるので、このDMR(n−1)を破棄する。   The DMR (n−1) that has passed through the receiving side copy circuit 9 is input to the DMR discard circuit 10. The DMR discard circuit 10 refers to the round trip number r (in this case, r = n−1) stored in the additional TLV 50 of the received DMR (n−1), and r = n−1. n-1) is discarded.

中継遅延時間測定部13は、第1受信時刻測定部11で測定した受信時刻t1’と第2受信時刻測定部12で測定した受信時刻t2’から、下式(1)
T’= t2’−t1’ (1)
により中継遅延時間の時間差T’を求め、さらに、下式(2)
d= T’/n (2)
に示すように、中継遅延時間の時間差T’を往復回数nで割ることで、中継機器A,B間の実際の中継遅延時間Tdを算出する。
The relay delay time measurement unit 13 calculates the following equation (1) from the reception time t 1 ′ measured by the first reception time measurement unit 11 and the reception time t 2 ′ measured by the second reception time measurement unit 12.
T ′ = t 2 ′ −t 1 ′ (1)
To obtain the time difference T ′ of the relay delay time, and further, the following equation (2)
T d = T ′ / n (2)
As shown in FIG. 5, the actual relay delay time Td between the relay devices A and B is calculated by dividing the time difference T ′ of the relay delay time by the number of round trips n.

以上により、中継機器A,B間の中継遅延時間Tdが得られる。 Thus, the relay delay time Td between the relay devices A and B is obtained.

最初のDMM(0)の受信時刻t1’を測定する際のソフトウェアの受信処理にかかる時間と、n往復後のDMR(n−1)の受信時刻t2’を測定する際のソフトウェアの受信処理にかかる時間はほぼ同じであるため、これら受信時刻t1’,t2’から求めた中継遅延時間の時間差T’は、実際のDMM(0)の送信時刻t1、DMR(n−1)の受信時刻t2から求めた中継遅延時間の時間差Tとほぼ同じ値となる。よって、この中継遅延時間の時間差T’を往復回数nで割ることで、数100μsec程度の中継機器A,B間の実際の中継遅延時間Tdを正確に求めることが可能となる。 Software reception time when measuring the reception time t 1 ′ of the first DMM (0) and software reception time when measuring the reception time t 2 ′ of the DMR (n−1) after n round trips Since the processing time is substantially the same, the time difference T ′ between the relay delay times obtained from the reception times t 1 ′ and t 2 ′ is the actual transmission time t 1 and DMR (n−1) of the DMM (0). ) is substantially equal to the time difference T of the relay delay time calculated from the reception time t 2 of the. Therefore, by dividing the time difference T ′ of the relay delay time by the number of round trips n, it is possible to accurately obtain the actual relay delay time T d between the relay devices A and B of about several hundred μsec.

ここで、中継機器A,B間を往復させる往復回数nについて検討する。   Here, the number of reciprocations n for reciprocating between the relay devices A and B will be considered.

ソフトウェアの受信処理にかかる時間をTsとすると、誤差(ソフトウェアの受信処理時間)の比βは、下式(3)
β = Ts/(Td×n+Ts)×100 (3)
で表される。中継遅延時間Tdを100μsec、ソフトウェアの受信処理にかかる時間Tsを100msecとすると、往復回数nを1〜10000で変化させた場合、誤差の比βは、表1に示す値となる。
When the time required for the software reception processing is T s , the error β (software reception processing time) ratio β is expressed by the following equation (3).
β = T s / (T d × n + T s ) × 100 (3)
It is represented by Assuming that the relay delay time T d is 100 μsec and the time T s required for the software reception processing is 100 msec, the error ratio β is a value shown in Table 1 when the number of round trips n is varied from 1 to 10,000.

Figure 2010088040
Figure 2010088040

表1に示すように、往復回数nが100以下であると、誤差の比βは90%以上と大きくなり、往復回数nが1000の場合はβ=50%、往復回数nが10000の場合はβ=9%と小さくなる。したがって、往復回数nは1000以上、望ましくは10000以上とするのが好ましい。   As shown in Table 1, when the number of reciprocations n is 100 or less, the error ratio β increases to 90% or more. When the number of reciprocations n is 1000, β = 50%, and when the number of reciprocations n is 10,000. β = 9%. Therefore, the number of reciprocations n is 1000 or more, preferably 10,000 or more.

往復回数nを10000以上にすれば、測定する中継遅延時間の時間差T’が数秒程度になるため、遅延時間の時間差T’をソフトウェアで正確に測定することが可能となる。   If the number of round trips n is 10000 or more, the time difference T ′ of the relay delay time to be measured is about several seconds, so that the time difference T ′ of the delay time can be accurately measured by software.

また、DMR(n−1)を受信した受信時刻t2’からDMM(0)を受信した受信時刻t1’の差を取ることにより、受信時刻t2’に含まれるソフトウェアの処理時間による誤差から受信時刻t1’に含まれるソフトウェアの処理時間による誤差が差し引かれる。したがって、T’(=t2’−t1’)に含まれる誤差はソフトウェアの処理時間の変動分となり、上記式(3)のTsは小さくなり、誤差の比βは小さくなる。 Moreover, by taking the difference DMR (n-1) reception time t 2 which has received the 'from DMM (0) reception time t 1, which has received the' error due processing time of the software included in the reception time t 2 ' The error due to the processing time of the software included in the reception time t 1 'is subtracted from Therefore, the error included in T ′ (= t 2 ′ −t 1 ′) is a variation of the software processing time, T s in the above equation (3) is reduced, and the error ratio β is reduced.

以上のように、往復回数nは実際の中継遅延時間に対して、ソフトウェアの処理時間による誤差が許容範囲となるように設定する。   As described above, the number of round trips n is set so that the error due to the software processing time falls within an allowable range with respect to the actual relay delay time.

以上説明したように、本発明では、中継機器A,B間の往復の中継遅延時間を測定すべく、中継機器A,B間でDMM/DMRを往復させて、中継遅延時間をソフトウェアでも測定可能なレベルまで遅延させており、中継機器A,B間でDMM/DMRを往復させて得られた中継遅延時間の時間差T’を、往復させた回数nで割ることで、中継遅延時間Tdを算出している。 As described above, in the present invention, in order to measure the round-trip relay delay time between the relay devices A and B, the relay delay time can be measured by software by reciprocating the DMM / DMR between the relay devices A and B. By dividing the time difference T ′ of the relay delay time obtained by reciprocating the DMM / DMR between the relay devices A and B by the number of reciprocations n, the relay delay time T d is Calculated.

これにより、中継遅延時間をソフトウェアで正確に測定することが可能となり、中継機器Aが送信用ラインカードと受信用ラインカードを有し、送信用ラインカードのハードウェアのクロックと受信用ラインカードのハードウェアのクロックが同期されていない場合でも、正確な中継遅延時間Tdを測定することが可能となる。 As a result, the relay delay time can be accurately measured by software, the relay device A has a transmission line card and a reception line card, and the hardware clock of the transmission line card and the reception line card Even when the hardware clocks are not synchronized, it is possible to accurately measure the relay delay time Td .

また、本発明では、中継機器Aから最初のDMM(0)を送信する際に、これを中継機器Aが内部で受信して、DMM(0)の受信時刻t1’を測定すると共に、中継機器A,B間をn往復させた後のDMR(n−1)の受信時刻t2’を測定し、受信時刻t1’,t2’の差を往復させた回数nで割ることで中継遅延時間Tdを算出している。 In the present invention, when the first DMM (0) is transmitted from the relay device A, the relay device A receives it internally, measures the reception time t 1 ′ of the DMM (0), and relays it. Relay by dividing the difference between reception times t 1 ′ and t 2 ′ by the number of round trips n after measuring the reception time t 2 ′ of DMR (n−1) after n round trips between devices A and B The delay time Td is calculated.

DMM(0)、DMR(n−1)を受信する際のソフトウェアの受信処理にかかる時間はほぼ同じであるので、受信時刻t1’,t2’は共にソフトウェアの受信処理にかかる時間だけずれて測定されるため、その差である中継遅延時間の時間差T’は実際の中継遅延時間の時間差Tとほぼ同じ値となり、中継遅延時間の時間差T’を往復回数nで割ることで、正確な中継遅延時間Tdを求めることができる。 Since the time required for the software reception process when receiving DMM (0) and DMR (n−1) is substantially the same, the reception times t 1 ′ and t 2 ′ are shifted by the time required for the software reception process. Therefore, the time difference T ′ of the relay delay time, which is the difference, is almost the same value as the time difference T of the actual relay delay time, and the time difference T ′ of the relay delay time is divided by the number of round trips n to obtain an accurate The relay delay time Td can be obtained.

さらに、中継機器A,B間でDMM/DMRを往復させる回数を、1000回以上とすることにより、誤差をより少なくすることが可能となり、より正確な中継遅延時間Tdを求めることができる。 Further, by setting the number of times the DMM / DMR is reciprocated between the relay devices A and B to 1000 times or more, the error can be further reduced, and a more accurate relay delay time Td can be obtained.

上記実施形態では、受信したDMRをDMMに変換した後に往復回数rをインクリメントしているが、これに限定されず、DMRをDMMに変換する前に、往復回数rをインクリメントするようにしてもよい。   In the above embodiment, the round trip number r is incremented after the received DMR is converted to DMM. However, the present invention is not limited to this, and the round trip number r may be incremented before the DMR is converted to DMM. .

本発明は、上記実施形態には限定されず、当業者にとって想到し得る本明細書に説明された基本的教示の範囲に含まれる全ての変更、および代替的構成を具体化するものとして解釈されるべきである。   The present invention is not limited to the above-described embodiments, but is interpreted as embodying all modifications and alternative configurations included in the scope of the basic teachings described in the present specification that can be conceived by those skilled in the art. Should be.

本発明の中継機器間の中継遅延時間の測定システムの模式図である。It is a schematic diagram of the measuring system of the relay delay time between relay devices of the present invention. 図1の中継機器間の中継遅延時間の測定システムの中継機器Aの動作を説明する図である。It is a figure explaining the operation | movement of the relay apparatus A of the measuring system of the relay delay time between relay apparatuses of FIG. 図1の中継機器間の中継遅延時間の測定システムの中継機器Aの動作を説明する図である。It is a figure explaining the operation | movement of the relay apparatus A of the measuring system of the relay delay time between relay apparatuses of FIG. 本発明で用いるDMM,DMRのフレーム構造を説明する図である。It is a figure explaining the frame structure of DMM and DMR used by this invention. 本発明の中継機器間の中継遅延時間の測定方法を説明する図である。It is a figure explaining the measuring method of the relay delay time between the relay apparatuses of this invention. ハードウェアレベルで同期されたクロックを持たないシステムの一例を示す模式図である。It is a schematic diagram which shows an example of the system which does not have the clock synchronized at the hardware level. 従来の中継機器間の中継遅延時間の測定方法を説明する図である。It is a figure explaining the measuring method of the relay delay time between the conventional relay apparatuses.

符号の説明Explanation of symbols

1 中継機器間の中継遅延時間の測定システム
2 DM制御回路
3 パケット解析回路
4 ソフトウェア処理部
5 DMR−DMM変換回路
6 インクリメント回路
7 ソフトウェア要求送信回路
8 送信側コピー回路
9 受信側コピー回路
10 DMR破棄回路
11 第1受信時刻測定部
12 第2受信時刻測定部
13 中継遅延測定部
14 DM制御回路
15 DMM−DMR変換回路
A,B 中継機器
1 Measurement system for relay delay time between relay devices 2 DM control circuit 3 Packet analysis circuit 4 Software processing unit 5 DMR-DMM conversion circuit 6 Increment circuit 7 Software request transmission circuit 8 Transmission side copy circuit 9 Reception side copy circuit 10 DMR discard Circuit 11 First reception time measurement unit 12 Second reception time measurement unit 13 Relay delay measurement unit 14 DM control circuit 15 DMM-DMR conversion circuit A, B Relay device

Claims (18)

第1の中継機器と第2の中継機器の間の往復の中継遅延時間を測定する中継機器間の中継遅延時間の測定方法であって、
前記第1の中継機器と前記第2の中継機器の間を所定の回数往復するときにかかる中継遅延時間を測定することを特徴とする中継機器間の中継遅延時間の測定方法。
A method for measuring a relay delay time between relay devices for measuring a round trip relay delay time between a first relay device and a second relay device,
A method for measuring a relay delay time between relay devices, comprising measuring a relay delay time required for a predetermined number of round trips between the first relay device and the second relay device.
前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記第1の中継機器と前記第2の中継機器の間の往復の中継遅延時間を算出する請求項1記載の中継機器間の中継遅延時間の測定方法。   The first relay device and the second relay device are divided by the predetermined number of times of the relay delay time required for the predetermined number of round trips between the first relay device and the second relay device. The method for measuring a relay delay time between relay devices according to claim 1, wherein a round trip relay delay time between the devices is calculated. 前記第1の中継機器から第1のフレームを前記第2の中継機器に送信し、
前記第2の中継機器は、前記第1のフレームを受信し、前記第1のフレームを第2のフレームに変換し、前記第2のフレームを前記第1の中継機器へ送信し、
前記第1の中継機器は、前記第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信し、
前記第1の中継機器と前記第2の中継機器の間で前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行うことにより、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項1又は2記載の中継機器間の中継遅延時間の測定方法。
Transmitting a first frame from the first relay device to the second relay device;
The second relay device receives the first frame, converts the first frame into a second frame, and transmits the second frame to the first relay device;
The first relay device receives the second frame, converts the second frame into the first frame, and transmits the first frame to the second relay device;
By performing the predetermined number of round-trip exchanges between the first frame and the second frame between the first relay device and the second relay device, the first relay device and the second relay device. The method of measuring a relay delay time between relay devices according to claim 1 or 2, wherein the relay delay time required when the predetermined number of round trips between the relay devices is measured.
前記第1の中継機器から最初の第1のフレームを送信する際に、前記第1の中継機器が内部で受信して、最初の第1のフレームの受信時刻を測定し、
前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復した後の第2のフレームを前記第1の中継機器が受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、
前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項3記載の中継機器間の中継遅延時間の測定方法。
When transmitting the first first frame from the first relay device, the first relay device internally receives and measures the reception time of the first first frame;
The first relay device receives the second frame after the predetermined number of round trips between the first relay device and the second relay device, and the second frame after the predetermined number of round trips Measure the frame reception time,
Based on the difference between the reception time of the second frame after the predetermined number of round trips and the reception time of the first first frame, the round trip between the first relay device and the second relay device is performed the predetermined number of times. 4. The method for measuring a relay delay time between relay devices according to claim 3, wherein the relay delay time is sometimes measured.
前記第1のフレームおよび前記第2のフレームは前記第1の中継機器と前記第2の中継機器の間の往復回数を保持する領域を備え、
前記第1の中継機器は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記第2の中継機器に送信する請求項3又は4記載の中継機器間の中継遅延時間の測定方法。
The first frame and the second frame have a region for holding the number of round trips between the first relay device and the second relay device,
The first relay device converts the received second frame into the first frame, increments the number of round-trips of the area, and transmits the first frame to the second relay device. The method for measuring a relay delay time between relay devices according to claim 3 or 4.
前記第1のフレームおよび前記第2のフレームとしてITU−T Y.1731に規定されるDMM、DMRを用いる請求項3から5いずれか記載の中継機器間の中継遅延時間の測定方法。   As the first frame and the second frame, ITU-T Y. The method for measuring a relay delay time between relay devices according to any one of claims 3 to 5, wherein DMM and DMR specified in 1731 are used. 第1の中継機器と第2の中継機器の間の往復の中継遅延時間を測定する中継機器間の中継遅延時間の測定システムであって、
前記第1の中継機器は前記第2の中継機器との間を所定の回数往復するときにかかる中継遅延時間を測定する手段を備えることを特徴とする中継機器間の中継遅延時間の測定システム。
A system for measuring a relay delay time between relay devices that measures a round trip relay delay time between a first relay device and a second relay device,
The system for measuring a relay delay time between relay devices, wherein the first relay device includes means for measuring a relay delay time required when the first relay device makes a predetermined number of round trips to and from the second relay device.
前記第1の中継機器は、前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記第1の中継機器と前記第2の中継機器の間の往復の中継遅延時間を算出する請求項7記載の中継機器間の中継遅延時間の測定システム。   The first relay device divides a relay delay time required for the predetermined number of round trips between the first relay device and the second relay device by the predetermined number of times. The system for measuring a relay delay time between relay devices according to claim 7, wherein a round trip relay delay time between the relay device and the second relay device is calculated. 前記第2の中継機器は、前記第1の中継機器からの第1のフレームを受信し、前記第1のフレームを第2のフレームに変換し、前記第2のフレームを前記第1の中継機器へ送信する手段を備え、
前記第1の中継機器は、前記第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信する手段を備え、 前記第1の中継機器と前記第2の中継機器は前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行う請求項7又は8記載の中継機器間の中継遅延時間の測定システム。
The second relay device receives a first frame from the first relay device, converts the first frame into a second frame, and converts the second frame to the first relay device. Means to transmit to
The first relay device includes means for receiving the second frame, converting the second frame into the first frame, and transmitting the first frame to the second relay device. 9. The relay delay time between relay devices according to claim 7, wherein the first relay device and the second relay device perform round-trip exchange between the first frame and the second frame a predetermined number of times. Measuring system.
前記第1の中継機器は、
最初の第1のフレームを送信する際に、内部で受信して、最初の第1のフレームの受信時刻を測定し、
前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復した後の第2のフレームを受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、
前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記第1の中継機器と前記第2の中継機器の間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項9記載の中継機器間の中継遅延時間の測定システム。
The first relay device is
When transmitting the first first frame, it is received internally to measure the reception time of the first first frame,
Receiving the second frame after the predetermined number of round trips between the first relay device and the second relay device, and measuring the reception time of the second frame after the predetermined round trips ,
Based on the difference between the reception time of the second frame after the predetermined number of round trips and the reception time of the first first frame, the round trip between the first relay device and the second relay device is performed the predetermined number of times. 10. The system for measuring a relay delay time between relay devices according to claim 9, which measures the relay delay time that is sometimes required.
前記第1のフレームおよび前記第2のフレームは前記第1の中継機器と前記第2の中継機器の間の往復回数を保持する領域を備え、
前記第1の中継機器は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記第2の中継機器に送信する請求項9又は10記載の中継機器間の中継遅延時間の測定システム。
The first frame and the second frame have a region for holding the number of round trips between the first relay device and the second relay device,
The first relay device converts the received second frame into the first frame, increments the number of round-trips of the area, and transmits the first frame to the second relay device. The system for measuring a relay delay time between relay devices according to claim 9 or 10.
前記第1のフレームおよび前記第2のフレームとしてITU−T Y.1731に規定されるDMM、DMRを用いる請求項9から11いずれか記載の中継機器間の中継遅延時間の測定方法。   As the first frame and the second frame, ITU-T Y. The method for measuring a relay delay time between relay devices according to claim 9, wherein DMM and DMR specified in 1731 are used. 他の中継機器との間を所定の回数往復するときにかかる中継遅延時間を測定する手段を備えることを特徴とする中継機器。   A relay device comprising means for measuring a relay delay time required for a predetermined number of round trips to and from another relay device. 前記手段は、前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を前記所定の回数で割ることにより、前記他の中継機器との間の往復の中継遅延時間を算出する請求項13記載の中継機器。   The means divides the relay delay time required for the predetermined number of round trips with the other relay device by the predetermined number of times, thereby reducing the round trip relay delay time with the other relay device. The relay device according to claim 13 to calculate. 前記手段は、
第1のフレームを前記他の中継機器に送信し、
前記他の中継機器からの第2のフレームを受信し、前記第2のフレームを前記第1のフレームに変換し、前記第1のフレームを前記第2の中継機器へ送信し、
前記他の中継機器との間で前記第1のフレームと前記第2のフレームの往復のやりとりを前記所定の回数行うことにより、前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項13又は14記載の中継機器。
The means is
Sending the first frame to the other relay device;
Receiving a second frame from the other relay device, converting the second frame into the first frame, and transmitting the first frame to the second relay device;
By reciprocating the first frame and the second frame with the other relay device for the predetermined number of times, and when reciprocating with the other relay device for the predetermined number of times. The relay device according to claim 13 or 14, which measures the relay delay time.
前記手段は、
最初の第1のフレームを送信する際に、前記手段の内部で受信して、最初の第1のフレームの受信時刻を測定し、
前記他の中継機器との間を前記所定の回数往復した後の前記第2のフレームを受信して、前記所定の回数往復後の第2のフレームの受信時刻を測定し、
前記所定の回数往復後の第2のフレームの受信時刻と前記最初の第1のフレームの受信時刻の差から前記他の中継機器との間を前記所定の回数往復するときにかかる中継遅延時間を測定する請求項15記載の中継機器。
The means is
When transmitting the first first frame, received inside the means to measure the reception time of the first first frame;
Receiving the second frame after the predetermined number of round-trips with the other relay device, and measuring the reception time of the second frame after the predetermined number of round-trips;
The relay delay time required for the predetermined number of round trips to the other relay device based on the difference between the reception time of the second frame after the predetermined round trip and the reception time of the first first frame. The relay device according to claim 15 to be measured.
前記第1のフレームおよび前記第2のフレームは前記他の中継機器との間の往復回数を保持する領域を備え、
前記手段は、受信した前記第2のフレームを前記第1のフレームに変換するとともに前記領域の往復回数をインクリメントして、前記第1のフレームを前記他の中継機器に送信する請求項15又は16記載の中継機器。
The first frame and the second frame have a region for holding the number of round-trips with the other relay device,
The means converts the received second frame into the first frame, increments the number of round-trips of the area, and transmits the first frame to the other relay device. The relay equipment described.
前記第1のフレームとしてITU−T Y.1731に規定されるDMMを用いる請求項15から17いずれか記載の中継機器。   As the first frame, ITU-T Y.T. The relay device according to claim 15, wherein a DMM defined in 1731 is used.
JP2008257591A 2008-10-02 2008-10-02 Method and system for measuring relay delay time between relay apparatuses, and relay apparatus Pending JP2010088040A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008257591A JP2010088040A (en) 2008-10-02 2008-10-02 Method and system for measuring relay delay time between relay apparatuses, and relay apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008257591A JP2010088040A (en) 2008-10-02 2008-10-02 Method and system for measuring relay delay time between relay apparatuses, and relay apparatus

Publications (1)

Publication Number Publication Date
JP2010088040A true JP2010088040A (en) 2010-04-15

Family

ID=42251499

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008257591A Pending JP2010088040A (en) 2008-10-02 2008-10-02 Method and system for measuring relay delay time between relay apparatuses, and relay apparatus

Country Status (1)

Country Link
JP (1) JP2010088040A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022244262A1 (en) * 2021-05-21 2022-11-24 日本電信電話株式会社 Network delay measurement system, network delay measurement method, and network delay measurement device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022244262A1 (en) * 2021-05-21 2022-11-24 日本電信電話株式会社 Network delay measurement system, network delay measurement method, and network delay measurement device

Similar Documents

Publication Publication Date Title
US11843535B2 (en) Key performance indicators (KPI) for tracking and correcting problems for a network-under-test
CN103299583B (en) Measure active volume and the system and method for tight link capacity in the IP path coming from single endpoint
US8107502B2 (en) Method and apparatus for monitoring packet networks
KR101481396B1 (en) Method for synchronizing master and slave clocks of packet-switched network with aggregated connections between nodes, and associated synchronization devices
JP4983930B2 (en) Frame loss measuring method, system and apparatus
CN105262555B (en) Time synchronization method, programmable logic device, single board and network element
EP1953937A1 (en) Clock synchronization aid device for communication station(s) of a wireless network, and associated clock synchronization device
JP5636093B2 (en) Method and apparatus for performing clock synchronization between devices
WO2014047941A1 (en) Network delay measuring method, device, and system
EP2701335A1 (en) Synchronization control system
WO2012009987A1 (en) Device, system and method for frame delay measurement
WO2007056915A1 (en) A method for measuring mpls network performance parameter and device and system for transmitting packet
EP3174237A1 (en) Time synchronization method and apparatus for network devices and time synchronization server
WO2017113771A1 (en) Packet processing method and device
JP5815155B2 (en) Relay device, relay method, and relay program
US8976818B2 (en) Communication device, a control device, and a non-transitory computer readable medium
CN110381071B (en) Message transmission method and device and sender equipment
CN106161121B (en) Method, device and system for measuring message forwarding time delay
US8989039B2 (en) Packet transfer delay measurement system
WO2013078873A1 (en) Method and device for identifying response message
JP2005210515A (en) Method and device for single-point observation type measurement of network quality
JP2010088040A (en) Method and system for measuring relay delay time between relay apparatuses, and relay apparatus
KR101044065B1 (en) Method for Synchronizing Time in IPTV Service Network
JP2011040870A (en) Optical transmission system, and synchronization method using time reference pulse
JP5201091B2 (en) Communication device