WO2013029424A1 - 网络检测方法、装置及系统 - Google Patents

网络检测方法、装置及系统 Download PDF

Info

Publication number
WO2013029424A1
WO2013029424A1 PCT/CN2012/078248 CN2012078248W WO2013029424A1 WO 2013029424 A1 WO2013029424 A1 WO 2013029424A1 CN 2012078248 W CN2012078248 W CN 2012078248W WO 2013029424 A1 WO2013029424 A1 WO 2013029424A1
Authority
WO
WIPO (PCT)
Prior art keywords
ping
delay time
time
detection
under test
Prior art date
Application number
PCT/CN2012/078248
Other languages
English (en)
French (fr)
Inventor
焦欣文
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2013029424A1 publication Critical patent/WO2013029424A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route

Definitions

  • the present invention relates to the field of communications, and in particular to a network detection method, apparatus, and system.
  • PING Packet Internet Groper
  • IP Internet Protocol
  • Icmp Echo Request Internet Control Information Protocol Request
  • the time difference of the reply packets to obtain the network communication delay between devices. Referring to FIG. 1, as shown in FIG.
  • the destination address of the PING is a multicast address, and the member devices in the multicast network need to send an Icmp Echo Reply message to the PING initiator. If there are many multicast member devices in the multicast network, the PING initiator device has to process many Icmp Echo Reply packets in a short period of time. However, once these Icmp Echo Reply packets exceed the packet processing of the PING initiator device, Capability, the PING initiator device will have to delay processing or discarding certain messages, resulting in reduced detection accuracy. In the prior art, the solution to the above problem is often to improve the packet processing capability of the PING initiator device, for example, 1. Improve the processing capability of the CPU from the hardware; 2.
  • the present invention provides a network detection method, apparatus, and system to solve at least the above problems.
  • a network detection method including: receiving, by a device under test, a detection message sent by an Internet connectivity detector (PING) initiating device and carrying a preset allowed delay time; The device determines the actual delay time of sending the response message corresponding to the detection packet to the PING initiator according to the allowed delay time. When the actual delay time arrives, the device to be tested sends the response packet carrying the actual delay time to the PING initiator. .
  • the device under test determines an actual delay time that the response message should be sent to the PING initiator according to the allowed delay time, and includes: randomly selecting a time value between 0 and the allowed delay time as the actual delay time.
  • the method includes: when the PING initiating device sends the detection packet to the device under test, recording the transmission time T 1 of the transmission detection packet ; and when the PING initiating device receives the response packet sent by the device under test, the recording and receiving Detecting the receiving time T 2 of the message ; calculating the time difference ⁇ 2 _ 1 between the receiving time ⁇ 2 and the sending time 1 : determining the difference between the PING initiator device and the device under test according to the difference between the time difference value and the actual delay time Link delay.
  • the PING initiating device includes: a multicast server; the device to be tested includes: a multicast member device.
  • the device to be tested receives the detection message that is sent by the Internet connectivity detector (PING) initiating device and carries the preset allowed delay time, and includes: each multicast member is set between the multicast server and the multicast member device.
  • the multicast path receives the detection packet sent by the multicast server.
  • a network detecting apparatus including: a receiving module, configured to receive a detection message that is sent by an Internet connectivity detector (PING) initiating device and carries a preset allowed delay time; a determining module, configured to determine, according to the allowed delay time, an actual delay time that the sending module should send a response message corresponding to the detection message to the PING initiating device; and the sending module is configured to send to the PING initiating device when the actual delay time arrives Carry a response message with the actual delay time.
  • the first determining module is arranged to randomly select a time value between 0 and the allowable delay time as the actual delay time.
  • a network detection system including: an Internet connectivity detector (PING) initiating device and a device to be tested, wherein the device to be tested includes the network detecting device, and the PING initiating device is set to The device under test sends a detection packet carrying a preset allowable delay time.
  • PING Internet connectivity detector
  • the PING initiating device includes: a first recording module, configured to: when the PING initiating device sends the detection packet to the receiving module, record the sending time T 1 of the sending detection message ; and the second recording module is set to initiate the device in the PING Receiving the response message sent by the sending module, recording the receiving time T 2 of the receiving detection message ; the calculating module is configured to calculate and receive the response message after the PING initiating device receives the response message sent by the sending module.
  • the time difference T 2 _ 1 between the time T 2 and the transmission time T ; the second determining module is configured to determine a link delay between the PING initiator device and the device under test according to the difference between the time difference value and the actual delay time.
  • the PING initiating device includes: a multicast server; the device to be tested includes: a multicast member device, wherein the multicast member device includes the network detecting device.
  • the PING initiating device carries an allowable delay time in the detection message sent to the device under test to enable the device under test to randomly select an actual delay time less than the allowable delay time according to the allowed delay time to transmit the corresponding report.
  • the response message of the text solves the problem that the detection accuracy of the existing detection device may be discarded or delayed due to the excessive amount of packets, thereby reducing the service burden of the detection device and improving The effect of detection accuracy.
  • FIG. 1 is a schematic diagram of a multicast server initiating a multicast address PING detection according to the related art
  • FIG. 2 is a flowchart of a network detecting method according to an embodiment of the present invention
  • FIG. 3 is a flowchart according to a preferred embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a network detecting apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a network detecting system according to an embodiment of the present invention
  • FIG. 6 is a network detecting according to a preferred embodiment of the present invention.
  • a schematic structural diagram of the system
  • FIG. 7 is a schematic structural diagram of a network detection system in accordance with a preferred embodiment of the present invention.
  • Step S202 The device under test receives a detection message that is sent by the Internet connectivity detector (PING) initiating device and carries a preset allowed delay time.
  • Step S204 The device under test determines, according to the allowed delay time, an actual delay time that the response message corresponding to the detection message should be sent to the PING initiator.
  • Step S206 When the actual delay time arrives, the device under test sends a response message carrying the actual delay time to the PING initiating device.
  • the device under test may randomly select a time value between 0 and the allowable delay time as the actual delay time.
  • the sending time 1 of the sending detection packet may be recorded, and the response packet sent by the device under test is received.
  • the time of receiving the detection message ⁇ 2 is recorded, and then the time difference Tw between the reception time ⁇ 2 and the transmission time 1 is calculated, and finally the PING initiator device and the device under test are determined according to the difference between the time difference value and the actual delay time.
  • the link delay between the two can be used to obtain the link delay between the PING initiator device and the device under test.
  • the PING initiating device may include: a multicast server; the device to be tested may include: a multicast member device.
  • the method can be preferably applied to a multicast network, and in a multicast network, the multicast server can function as a PING initiator, and the multicast member device can function as a device to be tested.
  • each multicast member can receive the detection packet sent by the multicast server through the multicast path between the multicast server and the multicast member device.
  • the ping initiator initiates a ping command and sends an icmp echo request packet, where the packet carries a time value TO (this value indicates that the device that receives the packet and needs to respond to the icmp echo reply can send the TO time at most.
  • the multicast member After receiving the icmp echo request message, the multicast member obtains the time value T0 in the message, and selects a random number between 0 and ⁇ 0 as the time T1 of the actual delayed response icmp echo reply; After the delay of the T1 time, the multicast member sends an icmp echo relply packet, where the packet carries the time delay time Tl. After the ping initiator device receives the icmp echo reply packet, the icmp echo reply needs to be subtracted when calculating the round-trip time. The actual delay time T1 carried in the message.
  • the device under test can randomly select an actual delay time of the response packet for sending the response detection packet within the allowed delay time range sent by the PING initiator device. Therefore, the processing pressure on the PING originating device generated by the excessively concentrated sending of the response message is avoided.
  • the PING initiator device does not discard the packet or delay processing the packet, which improves the detection accuracy of the PING initiator.
  • 3 is a flowchart of network detection according to a preferred embodiment of the present invention. As shown in FIG. 3, the process mainly includes the following steps: S301: A multicast server sends an icmp echo request packet, and the packet carries an expectation (ie, multicast). Member ;) The maximum delay time for delaying the response.
  • the icmp echo request is received by each multicast member along the multicast path.
  • the multicast member obtains the maximum delay time from the received icmp echo request message, and takes a random value between 0 and the maximum delay time, which is the most practical delay in sending the icmp echo reply message.
  • S304 After waiting for the actual delay time, the multicast member responds with an icmp echo reply packet, and the packet carries the actual delay of the multicast member.
  • FIG. 4 is a schematic structural diagram of a network detecting apparatus according to an embodiment of the present invention.
  • the apparatus is configured to implement the network detecting method provided by the foregoing embodiment.
  • the apparatus mainly includes: a receiving module 10, a first determining module 20, and a sending module 30.
  • the receiving module 10 is configured to receive a detection message that is sent by the Internet connectivity detector (PING) initiating device and that carries a preset allowable delay time.
  • PING Internet connectivity detector
  • the first determining module 20 is connected to the receiving module 10, and is configured to allow The delay time determines the actual delay time that the sending module should send the response message corresponding to the detection message to the PING initiator device.
  • the sending module 30 is connected to the first determining module 20, and is set to initiate the device to the PING when the actual delay time arrives. Send a response message carrying the actual delay time.
  • the device can improve the accuracy of network detection.
  • the first determining module may further be configured to randomly select a time value between 0 and the allowable delay time as the actual delay time.
  • FIG. 5 is a schematic structural diagram of a network detection system according to an embodiment of the present invention. As shown in FIG.
  • the system mainly includes: an Internet connectivity detector (PING) initiating device 1 and a device to be tested 2, wherein the device under test 2
  • the network detection device is included; the PING initiating device is configured to send a detection message carrying a preset allowable delay time to the device under test.
  • the system can implement the delayed response of the device under test 2, so that the PING initiator device 1 discards the message or delays processing the message when there are too many response packets.
  • FIG. 6 is a schematic structural diagram of a network detection system according to a preferred embodiment of the present invention.
  • the PING initiator device in the system may include: a first recording module 40, a second recording module 50, a computing module 60, and a Second, the module 70 is determined.
  • the first recording module 40 is configured to: when the PING initiating device sends the detection packet to the receiving module, record the transmission time T 1 of the transmission detection message ; the second recording module 50 is connected to the first recording module 40, and is set to When the PING initiating device receives the response message sent by the sending module, the receiving time T 2 of the receiving the detecting message is recorded ; the calculating module 60 is connected to the second recording module 50, and is configured to receive the sending by the sending module by the PING initiating device. After the response message, the time difference T 2 _ 1 between the receiving time T 2 and the sending time 1 is calculated ; the second determining module 70 is connected to the calculating module 60, and is set to determine the difference between the time difference and the actual delay time.
  • FIG. 7 is a schematic structural diagram of a network detection system according to a preferred embodiment of the present invention.
  • the system mainly includes a multicast server 3 and a multicast member device 4.
  • the multicast member device 4 includes the above network detecting device.
  • the system can implement the delayed response of the multicast member device 4, so that the multicast server 3 discards the packet or delays processing the packet when there are too many response packets.
  • the device under test can randomly select an actual delay of the response packet for sending the response detection packet in the range of the allowed delay time sent by the PING initiator.
  • the time which avoids the processing pressure on the PING initiator device caused by the excessively concentrated sending of the response message, so that the PING initiator device does not discard the message or delay the processing of the message, thereby improving the detection precision of the PING initiator device.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from The steps shown or described are performed sequentially, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

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

Abstract

本发明公开了一种网络检测方法、装置及系统。其中,该方法包括:待测设备接收因特网连通性检测器(PING)发起设备发送的携带有预设的允许延迟时间的检测报文;待测设备根据允许延迟时间确定应该向PING发起设备发送与检测报文对应的应答报文的实际延迟时间;在实际延迟时间到达时,待测设备向PING发起设备发送携带有实际延迟时间的应答报文。通过本发明,可以提高网络检测的精度。

Description

网络检测方法、 装置及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种网络检测方法、 装置及系统。 背景技术 在网络通信领域中, PING (Packet Internet Groper, 因特网连通性检测器)技术是 最为常见的检测设备之间连通性的方法, PING发起设备通过其 IP (Internet Protocol, 因特网协议) 地址发出的 Icmp Echo Request (因特网控制信息协议请求) 报文、 目标 设备是否回应了 Icmp Echo Reply (因特网控制信息协议应答)报文判断目标设备是否 可以到达, 并通过计算发送 Icmp Echo Request报文和接收 Icmp Echo Reply报文的时 间差值, 来获得设备之间的网络通信时延。 请参考图 1, 如图 1所示, 在探测一个组播网络过程中, PING的目的地址为一个 组播地址, 组播网络中的成员设备需要向 PING发起设备回应 Icmp Echo Reply报文。 如果组播网络中的组播成员设备很多, 那么 PING发起设备不得不在一个很短的时间 内处理很多 Icmp Echo Reply报文,然而,一旦这些 Icmp Echo Reply报文超过了 PING 发起设备的报文处理能力, PING发起设备将不得不延迟处理或丢弃某些报文,从而导 致检测精度的降低。 在现有技术中, 针对上述问题的解决方式往往都是采用提高 PING发起设备的报 文处理能力,例如, 1、从硬件上提高 CPU的报文处理能力; 2、从软件上提高 Icmp Echo Reply报文的处理优先级别。 但是, 这两种处理方式存在以下弊端: 硬件的更换会增 加硬件成本、软件上提高 Icmp Echo Reply报文处理优先级别会影响到其他报文的正常 处理, 并且, 不管采用上述哪种方式, 都不能减轻 PING发起设备的业务负担, 从而 也无法避免因 PING发起设备延迟处理或者丢弃部分报文而导致的检测精度降低的发 生。 发明内容 本发明提供了一种网络检测方法、 装置及系统, 以至少解决上述问题。 根据本发明的一个方面, 提供了一种网络检测方法, 包括: 待测设备接收因特网 连通性检测器(PING)发起设备发送的携带有预设的允许延迟时间的检测报文; 待测 设备根据允许延迟时间确定应该向 PING发起设备发送与检测报文对应的应答报文的 实际延迟时间; 在实际延迟时间到达时, 待测设备向 PING发起设备发送携带有实际 延迟时间的应答报文。 优选地, 待测设备根据允许延迟时间确定应该向 PING发起设备发送应答报文的 实际延迟时间, 包括: 在 0与允许延迟时间之间随机选取一个时间值作为实际延迟时 间。 优选地, 该方法包括: 在 PING发起设备向待测设备发送检测报文时, 记录发送 检测报文的发送时间 T1 ; 在 PING发起设备接收到待测设备发送的应答报文时, 记录 接收检测报文的接收时间 T2 ; 计算得到接收时间 Τ2与发送时间 1 的时间差值 Τ2_1 : 根据时间差值 与实际延迟时间的差值确定 PING发起设备与待测设备之间的链路 延时。 优选地, PING发起设备包括: 组播服务器; 待测设备包括: 组播成员设备。 优选地, 待测设备接收因特网连通性检测器(PING)发起设备发送的携带有预设 的允许延迟时间的检测报文包括: 每个组播成员设通过组播服务器与组播成员设备之 间的组播路径接收组播服务器发送的检测报文。 根据本发明的另一方面, 提供了一种网络检测装置, 包括: 接收模块, 设置为接 收因特网连通性检测器(PING)发起设备发送的携带有预设的允许延迟时间的检测报 文; 第一确定模块, 设置为根据允许延迟时间确定发送模块应该向 PING发起设备发 送与检测报文对应的应答报文的实际延迟时间; 发送模块, 设置为在实际延迟时间到 达时, 向 PING发起设备发送携带有实际延迟时间的应答报文。 优选地, 第一确定模块设置为在 0与允许延迟时间之间随机选取一个时间值作为 实际延迟时间。 根据本发明的再一方面, 提供了一种网络检测系统, 包括: 因特网连通性检测器 (PING) 发起设备和待测设备, 其中, 待测设备包括上述网络检测装置; PING发起 设备设置为向待测设备发送携带有预设的允许延迟时间的检测报文。 优选地, PING发起设备包括: 第一记录模块, 设置为在 PING发起设备向接收模 块发送检测报文时,记录发送检测报文的发送时间 T1 ;第二记录模块,设置为在 PING 发起设备接收到发送模块发送的应答报文时, 记录接收检测报文的接收时间 T2 ; 计算 模块, 设置为在 PING发起设备接收到发送模块发送的应答报文之后, 计算得到接收 时间 T2与发送时间 T 的时间差值 T2_1 ; 第二确定模块, 设置为根据时间差值 与实 际延迟时间的差值确定 PING发起设备与待测设备之间的链路延时。 优选地, PING发起设备包括: 组播服务器; 待测设备包括: 组播成员设备,其中, 组播成员设备包括上述网络检测装置。 通过本发明, 采用 PING发起设备在向待测设备发送的检测报文中携带一个允许 延迟时间以使待测设备根据该允许延迟时间随机选择小于允许延迟时间的实际延迟时 间来发送对应于检测报文的应答报文, 解决了现有的检测设备由于报文量过大时可会 丢弃或延迟处理报文而导致的检测精度不高的问题, 进而达到了减小检测设备的业务 负担, 提高检测精度的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据相关技术的组播服务器发起组播地址 PING检测的示意图; 图 2是根据本发明实施例的网络检测方法的流程图; 图 3是根据本发明优选实施例的网络检测的流程图; 图 4是根据本发明实施例的网络检测装置的结构示意图; 图 5是根据本发明实施例的网络检测系统的结构示意图; 图 6是根据本发明优选实施例的网络检测系统的结构示意图; 以及 图 7是根据本发明优选实施例的网络检测系统的结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 2是根据本发明实施例的网络检测方法的流程图, 如图 2所示, 该方法主要包 括以下步骤 (步骤 S202-步骤 S206)。 步骤 S202, 待测设备接收因特网连通性检测器 (PING) 发起设备发送的携带有 预设的允许延迟时间的检测报文。 步骤 S204, 待测设备根据允许延迟时间确定应该向 PING发起设备发送与检测报 文对应的应答报文的实际延迟时间。 步骤 S206, 在实际延迟时间到达时, 待测设备向 PING发起设备发送携带有实际 延迟时间的应答报文。 在本发明实施例中, 优选地, 待测设备可以在 0与允许延迟时间之间随机选取一 个时间值作为实际延迟时间。 在本发明实施例的一个优选实施方式中, 在 PING发起设备向待测设备发送检测 报文时, 还可以记录发送检测报文的发送时间 1 , 并在接收到待测设备发送的应答报 文时, 记录接收检测报文的接收时间 τ2, 然后计算得到接收时间 Τ2与发送时间 1 的 时间差值 Tw,最后根据时间差值 与实际延迟时间的差值确定 PING发起设备与待 测设备之间的链路延时, 从而可以得到 PING发起设备与待测设备之间的链路延时。 在本发明实施例中, 优选地, PING发起设备可以包括: 组播服务器; 待测设备可 以包括: 组播成员设备。 也就是说, 该方法可以优选地应用于组播网络中, 而在组播 网络中, 组播服务器可以起到 PING发起设备的作用, 而组播成员设备可以起到待测 设备的作用。 在实际应用中, 每个组播成员设可以通过组播服务器与组播成员设备之间的组播 路径接收组播服务器发送的检测报文。 例如, ping发起设备发起 ping命令, 发送 icmp echo request报文, 其中, 该报文 携带了一个时间值 TO (该值表示接收到该报文并且需要回应 icmp echo reply的设备最 多能够延迟 TO时间发送 icmp echo reply报文); 组播成员收到 icmp echo request报文 后,获取报文中的时间值 T0,在 0~Τ0之间选择一个随机数作为实际延迟回应 icmp echo reply的时间 T1 ; 在延迟 T1时间后, 组播成员发送 icmp echo relply报文, 其中, 该报 文携带了时间延迟时间 Tl ; ping发起设备受到 icmp echo reply报文后, 在计算往返时 间时, 需要减去 icmp echo reply报文中携带的实际延迟时间 Tl。 采用上述实施例提供的网络检测方法, 待测设备完全可以在 PING发起设备发送 的允许时延时间范围内随机选择一个属于自己的用于发送响应检测报文的应答报文的 实际时延时间, 从而避免了应答报文过度集中发送产生的对 PING发起设备的处理压 力, 使 PING发起设备不再丢弃报文或延时处理报文, 进而提高了 PING发起设备的 检测精度。 图 3是根据本发明优选实施例的网络检测的流程图, 如图 3所示, 该流程主要包 括以下步骤: S301 , 组播服务器发送 icmp echo request报文,报文携带了期望 (即组播成员;)延迟 应答的最大延迟时间。
5302, icmp echo request沿着组播路径, 被每一个组播成员接收。
5303 , 组播成员从接收到的 icmp echo request报文中获得最大延迟时间, 并在 0~ 最大延迟时间之间取一个随机值, 最为实际延迟发送 icmp echo reply报文的时间。 S304, 在等待实际延迟时间之后, 组播成员回应 icmp echo reply报文, 报文中携 带了该组播成员实际延迟的时间。
S305, 组播服务器收到一个组播成员应答的 icmp echo reply报文之后, 在实际往 返时间的基础上减去报文中携带的实际延迟时间, 作为组播服务器到该组播接收之间 的链路延时。 S306, 当组播服务器收到所有组播成员回应的 icmp echo reply报文之后, 结束该 次检测。 图 4是根据本发明实施例的网络检测装置的结构示意图, 该装置用以实现上述实 施例提供的网络检测方法, 该装置主要包括: 接收模块 10、 第一确定模块 20及发送 模块 30。 其中, 接收模块 10, 设置为接收因特网连通性检测器 (PING) 发起设备发 送的携带有预设的允许延迟时间的检测报文; 第一确定模块 20, 连接至接收模块 10, 设置为根据允许延迟时间确定发送模块应该向 PING发起设备发送与检测报文对应的 应答报文的实际延迟时间; 发送模块 30, 连接至第一确定模块 20, 设置为在实际延迟 时间到达时, 向 PING发起设备发送携带有实际延迟时间的应答报文。 该装置可以提 高网络检测的精度。 在本发明实施例的一个优选实施方式中, 第一确定模块还可以设置为在 0与允许 延迟时间之间随机选取一个时间值作为实际延迟时间。 图 5是根据本发明实施例的网络检测系统的结构示意图, 如图 5所示, 该系统主 要包括: 因特网连通性检测器 (PING) 发起设备 1和待测设备 2, 其中, 待测设备 2 包括上述网络检测装置; PING发起设备设置为向待测设备发送携带有预设的允许延迟 时间的检测报文。 该系统可实现待测设备 2的延迟应答, 从而使 PING发起设备 1在 应答报文过多时丢弃报文或者延迟处理报文。 图 6是根据本发明优选实施例的网络检测系统的结构示意图, 如图 6所示, 该系 统中的 PING发起设备可以包括: 第一记录模块 40、 第二记录模块 50、 计算模块 60 及第二确定模块 70。 其中, 第一记录模块 40, 设置为在 PING发起设备向接收模块发 送检测报文时, 记录发送检测报文的发送时间 T1 ; 第二记录模块 50, 连接至第一记录 模块 40, 设置为在 PING发起设备接收到发送模块发送的应答报文时, 记录接收检测 报文的接收时间 T2 ; 计算模块 60, 连接至第二记录模块 50, 设置为在 PING发起设备 接收到发送模块发送的应答报文之后, 计算得到接收时间 T2与发送时间 1 的时间差 值 T2_1 ; 第二确定模块 70, 连接至计算模块 60, 设置为根据时间差值 与实际延迟 时间的差值确定 PING发起设备与待测设备之间的链路延时。 通过该优选系统, 可以 获得 PING发起设备与待测设备之间的链路延时。 图 7是根据本发明优选实施例的网络检测系统的结构示意图, 如图 7所示, 该系 统主要包括组播服务器 3和组播成员设备 4。 其中, 组播成员设备 4包括上述网络检 测装置。 该系统可实现组播成员设备 4的延迟应答, 从而使组播服务器 3在应答报文 过多时丢弃报文或者延迟处理报文。 采用上述实施例提供的网络检测装置和系统, 待测设备完全可以在 PING发起设 备发送的允许时延时间范围内随机选择一个属于自己的用于发送响应检测报文的应答 报文的实际时延时间, 从而避免了应答报文过度集中发送产生的对 PING发起设备的 处理压力, 使 PING发起设备不再丢弃报文或延时处理报文, 进而提高了 PING发起 设备的检测精度。 从以上的描述中, 可以看出, 本发明实现了如下技术效果: 待测设备完全可以在 PING发起设备发送的允许时延时间范围内随机选择一个属于自己的用于发送响应检 测报文的应答报文的实际时延时间, 不需要提升硬件能力, 也不会抢占其他报文处理 的机会, 使单位时间内产生的检测报文减少, 从而减轻了 PING发起设备的业务负担, 能够安全、 便捷地提升网络检测的精度。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种网络检测方法, 包括:
待测设备接收因特网连通性检测器 PING发起设备发送的携带有预设的允 许延迟时间的检测报文;
所述待测设备根据所述允许延迟时间确定应该向所述 PING发起设备发送 与所述检测报文对应的应答报文的实际延迟时间;
在所述实际延迟时间到达时, 所述待测设备向所述 PING发起设备发送携 带有所述实际延迟时间的所述应答报文。
2. 根据权利要求 1所述的方法, 其中, 所述待测设备根据所述允许延迟时间确定 应该向所述 PING发起设备发送应答报文的实际延迟时间, 包括:
在 0 与所述允许延迟时间之间随机选取一个时间值作为所述实际延迟时 间。
3. 根据权利要求 1所述的方法, 其中, 所述方法包括:
在所述 PING发起设备向所述待测设备发送所述检测报文时, 记录发送所 述检测报文的发送时间 T1 ;
在所述 PING发起设备接收到所述待测设备发送的所述应答报文时, 记录 接收所述检测报文的接收时间 T2 ;
计算得到所述接收时间 Τ2与所述发送时间 1 的时间差值 ; 根据所述时间差值 与所述实际延迟时间的差值确定所述 PING发起设 备与所述待测设备之间的链路延时。
4. 根据权利要求 1至 3中任一项所述的方法, 其中,
所述 PING发起设备包括: 组播服务器; 所述待测设备包括: 组播成员设备。
5. 根据权利要求 4所述的方法, 其中, 待测设备接收因特网连通性检测器 PING 发起设备发送的携带有预设的允许延迟时间的检测报文包括: 每个所述组播成 员设通过所述组播服务器与所述组播成员设备之间的组播路径接收所述组播服 务器发送的所述检测报文。
6. 一种网络检测装置, 包括:
接收模块, 设置为接收因特网连通性检测器 PING发起设备发送的携带有 预设的允许延迟时间的检测报文;
第一确定模块, 设置为根据所述允许延迟时间确定发送模块应该向所述 PING发起设备发送与所述检测报文对应的应答报文的实际延迟时间;
所述发送模块, 设置为在所述实际延迟时间到达时, 向所述 PING发起设 备发送携带有所述实际延迟时间的所述应答报文。
7. 根据权利要求 6所述的装置, 其中, 所述第一确定模块设置为在 0与所述允许 延迟时间之间随机选取一个时间值作为所述实际延迟时间。
8. —种网络检测系统,包括:因特网连通性检测器 PING发起设备和待测设备, 其 中,
所述待测设备包括权利要求 6或 7所述的网络检测装置;
所述 PING发起设备设置为向所述待测设备发送携带有预设的允许延迟时 间的检测报文。
9. 根据权利要求 8所述的系统, 其中, 所述 PING发起设备包括:
第一记录模块, 设置为在所述 PING发起设备向所述接收模块发送所述检 测报文时, 记录发送所述检测报文的发送时间 T1 ;
第二记录模块, 设置为在所述 PING发起设备接收到所述发送模块发送的 所述应答报文时, 记录接收所述检测报文的接收时间 T2 ;
计算模块, 设置为在所述 PING发起设备接收到所述发送模块发送的所述 应答报文之后, 计算得到所述接收时间 T2与所述发送时间 1 的时间差值 ; 第二确定模块, 设置为根据所述时间差值 与所述实际延迟时间的差值 确定所述 PING发起设备与所述待测设备之间的链路延时。
10. 根据权利要求 8或 9所述的系统, 其中,
所述 PING发起设备包括: 组播服务器;
所述待测设备包括: 组播成员设备, 其中, 所述组播成员设备包括权利要 求 6-8中任一项所述的网络检测装置。
PCT/CN2012/078248 2011-08-30 2012-07-05 网络检测方法、装置及系统 WO2013029424A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110252321.7A CN102271067B (zh) 2011-08-30 2011-08-30 网络检测方法、装置及系统
CN201110252321.7 2011-08-30

Publications (1)

Publication Number Publication Date
WO2013029424A1 true WO2013029424A1 (zh) 2013-03-07

Family

ID=45053236

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078248 WO2013029424A1 (zh) 2011-08-30 2012-07-05 网络检测方法、装置及系统

Country Status (2)

Country Link
CN (1) CN102271067B (zh)
WO (1) WO2013029424A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102271067B (zh) * 2011-08-30 2017-08-11 南京中兴新软件有限责任公司 网络检测方法、装置及系统
CN106533830B (zh) * 2016-10-28 2020-07-14 上海斐讯数据通信技术有限公司 一种提高报文响应时间的装置及方法
CN108924842A (zh) * 2017-03-23 2018-11-30 华为技术有限公司 一种保持关联的方法及无线接入点设备
CN107547307B (zh) * 2017-07-28 2021-04-30 新华三技术有限公司 一种时间参数确定方法及装置
CN107682174B (zh) * 2017-08-24 2021-06-01 郑州云海信息技术有限公司 一种网络设备支持数据的收集方法
CN108809762A (zh) * 2018-06-13 2018-11-13 郑州云海信息技术有限公司 一种服务器网络性能测试方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968163A (zh) * 2006-10-25 2007-05-23 华为技术有限公司 检测业务通道的方法及提供检测业务通道方法的系统
CN101478459A (zh) * 2009-02-16 2009-07-08 北京星网锐捷网络技术有限公司 探测网络延时的方法及网络节点设备
CN101984587A (zh) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 一种检测组播转发树上两点间连通性的方法、系统和装置
CN102271067A (zh) * 2011-08-30 2011-12-07 中兴通讯股份有限公司 网络检测方法、装置及系统

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992651B (zh) * 2005-12-29 2010-12-01 华为技术有限公司 检测以太网多播性能的实现方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968163A (zh) * 2006-10-25 2007-05-23 华为技术有限公司 检测业务通道的方法及提供检测业务通道方法的系统
CN101478459A (zh) * 2009-02-16 2009-07-08 北京星网锐捷网络技术有限公司 探测网络延时的方法及网络节点设备
CN101984587A (zh) * 2010-11-12 2011-03-09 中兴通讯股份有限公司 一种检测组播转发树上两点间连通性的方法、系统和装置
CN102271067A (zh) * 2011-08-30 2011-12-07 中兴通讯股份有限公司 网络检测方法、装置及系统

Also Published As

Publication number Publication date
CN102271067B (zh) 2017-08-11
CN102271067A (zh) 2011-12-07

Similar Documents

Publication Publication Date Title
US10110455B2 (en) Service latency monitoring using two way active measurement protocol
WO2013029424A1 (zh) 网络检测方法、装置及系统
EP2454852B1 (en) Network transmission capacity measurement
TWI528755B (zh) 軟體定義網路中用於延遲量測之網路控制器、延遲量測系統及延遲量測方法
EP3547580B1 (en) Data sending method and apparatus, and data receiving method and apparatus
WO2022121469A1 (zh) 一种流量控制方法、装置、设备及可读存储介质
US9426080B2 (en) Data communication apparatus, data transmission method, and computer system
WO2015007099A1 (zh) 数据包传输方法及装置
WO2018112877A1 (zh) 路径计算和访问请求分发方法、装置及系统
WO2017088815A1 (zh) 一种状态检测的方法及无线网络节点
WO2016090978A1 (zh) 一种流量切换方法和装置
EP3627770B1 (en) Network performance monitoring using an active measurement protocol and relay mechanism
WO2015149353A1 (zh) 一种oam报文处理方法、网络设备和网络系统
JP2020533923A (ja) パケット伝送方法、ネットワーク構成要素、およびコンピュータ可読記憶媒体
WO2014095927A1 (en) Probing a network
WO2012071851A1 (zh) 根据网络抖动调整bfd发送间隔的方法及装置
JP5063293B2 (ja) 通信量制御システム、通信量制御システム用サーバ、および通信量制御システム用クライアント
CN108124504B (zh) Tfo传输方法、代理服务器和系统
CN109818912B (zh) 防范泛洪攻击的方法、装置、负载均衡设备和存储介质
CN115002008B (zh) 一种网络时延测量的方法、装置、设备以及存储介质
US20160337222A1 (en) Reliable Network Probing Session
US9813319B1 (en) Method of detecting packet loss in a communication network
KR101609922B1 (ko) 피어-투-피어 기반 데이터 전송 장치 및 방법
JP4487793B2 (ja) 通信ボトルネック判定装置および方法
KR20190048943A (ko) 네트워크 연결 제어 장치 및 그 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12829004

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12829004

Country of ref document: EP

Kind code of ref document: A1