CN104067653A - Method, system and relative apparatus for measuring path delay - Google Patents

Method, system and relative apparatus for measuring path delay Download PDF

Info

Publication number
CN104067653A
CN104067653A CN201280002414.7A CN201280002414A CN104067653A CN 104067653 A CN104067653 A CN 104067653A CN 201280002414 A CN201280002414 A CN 201280002414A CN 104067653 A CN104067653 A CN 104067653A
Authority
CN
China
Prior art keywords
rec
moment
measured
delay
bag
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
CN201280002414.7A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104067653A publication Critical patent/CN104067653A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种路径时延测量方法、系统以及相关装置。其中路径时延测量方法包括:无线设备控制器REC向已进行过时间同步的待测无线设备RE发送时延测量包,所述时延测量包中携带有所述REC发送所述时延测量包的第一时刻,以及所述REC到所述待测RE之间的路由信息;所述REC接收所述待测RE反馈的时延响应包,所述时延响应包中携带有所述待测RE接收到所述时延测量包的第二时刻;所述REC根据所述第一时刻以及所述第二时刻确定所述REC与所述待测RE之间的下行路径时延;所述REC与所述待测RE之间通过传送承载网络互连。还提供了一种路径时延测量系统以及相关装置。

A path delay measurement method, system and related device. The path delay measurement method includes: the radio equipment controller REC sends a delay measurement packet to the time-synchronized wireless equipment RE to be tested, and the delay measurement packet carries the delay measurement packet sent by the REC. and the routing information between the REC and the RE to be tested; the REC receives the delay response packet fed back by the RE to be tested, and the delay response packet carries the The second moment when the RE receives the delay measurement packet; the REC determines the downlink path delay between the REC and the RE under test according to the first moment and the second moment; the REC It is interconnected with the RE under test through a transmission bearer network. Also provided are a path delay measurement system and related devices.

Description

一种路径时延测量方法、 系统以及相关装置 Method, system and related device for measuring path delay

技术领域 technical field

本发明实施例涉及无线通信领域, 尤其涉及一种路径时延测量方法、 系统 以及相关装置。 Embodiments of the present invention relate to the field of wireless communications, and in particular to a path delay measurement method, system and related devices.

背景技术 Background technique

无线基站技术不断发展, 使得无线设备控制器 (REC, Radio Equipment Controller )与无线设备 ( RE, Radio Equipment )之间的交互越来越频繁。 The continuous development of the wireless base station technology makes the interaction between the wireless equipment controller (REC, Radio Equipment Controller) and the wireless equipment (RE, Radio Equipment) more and more frequent.

由于各 RE的空口发送数据时需要在时间上对齐,而 REC到各个 RE的路 径时延不同,所以为了保证数据的正常传输, REC就需要知道该 REC到各 RE 之间的路径延时。 Since the air interface of each RE needs to be aligned in time when sending data, and the path delay from the REC to each RE is different, so in order to ensure normal data transmission, the REC needs to know the path delay between the REC and each RE.

现有技术中的 REC与 RE通常是通过光纤或电缆进行直接连接,所以 REC 与 RE间的路径时延主要为光纤传输时延或电缆传输时延, 在这种情况下, 直 接测试相应物理链路 (光纤或电缆)上的传输时延即可获知 REC到各 RE之 间的路径延时。 In the prior art, REC and RE are usually directly connected through optical fiber or cable, so the path delay between REC and RE is mainly optical fiber transmission delay or cable transmission delay. In this case, directly test the corresponding physical link The path delay between the REC and each RE can be known by the transmission delay on the path (optical fiber or cable).

随着基带处理单元(BBU, Based Band Unit ) 资源池的兴起, REC与 RE 由原先的光纤或电缆直连逐渐演进为通过传送^载网络互连,例如分组传输网 With the rise of the baseband processing unit (BBU, Based Band Unit) resource pool, REC and RE have gradually evolved from the original direct connection of optical fiber or cable to interconnection through a transport network, such as a packet transmission network.

( PTN, Packet Transport Network ), 或光传输网 ( OTN, Optical Transport Network )等。 ( PTN, Packet Transport Network ), or Optical Transport Network ( OTN, Optical Transport Network ), etc.

由于传送承载网络自身的复杂性, 和网络状况的多变性,使得 REC与 RE 间的路径时延不再仅仅取决于物理链路上的传输时延,所以现有技术中的路径 时延测量方法已经不再适用于基于传送承载网络互连的 REC与 RE之间的路 径时延的测量。 Due to the complexity of the transport bearer network itself and the variability of network conditions, the path delay between REC and RE no longer depends only on the transmission delay on the physical link, so the path delay measurement method in the prior art It is no longer applicable to the measurement of the path delay between RECs and REs interconnected based on transport bearer networks.

发明内容 Contents of the invention

本发明实施例提供了一种路径时延测量方法、 系统以及相关装置, 能够准 确的对基于传送 7?载网络互连的 REC与 RE之间的路径时延进行测量。 Embodiments of the present invention provide a path delay measurement method, system and related devices, which can accurately measure the path delay between RECs and REs based on transport network interconnection.

有鉴于此, 本发明第一方面提供一种路径时延测量方法, 包括: In view of this, the first aspect of the present invention provides a path delay measurement method, including:

无线设备控制器 REC向已进行过时间同步的待测无线设备 RE发送时延 测量包,所述时延测量包中携带有所述 REC发送所述时延测量包的第一时刻 , 以及所述 REC到所述待测 RE之间的路由信息; 所述 REC接收所述待测 RE反馈的时延响应包, 所述时延响应包中携带 有所述待测 RE接收到所述时延测量包的第二时刻; The radio device controller REC sends a delay measurement packet to the time-synchronized wireless device RE to be tested, where the delay measurement packet carries the first moment when the REC sends the delay measurement packet, and the Routing information between the REC and the RE to be tested; The REC receives the delay response packet fed back by the RE to be tested, and the delay response packet carries a second moment when the RE to be tested receives the delay measurement packet;

所述 REC根据所述第一时刻以及所述第二时刻确定所述 REC与所述待测 RE之间的下行路径时延; The REC determines the downlink path delay between the REC and the RE under test according to the first moment and the second moment;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第一方面, 在第一种可能的实现方式中, 所述 REC根据所述第一时 刻以及所述第二时刻确定所述 REC与所述待测 RE之间的下行路径时延包括: 所述 REC将所述第二时刻与所述第一时刻之间的差值作为所述 REC与所 述待测 RE之间的下行路径时延; With reference to the first aspect, in a first possible implementation manner, the REC determining the downlink path delay between the REC and the RE under test according to the first moment and the second moment includes: The REC uses the difference between the second moment and the first moment as the downlink path delay between the REC and the RE to be tested;

或, or,

所述 REC将所述第二时刻与所述第一时刻之间的差值加上预置的时延冗 余量之后的数值作为所述 REC与所述待测 RE之间的下行路径时延。 The REC uses the difference between the second moment and the first moment plus a preset delay margin as the downlink path delay between the REC and the RE to be tested .

结合第一方面, 在第二种可能的实现方式中, 所述时延响应包中还携带有 所述待测 RE发送所述时延响应包的第三时刻; With reference to the first aspect, in a second possible implementation manner, the delay response packet also carries a third moment when the RE under test sends the delay response packet;

所述方法还包括: The method also includes:

所述 REC根据所述第三时刻以及第四时刻确定所述 REC与所述待测 RE 之间的上行路径时延; The REC determines the uplink path delay between the REC and the RE under test according to the third moment and the fourth moment;

所述第四时刻为所述 REC接收到所述时延测量包的时刻。 The fourth moment is the moment when the REC receives the delay measurement packet.

结合第一方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述 REC根据所述第三时刻以及第四时刻确定所述 REC与所述待测 RE之间的 上行路径时延包括: With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the REC determines the uplink between the REC and the RE under test according to the third moment and the fourth moment Path delay includes:

所述 REC将所述第四时刻与所述第三时刻之间的差值作为所述 REC与所 述待测 RE之间的上行路径时延; The REC uses the difference between the fourth moment and the third moment as the uplink path delay between the REC and the RE under test;

或, or,

所述 REC将所述第四时刻与所述第三时刻之间的差值加上预置的时延冗 余量之后的数值作为所述 REC与所述待测 RE之间的上行路径时延。 The REC uses the difference between the fourth moment and the third moment plus a preset delay margin as the uplink path delay between the REC and the RE to be tested .

结合第一方面, 在第四种可能的实现方式中, 所述方法还包括: With reference to the first aspect, in a fourth possible implementation manner, the method further includes:

在预置的周期内, 通过所述时延测量包和所述时延响应包对所述 REC与 所述待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量,得到多个 备选上行路径时延和 /或多个备选下行路径时延; Within a preset period, performing multiple measurements on the uplink path delay and/or downlink path delay between the REC and the RE to be tested by using the delay measurement packet and the delay response packet, get multiple Alternative uplink path delays and/or multiple alternative downlink path delays;

将所述备选上行路径时延中的最大值或平均值作为所述 REC与所述待测 RE之间的上行路径时延, 和 /或, 将所述备选下行路径时延中的最大值或平均 值作为所述 REC与所述待测 RE之间的下行路径时延。 Taking the maximum or average value of the candidate uplink path delays as the uplink path delay between the REC and the RE to be tested, and/or, taking the maximum of the candidate downlink path delays The value or average value is used as the downlink path delay between the REC and the RE under test.

本发明第二方面提供一种路径时延测量方法, 包括: The second aspect of the present invention provides a path delay measurement method, including:

待测无线设备 RE接收已进行过时间同步的无线设备控制器 REC发送的 时延测量包, 所述时延测量包中携带有所述 REC发送所述时延测量包的第一 时刻, 以及所述 REC到所述待测 RE之间的路由信息; The wireless device RE to be tested receives the delay measurement packet sent by the wireless device controller REC that has been time-synchronized, and the delay measurement packet carries the first time when the REC sends the delay measurement packet, and the Routing information between the REC and the RE to be tested;

所述待测 RE向所述 REC发送时延响应包, 所述时延响应包中携带有所 述待测 RE接收到所述时延测量包的第二时刻; The RE to be tested sends a delay response packet to the REC, and the delay response packet carries a second moment when the RE to be tested receives the delay measurement packet;

使得所述 REC根据所述第一时刻以及所述第二时刻确定所述 REC与所述 待测 RE之间的下行路径时延; making the REC determine the downlink path delay between the REC and the RE under test according to the first moment and the second moment;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第二方面, 在第一种可能的实现方式中, 所述时延响应包中还携带有 所述待测 RE发送所述时延响应包的第三时刻, 使得所述 REC根据所述第三 时刻以及第四时刻确定所述 REC与所述待测 RE之间的上行路径时延; With reference to the second aspect, in a first possible implementation manner, the delay response packet further carries a third time when the RE to be tested sends the delay response packet, so that the REC according to the first Determine the uplink path delay between the REC and the RE to be tested at the third moment and the fourth moment;

所述第四时刻为所述 REC接收到所述时延测量包的时刻。 The fourth moment is the moment when the REC receives the delay measurement packet.

本发明第三方面提供一种路径时延测量方法, 包括: A third aspect of the present invention provides a path delay measurement method, including:

待测无线设备 RE向已进行过时间同步的无线设备控制器 REC发送时延 测量包, 所述时延测量包中携带有所述待测 RE发送所述时延测量包的第一时 刻, 以及所述待测 RE到所述 REC之间的路由信息; The wireless device RE to be tested sends a delay measurement packet to the wireless device controller REC that has performed time synchronization, and the delay measurement packet carries the first time when the RE to be tested sends the delay measurement packet, and routing information between the RE to be tested and the REC;

使得所述 REC根据所述第一时刻以及第二时刻确定所述 REC与所述待测 RE之间的上行路径时延; making the REC determine the uplink path delay between the REC and the RE under test according to the first moment and the second moment;

所述第二时刻为所述 REC接收到所述时延测量包的时刻; The second moment is the moment when the REC receives the delay measurement packet;

所述 REC与所述待测 RE之间通过传送 载网络互连。 The REC is interconnected with the RE to be tested through a transport network.

结合第三方面, 在第一种可能的实现方式中, 所述待测 RE向已进行过时 间同步的 REC发送时延测量包之后包括: With reference to the third aspect, in a first possible implementation manner, after the RE to be tested sends the delay measurement packet to the REC that has performed time synchronization, it includes:

所述待测 RE接收所述 REC发送的第一时延响应包, 所述第一时延响应 包中携带有所述 REC发送所述第一时延响应包的第三时刻; 所述待测 RE向所述 REC发送第二时延响应包, 所述第二时延响应包中 携带有所述待测 RE接收到所述第一时延响应包的第四时刻; The RE to be tested receives a first delay response packet sent by the REC, and the first delay response packet carries a third moment when the REC sends the first delay response packet; The RE under test sends a second delay response packet to the REC, where the second delay response packet carries a fourth moment when the RE under test receives the first delay response packet;

使得所述 REC根据所述第三时刻以及所述第四时刻确定所述 REC与所述 待测 RE之间的下行路径时延。 making the REC determine the downlink path delay between the REC and the RE under test according to the third moment and the fourth moment.

本发明第四方面提供一种路径时延测量方法, 包括: A fourth aspect of the present invention provides a path delay measurement method, including:

无线设备控制器 REC接收已进行过时间同步的待测无线设备 RE发送的 时延测量包, 所述时延测量包中携带有所述待测 RE发送所述时延测量包的第 一时刻, 以及所述待测 RE到所述 REC之间的路由信息; The radio equipment controller REC receives the delay measurement packet sent by the wireless equipment under test RE that has been time-synchronized, and the delay measurement packet carries the first moment when the delay measurement packet is sent by the RE under test, and routing information between the RE to be tested and the REC;

所述 REC根据所述第一时刻以及第二时刻确定所述 REC与所述待测 RE 之间的上行路径时延; The REC determines the uplink path delay between the REC and the RE under test according to the first moment and the second moment;

所述第二时刻为所述 REC接收到所述时延测量包的时刻; The second moment is the moment when the REC receives the delay measurement packet;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第四方面, 在第一种可能的实现方式中, 所述 REC根据所述第一时 刻以及所述第二时刻确定所述 REC与所述待测 RE之间的上行路径时延包括: 所述 REC将所述第二时刻与所述第一时刻之间的差值作为所述 REC与所 述待测 RE之间的上行路径时延; With reference to the fourth aspect, in a first possible implementation manner, the REC determining the uplink path delay between the REC and the RE under test according to the first moment and the second moment includes: The REC uses the difference between the second moment and the first moment as the uplink path delay between the REC and the RE to be tested;

或, or,

所述 REC将所述第二时刻与所述第一时刻之间的差值加上预置的时延冗 余量之后的数值作为所述 REC与所述待测 RE之间的上行路径时延。 The REC uses the difference between the second moment and the first moment plus a preset delay margin as the uplink path delay between the REC and the RE to be tested .

结合第四方面, 在第二种可能的实现方式中, 所述 REC接收已进行过时 间同步的待测 RE发送的时延测量包之后包括: With reference to the fourth aspect, in a second possible implementation manner, after the REC receives the delay measurement packet sent by the RE under test that has been time-synchronized, it includes:

所述 REC向所述待测 RE发送第一时延响应包, 所述第一时延响应包中 携带有所述 REC发送所述第一时延响应包的第三时刻; The REC sends a first delay response packet to the RE to be tested, and the first delay response packet carries a third time when the REC sends the first delay response packet;

所述 REC接收所述待测 RE发送的第二时延响应包, 所述第二时延响应 包中携带有所述待测 RE接收到所述第一时延响应包的第四时刻; The REC receives the second delay response packet sent by the RE under test, where the second delay response packet carries a fourth time when the RE under test receives the first delay response packet;

所述 REC根据所述第三时刻以及所述第四时刻确定所述 REC与所述待测 RE之间的下行路径时延。 The REC determines the downlink path delay between the REC and the RE under test according to the third moment and the fourth moment.

结合第四方面的第二种可能的实现方式, 在第三种可能的实现方式中, 所 述 REC根据所述第三时刻以及所述第四时刻确定所述 REC与所述待测 RE之 间的下行路径时延包括: With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the REC determines the relationship between the REC and the RE to be tested according to the third moment and the fourth moment. The downlink path delay between includes:

所述 REC将所述第四时刻与所述第三时刻之间的差值作为所述 REC与所 述待测 RE之间的下行路径时延; The REC uses the difference between the fourth moment and the third moment as the downlink path delay between the REC and the RE under test;

或, or,

所述 REC将所述第四时刻与所述第三时刻之间的差值加上预置的时延冗 余量之后的数值作为所述 REC与所述待测 RE之间的下行路径时延。 The REC uses the difference between the fourth moment and the third moment plus a preset delay margin as the downlink path delay between the REC and the RE under test .

结合第四方面, 在第四种可能的实现方式中, 所述方法还包括: 在预置的周期内, 通过所述时延测量包和所述时延响应包对所述 REC与 所述待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量,得到多个 备选上行路径时延和 /或多个备选下行路径时延; With reference to the fourth aspect, in a fourth possible implementation manner, the method further includes: within a preset period, using the delay measurement packet and the delay response packet for the REC and the pending Measure the uplink path delay and/or downlink path delay between the REs for multiple measurements to obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays;

将所述备选上行路径时延中的最大值或平均值作为所述 REC与所述待测 RE之间的上行路径时延, 和 /或, 将所述备选下行路径时延中的最大值或平均 值作为所述 REC与所述待测 RE之间的下行路径时延。 Taking the maximum or average value of the candidate uplink path delays as the uplink path delay between the REC and the RE to be tested, and/or, taking the maximum of the candidate downlink path delays The value or average value is used as the downlink path delay between the REC and the RE under test.

本发明第五方面提供一种路径时延测量系统, 包括: A fifth aspect of the present invention provides a path delay measurement system, including:

无线设备控制器 REC以及待测无线设备 RE; The wireless device controller REC and the wireless device RE to be tested;

所述 REC与所述待测 RE之间通过传送承载网络互连, 且已进行过时间 同步; The REC and the RE to be tested are interconnected through a transport bearer network, and time synchronization has been performed;

所述 REC用于向所述待测 RE发送时延测量包, 所述时延测量包中携带 有所述 REC发送所述时延测量包的第一时刻, 以及所述 REC到所述待测 RE 之间的路由信息, 接收所述待测 RE反馈的时延响应包, 所述时延响应包中携 带有所述待测 RE接收到所述时延测量包的第二时刻,根据所述第一时刻以及 所述第二时刻确定所述 REC与所述待测 RE之间的下行路径时延; The REC is used to send a delay measurement packet to the RE to be tested, the delay measurement packet carries the first time when the REC sends the delay measurement packet, and the REC sends the delay measurement packet to the RE to be tested routing information between REs, receiving a delay response packet fed back by the RE under test, where the delay response packet carries a second moment when the RE under test receives the delay measurement packet, according to the determining the downlink path delay between the REC and the RE under test at the first moment and the second moment;

所述待测 RE用于接收所述 REC发送的时延测量包, 向所述 REC发送时 延响应包, 所述时延响应包中携带有所述待测 RE接收到所述时延测量包的第 二时刻。 The RE to be tested is configured to receive a delay measurement packet sent by the REC, and send a delay response packet to the REC, where the delay response packet carries the delay measurement packet received by the RE to be tested. the second moment.

结合第五方面, 在第一种可能的实现方式中, 所述时延响应包中还携带有 所述待测 RE发送所述时延响应包的第三时刻; With reference to the fifth aspect, in a first possible implementation manner, the delay response packet also carries a third moment when the RE under test sends the delay response packet;

所述 REC还用于根据所述第三时刻以及第四时刻确定所述 REC与所述待 测 RE之间的上行路径时延, 所述第四时刻为所述 REC接收到所述时延测量 包的时刻。 The REC is also used to determine the uplink path delay between the REC and the RE under test according to the third moment and the fourth moment, and the fourth moment is when the REC receives the delay measurement bag moment.

结合第五方面, 或第五方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述 REC还用于通过所述时延测量包和所述时延响应包对所述 REC与所述待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量, 得到多个备选上行路径时延和 /或多个备选下行路径时延, 并将所述备选上行 路径时延中的最大值或平均值作为所述 REC与所述待测 RE之间的上行路径 时延, 和 /或, 将所述备选下行路径时延中的最大值或平均值作为所述 REC与 所述待测 RE之间的下行路径时延。 With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner, the REC is further configured to use the delay measurement packet and the delay response packet to performing multiple measurements on the uplink path delay and/or downlink path delay between the REC and the RE to be tested to obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays, and The maximum or average value of the candidate uplink path delays is used as the uplink path delay between the REC and the RE to be tested, and/or, the maximum value of the candidate downlink path delays or the average value as the downlink path delay between the REC and the RE to be tested.

本发明第六方面提供一种路径时延测量系统, 包括: A sixth aspect of the present invention provides a path delay measurement system, including:

无线设备控制器 REC以及待测无线设备 RE; The wireless device controller REC and the wireless device RE to be tested;

所述 REC与所述待测 RE之间通过传送承载网络互连, 且已进行过时间 同步; The REC and the RE to be tested are interconnected through a transport bearer network, and time synchronization has been performed;

所述待测 RE用于向所述 REC发送时延测量包, 所述时延测量包中携带 有所述待测 RE发送所述时延测量包的第一时刻, 以及所述待测 RE到所述 REC之间的路由信息; The RE to be tested is used to send a delay measurement packet to the REC, and the delay measurement packet carries the first moment when the RE to be tested sends the delay measurement packet, and the RE to be tested to Routing information between the RECs;

所述 REC接收所述待测 RE发送的时延测量包, 根据所述第一时刻以及 第二时刻确定所述 REC与所述待测 RE之间的上行路径时延, 所述第二时刻 为所述 REC接收到所述时延测量包的时刻。 The REC receives the delay measurement packet sent by the RE to be tested, and determines the uplink path delay between the REC and the RE to be tested according to the first moment and the second moment, and the second moment is The moment when the REC receives the delay measurement packet.

结合第六方面, 在第一种可能的实现方式中, 所述 REC还用于向所述待 测 RE发送第一时延响应包, 所述第一时延响应包中携带有所述 REC发送所 述第一时延响应包的第三时刻, 接收所述待测 RE发送的第二时延响应包, 所 述第二时延响应包中携带有所述待测 RE接收到所述第一时延响应包的第四时 刻, 根据所述第三时刻以及所述第四时刻确定所述 REC与所述待测 RE之间 的下行路径时延; With reference to the sixth aspect, in a first possible implementation manner, the REC is further configured to send a first delay response packet to the RE to be tested, and the first delay response packet carries the information sent by the REC. At a third moment of the first delay response packet, receiving a second delay response packet sent by the RE under test, where the second delay response packet carries information received by the RE under test The fourth moment of the delay response packet, determining the downlink path delay between the REC and the RE under test according to the third moment and the fourth moment;

所述待测 RE还用于接收所述 REC发送的第一时延响应包, 向所述 REC 发送第二时延响应包。 The RE under test is further configured to receive a first delay response packet sent by the REC, and send a second delay response packet to the REC.

结合第六方面, 或第六方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 所述 REC还用于通过所述时延测量包和所述时延响应包对所述 REC与所述待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量, 得到多个备选上行路径时延和 /或多个备选下行路径时延, 并将所述备选上行 路径时延中的最大值或平均值作为所述 REC与所述待测 RE之间的上行路径 时延, 和 /或, 将所述备选下行路径时延中的最大值或平均值作为所述 REC与 所述待测 RE之间的下行路径时延。 With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the REC is further configured to use the delay measurement packet and the delay response packet to performing multiple measurements on the uplink path delay and/or downlink path delay between the REC and the RE to be tested, Obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays, and use the maximum or average value of the candidate uplink path delays as the distance between the REC and the RE to be tested and/or, using the maximum or average value of the candidate downlink path delays as the downlink path delay between the REC and the RE to be tested.

本发明第七方面提供无线设备控制器, 包括: 量包, 所述时延测量包中携带有无线设备控制器 REC发送所述时延测量包的 第一时刻, 以及所述 REC到所述待测 RE之间的路由信息; A seventh aspect of the present invention provides a wireless device controller, including: a measurement packet, where the delay measurement packet carries the first time when the wireless device controller REC sends the delay measurement packet, and the delay measurement packet sent by the REC to the waiting time Measuring routing information between REs;

第一接收单元, 用于接收所述待测 RE反馈的时延响应包, 所述时延响应 包中携带有所述待测 RE接收到所述时延测量包的第二时刻; a first receiving unit, configured to receive a delay response packet fed back by the RE under test, where the delay response packet carries a second moment when the RE under test receives the delay measurement packet;

第一下行确定单元, 用于根据所述第一时刻以及所述第二时刻确定所述 REC与所述待测 RE之间的下行路径时延; a first downlink determining unit, configured to determine a downlink path delay between the REC and the RE under test according to the first moment and the second moment;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第七方面, 在第一种可能的实现方式中, 所述时延响应包中还携带有 所述待测 RE发送所述时延响应包的第三时刻; With reference to the seventh aspect, in a first possible implementation manner, the delay response packet further carries a third moment when the RE under test sends the delay response packet;

所述无线设备控制器还包括: The wireless device controller also includes:

第一上行确定单元, 用于根据所述第三时刻以及第四时刻确定所述 REC 与所述待测 RE之间的上行路径时延; a first uplink determining unit, configured to determine an uplink path delay between the REC and the RE under test according to the third moment and the fourth moment;

所述第四时刻为所述 REC接收到所述时延测量包的时刻。 The fourth moment is the moment when the REC receives the delay measurement packet.

本发明第八方面提供一种无线设备控制器, 包括: The eighth aspect of the present invention provides a wireless device controller, including:

第一输入装置、 第一输出装置以及第一处理器; a first input device, a first output device, and a first processor;

所述第一处理器执行如下流程: 包中携带有无线设备控制器 REC发送所述时延测量包的第一时刻, 以及所述 REC到所述待测 RE之间的路由信息, 接收所述待测 RE反馈的时延响应包, 所述时延响应包中携带有所述待测 RE接收到所述时延测量包的第二时刻, 根 据所述第一时刻以及所述第二时刻确定所述 REC与所述待测 RE之间的下行 路径时延; The first processor executes the following process: the packet carries the first moment when the wireless equipment controller REC sends the delay measurement packet, and the routing information between the REC and the RE to be tested, and receives the A delay response packet fed back by the RE under test, where the delay response packet carries a second moment when the RE under test receives the delay measurement packet, determined according to the first moment and the second moment a downlink path delay between the REC and the RE to be tested;

所述 REC与所述待测 RE之间通过传送承载网络互连。 结合第八方面, 在第一种可能的实现方式中, 所述时延响应包中还携带有 所述待测 RE发送所述时延响应包的第三时刻; The REC and the RE to be tested are interconnected through a transport bearer network. With reference to the eighth aspect, in a first possible implementation manner, the delay response packet further carries a third moment when the RE under test sends the delay response packet;

所述第一处理器还执行如下流程: The first processor also executes the following process:

根据所述第三时刻以及第四时刻确定所述 REC与所述待测 RE之间的上 行路径时延; determining an uplink path delay between the REC and the RE under test according to the third moment and the fourth moment;

所述第四时刻为所述 REC接收到所述时延测量包的时刻。 The fourth moment is the moment when the REC receives the delay measurement packet.

本发明第九方面提供一种待测无线设备, 包括: A ninth aspect of the present invention provides a wireless device under test, including:

第二接收单元, 用于接收已进行过时间同步的无线设备控制器 REC发送 的时延测量包, 所述时延测量包中携带有所述 REC发送所述时延测量包的第 一时刻, 以及所述 REC到待测无线设备 RE之间的路由信息; The second receiving unit is configured to receive a delay measurement packet sent by the wireless equipment controller REC that has performed time synchronization, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, and routing information between the REC and the wireless device RE to be tested;

第二发送单元, 用于向所述 REC发送时延响应包, 所述时延响应包中携 带有所述待测 RE接收到所述时延测量包的第二时刻; a second sending unit, configured to send a delay response packet to the REC, where the delay response packet carries a second moment when the RE under test receives the delay measurement packet;

使得所述 REC根据所述第一时刻以及所述第二时刻确定所述 REC与所述 待测 RE之间的下行路径时延; making the REC determine the downlink path delay between the REC and the RE under test according to the first moment and the second moment;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

本发明第十方面提供一种待测无线设备, 包括: A tenth aspect of the present invention provides a wireless device under test, including:

第二输入装置、 第二输出装置以及第二处理器; a second input device, a second output device, and a second processor;

所述第二处理器执行如下流程: The second processor executes the following process:

接收已进行过时间同步的无线设备控制器 REC发送的时延测量包, 所述 时延测量包中携带有所述 REC发送所述时延测量包的第一时刻, 以及所述 REC到待测无线设备 RE之间的路由信息, 向所述 REC发送时延响应包, 所 述时延响应包中携带有所述待测 RE接收到所述时延测量包的第二时刻, 使得 所述 REC根据所述第一时刻以及所述第二时刻确定所述 REC与所述待测 RE 之间的下行路径时延; receiving a delay measurement packet sent by the wireless device controller REC that has been time-synchronized, the delay measurement packet carrying the first time when the REC sends the delay measurement packet, and the REC to the measured Routing information between wireless devices REs, sending a delay response packet to the REC, where the delay response packet carries a second moment when the RE to be tested receives the delay measurement packet, so that the REC determining a downlink path delay between the REC and the RE under test according to the first moment and the second moment;

所述 REC与所述待测 RE之间通过传送 载网络互连。 The REC is interconnected with the RE to be tested through a transport network.

本发明第十一方面提供一种待测无线设备, 包括: The eleventh aspect of the present invention provides a wireless device under test, including:

获取单元, 用于获取待测无线设备 RE发送时延测量包的第一时刻; 第三发送单元, 用于向已进行过时间同步的无线设备控制器 REC发送时 延测量包, 所述时延测量包中携带有所述待测无线设备 RE发送所述时延测量 包的第一时刻, 以及所述待测 RE到所述 REC之间的路由信息; The acquiring unit is configured to acquire the first moment when the wireless device RE to be tested sends the delay measurement packet; the third sending unit is configured to send the delay measurement packet to the wireless device controller REC that has performed time synchronization, and the delay The measurement packet carries the wireless equipment under test RE to send the delay measurement The first moment of the packet, and the routing information between the RE to be tested and the REC;

使得所述 REC根据所述第一时刻以及第二时刻确定所述 REC与所述待测 RE之间的上行路径时延; making the REC determine the uplink path delay between the REC and the RE under test according to the first moment and the second moment;

所述第二时刻为所述 REC接收到所述时延测量包的时刻; The second moment is the moment when the REC receives the delay measurement packet;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第十一方面,在第一种可能的实现方式中,所述待测无线设备还包括: 第三接收单元, 用于接收所述 REC发送的第一时延响应包, 所述第一时 延响应包中携带有所述 REC发送所述第一时延响应包的第三时刻; With reference to the eleventh aspect, in a first possible implementation manner, the wireless device under test further includes: a third receiving unit, configured to receive the first delay response packet sent by the REC, and the first time delay response packet is: The delay response packet carries the third moment when the REC sends the first delay response packet;

第四发送单元, 用于向所述 REC发送第二时延响应包, 所述第二时延响 应包中携带有所述待测 RE接收到所述第一时延响应包的第四时刻; a fourth sending unit, configured to send a second delay response packet to the REC, where the second delay response packet carries a fourth time when the RE under test receives the first delay response packet;

使得所述 REC根据所述第三时刻以及所述第四时刻确定所述 REC与所述 待测 RE之间的下行路径时延。 making the REC determine the downlink path delay between the REC and the RE under test according to the third moment and the fourth moment.

本发明第十二方面提供一种待测无线设备, 包括: A twelfth aspect of the present invention provides a wireless device under test, including:

第三输入装置、 第三输出装置以及第三处理器; a third input device, a third output device and a third processor;

所述第三处理器执行如下流程: The third processor executes the following process:

确定待测无线设备 RE发送时延测量包的第一时刻, 向已进行过时间同步 的无线设备控制器 REC发送时延测量包, 所述时延测量包中携带有所述待测 无线设备 RE发送所述时延测量包的第一时刻, 以及所述待测 RE到所述 REC 之间的路由信息; 使得所述 REC 根据所述第一时刻以及第二时刻确定所述 REC与所述待测 RE之间的上行路径时延; 所述第二时刻为所述 REC接收到 所述时延测量包的时刻; 所述 REC与所述待测 RE之间通过传送承载网络互 连。 Determine the first moment when the wireless device RE to be tested sends a delay measurement packet, and send a delay measurement packet to the wireless device controller REC that has performed time synchronization, and the delay measurement packet carries the wireless device RE under test. sending the first moment of the delay measurement packet, and the routing information between the RE to be tested and the REC; making the REC determine the relationship between the REC and the REC according to the first moment and the second moment measuring an uplink path delay between REs; the second moment is the moment when the REC receives the delay measurement packet; the REC and the RE to be tested are interconnected through a transport bearer network.

结合第十二方面,在第一种可能的实现方式中, 所述第三处理器还执行如 下流程: With reference to the twelfth aspect, in a first possible implementation manner, the third processor further executes the following process:

接收所述 REC发送的第一时延响应包, 所述第一时延响应包中携带有所 述 REC发送所述第一时延响应包的第三时刻,向所述 REC发送第二时延响应 包, 所述第二时延响应包中携带有所述待测 RE接收到所述第一时延响应包的 第四时刻; 使得所述 REC根据所述第三时刻以及所述第四时刻确定所述 REC 与所述待测 RE之间的下行路径时延。 本发明第十三方面提供一种无线设备控制器, 包括: 延测量包, 所述时延测量包中携带有所述待测 RE发送所述时延测量包的第一 时刻, 以及所述待测 RE到无线设备控制器 REC之间的路由信息; receiving the first delay response packet sent by the REC, the first delay response packet carrying the third time when the REC sent the first delay response packet, and sending a second delay response packet to the REC a response packet, wherein the second delay response packet carries a fourth time when the RE under test receives the first delay response packet; Determine the downlink path delay between the REC and the RE to be tested. A thirteenth aspect of the present invention provides a wireless device controller, including: a delay measurement packet, where the delay measurement packet carries the first time when the RE to be tested sends the delay measurement packet, and the delay measurement packet is carried by the RE to be tested. Measuring the routing information between the RE and the wireless equipment controller REC;

第二上行确定单元, 用于根据所述第一时刻以及第二时刻确定所述 REC 与所述待测 RE之间的上行路径时延; a second uplink determining unit, configured to determine an uplink path delay between the REC and the RE under test according to the first moment and the second moment;

所述第二时刻为所述 REC接收到所述时延测量包的时刻; The second moment is the moment when the REC receives the delay measurement packet;

所述 REC与所述待测 RE之间通过传送承载网络互连。 The REC and the RE to be tested are interconnected through a transport bearer network.

结合第十三方面,在第一种可能的实现方式中, 所述无线设备控制器还包 括: With reference to the thirteenth aspect, in a first possible implementation manner, the wireless device controller further includes:

第五发送单元, 用于向所述待测 RE发送第一时延响应包, 所述第一时延 响应包中携带有所述 REC发送所述第一时延响应包的第三时刻; A fifth sending unit, configured to send a first delay response packet to the RE under test, where the first delay response packet carries a third time when the REC sends the first delay response packet;

第五接收单元, 用于接收所述待测 RE发送的第二时延响应包, 所述第二 时延响应包中携带有所述待测 RE接收到所述第一时延响应包的第四时刻; 第二下行确定单元, 用于根据所述第三时刻以及所述第四时刻确定所述 The fifth receiving unit is configured to receive a second delay response packet sent by the RE under test, where the second delay response packet carries the first delay response packet received by the RE under test. Four moments; a second downlink determining unit, configured to determine the

REC与所述待测 RE之间的下行路径时延。 The downlink path delay between the REC and the RE to be tested.

本发明第十四方面提供一种无线设备控制器, 包括: A fourteenth aspect of the present invention provides a wireless device controller, including:

第四输入装置、 第四输出装置以及第四处理器; a fourth input device, a fourth output device, and a fourth processor;

所述第四处理器执行如下流程: 测量包中携带有所述待测 RE发送所述时延测量包的第一时刻, 以及所述待测 RE到无线设备控制器 REC之间的路由信息,根据所述第一时刻以及第二时刻 确定所述 REC与所述待测 RE之间的上行路径时延; The fourth processor executes the following process: the measurement packet carries the first moment when the RE under test sends the delay measurement packet, and the routing information between the RE under test and the radio equipment controller REC, determining an uplink path delay between the REC and the RE under test according to the first moment and the second moment;

所述第二时刻为所述 REC接收到所述时延测量包的时刻; The second moment is the moment when the REC receives the delay measurement packet;

所述 REC与所述待测 RE之间通过传送 7|载网络互连。 The REC and the RE to be tested are interconnected through a transmission network.

结合第十四方面,在第一种可能的实现方式中, 所述第四处理器还执行如 下流程: With reference to the fourteenth aspect, in a first possible implementation manner, the fourth processor also executes the following process:

向所述待测 RE发送第一时延响应包, 所述第一时延响应包中携带有所述 REC发送所述第一时延响应包的第三时刻,接收所述待测 RE发送的第二时延 响应包, 所述第二时延响应包中携带有所述待测 RE接收到所述第一时延响应 包的第四时刻, 根据所述第三时刻以及所述第四时刻确定所述 REC与所述待 测 RE之间的下行路径时延。 Sending a first delay response packet to the RE to be tested, where the first delay response packet carries a third time when the REC sends the first delay response packet, and receiving the time delay sent by the RE to be tested second delay a response packet, wherein the second delay response packet carries a fourth time when the RE under test receives the first delay response packet, and the REC is determined according to the third time and the fourth time The downlink path delay with the RE to be tested.

从以上技术方案中可以看出, 本发明实施例具有如下有益效果: It can be seen from the above technical solutions that the embodiments of the present invention have the following beneficial effects:

本发明实施例中, REC可以向待测 RE发送时延测量包, 该时延测量包中 携带有所述 REC发送时延测量包的第一时刻 (即一个时间戳), 以及 REC到 待测 RE之间的路由信息,随后, REC可以接收到待测 RE反馈的时延响应包, 该时延响应包中携带有待测 RE接收到时延测量包的第二时刻(即另一个时间 戳 ), 则可以根据该第一时刻和第二时刻确定 REC与待测 RE之间的下行路径 时延,所以本发明实施例可以采用在实际传输的数据包或测量包中增加时间戳 的方式来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实 际的应用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确 的对基于传送承载网络互连的 REC与 RE之间的路径时延进行测量。 In this embodiment of the present invention, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment (that is, a time stamp) when the REC sends the delay measurement packet, and the REC sends the delay measurement packet to the RE to be tested. The routing information between REs. Subsequently, the REC can receive the delay response packet fed back by the RE to be tested, and the delay response packet carries the second time when the RE to be tested receives the delay measurement packet (that is, another timestamp ), then the downlink path delay between the REC and the RE to be measured can be determined according to the first moment and the second moment, so the embodiment of the present invention can adopt the method of adding a time stamp in the actually transmitted data packet or measurement packet Measure the precise path delay at both ends, so that the measured path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment. The path delay between the REC and the RE is measured.

附图说明 Description of drawings

图 1为本发明实施例中路径时延测量方法一个实施例示意图; FIG. 1 is a schematic diagram of an embodiment of a path delay measurement method in an embodiment of the present invention;

图 2为本发明实施例中路径时延测量方法另一实施例示意图; FIG. 2 is a schematic diagram of another embodiment of the path delay measurement method in the embodiment of the present invention;

图 3为本发明实施例中路径时延测量方法另一实施例示意图; FIG. 3 is a schematic diagram of another embodiment of the path delay measurement method in the embodiment of the present invention;

图 4为本发明实施例中路径时延测量方法另一实施例示意图; FIG. 4 is a schematic diagram of another embodiment of the path delay measurement method in the embodiment of the present invention;

图 5为本发明实施例中路径时延测量方法另一实施例示意图; FIG. 5 is a schematic diagram of another embodiment of the path delay measurement method in the embodiment of the present invention;

图 6为本发明实施例中路径时延测量方法另一实施例示意图; FIG. 6 is a schematic diagram of another embodiment of the path delay measurement method in the embodiment of the present invention;

图 7为本发明实施例中路径时延测量系统一个实施例示意图; FIG. 7 is a schematic diagram of an embodiment of the path delay measurement system in the embodiment of the present invention;

图 8为本发明实施例中路径时延测量系统另一实施例示意图; FIG. 8 is a schematic diagram of another embodiment of the path delay measurement system in the embodiment of the present invention;

图 9为本发明实施例中无线设备控制器一个实施例示意图; FIG. 9 is a schematic diagram of an embodiment of a wireless device controller in an embodiment of the present invention;

图 10为本发明实施例中无线设备控制器另一实施例示意图; FIG. 10 is a schematic diagram of another embodiment of the wireless device controller in the embodiment of the present invention;

图 11为本发明实施例中无线设备一个实施例示意图; FIG. 11 is a schematic diagram of an embodiment of a wireless device in an embodiment of the present invention;

图 12为本发明实施例中无线设备另一实施例示意图; FIG. 12 is a schematic diagram of another embodiment of the wireless device in the embodiment of the present invention;

图 13为本发明实施例中无线设备另一实施例示意图; FIG. 13 is a schematic diagram of another embodiment of the wireless device in the embodiment of the present invention;

图 14为本发明实施例中无线设备另一实施例示意图; FIG. 14 is a schematic diagram of another embodiment of the wireless device in the embodiment of the present invention;

图 15为本发明实施例中无线设备控制器另一实施例示意图; 图 16为本发明实施例中无线设备控制器另一实施例示意图。 FIG. 15 is a schematic diagram of another embodiment of the wireless device controller in the embodiment of the present invention; Fig. 16 is a schematic diagram of another embodiment of the wireless device controller in the embodiment of the present invention.

具体实施方式 Detailed ways

本发明实施例提供了一种路径时延测量方法、 系统以及相关装置, 能够准 确的对基于传送 7 载网络互连的 REC与 RE之间的路径时延进行测量。 Embodiments of the present invention provide a path delay measurement method, system and related devices, which can accurately measure the path delay between RECs and REs based on transport network interconnection.

本发明实施例中的路径时延测量方法中, 可以在 REC与待测 RE之间传 输数据包或测量包, 并且在该数据包或测量包中携带时间戳, 可以理解的是, 也可以在 REC与待测 RE之间设置专用的测量包, 并在该测量包中携带时间 戳, 所以能够根据这些时间戳确定 REC与待测 RE之间的路径时延。 In the path delay measurement method in the embodiment of the present invention, a data packet or a measurement packet may be transmitted between the REC and the RE to be tested, and a time stamp is carried in the data packet or measurement packet. It can be understood that the A dedicated measurement packet is set between the REC and the RE under test, and the measurement packet carries time stamps, so the path delay between the REC and the RE under test can be determined according to these time stamps.

在实际应用中, 数据包或测量包的发起方既可以为 REC, 也可以为待测 RE, 下面分别进行描述: In practical applications, the initiator of the data packet or measurement packet can be either the REC or the RE to be tested, which are described below:

一、 发起方为 REC: 1. The initiator is REC:

本实施例中,可以由 REC主动向待测 RE发送数据包或测量包以确定 REC 与待测 RE之间的路径时延, 具体请参阅图 1 , 本发明实施例中路径时延测量 方法一个实施例包括: In this embodiment, the REC may actively send a data packet or a measurement packet to the RE to be tested to determine the path delay between the REC and the RE to be tested. For details, please refer to FIG. 1 , a path delay measurement method in the embodiment of the present invention Examples include:

101、 REC向已进行过时间同步的待测 RE发送时延测量包; 101. The REC sends a delay measurement packet to the time-synchronized RE to be tested;

本实施例中, 当 REC与待测 RE之间新建网络时, REC可以向该待测 RE 发送时延测量包,该时延测量包中携带有 REC发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when a new network is established between the REC and the RE to be tested, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, And routing information between the REC and the RE to be tested.

本实施例中的 REC与待测 RE之间通过传送 7|载网络互连。 In this embodiment, the REC and the RE to be tested are interconnected through a transmission network.

由于该时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时 延测量包可以经过 REC与待测 RE之间的传送承载网被传输至待测 RE。 Since the delay measurement packet carries routing information between the REC and the RE to be tested, the delay measurement packet can be transmitted to the RE to be tested through the transmission bearer network between the REC and the RE to be tested.

需要说明的是, 为了保证时延测量的准确性, REC必须和待测 RE之间进 行过时间同步, 使得 REC的本地时钟和待测 RE的本地时钟保持一致。 It should be noted that, in order to ensure the accuracy of the delay measurement, time synchronization must be performed between the REC and the RE under test, so that the local clock of the REC is consistent with the local clock of the RE under test.

在实际应用中, 除了当 REC与待测 RE之间新建网络时, REC可以向待 测 RE发送时延测量包之外, REC还可以在其他的时机向待测 RE发送时延测 量包, 例如当 REC侧的性能指标不满足预置条件, 或者是只需要测量下行路 径时延等情况, 具体此处不做限定。 In practical applications, in addition to sending a delay measurement packet to the RE under test when a new network is established between the REC and the RE under test, the REC can also send a delay measurement packet to the RE under test at other times, for example When the performance index on the REC side does not meet the preset condition, or only the downlink path delay needs to be measured, the details are not limited here.

102、 REC接收待测 RE反馈的时延响应包; 102. The REC receives the delay response packet fed back by the RE to be tested;

当 REC向待测 RE发送时延测量包之后, REC可以接收到该待测 RE反 馈的时延响应包, 该时延响应包中携带有待测 RE接收到时延测量包的第二时 刻。 After the REC sends the delay measurement packet to the RE under test, the REC can receive the response from the RE under test. The delay response packet is fed back, and the delay response packet carries the second moment when the RE under test receives the delay measurement packet.

103、 REC根据第一时刻以及第二时刻确定 REC与待测 RE之间的下行路 径时延。 103. The REC determines the downlink path delay between the REC and the RE to be tested according to the first moment and the second moment.

REC可以获知自身发送该时延测量包的第一时刻, 又可以从步骤 102 中 获知待测 RE接收到时延测量包的第二时刻, 所以 REC可以根据第一时刻以 及第二时刻确定 REC与待测 RE之间的下行路径时延。 The REC can know the first moment when it sends the delay measurement packet, and can also know the second moment when the RE to be tested receives the delay measurement packet from step 102, so the REC can determine the REC and REC according to the first moment and the second moment. Downlink path delay between REs to be tested.

本实施例中, REC可以向待测 RE发送时延测量包, 该时延测量包中携带 有所述 REC发送时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信 息, 随后, REC可以接收到待测 RE反馈的时延响应包, 该时延响应包中携带 有待测 RE接收到时延测量包的第二时刻, 则可以根据该第一时刻和第二时刻 确定 REC与待测 RE之间的下行路径时延, 所以本发明实施例可以采用在实 际传输的数据包或测量包中增加时间戳的方式来测量两端的精确路径时延,使 得这样测量出来的路径时延更贴近于实际的应用环境,也更能体现出实际应用 环境中各种因素的影响, 因此能够准确的对基于传送承载网络互连的 REC与 RE之间的路径时延进行测量。 In this embodiment, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, and routing information between the REC and the RE to be tested, Subsequently, the REC may receive the delay response packet fed back by the RE to be tested, and the delay response packet carries the second moment when the RE to be tested receives the delay measurement packet, and then it may be determined according to the first and second moments The downlink path delay between the REC and the RE to be measured, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path The delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so the path delay between RECs and REs interconnected based on the transport bearer network can be accurately measured.

上面从 REC的角度对本发明实施例中路径时延测量方法进行了描述, 下 面从待测 RE的角度对本发明实施例中路径时延测量方法进行描述, 请参阅图 2, 本发明实施例中路径时延测量方法另一实施例包括: The method for measuring the path delay in the embodiment of the present invention is described above from the perspective of the REC, and the method for measuring the path delay in the embodiment of the present invention is described below from the perspective of the RE to be measured. Please refer to FIG. 2, the path delay in the embodiment of the present invention Another embodiment of the delay measurement method includes:

201、 待测 RE接收已进行过时间同步的 REC发送的时延测量包; 本实施例中, 当 REC与待测 RE之间新建网络时, REC可以向该待测 RE 发送时延测量包,该时延测量包中携带有 REC发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 201. The RE to be tested receives the delay measurement packet sent by the REC that has been time-synchronized; in this embodiment, when a network is newly established between the REC and the RE to be tested, the REC may send a delay measurement packet to the RE to be tested, The delay measurement packet carries the first moment when the REC sends the delay measurement packet, and routing information from the REC to the RE to be tested.

本实施例中的 REC与待测 RE之间通过传送 7|载网络互连。 In this embodiment, the REC and the RE to be tested are interconnected through a transmission network.

由于该时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时 延测量包可以经过 REC与待测 RE之间的传送承载网被传输至待测 RE, 所以 待测 RE可以接收到该时延测量包。 Since the delay measurement packet carries the routing information between the REC and the RE under test, the delay measurement packet can be transmitted to the RE under test through the transmission bearer network between the REC and the RE under test, so the RE under test The delay measurement packet may be received.

202、 待测 RE向 REC发送时延响应包。 202. The RE to be tested sends a delay response packet to the REC.

当待测 RE接收到 REC发送的时延测量包之后, 可以向该 REC反馈时延 响应包, 该时延响应包中携带有待测 RE接收到时延测量包的第二时刻。 After the RE under test receives the delay measurement packet sent by the REC, it can feed back the delay to the REC. A response packet, where the delay response packet carries the second moment when the RE under test receives the delay measurement packet.

待测 RE向 REC发送时延响应包之后, 则可以使得 REC根据第一时刻以 及第二时刻确定 REC与待测 RE之间的下行路径时延。 After the RE to be tested sends a delay response packet to the REC, the REC can be made to determine the downlink path delay between the REC and the RE to be tested according to the first moment and the second moment.

本实施例中, REC可以向待测 RE发送时延测量包, 该时延测量包中携带 有所述 REC发送时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信 息, 随后, REC可以接收到待测 RE反馈的时延响应包, 该时延响应包中携带 有待测 RE接收到时延测量包的第二时刻, 则可以根据该第一时刻和第二时刻 确定 REC与待测 RE之间的下行路径时延, 所以本发明实施例可以采用在实 际传输的数据包或测量包中增加时间戳的方式来测量两端的精确路径时延,使 得这样测量出来的路径时延更贴近于实际的应用环境,也更能体现出实际应用 环境中各种因素的影响, 因此能够准确的对基于传送承载网络互连的 REC与 RE之间的路径时延进行测量。 In this embodiment, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, and routing information between the REC and the RE to be tested, Subsequently, the REC may receive the delay response packet fed back by the RE to be tested, and the delay response packet carries the second moment when the RE to be tested receives the delay measurement packet, and then it may be determined according to the first and second moments The downlink path delay between the REC and the RE to be measured, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path The delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so the path delay between RECs and REs interconnected based on the transport bearer network can be accurately measured.

为了便于理解, 下面从 REC与待测 RE之间进行交互的角度对本发明实 施例中路径时延测量方法进行描述, 请参阅图 3, 本发明实施例中路径时延测 量方法另一实施例包括: For ease of understanding, the following describes the path delay measurement method in the embodiment of the present invention from the perspective of interaction between the REC and the RE to be tested. Please refer to FIG. 3 , another embodiment of the path delay measurement method in the embodiment of the present invention includes :

301、 REC向已进行过时间同步的待测 RE发送时延测量包; 301. The REC sends a delay measurement packet to the time-synchronized RE to be tested;

本实施例中, 当 REC与待测 RE之间新建网络时, REC可以向该待测 RE 发送时延测量包,该时延测量包中携带有 REC发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when a new network is established between the REC and the RE to be tested, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, And routing information between the REC and the RE to be tested.

例如, 本实施例中, REC 发送的时延测量包中携带的路由信息可以为 For example, in this embodiment, the routing information carried in the delay measurement packet sent by the REC may be

"REC-SERVER3-ROUTER7-RE4" , 其中, RE4为待测 RE, 该时延测量包中 携带的第一时刻可以为 143001500, 则表示 REC发送该时延测量包的时刻为 14点 30分 01秒 500毫秒。 "REC-SERVER3-ROUTER7-RE4", where RE4 is the RE to be tested, and the first time carried in the delay measurement packet can be 143001500, which means that the time when REC sends the delay measurement packet is 14:30:01 seconds 500 milliseconds.

302、 待测 RE接收 REC发送的时延测量包; 302. The RE to be tested receives the delay measurement packet sent by the REC;

由于 REC发送的时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时延测量包可以经过 REC与待测 RE之间的传送承载网被传输至待测 RE, 所以待测 RE可以接收到该时延测量包。 Since the delay measurement packet sent by the REC carries the routing information between the REC and the RE under test, the delay measurement packet can be transmitted to the RE under test through the transmission bearer network between the REC and the RE under test. The measuring RE can receive the delay measurement packet.

本实施例中, REC发送的时延测量包经过 SERVER3以及 ROUTER7的转 发即可到达 RE4。 303、 待测 RE向 REC发送时延响应包; In this embodiment, the delay measurement packet sent by REC can reach RE4 after being forwarded by SERVER3 and ROUTER7. 303. The RE to be tested sends a delay response packet to the REC;

当待测 RE接收到 REC发送的时延测量包之后, 可以向该 REC反馈时延 响应包, 该时延响应包中携带有待测 RE接收到时延测量包的第二时刻, 以及 待测 RE发送该时延响应包的第三时刻。 After the RE to be tested receives the delay measurement packet sent by the REC, it may feed back a delay response packet to the REC, where the delay response packet carries the second moment when the RE to be tested receives the delay measurement packet, and the time delay measurement packet to be tested. The third moment when the RE sends the delay response packet.

本实施例中, 待测 RE 发送的时延响应包中携带的第二时刻可以为 In this embodiment, the second moment carried in the delay response packet sent by the RE to be tested may be

143001550,则表示待测 RE接收到该时延测量包的时刻为 14点 30分 01秒 550 毫秒, 该时延响应包中携带的第三时刻可以为 143001560, 则表示待测 RE发 送该时延响应包的时刻为 14点 30分 01秒 560毫秒, 需要说明的是, 14点 30 分 01秒 550毫秒至 14点 30分 01秒 560毫秒之间的时间可以是待测 RE内部 处理的时长, 不考虑入路径时延中。 143001550, it means that the time when the RE to be tested receives the delay measurement packet is 14:30:01:550 milliseconds, and the third time carried in the delay response packet can be 143001560, which means that the RE to be tested sends the delay The time of the response packet is 14:30:01:560 milliseconds. It should be noted that the time between 14:30:01:550 milliseconds and 14:30:01:560 milliseconds can be the internal processing time of the RE to be tested. The path delay is not taken into consideration.

304、 REC根据第一时刻以及第二时刻确定 REC与待测 RE之间的下行路 径时延; 304. The REC determines the downlink path delay between the REC and the RE under test according to the first moment and the second moment;

本实施例中, REC 可以获知自身发送该时延测量包的第一时刻, 又可以 从步骤 102中获知待测 RE接收到时延测量包的第二时刻, 所以 REC可以根 据第一时刻以及第二时刻确定 REC与待测 RE之间的下行路径时延。 In this embodiment, the REC can know the first moment when it sends the delay measurement packet, and can also know the second moment when the RE to be tested receives the delay measurement packet from step 102, so the REC can use the first moment and the second moment Second, determine the downlink path delay between the REC and the RE under test at all times.

具体的, REC可以将第二时刻与第一时刻之间的差值作为 REC与待测 RE 之间的下行路径时延。 Specifically, the REC may use the difference between the second moment and the first moment as the downlink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第一时刻为 14点 30分 01秒 500毫秒, 第 二时刻为 14点 30分 01秒 550毫秒, 则 REC可以将它们之间的差值, 即 50 毫秒, 作为 REC与待测 RE之间的下行路径时延。 In practical applications, the REC can learn that the first moment is 14:30:01:500 milliseconds, and the second moment is 14:30:01:550 milliseconds, and the REC can use the difference between them, that is, 50 milliseconds, as The downlink path delay between the REC and the RE under test.

或者, or,

REC还可以将第二时刻与第一时刻之间的差值加上预置的时延冗余量之 后的数值作为 REC与待测 RE之间的下行路径时延。 The REC may also use the difference between the second moment and the first moment plus a preset delay margin as the downlink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第一时刻为 14点 30分 01秒 500毫秒, 第 二时刻为 14点 30分 01秒 550毫秒, 则 REC可以将它们之间的差值, 即 50 毫秒, 加上预置的时延冗余量, 例如 30毫秒, 之后的数值, 即 80毫秒, 作为 REC与待测 RE之间的下行路径时延。 In practical applications, the REC can learn that the first moment is 14:30:01:500 milliseconds, and the second moment is 14:30:01:550 milliseconds, then the REC can add the difference between them, that is, 50 milliseconds, to The preset delay margin, for example, 30 milliseconds, and the subsequent value, namely, 80 milliseconds, are used as the downlink path delay between the REC and the RE to be tested.

需要说明的是, 该时延冗余量为可变参数, 其具体与当前传送承载网的拥 塞程度和 /或业务类型有关, 例如拥塞程度越高, 则该时延冗余量越大, P2P 业务越多, 则该时延冗余量越大, 反之亦然, 可以理解的是, 在实际应用中, 该时延冗余量还可以与传送承载网的其他因素相关, 具体此处不做限定。 It should be noted that the delay redundancy is a variable parameter, which is specifically related to the congestion degree and/or service type of the current transport bearer network. For example, the higher the congestion degree, the greater the delay redundancy. P2P The more services, the greater the delay redundancy, and vice versa. It can be understood that, in practical applications, the delay redundancy can also be related to other factors of the transport bearer network, which will not be discussed in detail here limited.

305、 REC根据第三时刻以及第四时刻确定 REC与待测 RE之间的上行路 径时延。 305. The REC determines the uplink path delay between the REC and the RE under test according to the third moment and the fourth moment.

本实施例中, 待测 RE发送的时延响应包中还可以携带有第三时刻, 则 In this embodiment, the delay response packet sent by the RE under test may also carry a third moment, then

REC可以根据第三时刻以及第四时刻确定 REC与待测 RE之间的上行路径时 延, 该第四时刻为 REC接收到时延测量包的时刻。 The REC can determine the uplink path delay between the REC and the RE under test according to the third moment and the fourth moment, and the fourth moment is the moment when the REC receives the delay measurement packet.

具体的, REC可以将第四时刻与第三时刻之间的差值作为 REC与待测 RE 之间的上行路径时延。 Specifically, the REC may use the difference between the fourth moment and the third moment as the uplink path delay between the REC and the RE under test.

在实际应用中, REC可以获知第三时刻为 14点 30分 01秒 560毫秒, REC 接收到该时延响应包的第四时刻为 14点 30分 01秒 630毫秒,则 REC可以将 它们之间的差值, 即 70毫秒, 作为 REC与待测 RE之间的上行路径时延。 In practical applications, REC can learn that the third moment is 14:30:01:560 milliseconds, and the fourth moment when REC receives the delay response packet is 14:30:01:630 milliseconds, then REC can send the The difference, that is, 70 milliseconds, is used as the uplink path delay between the REC and the RE to be tested.

或者, or,

REC还可以将第四时刻与第三时刻之间的差值加上预置的时延冗余量之 后的数值作为 REC与待测 RE之间的上行路径时延。 The REC may also use the difference between the fourth moment and the third moment plus a preset delay margin as the uplink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第三时刻为 14点 30分 01秒 560毫秒, 第 四时刻为 14点 30分 01秒 630毫秒, 则 REC可以将它们之间的差值, 即 70 毫秒, 加上预置的时延冗余量, 例如 30毫秒, 之后的数值, 即 100毫秒, 作 为 REC与待测 RE之间的上行路径时延。 In practical applications, the REC can learn that the third moment is 14:30:01:560 milliseconds, and the fourth moment is 14:30:01:630 milliseconds, then the REC can add the difference between them, that is, 70 milliseconds, to The preset delay margin, for example, 30 milliseconds, and the subsequent value, namely 100 milliseconds, are used as the uplink path delay between the REC and the RE to be tested.

需要说明的是, 该时延冗余量为可变参数, 其具体与当前传送承载网的拥 塞程度和 /或业务类型有关, 例如拥塞程度越高, 则该时延冗余量越大, P2P 业务越多, 则该时延冗余量越大, 反之亦然, 可以理解的是, 在实际应用中, 该时延冗余量还可以与传送承载网的其他因素相关, 具体此处不做限定。 It should be noted that the delay redundancy is a variable parameter, which is specifically related to the congestion degree and/or service type of the current transport bearer network. For example, the higher the congestion degree, the greater the delay redundancy. P2P The more services, the greater the delay redundancy, and vice versa. It can be understood that, in practical applications, the delay redundancy can also be related to other factors of the transport bearer network, which will not be discussed in detail here limited.

本实施例中, 步骤 304与步骤 305之间没有执行的先后顺序, 可以先执行 步骤 304, 也可以先执行步骤 305, 还可以同时执行步骤 304以及步骤 305, 具体此处不做限定。 In this embodiment, there is no order of execution between step 304 and step 305, and step 304 may be executed first, or step 305 may be executed first, or step 304 and step 305 may be executed at the same time, which is not specifically limited here.

上面的实施例中均以一次确定路径时延为例进行说明, 可以理解的是,在 实际应用中,还可以在某预置的周期内,通过上述时延测量包和时延响应包对 REC与待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量, 得到 多个备选上行路径时延和 /或多个备选下行路径时延; In the above embodiments, the path delay is determined once as an example for illustration. It can be understood that in a practical application, the REC The uplink path delay and/or downlink path delay between the RE under test and the RE to be measured are measured multiple times, and obtained Multiple candidate uplink path delays and/or multiple candidate downlink path delays;

然后将备选上行路径时延中的最大值或平均值作为 REC与待测 RE之间 的上行路径时延, 和 /或, 将备选下行路径时延中的最大值或平均值作为 REC 与待测 RE之间的下行路径时延。 Then use the maximum or average value of the candidate uplink path delays as the uplink path delay between the REC and the RE to be tested, and/or use the maximum or average value of the candidate downlink path delays as the REC and REC Downlink path delay between REs to be tested.

例如, 在 5分钟的周期内, 共对路径时延测量了 5次, 其中, 备选上行路 径时延为 70毫秒, 65毫秒, 80毫秒, 120毫秒以及 50毫秒, 备选下行路径 时延为 55毫秒, 40毫秒, 40毫秒, 50毫秒以及 35毫秒, 则可以将备选上行 路径时延中的最大值 120毫秒, 或者是平均值 77毫秒作为上行路径时延, 且 可以将备选下行路径时延中的最大值 55毫秒,或者是平均值 44毫秒作为下行 路径时延。 For example, within a period of 5 minutes, the path delays are measured 5 times in total, wherein, the candidate uplink path delays are 70 milliseconds, 65 milliseconds, 80 milliseconds, 120 milliseconds and 50 milliseconds, and the candidate downlink path delays are 55 milliseconds, 40 milliseconds, 40 milliseconds, 50 milliseconds, and 35 milliseconds, the maximum value of the alternative uplink path delay is 120 milliseconds, or the average value of 77 milliseconds can be used as the uplink path delay, and the alternative downlink path can be used The maximum value in the delay is 55 milliseconds, or the average value is 44 milliseconds as the downlink path delay.

可以理解的是,在实际应用中,还可以采用更多的方式从备选上行路径时 延和备选下行路径时延中选择出上行路径时延以及下行路径时延,具体此处不 再赘述。 It can be understood that in practical applications, more methods can be used to select the uplink path delay and the downlink path delay from the candidate uplink path delay and the candidate downlink path delay, and details will not be described here. .

本实施例中, REC可以向待测 RE发送时延测量包, 该时延测量包中携带 有所述 REC发送时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信 息, 随后, REC可以接收到待测 RE反馈的时延响应包, 该时延响应包中携带 有待测 RE接收到时延测量包的第二时刻以及待测 RE发送时延响应包的第三 时刻, REC能够获知接收到该时延响应包的第四时刻。 In this embodiment, the REC may send a delay measurement packet to the RE to be tested, and the delay measurement packet carries the first moment when the REC sends the delay measurement packet, and routing information between the REC and the RE to be tested, Subsequently, the REC may receive the delay response packet fed back by the RE under test, which contains the second moment when the RE under test receives the delay measurement packet and the third moment when the RE under test sends the delay response packet , the REC can know the fourth moment when the delay response packet is received.

则 REC可以根据该第一时刻和第二时刻确定 REC与待测 RE之间的下行 路径时延, 且可以根据第三时刻和第四时刻确定 REC与待测 RE之间的上行 路径时延,所以本发明实施例可以采用在实际传输的数据包或测量包中增加时 间戳的方式来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近 于实际的应用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够 准确的对基于传送 7|载网络互连的 REC与 RE之间的路径时延进行测量。 Then the REC can determine the downlink path delay between the REC and the RE under test according to the first moment and the second moment, and can determine the uplink path delay between the REC and the RE under test according to the third moment and the fourth moment, Therefore, in the embodiment of the present invention, the precise path delay at both ends can be measured by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path delay is closer to the actual application environment and more accurate. It reflects the influence of various factors in the actual application environment, so it can accurately measure the path delay between REC and RE based on transport network interconnection.

二、 发起方为待测 RE: 2. The initiator is the RE to be tested:

本实施例中,可以由待测 RE主动向 REC发送数据包或测量包以确定 REC 与待测 RE之间的路径时延, 具体请参阅图 4, 本发明实施例中路径时延测量 方法另一实施例包括: In this embodiment, the RE to be tested may actively send a data packet or a measurement packet to the REC to determine the path delay between the REC and the RE to be tested. For details, please refer to FIG. 4. The path delay measurement method in the embodiment of the present invention is another An embodiment includes:

401、 获取待测 RE发送时延测量包的第一时刻; 当待测 RE准备向 REC发送时延测量包时,可以获取待测 RE发送时延测 量包的第一时刻。 401. Obtain the first moment when the RE to be tested sends the delay measurement packet; When the RE to be tested prepares to send a delay measurement packet to the REC, the first moment when the RE to be tested sends the delay measurement packet can be obtained.

402、 待测 RE向已进行过时间同步的 REC发送时延测量包。 402. The RE to be tested sends a delay measurement packet to the REC that has been time-synchronized.

本实施例中, 当待测 RE需要加入已经建立的网络时, 该待测 RE可以向 该已经建立的网络中的 REC发送时延测量包,该时延测量包中携带有待测 RE 发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when the RE to be tested needs to join an established network, the RE to be tested may send a delay measurement packet to the REC in the established network, and the delay measurement packet carries the information sent by the RE to be tested. The first moment of the delay measurement packet, and the routing information between the REC and the RE to be tested.

本实施例中的 REC与待测 RE之间通过传送 7|载网络互连。 In this embodiment, the REC and the RE to be tested are interconnected through a transmission network.

由于该时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时 延测量包可以经过 REC与待测 RE之间的传送承载网被传输至 REC。 Since the delay measurement packet carries routing information between the REC and the RE to be tested, the delay measurement packet can be transmitted to the REC through the transmission bearer network between the REC and the RE to be tested.

需要说明的是, 为了保证时延测量的准确性, REC必须和待测 RE之间进 行过时间同步, 使得 REC的本地时钟和待测 RE的本地时钟保持一致。 It should be noted that, in order to ensure the accuracy of the delay measurement, time synchronization must be performed between the REC and the RE under test, so that the local clock of the REC is consistent with the local clock of the RE under test.

在实际应用中, 除了当待测 RE需要加入已经建立的网络时, 待测 RE可 以向 REC发送时延测量包之外, 待测 RE还可以在其他的时机向 REC发送时 延测量包, 例如当待测 RE侧的性能指标不满足预置条件, 或者是只需要测量 上行路径时延等情况, 具体此处不做限定。 In practical applications, in addition to sending a delay measurement packet to the REC when the RE to be tested needs to join an established network, the RE to be tested can also send a delay measurement packet to the REC at other times, for example When the performance index of the RE side to be tested does not meet the preset condition, or only the uplink path delay needs to be measured, the details are not limited here.

待测 RE向 REC发送时延测量包之后, 则可以使得 REC根据第一时刻以 及第二时刻确定 REC与待测 RE之间的上行路径时延, 该第二时刻为 REC接 收到时延测量包的时刻。 After the RE to be tested sends the delay measurement packet to the REC, the REC can be made to determine the uplink path delay between the REC and the RE to be tested according to the first moment and the second moment. The second moment is when the REC receives the delay measurement packet moment.

本实施例中, 待测 RE可以向 REC发送时延测量包, 该时延测量包中携 带有待测 RE发送时延测量包的第一时刻,以及 REC到待测 RE之间的路由信 息, REC 可以获知接收到该时延测量包的第二时刻, 则可以根据该第一时刻 和第二时刻确定 REC与待测 RE之间的上行路径时延, 所以本发明实施例可 以采用在实际传输的数据包或测量包中增加时间戳的方式来测量两端的精确 路径时延,使得这样测量出来的路径时延更贴近于实际的应用环境,也更能体 现出实际应用环境中各种因素的影响,因此能够准确的对基于传送 7 载网络互 连的 REC与 RE之间的路径时延进行测量。 In this embodiment, the RE to be tested may send a delay measurement packet to the REC, and the delay measurement packet carries the first moment when the RE to be tested sends the delay measurement packet, and routing information between the REC and the RE to be tested, The REC can know the second moment when the delay measurement packet is received, and the uplink path delay between the REC and the RE under test can be determined according to the first moment and the second moment, so this embodiment of the present invention can be used in the actual transmission The precise path delay at both ends is measured by adding time stamps in the data packets or measurement packets, so that the path delay measured in this way is closer to the actual application environment, and can better reflect the various factors in the actual application environment. Therefore, it is possible to accurately measure the path delay between the REC and the RE based on the transport network interconnection.

上面从待测 RE的角度对本发明实施例中路径时延测量方法进行了描述, 下面从 REC的角度对本发明实施例中路径时延测量方法进行描述, 请参阅图 5, 本发明实施例中路径时延测量方法另一实施例包括: 501、 REC接收已进行过时间同步的 RE发送的时延测量包; The method for measuring the path delay in the embodiment of the present invention is described above from the perspective of the RE to be tested. The method for measuring the path delay in the embodiment of the present invention is described below from the perspective of the REC. Please refer to FIG. 5, the path delay in the embodiment of the present invention Another embodiment of the delay measurement method includes: 501. The REC receives the delay measurement packet sent by the time-synchronized RE;

本实施例中, 当待测 RE希望加入已建立的网络时, REC从待测 RE接收 到时延测量包,该时延测量包中携带有待测 RE发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when the RE to be tested wants to join the established network, the REC receives a delay measurement packet from the RE to be tested, and the delay measurement packet carries the first time when the RE to be tested sends the delay measurement packet , and routing information between the REC and the RE to be tested.

本实施例中的 REC与待测 RE之间通过传送 7|载网络互连。 In this embodiment, the REC and the RE to be tested are interconnected through a transmission network.

由于该时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时 延测量包可以经过 REC与待测 RE之间的传送承载网被传输至 REC,所以 REC 可以接收到该时延测量包。 Since the delay measurement packet carries routing information between the REC and the RE to be tested, the delay measurement packet can be transmitted to the REC through the transmission bearer network between the REC and the RE to be tested, so the REC can receive the Latency measurement package.

502、 REC根据第一时刻以及第二时刻确定 REC与待测 RE之间的上行路 径时延。 502. The REC determines the uplink path delay between the REC and the RE to be tested according to the first moment and the second moment.

本实施例中, REC 可以获知自身接收到该时延测量包的第二时刻, 又可 以从步骤 501中获知待测 RE发送该时延测量包的第一时刻, 所以 REC可以 根据第一时刻以及第二时刻确定 REC与待测 RE之间的上行路径时延。 In this embodiment, the REC can know the second moment when it receives the delay measurement packet, and can also know the first moment when the RE to be tested sends the delay measurement packet from step 501, so the REC can according to the first moment and At the second moment, the uplink path delay between the REC and the RE to be tested is determined.

本实施例中, REC可以从待测 RE接收到时延测量包, 该时延测量包中携 带有待测 RE发送时延测量包的第一时刻,以及 REC到待测 RE之间的路由信 息, REC 可以获知接收到该时延测量包的第二时刻, 则可以根据该第一时刻 和第二时刻确定 REC与待测 RE之间的上行路径时延, 所以本发明实施例可 以采用在实际传输的数据包或测量包中增加时间戳的方式来测量两端的精确 路径时延,使得这样测量出来的路径时延更贴近于实际的应用环境,也更能体 现出实际应用环境中各种因素的影响,因此能够准确的对基于传送 7 载网络互 连的 REC与 RE之间的路径时延进行测量。 In this embodiment, the REC may receive a delay measurement packet from the RE to be tested, and the delay measurement packet carries the first time when the RE to be tested sends the delay measurement packet, and the routing information between the REC and the RE to be tested , the REC can know the second moment when the delay measurement packet is received, and then the uplink path delay between the REC and the RE to be measured can be determined according to the first moment and the second moment, so this embodiment of the present invention can be used in practical Time stamps are added to the transmitted data packets or measurement packets to measure the precise path delay at both ends, so that the measured path delay is closer to the actual application environment and can better reflect various factors in the actual application environment Therefore, it is possible to accurately measure the path delay between the REC and the RE based on the transport network interconnection.

为了便于理解, 下面从 REC与待测 RE之间进行交互的角度对本发明实 施例中路径时延测量方法进行描述, 请参阅图 6, 本发明实施例中路径时延测 量方法另一实施例包括: For ease of understanding, the method for measuring path delay in the embodiment of the present invention is described below from the perspective of interaction between the REC and the RE to be tested. Please refer to FIG. 6. Another embodiment of the method for measuring path delay in the embodiment of the present invention includes :

601、 待测 RE向已进行过时间同步的 REC发送时延测量包。 601. The RE to be tested sends a delay measurement packet to the REC that has been time-synchronized.

本实施例中, 当待测 RE需要加入已经建立的网络时, 该待测 RE可以向 该已经建立的网络中的 REC发送时延测量包,该时延测量包中携带有待测 RE 发送该时延测量包的第一时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when the RE to be tested needs to join an established network, the RE to be tested may send a delay measurement packet to the REC in the established network, and the delay measurement packet carries the information sent by the RE to be tested. The first moment of the delay measurement packet, and the routing information between the REC and the RE to be tested.

本实施例中的 REC与待测 RE之间通过传送 7|载网络互连。 由于该时延测量包中携带有 REC到待测 RE之间的路由信息, 所以该时 延测量包可以经过 REC与待测 RE之间的传送承载网被传输至 REC。 In this embodiment, the REC and the RE to be tested are interconnected through a transmission network. Since the delay measurement packet carries routing information between the REC and the RE to be tested, the delay measurement packet can be transmitted to the REC through the transmission bearer network between the REC and the RE to be tested.

需要说明的是, 为了保证时延测量的准确性, REC必须和待测 RE之间进 行过时间同步, 使得 REC的本地时钟和待测 RE的本地时钟保持一致。 It should be noted that, in order to ensure the accuracy of the delay measurement, time synchronization must be performed between the REC and the RE under test, so that the local clock of the REC is consistent with the local clock of the RE under test.

在实际应用中, 除了当待测 RE需要加入已经建立的网络时, 待测 RE可 以向 REC发送时延测量包之外, 待测 RE还可以在其他的时机向 REC发送时 延测量包, 例如当待测 RE侧的性能指标不满足预置条件, 或者是只需要测量 上行路径时延等情况, 具体此处不做限定。 In practical applications, in addition to sending a delay measurement packet to the REC when the RE to be tested needs to join an established network, the RE to be tested can also send a delay measurement packet to the REC at other times, for example When the performance index of the RE side to be tested does not meet the preset condition, or only the uplink path delay needs to be measured, the details are not limited here.

例如, 本实施例中, 待测 RE发送的时延测量包中携带的路由信息可以为 "RE4- ROUTER7-SERVER3- REC" , 其中, RE4为待测 RE, 该时延测量包中 携带的第一时刻可以为 150000500, 则表示待测 RE发送该时延测量包的时刻 为 15点 00分 00秒 500毫秒。 For example, in this embodiment, the routing information carried in the delay measurement packet sent by the RE to be tested may be "RE4-ROUTER7-SERVER3-REC", where RE4 is the RE to be tested, and the first delay measurement packet carried in the delay measurement packet A moment may be 150000500, which means that the time when the RE to be tested sends the delay measurement packet is 15:00:00:00:500 milliseconds.

602、 REC接收待测 RE发送的时延测量包; 602. The REC receives the delay measurement packet sent by the RE to be tested;

本实施例中, 当待测 RE希望加入已建立的网络时, REC可以从待测 RE 接收到时延测量包, 该时延测量包中携带有待测 RE发送该时延测量包的第一 时刻, 以及 REC到待测 RE之间的路由信息。 In this embodiment, when the RE to be tested wants to join an established network, the REC may receive a delay measurement packet from the RE to be tested, and the delay measurement packet carries the first time that the RE to be tested sends the delay measurement packet. time, and routing information between the REC and the RE under test.

REC接收到时延测量包的时候, 可以记录下接收到时延测量包的第二时 刻, 例如可以为 150000600, 则表示 REC接收到该时延测量包的时刻为 15点 00分 00秒 600毫秒。 When the REC receives the delay measurement packet, it can record the second moment of receiving the delay measurement packet. For example, it can be 150000600, which means that the moment when the REC receives the delay measurement packet is 15:00:00:00:600 milliseconds .

603、 REC向待测 RE发送第一时延响应包; 603. The REC sends a first delay response packet to the RE under test;

REC接收到待测 RE发送的时延测量包之后, 可以向该待测 RE发送第一 时延响应包, 该第一时延响应包中携带有 REC发送所述第一时延响应包的第 三时刻, 例如可以为 150000650, 则表示 REC发送该第一时延响应包的时刻 为 15点 00分 00秒 650毫秒, 需要说明的是, 15点 00分 00秒 600毫秒至 15 点 00分 00秒 650毫秒之间的时间可以是 REC内部处理的时长, 不考虑入路 径时延中。 After the REC receives the delay measurement packet sent by the RE under test, it may send a first delay response packet to the RE under test, and the first delay response packet carries the first delay response packet sent by the REC to the first delay response packet. Three times, for example, it can be 150000650, which means that the time when REC sends the first delay response packet is 15:00:00:00:650 milliseconds. The time between 650 milliseconds and 650 milliseconds may be the internal processing time of the REC, and is not taken into account in the path delay.

604、 待测 RE向 REC发送第二时延响应包; 604. The RE to be tested sends a second delay response packet to the REC;

待测 RE接收到 REC发送的第一时延响应包之后, 可以向 REC反馈第二 时延响应包, 该第二时延响应包中携带有待测 RE接收到第一时延响应包的第 四时刻, 例如可以为 150000690, 则表示待测 RE接收到第一时延响应包的时 刻为 15点 00分 00秒 690毫秒。 After the RE under test receives the first delay response packet sent by the REC, it may feed back a second delay response packet to the REC, and the second delay response packet carries the first delay response packet received by the RE under test. Four times, for example, may be 150000690, which means that the time when the RE under test receives the first delay response packet is 15:00:00:00:690 milliseconds.

605、 REC根据第一时刻以及第二时刻确定 REC与待测 RE之间的上行路 径时延; 605. The REC determines the uplink path delay between the REC and the RE under test according to the first moment and the second moment;

本实施例中, REC可以获知待测 RE发送时延测量包的第一时刻, 又可以 获取自身接收到该时延测量包的第二时刻, 所以 REC可以根据第一时刻以及 第二时刻确定 REC与待测 RE之间的上行路径时延。 In this embodiment, the REC can know the first moment when the RE to be tested sends the delay measurement packet, and can also obtain the second moment when it receives the delay measurement packet, so the REC can determine the REC according to the first moment and the second moment Uplink path delay with the RE under test.

具体的, REC可以将第二时刻与第一时刻之间的差值作为 REC与待测 RE 之间的上行路径时延。 Specifically, the REC may use the difference between the second moment and the first moment as the uplink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第一时刻为 15点 00分 00秒 500毫秒, 第 二时刻为 15点 00分 00秒 600毫秒, 则 REC可以将它们之间的差值, 即 100 毫秒, 作为 REC与待测 RE之间的上行路径时延。 In practical applications, the REC can learn that the first moment is 15:00:00:00:500 milliseconds, and the second moment is 15:00:00:00:600 milliseconds, and the REC can use the difference between them, that is, 100 milliseconds, as The uplink path delay between the REC and the RE under test.

或者, or,

REC还可以将第二时刻与第一时刻之间的差值加上预置的时延冗余量之 后的数值作为 REC与待测 RE之间的上行路径时延。 The REC may also use the difference between the second moment and the first moment plus a preset delay margin as the uplink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第一时刻为 15点 00分 00秒 500毫秒, 第 二时刻为 15点 00分 00秒 600毫秒, 则 REC可以将它们之间的差值, 即 100 毫秒, 加上预置的时延冗余量, 例如 30毫秒, 之后的数值, 即 130毫秒, 作 为 REC与待测 RE之间的上行路径时延。 In practical applications, the REC can learn that the first time is 15:00:00:00:500 milliseconds, and the second time is 15:00:00:00:600 milliseconds, then the REC can add the difference between them, that is, 100 milliseconds, to The preset delay margin, for example, 30 milliseconds, and the subsequent value, namely 130 milliseconds, are used as the uplink path delay between the REC and the RE to be tested.

需要说明的是, 该时延冗余量为可变参数, 其具体与当前传送承载网的拥 塞程度和 /或业务类型有关, 例如拥塞程度越高, 则该时延冗余量越大, P2P 业务越多, 则该时延冗余量越大, 反之亦然, 可以理解的是, 在实际应用中, 该时延冗余量还可以与传送承载网的其他因素相关, 具体此处不做限定。 It should be noted that the delay redundancy is a variable parameter, which is specifically related to the congestion degree and/or service type of the current transport bearer network. For example, the higher the congestion degree, the greater the delay redundancy. P2P The more services, the greater the delay redundancy, and vice versa. It can be understood that, in practical applications, the delay redundancy can also be related to other factors of the transport bearer network, which will not be discussed in detail here limited.

606、 REC根据第四时刻以及第三时刻确定 REC与待测 RE之间的下行路 径时延。 606. The REC determines the downlink path delay between the REC and the RE under test according to the fourth moment and the third moment.

本实施例中, REC可以获知 REC发送第一时延响应包的第三时刻, 又可 以获取待测 RE接收到该第一时延响应包的第四时刻, 所以 REC可以根据第 三时刻以及第四时刻确定 REC与待测 RE之间的下行路径时延。 In this embodiment, the REC can know the third moment when the REC sends the first delay response packet, and can also obtain the fourth moment when the RE to be tested receives the first delay response packet, so the REC can use the third moment and the first delay response packet Fourth, determine the downlink path delay between the REC and the RE to be tested.

具体的, REC可以将第四时刻与第三时刻之间的差值作为 REC与待测 RE 之间的下行路径时延。 Specifically, REC can use the difference between the fourth moment and the third moment as the difference between REC and the RE to be tested The downlink path delay between them.

在实际应用中, REC可以获知第三时刻为 15点 00分 00秒 650毫秒, 第 四时刻为 15点 00分 00秒 690毫秒, 则 REC可以将它们之间的差值, 即 40 毫秒, 作为 REC与待测 RE之间的下行路径时延。 In practical applications, the REC can learn that the third moment is 15:00:00:00:650 milliseconds, and the fourth moment is 15:00:00:00:00:690 milliseconds, then the REC can use the difference between them, that is, 40 milliseconds, as The downlink path delay between the REC and the RE under test.

或者, or,

REC还可以将第四时刻与第三时刻之间的差值加上预置的时延冗余量之 后的数值作为 REC与待测 RE之间的下行路径时延。 The REC may also use the difference between the fourth moment and the third moment plus a preset delay margin as the downlink path delay between the REC and the RE to be tested.

在实际应用中, REC可以获知第三时刻为 15点 00分 00秒 650毫秒, 第 四时刻为 15点 00分 00秒 690毫秒, 则 REC可以将它们之间的差值, 即 40 毫秒, 加上预置的时延冗余量, 例如 30毫秒, 之后的数值, 即 70毫秒, 作为 REC与待测 RE之间的下行路径时延。 In practical applications, the REC can learn that the third moment is 15:00:00:00:650 milliseconds, and the fourth moment is 15:00:00:00:690 milliseconds, then the REC can add the difference between them, that is, 40 milliseconds, to The preset delay margin, for example, 30 milliseconds, and the subsequent value, that is, 70 milliseconds, are used as the downlink path delay between the REC and the RE to be tested.

需要说明的是, 该时延冗余量为可变参数, 其具体与当前传送承载网的拥 塞程度和 /或业务类型有关, 例如拥塞程度越高, 则该时延冗余量越大, P2P 业务越多, 则该时延冗余量越大, 反之亦然, 可以理解的是, 在实际应用中, 该时延冗余量还可以与传送承载网的其他因素相关, 具体此处不做限定。 It should be noted that the delay redundancy is a variable parameter, which is specifically related to the congestion degree and/or service type of the current transport bearer network. For example, the higher the congestion degree, the greater the delay redundancy. P2P The more services, the greater the delay redundancy, and vice versa. It can be understood that, in practical applications, the delay redundancy can also be related to other factors of the transport bearer network, which will not be discussed in detail here limited.

本实施例中, 步骤 605与步骤 606之间没有执行的先后顺序, 可以先执行 步骤 605 , 也可以先执行步骤 606, 还可以同时执行步骤 605以及步骤 606, 具体此处不做限定。 In this embodiment, there is no order of execution between step 605 and step 606, and step 605 may be executed first, or step 606 may be executed first, or step 605 and step 606 may be executed at the same time, which is not specifically limited here.

上面的实施例中均以一次确定路径时延为例进行说明, 可以理解的是,在 实际应用中,还可以在某预置的周期内,通过上述时延测量包和时延响应包对 REC与待测 RE之间的上行路径时延和 /或下行路径时延进行多次测量, 得到 多个备选上行路径时延和 /或多个备选下行路径时延; In the above embodiments, the path delay is determined once as an example for illustration. It can be understood that in a practical application, the REC performing multiple measurements on the uplink path delay and/or the downlink path delay between the RE to be tested to obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays;

然后将备选上行路径时延中的最大值作为 REC与待测 RE之间的上行路 径时延, 和 /或, 将备选下行路径时延中的最大值作为 REC与待测 RE之间的 下行路径时延。 Then use the maximum value of the candidate uplink path delays as the uplink path delay between the REC and the RE to be tested, and/or use the maximum value of the candidate downlink path delays as the time delay between the REC and the RE to be tested Downlink path delay.

例如, 在 5分钟的周期内, 共对路径时延测量了 5次, 其中, 备选上行路 径时延为 70毫秒, 65毫秒, 80毫秒, 120毫秒以及 50毫秒, 备选下行路径 时延为 55毫秒, 40毫秒, 40毫秒, 50毫秒以及 35毫秒, 则可以将备选上行 路径时延中的最大值 120毫秒, 或者是平均值 77毫秒作为上行路径时延, 且 可以将备选下行路径时延中的最大值 55毫秒,或者是平均值 44毫秒作为下行 路径时延。 For example, within a period of 5 minutes, the path delays are measured 5 times in total, wherein, the candidate uplink path delays are 70 milliseconds, 65 milliseconds, 80 milliseconds, 120 milliseconds and 50 milliseconds, and the candidate downlink path delays are 55 milliseconds, 40 milliseconds, 40 milliseconds, 50 milliseconds and 35 milliseconds, then the maximum value of the alternative uplink path delay is 120 milliseconds, or the average value of 77 milliseconds is used as the uplink path delay, and The maximum value of 55 milliseconds or the average value of 44 milliseconds among the alternative downlink path delays can be used as the downlink path delay.

可以理解的是,在实际应用中,还可以采用更多的方式从备选上行路径时 延和备选下行路径时延中选择出上行路径时延以及下行路径时延,具体此处不 再赘述。 It can be understood that in practical applications, more methods can be used to select the uplink path delay and the downlink path delay from the candidate uplink path delay and the candidate downlink path delay, and details will not be described here. .

本实施例中, 待测 RE可以向 REC发送时延测量包, 该时延测量包中携 带有待测 RE发送时延测量包的第一时刻,以及 REC到待测 RE之间的路由信 息, REC可以获知自身接收到该时延测量包的第二时刻, 随后, REC可以向 待测 RE反馈第一时延响应包, 该第一时延响应包中携带有 REC发送该第一 时延响应包的第三时刻, 并且 REC可以从待测 RE接收到第二时延响应包, 该第二时延响应包中携带有待测 RE接收到第一时延响应包的第四时刻。 In this embodiment, the RE to be tested may send a delay measurement packet to the REC, and the delay measurement packet carries the first moment when the RE to be tested sends the delay measurement packet, and routing information between the REC and the RE to be tested, The REC can know the second moment when it receives the delay measurement packet, and then, the REC can feed back the first delay response packet to the RE to be tested, and the first delay response packet carries the first delay response sent by the REC. packet, and the REC may receive a second delay response packet from the RE under test, where the second delay response packet carries a fourth time when the RE under test receives the first delay response packet.

则 REC可以根据该第一时刻和第二时刻确定 REC与待测 RE之间的上行 路径时延, 且可以根据第三时刻和第四时刻确定 REC与待测 RE之间的下行 路径时延,所以本发明实施例可以采用在实际传输的数据包或测量包中增加时 间戳的方式来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近 于实际的应用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够 准确的对基于传送 7|载网络互连的 REC与 RE之间的路径时延进行测量。 Then the REC can determine the uplink path delay between the REC and the RE under test according to the first moment and the second moment, and can determine the downlink path delay between the REC and the RE under test according to the third moment and the fourth moment, Therefore, in the embodiment of the present invention, the precise path delay at both ends can be measured by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path delay is closer to the actual application environment and more accurate. It reflects the influence of various factors in the actual application environment, so it can accurately measure the path delay between REC and RE based on transport network interconnection.

上面对本发明实施例中的路径时延测量方法进行了描述,下面对本发明实 施例中的路径时延测量系统进行描述, 请参阅图 7, 本发明路径时延测量系统 一个实施例包括: The path delay measurement method in the embodiment of the present invention is described above, and the path delay measurement system in the embodiment of the present invention is described below. Please refer to FIG. 7, an embodiment of the path delay measurement system in the present invention includes:

无线设备控制器 701以及待测无线设备 702; A wireless device controller 701 and a wireless device to be tested 702;

无线设备控制器 701与所述待测无线设备 702之间通过传送承载网络互 连, 且已进行过时间同步; 所述时延测量包中携带有无线设备控制器 701 发送所述时延测量包的第一时 刻, 以及无线设备控制器 701到所述待测 RE之间的路由信息, 接收所述待测 无线设备 702反馈的时延响应包,所述时延响应包中携带有所述待测无线设备 702接收到所述时延测量包的第二时刻, 根据所述第一时刻以及所述第二时刻 确定无线设备控制器 701与所述待测无线设备 702之间的下行路径时延; 所述待测无线设备 702用于接收无线设备控制器 701发送的时延测量包, 向无线设备控制器 701发送时延响应包,所述时延响应包中携带有所述待测无 线设备 702接收到所述时延测量包的第二时刻。 The wireless device controller 701 and the wireless device under test 702 are interconnected through a transmission bearer network, and time synchronization has been performed; the delay measurement packet carries the wireless device controller 701 to send the delay measurement packet and the routing information between the wireless device controller 701 and the RE under test, receiving the delay response packet fed back by the wireless device under test 702, the delay response packet carrying the The second moment when the wireless device under test 702 receives the delay measurement packet, and determine the downlink path delay between the wireless device controller 701 and the wireless device under test 702 according to the first moment and the second moment ; The wireless device under test 702 is configured to receive a delay measurement packet sent by the wireless device controller 701, and send a delay response packet to the wireless device controller 701, the delay response packet carrying the wireless device under test 702 The second moment when the delay measurement packet is received.

本实施例中的时延响应包中还可以进一步携带有所述待测无线设备 702 发送所述时延响应包的第三时刻; The delay response packet in this embodiment may further carry the third moment when the wireless device under test 702 sends the delay response packet;

无线设备控制器 701 还用于根据所述第三时刻以及第四时刻确定所述无 线设备控制器 701与所述待测无线设备 702之间的上行路径时延,所述第四时 刻为无线设备控制器 701接收到所述时延测量包的时刻。 The wireless device controller 701 is further configured to determine the uplink path delay between the wireless device controller 701 and the wireless device under test 702 according to the third moment and the fourth moment, the fourth moment is the time delay of the wireless device The time when the controller 701 receives the delay measurement packet.

本实施例中,无线设备控制器 701还用于通过所述时延测量包和所述时延 响应包对无线设备控制器 701与待测无线设备 702之间的上行路径时延和 /或 下行路径时延进行多次测量, 得到多个备选上行路径时延和 /或多个备选下行 路径时延,并将所述备选上行路径时延中的最大值或平均值作为无线设备控制 器 701与所述待测无线设备 702之间的上行路径时延, 和 /或, 将所述备选下 行路径时延中的最大值或平均值作为无线设备控制器 701 与所述待测无线设 备 702之间的下行路径时延。 In this embodiment, the wireless device controller 701 is also configured to measure the uplink path delay and/or downlink path delay between the wireless device controller 701 and the wireless device 702 to be tested through the delay measurement packet and the delay response packet. The path delay is measured multiple times to obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays, and use the maximum or average value of the candidate uplink path delays as the wireless device control The uplink path delay between the controller 701 and the wireless device under test 702, and/or, using the maximum or average value of the candidate downlink path delays as the distance between the wireless device controller 701 and the wireless device under test Downlink path delay between devices 702.

本实施例中的路径时延测量系统中无线设备控制器 701 与待测无线设备 702之间的具体交互过程以及方式与前述图 3所示实施例中描述的内容类似, 此处不再赘述。 包, 该时延测量包中携带有无线设备控制器 701发送时延测量包的第一时刻, 以及无线设备控制器 701到待测无线设备 702之间的路由信息, 随后, 无线设 备控制器 701可以接收到待测无线设备 702反馈的时延响应包,该时延响应包 中携带有待测无线设备 702接收到时延测量包的第二时刻以及待测无线设备 702发送时延响应包的第三时刻, 无线设备控制器 701能够获知接收到该时延 响应包的第四时刻。 The specific interaction process and method between the wireless device controller 701 and the wireless device under test 702 in the path delay measurement system in this embodiment are similar to those described in the embodiment shown in FIG. 3 above, and will not be repeated here. packet, the delay measurement packet carries the first moment when the wireless device controller 701 sends the delay measurement packet, and the routing information between the wireless device controller 701 and the wireless device 702 to be tested, and subsequently, the wireless device controller 701 The delay response packet fed back by the wireless device under test 702 may be received, and the delay response packet carries the second moment when the wireless device under test 702 receives the delay measurement packet and the time when the wireless device under test 702 sends the delay response packet At the third moment, the wireless device controller 701 can know the fourth moment when the delay response packet is received.

则无线设备控制器 701 可以根据该第一时刻和第二时刻确定无线设备控 制器 701与待测无线设备 702之间的下行路径时延,且可以根据第三时刻和第 四时刻确定无线设备控制器 701与待测无线设备 702之间的上行路径时延,所 以本发明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式 来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实际的应 用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基 于传送承载网络互连的无线设备控制器 701与待测无线设备 702之间的路径时 延进行测量。 Then the wireless device controller 701 can determine the downlink path delay between the wireless device controller 701 and the wireless device 702 to be tested according to the first moment and the second moment, and can determine the wireless device control time delay according to the third moment and the fourth moment. The uplink path delay between the device 701 and the wireless device under test 702, so the embodiment of the present invention can adopt the method of adding a time stamp in the actually transmitted data packet or measurement packet to measure the precise path delay at both ends, so that the measured path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment. The path delay between the connected wireless device controller 701 and the wireless device 702 under test is measured.

请参阅图 8, 本发明路径时延测量系统一个实施例包括: Please refer to FIG. 8, an embodiment of the path delay measurement system of the present invention includes:

无线设备控制器 801以及待测无线设备 802; A wireless device controller 801 and a wireless device to be tested 802;

所述无线设备控制器 801与所述待测无线设备 802之间通过传送承载网络 互连, 且已进行过时间同步; The wireless device controller 801 and the wireless device under test 802 are interconnected through a transmission bearer network, and time synchronization has been performed;

所述待测无线设备 802用于向所述无线设备控制器 801发送时延测量包, 所述时延测量包中携带有所述待测无线设备 802发送所述时延测量包的第一 时刻,以及所述待测无线设备 802到所述无线设备控制器 801之间的路由信息; 所述无线设备控制器 801接收所述待测无线设备 802发送的时延测量包, 根据所述第一时刻以及第二时刻确定所述无线设备控制器 801 与所述待测无 线设备 802之间的上行路径时延, 所述第二时刻为所述无线设备控制器 801 接收到所述时延测量包的时刻。 The wireless device under test 802 is configured to send a delay measurement packet to the wireless device controller 801, and the delay measurement packet carries a first moment when the wireless device 802 under test sends the delay measurement packet , and routing information between the wireless device under test 802 and the wireless device controller 801; the wireless device controller 801 receives the delay measurement packet sent by the wireless device under test 802, and according to the first The time and the second time determine the uplink path delay between the wireless device controller 801 and the wireless device 802 to be tested, and the second time is when the wireless device controller 801 receives the delay measurement packet moment.

本实施例中,无线设备控制器 801还可以进一步用于向所述待测无线设备 802发送第一时延响应包, 所述第一时延响应包中携带有所述无线设备控制器 801发送所述第一时延响应包的第三时刻, 接收所述待测无线设备 802发送的 第二时延响应包,所述第二时延响应包中携带有所述待测无线设备 802接收到 所述第一时延响应包的第四时刻,根据所述第三时刻以及所述第四时刻确定所 述无线设备控制器 801与所述待测无线设备 802之间的下行路径时延; In this embodiment, the wireless device controller 801 may be further configured to send a first delay response packet to the wireless device under test 802, and the first delay response packet carries the information sent by the wireless device controller 801. At the third moment of the first delay response packet, receive the second delay response packet sent by the wireless device under test 802, the second delay response packet carrying the The fourth moment of the first delay response packet, determining the downlink path delay between the wireless device controller 801 and the wireless device under test 802 according to the third moment and the fourth moment;

所述待测无线设备 802还用于接收所述无线设备控制器 801发送的第一时 延响应包, 向所述无线设备控制器 801发送第二时延响应包。 The wireless device under test 802 is further configured to receive the first delay response packet sent by the wireless device controller 801, and send a second delay response packet to the wireless device controller 801.

本实施例中,无线设备控制器 801还可以进一步用于通过所述时延测量包 和所述时延响应包对所述无线设备控制器 801与所述待测无线设备 802之间的 上行路径时延和 /或下行路径时延进行多次测量, 得到多个备选上行路径时延 和 /或多个备选下行路径时延, 并将所述备选上行路径时延中的最大值或平均 值作为所述无线设备控制器 801与所述待测无线设备 802之间的上行路径时 延, 和 /或, 将所述备选下行路径时延中的最大值或平均值作为所述无线设备 控制器 801与所述待测无线设备 802之间的下行路径时延。 In this embodiment, the wireless device controller 801 may be further configured to use the delay measurement packet and the delay response packet to monitor the uplink path between the wireless device controller 801 and the wireless device 802 to be tested. Delay and/or downlink path delay are measured multiple times to obtain multiple candidate uplink path delays and/or multiple candidate downlink path delays, and taking the maximum value or The average value is used as the uplink path delay between the wireless device controller 801 and the wireless device under test 802, and/or, the maximum or average value of the candidate downlink path delays is used as the wireless equipment The downlink path delay between the controller 801 and the wireless device 802 to be tested.

本实施例中的路径时延测量系统中无线设备控制器 801 与待测无线设备 802之间的具体交互过程以及方式与前述图 6所示实施例中描述的内容类似, 此处不再赘述。 The specific interaction process and method between the wireless device controller 801 and the wireless device 802 to be tested in the path delay measurement system in this embodiment are similar to those described in the foregoing embodiment shown in FIG. 6 , and will not be repeated here.

本实施例中,待测无线设备 802可以向无线设备控制器 801发送时延测量 包, 该时延测量包中携带有待测无线设备 802发送时延测量包的第一时刻, 以 及无线设备控制器 801到待测无线设备 802之间的路由信息,无线设备控制器 801可以获知自身接收到该时延测量包的第二时刻,随后,无线设备控制器 801 可以向待测无线设备 802反馈第一时延响应包,该第一时延响应包中携带有无 线设备控制器 801 发送该第一时延响应包的第三时刻, 并且无线设备控制器 801可以从待测无线设备 802接收到第二时延响应包, 该第二时延响应包中携 带有待测无线设备 802接收到第一时延响应包的第四时刻。 In this embodiment, the wireless device to be tested 802 may send a delay measurement packet to the wireless device controller 801, and the delay measurement packet carries the first moment when the wireless device to be tested 802 sends the delay measurement packet, and the wireless device control The wireless device controller 801 can know the second moment when it receives the delay measurement packet, and then the wireless device controller 801 can feed back the second time delay measurement packet to the wireless device 802 to be tested. A delay response packet, the first delay response packet carries the third moment when the wireless device controller 801 sends the first delay response packet, and the wireless device controller 801 can receive the first delay response packet from the wireless device 802 to be tested Two delay response packets, where the second delay response packet carries the fourth moment when the wireless device 802 under test receives the first delay response packet.

则无线设备控制器 801 可以根据该第一时刻和第二时刻确定无线设备控 制器 801与待测无线设备 802之间的上行路径时延,且可以根据第三时刻和第 四时刻确定无线设备控制器 801与待测无线设备 802之间的下行路径时延,所 以本发明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式 来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实际的应 用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基 于传送承载网络互连的无线设备控制器 801与待测无线设备 802之间的路径时 延进行测量。 Then the wireless device controller 801 can determine the uplink path delay between the wireless device controller 801 and the wireless device 802 to be tested according to the first moment and the second moment, and can determine the wireless device control time delay according to the third moment and the fourth moment. The downlink path delay between the device 801 and the wireless device to be tested 802, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measurement The resulting path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so it can accurately determine the wireless device controller 801 based on the transmission bearer network interconnection and the wireless device to be tested. The path delay between 802 is measured.

上面从系统的角度对无线设备控制器与待测无线设备之间的交互进行了 描述, 下面从独立设备的角度进行描述, 请参阅图 9, 本发明实施例中无线设 备控制器一个实施例包括: 量包,所述时延测量包中携带有无线设备控制器发送所述时延测量包的第一时 刻, 以及无线设备控制器到所述待测无线设备之间的路由信息; The above describes the interaction between the wireless device controller and the wireless device under test from the perspective of the system, and the following describes it from the perspective of an independent device. Please refer to FIG. 9, an embodiment of the wireless device controller in the embodiment of the present invention includes : a measurement packet, the delay measurement packet carries the first moment when the wireless device controller sends the delay measurement packet, and the routing information between the wireless device controller and the wireless device to be tested;

第一接收单元 902, 用于接收所述待测无线设备反馈的时延响应包, 所述 时延响应包中携带有所述待测无线设备接收到所述时延测量包的第二时刻; 第一下行确定单元 903 , 用于根据所述第一时刻以及所述第二时刻确定无 线设备控制器与所述待测无线设备之间的下行路径时延; The first receiving unit 902 is configured to receive a delay response packet fed back by the wireless device under test, where the delay response packet carries a second moment when the wireless device under test receives the delay measurement packet; The first downlink determining unit 903 is configured to determine whether there is The downlink path delay between the line device controller and the wireless device to be tested;

无线设备控制器与所述待测无线设备之间通过传送承载网络互连。 The wireless device controller is interconnected with the wireless device under test through a transmission bearer network.

本实施例中的时延响应包中还可以进一步携带有所述待测无线设备发送 所述时延响应包的第三时刻; The delay response packet in this embodiment may further carry the third moment when the wireless device under test sends the delay response packet;

则所述无线设备控制器还可以进一步包括: Then the wireless device controller may further include:

第一上行确定单元 904, 用于根据所述第三时刻以及第四时刻确定无线设 备控制器与所述待测无线设备之间的上行路径时延; The first uplink determining unit 904 is configured to determine the uplink path delay between the wireless device controller and the wireless device under test according to the third moment and the fourth moment;

所述第四时刻为无线设备控制器接收到所述时延测量包的时刻。 与前述图 1至图 3所示实施例中描述的有关无线设备控制器的内容类似,此处 不再赘述。 The fourth moment is the moment when the wireless device controller receives the delay measurement packet. It is similar to the content about the wireless device controller described in the foregoing embodiments shown in FIGS. 1 to 3 , and will not be repeated here.

本实施例中, 第一发送单元 901可以向待测无线设备发送时延测量包, 该 时延测量包中携带有所述无线设备控制器发送时延测量包的第一时刻,以及无 线设备控制器到待测无线设备之间的路由信息, 随后, 第一接收单元 902可以 接收到待测无线设备反馈的时延响应包,该时延响应包中携带有待测无线设备 接收到时延测量包的第二时刻,则第一下行确定单元 903可以根据该第一时刻 和第二时刻确定无线设备控制器与待测无线设备之间的下行路径时延,所以本 发明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式来测 量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实际的应用环 境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基于传 送承载网络互连的无线设备控制器与待测无线设备之间的路径时延进行测量。 In this embodiment, the first sending unit 901 may send a delay measurement packet to the wireless device to be tested, and the delay measurement packet carries the first moment when the wireless device controller sends the delay measurement packet, and the wireless device control Then, the first receiving unit 902 can receive the delay response packet fed back by the wireless device under test, and the delay response packet carries the delay measurement received by the wireless device under test. packet at the second moment, the first downlink determining unit 903 can determine the downlink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment, so the embodiment of the present invention can be used in The method of adding time stamps to the actual transmitted data packets or measurement packets is used to measure the precise path delay at both ends, so that the measured path delay is closer to the actual application environment, and can better reflect the actual application environment. Therefore, the path delay between the wireless device controller interconnected based on the transport bearer network and the wireless device under test can be accurately measured.

上面从功能化模块的角度对本发明实施例中的无线设备控制器进行了描 述, 请参阅图 10, 本发明实施例中无线设备控制器另一实施例包括: The above describes the wireless device controller in the embodiment of the present invention from the perspective of functional modules. Please refer to FIG. 10, another embodiment of the wireless device controller in the embodiment of the present invention includes:

第一输入装置 1001、 第一输出装置 1002以及第一处理器 1003; A first input device 1001, a first output device 1002 and a first processor 1003;

所述第一处理器 1003执行如下流程: 携带有无线设备控制器发送所述时延测量包的第一时刻,以及无线设备控制器 到所述待测无线设备之间的路由信息,接收所述待测无线设备反馈的时延响应 包,所述时延响应包中携带有所述待测无线设备接收到所述时延测量包的第二 时刻,根据所述第一时刻以及所述第二时刻确定无线设备控制器与所述待测无 线设备之间的下行路径时延; The first processor 1003 executes the following procedure: carrying the first moment when the wireless device controller sends the delay measurement packet, and the routing information between the wireless device controller and the wireless device to be tested, receiving the Delayed response to feedback from the wireless device under test packet, the delay response packet carries the second time when the wireless device under test receives the delay measurement packet, and the wireless device controller and the wireless device controller are determined according to the first time and the second time The downlink path delay between the wireless devices to be tested;

无线设备控制器与所述待测无线设备之间通过传送承载网络互连。 The wireless device controller is interconnected with the wireless device under test through a transmission bearer network.

本实施例中,时延响应包中还携带有所述待测无线设备发送所述时延响应 包的第三时刻; In this embodiment, the delay response packet also carries the third moment when the wireless device under test sends the delay response packet;

所述第一处理器 1003还执行如下流程: The first processor 1003 also executes the following process:

根据所述第三时刻以及第四时刻确定无线设备控制器与所述待测无线设 备之间的上行路径时延; Determine the uplink path delay between the wireless device controller and the wireless device under test according to the third moment and the fourth moment;

所述第四时刻为无线设备控制器接收到所述时延测量包的时刻。 The fourth moment is the moment when the wireless device controller receives the delay measurement packet.

本实施例中, 第一处理器 1003可以向待测无线设备发送时延测量包, 该 时延测量包中携带有所述无线设备控制器发送时延测量包的第一时刻,以及无 线设备控制器到待测无线设备之间的路由信息, 随后, 第一处理器 1003可以 接收到待测无线设备反馈的时延响应包,该时延响应包中携带有待测无线设备 接收到时延测量包的第二时刻, 则第一处理器 1003可以根据该第一时刻和第 二时刻确定无线设备控制器与待测无线设备之间的下行路径时延,所以本发明 实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式来测量两 端的精确路径时延, 使得这样测量出来的路径时延更贴近于实际的应用环境, 也更能体现出实际应用环境中各种因素的影响,因此能够准确的对基于传送 7 载网络互连的无线设备控制器与待测无线设备之间的路径时延进行测量。 In this embodiment, the first processor 1003 may send a delay measurement packet to the wireless device to be tested, and the delay measurement packet carries the first moment when the wireless device controller sends the delay measurement packet, and the wireless device control Then, the first processor 1003 may receive the delay response packet fed back by the wireless device under test, and the delay response packet carries the delay measurement received by the wireless device under test. packet at the second moment, the first processor 1003 can determine the downlink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment, so the embodiment of the present invention can be used in the actual transmission The precise path delay at both ends is measured by adding time stamps in the data packets or measurement packets, so that the path delay measured in this way is closer to the actual application environment, and can better reflect the various factors in the actual application environment. Therefore, it is possible to accurately measure the path delay between the wireless device controller and the wireless device under test based on the 7-carrier network interconnection.

上面描述了本发明实施例中的无线设备控制器,下面描述与该无线设备控 制器对应的待测无线设备, 具体请参阅图 11 , 本发明实施例中待测无线设备 一个实施例包括: The wireless device controller in the embodiment of the present invention is described above, and the wireless device to be tested corresponding to the wireless device controller is described below. Please refer to FIG. 11 for details. An embodiment of the wireless device to be tested in the embodiment of the present invention includes:

第二接收单元 1101 , 用于接收已进行过时间同步的无线设备控制器发送 的时延测量包,所述时延测量包中携带有无线设备控制器发送所述时延测量包 的第一时刻, 以及无线设备控制器到待测无线设备之间的路由信息; The second receiving unit 1101 is configured to receive a delay measurement packet sent by the wireless device controller that has been time-synchronized, and the delay measurement packet carries the first time when the wireless device controller sends the delay measurement packet , and routing information between the wireless device controller and the wireless device under test;

第二发送单元 1102, 用于向无线设备控制器发送时延响应包, 所述时延 响应包中携带有待测无线设备接收到所述时延测量包的第二时刻; The second sending unit 1102 is configured to send a delay response packet to the wireless device controller, where the delay response packet carries a second moment when the wireless device under test receives the delay measurement packet;

使得无线设备控制器根据所述第一时刻以及所述第二时刻确定无线设备 前述图 1至图 3所示实施例中描述的有关待测无线设备的内容类似,此处不再 本实施例中, 第二接收单元 1101可以从无线设备控制器接收到时延测量 包, 该时延测量包中携带有无线设备控制器发送时延测量包的第一时刻, 以及 无线设备控制器到待测无线设备之间的路由信息, 随后, 第二发送单元 1102 可以向无线设备控制器发送时延响应包,所述时延响应包中携带有待测无线设 备接收到所述时延测量包的第二时刻,则使得无线设备控制器可以根据该第一 时刻和第二时刻确定无线设备控制器与待测无线设备之间的下行路径时延,所 以本发明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式 来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实际的应 用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基 于传送承载网络互连的无线设备控制器与待测无线设备之间的路径时延进行 测量。 making the wireless device controller determine the wireless device according to the first moment and the second moment The content about the wireless device to be tested described in the foregoing embodiments shown in FIGS. The delay measurement packet carries the first moment when the wireless device controller sends the delay measurement packet, and the routing information between the wireless device controller and the wireless device to be tested. Then, the second sending unit 1102 can send the wireless device controller Sending a delay response packet, the delay response packet carries the second moment when the wireless device to be tested receives the delay measurement packet, so that the wireless device controller can determine the wireless device according to the first moment and the second moment. The downlink path delay between the device controller and the wireless device to be tested, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measurement The resulting path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment. Therefore, it can accurately determine the connection between the wireless device controller and the wireless device under test based on the transmission bearer network interconnection. Measure the path delay between them.

阅图 12, 本发明实施例中待测无线设备另一实施例包括: Referring to Figure 12, another embodiment of the wireless device to be tested in the embodiment of the present invention includes:

第二输入装置 1201、 第二输出装置 1202以及第二处理器 1203; A second input device 1201, a second output device 1202 and a second processor 1203;

所述第二处理器 1203执行如下流程: The second processor 1203 executes the following process:

接收已进行过时间同步的无线设备控制器发送的时延测量包,所述时延测 量包中携带有无线设备控制器发送所述时延测量包的第一时刻,以及无线设备 控制器到待测无线设备之间的路由信息, 向无线设备控制器发送时延响应包, 所述时延响应包中携带有待测无线设备接收到所述时延测量包的第二时刻,使 得无线设备控制器根据所述第一时刻以及所述第二时刻确定无线设备控制器 与待测无线设备之间的下行路径时延; receiving a delay measurement packet sent by the wireless device controller that has been time-synchronized, the delay measurement packet carrying the first moment when the wireless device controller sends the delay measurement packet, and the time delay measurement packet sent by the wireless device controller Measuring the routing information between the wireless devices, sending a delay response packet to the wireless device controller, the delay response packet carrying the second moment when the wireless device to be tested receives the delay measurement packet, so that the wireless device control The controller determines the downlink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment;

无线设备控制器与待测无线设备之间通过传送承载网络互连。 The wireless device controller and the wireless device to be tested are interconnected through a transport bearer network.

本实施例中,第二处理器 1203可以从无线设备控制器接收到时延测量包, 该时延测量包中携带有无线设备控制器发送时延测量包的第一时刻,以及无线 设备控制器到待测无线设备之间的路由信息, 随后, 第二处理器 1203可以向 无线设备控制器发送时延响应包,所述时延响应包中携带有待测无线设备接收 到所述时延测量包的第二时刻,则使得无线设备控制器可以根据该第一时刻和 第二时刻确定无线设备控制器与待测无线设备之间的下行路径时延,所以本发 明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式来测量 两端的精确路径时延, 使得这样测量出来的路径时延更贴近于实际的应用环 境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基于传 送承载网络互连的无线设备控制器与待测无线设备之间的路径时延进行测量。 In this embodiment, the second processor 1203 may receive the delay measurement packet from the wireless device controller, The delay measurement packet carries the first moment when the wireless device controller sends the delay measurement packet, and the routing information between the wireless device controller and the wireless device to be tested. Then, the second processor 1203 can send the wireless device controller The delay response packet is sent by the controller, and the delay response packet carries the second moment when the wireless device to be tested receives the delay measurement packet, so that the wireless device controller can determine according to the first moment and the second moment The downlink path delay between the wireless device controller and the wireless device to be tested, so the embodiment of the present invention can measure the precise path delay at both ends by adding time stamps to the actually transmitted data packets or measurement packets, so that The measured path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so it can accurately measure the wireless device controller and the wireless device under test based on the interconnection of the transmission bearer network. The path delay between the two is measured.

上面对由无线设备控制器主动向待测无线设备发送数据包或测量包以确 定无线设备控制器与待测无线设备之间的路径时延的情况进行了描述,下面对 由待测无线设备主动向无线设备控制器发送数据包或测量包以确定无线设备 控制器与待测无线设备之间的路径时延的情况进行描述: The above describes the situation that the wireless device controller actively sends data packets or measurement packets to the wireless device under test to determine the path delay between the wireless device controller and the wireless device under test. Describe the situation where the device actively sends data packets or measurement packets to the wireless device controller to determine the path delay between the wireless device controller and the wireless device under test:

请参阅图 13 , 本发明实施例中无线设备另一实施例包括: Please refer to FIG. 13, another embodiment of the wireless device in the embodiment of the present invention includes:

获取单元 1301 , 用于获取待测无线设备发送时延测量包的第一时刻; 第三发送单元 1302, 用于向已进行过时间同步的无线设备控制器发送时 延测量包,所述时延测量包中携带有所述待测无线设备发送所述时延测量包的 第一时刻, 以及待测无线设备到无线设备控制器之间的路由信息; The obtaining unit 1301 is configured to obtain the first moment when the wireless device to be tested sends the delay measurement packet; the third sending unit 1302 is configured to send the delay measurement packet to the wireless device controller that has performed time synchronization, the delay The measurement packet carries the first moment when the wireless device under test sends the delay measurement packet, and the routing information between the wireless device under test and the wireless device controller;

使得无线设备控制器根据所述第一时刻以及第二时刻确定无线设备控制 器与待测无线设备之间的上行路径时延; Make the wireless device controller determine the uplink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment;

所述第二时刻为无线设备控制器接收到所述时延测量包的时刻; 无线设备控制器与待测无线设备之间通过传送承载网络互连。 The second moment is the moment when the wireless device controller receives the delay measurement packet; the wireless device controller and the wireless device to be tested are interconnected through a transmission bearer network.

本实施例中的待测无线设备还可以进一步包括: The wireless device under test in this embodiment may further include:

第三接收单元 1303 , 用于接收无线设备控制器发送的第一时延响应包, 所述第一时延响应包中携带有无线设备控制器发送所述第一时延响应包的第 三时刻; The third receiving unit 1303 is configured to receive the first delay response packet sent by the wireless device controller, where the first delay response packet carries the third time when the wireless device controller sends the first delay response packet ;

第四发送单元 1304, 用于向无线设备控制器发送第二时延响应包, 所述 第二时延响应包中携带有待测无线设备接收到所述第一时延响应包的第四时 刻; 使得无线设备控制器根据所述第三时刻以及所述第四时刻确定无线设备 控制器与所述待测无线设备之间的下行路径时延。 The fourth sending unit 1304 is configured to send a second delay response packet to the wireless device controller, where the second delay response packet carries a fourth time when the wireless device under test receives the first delay response packet ; Making the wireless device controller determine the downlink path delay between the wireless device controller and the wireless device under test according to the third moment and the fourth moment.

前述图 4至图 6所示实施例中描述的有关待测无线设备的内容类似,此处不再 本实施例中,第三发送单元 1302可以向无线设备控制器发送时延测量包, 该时延测量包中携带有待测无线设备发送时延测量包的第一时刻,以及无线设 备控制器到待测无线设备之间的路由信息,无线设备控制器可以获知自身接收 到该时延测量包的第二时刻, 随后, 无线设备控制器可以向待测无线设备反馈 第一时延响应包, 则第三接收单元 1303可以接收到该第一时延响应包, 第一 时延响应包中携带有无线设备控制器发送该第一时延响应包的第三时刻,并且 无线设备控制器可以从待测无线设备的第四发送单元 1304接收到第二时延响 应包,该第二时延响应包中携带有待测无线设备接收到第一时延响应包的第四 时刻。 The content about the wireless device to be tested described in the foregoing embodiments shown in FIGS. The delay measurement packet carries the first moment when the wireless device under test sends the delay measurement packet, and the routing information between the wireless device controller and the wireless device under test, and the wireless device controller can know that it has received the delay measurement packet At the second moment, subsequently, the wireless device controller may feed back the first delay response packet to the wireless device under test, and then the third receiving unit 1303 may receive the first delay response packet, and the first delay response packet carries There is a third moment when the wireless device controller sends the first delay response packet, and the wireless device controller may receive a second delay response packet from the fourth sending unit 1304 of the wireless device under test, and the second delay response packet The packet carries the fourth moment when the wireless device under test receives the first delay response packet.

则无线设备控制器可以根据该第一时刻和第二时刻确定无线设备控制器 与待测无线设备之间的上行路径时延,且可以根据第三时刻和第四时刻确定无 线设备控制器与待测无线设备之间的下行路径时延,所以本发明实施例可以采 用在实际传输的数据包或测量包中增加时间戳的方式来测量两端的精确路径 时延,使得这样测量出来的路径时延更贴近于实际的应用环境,也更能体现出 实际应用环境中各种因素的影响,因此能够准确的对基于传送承载网络互连的 无线设备控制器与待测无线设备之间的路径时延进行测量。 Then the wireless device controller can determine the uplink path delay between the wireless device controller and the wireless device to be tested according to the first moment and the second moment, and can determine the time delay between the wireless device controller and the wireless device to be tested according to the third moment and the fourth moment. Measure the downlink path delay between wireless devices, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path delay It is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so it can accurately estimate the path delay between the wireless device controller and the wireless device under test based on the transmission bearer network interconnection Take measurements.

阅图 14, 本发明实施例中待测无线设备另一实施例包括: Referring to Figure 14, another embodiment of the wireless device to be tested in the embodiment of the present invention includes:

第三输入装置 1401、 第三输出装置 1402以及第三处理器 1403; The third input device 1401, the third output device 1402 and the third processor 1403;

所述第三处理器 1403执行如下流程: The third processor 1403 executes the following process:

确定待测无线设备发送时延测量包的第一时刻,向已进行过时间同步的无 线设备控制器发送时延测量包,所述时延测量包中携带有所述待测无线设备发 送所述时延测量包的第一时刻,以及所述待测无线设备到无线设备控制器之间 的路由信息;使得无线设备控制器根据所述第一时刻以及第二时刻确定无线设 备控制器与所述待测无线设备之间的上行路径时延;所述第二时刻为无线设备 控制器接收到所述时延测量包的时刻;无线设备控制器与所述待测无线设备之 间通过传送^载网络互连。 Determine the first moment when the wireless device under test sends the delay measurement packet, and send the delay measurement packet to the wireless device controller that has performed time synchronization, and the delay measurement packet carries the time delay measurement packet sent by the wireless device under test. The first moment of the delay measurement packet, and the distance between the wireless device under test and the wireless device controller the routing information; make the wireless device controller determine the uplink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment; the second moment is the time delay received by the wireless device controller At the moment when the delay measurement packet is reached; the wireless device controller and the wireless device to be tested are interconnected by transmitting the bearer network.

本实施例中的第三处理器 1403还执行如下流程: The third processor 1403 in this embodiment also executes the following process:

接收无线设备控制器发送的第一时延响应包,所述第一时延响应包中携带 有无线设备控制器发送所述第一时延响应包的第三时刻,向无线设备控制器发 送第二时延响应包,所述第二时延响应包中携带有所述待测无线设备接收到所 述第一时延响应包的第四时刻;使得无线设备控制器根据所述第三时刻以及所 述第四时刻确定无线设备控制器与所述待测无线设备之间的下行路径时延。 receiving the first delay response packet sent by the wireless device controller, the first delay response packet carrying the third time when the wireless device controller sends the first delay response packet, and sending the first delay response packet to the wireless device controller Two delay response packets, the second delay response packet carrying the fourth time when the wireless device under test receives the first delay response packet; so that the wireless device controller according to the third time and The fourth moment determines the downlink path delay between the wireless device controller and the wireless device under test.

本实施例中, 第三处理器 1403可以向无线设备控制器发送时延测量包, 该时延测量包中携带有待测无线设备发送时延测量包的第一时刻,以及无线设 备控制器到待测无线设备之间的路由信息,无线设备控制器可以获知自身接收 到该时延测量包的第二时刻, 随后, 无线设备控制器可以向待测无线设备反馈 第一时延响应包, 则第三处理器 1403可以接收到该第一时延响应包, 第一时 延响应包中携带有无线设备控制器发送该第一时延响应包的第三时刻,并且无 线设备控制器可以从待测无线设备的第三处理器 1403 接收到第二时延响应 包,该第二时延响应包中携带有待测无线设备接收到第一时延响应包的第四时 刻。 In this embodiment, the third processor 1403 may send a delay measurement packet to the wireless device controller, where the delay measurement packet carries the first time when the wireless device to be tested sends the delay measurement packet, and the wireless device controller to For the routing information between the wireless devices to be tested, the wireless device controller can know the second moment when it receives the delay measurement packet, and then the wireless device controller can feed back the first delay response packet to the wireless device to be tested, then The third processor 1403 may receive the first delay response packet, where the first delay response packet carries the third time when the wireless device controller sends the first delay response packet, and the wireless device controller may receive The third processor 1403 of the wireless device under test receives the second delay response packet, where the second delay response packet carries the fourth time when the wireless device under test receives the first delay response packet.

则无线设备控制器可以根据该第一时刻和第二时刻确定无线设备控制器 与待测无线设备之间的上行路径时延,且可以根据第三时刻和第四时刻确定无 线设备控制器与待测无线设备之间的下行路径时延,所以本发明实施例可以采 用在实际传输的数据包或测量包中增加时间戳的方式来测量两端的精确路径 时延,使得这样测量出来的路径时延更贴近于实际的应用环境,也更能体现出 实际应用环境中各种因素的影响,因此能够准确的对基于传送承载网络互连的 无线设备控制器与待测无线设备之间的路径时延进行测量。 Then the wireless device controller can determine the uplink path delay between the wireless device controller and the wireless device to be tested according to the first moment and the second moment, and can determine the time delay between the wireless device controller and the wireless device to be tested according to the third moment and the fourth moment. Measure the downlink path delay between wireless devices, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that the measured path delay It is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so it can accurately estimate the path delay between the wireless device controller and the wireless device under test based on the transmission bearer network interconnection Take measurements.

上面描述了本发明实施例中的待测无线设备,下面描述与该待测无线设备 对应的无线设备控制器, 具体请参阅图 15 , 本发明实施例中无线设备控制器 另一实施例包括: 第四接收单元 1501 , 用于接收已进行过时间同步的待测无线设备发送的 时延测量包,所述时延测量包中携带有待测无线设备发送所述时延测量包的第 一时刻, 以及待测无线设备到无线设备控制器之间的路由信息; The wireless device under test in the embodiment of the present invention is described above, and the wireless device controller corresponding to the wireless device under test is described below. Please refer to FIG. 15 for details. Another embodiment of the wireless device controller in the embodiment of the present invention includes: The fourth receiving unit 1501 is configured to receive a delay measurement packet sent by the wireless device under test that has been time-synchronized, and the delay measurement packet carries the first moment when the wireless device under test sends the delay measurement packet , and routing information between the wireless device under test and the wireless device controller;

第二上行确定单元 1502, 用于根据所述第一时刻以及第二时刻确定无线 设备控制器与待测无线设备之间的上行路径时延; The second uplink determining unit 1502 is configured to determine the uplink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment;

所述第二时刻为无线设备控制器接收到所述时延测量包的时刻; The second moment is the moment when the wireless device controller receives the delay measurement packet;

无线设备控制器与待测无线设备之间通过传送承载网络互连。 The wireless device controller and the wireless device to be tested are interconnected through a transmission bearer network.

本实施例中的无线设备控制器还可以进一步包括: The wireless device controller in this embodiment may further include:

第五发送单元 1503 , 用于向待测无线设备发送第一时延响应包, 所述第 一时延响应包中携带有无线设备控制器发送所述第一时延响应包的第三时刻; 第五接收单元 1504, 用于接收待测无线设备发送的第二时延响应包, 所 述第二时延响应包中携带有待测无线设备接收到所述第一时延响应包的第四 时刻; The fifth sending unit 1503 is configured to send a first delay response packet to the wireless device under test, where the first delay response packet carries a third time when the wireless device controller sends the first delay response packet; The fifth receiving unit 1504 is configured to receive a second delay response packet sent by the wireless device under test, where the second delay response packet carries a fourth delay response packet received by the wireless device under test. moment;

第二下行确定单元 1505 , 用于根据所述第三时刻以及所述第四时刻确定 无线设备控制器与待测无线设备之间的下行路径时延。 与前述图 4至图 6所示实施例中描述的有关无线设备控制器的内容类似,此处 不再赘述。 The second downlink determining unit 1505 is configured to determine the downlink path delay between the wireless device controller and the wireless device under test according to the third moment and the fourth moment. It is similar to the content about the wireless device controller described in the foregoing embodiments shown in FIG. 4 to FIG. 6 , and will not be repeated here.

本实施例中,第四接收单元 1501可以从待测无线设备接收到时延测量包, 该时延测量包中携带有待测无线设备发送时延测量包的第一时刻,以及无线设 备控制器到待测无线设备之间的路由信息,无线设备控制器可以获知自身接收 到该时延测量包的第二时刻, 随后, 第五发送单元 1503可以向待测无线设备 反馈第一时延响应包,第一时延响应包中携带有无线设备控制器发送该第一时 延响应包的第三时刻, 并且第五接收单元 1504可以从待测无线设备接收到第 二时延响应包,该第二时延响应包中携带有待测无线设备接收到第一时延响应 包的第四时刻。 In this embodiment, the fourth receiving unit 1501 may receive a delay measurement packet from the wireless device under test, and the delay measurement packet carries the first moment when the wireless device under test sends the delay measurement packet, and the wireless device controller According to the routing information between the wireless devices under test, the wireless device controller can know the second moment when it receives the delay measurement packet, and then, the fifth sending unit 1503 can feed back the first delay response packet to the wireless device under test , the first delay response packet carries the third time when the wireless device controller sends the first delay response packet, and the fifth receiving unit 1504 may receive the second delay response packet from the wireless device under test, the second delay response packet The second delay response packet carries the fourth moment when the wireless device under test receives the first delay response packet.

则第二上行确定单元 1502可以根据该第一时刻和第二时刻确定无线设备 控制器与待测无线设备之间的上行路径时延, 且第二下行确定单元 1505可以 根据第三时刻和第四时刻确定无线设备控制器与待测无线设备之间的下行路 径时延,所以本发明实施例可以采用在实际传输的数据包或测量包中增加时间 戳的方式来测量两端的精确路径时延,使得这样测量出来的路径时延更贴近于 实际的应用环境,也更能体现出实际应用环境中各种因素的影响, 因此能够准 确的对基于传送承载网络互连的无线设备控制器与待测无线设备之间的路径 时延进行测量。 Then the second uplink determining unit 1502 can determine the uplink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment, and the second downlink determining unit 1505 can determine the uplink path delay between the wireless device controller and the wireless device under test according to the third moment and the fourth moment Determine the downlink between the wireless device controller and the wireless device under test at all times Therefore, in the embodiment of the present invention, the precise path delay at both ends can be measured by adding time stamps to the actually transmitted data packets or measurement packets, so that the measured path delay is closer to the actual application environment , and can better reflect the influence of various factors in the actual application environment, so the path delay between the wireless device controller interconnected based on the transport bearer network and the wireless device under test can be accurately measured.

上面从功能化模块的角度对本发明实施例中的无线设备控制器进行了描 述, 请参阅图 16, 本发明实施例中无线设备控制器另一实施例包括: The above describes the wireless device controller in the embodiment of the present invention from the perspective of functional modules. Please refer to FIG. 16. Another embodiment of the wireless device controller in the embodiment of the present invention includes:

第四输入装置 1601、 第四输出装置 1602以及第四处理器 1603; a fourth input device 1601, a fourth output device 1602 and a fourth processor 1603;

所述第四处理器 1603执行如下流程: 包中携带有待测无线设备发送所述时延测量包的第一时刻,以及待测无线设备 到无线设备控制器之间的路由信息,根据所述第一时刻以及第二时刻确定无线 设备控制器与待测无线设备之间的上行路径时延; The fourth processor 1603 executes the following process: the packet carries the first moment when the wireless device under test sends the delay measurement packet, and the routing information between the wireless device under test and the wireless device controller, according to the Determining the uplink path delay between the wireless device controller and the wireless device under test at the first moment and the second moment;

所述第二时刻为无线设备控制器接收到所述时延测量包的时刻; 无线设备控制器与待测无线设备之间通过传送承载网络互连。 The second moment is the moment when the wireless device controller receives the delay measurement packet; the wireless device controller and the wireless device to be tested are interconnected through a transmission bearer network.

本实施例中的第四处理器 1603还执行如下流程: The fourth processor 1603 in this embodiment also executes the following process:

向待测无线设备发送第一时延响应包,所述第一时延响应包中携带有无线 设备控制器发送所述第一时延响应包的第三时刻,接收待测无线设备发送的第 二时延响应包,所述第二时延响应包中携带有待测无线设备接收到所述第一时 延响应包的第四时刻 ,根据所述第三时刻以及所述第四时刻确定无线设备控制 器与待测无线设备之间的下行路径时延。 Sending a first delay response packet to the wireless device under test, the first delay response packet carrying the third moment when the wireless device controller sends the first delay response packet, receiving the first time delay response packet sent by the wireless device under test Two delay response packets, the second delay response packet carries the fourth moment when the wireless device under test receives the first delay response packet, and the wireless device is determined according to the third moment and the fourth moment The downlink path delay between the device controller and the wireless device under test.

本实施例中, 第四处理器 1603可以从待测无线设备接收到时延测量包, 该时延测量包中携带有待测无线设备发送时延测量包的第一时刻,以及无线设 备控制器到待测无线设备之间的路由信息,无线设备控制器可以获知自身接收 到该时延测量包的第二时刻, 随后, 第四处理器 1603可以向待测无线设备反 馈第一时延响应包,第一时延响应包中携带有无线设备控制器发送该第一时延 响应包的第三时刻, 并且第四处理器 1603可以从待测无线设备接收到第二时 延响应包,该第二时延响应包中携带有待测无线设备接收到第一时延响应包的 第四时刻。 In this embodiment, the fourth processor 1603 may receive a delay measurement packet from the wireless device under test, and the delay measurement packet carries the first moment when the wireless device under test sends the delay measurement packet, and the wireless device controller According to the routing information between the wireless devices under test, the wireless device controller can know the second moment when it receives the delay measurement packet, and then, the fourth processor 1603 can feed back the first delay response packet to the wireless device under test , the first delay response packet carries the third time when the wireless device controller sends the first delay response packet, and the fourth processor 1603 may receive the second delay response packet from the wireless device under test, the first delay response packet The second delay response packet carries the information that the wireless device under test receives the first delay response packet Fourth moment.

则第四处理器 1603可以根据该第一时刻和第二时刻确定无线设备控制器 与待测无线设备之间的上行路径时延, 且第四处理器 1603可以根据第三时刻 和第四时刻确定无线设备控制器与待测无线设备之间的下行路径时延,所以本 发明实施例可以采用在实际传输的数据包或测量包中增加时间戳的方式来测 量两端的精确路径时延,使得这样测量出来的路径时延更贴近于实际的应用环 境,也更能体现出实际应用环境中各种因素的影响, 因此能够准确的对基于传 送承载网络互连的无线设备控制器与待测无线设备之间的路径时延进行测量。 Then the fourth processor 1603 may determine the uplink path delay between the wireless device controller and the wireless device under test according to the first moment and the second moment, and the fourth processor 1603 may determine the delay according to the third moment and the fourth moment The downlink path delay between the wireless device controller and the wireless device to be tested, so the embodiment of the present invention can measure the precise path delay at both ends by adding a time stamp to the actually transmitted data packet or measurement packet, so that The measured path delay is closer to the actual application environment, and can better reflect the influence of various factors in the actual application environment, so it can accurately measure the wireless device controller and the wireless device under test based on the transmission bearer network interconnection. The path delay between the two is measured.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存 储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务 器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。 而 前述的存储介质包括: U 盘、 移动硬盘、 只读存储器 (ROM , Read-Only Memory ), 随机存取存者器( RAM, Random Access Memory )、 磁碟或者光盘 等各种可以存储程序代码的介质。 Those of ordinary skill in the art can understand that all or part of the steps for realizing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, including several instructions for making a A computer device (which may be a personal computer, a server, or a network device, etc.) executes all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc., which can store program codes medium.

以上对本发明所提供的路径时延测量方法、系统以及相关装置进行了详细 介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实施方 式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对本发 明的限制。 The path delay measurement method, system and related devices provided by the present invention have been introduced in detail above. For those of ordinary skill in the art, according to the ideas of the embodiments of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of this specification should not be construed as limiting the present invention.

Claims (33)

  1. Claim
    1st, a kind of path delay of time measuring method, it is characterised in that including:
    Radio equipment controller REC is measured to the wireless device RE transmission delays to be measured for having carried out time synchronized and wrapped, the first moment that the REC sends the latency measurement bag, and the routing iinformation between the REC to the RE to be measured are carried in the latency measurement bag;
    The REC is received in the DELAY RESPONSE bag of the RE feedbacks to be measured, the DELAY RESPONSE bag and is carried the second moment that the RE to be measured receives the latency measurement bag;
    The REC determines the downlink path time delay between the REC and the RE to be measured according to first moment and second moment;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    2nd, according to the method described in claim 1, it is characterised in that the REC determines that the downlink path time delay between the REC and the RE to be measured includes according to first moment and second moment:The REC regard the difference between second moment and first moment as the downlink path time delay between the REC and the RE to be measured;
    Or,
    Numerical value after difference between second moment and first moment is added preset time delay amount of redundancy by the REC is used as the downlink path time delay between the REC and the RE to be measured.
    3rd, according to the method described in claim 1, it is characterised in that the 3rd moment that the RE to be measured sends the DELAY RESPONSE bag is also carried in the DELAY RESPONSE bag;
    Methods described also includes:
    The REC determines the up path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment;
    At the time of 4th moment is that the REC receives the latency measurement bag.
    4th, method according to claim 3, it is characterised in that the REC determines that the up path time delay between the REC and the RE to be measured includes according to the 3rd moment and the 4th moment:The REC regard the difference between the 4th moment and the 3rd moment as the up path time delay between the REC and the RE to be measured;
    Or,
    The REC is superfluous plus preset time delay by the difference between the 4th moment and the 3rd moment Numerical value after surplus is used as the up path time delay between the REC and the RE to be measured.
    5th, according to the method described in claim 1, it is characterised in that methods described also includes:Within the preset cycle, the up path time delay and/or downlink path time delay between the REC and the RE to be measured are taken multiple measurements by the latency measurement bag and the DELAY RESPONSE bag, multiple alternative up path time delays and/or multiple alternative downlink path time delays is obtained;
    It regard the maximum or average value of Yanzhong during the alternative up path as the up path time delay between the REC and the RE to be measured, and/or, it regard the maximum or average value of Yanzhong during the alternative downlink path as the downlink path time delay between the REC and the RE to be measured.
    6th, a kind of path delay of time measuring method, it is characterised in that including:
    Wireless device RE to be measured, which is received, had carried out the latency measurement bag that the radio equipment controller REC of time synchronized is sent, the first moment that the REC sends the latency measurement bag, and the routing iinformation between the REC to the RE to be measured are carried in the latency measurement bag;
    The RE to be measured carries the second moment that the RE to be measured receives the latency measurement bag to the REC transmission delays response bag in the DELAY RESPONSE bag;
    So that the REC determines the downlink path time delay between the REC and the RE to be measured according to first moment and second moment;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    7th, method according to claim 6, it is characterized in that, the 3rd moment that the RE to be measured sends the DELAY RESPONSE bag is also carried in the DELAY RESPONSE bag so that the REC determines the up path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment;At the time of 4th moment is that the REC receives the latency measurement bag.
    8th, a kind of path delay of time measuring method, it is characterised in that including:
    Wireless device RE to be measured is measured to the radio equipment controller REC transmission delays for having carried out time synchronized and wrapped, the first moment that the RE to be measured sends the latency measurement bag, and the routing iinformation between the RE to be measured to the REC are carried in the latency measurement bag;
    So that the REC determines the up path time delay between the REC and the RE to be measured according to first moment and the second moment;
    At the time of second moment is that the REC receives the latency measurement bag;
    Interconnected between the REC and the RE to be measured by transmitting bearer network. 9th, path delay of time measuring method according to claim 8, it is characterised in that the RE to be measured includes after measuring bag to the REC transmission delays for having carried out time synchronized:
    The RE to be measured, which is received, carries the 3rd moment that the REC sends the first DELAY RESPONSE bag in the first DELAY RESPONSE bag that the REC is sent, the first DELAY RESPONSE bag;
    The RE to be measured sends in the second DELAY RESPONSE bag, the second DELAY RESPONSE bag to the REC and carries the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag;
    So that the REC determines the downlink path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment.
    10th, a kind of path delay of time measuring method, it is characterised in that including:
    Radio equipment controller REC, which is received, had carried out the latency measurement bag that the wireless device RE to be measured of time synchronized is sent, the first moment that the RE to be measured sends the latency measurement bag, and the routing iinformation between the RE to be measured to the REC are carried in the latency measurement bag;
    The REC determines the up path time delay between the REC and the RE to be measured according to first moment and the second moment;
    At the time of second moment is that the REC receives the latency measurement bag;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    11st, method according to claim 10, it is characterised in that the REC determines that the up path time delay between the REC and the RE to be measured includes according to first moment and second moment:
    The REC regard the difference between second moment and first moment as the up path time delay between the REC and the RE to be measured;
    Or,
    Numerical value after difference between second moment and first moment is added preset time delay amount of redundancy by the REC is used as the up path time delay between the REC and the RE to be measured.
    12nd, method according to claim 10, it is characterised in that the REC includes after receiving the latency measurement bag for the RE to be measured transmissions for having carried out time synchronized:
    The REC sends to the RE to be measured and the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried in first DELAY RESPONSE bag, the first DELAY RESPONSE bag;
    The REC receives the second DELAY RESPONSE bag that the RE to be measured is sent, second DELAY RESPONSE The 4th moment that the RE to be measured receives the first DELAY RESPONSE bag is carried in bag;The REC determines the downlink path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment.
    13rd, method according to claim 12, it is characterised in that the REC determines that the downlink path time delay between the REC and the RE to be measured includes according to the 3rd moment and the 4th moment:
    The REC regard the difference between the 4th moment and the 3rd moment as the downlink path time delay between the REC and the RE to be measured;
    Or,
    Numerical value after difference between 4th moment and the 3rd moment is added preset time delay amount of redundancy by the REC is used as the downlink path time delay between the REC and the RE to be measured.
    14th, method according to claim 10, it is characterised in that methods described also includes:Within the preset cycle, the up path time delay and/or downlink path time delay between the REC and the RE to be measured are taken multiple measurements by the latency measurement bag and the DELAY RESPONSE bag, multiple alternative up path time delays and/or multiple alternative downlink path time delays is obtained;
    It regard the maximum or average value of Yanzhong during the alternative up path as the up path time delay between the REC and the RE to be measured, and/or, it regard the maximum or average value of Yanzhong during the alternative downlink path as the downlink path time delay between the REC and the RE to be measured.
    15th, a kind of path delay of time measuring system, it is characterised in that including:
    Radio equipment controller REC and wireless device RE to be measured;
    Interconnected between the REC and the RE to be measured by transmitting bearer network, and carried out time synchronized;
    The REC is used to wrap to the RE transmission delays measurement to be measured, the first moment that the REC sends the latency measurement bag is carried in the latency measurement bag, and the routing iinformation between the REC to the RE to be measured, receive the DELAY RESPONSE bag of the RE feedbacks to be measured, the second moment that the RE to be measured receives the latency measurement bag is carried in the DELAY RESPONSE bag, the downlink path time delay between the REC and the RE to be measured is determined according to first moment and second moment;
    The RE to be measured is used to receive the latency measurement bag that the REC is sent, to the REC transmission delays response bag, and the RE to be measured receives the latency measurement bag the is carried in the DELAY RESPONSE bag Two moment.
    16th, system according to claim 15, it is characterised in that the 3rd moment that the RE to be measured sends the DELAY RESPONSE bag is also carried in the DELAY RESPONSE bag;
    The REC is additionally operable to determine up path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment, at the time of the 4th moment is that the REC receives the latency measurement bag.
    17th, the system according to claim 15 or 16, it is characterised in that
    The REC is additionally operable to take multiple measurements the up path time delay and/or downlink path time delay between the REC and the RE to be measured by the latency measurement bag and the DELAY RESPONSE bag, obtain multiple alternative up path time delays and/or multiple alternative downlink path time delays, and it regard the maximum or average value of Yanzhong during the alternative up path as the up path time delay between the REC and the RE to be measured, and/or, it regard the maximum or average value of Yanzhong during the alternative downlink path as the downlink path time delay between the REC and the RE to be measured.
    18th, a kind of path delay of time measuring system, it is characterised in that including:
    Radio equipment controller REC and wireless device RE to be measured;
    Interconnected between the REC and the RE to be measured by transmitting bearer network, and carried out time synchronized;
    The RE to be measured, which is used to measure to the REC transmission delays, to be wrapped, and the first moment that the RE to be measured sends the latency measurement bag, and the routing iinformation between the RE to be measured to the REC are carried in the latency measurement bag;
    The REC receives the latency measurement bag that the RE to be measured is sent, up path time delay between the REC and the RE to be measured is determined according to first moment and the second moment, at the time of second moment is that the REC receives the latency measurement bag.
    19th, system according to claim 18, it is characterised in that
    The REC is additionally operable to send the first DELAY RESPONSE bag to the RE to be measured, the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried in the first DELAY RESPONSE bag, receive the second DELAY RESPONSE bag that the RE to be measured is sent, the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag is carried in the second DELAY RESPONSE bag, the downlink path time delay between the REC and the RE to be measured is determined according to the 3rd moment and the 4th moment; The RE to be measured is additionally operable to receive the first DELAY RESPONSE bag that the REC is sent, and the second DELAY RESPONSE bag is sent to the REC.
    20th, the system according to claim 18 or 19, it is characterised in that
    The REC is additionally operable to take multiple measurements the up path time delay and/or downlink path time delay between the REC and the RE to be measured by the latency measurement bag and the DELAY RESPONSE bag, obtain multiple alternative up path time delays and/or multiple alternative downlink path time delays, and it regard the maximum or average value of Yanzhong during the alternative up path as the up path time delay between the REC and the RE to be measured, and/or, it regard the maximum or average value of Yanzhong during the alternative downlink path as the downlink path time delay between the REC and the RE to be measured.
    21st, a kind of radio equipment controller, it is characterised in that including:The first moment that radio equipment controller REC sends the latency measurement bag, and the routing iinformation between the REC to the RE to be measured are carried in amount bag, the latency measurement bag;
    The second moment that the RE to be measured receives the latency measurement bag is carried in first receiving unit, the DELAY RESPONSE bag for receiving the RE feedbacks to be measured, the DELAY RESPONSE bag;
    First descending determining unit, for determining the downlink path time delay between the REC and the RE to be measured according to first moment and second moment;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    22nd, radio equipment controller according to claim 21, it is characterised in that the 3rd moment that the RE to be measured sends the DELAY RESPONSE bag is also carried in the DELAY RESPONSE bag;
    The radio equipment controller also includes:
    First up determining unit, for determining the up path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment;
    At the time of 4th moment is that the REC receives the latency measurement bag.
    23rd, a kind of radio equipment controller, it is characterised in that including:
    First input unit, the first output device and first processor;
    The first processor performs following flow:The first moment that radio equipment controller REC sends the latency measurement bag is carried in bag, and it is described Routing iinformation between REC to the RE to be measured, receive the DELAY RESPONSE bag of the RE feedbacks to be measured, the second moment that the RE to be measured receives the latency measurement bag is carried in the DELAY RESPONSE bag, the downlink path time delay between the REC and the RE to be measured is determined according to first moment and second moment;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    24th, radio equipment controller according to claim 23, it is characterised in that the 3rd moment that the RE to be measured sends the DELAY RESPONSE bag is also carried in the DELAY RESPONSE bag;
    The first processor also performs following flow:
    The up path time delay between the REC and the RE to be measured is determined according to the 3rd moment and the 4th moment;
    At the time of 4th moment is that the REC receives the latency measurement bag.
    25th, a kind of wireless device to be measured, it is characterised in that including:
    Second receiving unit, the latency measurement bag that the radio equipment controller REC of time synchronized is sent had been carried out for receiving, the first moment that the REC sends the latency measurement bag, and the routing iinformation between the REC to wireless device RE to be measured are carried in the latency measurement bag;
    Second transmitting element, for the REC transmission delays response bag, the second moment that the RE to be measured receives the latency measurement bag to be carried in the DELAY RESPONSE bag;
    So that the REC determines the downlink path time delay between the REC and the RE to be measured according to first moment and second moment;
    Network interconnection is carried by transmission 7 between the REC and the RE to be measured.
    26th, a kind of wireless device to be measured, it is characterised in that including:
    Secondary input device, the second output device and second processor;
    The second processor performs following flow:
    Receive and carried out the latency measurement bag that the radio equipment controller REC of time synchronized is sent, the first moment that the REC sends the latency measurement bag is carried in the latency measurement bag, and the routing iinformation between the REC to wireless device RE to be measured, to the REC transmission delays response bag, the second moment that the RE to be measured receives the latency measurement bag is carried in the DELAY RESPONSE bag, so that the REC determines the downlink path time delay between the REC and the RE to be measured according to first moment and second moment; Interconnected between the REC and the RE to be measured by transmitting bearer network.
    27th, a kind of wireless device to be measured, it is characterised in that including:
    Acquiring unit, the first moment for obtaining wireless device RE transmission delays measurement bag to be measured;3rd transmitting element, wrapped for being measured to the radio equipment controller REC transmission delays for having carried out time synchronized, the first moment that the wireless device RE to be measured sends the latency measurement bag, and the routing iinformation between the RE to be measured to the REC are carried in the latency measurement bag;
    So that the REC determines the up path time delay between the REC and the RE to be measured according to first moment and the second moment;
    At the time of second moment is that the REC receives the latency measurement bag;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    28th, wireless device to be measured according to claim 27, it is characterised in that the wireless device to be measured also includes:
    3rd receiving unit, the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried for receiving in the first DELAY RESPONSE bag that the REC is sent, the first DELAY RESPONSE bag;
    4th transmitting element, the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag is carried for being sent to the REC in the second DELAY RESPONSE bag, the second DELAY RESPONSE bag;
    So that the REC determines the downlink path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment.
    29th, a kind of wireless device to be measured, it is characterised in that including:
    3rd input unit, the 3rd output device and the 3rd processor;
    The following flow of 3rd computing device:
    Determine the first moment of wireless device RE transmission delays measurement bag to be measured, bag is measured to the radio equipment controller REC transmission delays for having carried out time synchronized, the first moment that the wireless device RE to be measured sends the latency measurement bag, and the routing iinformation between the RE to be measured to the REC are carried in the latency measurement bag;So that the REC determines the up path time delay between the REC and the RE to be measured according to first moment and the second moment;At the time of second moment is that the REC receives the latency measurement bag;Interconnected between the REC and the RE to be measured by transmitting bearer network.
    30th, wireless device to be measured according to claim 29, it is characterised in that the 3rd processing Device also performs following flow:
    Receive the first DELAY RESPONSE bag that the REC is sent, the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried in the first DELAY RESPONSE bag, sent to the REC in the second DELAY RESPONSE bag, the second DELAY RESPONSE bag and carry the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag;So that the REC determines the downlink path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment.
    31st, a kind of radio equipment controller, it is characterised in that including:Prolong and the first moment that the RE to be measured sends the latency measurement bag is carried in measurement bag, the latency measurement bag, and the routing iinformation between the RE to be measured to radio equipment controller REC;
    Second up determining unit, for determining the up path time delay between the REC and the RE to be measured according to first moment and the second moment;
    At the time of second moment is that the REC receives the latency measurement bag;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    32nd, radio equipment controller according to claim 31, it is characterised in that the radio equipment controller also includes:
    5th transmitting element, the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried for being sent to the RE to be measured in first DELAY RESPONSE bag, the first DELAY RESPONSE bag;
    5th receiving unit, the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag is carried for receiving in the second DELAY RESPONSE bag that the RE to be measured is sent, the second DELAY RESPONSE bag;Second descending determining unit, for determining the downlink path time delay between the REC and the RE to be measured according to the 3rd moment and the 4th moment.
    33rd, a kind of radio equipment controller, it is characterised in that including:
    4th input unit, the 4th output device and fourth processor;
    The fourth processor performs following flow:The first moment that the RE to be measured sends the latency measurement bag is carried in measurement bag, and the routing iinformation between the RE to be measured to radio equipment controller REC, the up path time delay between the REC and the RE to be measured is determined according to first moment and the second moment; At the time of second moment is that the REC receives the latency measurement bag;
    Interconnected between the REC and the RE to be measured by transmitting bearer network.
    34th, radio equipment controller according to claim 33, it is characterised in that the fourth processor also performs following flow:
    The first DELAY RESPONSE bag is sent to the RE to be measured, the 3rd moment that the REC sends the first DELAY RESPONSE bag is carried in the first DELAY RESPONSE bag, receive the second DELAY RESPONSE bag that the RE to be measured is sent, the 4th moment that the RE to be measured receives the first DELAY RESPONSE bag is carried in the second DELAY RESPONSE bag, the downlink path time delay between the REC and the RE to be measured is determined according to the 3rd moment and the 4th moment.
CN201280002414.7A 2012-12-12 2012-12-12 Method, system and relative apparatus for measuring path delay Pending CN104067653A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/086400 WO2014089764A1 (en) 2012-12-12 2012-12-12 Method, system and relative apparatus for measuring path delay

Publications (1)

Publication Number Publication Date
CN104067653A true CN104067653A (en) 2014-09-24

Family

ID=50933685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280002414.7A Pending CN104067653A (en) 2012-12-12 2012-12-12 Method, system and relative apparatus for measuring path delay

Country Status (2)

Country Link
CN (1) CN104067653A (en)
WO (1) WO2014089764A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858811A (en) * 2018-08-24 2020-03-03 华为技术有限公司 Method and network device for measuring delay
WO2022147833A1 (en) * 2021-01-11 2022-07-14 华为技术有限公司 Clock synchronization method and communication device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422366A (en) * 2020-11-09 2021-02-26 淄博萃智工业设计咨询有限公司 Method and system for measuring time delay characteristic of forwarding network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425891A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Time synchronization method, system and customer terminal
US20090316661A1 (en) * 2008-06-20 2009-12-24 Kyocera Corporation Radio terminal, radio base station and radio communication method
US20100298000A1 (en) * 2009-05-21 2010-11-25 Mstar Semiconductor, Inc. Wireless Communication Method for Updating Reference Channel Information and System Thereof
CN102082697A (en) * 2009-11-27 2011-06-01 华为技术有限公司 Communication path asymmetric time delay measuring method, device and system
CN102655463A (en) * 2011-03-02 2012-09-05 中兴通讯股份有限公司 LMP (Link Manager Protocol)-based network link delay measurement method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316661A1 (en) * 2008-06-20 2009-12-24 Kyocera Corporation Radio terminal, radio base station and radio communication method
CN101425891A (en) * 2008-12-09 2009-05-06 中兴通讯股份有限公司 Time synchronization method, system and customer terminal
US20100298000A1 (en) * 2009-05-21 2010-11-25 Mstar Semiconductor, Inc. Wireless Communication Method for Updating Reference Channel Information and System Thereof
CN102082697A (en) * 2009-11-27 2011-06-01 华为技术有限公司 Communication path asymmetric time delay measuring method, device and system
CN102655463A (en) * 2011-03-02 2012-09-05 中兴通讯股份有限公司 LMP (Link Manager Protocol)-based network link delay measurement method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110858811A (en) * 2018-08-24 2020-03-03 华为技术有限公司 Method and network device for measuring delay
US11706113B2 (en) 2018-08-24 2023-07-18 Huawei Technologies Co., Ltd. Determining delay based on a measurement code block
WO2022147833A1 (en) * 2021-01-11 2022-07-14 华为技术有限公司 Clock synchronization method and communication device

Also Published As

Publication number Publication date
WO2014089764A1 (en) 2014-06-19

Similar Documents

Publication Publication Date Title
CN104469413B (en) The improved method that multiple terminals synchronization reproduction time deviation is calculated in a kind of LAN
CN106656679A (en) Available bandwidth measurement method and device
CN104067653A (en) Method, system and relative apparatus for measuring path delay
WO2014075260A1 (en) Time delay compensation method and apparatus
JP2013179392A (en) Communication device and communication method
CN103220775B (en) A kind of methods, devices and systems realizing data syn-chronization
US11329926B2 (en) Measuring transmission delay
CN104009878A (en) Method and device for measuring network transmission delay
CN106656642A (en) Round trip time measurement method, round trip time measurement device and round trip time measurement system
JP7190038B2 (en) Method, base station and terminal device for two-step random access procedure
US10477594B2 (en) Apparatus and method for controlling speed of transmission layer in wireless communication system
CN109981214A (en) A kind of transfer control method and device
CN112398560A (en) Measuring method, measuring device and storage medium
US20240276436A1 (en) Communication method and related apparatus
KR20200019058A (en) Apparatus and method for synchronization using wireless communication network in wireless communication system
CN108111365B (en) Time delay measurement processing method and system
CN116896521B (en) Network quality measurement method and system
CN104968012B (en) A kind of measuring method and system suitable for UMTS network RRC state machine
WO2017185368A1 (en) Signalling transmission method and device
CN110752903B (en) SRB mapping relation establishment method, data transmission method, data processing method, data transmission device, data processing device and data processing system
CN105264984B (en) A kind of method, system and the equipment of determining dynamic uplink and downlink proportional arrangement parameter
WO2020147768A1 (en) Data processing method and data processing apparatus
WO2016015464A1 (en) Network and network constructing method and equipment
CN113518352B (en) Layer two measurement method and network equipment
WO2023016367A1 (en) Measurement method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140924

RJ01 Rejection of invention patent application after publication