CN106161121A - The measuring method of a kind of message Forwarding Delay, Apparatus and system - Google Patents

The measuring method of a kind of message Forwarding Delay, Apparatus and system Download PDF

Info

Publication number
CN106161121A
CN106161121A CN201510129946.2A CN201510129946A CN106161121A CN 106161121 A CN106161121 A CN 106161121A CN 201510129946 A CN201510129946 A CN 201510129946A CN 106161121 A CN106161121 A CN 106161121A
Authority
CN
China
Prior art keywords
time
message
deviation
transmitting
time deviation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510129946.2A
Other languages
Chinese (zh)
Other versions
CN106161121B (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510129946.2A priority Critical patent/CN106161121B/en
Priority to PCT/CN2015/082106 priority patent/WO2016150021A1/en
Publication of CN106161121A publication Critical patent/CN106161121A/en
Application granted granted Critical
Publication of CN106161121B publication Critical patent/CN106161121B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Abstract

The invention provides the measuring method of a kind of message Forwarding Delay, Apparatus and system, the measuring method of described message Forwarding Delay includes: obtains transmitting terminal and sends measured message to receiving terminal and receive the time difference measured between response message of described receiving terminal feedback, obtain the described receiving terminal process time to described measured message, and obtain in described transmitting terminal and receiving terminal two ends the time deviation between at least two module at least one end, message processed;The message Forwarding Delay between described transmitting terminal and receiving terminal is calculated according to described time difference, process time and time drift gauge.Solve in prior art between two ends message forward time delay due to time irreversibility, and at least one end, there is time deviation that message carries out processing between generation module by multiple module and make the inaccurate problem of time-delay calculation, improve the time delay accuracy calculated between transmitting terminal and receiving terminal.

Description

The measuring method of a kind of message Forwarding Delay, Apparatus and system
Technical field
The present invention relates to data communication field, particularly relate to the measuring method of a kind of message Forwarding Delay, Apparatus and system.
Background technology
In data communication field, message is forwarded in a network, and each node is required for the regular hour and processes, and we are it is to be appreciated that message forwards experienced time delay in the network device in some cases, grasp the forwarding situation in network.Time delay measurement for frame or message also has some technology at present.Such as DM (the Delay Measurement latency measurement) function of ether OAM (Operation Administration and Maintenance operates, manages, safeguards), the DM function in MPLS-TP (Multi-Protocol Label Switching Transport Profile transmits multi protocol label exchange) OAM.The measuring principle realizing frame or message Forwarding Delay in ether OAM, MPLS-TP OAM is similar, can regard same technology as.And the test of frame time delay has the most unidirectional DM of two ways and two-way DM, below its principle is carried out some explanations.For unidirectional DM, two LA Management Rooms send DM information frame, two network equipments include transmitting terminal R1 and receiving terminal R2, frame is sent to receiving terminal R2 (can there be other equipment centre) from transmitting terminal R1, during transmission, stamping the time stamp T 1 of transmission on transmitting terminal R1 in messages, receiving terminal R2 stamps the reception time stamp T 2 of message when receiving message, and the calculating of such frame time delay is particularly as follows: frame time delay=T2-T1.
The method of above-mentioned this calculation delay is the simplest, the equipment that however it is necessary that supports that IEEE1588 (Institute of Electrical and Electronics Engineers IEEE1588 network measure and the precision interval clock synchronous protocol standard of control system) function carries out time synchronized, the otherwise time irreversibility at two ends, the time delay calculated is nonsensical.Even if it addition, the time synchronized of terminal device, if the process in a device to message is in different modules, so also due to there is phase contrast between module so that the inaccurate problem of time-delay calculation.
Summary of the invention
The invention provides the measuring method of a kind of message Forwarding Delay, Apparatus and system, solve the time delay in prior art, message between two ends forwarded due to time irreversibility, and at least one end, there is time deviation that message carries out processing between generation module by disparate modules and make the inaccurate problem of time-delay calculation.
In order to solve the problems referred to above, the present invention by the following technical solutions:
A kind of measuring method of message Forwarding Delay, including:
Obtain transmitting terminal send measured message to receiving terminal and receive the time difference measured between response message of described receiving terminal feedback, obtain the described receiving terminal process time to described measured message, and obtain in described transmitting terminal and receiving terminal two ends the time deviation between at least two module at least one end, message processed;
The message Forwarding Delay between described transmitting terminal and receiving terminal is calculated according to described time difference, process time and time drift gauge.
Further, described time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is the time deviation between the first sending module and the first receiver module in described transmitting terminal processed message, and described second time deviation is the time deviation between the second receiver module and the second sending module in described receiving terminal processed message;
The time deviation obtained in described transmitting terminal and receiving terminal two ends between at least two module at least one end processed message specifically includes: obtain very first time deviation and/or the second time deviation.
Further, the acquisition process of described very first time deviation includes:
Obtain described first receiver module and described measurement response message is transferred to the first transmission time of described first sending module, and obtain the second reception time that described first receiver module receives the described measurement response message of described first sending module feedback;
Obtain described first sending module and receive the first reception time measuring response message that described first receiver module sends, and obtain described first sending module described measurement response message is transferred to the second transmission time of described first receiver module;
Time Calculation very first time deviation is received according to described first transmission time, the first reception time, the second transmission time and second.
Further, the acquisition process of described second time deviation includes:
Obtain described second receiver module and described measured message is transferred to the 3rd transmission time of described second sending module, and obtain the 4th reception time that described second receiver module receives the described measured message of described second sending module feedback;
Obtain described second sending module and receive the 3rd reception time of measured message that described second receiver module sends, and obtain described second sending module described measured message is transferred to the 4th transmission time of described second receiver module;
The second time deviation described in Time Calculation is received according to described 3rd transmission time, the 3rd reception time, the 4th transmission time and the 4th.
Further, if described time deviation includes that very first time deviation, the computational methods of the most described message Forwarding Delay include: calculate the difference between described time difference and described very first time deviation, obtain the first transmitting-receiving time value of described transmitting terminal;Described first transmitting-receiving time value is deducted the described process time and obtains described message Forwarding Delay;
If described time deviation includes that the second time deviation, the computational methods of the most described message Forwarding Delay include: calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time value of described receiving terminal;Described time difference is deducted described second transmitting-receiving time value and obtains described message Forwarding Delay;
If described time deviation includes that very first time deviation and the second time deviation, the computational methods of the most described message Forwarding Delay include: calculate the difference between described time difference and described very first time deviation, obtain the first transmitting-receiving time value of described transmitting terminal;Calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time value of described receiving terminal;Described first transmitting-receiving time value is deducted described second transmitting-receiving time value and obtains described message Forwarding Delay.
A kind of measurement apparatus of message Forwarding Delay, including:
Acquisition module, send measured message to receiving terminal for obtaining transmitting terminal and receive the time difference measured between response message of described receiving terminal feedback, it is additionally operable to the process time obtaining described receiving terminal to described measured message, is additionally operable to obtain in described transmitting terminal and receiving terminal two ends at least one end the time deviation between at least two module that message is processed;
Computing module, for calculating the message Forwarding Delay between described transmitting terminal and receiving terminal according to described time difference, process time and time drift gauge.
Further, described time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is the time deviation between the first sending module and the first receiver module in described transmitting terminal processed message, and described second time deviation is the time deviation between the second receiver module and the second sending module in described receiving terminal processed message;
Described acquisition module specifically includes for obtaining in described transmitting terminal and receiving terminal two ends the time deviation between at least two module at least one end processed message: obtain very first time deviation and/or the second time deviation.
Further, the acquisition process of described very first time deviation specifically includes:
Obtain described first receiver module and described measurement response message is transferred to the first transmission time of described first sending module, and obtain the second reception time that described first receiver module receives the described measurement response message of described first sending module feedback;
Obtain described first sending module and receive the first reception time measuring response message that described first receiver module sends, and obtain described first sending module described measurement response message is transferred to the second transmission time of described first receiver module;
Time Calculation very first time deviation is received according to described first transmission time, the first reception time, the second transmission time and second.
Further, the acquisition process of described second time deviation includes:
Obtain described second receiver module and described measured message is transferred to the 3rd transmission time of described second sending module, and obtain the 4th reception time that described second receiver module receives the described measured message of described second sending module feedback;
Obtain described second sending module and receive the 3rd reception time of measured message that described second receiver module sends, and obtain described second sending module described measured message is transferred to the 4th transmission time of described second receiver module;
The second time deviation described in Time Calculation is received according to described 3rd transmission time, the 3rd reception time, the 4th transmission time and the 4th.
Further, if described time deviation includes very first time deviation, the most described computing module specifically includes: the first transmitting-receiving Time Calculation submodule, for calculating the difference between described time difference and described very first time deviation, obtains the first transmitting-receiving time value of described transmitting terminal;Time-delay calculation submodule, obtains described message Forwarding Delay for described first transmitting-receiving time value deducts the described process time;
If described time deviation includes that the second time deviation, the most described computing module specifically include: the second transmitting-receiving Time Calculation submodule, for calculating the difference of described process time and described second time deviation, obtain the second transmitting-receiving time value of described receiving terminal;Time-delay calculation submodule, obtains described message Forwarding Delay for described time difference deducts described second transmitting-receiving time value;
If described time deviation includes very first time deviation and the second time deviation, the most described computing module specifically includes: the first transmitting-receiving Time Calculation submodule, for calculating the difference between described time difference and described very first time deviation, obtain the first transmitting-receiving time value of described transmitting terminal;Second transmitting-receiving Time Calculation submodule, for calculating the difference of described process time and described second time deviation, obtains the second transmitting-receiving time value of described receiving terminal;Time-delay calculation submodule, obtains described message Forwarding Delay for described first transmitting-receiving time value is deducted described second transmitting-receiving time value.
The measurement system of a kind of message Forwarding Delay, including transmitting terminal and receiving terminal, described transmitting terminal includes the measurement apparatus of the message Forwarding Delay as described in above-mentioned any one.
Beneficial effects of the present invention:
The invention provides the measuring method of a kind of message Forwarding Delay, Apparatus and system, send measured message to receiving terminal by obtaining transmitting terminal and receive the time difference measured between response message of this receiving terminal feedback, the receiving terminal process time to described measured message, and time deviation between at least two module that at least processes message in one end in transmitting terminal and receiving terminal two ends is to the message Forwarding Delay calculating between transmitting terminal and receiving terminal.In the present invention, first pass through two-way DM to the problem eliminating time synchronized, and also by obtaining the time deviation existed between at least two module at least one end, message processed to the time delay calculating between two ends, improve the time delay accuracy calculated between transmitting terminal and receiving terminal, make that the forwarding state in network can be understood by engineering staff is clearer, thus makes and judging more accurately.
Accompanying drawing explanation
The flow chart of the measuring method of the message Forwarding Delay that Fig. 1 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T1 that Fig. 2 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T2 that Fig. 3 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T5 that Fig. 4 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T6 that Fig. 5 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T7 that Fig. 6 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T8 that Fig. 7 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T3 that Fig. 8 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T4 that Fig. 9 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T9 that Figure 10 provides for the embodiment of the present invention one;
The message schematic diagram corresponding when logging timestamp T10 that Figure 11 provides for the embodiment of the present invention one;
The message schematic diagram that message that Figure 12 provides for the embodiment of the present invention one is corresponding when logging timestamp T11;
The message schematic diagram that message that Figure 13 provides for the embodiment of the present invention one is corresponding when logging timestamp T12;
The structural representation of the measurement apparatus of the message Forwarding Delay that Figure 14 provides for the embodiment of the present invention two.
Detailed description of the invention
Combine accompanying drawing below by detailed description of the invention the present invention is described in further detail.
Embodiment one:
As it is shown in figure 1, the flow chart of measuring method of the message Forwarding Delay provided for the embodiment of the present invention one;Refer to Fig. 1,
S101: obtain transmitting terminal and send measured message to receiving terminal and receive the time difference measured between response message of described receiving terminal feedback, obtain the described receiving terminal process time to described measured message, and obtain in described transmitting terminal and receiving terminal two ends the time deviation between at least two module at least one end, message processed;
The acquisition mode of described time difference includes: obtains transmitting terminal and sends the message transmission time of measured message to receiving terminal, and obtain described transmitting terminal receive described receiving terminal feedback measure response message the reception time, the more described reception time is deducted described message send the time obtain described time difference;
The acquisition mode of described process time includes: obtains described receiving terminal and receives the message reception time of the measured message that described transmitting terminal sends, and obtain described receiving terminal and measure to transmitting terminal feedback the transmission time of response message, the more described transmission time is deducted described message receive the time and obtain process time of described receiving terminal;
The acquisition mode of described time deviation at least includes: by engineering staff, the time deviation between at least two module processing message between described transmitting terminal and/or receiving terminal actively can be configured by experience the reporting that obtains;Or the time deviation between at least two module processing message between transmitting terminal and/or receiving terminal is measured by the measure of time instrument between use module, obtain reporting;Or, it is transmitted between described at least two module by message, and records each material time value in its transmitting procedure, be calculated the reporting etc. between described at least two module;
S102: calculate the message Forwarding Delay between described transmitting terminal and receiving terminal according to described time difference, process time and time drift gauge;
Described message Forwarding Delay includes: monolateral time delay and bilateral time delay;In the case of the transmitting terminal network symmetry with receiving terminal, the half that monolateral time delay is bilateral time delay between described two ends, in the present invention, it is assumed that transmitting terminal and receiving terminal are the situation that network is symmetrical.The circular of described message Forwarding Delay includes: calculate the difference of described time difference and described process time, further according to the judgement to described time deviation, the subtractive of described time difference Yu described process time is gone or plus described time deviation.
Specifically, described time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is the time deviation between the first sending module and the first receiver module in described transmitting terminal processed message, and described second time deviation is the time deviation between the second receiver module and the second sending module in described receiving terminal processed message;The time deviation obtained in described transmitting terminal and receiving terminal two ends between at least two module at least one end processed message in described step S101 specifically includes: obtain described very first time deviation and/or described second time deviation.
Preferably, the acquisition process of described very first time deviation includes: obtain described first receiver module and described measurement response message is transferred to the first transmission time of described first sending module, and obtain the second reception time that described first receiver module receives the described measurement response message of described first sending module feedback;Obtain described first sending module and receive the first reception time measuring response message that described first receiver module sends, and obtain described first sending module described measurement response message is transferred to the second transmission time of described first receiver module;Time Calculation very first time deviation is received according to described first transmission time, the first reception time, the second transmission time and second;The concrete calculating process of described very first time deviation includes: calculates the difference between the second reception time and the first transmission time, obtains t1;Calculate the second transmission time and the first difference receiving the time, obtain t2;Calculate the difference of the second reception time and the second transmission time, obtain t3;Very first time deviation is: t3-(t1-t2).
The acquisition process of described second time deviation includes: obtain described second receiver module and described measured message is transferred to the 3rd transmission time of described second sending module, and obtain the 4th reception time that described second receiver module receives the described measured message of described second sending module feedback;Obtain described second sending module and receive the 3rd reception time of measured message that described second receiver module sends, and obtain described second sending module described measured message is transferred to the 4th transmission time of described second receiver module;The second time deviation described in Time Calculation is received according to described 3rd transmission time, the 3rd reception time, the 4th transmission time and the 4th.The concrete calculating process of described second time deviation includes: calculates the difference between the 4th reception time and the 3rd transmission time, obtains t4;Calculate the 4th transmission time and the 3rd difference receiving the time, obtain t5;Calculate the difference of the 4th reception time and the 3rd transmission time, obtain t6;Second time deviation is: t6-(t5-t4).
Obtained described message Forwarding Delay by described first deviation and/or the second deviation to specifically include:
If described time deviation includes that very first time deviation, the circular of the most described message Forwarding Delay include: calculate the difference between described time difference and described very first time deviation, obtain the first transmitting-receiving time value of described transmitting terminal;Described first transmitting-receiving time value is deducted the described process time and obtains described message Forwarding Delay;
If described time deviation includes that the second time deviation, the circular of the most described message Forwarding Delay include: calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time value of described receiving terminal;Described time difference is deducted described second transmitting-receiving time value and obtains described message Forwarding Delay;
If described time deviation includes that very first time deviation and the second time deviation, the circular of the most described message Forwarding Delay include: calculate the difference between described time difference and described very first time deviation, obtain the first transmitting-receiving time value of described transmitting terminal;Calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time value of described receiving terminal;Described first transmitting-receiving time value is deducted described second transmitting-receiving time value and obtains described message Forwarding Delay.
Such as, the network equipment includes transmitting terminal R1 and receiving terminal R2, includes at R1: the first sending module M1 and the first receiver module M2;Include at R2: the second sending module M3 and the second receiver module M4;Below by message Forwarding Delay measured message calculated between R1 and R2 between R1 and R2, incorporated by reference to message schematic diagram corresponding when recording each timestamp in Fig. 2-Figure 13.Specifically include:
Produce DMM (Delay Measurement Message) message on R1 and be sent to R2 from the first sending module M1 of R1, carry transmission time stamp T 1, now, described DMM message is as shown in Figure 2, second receiver module of R2 stamps reception time stamp T 2 after receiving DMM message, as shown in Figure 3;
Described DMM message carries out internal transmission at R2, its transmitting procedure includes: the second receiver module M4 stamps transmission time stamp T 5 when DMM message is sent to the second sending module M3, as shown in Figure 4, second sending module M3 stamps reception time stamp T 6 after receiving described DMM message, as shown in Figure 5, DMM message is sent to the second receiver module M4 the most again, transmission time stamp T 7 is stamped during transmission, as shown in Figure 6, second receiver module M4 stamps reception time stamp T 8 when of receiving DMM message, as shown in Figure 7.Transmitting-receiving between M3, M4 is symmetrical, then message transmission delay between M3, M4 is [(T8-T5)-(T7-T6)]/2, thus can show that M4 is (T6-T5)-[(T8-T5)-(T7-T6)]/2 relative to the second time deviation between M3;
The most described DMM message up sending chain of command, chain of command sends DMR (DelayMeasurement Reply) message, sends through the second sending module M4 from R2.Stamp transmission time stamp T 3 when of transmission, (stab At All Other Times and replicate from DMM message) as shown in Figure 8;
R1 receives the DMR message that R2 sends over, stamp reception time stamp T 4, as shown in Fig. 29, DMR message carries out internal transmission inside R2, first receiver module M2 stamps transmission time stamp T 9 when DMR message is sent to the first sending module M1, as shown in Figure 10, first sending module M1 stamps reception time stamp T 10 after receiving described DMR message, as shown in figure 11, DMR message is sent to the first receiver module M2 the most again, transmission time stamp T 11 is stamped during transmission, as shown in figure 12, first receiver module M2 stamps reception time stamp T 12 when of receiving DMR message, as shown in figure 13;Message transmits on R1 internal part M1, M2, generates tetra-timestamps of T9, T10, T11, T12.Time deviation between the similar time stamp T 4 that can obtain generating on R1 is: (T12-T11)-[(T12-T9) (T11-T10)]/2;
Message two-way converting time delay on R1, R2 just can be calculated by these timestamps being previously obtained.Message Forwarding Delay between i.e. R1 and R2=(T4 T1) { (T12-T11)-[(T12-T9) (T11-T10)]/2} (T3 T2)+{ (T6-T5)-[(T8-T5)-(T7-T6)]/2};During network symmetry between R1 and R2, unidirectional Forwarding Delay is exactly that the value of two-way time delay is divided by 2.
In the present embodiment, the message Forwarding Delay that other times value calculates between transmitting terminal and receiving terminal is combined by obtaining between transmitting terminal and receiving terminal the time deviation between at least two module at least one end, message processed, improve the accuracy of time-delay calculation, facilitate engineering staff to the judgement of equipment and process.
Embodiment two:
As shown in figure 14, for the structural representation of measurement apparatus of the message Forwarding Delay that the embodiment of the present invention two provides, referring to Figure 14, the measurement apparatus 20 of described message Forwarding Delay includes: acquisition module 201 and computing module 202;Described acquisition module 201 sends measured message to receiving terminal for obtaining transmitting terminal and receives the time difference measured between response message of described receiving terminal feedback, it is additionally operable to the process time obtaining described receiving terminal to described measured message, is additionally operable to obtain in described transmitting terminal and receiving terminal two ends at least one end the time deviation between at least two module that message is processed;Described computing module 202 is for calculating the message Forwarding Delay between described transmitting terminal and receiving terminal according to described time difference, process time and time drift gauge.The measurement apparatus 20 of described message Forwarding Delay is generally located in described transmitting terminal, or it is medium to be arranged on server.
Preferably, described time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is the time deviation between the first sending module and the first receiver module in described transmitting terminal processed message, and described second time deviation is the time deviation between the second receiver module and the second sending module in described receiving terminal processed message;Described acquisition module 201 specifically includes for obtaining in described transmitting terminal and receiving terminal two ends the time deviation between at least two module at least one end processed message: obtain described very first time deviation and/or described second time deviation.It is stated that therefore the computational methods of described very first time deviation and described second time deviation, are not repeated at this in embodiment of the method.
Present invention also offers the measurement system of a kind of message Forwarding Delay, including transmitting terminal and receiving terminal, described transmitting terminal includes the measurement apparatus of described message Forwarding Delay.By carrying out the setting of the measurement apparatus of message Forwarding Delay at transmitting terminal so that in the present system, when calculating the message Forwarding Delay between described transmitting terminal and receiving terminal, the time delay value obtained is more accurate.
The invention provides the measuring method of a kind of message Forwarding Delay, Apparatus and system, by obtaining the time deviation existed between at least two module at least one end, message processed and combining the time delay that other times point calculates between two ends, improve the time delay accuracy calculated between transmitting terminal and receiving terminal.
Above content is to combine specific embodiment further description made for the present invention, it is impossible to assert the present invention be embodied as be confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (11)

1. the measuring method of a message Forwarding Delay, it is characterised in that including:
Obtain transmitting terminal send measured message to receiving terminal and receive the measurement response message of described receiving terminal feedback Between time difference, obtain the described receiving terminal process time to described measured message, and obtain described transmission Time between at least two module at least processed message in one end in end and receiving terminal two ends is inclined Difference;
The report between described transmitting terminal and receiving terminal is calculated according to described time difference, process time and time drift gauge Literary composition Forwarding Delay.
2. the measuring method of message Forwarding Delay as claimed in claim 1, it is characterised in that described Time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is described Time deviation between the first sending module and the first receiver module that in sending end, message are processed, described Second time deviation is the second receiver module and the second sending module in described receiving terminal processed message Between time deviation;
Obtain in described transmitting terminal and receiving terminal two ends at least two mould at least one end, message processed Time deviation between block specifically includes: obtain described very first time deviation and/or described second time deviation.
3. the measuring method of message Forwarding Delay as claimed in claim 2, it is characterised in that described The acquisition process of very first time deviation includes:
Obtain described first receiver module and described measurement response message is transferred to the of described first sending module One transmission time, and obtain the described measurement of the described first sending module feedback of described first receiver module reception The second reception time of response message;
Obtain described first sending module and receive the first of the measurement response message that described first receiver module sends The reception time, and obtain described first sending module described measurement response message is transferred to described first receive The second transmission time of module;
Time meter is received according to described first transmission time, the first reception time, the second transmission time and second Calculate very first time deviation.
4. the measuring method of message Forwarding Delay as claimed in claim 2, it is characterised in that described The acquisition process of the second time deviation includes:
Obtain described second receiver module and described measured message is transferred to the 3rd biography of described second sending module The defeated time, and obtain the described measured message of the described second sending module feedback of described second receiver module reception The 4th reception the time;
Obtain described second sending module and receive the 3rd reception of the measured message that described second receiver module sends Time, and obtain described second sending module described measured message is transferred to the of described second receiver module Four transmission times;
Time meter is received according to described 3rd transmission time, the 3rd reception time, the 4th transmission time and the 4th Calculate described second time deviation.
5. the measuring method of the message Forwarding Delay as described in any one of claim 2-4, its feature exists In, if described time deviation includes that very first time deviation, the computational methods of the most described message Forwarding Delay include: Calculate the difference between described time difference and described very first time deviation, when obtaining the first transmitting-receiving of described transmitting terminal Between be worth;Described first transmitting-receiving time value is deducted the described process time and obtains described message Forwarding Delay;
If described time deviation includes that the second time deviation, the computational methods of the most described message Forwarding Delay include: Calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time of described receiving terminal Value;Described time difference is deducted described second transmitting-receiving time value and obtains described message Forwarding Delay;
If described time deviation includes very first time deviation and the second time deviation, the most described message Forwarding Delay Concrete grammar includes: calculates the difference between described time difference and described very first time deviation, obtains described transmission First transmitting-receiving time value of end;Calculate the difference of described process time and described second time deviation, obtain described Second transmitting-receiving time value of receiving terminal;Described first transmitting-receiving time value is deducted described second transmitting-receiving time value obtain To described message Forwarding Delay.
6. the measurement apparatus of a message Forwarding Delay, it is characterised in that including:
Acquisition module, is used for obtaining transmitting terminal and sends measured message to receiving terminal and receive described receiving terminal feedback The time difference measured between response message, be additionally operable to the process obtaining described receiving terminal to described measured message Time, be additionally operable to obtain in described transmitting terminal and receiving terminal two ends at least message is processed by one end to Time deviation between few two modules;
Computing module, for according to described time difference, process time and time drift gauge calculate described transmitting terminal with Message Forwarding Delay between receiving terminal.
7. the measurement apparatus of message Forwarding Delay as claimed in claim 6, it is characterised in that described Time deviation includes: very first time deviation and/or the second time deviation;Described very first time deviation is described Time deviation between the first sending module and the first receiver module that in sending end, message are processed, described Second time deviation is the second receiver module and the second sending module in described receiving terminal processed message Between time deviation;
Described acquisition module is used for obtaining in described transmitting terminal and receiving terminal two ends and at least carrying out message in one end Time deviation between at least two module processed specifically includes: obtain described very first time deviation and/or institute State the second time deviation.
8. the measurement apparatus of message Forwarding Delay as claimed in claim 7, it is characterised in that described The acquisition process of very first time deviation includes:
Obtain described first receiver module and described measurement response message is transferred to the of described first sending module One transmission time, and obtain the described measurement of the described first sending module feedback of described first receiver module reception The second reception time of response message;
Obtain described first sending module and receive the first of the measurement response message that described first receiver module sends The reception time, and obtain described first sending module described measurement response message is transferred to described first receive The second transmission time of module;
Time meter is received according to described first transmission time, the first reception time, the second transmission time and second Calculate very first time deviation.
9. the measurement apparatus of message Forwarding Delay as claimed in claim 7, it is characterised in that described The acquisition process of the second time deviation includes:
Obtain described second receiver module and described measured message is transferred to the 3rd biography of described second sending module The defeated time, and obtain the described measured message of the described second sending module feedback of described second receiver module reception The 4th reception the time;
Obtain described second sending module and receive the 3rd reception of the measured message that described second receiver module sends Time, and obtain described second sending module described measured message is transferred to the of described second receiver module Four transmission times;
Time meter is received according to described 3rd transmission time, the 3rd reception time, the 4th transmission time and the 4th Calculate described second time deviation.
10. the measurement apparatus of the message Forwarding Delay as described in any one of claim 7-9, its feature exists In, if described time deviation includes that very first time deviation, the most described computing module specifically include: the first transmitting-receiving Time Calculation submodule, for calculating the difference between described time difference and described very first time deviation, obtains institute State the first transmitting-receiving time value of transmitting terminal;Time-delay calculation submodule, for subtracting described first transmitting-receiving time value The described process time is gone to obtain described message Forwarding Delay;
If described time deviation includes that the second time deviation, the most described computing module specifically include: during the second transmitting-receiving Between calculating sub module, for calculating the difference of described process time and described second time deviation, obtain described in connect Second transmitting-receiving time value of receiving end;Time-delay calculation submodule, receives for described time difference deducts described second Send out time value and obtain described message Forwarding Delay;
If described time deviation includes very first time deviation and the second time deviation, the most described computing module is concrete Including the first transmitting-receiving Time Calculation submodule, be used for calculating described time difference and described very first time deviation it Between difference, obtain described transmitting terminal first transmitting-receiving time value;Second transmitting-receiving Time Calculation submodule, is used for Calculate the difference of described process time and described second time deviation, obtain the second transmitting-receiving time of described receiving terminal Value;Time-delay calculation submodule, obtains for described first transmitting-receiving time value is deducted described second transmitting-receiving time value To described message Forwarding Delay.
The measurement system of 11. 1 kinds of message Forwarding Delays, it is characterised in that include transmitting terminal and receiving terminal, Described transmitting terminal includes the measurement apparatus of the message Forwarding Delay as described in any one of claim 6 to 10.
CN201510129946.2A 2015-03-24 2015-03-24 Method, device and system for measuring message forwarding time delay Active CN106161121B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510129946.2A CN106161121B (en) 2015-03-24 2015-03-24 Method, device and system for measuring message forwarding time delay
PCT/CN2015/082106 WO2016150021A1 (en) 2015-03-24 2015-06-23 Packet forwarding delay measurement method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129946.2A CN106161121B (en) 2015-03-24 2015-03-24 Method, device and system for measuring message forwarding time delay

Publications (2)

Publication Number Publication Date
CN106161121A true CN106161121A (en) 2016-11-23
CN106161121B CN106161121B (en) 2020-05-22

Family

ID=56977013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129946.2A Active CN106161121B (en) 2015-03-24 2015-03-24 Method, device and system for measuring message forwarding time delay

Country Status (2)

Country Link
CN (1) CN106161121B (en)
WO (1) WO2016150021A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196821A (en) * 2017-05-24 2017-09-22 深圳市乃斯网络科技有限公司 The method of calibration and system of time delay in network link
CN108449228A (en) * 2018-03-05 2018-08-24 新华三技术有限公司 Message processing method and the network equipment
WO2020038191A1 (en) * 2018-08-24 2020-02-27 华为技术有限公司 Time delay measuring method and network device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327478B (en) * 2020-02-28 2022-04-15 北京天维信通科技有限公司 Network measurement method and device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090310500A1 (en) * 2008-06-17 2009-12-17 Fujitsu Limited Delay time measuring apparatus, computer readable record medium on which delay time measuring program is recorded, and delay time measuring method
CN102025556A (en) * 2009-09-21 2011-04-20 中兴通讯股份有限公司 Method and device for measuring accurate delay of operation, administration and maintenance (OAM) packet
CN102227110A (en) * 2011-06-17 2011-10-26 华为技术有限公司 Measurement one way delay method and equipment thereof, and communication system
US8229705B1 (en) * 2008-08-05 2012-07-24 Marvell Israel (M.I.S.I.) Ltd. Performance monitoring in computer networks
CN102638339A (en) * 2012-04-20 2012-08-15 杭州华三通信技术有限公司 Method and device for realizing precision time synchronization
CN102655463A (en) * 2011-03-02 2012-09-05 中兴通讯股份有限公司 LMP (Link Manager Protocol)-based network link delay measurement method and device
US20130336129A1 (en) * 2012-06-15 2013-12-19 Fujitsu Limited Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090310500A1 (en) * 2008-06-17 2009-12-17 Fujitsu Limited Delay time measuring apparatus, computer readable record medium on which delay time measuring program is recorded, and delay time measuring method
US8229705B1 (en) * 2008-08-05 2012-07-24 Marvell Israel (M.I.S.I.) Ltd. Performance monitoring in computer networks
CN102025556A (en) * 2009-09-21 2011-04-20 中兴通讯股份有限公司 Method and device for measuring accurate delay of operation, administration and maintenance (OAM) packet
CN102655463A (en) * 2011-03-02 2012-09-05 中兴通讯股份有限公司 LMP (Link Manager Protocol)-based network link delay measurement method and device
CN102227110A (en) * 2011-06-17 2011-10-26 华为技术有限公司 Measurement one way delay method and equipment thereof, and communication system
CN102638339A (en) * 2012-04-20 2012-08-15 杭州华三通信技术有限公司 Method and device for realizing precision time synchronization
US20130336129A1 (en) * 2012-06-15 2013-12-19 Fujitsu Limited Multipurpose Use of Delay Measurement Message Buffer for Software Processing of Delay Measurement Response

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196821A (en) * 2017-05-24 2017-09-22 深圳市乃斯网络科技有限公司 The method of calibration and system of time delay in network link
CN108449228A (en) * 2018-03-05 2018-08-24 新华三技术有限公司 Message processing method and the network equipment
WO2020038191A1 (en) * 2018-08-24 2020-02-27 华为技术有限公司 Time delay measuring method and network device
CN110858811A (en) * 2018-08-24 2020-03-03 华为技术有限公司 Method for measuring time delay and network equipment
US11706113B2 (en) 2018-08-24 2023-07-18 Huawei Technologies Co., Ltd. Determining delay based on a measurement code block

Also Published As

Publication number Publication date
CN106161121B (en) 2020-05-22
WO2016150021A1 (en) 2016-09-29

Similar Documents

Publication Publication Date Title
De Vito et al. One-way delay measurement: State of the art
CN103929293B (en) Asymmetrically-delayed time synchronization method and system
US9256247B2 (en) Method and apparatus for communicating time information between time aware devices
US9736804B2 (en) Methods, systems, and computer readable media for synchronizing timing among network interface cards (NICS) in a network equipment test device
WO2009098757A1 (en) Method for measuring frame loss, system for measuring frame loss, and device for measuring frame loss
CN102710410B (en) Clock synchronizing method for NTP network and PTP network
JP5824347B2 (en) Time synchronization apparatus and method
CN106161121A (en) The measuring method of a kind of message Forwarding Delay, Apparatus and system
KR20170105573A (en) Time synchronization method, apparatus, system and storage medium in OTN network
CN103378993A (en) Slave clock monitoring method based on PTP
CN102480350A (en) Method and device for time synchronization and maintaining based on frequency deviation estimation
US20100293243A1 (en) method and apparatus for measuring directionally differentiated (one-way) network latency
CN105703892A (en) Method of realizing PTP nanosecond precision based on hardware time stamp
CN103168440A (en) Method and device for compensating for time path
WO2015131626A1 (en) Time synchronization method and apparatus for network devices and time synchronization server
JP6227888B2 (en) Communication system, synchronization system, and communication method
WO2019128869A1 (en) Flexible ethernet delay measurement method and related device
KR20100062786A (en) Time synchronized system and time synchronization method in the next generation convergence network
CN112217588A (en) Timestamp jitter compensation method and system
WO2011074529A1 (en) Time synchronization system, slave node, time synchronization method, and program for time synchronization
US20130103997A1 (en) Ieee1588 protocol negative testing method
CN109379160A (en) A kind of clock alignment server and method
CN102638339A (en) Method and device for realizing precision time synchronization
CN103873178A (en) Concentrated inspection method for timing error of wide-area time synchronization system
CN102710359A (en) Accurate clock frequency synchronizing method and device based on IEEE1588 (institute of electrical and electronics engineers)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant