CN103297282A - Network delay measuring device and method - Google Patents

Network delay measuring device and method Download PDF

Info

Publication number
CN103297282A
CN103297282A CN2012100422396A CN201210042239A CN103297282A CN 103297282 A CN103297282 A CN 103297282A CN 2012100422396 A CN2012100422396 A CN 2012100422396A CN 201210042239 A CN201210042239 A CN 201210042239A CN 103297282 A CN103297282 A CN 103297282A
Authority
CN
China
Prior art keywords
packet
time
test packet
communication interface
network
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
CN2012100422396A
Other languages
Chinese (zh)
Inventor
赵群
张永生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to CN2012100422396A priority Critical patent/CN103297282A/en
Publication of CN103297282A publication Critical patent/CN103297282A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a network delay measuring device and method which is used for realizing convenient and accurate delay measurement under the condition that normal operation of network elements is not affected. The network delay measuring device comprises a first communication interface, a second communication interface and a receiving module used for receiving a data packet through the second communication interface. The network delay measuring device further comprises a third communication interface, a data packet generation module, a sending module and a processing module. The third communication interface can be connected to the Internet through a third network. The data packet generation module is used for generating a test data packet. The sending module is used for sending the test data packet and recording sending time. The processing module is used for obtaining the receiving time of the data packet when the received data packet is the test data packet, and for calculating a transmission delay based on the receiving time and the sending time. Otherwise, the processing module forwards the data packet received by the receiving module to a user terminal through the first communication interface. The network delay measuring device and method realizes convenient and accurate delay measurement under the condition that the normal operation of the network elements is not affected.

Description

The network delay measurement device and method
Technical field
The present invention relates to communication technical field, particularly a kind of network delay measurement device and method.
Background technology
The time delay of communication network is to weigh the important parameter of COMMUNICATION NETWORK PERFORMANCES, also is to influence the important QoS index that communication network users is experienced.
Consider network scenarios as shown in Figure 1, wherein have a network element 101, it is in the effect of serving as gateway between two different communication networks.A communication interface of this network element 101 is connected to subscriber equipment 102, and as PC etc., and another communication interface is connected to the server 103 on the Internet.
User's upstream data sends to internet by subscriber equipment 102 through these network element 101 transfers, and user's downlink data sends to subscriber equipment 102 by internet through these network element 101 transfers.
Existing data network is measured the method for Internet time delay generally need set up or specify a specific server at the Internet far-end, represents descending time delay by measuring by this server to the time delay of network element.
There are two kinds of descending Delay Measurement in the prior art, are described below respectively:
Method of measurement one
Send specific packet to server 103 by network element 101, and the record transmitting time; When server 103 detects this packet, packet is sent back to network element 101, network element 101 is the time of reception of record data bag again.
Network element 101 utilizes difference two-way time of packet to come estimate sheet to the time delay of transfer of data.
Measurement result was inaccurate when said method differed greatly at the delay character of trip path, and can't be used for measuring not transfer of data time-delay in the same way.
Method of measurement two
Network element 101 and server 103 install synchronization modules be responsible for finishing between two different physical equipments synchronously.After the clock of two equipment rooms is finished synchronously, send specific packet to network element 101 by server 103, and transmitting time is sent it back to network element 101; After network element 101 receives this particular data packet, the record time of reception.Network element 101 utilizes this two times to obtain the time-delay of packet.This method can be measured the One Way Delay of asymmetrical paths.But need the support of other clock synchronization module, certainty of measurement depends on the precision of clock synchronization module.
Owing to need to increase clock synchronization module, so realize that cost is higher, realize also inconvenient.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of network delay measurement device and method, realizes convenient, accurate latency measurement under the situation that does not influence the network element operate as normal.
To achieve these goals, the embodiment of the invention provides a kind of network delay measurement device, comprising:
First communication interface can be connected with user terminal by first network;
The second communication interface can be by second network insertion to Internet;
Receiver module is used for receiving packet by described second communication interface;
It is characterized in that described network delay measurement device also comprises:
Third communication interface can be by the 3rd network insertion to Internet;
The packet generation module is used for generating a test packet, and described test data can be routed to described second communication interface after wrapping in and sending to Internet;
Sending module is used for sending described test packet by described third communication interface, and the record transmitting time;
Processing module, be used for when the packet that described receiver module receives is described test packet, obtain the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by described first communication interface.
Above-mentioned network delay measurement device, wherein, preserve address and the port of described third communication interface in the described processing module in advance, described processing module specifically is used for obtaining source address and the port numbers of the packet that described receiver module receives, and when source address and port numbers are the address of preserving in advance and port, the packet that judgement receives by described receiver module is described test packet, otherwise is user data package.
Above-mentioned network delay measurement device, wherein, each described test packet all is provided with packet sequence number separately, described processing module specifically is used for when the packet that described receiver module receives is described test packet, obtain the time of reception of described packet, and the transmitting time of described test packet of record before searching based on the packet sequence number of described test packet, and calculate described propagation delay time according to described time of reception and described transmitting time.
Above-mentioned network delay measurement device, wherein, described propagation delay time be following 3 poor:
The time of reception of described test packet;
The transmitting time of described test packet; And
Described test packet is transferred to propagation delay time the Internet from described third communication interface by described the 3rd network.
Above-mentioned network delay measurement device wherein, also comprises:
When first control module, the flow that is used in the given time the packet that receives by the second communication interface surpass default thresholding, control described packet generation module or sending module, to reduce the transmission frequency of described test packet.
Above-mentioned network delay measurement device wherein, also comprises:
Acquisition module is for transmission frequency and the size of obtaining user data package;
Second control module, be used for transmission frequency and the described packet generation module of size control according to user data package, make the frequency of the described test packet that described packet generation module generates identical with transmission frequency and the size of described user data package with size.
Above-mentioned network delay measurement device wherein, also comprises:
Statistical module is used for adding up the rate of change of propagation delay time measurement result;
The 3rd control module, be used for when the rate of change of propagation delay time measurement result is preset thresholding above first, control described packet generation module or sending module, improve the transmission frequency of described test packet, when the rate of change of propagation delay time measurement result is lower than the second default thresholding, control described packet generation module or sending module, reduce the transmission frequency of described test packet.
To achieve these goals, the embodiment of the invention also provides a kind of network delay measuring method, comprising:
Generate step, the network delay measurement device generates a test packet, and described test data can be routed to the second communication interface that arranges in the network delay measurement device after wrapping in and sending to Internet;
Forwarding step, the network delay measurement device sends described test packet by the third communication interface that arranges in the network delay measurement device, and the record transmitting time;
Treatment step, when the packet that the receiver module in the network delay measurement device receives by described second communication interface is described test packet, the network delay measurement device obtains the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by first communication interface in the network delay measurement device.
Above-mentioned network delay measuring method also comprises:
Preserve address and the port of described third communication interface in advance;
Before described treatment step, also comprise:
Obtain source address and the port numbers of the packet that described receiver module receives;
When source address and port numbers are the address of preserving in advance and port, judge that the packet that receives by described receiver module is described test packet, otherwise be user data package.
In the above-mentioned network delay measuring method:
Each described test packet all is provided with packet sequence number separately,
The network delay measurement device obtains the time of reception of described packet, and specifically comprises based on described time of reception and described transmitting time calculating propagation delay time:
The network delay measurement device obtains the time of reception of described packet,
The transmitting time of the described test packet of record before the network delay measurement device is searched based on the packet sequence number of described test packet;
The network delay measurement device calculates described propagation delay time according to described time of reception and described transmitting time.
Above-mentioned network delay measuring method, described propagation delay time be following 3 poor:
The time of reception of described test packet;
The transmitting time of described test packet; And
Described test packet is transferred to propagation delay time the Internet from described third communication interface by described third communication network.
Above-mentioned network delay measuring method when the flow of the packet that receives by the second communication interface surpasses default thresholding in the given time, reduces the generated frequency of described test packet and/or reduces the transmission frequency of described test packet.
Above-mentioned network delay measuring method also comprises:
Obtain transmission frequency and the size of user data package, and control processing, the frequency of the feasible described test packet that generates is identical with transmission frequency and the size of described user data package with size.
Above-mentioned network delay measuring method also comprises:
The rate of change of statistics propagation delay time measurement result;
When the rate of change of propagation delay time measurement result surpasses the first default thresholding, improve the generated frequency of described test packet and/or improve the transmission frequency of described test packet;
When the rate of change of propagation delay time measurement result is lower than the second default thresholding, reduces the generated frequency of described test packet and/or reduce the transmission frequency of described test packet.
The embodiment of the invention has at least one in the following beneficial effect:
1, in the network delay measurement device of the embodiment of the invention, the transmitting time of test packet and time of reception obtain based on same clock log, so time delay measures is more accurate, and do not need to increase clock synchronization module, have reduced the measurement cost;
2, in the network delay measurement device of the embodiment of the invention, directly can increase a third communication interface at network element realizes, so can generate and send test packet at any time to carry out the measurement of propagation delay time, test and build network in addition not needing in prior art, therefore convenient;
3, in the network delay measurement device of the embodiment of the invention, increase a third communication interface at network element, multiplexing this second communication interface carries out latency measurement, and therefore delay testing equipment that need not be independent reduced the measurement cost of time delay;
4, because processing module can be treated respectively the data based data type that receives, therefore can not influence the normal data business of user terminal.
5, because propagation delay time is measured and user data service is to handle, simulated actual user data path to greatest extent in a network element, therefore can obtain to experience approaching measurement result with the user.
6, adjust the transmission frequency of test packet in real time according to subscriber traffic, to reduce the influence to customer service;
7, by adjusting transmission frequency and the packet size of test packet, can obtain with user's current business situation under the propagation delay time measurement result that approaches more of actual transmissions time delay.
Description of drawings
Fig. 1 is a kind of schematic diagram of existing network scenarios;
Fig. 2 is the structural representation of the network delay measurement device of the embodiment of the invention;
Fig. 3 is the schematic flow sheet of the network delay measuring method of the embodiment of the invention;
Fig. 4 is a kind of structural representation of specific implementation of the network delay measurement device of the embodiment of the invention;
Embodiment
The network delay measurement device and method of the embodiment of the invention, by increasing by first interface at network element, and multiplexing network element is existing and second interface of server communication, by the destination of test packet is set, make this test packet to be received by second interface by network element, thereby make network element under the situation that does not influence the network element operate as normal, to realize convenient, accurate latency measurement based on the clock signal calculation delay of self.
The network delay measurement device of the embodiment of the invention comprises as shown in Figure 2:
First communication interface can be connected with user terminal by first network;
The second communication interface can be by second network insertion to Internet;
Third communication interface can be by the 3rd network insertion to Internet;
The packet generation module is used for generating a test packet, and described test data can be routed to described second communication interface after wrapping in and sending to Internet;
Sending module is used for sending described test packet by described third communication interface, and the record transmitting time;
Receiver module is used for receiving packet by the second communication interface;
Processing module, be used for when the packet that described receiver module receives is described test packet, obtain the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by described first communication interface.
The network delay measurement device of the embodiment of the invention has following advantage:
1, in the network delay measurement device of the embodiment of the invention, the transmitting time of test packet and time of reception obtain based on same clock log, so time delay measures is more accurate, and do not need to increase clock synchronization module, have reduced the measurement cost;
2, in the network delay measurement device of the embodiment of the invention, directly can increase a third communication interface at network element realizes, so can generate and send test packet at any time to carry out the measurement of propagation delay time, test and build network in addition not needing in prior art, therefore convenient;
3, in the network delay measurement device of the embodiment of the invention, increase a third communication interface at network element, multiplexing this second communication interface carries out latency measurement, and therefore delay testing equipment that need not be independent reduced the measurement cost of time delay;
4, because processing module can be treated respectively the data based data type that receives, therefore can not influence the normal data business of user terminal.
5, because propagation delay time is measured and user data service is to handle, simulated actual user data path to greatest extent in a network element, therefore can obtain to experience approaching measurement result with the user.
In specific embodiments of the invention, processing module need judge whether the packet that receiver module receives is test packet, and realizes that the differentiation of test packet and user data package can be accomplished in several ways, and is described as follows.
Mode one
Realize by in test packet, carrying specific fields.
Under this mode, the packet generation module specifically is used for generating the test packet that carries the book character string, and processing module is used for resolving the packet that receives by receiver module, when carrying the book character string therein, the packet that judgement receives by receiver module is test packet, otherwise is user data package.
Mode two
Above-mentioned mode one need be carried out deep analysis to packet, therefore the disposal ability of network element is had relatively high expectations, and also can cause certain waste simultaneously, therefore, in mode two, judges by another mode, is described as follows.
Preserve IP address and the port of third communication interface in the processing module in advance, and obtain source address and the port numbers of the packet that receiver module receives by resolving packet that receiver module receives, be IP address and the port of the third communication interface preserved in advance in source address and port numbers, the packet that judgement receives by receiver module is test packet, otherwise is user data package.
Certainly, above-mentioned IP address and port only illustrate, and also can adopt other address to identify.
Under this mode, do not need packet is carried out deep analysis, improved the speed that type of data packet is judged greatly, reduced type yet and judged spent processing resource.
Certainly, should be understood that, above-mentioned only is the implementation of having enumerated two kinds of judgment data bag types, but other type of data packet judgment mode also can be used for the embodiment of the invention, be used as the identification data packet type as the some reserved fields with packet, perhaps increase assignment in existing type of data packet field, expression test packet etc. do not describe in detail one by one at this.
In specific embodiments of the invention, when the packet that processing module receives at described receiver module is described test packet, obtain the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, wherein, processing module can be calculated the propagation delay time of each packet separately.
Yet consider the time-varying characteristics of time delay, in the continuous measurement process, the test packet that possible back sends arrives earlier, at this moment, in order to realize accurate measurement, in specific embodiments of the invention, each test packet all is provided with a packet sequence number.
When the packet that receives at described receiver module is described test packet, processing module can be obtained the time of reception of described packet, and based on the transmitting time that the packet sequence number that receives test packet is searched this packet that records before, calculate propagation delay time according to time of reception and described transmitting time then.
Certainly, processing module can also be calculated a propagation delay time mean value according to the test packet propagation delay time separately that sends continuously.
In specific embodiments of the invention, to Internet, when third communication network was the network (as LAN) of low delay at a high speed, then the propagation delay time value was the time of reception of test packet and the difference of transmitting time to this third communication port by the 3rd network insertion.
And when third communication network be not the low network that postpones at a high speed, but during by the stable Access Network of certain delay character, then the propagation delay time value is that the time of reception of test packet deducts transmitting time, and then deducts test packet and be transferred to third communication network insertion to the propagation delay time of the gateway of Internet from third communication interface.
Generally speaking, this delay character is stable can be obtained in advance, perhaps measures by other means, is not described specifically at this.
In specific embodiments of the invention, this network delay measurement device can dynamically be adjusted the test of propagation delay time according to the subscriber data traffic situation of actual monitoring, to reduce the influence to user data service.
Under this mode, the network delay measurement device of the embodiment of the invention also comprises:
First control module, the data packet flow that is used for receiving by the second communication interface in the given time surpasses when presetting thresholding, controls described packet generation module or sending module, reduces the transmission frequency of described test packet.
This first control module can be by reducing the generated frequency of test packet, and the transmission frequency that also can reduce the test packet of sending module transmission reduces the transmission frequency of test packet.
By above-mentioned mode, when the data packet flow that receives at the second communication interface surpasses default thresholding (user data service is busier), reduce test packet to the taking of bandwidth, to reduce the influence to user data service.
Certainly because propagation delay time is subjected to the influence of factors such as transmission rate, packet size, in order to measure the measurement result that approaches more with the actual impression of user, in specific embodiments of the invention, the network delay measurement device also comprises:
Acquisition module is for transmission frequency and the packet size of obtaining user data package;
Second control module, be used for transmission frequency and the described packet generation module of packet size control according to user data package, make that characteristics such as the transmission frequency of the frequency of the described test packet that described packet generation module generates and packet size and user data package and packet size are same or similar.
At this, so-called similar, the difference that is construed as the transmission frequency of the frequency of the described test packet that described packet generation module generates and size and described user data package and size illustrates as follows less than corresponding preset thresholding separately.
Less than 15% of the transmission frequency of user data package, and the absolute value of the difference of the size of the size of test packet and user data package is less than 20% of the size of user data package as the absolute value of the difference of the transmission frequency of the generated frequency of test packet and user data package.
By above-mentioned mode, the data of having simulated transmitting terminal send situation, therefore can access with user's practical business process in the time delay measures that approaches more of time delay, improved the accuracy of measuring.
In specific embodiments of the invention, the measurement of propagation delay time can periodically be carried out, but when propagation delay time is more stable, then can improve the measuring period of propagation delay time, otherwise should reduce the measuring period of propagation delay time, to obtain accurate dynamic propagation delay time measurement result more.
Under this mode, the network delay measurement device of the embodiment of the invention also comprises:
Statistical module is used for adding up the rate of change of propagation delay time measurement result;
The 3rd control module, be used for when the rate of change of propagation delay time measurement result is preset thresholding above first, control described packet generation module or sending module, improve the transmission frequency of described test packet, when the rate of change of propagation delay time measurement result is lower than the second default thresholding, control described packet generation module or sending module, reduce the transmission frequency of described test packet.
The network delay measuring method of the embodiment of the invention comprises as shown in Figure 3:
Step 31, the network delay measurement device generates a test packet, and described test data can be routed to the second communication interface that arranges in the network delay measurement device after wrapping in and sending to Internet;
Step 32, the network delay measurement device sends described test packet by the third communication interface that arranges in the network delay measurement device, and the record transmitting time;
Step 33, when the packet that the receiver module in the network delay measurement device receives by described second communication interface is described test packet, the network delay measurement device obtains the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by first communication interface in the network delay measurement device.
In the above-mentioned network delay measuring method, also comprise:
Preserve IP address and the port of described third communication interface in advance;
Before step 33, also comprise:
Obtain source address and the port numbers of the packet that described receiver module receives;
When source address and port numbers are the IP address of preserving in advance and port, judge that the packet that receives by described receiver module is described test packet, otherwise be user data package.
In the above-mentioned network delay measuring method, each described test packet all is provided with packet sequence number separately, and the network delay measurement device obtains the time of reception of described packet, and specifically comprises based on described time of reception and described transmitting time calculating propagation delay time:
The network delay measurement device obtains the time of reception of described packet,
The transmitting time of the described test packet of record before the network delay measurement device is searched based on the packet sequence number of described test packet;
The network delay measurement device calculates described propagation delay time according to described time of reception and described transmitting time.
In the above-mentioned network delay measuring method, described propagation delay time be following 3 poor:
The time of reception of described test packet;
The transmitting time of described test packet; And
Described test packet is transferred to propagation delay time the Internet from described third communication interface by described third communication network.
Certainly, when test packet from described third communication interface by described third communication network be transferred to the Internet propagation delay time very hour, also can ignore.
In the above-mentioned network delay measuring method, when the flow of the packet that receives by the second communication interface surpasses default thresholding in the given time, reduce the generated frequency of described test packet and/or reduce the transmission frequency of described test packet.
In the above-mentioned network delay measuring method, also comprise:
Obtain transmission frequency and the size of user data package, and control processing, characteristics such as the transmission frequency of the frequency of the feasible described test packet that generates and size and described user data package and size are same or similar.
In the above-mentioned network delay measuring method, also comprise:
The rate of change of statistics propagation delay time measurement result;
When the rate of change of propagation delay time measurement result surpasses the first default thresholding (delay variation is severe), improve the generated frequency of described test packet and/or improve the transmission frequency of described test packet;
When the rate of change of propagation delay time measurement result is lower than the second default thresholding, reduces the generated frequency of described test packet and/or reduce the transmission frequency of described test packet.
With a concrete example method of the embodiment of the invention and the concrete application of device are described below.
When the embodiment of the invention is applied to MoRo (mobile Wifi router), as shown in Figure 4, MoRo is provided with Wifi AP interface and 3G phone user equipment interface simultaneously, wherein subscriber equipment can be connected to MoRo by Wifi, and then insert Internet by cellular network, and then communicate with server.
As shown in Figure 4, increase Ethernet (Ethernet) interface as third communication interface at MoRo, be responsible for generating test packet by the test data generation module.Send test packet by the Ethernet module by the Ethernet interface.Record transmitting time after sending packet, the destination address of packet and port numbers are set to the IP address of 3G port and negotiated ports number.
When the 3G module receives the test packet that is sent by the Ethernet module by the 3G interface, by processing module read data packet sequence number and record time of reception, and then calculate time delay information.
This processing module can also be adjusted the parameter that test data sends in due course.
Many functional parts described in the specification of the embodiment of the invention all are called as module/unit, in order to emphasize the independence of its implementation more especially.
In the embodiment of the invention, module/unit can be realized with software, in order to carried out by various types of processors.For instance, the executable code module of a sign can comprise one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However, the executable code of institute's identification module need not to be physically located in together, but can comprise the different instruction on being stored in the coordination not, when combining on these command logics, and its composition module and realize the regulation purpose of this module.
In fact, executable code module can be individual instructions or many instructions, and even can be distributed on a plurality of different code segments, be distributed in the middle of the distinct program, and cross over a plurality of memory devices and distribute.Similarly, operating data can be identified in module, and can realize and be organized in the data structure of any suitable type according to any suitable form.Described operating data can be used as the individual data collection and is collected, and perhaps can be distributed on the diverse location (to be included on the different storage device), and can only be present on system or the network as electronic signal at least in part.
When module can utilize software to realize, consider the level of existing hardware technology, so can be with the module of software realization, do not considering under the condition of cost, those skilled in the art can build the corresponding hardware circuit and realize corresponding function, and described hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, such as realizations such as field programmable gate array, programmable logic array, programmable logic devices.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. network delay measurement device comprises:
First communication interface can be connected with user terminal by first network;
The second communication interface can be by second network insertion to Internet;
Receiver module is used for receiving packet by described second communication interface;
It is characterized in that described network delay measurement device also comprises:
Third communication interface can be by the 3rd network insertion to Internet;
The packet generation module is used for generating a test packet, and described test data can be routed to described second communication interface after wrapping in and sending to Internet;
Sending module is used for sending described test packet by described third communication interface, and the record transmitting time;
Processing module, be used for when the packet that described receiver module receives is described test packet, obtain the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by described first communication interface.
2. network delay measurement device according to claim 1, it is characterized in that, preserve address and the port of described third communication interface in the described processing module in advance, described processing module specifically is used for obtaining source address and the port numbers of the packet that described receiver module receives, and when source address and port numbers are the address of preserving in advance and port, the packet that judgement receives by described receiver module is described test packet, otherwise is user data package.
3. network delay measurement device according to claim 1, it is characterized in that, each described test packet all is provided with packet sequence number separately, described processing module specifically is used for when the packet that described receiver module receives is described test packet, obtain the time of reception of described packet, and the transmitting time of described test packet of record before searching based on the packet sequence number of described test packet, and calculate described propagation delay time according to described time of reception and described transmitting time.
4. network delay measurement device according to claim 1 is characterized in that, described propagation delay time be following 3 poor:
The time of reception of described test packet;
The transmitting time of described test packet; And
Described test packet is transferred to propagation delay time the Internet from described third communication interface by described the 3rd network.
5. network delay measurement device according to claim 1 is characterized in that, also comprises:
When first control module, the flow that is used in the given time the packet that receives by the second communication interface surpass default thresholding, control described packet generation module or sending module, to reduce the transmission frequency of described test packet.
6. network delay measurement device according to claim 1 is characterized in that, also comprises:
Acquisition module is for transmission frequency and the size of obtaining user data package;
Second control module, be used for transmission frequency and the described packet generation module of size control according to user data package, make the difference of the transmission frequency of the frequency of the described test packet that described packet generation module generates and size and described user data package and size less than corresponding preset thresholding separately.
7. network delay measurement device according to claim 1 is characterized in that, also comprises:
Statistical module is used for adding up the rate of change of propagation delay time measurement result;
The 3rd control module, be used for when the rate of change of propagation delay time measurement result is preset thresholding above first, control described packet generation module or sending module, improve the transmission frequency of described test packet, when the rate of change of propagation delay time measurement result is lower than the second default thresholding, control described packet generation module or sending module, reduce the transmission frequency of described test packet.
8. a network delay measuring method is characterized in that, comprising:
Generate step, the network delay measurement device generates a test packet, and described test data can be routed to the second communication interface that arranges in the network delay measurement device after wrapping in and sending to Internet;
Forwarding step, the network delay measurement device sends described test packet by the third communication interface that arranges in the network delay measurement device, and the record transmitting time;
Treatment step, when the packet that the receiver module in the network delay measurement device receives by described second communication interface is described test packet, the network delay measurement device obtains the time of reception of described packet, and based on described time of reception and described transmitting time calculating propagation delay time, otherwise the packet that described receiver module receives is forwarded to user terminal by first communication interface in the network delay measurement device.
9. network delay measuring method according to claim 8 is characterized in that, also comprises:
Preserve address and the port of described third communication interface in advance;
Before described treatment step, also comprise:
Obtain source address and the port numbers of the packet that described receiver module receives;
When source address and port numbers are the address of preserving in advance and port, judge that the packet that receives by described receiver module is described test packet, otherwise be user data package.
10. network delay measuring method according to claim 8 is characterized in that:
Each described test packet all is provided with packet sequence number separately,
The network delay measurement device obtains the time of reception of described packet, and specifically comprises based on described time of reception and described transmitting time calculating propagation delay time:
The network delay measurement device obtains the time of reception of described packet,
The transmitting time of the described test packet of record before the network delay measurement device is searched based on the packet sequence number of described test packet;
The network delay measurement device calculates described propagation delay time according to described time of reception and described transmitting time.
11. network delay measuring method according to claim 8 is characterized in that, described propagation delay time be following 3 poor:
The time of reception of described test packet;
The transmitting time of described test packet; And
Described test packet is transferred to propagation delay time the Internet from described third communication interface by described third communication network.
12. network delay measuring method according to claim 8, it is characterized in that, when the flow of the packet that receives by the second communication interface surpasses default thresholding in the given time, reduce the generated frequency of described test packet and/or reduce the transmission frequency of described test packet.
13. network delay measuring method according to claim 8 is characterized in that, also comprises:
Obtain transmission frequency and the size of user data package, and control processing, the transmission frequency of the frequency of the described test packet that make to generate and size and described user data package and the difference of size are less than corresponding preset thresholding separately.
14. network delay measuring method according to claim 8 is characterized in that, also comprises:
The rate of change of statistics propagation delay time measurement result;
When the rate of change of propagation delay time measurement result surpasses the first default thresholding, improve the generated frequency of described test packet and/or improve the transmission frequency of described test packet;
When the rate of change of propagation delay time measurement result is lower than the second default thresholding, reduces the generated frequency of described test packet and/or reduce the transmission frequency of described test packet.
CN2012100422396A 2012-02-22 2012-02-22 Network delay measuring device and method Pending CN103297282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100422396A CN103297282A (en) 2012-02-22 2012-02-22 Network delay measuring device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100422396A CN103297282A (en) 2012-02-22 2012-02-22 Network delay measuring device and method

Publications (1)

Publication Number Publication Date
CN103297282A true CN103297282A (en) 2013-09-11

Family

ID=49097630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100422396A Pending CN103297282A (en) 2012-02-22 2012-02-22 Network delay measuring device and method

Country Status (1)

Country Link
CN (1) CN103297282A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105119778A (en) * 2015-09-09 2015-12-02 华为技术有限公司 Method and equipment for measuring delay
CN105743729A (en) * 2014-12-12 2016-07-06 杭州迪普科技有限公司 Method and device for time delay calculation
WO2016155292A1 (en) * 2015-03-31 2016-10-06 中兴通讯股份有限公司 Method and device for acquiring transmission delay between access technology networks
CN106027189A (en) * 2016-05-13 2016-10-12 自连电子科技(上海)有限公司 Method and system for providing message timestamp of Internet of things equipment
CN106162728A (en) * 2015-04-01 2016-11-23 中兴通讯股份有限公司 The measurement of data transmission delay and report method and terminal between a kind of access network
CN106341743A (en) * 2016-11-03 2017-01-18 乐视控股(北京)有限公司 Data delay determining method, device and system
CN108923995A (en) * 2017-04-24 2018-11-30 上海大唐移动通信设备有限公司 A kind of transmission time delay confirming method and device
CN109041101A (en) * 2018-08-24 2018-12-18 北京小米移动软件有限公司 WIFI cutout processing method, terminal, server and storage medium
CN109802898A (en) * 2019-02-01 2019-05-24 深圳市比速智网技术有限公司 Multilink data transmission method, reception device and storage medium
CN112566026A (en) * 2020-12-14 2021-03-26 广东工贸职业技术学院 Wheel rotation signal self-adaptive network time delay measuring method, system and storage medium
CN112600735A (en) * 2020-12-14 2021-04-02 北京信而泰科技股份有限公司 Network delay testing method, device and system
CN113132952A (en) * 2021-04-15 2021-07-16 上海钛米机器人股份有限公司 Robot-based network quality determination method, device, equipment and medium
CN113726592A (en) * 2021-07-31 2021-11-30 苏州浪潮智能科技有限公司 Transmission delay testing method and system of edge server and related components

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538674A (en) * 2003-04-17 2004-10-20 ƽ Device and method for testing network communication
US6876186B1 (en) * 2003-08-29 2005-04-05 Xilinx, Inc. Measurement of circuit delay
CN1870476A (en) * 2005-05-27 2006-11-29 华为技术有限公司 Method for testing service transmission delay between different transmission equipment
CN1933429A (en) * 2005-09-12 2007-03-21 华为技术有限公司 Time delay characteristic measuring method in data communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538674A (en) * 2003-04-17 2004-10-20 ƽ Device and method for testing network communication
US6876186B1 (en) * 2003-08-29 2005-04-05 Xilinx, Inc. Measurement of circuit delay
CN1870476A (en) * 2005-05-27 2006-11-29 华为技术有限公司 Method for testing service transmission delay between different transmission equipment
CN1933429A (en) * 2005-09-12 2007-03-21 华为技术有限公司 Time delay characteristic measuring method in data communication network

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743729A (en) * 2014-12-12 2016-07-06 杭州迪普科技有限公司 Method and device for time delay calculation
WO2016155292A1 (en) * 2015-03-31 2016-10-06 中兴通讯股份有限公司 Method and device for acquiring transmission delay between access technology networks
CN106162685A (en) * 2015-03-31 2016-11-23 中兴通讯股份有限公司 A kind of obtain the method and system of propagation delay time between inserting technology networks
CN106162685B (en) * 2015-03-31 2020-07-28 中兴通讯股份有限公司 Method and system for acquiring transmission delay between access technology networks
CN106162728B (en) * 2015-04-01 2020-11-17 中兴通讯股份有限公司 Method and terminal for measuring and reporting data transmission delay between access networks
CN106162728A (en) * 2015-04-01 2016-11-23 中兴通讯股份有限公司 The measurement of data transmission delay and report method and terminal between a kind of access network
WO2017041633A1 (en) * 2015-09-09 2017-03-16 华为技术有限公司 Method and device for measuring time delay
CN105119778B (en) * 2015-09-09 2018-09-07 华为技术有限公司 The method and apparatus for measuring time delay
US10355954B2 (en) 2015-09-09 2019-07-16 Huawei Technologies Co., Ltd. Delay measurement method and device
CN105119778A (en) * 2015-09-09 2015-12-02 华为技术有限公司 Method and equipment for measuring delay
CN106027189A (en) * 2016-05-13 2016-10-12 自连电子科技(上海)有限公司 Method and system for providing message timestamp of Internet of things equipment
CN106341743A (en) * 2016-11-03 2017-01-18 乐视控股(北京)有限公司 Data delay determining method, device and system
CN108923995A (en) * 2017-04-24 2018-11-30 上海大唐移动通信设备有限公司 A kind of transmission time delay confirming method and device
CN109041101A (en) * 2018-08-24 2018-12-18 北京小米移动软件有限公司 WIFI cutout processing method, terminal, server and storage medium
CN109802898A (en) * 2019-02-01 2019-05-24 深圳市比速智网技术有限公司 Multilink data transmission method, reception device and storage medium
CN112566026A (en) * 2020-12-14 2021-03-26 广东工贸职业技术学院 Wheel rotation signal self-adaptive network time delay measuring method, system and storage medium
CN112600735A (en) * 2020-12-14 2021-04-02 北京信而泰科技股份有限公司 Network delay testing method, device and system
CN112600735B (en) * 2020-12-14 2022-08-09 北京信而泰科技股份有限公司 Network delay testing method, device and system
CN112566026B (en) * 2020-12-14 2022-10-18 广东工贸职业技术学院 Wheel rotation signal self-adaptive network time delay measuring method, system and storage medium
CN113132952A (en) * 2021-04-15 2021-07-16 上海钛米机器人股份有限公司 Robot-based network quality determination method, device, equipment and medium
CN113726592A (en) * 2021-07-31 2021-11-30 苏州浪潮智能科技有限公司 Transmission delay testing method and system of edge server and related components
CN113726592B (en) * 2021-07-31 2023-07-18 苏州浪潮智能科技有限公司 Transmission delay test method, system and related components of edge server

Similar Documents

Publication Publication Date Title
CN103297282A (en) Network delay measuring device and method
US8737243B2 (en) Methods and apparatus for monitoring network link quality
US11647415B2 (en) Handling delay budget in a wireless communication system
WO2015141337A1 (en) Reception packet distribution method, queue selector, packet processing device, and recording medium
CN104159306B (en) A kind of method, equipment and system for controlling interface-free resources
CN105450536A (en) Data distribution method and data distribution device
CN108293200B (en) Device throughput determination
CN104038941B (en) Network capacity extension method and apparatus
CN101547063A (en) Method and system for testing forward delay
CN103228005A (en) Testing method and device for data service of mobile communication network
RU2711514C1 (en) Administration of broken media flow control 5g
CN110972150A (en) Network capacity expansion method and device, electronic equipment and computer storage medium
KR101801801B1 (en) Slot frame virtualization System and Method for TSCH based industrial wireless network
AlQahtani An efficient resource allocation to improve QoS of 5G slicing networks using general processor sharing‐based scheduling algorithm
CN107949069A (en) terminal wireless data transmission method, device, terminal and storage medium
CN110248379A (en) The performance test methods and device of base station in WLAN
CN110169134A (en) The detection method and device of wireless quality support video tastes
US11329926B2 (en) Measuring transmission delay
JP7175328B2 (en) Transmission delay measurement
CN103595632B (en) Self-defined many transmitting systems of a kind of adj sp and its implementation
Dräxler et al. Anticipatory buffer control and quality selection for wireless video streaming
CN103747488B (en) carrier balancing method, device and system
CN105450710B (en) Method for establishing the direct communication of user to user in gateway
Mikkelsen et al. NetMap-creating a map of application layer qos metrics of mobile networks using crowd sourcing
CN107948989A (en) A kind of computational methods and device of mobile terminal networking duration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130911

WD01 Invention patent application deemed withdrawn after publication