CN108632105A - A kind of frame time delay detecting method and system - Google Patents

A kind of frame time delay detecting method and system Download PDF

Info

Publication number
CN108632105A
CN108632105A CN201710187138.0A CN201710187138A CN108632105A CN 108632105 A CN108632105 A CN 108632105A CN 201710187138 A CN201710187138 A CN 201710187138A CN 108632105 A CN108632105 A CN 108632105A
Authority
CN
China
Prior art keywords
message
oam message
oam
transmitting terminal
receiving
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
CN201710187138.0A
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.)
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 CN201710187138.0A priority Critical patent/CN108632105A/en
Publication of CN108632105A publication Critical patent/CN108632105A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of frame time delay detecting method,It sends OAM message and records the sending time sequence information TxMasterTime for sending the OAM message,The OAM message carries the information for identifying that the OAM message is frame time delay detection message,The OAM message is 802.3ah protocol massages,Receive the response message that the receiving terminal is fed back according to the OAM message,Record the receiving time sequence information RxSlaveTime of the response message,The receiving time sequence information RxMasterTime that the receiving terminal receives the OAM message is carried in the response message,Send the sending time sequence information TxSlaveTime of the response message,The transmitting terminal is according to TxMasterTime,RxMasterTime,TxSlaveTime,RxSlaveTime calculates the frame time delay of tested network.

Description

A kind of frame time delay detecting method and system
Technical field
The present invention can be related to communication and computer realm, more particularly to a kind of frame time delay detecting method and system
Background technology
Ethernet operation, management, safeguards (OAM, Operation Administration and Maintenance) skill Art is that classification is realized, link level Ethernet OAM technology is applied to network, customer side edge device equipment (PE, Provider more Edge) the Ethernet physical link between equipment-user equipment (CE, Customer Edge), for monitoring user network and fortune Seek the link state between quotient's network.IEEE 802.3ah consensus standards are current with first mile of very extensive Ethernet (EFM, Ethernet in the First Mile) technology, 802.3ah agreements, will by the way that remote loopback function is arranged The test packet loopback of 802.3ah is to local terminal, by counting the packet number sent and the loopback packet number received, positioning link event Barrier, but 802.3ah agreements effectively calculate chain-circuit time delay without having due to including only statistics loopback packet number function Function, therefore current 802.3ah agreements cannot comprehensively assess link-quality.The prior art is carried without problem thus For solution.
Invention content
The present invention provides a kind of frame time delay detecting methods, when cannot be carried out to link at least solving 802.3ah agreements The technical issues of prolonging measurement, link-quality can not being fully assessed.
One aspect of the present invention provides a kind of frame time delay detecting method, and this method includes that transmitting terminal sends OAM reports to receiving terminal Text simultaneously records the sending time sequence information TxMasterTime for sending the OAM message, which, which carries, identifies the OAM Message is the information of frame time delay detection message, which is 802.3ah protocol massages, which receives the receiving terminal root According to the response message that the OAM message is fed back, the receiving time sequence information RxSlaveTime of the response message is recorded, wherein should The receiving terminal is carried in response message to receive the receiving time sequence information RxMasterTime of the OAM message and send this The sending time sequence information TxSlaveTime of response message, the transmitting terminal, should according to the TxMasterTime RxMasterTime, the TxSlaveTime, the RxSlaveTime calculate the frame time delay of tested network.
Further, the Code words that the information that the OAM message is frame time delay detection message is located in the OAM message are identified Section.
Further, the transmitting terminal is in the following manner according to TxMasterTime, RxMasterTime, TxSlaveTime, RxSlaveTime calculate the frame time delay of tested network, frame time delay=(RxSlaveTime- TxMasterTime-(TxSlaveTime–RxMasterTime))/2。
Further, which also carries sequence number, and receiving terminal is taken according to the response message that the OAM message is fed back With sequence number identical with the OAM message.
Further, after transmitting terminal receives the response message, further include believing the receiving time sequence of the response message Breath RxSlaveTime is added in the response message, wherein the response message also carries the sending time sequence of the OAM message Column information TxMasterTime.
Further, in the transmitting terminal according to TxMasterTime, RxMasterTime, TxSlaveTime, After RxSlaveTime calculates the frame time delay of tested network, this method further includes,
Transmitting terminal calculates that the transmitting terminal sends the average transmission time interval of N number of OAM message and the receiving terminal receives the N The average received time interval of a OAM message;
For transmitting terminal by the time interval ratio of the be averaged transmission time interval and the average received time interval, calculating should The ratio TimeRatio of clock crystal oscillator frequency between transmitting terminal and the receiving terminal;
Transmitting terminal corrects the frame time delay using the ratio TimeRatio of the clock crystal oscillator frequency.
Further, transmitting terminal calculates average transmission time interval and reception that the transmitting terminal sends N number of OAM message The mode of average received time interval that end receives N number of OAM message is:
Transmitting terminal sends N number of OAM message within the preset time;According to the 1st OAM message sending time sequence The mathematic interpolation of the column information and n-th the OAM message sending time sequence information average transmission time interval MasterTimeDiff (N)=(TxMasterTime (N)-TxMasterTime (1))/N, N are the natural number more than 2;
Transmitting terminal receives N number of response message, and the 1st is received according to the receiving terminal carried in the 1st response message The receiving terminal carried in the receiving time sequence information and n-th of the OAM message response message receives n-th OAM reports The mathematic interpolation average received time interval SlaveTimeDiff (N) of the receiving time sequence information of text= (RxMasterTime (N)-RxMasterTime (1))/N, N are the natural number more than 2.
Further, transmitting terminal calculates average transmission time interval and reception that the transmitting terminal sends N number of OAM message The mode of average received time interval that end receives N number of OAM message is:
The transmitting terminal sends N number of OAM message within the preset time, when calculating the transmission of the adjacent OAM message Between be spaced MasterTimeDiff (N)=TxMasterTime (N)-TxMasterTime (N-1), N is natural number more than 2, The standard variance for calculating transmission time interval MasterTimeDiff (N) obtains the adjacent OAM message transmission time interval collection It closes, correcting the OAM message by way of the adjacent OAM message transmission time interval of removal more than 3 standard variances sends Time interval set calculates the average transmission time interval according to the revised OAM message transmission time interval set.
The transmitting terminal receives N number of response message, and the OAM message is received according to the receiving terminal carried in the response message Receiving time sequence information calculate receiving time interval SlaveTimeDiff (N)=RxMasterTime of adjacent OAM message (N)-RxMasterTime (N-1), N are the natural number more than 2, calculate the receiving time interval of the adjacent OAM message The standard variance of MasterTimeDiff (N) obtains the receiving time interval set of the adjacent OAM message, is more than 3 by removal The mode at the receiving time interval of the adjacent OAM message of a standard variance corrects the receiving time interval of the adjacent OAM message Set calculates the average transmission time interval according to the receiving time interval of revised adjacent OAM message set.
Further, include frame time delay=(RxSlaveTime- than changing the frame time delay using the crystal oscillator TxMasterTime-(TxSlaveTime–RxMasterTime)*TimeRatio)/2。
Another aspect of the present invention also provides a kind of frame time delay detecting method, which is characterized in that including receiving terminal is received and solved The OAM message that transmitting terminal is sent is analysed, if the OAM message belongs to frame time delay detection message, according to the OAM message to the transmitting terminal Send response message, wherein the response message include the OAM message receiving time sequence information RxMaster Time and The sending time sequence information TxSlave Time of the response message.
Another aspect of the present invention also provides a kind of frame time delay detection system, which is characterized in that including transmitting terminal and receiving terminal, Wherein:Transmitting terminal, for the receiving terminal send OAM message and record send the OAM message sending time sequence information TxMasterTime, the OAM message carry the information for identifying that the OAM message is frame time delay detection message, which is 802.3ah protocol massages;Transmitting terminal is additionally operable to receive the response message that the receiving terminal is fed back according to the OAM message, records the sound Answer the receiving time sequence information RxSlaveTime of message, wherein carry the receiving terminal in the response message and receive the OAM The receiving time sequence information RxMasterTime of message and the sending time sequence information for sending the response message TxSlaveTime;According to TxMasterTime, RxMasterTime, TxSlaveTime, RxSlaveTime calculates tested network Frame time delay;Receiving terminal, the OAM message for receiving and parsing through transmitting terminal transmission, if the OAM message belongs to frame time delay detection Message sends response message, wherein when the response message includes the reception of the OAM message according to the OAM message to the transmitting terminal Between the sending time sequence information TxSlave Time of sequence information RxMaster Time and the response message.
By the present invention in that on 802.3ah consensus standards, the new type of code for defining protocol Data Unit, in agreement Data field transmitting terminal and the corresponding time serial message of receiving terminal is added, pass through protocol interaction and obtain receiving terminal processing delay, report Literary transmission time, and then frame time delay is calculated.Solve in the prior art 802.3ah consensus standards do not support measuring frame delay from And the problem of link performance can not be tested comprehensively.In the prior art because of the clock of transmitting terminal and receiving device, generally there are , that is, there is clock frequency and phase difference in nonsynchronous situation, when calculating frame delay need to the clock of local terminal and remote equipment into Row correction.After clock correction, timestamp is carried by protocol package, you can more accurate amendment frame time delay is calculated, is used for Link performance, therefore this specification preferred embodiment are judged, is also had without receiving terminal and transmitting terminal time synchronization, you can right The clock of transmitting terminal and receiving device is corrected, and improves the technique effect of measuring frame delay precision.
Description of the drawings
Fig. 1 is a kind of frame time delay detecting method transmitting terminal flow chart of this specification preferred embodiment;
Fig. 2 is a kind of OMA message structures schematic diagram of this specification preferred embodiment;
Fig. 3 is a kind of frame time delay detecting method receiving terminal flow chart of this specification preferred embodiment;
Fig. 4 is a kind of frame time delay detection system of this specification preferred embodiment;
Specific implementation mode
Come that the present invention will be described in detail below with reference to attached drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, " Two " etc. be for distinguishing similar object, without being used to describe specific sequence or precedence.
One aspect of the present invention provided a kind of frame time delay detecting method, and Fig. 1 is a kind of frame of this specification preferred embodiment Time delay detecting method transmitting terminal flow chart, as shown in Figure 1, including:
S101:Transmitting terminal sends OAM message to receiving terminal and records the sending time sequence information of the transmission OAM message TxMasterTime, the OAM message carry the information for identifying that the OAM message is frame time delay detection message, which is 802.3ah protocol massages;
S102:The transmitting terminal receives the response message that the receiving terminal is fed back according to the OAM message, records the response message Receiving time sequence information RxSlaveTime, wherein carry the receiving terminal in the response message and receive connecing for the OAM message It receives time serial message RxMasterTime and sends the sending time sequence information TxSlaveTime of the response message;
S103:The transmitting terminal is counted according to TxMasterTime, RxMasterTime, TxSlaveTime, RxSlaveTime Calculate the frame time delay of tested network.
Further, the Code words that the information that the OAM message is frame time delay detection message is located in the OAM message are identified Section.
Fig. 2 is a kind of OMA message structures schematic diagram of this specification preferred embodiment, as shown in Fig. 2, the technology of the present invention Scheme uses the Code fields of OAM Protocol Data Unit, a type is chosen from 0x5-0xFD Retention Types, for handling frame Time-delay calculation;This specification preferred embodiment may include sequence according to data buffer zone format defined in new Code types The data such as row number and time serial message, time serial message can be 4 octet fields, and format can refer to IEEE TimeRepresentation in 1588-2008, but be also not limited, other forms format can be used.
Further, transmitting terminal calculates frame time delay=(RxSlaveTime-TxMasterTime- of tested network (TxSlaveTime–RxMasterTime))/2。
Further, which also carries sequence number, the response message which feeds back according to the OAM message Carry sequence number identical with the OAM message.Identical sequence number can effectively distinguish multiple OAM feedback messages and response is reported Text.
Further, after transmitting terminal receives the response message, further include:The receiving time sequence of the response message is believed Breath RxSlaveTime is added in the response message, wherein the response message also carries the sending time sequence of the OAM message Column information TxMasterTime.
Further, in the transmitting terminal according to TxMasterTime, RxMasterTime, TxSlaveTime, After RxSlaveTime calculates the frame time delay of tested network, this method further includes:
Transmitting terminal calculates that the transmitting terminal sends the average transmission time interval of N number of OAM message and the receiving terminal receives the N The average received time interval of a OAM message;
For transmitting terminal by the time interval ratio of the be averaged transmission time interval and the average received time interval, calculating should The ratio TimeRatio of clock crystal oscillator frequency between transmitting terminal and the receiving terminal;
Transmitting terminal corrects the frame time delay using the ratio TimeRatio of the clock crystal oscillator frequency.
Since transmitting terminal and receiving device clock are there are nonsynchronous situation, clock there are the difference of frequency, phase Difference.To improve the computational accuracy of frame time delay, need to carry out clock correction to transmitting terminal and receiving device.This specification is preferred Embodiment can transmitting terminal sends the average transmission time interval of OMA messages and receiving terminal receives the flat of OMA messages according to calculating Equal receiving time interlude interval ratio calculates the clock ratio of transmitting terminal and receiving terminal, can also pass through and calculates transmitting terminal Send the average handling time interlude interval of the average transmission time interval and receiving terminal processing OMA messages of OMA messages Ratio calculates the clock ratio of transmitting terminal and receiving terminal, and sending ending equipment receives the time of message and the time for sending response message The difference of the two is transmitting terminal processing time interval, when can also send the average transmission of OMA messages by calculating transmitting terminal Between interval and receiving terminal send response message average transmission time interval time interval ratio come calculate transmitting terminal with reception The clock ratio at end carries out clock correction to the equipment of transmitting terminal and receiving terminal.
Further, the average received time interval for calculating receiving terminal reception OMA messages can be there are two types of mode, the first Mode is:
Transmitting terminal sends N number of OAM message within the preset time;According to the 1st OAM message sending time sequence The mathematic interpolation of the column information and n-th the OAM message sending time sequence information average transmission time interval MasterTimeDiff (N)=(TxMasterTime (N)-TxMasterTime (1))/N, N are the natural number more than 2;
Transmitting terminal receives N number of response message, and the 1st is received according to the receiving terminal carried in the 1st response message The receiving terminal carried in the receiving time sequence information and n-th of the OAM message response message receives n-th OAM reports The mathematic interpolation average received time interval SlaveTimeDiff (N) of the receiving time sequence information of text= (RxMasterTime (N)-RxMasterTime (1))/N, N are the natural number more than 2.
The second way is:The transmitting terminal sends N number of OAM message within the preset time, calculates the adjacent OAM The transmission time interval MasterTimeDiff (N) of message=TxMasterTime (N)-TxMasterTime (N-1), N is big In 2 natural number, the standard variance of transmission time interval MasterTimeDiff (N) is calculated, obtains adjacent OAM message hair Time interval set is sent, this is corrected by way of the adjacent OAM message transmission time interval of removal more than 3 standard variances OAM message transmission time interval set, when calculating this according to the revised OAM message transmission time interval set and averagely sending Between be spaced;
The transmitting terminal receives N number of response message, and the OAM message is received according to the receiving terminal carried in the response message Receiving time sequence information calculate receiving time interval SlaveTimeDiff (N)=RxMasterTime of adjacent OAM message (N)-RxMasterTime (N-1), N are the natural number more than 2, calculate the receiving time interval of the adjacent OAM message The standard variance of MasterTimeDiff (N) obtains the receiving time interval set of the adjacent OAM message, is more than 3 by removal The mode at the receiving time interval of the adjacent OAM message of a standard variance corrects the receiving time interval of the adjacent OAM message Set calculates the average transmission time interval according to the receiving time interval of revised adjacent OAM message set.
Further, crystal oscillator than being by way of being verified, frame time delay=(RxSlaveTime- TxMasterTime-(TxSlaveTime–RxMasterTime)*TimeRatio)/2。
The present invention also provides a kind of frame time delay detecting method, Fig. 3 is a kind of frame time delay inspection of this specification preferred embodiment Survey method receiving terminal flow chart, as shown in figure 3,
S301:Receiving terminal receives and parses through the OAM message of transmitting terminal transmission;
S302:If the OAM message belongs to frame time delay detection message sends response report according to the OAM message to the transmitting terminal Text, wherein the response message includes the receiving time sequence information RxMaster Time and the response message of the OAM message Sending time sequence information TxSlave Time.
The present invention also provides a kind of frame time delay detection system, Fig. 4 is a kind of frame time delay inspection of this specification preferred embodiment Examining system, as shown in figure 4, including transmitting terminal and receiving terminal, wherein:
Transmitting terminal, for the receiving terminal send OAM message and record send the OAM message sending time sequence information TxMasterTime, the OAM message carry the information for identifying that the OAM message is frame time delay detection message, which is 802.3ah protocol massages;It is additionally operable to receive the response message that the receiving terminal is fed back according to the OAM message, records the response message Receiving time sequence information RxSlaveTime, wherein carry the receiving terminal in the response message and receive the OAM message The receiving time sequence information RxMasterTime and sending time sequence information TxSlaveTime for sending the response message; According to the TxMasterTime, the RxMasterTime, the TxSlaveTime, which calculates the frame of tested network Time delay.
Receiving terminal, the OAM message for receiving and parsing through transmitting terminal transmission, if the OAM message belongs to frame time delay detection Message sends response message, wherein when the response message includes the reception of the OAM message according to the OAM message to the transmitting terminal Between the sending time sequence information TxSlave Time of sequence information RxMaster Time and the response message.
This specification further includes a kind of preferred embodiment, and Fig. 2 is a kind of OMA message structures of this specification preferred embodiment Schematic diagram, as shown in Fig. 2, in 802.3ah consensus standards, the message class of Code fields 0x0-0x04,0xFE defined OAM Type, Information messages (0x0), Loopback Control messages (0x4) etc..0x05-0xFD is to retain in Code fields Field.The present embodiment newly defines Code field 0x08, the calculating for handling frame time delay;Seq sequence numbers are 14 bit byte words Section;It reports at the ends the Master end message sending time TxMasterTime, the Master ends message receiving time RxSlaveTime, Slave Literary sending time TxSlaveTime, the ends Slave message receiving time RxMasterTime, above-mentioned 4 timestamps are 48 words Field is saved, format is the format of TimeRepresentation in IEEE 1588-2008;
It is as follows that this preferred embodiment calculates remote equipment processing delay:
Master end equipments carry out a message interaction with Slave end equipments, and Slave end equipments receive the ends Master hair At the time of the OAM message sent, store RxMasterTime fields, the ends Slave processing OAM message and at the time of send, store to TxSlaveTime fields.Master terminations receive the OAM message that the ends Slave are sent out, and are filled in messages according to the ends Slave Timestamp calculates remote equipment processing delay SlaveProcessTime, i.e.,:SlaveProcessTime=TxSlaveTime- RxMasterTime
The clock ratio of local device and remote equipment is calculated again:Master end equipments send N number of OAM in Fixed Time Interval The time interval of message, adjacent message is MasterTimeDiff (N), i.e.,:
MasterTimeDiff (N)=TxMasterTime (N)-TxMasterTime (N-1)
Slave end equipments receive N number of OAM message, and the time interval of adjacent message is SlaveTimeDiff (N), i.e.,:
SlaveTimeDiff (N)=RxMasterTime (N)-RxMasterTime (N-1)
Calculate the standard deviation of the N-1 transmission time interval at the ends Master/Slave:
Wherein s is standard deviation, and x (i) is TxMasterTime (N) or RxMasetrTime (N), is sequence 1-N's The average value of TxMasterTime or RxMasetrTime is rejected according to 3Sigma except section [- 3s ,+3s] The numerical value of MasterTimeDiff (N) or SlaveTimeDiff (N) use the data MasterTimeDiff after filtering (update)/SlaveTimeDiff (update) carries out the calculating of clock ratio.
Master end equipments and the clock ratio TimeRatio of Slave end equipments are:
TimeRatio=MasterTimeDiff (update)/SlaveTimeDiff (update)
Clock ratio TimeRatio is used to correct the clock frequency difference between local device and remote equipment, can roll Update calculates the clock ratio of local device and remote equipment:
Because of state when system operation, the reading of system time, therefore the message time that software is read are influenced, is calculated The clock ratio arrived, changes over time, the calculating of the clock ratio of N+M sequence of message, uses m-th sequence of message to N+ The time of the sequence of message of M is calculated, and the historical statistical data of the 1-M sequence of message is all given up, then carries out clock ratio It calculates;
Then the remote equipment processing delay CorrSlaveProcessTime after being corrected, i.e.,:
CorrSlaveProcessTime=SlaveProcessTime*TimeRatio
Frame time delay finally is corrected to calculating, is proceeded by from sequence of message N+1 and calculates frame time delay, Master end equipments are sent At the time of OAM message, stores to TxMasterTime and is stored to RxSlaveTime at the time of the ends Master receive OAM message, It is RoundTripTime that the ends Master, which are sent to and receive message time, i.e.,:
RoundTripTime=RxSlaveTime-TxMasterTime
According to revised Slave end equipments processing delay CorrSlaveProcessTime, propagation delay time is calculated FrameDelayTime, i.e.,:
FrameDelayTime=(RoundTripTime-CorrSlaveProcessTime)/2
Frame time delay FrameDelayTime obtained by calculation, operation and maintenance personnel is according between different direct-connected devices Propagation delay time requirement effectively can carry out comprehensive accurate judgement to link-quality, determine whether link-quality meets engineering reality Apply requirement.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be with different from shown in sequence execution herein The step of going out or describing, either they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
Above this is merely a preferred embodiment of the present invention, and is not intended to restrict the invention, for the technology of this field For personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (11)

1. a kind of frame time delay detecting method, which is characterized in that including:
Transmitting terminal sends the sending time sequence information that OAM message and recording sends the OAM message to receiving terminal TxMasterTime, the OAM message carry the information for identifying that the OAM message is frame time delay detection message, the OAM reports Text is 802.3ah protocol massages;
The transmitting terminal receives the response message that the receiving terminal is fed back according to the OAM message, records the response message Receiving time sequence information RxSlaveTime, wherein carry the receiving terminal in the response message and receive the OAM reports The receiving time sequence information RxMasterTime of text and the sending time sequence information for sending the response message TxSlaveTime;
The transmitting terminal nets the RxMasterTime, the TxSlaveTime according to the TxMasterTime, described RxSlaveTime calculates the frame time delay for being tested network.
2. according to the method described in claim 1, it is characterized in that, the mark OAM message is frame time delay detection message Information be located at the Code fields in the OAM message.
3. according to the method described in claim 1, it is characterized in that, the transmitting terminal in the following manner according to described in TxMasterTime, the RxMasterTime, the TxSlaveTime, the RxSlaveTime calculate the frame of tested network Time delay:
Frame time delay=(RxSlaveTime-TxMasterTime- (TxSlaveTimeRxMasterTime))/2.
4. according to the method described in claim 1, it is characterized in that, the OAM message also carries sequence number, the receiving terminal The response message fed back according to the OAM message carries sequence number identical with the OAM message.
5. wanting the method described in 1 according to right, which is characterized in that after the transmitting terminal receives the response message, further include: The receiving time sequence information RxSlaveTime of the response message is added in the response message, wherein the response Message also carries the sending time sequence information TxMasterTime of the OAM message.
6. according to the method described in claim 1, it is characterized in that, in the transmitting terminal according to the TxMasterTime, institute RxMasterTime, the TxSlaveTime are stated, after the RxSlaveTime calculates the frame time delay of tested network, the side Method further includes:
The transmitting terminal calculates the transmitting terminal and sends the average transmission time interval of N number of OAM message and the receiving terminal Receive the average received time interval of N number of OAM message;
The transmitting terminal passes through the time interval ratio of the average transmission time interval and the average received time interval, meter Calculate the ratio TimeRatio of clock crystal oscillator frequency between the transmitting terminal and the receiving terminal;
The transmitting terminal corrects the frame time delay using the ratio TimeRatio of the clock crystal oscillator frequency.
7. according to the method described in claim 6, it is characterized in that, the transmitting terminal calculating transmitting terminal transmission is N number of described The average transmission time interval and the receiving terminal of OAM message receive the side of the average received time interval of N number of OAM message Formula is:
The transmitting terminal sends N number of OAM message within the preset time;When being sent according to the 1st OAM message Between OAM message sending time sequence information described in sequence information and n-th mathematic interpolation described in average transmission time interval MasterTimeDiff (N)=(TxMasterTime (N)-TxMasterTime (1))/N, N are the natural number more than 2;
The transmitting terminal receives N number of response message, is received according to the receiving terminal carried in the 1st response message The receiving terminal carried in response message described in the receiving time sequence information and n-th of 1st OAM message receives the Average received time interval SlaveTimeDiff described in the mathematic interpolation of the receiving time sequence information of N number of OAM message (N)=(RxMasterTime (N)-RxMasterTime (1))/N, N are the natural number more than 2.
8. according to the method described in claim 6, it is characterized in that, the transmitting terminal calculating transmitting terminal transmission is N number of described The average transmission time interval and the receiving terminal of OAM message receive the side of the average received time interval of N number of OAM message Formula is:
The transmitting terminal sends N number of OAM message within the preset time, calculates the transmission of the adjacent OAM message Time interval MasterTimeDiff (N)=TxMasterTime (N)-TxMasterTime (N-1), N are the nature more than 2 Number, calculates the standard variance of the transmission time interval MasterTimeDiff (N), when obtaining the adjacent OAM message transmission Between be spaced set, corrected in such a way that removal is more than the adjacent OAM message transmission time interval of 3 standard variances described OAM message transmission time interval set calculates the average hair according to the revised OAM message transmission time interval set Send time interval;
The transmitting terminal receives N number of response message, according to the receiving terminal reception carried in the response message The receiving time sequence information of OAM message calculate the receiving time interval SlaveTimeDiff (N) of adjacent OAM message= RxMasterTime (N)-RxMasterTime (N-1), N are the natural number more than 2, calculate the reception of the adjacent OAM message The standard variance of time interval MasterTimeDiff (N) obtains the receiving time interval set of the adjacent OAM message, leads to The mode that removal is crossed more than the receiving time interval of the adjacent OAM message of 3 standard variances corrects the adjacent OAM message Receiving time interval set, according to the receiving time interval of the revised adjacent OAM message set calculate it is described average Transmission time interval.
9. according to the method described in claim 6, it is characterized in that, including than changing the frame time delay using the crystal oscillator:
Frame time delay=(RxSlaveTime-TxMasterTime- (TxSlaveTime RxMasterTime) * TimeRatio)/ 2。
10. a kind of frame time delay detecting method, which is characterized in that including:
Receiving terminal receives and parses through the OAM message of transmitting terminal transmission, if the OAM message belongs to frame time delay detection message, root Response message is sent to the transmitting terminal, wherein the response message includes the reception of the OAM message according to the OAM message The sending time sequence information TxSlave Time of time serial message RxMaster Time and the response message.
11. a kind of frame time delay detection system, which is characterized in that including transmitting terminal and receiving terminal, wherein:
The transmitting terminal, for sending the sending time sequence that OAM message and recording sends the OAM message to the receiving terminal Information TxMasterTime, the OAM message carries the information for identifying that the OAM message is frame time delay detection message, described OAM message is 802.3ah protocol massages;
The transmitting terminal is additionally operable to receive the response message that the receiving terminal is fed back according to the OAM message, records the response The receiving time sequence information RxSlaveTime of message, wherein carried in the response message described in the receiving terminal reception The receiving time sequence information RxMasterTime of OAM message and the sending time sequence information for sending the response message TxSlaveTime;According to the TxMasterTime, the RxMasterTime, the TxSlaveTime are described RxSlaveTime calculates the frame time delay of tested network;
The receiving terminal, the OAM message for receiving and parsing through transmitting terminal transmission, if the OAM message belongs to the inspection of frame time delay Text is observed and predicted, response message is sent to the transmitting terminal according to the OAM message, wherein the response message is reported comprising the OAM The receiving time sequence information RxMaster Time of the text and sending time sequence information TxSlave of the response message Time。
CN201710187138.0A 2017-03-24 2017-03-24 A kind of frame time delay detecting method and system Pending CN108632105A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710187138.0A CN108632105A (en) 2017-03-24 2017-03-24 A kind of frame time delay detecting method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710187138.0A CN108632105A (en) 2017-03-24 2017-03-24 A kind of frame time delay detecting method and system

Publications (1)

Publication Number Publication Date
CN108632105A true CN108632105A (en) 2018-10-09

Family

ID=63707869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710187138.0A Pending CN108632105A (en) 2017-03-24 2017-03-24 A kind of frame time delay detecting method and system

Country Status (1)

Country Link
CN (1) CN108632105A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021004005A1 (en) * 2019-07-10 2021-01-14 烽火通信科技股份有限公司 Timestamp jitter compensation method and system
CN112714007A (en) * 2019-10-24 2021-04-27 烽火通信科技股份有限公司 Method and device for detecting service message dyeing marks of all IOAM (input/output access am) equipment
WO2022148270A1 (en) * 2021-01-05 2022-07-14 大唐移动通信设备有限公司 Method for measuring and feeding back delay information, communication device, apparatus, and storage medium
CN115002006A (en) * 2022-04-27 2022-09-02 北京中睿天下信息技术有限公司 Network equipment time delay testing method
WO2023035776A1 (en) * 2021-09-13 2023-03-16 华为技术有限公司 Communication method, related apparatus, and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021004005A1 (en) * 2019-07-10 2021-01-14 烽火通信科技股份有限公司 Timestamp jitter compensation method and system
CN112714007A (en) * 2019-10-24 2021-04-27 烽火通信科技股份有限公司 Method and device for detecting service message dyeing marks of all IOAM (input/output access am) equipment
CN112714007B (en) * 2019-10-24 2022-07-01 烽火通信科技股份有限公司 Method and device for detecting service message dyeing marks of all IOAM (input/output access am) equipment
WO2022148270A1 (en) * 2021-01-05 2022-07-14 大唐移动通信设备有限公司 Method for measuring and feeding back delay information, communication device, apparatus, and storage medium
WO2023035776A1 (en) * 2021-09-13 2023-03-16 华为技术有限公司 Communication method, related apparatus, and storage medium
CN115002006A (en) * 2022-04-27 2022-09-02 北京中睿天下信息技术有限公司 Network equipment time delay testing method
CN115002006B (en) * 2022-04-27 2023-07-07 北京中睿天下信息技术有限公司 Network equipment time delay test method

Similar Documents

Publication Publication Date Title
CN108632105A (en) A kind of frame time delay detecting method and system
US8284778B2 (en) Method, device, and computer program product for detecting and encoding states for accurate measurement
CN107508719A (en) Measure the method, apparatus and network node of network delay
CN101192951B (en) Measuring method and device for utilization rate of IPv6 network link and IPv6 network router
US20140006610A1 (en) Real-time highly accurate network latency measurement with low generated traffic or data requirements
US9369362B2 (en) Triangle loopback
US8270314B2 (en) Synthetic frame loss ratio
US8774008B2 (en) Real-time network measurement
CN102783089A (en) Method used to estimate the available bandwidth of sub-path
EP1424809B1 (en) Decentralized SLS monitoring in a differentiated service environment
EP2833574A1 (en) Method and apparatus for ethernet performance measurement
US20090310508A1 (en) Real-time network measurement
US7386613B2 (en) System and method for measuring middleware response time
EP2627040B1 (en) Method for eliminating systematical error components in a set of one-way delay measurement results for communications between two or more computing systems in a communication network, apparatus for performing the method and computer program product
JP4536026B2 (en) Network quality measuring method, measuring device and program
US8000253B2 (en) Detection program, relay device, and detecting method
JP2004007339A (en) Method and system for measuring packet communication quality
EP1687935B1 (en) Methods and system for measuring the round trip time in packet switching telecommunication networks
CN102413017B (en) Time-delay performance monitoring method and device
Cleary et al. High precision traffic measurement
Aida et al. CoMPACT-Monitor: Change-of-measure based passive/active monitoring weighted active sampling scheme to infer QoS
CN113315594A (en) Time synchronization method, device and storage medium
US20230344738A1 (en) One way latency estimation without clock synchronization
CN114980296A (en) Method, device and equipment for sending and receiving time information
CN107171887A (en) A kind of network bandwidth test method, client and network bandwidth test system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181009