CN100591173C - Method, system and equipment for measuring transmission delay - Google Patents

Method, system and equipment for measuring transmission delay Download PDF

Info

Publication number
CN100591173C
CN100591173C CN200710176792A CN200710176792A CN100591173C CN 100591173 C CN100591173 C CN 100591173C CN 200710176792 A CN200710176792 A CN 200710176792A CN 200710176792 A CN200710176792 A CN 200710176792A CN 100591173 C CN100591173 C CN 100591173C
Authority
CN
China
Prior art keywords
current device
frame
data
time
equipment
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.)
Active
Application number
CN200710176792A
Other languages
Chinese (zh)
Other versions
CN101426223A (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.)
China Academy of Telecommunications Technology CATT
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN200710176792A priority Critical patent/CN100591173C/en
Publication of CN101426223A publication Critical patent/CN101426223A/en
Application granted granted Critical
Publication of CN100591173C publication Critical patent/CN100591173C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Monitoring And Testing Of Transmission In General (AREA)

Abstract

An embodiment of the invention discloses a method for measuring transmission time delay, wherein the method comprises the following procedures: measuring the data frame synchronization time differenceand frame number difference between the transmitting interface and the receiving interface of current device; measuring the data frame synchronization time difference and frame number difference between the transmitting interface and the receiving interface of lower-level device; subtracting the frame number difference of lower-level device from the frame number difference of current device, multiplexing the obtained frame number difference with the period of data frame for obtaining the transmission data time length; subtracting the synchronization time difference of lower-level device fromthe synchronization time difference of current device, adding the obtained result with the transmission data time length and calculating an average value for obtaining the transmission time delay. Theembodiment of the invention also discloses a system and a device for measuring transmission time delay. The lower-level device loop is not required in the process for measuring the transmission timedelay with each embodiment of the invention. The data is transmitted normally according to an original mode thereby not influencing the chain circuit data transmission of the device or the chain circuit data transmission of other level.

Description

A kind of method, system and equipment of measuring propagation delay time
Technical field
The present invention relates to communication technical field, particularly relate to method, system and the equipment of measuring propagation delay time.
Background technology
The measurement of remote base station chain-circuit time delay is to set up and base station higher level REC (Radio Equipment Controller for all current radio frequency unit RE (RadioEquipment), base station controller) synchronously, could guarantee like this in the base station that all current radio frequency units can both be in that correctly the moment be received and dispatched the data of eating dishes without rice or wine.But remote base station has the multiple network topological structure, particularly connect with serial type between RE, and between the REC under the situation of indirect communication, the chain-circuit time delay of effectively accurately measuring between RE at different levels and the REC is very important for the communication performance that guarantees remote base station.
Existing a kind of method of measuring the remote base station chain-circuit time delay is by allowing data carry out winding between current RE and REC, calculates chain-circuit time delay according to the time difference of described data winding, and concrete steps are as follows:
REC sends a pulse signal and writes down delivery time;
Described pulse signal process RE winding is to REC;
The moment that described pulse signal received in the REC record;
Get divided by 2 after calculating time difference of the described delivery time and the time of reception, the time value that obtains is just as the time delay value of REC to RE.
Shown in Figure 1A and Figure 1B, be respectively single-stage time delay and cascade delay testing block diagram.Shown in Figure 1A, the count value n between counters count pulsing and reception, the counter works frequency is F, and then the link round-trip delay is n/F, and the one way time delay is n/F/2.Shown in Fig. 1 (b), for the cascade RE of indirect connection, latency measurement is also initiated by the REC end, and intergrade RE1 plays the effect of relaying in measurement.The time delay of repeat circuit is fixed, and also need to count in the time delay of link consumption, so the computing formula of RE2 one way time delay also is n/F/2.
The inventor finds that there are the following problems at least in the prior art:
When carrying out latency measurement, need carry out the measurement data winding to RE, and the measurement data winding will interrupt normal transfer of data, therefore can not realize not influencing under the situation that normal data transmits and carry out real-time latency measurement.Particularly at REC when at interval some RE realize that current REn to be measured carried out winding setting, latency measurement operation, the participation of RE at different levels in the middle of needing, each level all needs to interrupt normal transfer of data, causes technical scheme to realize that difficulty is big, complicated operation, the stability of a system is poor.
Summary of the invention
In view of this, the purpose of the one or more embodiment of the present invention is to provide a kind of method, system and equipment of measuring propagation delay time, above-mentioned when carrying out latency measurement to solve, need carry out the measurement data winding to RE, therefore and the measurement data winding will interrupt normal transfer of data, can not realize not influencing the technical problem of carrying out real-time latency measurement under the situation that normal data transmits.
For addressing the above problem, the embodiment of the invention provides a kind of method of measuring propagation delay time, comprises step:
The transmit port of measurement current device and a data-frame sync time difference and the frame number of receiving port are poor;
The receiving port of measurement subordinate equipment and a data-frame sync time difference and the frame number of transmit port are poor;
The frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
Synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
A kind of system of measuring propagation delay time also is provided, has comprised:
Current device synchronous head time difference measurements equipment is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the transmit port and the receiving port of current device;
Subordinate equipment synchronous head time difference measurements equipment is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the receiving port and the transmit port of subordinate equipment;
Transmission data duration calculation equipment is used for: the frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
The propagation delay time measuring equipment is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
A kind of equipment of measuring propagation delay time also is provided, has comprised:
Current device synchronous head time difference measurements unit is used for: the transmit port of measurement current device and a data-frame sync time difference and the frame number of receiving port are poor;
Subordinate equipment synchronous head time difference receiving element is used for: the receiving port of reception subordinate equipment and a data-frame sync time difference and the frame number of transmit port are poor;
Transmission data duration calculation unit is used for: the frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
The propagation delay time measuring unit is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
Compared with prior art, the embodiment of the invention has the following advantages:
The method of measurement that the embodiment of the invention provides, system and equipment do not need the subordinate equipment winding, but utilize the structure of base station data frame itself to finish measuring process in the process of measuring propagation delay time.And, owing to be the data in the transmission that utilizes, not that independent transmitting and receiving data is measured, so when between equipment at different levels, carrying out latency measurement, data are pressed original mode normal transmission, thereby can influence itself or the transmission of other link data at different levels.And, only between adjacent two-stage equipment, carry out during measurement, with other device independent in the system, improved measuring stability.
Description of drawings
Shown in Figure 1A, be the single-stage delay testing schematic diagram of the method for measurement propagation delay time of the present invention;
Shown in Figure 1B, be the cascade delay testing schematic diagram of the present invention's method of measuring propagation delay time;
Shown in Figure 2, be the flow chart of first embodiment of the method for measurement propagation delay time of the present invention;
Shown in Figure 3, be the annexation schematic diagram of REC and each RE among the present invention;
Shown in Figure 4, be latency measurement schematic diagram between adjacent R E among the present invention;
Shown in Figure 5, be a kind of remote base station uplink downlink data frame structure schematic diagram;
Shown in Figure 6, be the flow chart of another embodiment of the method for measurement propagation delay time of the present invention;
Shown in Figure 7, be the block diagram of an embodiment of the system of measurement propagation delay time of the present invention;
Shown in Figure 8, be the block diagram of an embodiment of the equipment of measurement propagation delay time of the present invention.
Embodiment
Below in conjunction with accompanying drawing the embodiment of the embodiment of the invention is done further and to be elaborated.
As shown in Figure 2, be the flow chart of first embodiment of the method for measurement propagation delay time of the present invention, comprise step:
A data-frame sync time difference and the frame number of S201, the transmit port of measuring current device and receiving port are poor; So-called current device is relative with the difference of subordinate equipment, and in the system that is made up of several equipment, with regard to downlink data, the data whereabouts equipment of current device is its subordinate equipment, and is with regard to upstream data, just in time opposite.
A data-frame sync time difference and the frame number of S202, the receiving port of measuring subordinate equipment and transmit port are poor;
S203, that the frame number difference of described current device is deducted the frame number of described higher level equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
S204, synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate current device, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
The method of measurement of utilizing the foregoing description to provide does not need the subordinate equipment winding, but utilizes the structure of base station data frame itself to finish measuring process in the process of measuring propagation delay time.And, owing to be the data in the transmission that utilizes, not that independent transmitting and receiving data is measured, so when between equipment at different levels, carrying out latency measurement, data are pressed original mode normal transmission, thereby can influence itself or the transmission of other link data at different levels.And, only between adjacent two-stage equipment, carry out during measurement, with other device independent in the system, improved measuring stability.Certainly, above-mentioned method of averaging can be divided by 2.
Wherein, in the above-described embodiments,, can also comprise step if current device itself has intrinsic time delay:
With described intrinsic time delay and described propagation delay time addition.
After the intrinsic time delay and described propagation delay time addition with described higher level equipment, the result who measures is the propagation delay time between more accurate higher level equipment and current device.
Wherein, in the above-described embodiments, the transmit port of described measurement current device and the data-frame sync of a receiving port time difference step can be specially:
When described subordinate equipment sent certain Frame, the sequence number of described Frame was N at described current device, began counting after the counter O reset;
When receiving that in described current device the last time described subordinate equipment sends certain Frame, the sequence number of described Frame is J, and described counter stops counting;
With the cycle that the count value of described counter multiply by described counter, obtain a data-frame sync time difference of the transmit port and the receiving port of described current device.
Utilize two nearest synchronous head features of the Frame that transmit port and receiving port send and receive, calculate time difference of described two synchronous heads by counter, can obtain a data-frame sync time difference of the transmit port and the receiving port of current device.
Wherein, in the above-described embodiments, the receiving port of described measurement subordinate equipment and the data-frame sync of a transmit port time difference step can be specially:
When subordinate equipment was received certain Frame of current device transmission, the sequence number of described Frame was N, begins counting after the counter O reset;
Described subordinate equipment the last time when described current device sends certain Frame, the sequence number of described Frame is M, described counter stop the counting;
With the cycle that the count value of described counter multiply by described counter, obtain a data-frame sync time difference of the receiving port and the transmit port of described current device.
Wherein, in the above-described embodiments, in order to repeat latency measurement, thereby carry out more accurately can also comprising step synchronously according to some cycles:
When the default time interval arrives, repeat each step in the method for described measurement propagation delay time.
Wherein, in the above-described embodiments, the cascade system for usually using in practice need superpose for the time delay of each grade equipment, then can also comprise step:
If described current device and some higher level equipments are formed cascade system, then described subordinate equipment with the propagation delay time of higher level's higher level equipment is:
With the propagation delay time between described current device and its higher level equipment, and the propagation delay time addition between described current device and described subordinate equipment.
Wherein, in the above-described embodiments, in the practice, consider that each equipment may all can produce intrinsic time delay, that is:
If each cascade device itself has intrinsic time delay, can also comprise step:
Intrinsic time delay and described propagation delay time addition with described each cascade device.
As shown in Figure 3; be the annexation figure of REC and RE among the present invention; both wait long optical fibers or cable to connect by two; can certainly adopt other modes to connect; this does not influence the realization of technical scheme of the present invention; for the those skilled in the art, this variation does not exceed protection scope of the present invention.Each circle among the figure is represented the node that data send or receive respectively, and REC has only a category node, i.e. second line of a couplet node M (REC is defined as the second line of a couplet as main end with being connected of RE); RE has two category nodes: first line of a couplet node S (point of close REC on the closure) and second line of a couplet node M (directly be connected the current RE that connects, and be connected with REC by the S node).The numbering principle of node is among the figure: what REC held is numbered 0, and RE merchant is the residing series connection progression of this RE; Tx -(n)The data sending terminal mouth of expression node n, Rx -(n)The Data Receiving port of expression node n.
Measure the chain-circuit time delay between remote radio frequency equipment RE and base stations control end REC, just need to measure adjacent M node and the internodal chain-circuit time delay of S.As shown in Figure 4, latency measurement schematic diagram between adjacent R E among the present invention illustrates a kind of concrete method of measurement provided by the invention with detailed flow process below.
Downlink data is transferred to current RE4 by transmission medium from higher level equipment RE3, can produce time delay, the value T of this time delay between node M 3 and S4 Cd-34Cable time-delay cable-delay is represented in expression, cd subscript, and the method for measurement time delay value of the present invention is by using the synchronous head in the link transmission data frame to realize.As shown in Figure 5, be typical remote base station uplink downlink data frame structure schematic diagram.Each Frame is made up of periodic synchronous head (comma), frame number (n) and data (data).
Pass through the time delay T of transmission medium by the downlink data of higher level equipment RE3 transmission Cable-delayThe back arrives current device RE4, when current device RE4 receives from the Frame of higher level equipment RE3, sends the uplink data frames that is relatively independent of downlink data simultaneously, and uplink data frames is through chain-circuit time delay T Cable-delayThe back arrives higher level equipment RE3.Because the transmission link two ends lay respectively at different equipment both sides, the present invention adopts the method for measuring the synchronous head information of receiving and dispatching interface everywhere at the two ends of transmission link respectively to measure described time delay value.Comprise the steps:
In the present embodiment, the operating frequency of system is Fs, clock cycle T s=1/F sT fBe the time cycle of Frame.
S601, RE4 are when receiving the synchronous head comma of certain frame (supposing that this frame number is n) that RE3 sends, with a counter O reset and begin counting;
S602, when the last RE4 sends to the synchronous head of frame (supposing that this frame number is m) of RE3, described counter stops counting;
S603, multiply by counter clock period T s according to the count value of described counter and just obtained a RE4 termination receiving end mouth and a transmit port data-frame sync time difference T Srx-stxSimultaneously, according to described Frame sequence number, obtained the frame number poor (n-m) of RE4 receiving port and transmit port, the frame number difference is a signed number.Certainly, in practice, for the those skilled in the art, can understand that step S601 also can not adopt the method for zero clearing herein.As long as can access the time span of all Frames of experience around here.Its final purpose is to obtain a RE4 termination receiving end mouth and a transmit port data-frame sync time difference T Stx-stx
The data-frame sync time difference T that S604, RE4 measure local terminal Srx-stxBe sent to RE3 with the frame number difference by up data link;
When S605, RE3 are the synchronous head comma of n frame in the transmit frame sequence number, with a counter O reset and begin the counting; For the those skilled in the art, in practice, even the synchronous head frame number of the Frame that current RE3 sends is not n, we can look its sequence number is n.Because this sequence number can be defined by user oneself in practice;
S606, when receiving the synchronous head of the frame that RE4 sends (suppose this frame number for be j) in the last time, described counter stops counting; Similar with the frame number explanation among the step S605, as long as the process of the difference of the frame number among step S605 and the step S606 is calculated, the difference that can draw between a RE3 transmission data-frame sync frame number (n) and the receiving data frames synchronous head frame number (j) is n-j.
S607, multiply by counter clock period T s according to the count value of described counter and just obtained a RE3 end transmit port and a receiving port data-frame sync time difference T Mtx-mrxSimultaneously, according to described Frame sequence number, obtained the frame number poor (n-j) of RE3 transmit port and receiving port, the frame number difference is a signed number.Certainly, in practice, for the those skilled in the art, can understand that step S605 also can not adopt the method for zero clearing herein.As long as can access the time span of all Frames of experience around here.Its final purpose is to obtain a RE4 termination receiving end mouth and a transmit port data-frame sync time difference T Srx-stxFor the technology in affiliated field, can understand that obviously the order of step S605-S606 and step S601-S602 also can be such not according to what show in the present embodiment.
S608, according to the result of above-mentioned steps, measuring and calculating obtains propagation delay time.Concrete measuring and calculating process and principle thereof are as follows:
As seen from Figure 5, have following equation to set up:
T mtx-mrx+(n-j)×T f=T cable-delay+T srx-stx+T cable-delay+(n-m)×T f (1)
After following formula carried out conversion, can obtain:
T cable-delay=(T mtx-mrx+(n-j)×T f-T srx-stx-(n-m)×T f)/2
=(T mtx-mrx-T srx-stx+(m-j)×T f)/2 (2)
That is to say that RE3 receives the T that RE4 sends Srx-stx(n-m), the T that measures with local terminal Mtx-mrx(n-j) together, use top formula to calculate the time delay value T that can obtain link transmission Cable-delayBe T shown in Fig. 3 Cd-34
The method that provides based on the foregoing description,, in the whole remote base station, the those skilled in the art can clearly obtain following technical scheme:
For the system that is made up of REC and RE at different levels, Time delay measurement is can abide by the principle of measuring step by step to carry out the i.e. at first time-delay between measure R EC and RE1.Consider possible equipment delay T again c, can obtain following result so:
Draw T according to method mentioned above Cd-01, calculate the actual time delay value of RE1 by REC:
T d1=T cd-01+T c0 (3)
T C (n)Be the inherent delay offset (T between inner M node transmitting terminal of equipment REn and time reference C0Transmitting terminal and time reference T for REC ReferenceBetween the inherent delay offset; For RE, time reference is S node receiving terminal, i.e. T C (n)Be the M node transmitting terminal of equipment REn and the inherent delay offset of time reference), only relevant with the processing of hardware device itself, be a fixed value for fixing equipment.REC is with T D1Be sent to RE1 by down link.RE1 according to receive in the REC data structure itself comprise time reference information (frame head of the specific frame number correspondence of certain of arranging in the data frame structure) and the chain-circuit time delay value of receiving is finished synchronously.
In the time time-delay of measure R E2, at first measure M1 node and the internodal delay value T of S2 by RE1 Cd-12, calculate the time delay value of RE2 according to formula 4:
T d2=T d1+T cd-12+T c1 (4)
By RE1 with T D2Be sent to RE2 by down link.RE2 also according to this delay value finish with RE1 end synchronously owing to be synchronous between RE1 and REC, so also possess synchronized relation between RE2 and REC.
And the like, the measurement result of n level RE is:
T dn=T d(n-1)+T cd-(n-1)n+T c(n-1) (5)
This method is when carrying out latency measurement, measure step by step, the emphasis of measuring is the delay value between M node and the S node, and this method can guarantee the consistency that serial type cascade measurements at different levels are realized, and the inherent delay that adds each section has respectively also increased the precision of measurement.
Wherein, in practice, as preferred embodiment, method of the present invention can periodically be carried out measuring operation in the running of base station, promptly when predetermined interval arrives, repeat described step.In the hope of can guarantee RE can keep constantly with REC synchronously and be communicated with.
The method of measurement that the embodiment of the invention provides does not need RE end winding, but utilizes the structure of base station data frame itself to finish measuring process.And, owing to be the data in the transmission that utilizes, not that independent transmitting and receiving data is measured, so the time at RE at different levels and REC or RE and RE measurements, data are pressed original mode normal transmission, thereby can influence itself or the transmission of other link data at different levels.
As shown in Figure 7, be the embodiment of the system of measurement propagation delay time of the present invention, comprising:
Current device synchronous head time difference measurements equipment 701 is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the transmit port and the receiving port of current device;
Subordinate equipment synchronous head time difference measurements equipment 702 is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the receiving port and the transmit port of subordinate equipment;
Transmission data duration calculation equipment 703 is used for: the frame number that the frame number difference of described current device is deducted described higher level equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
Propagation delay time measuring equipment 704 is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
Wherein, in the above-described embodiments, can also comprise:
Intrinsic time delay increases equipment, is used for:
If current device itself has intrinsic time delay, with described intrinsic time delay and described propagation delay time addition.
Wherein, in the above-described embodiments, can also comprise:
The cycle actuating equipment is used for: when the default time interval arrives, instruct the system of described measurement propagation delay time to repeat the propagation delay time measurement function.
Wherein, in the above-described embodiments, can also comprise:
Multilevel device time delay superimpose device is used for: if described current device and some higher level equipments are formed cascade device, and with the propagation delay time between described higher level equipment and its higher level equipment, and the propagation delay time addition between described higher level equipment and described current device.
Wherein, in the above-described embodiments, can also comprise:
Intrinsic time delay superimpose device is used for: if each cascade device itself has intrinsic time delay, with the intrinsic time delay and the described propagation delay time addition of described each cascade device.As shown in Figure 8, be the embodiment of the equipment of measurement propagation delay time of the present invention, comprising:
Current device synchronous head time difference measurements unit 801 is used for: the transmit port of measurement current device and a data-frame sync time difference and the frame number of receiving port are poor;
Subordinate equipment synchronous head time difference receiving element 802 is used for: the receiving port of reception subordinate equipment and a data-frame sync time difference and the frame number of transmit port are poor;
Transmission data duration calculation unit 803 is used for: the frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
Propagation delay time measuring unit 804 is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
Wherein, in the above-described embodiments, current device synchronous head time difference measurements unit is specially:
Current device data transmit-receive trigger element is used for:
When current device sent certain Frame, the sequence number of described Frame was N, generated clear command and transmission.
When certain Frame of the last reception of described current device subordinate equipment, the sequence number of described Frame is J, generates halt instruction and transmission;
Counter, be used for: begin counting after receiving described clear command, stop counting after receiving described halt instruction,, obtain a data-frame sync time difference of the transmit port and the receiving port of described current device with the cycle that the count value of described counter multiply by described counter.
With regard to each mthods, systems and devices of the present invention, because the present invention adopts the mode of measuring step by step, measure first order RE by REC, all the other RE are all finished by its upper level RE, adjacent two-stage equipment has been formed higher level equipment and current device respectively, and higher level equipment all can measure the time delay of the equipment of its adjacent next stage.Such flow process is simple relatively, does not also need REC that the important information of latency measurement is striden level transmission, and the consistency and the stability of realization all increase.
Simultaneously, each embodiment of the present invention utilizes the data frame structure characteristics of remote base station itself to design.This Frame is made up of the frame that periodically has frame number, when using this Frame to carry out latency measurement, does not need the RE end to carry out the data winding, can measure when the link data proper communication, makes measurement periodically to carry out.Under the situation that does not influence RE work, measure at any time, eliminate the variation that environment or other conditions change the back time delay immediately, guarantee that synchronization accuracy is reliable and stable.For the those skilled in the art, the time delay between every equipment that possesses this kind data frame structure all can adopt each embodiment of the present invention to reach the measurement purpose.This variation does not exceed protection scope of the present invention.
With regard to the process of setting up synchronously of multistage remote base station, each embodiment of the present invention has the meaning and the significant advantage of particular importance.Because do not influence the data transmit-receive of the corresponding levels and the RE of subordinate, improved the reliability of whole system in the synchro measure process.Calculation process can realize by processor or programmable logic device such as FPGA.Under the situation of the system that multilevel device is formed, because latency measurement is to carry out step by step, the Time delay measurement classification is finished, and the latency measurement operation of every grade of RE is only relevant with adjacent equipment on the topology, with spaced device independent on the topological diagram, help realizing latency measurement.Further, because latency measurement is only relevant with adjacent equipment on the topology, and latency measurement is initiated by the equipment that is positioned at prime in the neighbouring device, and this equipment can be judged the operating state of subordinate equipment by the reception of monitoring link, carries out surveying work in good time.The latency measurement process does not need RE to carry out winding, does not influence the normal operating conditions of equipment but the cycle carries out.
Through the above description of the embodiments, the those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better execution mode under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
Above-described embodiment of the present invention does not constitute the qualification to protection range of the present invention.Any modification of being done within the spirit and principles in the present invention, be equal to and replace and improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, a kind of method of measuring propagation delay time is characterized in that, comprises step:
The transmit port of measurement current device and a data-frame sync time difference and the frame number of receiving port are poor;
The receiving port of measurement subordinate equipment and a data-frame sync time difference and the frame number of transmit port are poor;
The frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
Synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
2, the method for measurement propagation delay time as claimed in claim 1 is characterized in that, if current device itself has intrinsic time delay, also comprises step:
With described intrinsic time delay and described propagation delay time addition.
3, the method for measurement propagation delay time as claimed in claim 1 is characterized in that, the transmit port of described measurement current device and the data-frame sync of a receiving port time difference step is specially:
When described subordinate equipment sent certain Frame, the sequence number of described Frame was N at described current device, began counting after the counter O reset;
When receiving that in described current device the last time described subordinate equipment sends certain Frame, the sequence number of described Frame is J, and described counter stops counting;
With the cycle that the count value of described counter multiply by described counter, obtain a data-frame sync time difference of the transmit port and the receiving port of described current device.
4, the method for measurement propagation delay time as claimed in claim 1 is characterized in that, the receiving port of described measurement subordinate equipment and the data-frame sync of a transmit port time difference step is specially:
When subordinate equipment was received certain Frame of current device transmission, the sequence number of described Frame was N, begins counting after the counter O reset;
Described subordinate equipment the last time when described current device sends certain Frame, the sequence number of described Frame is M, described counter stop the counting;
With the cycle that the count value of described counter multiply by described counter, obtain a data-frame sync time difference of the receiving port and the transmit port of described subordinate equipment.
5, the method for measurement propagation delay time as claimed in claim 1 is characterized in that,
When the default time interval arrives, repeat each step in the method for described measurement propagation delay time.
6, the method for measurement propagation delay time as claimed in claim 1 is characterized in that, also comprises step:
If described current device and some higher level equipments are formed cascade system, then described subordinate equipment with the propagation delay time of higher level's higher level equipment is:
With the propagation delay time between described current device and its higher level's higher level equipment, and the propagation delay time addition between described current device and described subordinate equipment.
7, a kind of system of measuring propagation delay time is characterized in that, comprising:
Current device synchronous head time difference measurements equipment is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the transmit port and the receiving port of current device;
Subordinate equipment synchronous head time difference measurements equipment is used for: a data-frame sync time difference and the frame number difference and the transmission of measuring the receiving port and the transmit port of subordinate equipment;
Transmission data duration calculation equipment is used for: the frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
The propagation delay time measuring equipment is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
8, the system of measurement propagation delay time as claimed in claim 7 is characterized in that, also comprises:
Intrinsic time delay increases equipment, is used for:
If current device itself has intrinsic time delay, with described intrinsic time delay and described propagation delay time addition.
9, the system of measurement propagation delay time as claimed in claim 7 is characterized in that, also comprises:
The cycle actuating equipment is used for: when the default time interval arrives, instruct the system of described measurement propagation delay time to repeat the propagation delay time measurement function.
10, the system of measurement propagation delay time as claimed in claim 9 is characterized in that, also comprises:
Multilevel device time delay superimpose device, be used for: if described current device and some higher level equipments are formed cascade device, with the propagation delay time between described current device and its higher level's higher level equipment, and the propagation delay time addition between described current device and described subordinate equipment.
11, a kind of equipment of measuring propagation delay time is characterized in that, comprising:
Current device synchronous head time difference measurements unit is used for: the transmit port of measurement current device and a data-frame sync time difference and the frame number of receiving port are poor;
Subordinate equipment synchronous head time difference receiving element is used for: the receiving port of reception subordinate equipment and a data-frame sync time difference and the frame number of transmit port are poor;
Transmission data duration calculation unit is used for: the frame number that the frame number difference of described current device is deducted described subordinate equipment is poor, and the cycle of the difference of the frame number that obtains be multiply by described data-frame sync head obtains transmitting the data duration;
The propagation delay time measuring unit is used for: synchronous head time difference of described current device is deducted synchronous head time difference of described subordinate equipment, with the result that obtains and described transmission data duration is got and, average then, obtain propagation delay time.
12, the equipment of measurement propagation delay time as claimed in claim 11 is characterized in that, current device synchronous head time difference measurements unit is specially:
Current device data transmit-receive trigger element is used for:
When current device sent certain Frame, the sequence number of described Frame was N, generated clear command and transmission;
When certain Frame of the last reception of described current device subordinate equipment, the sequence number of described Frame is J, generates halt instruction and transmission;
Counter, be used for: begin counting after receiving described clear command, stop counting after receiving described halt instruction,, obtain a data-frame sync time difference of the transmit port and the receiving port of described current device with the cycle that the count value of described counter multiply by described counter.
CN200710176792A 2007-11-02 2007-11-02 Method, system and equipment for measuring transmission delay Active CN100591173C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710176792A CN100591173C (en) 2007-11-02 2007-11-02 Method, system and equipment for measuring transmission delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710176792A CN100591173C (en) 2007-11-02 2007-11-02 Method, system and equipment for measuring transmission delay

Publications (2)

Publication Number Publication Date
CN101426223A CN101426223A (en) 2009-05-06
CN100591173C true CN100591173C (en) 2010-02-17

Family

ID=40616508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710176792A Active CN100591173C (en) 2007-11-02 2007-11-02 Method, system and equipment for measuring transmission delay

Country Status (1)

Country Link
CN (1) CN100591173C (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546344B (en) * 2011-05-26 2017-12-26 中兴通讯股份有限公司 link switching method and device
CN104717014A (en) 2013-12-13 2015-06-17 中兴通讯股份有限公司 Method for measuring transmission delay of optical transport network equipment and source OTA equipment
CN104749561B (en) * 2015-03-10 2017-05-31 中国电子科技集团公司第十研究所 The method of long time delay simulation source high accuracy real time calibration
CN105743570B (en) * 2016-01-27 2019-05-24 南京典格通信科技有限公司 A kind of method and device of measurement and the digital optical fiber distribution system time delay of correction
CN110634488B (en) * 2019-10-08 2022-04-15 北京小米智能科技有限公司 Information processing method, device and system and storage medium
CN111654690A (en) * 2020-05-06 2020-09-11 北京百度网讯科技有限公司 Live video delay time determination method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710908A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for two-directionally transfering time information based on apparatus interconnection protocol group
CN1728600A (en) * 2004-07-26 2006-02-01 华为技术有限公司 Method for implementing synchronous transmission for base station
CN1819579A (en) * 2005-12-15 2006-08-16 中国人民解放军国防科学技术大学 Open loop time delivering method
CN1996897A (en) * 2005-12-28 2007-07-11 中兴通讯股份有限公司 A method for real time detection of the network transfer delay in the RTP

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1728600A (en) * 2004-07-26 2006-02-01 华为技术有限公司 Method for implementing synchronous transmission for base station
CN1710908A (en) * 2005-07-14 2005-12-21 广东省电信有限公司研究院 Method for two-directionally transfering time information based on apparatus interconnection protocol group
CN1819579A (en) * 2005-12-15 2006-08-16 中国人民解放军国防科学技术大学 Open loop time delivering method
CN1996897A (en) * 2005-12-28 2007-07-11 中兴通讯股份有限公司 A method for real time detection of the network transfer delay in the RTP

Also Published As

Publication number Publication date
CN101426223A (en) 2009-05-06

Similar Documents

Publication Publication Date Title
CN100591173C (en) Method, system and equipment for measuring transmission delay
CN103201971B (en) For synchronously have the packet switching network that polymerization between node connects master clock and from the method for clock and the synchronizer that is associated
CN102136900B (en) Time synchronization method for passive optical network, device and system
KR101290643B1 (en) Method and system for bearing time synchronization protocol in optical transport network
CN102075244B (en) Method for diagnosing constant optical network units in Ethernet passive optical network
CN108650050A (en) A kind of distributed network clock synchronous method
CN104850526A (en) Method for time synchronization in dynamically reconfigurable high-speed serial bus
US8718213B2 (en) Clock synchronization method, apparatus, and system
CN110858811B (en) Method for measuring time delay and network equipment
CN109818701A (en) The high-accuracy clock synchronization method and system of communication equipment
KR20160110455A (en) Optical burst tranport network, node, transmission method and computer storage medium
CN108683472A (en) A kind of clock synchronizing method based on Time delay measurement
KR20030062017A (en) Method and apparatus for compensating fiber optic delay in synchronous mobile communication system using synchronous digital hierarchy
CN112751639B (en) Time synchronization method, communication equipment and system
CN110708206A (en) Method and equipment for measuring air interface time delay of base station
CN109995604A (en) A kind of flexible ethernet delay measurement method and relevant device
US6430241B1 (en) Method and configuration for synchronizing system units
US7447238B2 (en) Method for compensating for internal delays within each node and transmission delays between the nodes
CN103905933A (en) Time synchronization method and system for Ethernet passive optical network and related device
JP2008182549A (en) Communication system, terminating device used for the same, and delay measuring method
US11343007B2 (en) Time synchronization method and device
CN101630971B (en) Method and system for measuring delay dynamically by optical fiber
CN102201851A (en) Remote clock system, equipment and information transmission method
KR101742627B1 (en) SFP apparatus having time synchronization function and time synchronization method for network system using the same
CN104468228A (en) OAM message transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: INST OF TELECOMMUNICATION SCIENCE AND TECHNOLGOY

Free format text: FORMER OWNER: DATANG MOBILE COMMUNICATION EQUIPMENT CO., LTD.

Effective date: 20110523

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 NO. 29, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING TO: 100083 NO. 40, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING

TR01 Transfer of patent right

Effective date of registration: 20110523

Address after: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100083 Haidian District, Xueyuan Road, No. 29,

Patentee before: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

CP01 Change in the name or title of a patent holder

Address after: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee after: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

Address before: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20210608

Address after: 100085 1st floor, building 1, yard 5, Shangdi East Road, Haidian District, Beijing

Patentee after: DATANG MOBILE COMMUNICATIONS EQUIPMENT Co.,Ltd.

Address before: 100083 No. 40, Haidian District, Beijing, Xueyuan Road

Patentee before: CHINA ACADEMY OF TELECOMMUNICATIONS TECHNOLOGY

TR01 Transfer of patent right