CN102984032A - Transmission delay testing method, device and system - Google Patents
Transmission delay testing method, device and system Download PDFInfo
- Publication number
- CN102984032A CN102984032A CN2012105375616A CN201210537561A CN102984032A CN 102984032 A CN102984032 A CN 102984032A CN 2012105375616 A CN2012105375616 A CN 2012105375616A CN 201210537561 A CN201210537561 A CN 201210537561A CN 102984032 A CN102984032 A CN 102984032A
- Authority
- CN
- China
- Prior art keywords
- website
- packet
- propagation delay
- time
- router
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a transmission delay testing method, device and system. The transmission delay testing method comprises the steps that a tester arranged at a first site transmits a data package to a router arranged at a second site at first time; a destination address of the data package meets a requirement that when the router at the second site retransmits the data package, the next hop is the first site; the tester receives the data package retransmitted by the router arranged at the second site at second time; and the transmission delay between the first site and the second site is obtained according to the first time and the second time. The transmission delay testing method, device and system can test the transmission delay between the sites effectively.
Description
Technical field
The present invention relates to network transmission technology, relate in particular to a kind of propagation delay time method of testing, Apparatus and system, belong to communication technical field.
Background technology
For becoming increasingly complex and huge network system, the propagation delay time of accurately grasping between each website has become the normal and smooth key of guarantee network operation.
Existing propagation delay time method of testing usually has and sends the Ping bag, at website to be tested the tester of sending out mutually flow is set, and the methods such as probe that provide of installation testing instrument developer.The method of wherein sending out the Ping bag is more rough, and accuracy is relatively poor, and website to be tested arranges tester, and the method that instrument cubicle is sent out flow mutually needs accurate clock synchronous between the website instrument to be tested, realizes that difficulty is larger.The mode that adopts probe is the propagation delay time can't measure near the existing network actual flow time owing to can be subject to installing the performance limitations of PC of probe itself then.
Therefore, do not have at present a kind of method that can measure convenient, exactly propagation delay time between the heterogeneous networks website.
Summary of the invention
For the defective that exists in the prior art, the invention provides a kind of propagation delay time method of testing, Apparatus and system, with realize efficiently, accurately propagation delay time test.
According to a first aspect of the invention, provide a kind of propagation delay time method of testing, comprising:
The tester that is arranged on the first website sends packet in the very first time to the router that is arranged on the second website, and the destination address of described packet satisfies: when the router of described the second website was transmitted described packet, down hop was described the first website;
Described tester receives the described packet that the described router that is arranged on the second website is transmitted in the second time;
Obtain the propagation delay time of described the first website and described the second website according to the described very first time and described the second time.
According to a second aspect of the invention, provide a kind of propagation delay time testing apparatus, be arranged on the first website, comprising:
The Packet Generation module is used for sending packet in the very first time to the router that is arranged on the second website, and the destination address of described packet satisfies: when the router of described the second website was transmitted described packet, down hop was described the first website;
Packet-receiving module is used for receiving the described packet that the described router that is arranged on the second website is transmitted in the second time;
Acquisition module is used for obtaining according to the described very first time and described the second time the propagation delay time of described the first website and described the second website.
According to a third aspect of the invention we, provide a kind of propagation delay time test macro, comprise propagation delay time testing apparatus provided by the invention, and the connected router that is arranged on the second website.
Propagation delay time method of testing, Apparatus and system according to the present invention, when the propagation delay time between test the first website and the second website, by sending packet with the tester alternate router to the second website at the first website, so that the second website is behind the packet that receives the transmission of the first website, destination address according to packet directly returns package forward the first website, tester can accurately calculate propagation delay time between the first website and the second website according to time of Packet Generation and reception, thereby has realized efficiently, accurately propagation delay time test.
Description of drawings
Fig. 1 is the schematic flow sheet of the propagation delay time method of testing of the embodiment of the invention.
Fig. 2 is the schematic flow sheet of another propagation delay time method of testing of the embodiment of the invention.
Fig. 3 is the structural representation of the propagation delay time testing apparatus of the embodiment of the invention.
Fig. 4 is the configuration diagram of the propagation delay time test macro of the embodiment of the invention.
Embodiment
Embodiment one
Fig. 1 is the schematic flow sheet of the propagation delay time method of testing of the embodiment of the invention, and as shown in Figure 1, this propagation delay time method of testing comprises:
Particularly, at the first website tester is set, replaces the router of the first website with this tester, connect the router of the second website.The tester that is arranged on the first website sends the packet that is used for test the first website and the second website propagation delay time to the router that is arranged on the second website, and the record very first time, and this very first time is the time of Packet Generation.This packet can be the packet of arbitrary form, for example both can be the conventional packet that carries out data interaction, also can be the specified format packet that only is used for the test time delay.The destination address that this packet carries meets the following conditions: when the router of the second website was transmitted this packet, down hop was the first website, namely satisfied: after the second website receives this packet, can directly transmit this packet to the first website.
When the router that is arranged on the second website receives the packet that the tester that is arranged on the first website sends, resolve this packet, and the destination address that carries according to this packet is with this package forward to the first website.The tester that is arranged on the first website receives the packet that is used for test the first website and the second website propagation delay time of the router forwarding that is arranged on the second website, and recorded for the second time, this second time is tester receives this packet from the router that is arranged on the second website time.Tester can calculate the propagation delay time of the first website and the second website according to the very first time and the second time.
Because in actual applications, network transfer delay to be measured is usually in a few tens of milliseconds magnitude, and that the router Forwarding Delay only has is tens delicate, so the Forwarding Delay of end-to-end router (namely being arranged on the router of the second website) can be ignored whole delay performance impact.Therefore, propagation delay time is the poor of the second time and the very first time, and this propagation delay time is unidirectional transmission time delay divided by two quotients that obtain.
Propagation delay time method of testing according to above-described embodiment, when the propagation delay time between test the first website and the second website, by sending packet with the tester alternate router to the second website at the first website, so that the second website is behind the packet that receives the transmission of the first website, destination address according to packet directly returns package forward the first website, tester can accurately calculate propagation delay time between the first website and the second website according to time of Packet Generation and reception, thereby has realized efficiently, accurately propagation delay time test.
In addition, since at the first website with the tester alternate router, communicate with the router that is arranged on the second website, can also avoid between the second website, forming route loop at the first website, cause the problem of between two places, constantly transmitting for the packet of test.
Embodiment two
Fig. 2 is the schematic flow sheet of another propagation delay time method of testing of the embodiment of the invention, and as shown in Figure 2, this propagation delay time method of testing comprises:
Wherein, packet carries destination address, and this destination address satisfies: down hop is the first website when the router that is arranged on the second website is transmitted this packet.For example, tester can be according to the routing table of the second station maintenance, the destination address of packet is made as belongs to the address field that down hop is the first website, also can be in static routing of the second website router manual configuration, the down hop of a certain address field is pointed to the first website, and guarantee that this route preferentially comes into force, and tester when sending packet the destination address of packet be set to belong to this address field.
Particularly, the router that is arranged on the second website carries out forward process to this packet, according to the routing table of self maintained, determines the forward-path of this packet that is:, and the down hop of this forward-path is the first website.
Embodiment three
Fig. 3 is the structural representation of the propagation delay time testing apparatus of the embodiment of the invention.This propagation delay time testing apparatus is arranged on the first website, for example is the tester in above-described embodiment.As shown in Figure 3, this propagation delay time testing apparatus comprises:
Packet-receiving module 32 is used for receiving the described packet that the described router that is arranged on the second website is transmitted in the second time;
The propagation delay time testing apparatus of above-described embodiment, the idiographic flow of measuring propagation delay time is identical with the propagation delay time method of testing of above-mentioned arbitrary embodiment, so locate do not giving unnecessary details.
Propagation delay time testing apparatus according to above-described embodiment, when the propagation delay time between test the first website and the second website, by sending packet with propagation delay time testing apparatus alternate router to the second website at the first website, so that the second website is behind the packet that receives the transmission of the first website, destination address according to packet directly returns package forward the first website, the propagation delay time testing apparatus can accurately calculate propagation delay time between the first website and the second website according to time of Packet Generation and reception, thereby has realized efficient, accurately propagation delay time test.
Further, in the propagation delay time testing apparatus of above-described embodiment, when the Packet Generation module sends packet, need to determine according to the routing table that is arranged on the router of the second website the destination address of described packet.
Embodiment four
Fig. 4 is the configuration diagram of the propagation delay time test macro of the embodiment of the invention.As shown in Figure 4, this propagation delay time test macro comprises:
The propagation delay time testing apparatus 41 of above-mentioned arbitrary embodiment, and the connected router four 2 that is arranged on the second website.
The propagation delay time test macro of above-described embodiment, the idiographic flow of measuring propagation delay time and the propagation delay time method of testing of above-mentioned arbitrary embodiment and install identical, so locate do not giving unnecessary details.
Propagation delay time test macro according to above-described embodiment, when the propagation delay time between test the first website and the second website, by sending packet with propagation delay time testing apparatus alternate router to the second website at the first website, so that the second website is behind the packet that receives the transmission of the first website, destination address according to packet directly returns package forward the first website, the propagation delay time testing apparatus can accurately calculate propagation delay time between the first website and the second website according to time of Packet Generation and reception, thereby has realized efficient, accurately propagation delay time test.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (5)
1. a propagation delay time method of testing is characterized in that, comprising:
The tester that is arranged on the first website sends packet in the very first time to the router that is arranged on the second website, and the destination address of described packet satisfies: when the router of described the second website was transmitted described packet, down hop was described the first website;
Described tester receives the described packet that the described router that is arranged on the second website is transmitted in the second time;
Obtain the propagation delay time of described the first website and described the second website according to the described very first time and described the second time.
2. propagation delay time method of testing according to claim 1 is characterized in that, described destination address is determined according to the described routing table that is arranged on the router of the second website by described tester.
3. a propagation delay time testing apparatus is arranged on the first website, it is characterized in that, comprising:
The Packet Generation module is used for sending packet in the very first time to the router that is arranged on the second website, and the destination address of described packet satisfies: when the router of described the second website was transmitted described packet, down hop was described the first website;
Packet-receiving module is used for receiving the described packet that the described router that is arranged on the second website is transmitted in the second time;
Acquisition module is used for obtaining according to the described very first time and described the second time the propagation delay time of described the first website and described the second website.
4. described propagation delay time testing apparatus according to claim 3 is characterized in that, described Packet Generation module also is used for determining described destination address according to the described routing table that is arranged on the router of the second website.
5. a propagation delay time test macro is characterized in that, comprises claim 3 or 4 described propagation delay time testing apparatuss, and the connected router that is arranged on the second website.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105375616A CN102984032A (en) | 2012-12-12 | 2012-12-12 | Transmission delay testing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105375616A CN102984032A (en) | 2012-12-12 | 2012-12-12 | Transmission delay testing method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102984032A true CN102984032A (en) | 2013-03-20 |
Family
ID=47857793
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105375616A Pending CN102984032A (en) | 2012-12-12 | 2012-12-12 | Transmission delay testing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102984032A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105610535A (en) * | 2015-12-25 | 2016-05-25 | 南方电网科学研究院有限责任公司 | Method and system for synchronizing round trip time of EPON access service |
CN106341743A (en) * | 2016-11-03 | 2017-01-18 | 乐视控股(北京)有限公司 | Data delay determining method, device and system |
CN114650243A (en) * | 2020-12-18 | 2022-06-21 | 北京小米移动软件有限公司 | Network delay detection method and device, mobile terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614939A (en) * | 2003-11-06 | 2005-05-11 | 华为技术有限公司 | Realizing method for time-delaying test |
CN1859233A (en) * | 2006-01-05 | 2006-11-08 | 华为技术有限公司 | Method for QoS delay detection in communication system |
CN1972219A (en) * | 2005-11-23 | 2007-05-30 | 杭州华为三康技术有限公司 | Network performance test method, system and network device |
CN101488892A (en) * | 2009-02-04 | 2009-07-22 | 北京华力创通科技股份有限公司 | Method and apparatus for testing forwording time delay of equipment |
US20110199929A1 (en) * | 2008-10-25 | 2011-08-18 | Huawei Technologies Co., Ltd. | Method and device for measuring network performance parameters |
-
2012
- 2012-12-12 CN CN2012105375616A patent/CN102984032A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1614939A (en) * | 2003-11-06 | 2005-05-11 | 华为技术有限公司 | Realizing method for time-delaying test |
CN1972219A (en) * | 2005-11-23 | 2007-05-30 | 杭州华为三康技术有限公司 | Network performance test method, system and network device |
CN1859233A (en) * | 2006-01-05 | 2006-11-08 | 华为技术有限公司 | Method for QoS delay detection in communication system |
US20110199929A1 (en) * | 2008-10-25 | 2011-08-18 | Huawei Technologies Co., Ltd. | Method and device for measuring network performance parameters |
CN101488892A (en) * | 2009-02-04 | 2009-07-22 | 北京华力创通科技股份有限公司 | Method and apparatus for testing forwording time delay of equipment |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105610535A (en) * | 2015-12-25 | 2016-05-25 | 南方电网科学研究院有限责任公司 | Method and system for synchronizing round trip time of EPON access service |
CN105610535B (en) * | 2015-12-25 | 2018-06-29 | 南方电网科学研究院有限责任公司 | Method and system for synchronizing round trip time of EPON access service |
CN106341743A (en) * | 2016-11-03 | 2017-01-18 | 乐视控股(北京)有限公司 | Data delay determining method, device and system |
CN114650243A (en) * | 2020-12-18 | 2022-06-21 | 北京小米移动软件有限公司 | Network delay detection method and device, mobile terminal and storage medium |
CN114650243B (en) * | 2020-12-18 | 2024-02-06 | 北京小米移动软件有限公司 | Network delay detection method and device, mobile terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI528755B (en) | A controller for delay measurement, a delay measurement system and a delay measurement method in sdn | |
EP2706686B1 (en) | Method, terminal and system for measuring asymmetric delay of transmission link | |
CN101594222B (en) | Interface testing method and device | |
KR101479483B1 (en) | Method for correcting an asymmetry in a delay | |
JP5878641B2 (en) | Method and apparatus for detecting error of 1588 hours between network elements | |
CN102291178B (en) | Method and device for measuring the asymmetrical time delay of optical fiber | |
CN106961312B (en) | A kind of structure of network instrument clock synchronization system and method | |
CN103959687A (en) | Method and related network element providing delay measurement in an optical transport network | |
CN101488892B (en) | Method and apparatus for testing forwording time delay of equipment | |
CN101547063A (en) | Method and system for testing forward delay | |
CN108173718A (en) | The system and method for BFD link detectings and assessment based on SD-WAN scenes | |
CN103168440A (en) | Method and device for compensating for time path | |
CN105703892A (en) | Method of realizing PTP nanosecond precision based on hardware time stamp | |
CN103546268A (en) | Method and device for compensating system time | |
CN101594169A (en) | Method that is used to measure and equipment | |
CN102984032A (en) | Transmission delay testing method, device and system | |
CN112751639B (en) | Time synchronization method, communication equipment and system | |
EP2800287B1 (en) | Method and device for detecting symmetry of optical fiber | |
CN104601269A (en) | Master and slave clock synchronization method and system | |
CN104104644A (en) | Bidirectional forwarding detection system and detection time configuration method of bidirectional forwarding detection | |
CN106375154B (en) | A kind of latency measurement verification method, apparatus and system | |
JP4815534B2 (en) | Packet delay characteristic measuring apparatus and method | |
CN103427900B (en) | A kind of asymmetrical compensation of optical fiber, equipment and system | |
CN106161121A (en) | The measuring method of a kind of message Forwarding Delay, Apparatus and system | |
CN101692632A (en) | Method and device for supporting transmission clock |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130320 |