WO2016049872A1 - Dispositif et procédé pour mesurer une perte de paquet de réseau - Google Patents

Dispositif et procédé pour mesurer une perte de paquet de réseau Download PDF

Info

Publication number
WO2016049872A1
WO2016049872A1 PCT/CN2014/087981 CN2014087981W WO2016049872A1 WO 2016049872 A1 WO2016049872 A1 WO 2016049872A1 CN 2014087981 W CN2014087981 W CN 2014087981W WO 2016049872 A1 WO2016049872 A1 WO 2016049872A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
service
time slice
slice identifier
counting result
Prior art date
Application number
PCT/CN2014/087981
Other languages
English (en)
Chinese (zh)
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 华为技术有限公司
Priority to PCT/CN2014/087981 priority Critical patent/WO2016049872A1/fr
Priority to CN201480023982.4A priority patent/CN105765911B/zh
Publication of WO2016049872A1 publication Critical patent/WO2016049872A1/fr

Links

Images

Classifications

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

Definitions

  • the present invention relates to the field of network transmission, and in particular, to a device and method for measuring network packet loss.
  • a packet loss rate which is a ratio of the total number of lost packets to the total number of transmitted packets.
  • a method for measuring a packet loss rate is provided in the prior art.
  • the sending end counts the sent service packets carrying the data information, and periodically inserts the forward direction between the service packets.
  • the monitoring (Forward Monitoring, FM for short) frame the FM frame carries the counting result A of the sent service packet, and the receiving end counts the received service packet and updates the counting result B in real time.
  • the count result B is read in the FM frame, and the count result B and the count result A carried in the FM frame are encapsulated into a Backward Reporting (BR) frame and returned to the transmitting end, and the transmitting end carries according to the BR frame.
  • the two count results are used to calculate the packet loss rate.
  • the inventor has found that at least the following problems exist in the prior art: there are multiple optional routing nodes between the transmitting end and the receiving end, so that there are multiple transmission paths in the transmission network, and the service packets are hashed to multiple transmission paths.
  • the transmission and the FM frame are also transmitted on one of the transmission paths.
  • the order of the FM frame and the service packet arriving at the receiving end cannot be determined due to the transmission distance of each transmission path and the inconsistent transmission traffic. For example, the FM frame sent later is first.
  • the service packet is sent to the receiving end first, resulting in out of order.
  • the receiving end extracts the counting result B when receiving the FM frame, the counting result B does not include the service message that arrives later or the service message that has been sent after the previous arrival, that is, the counting result. B cannot accurately reflect the number of service packets actually received by the receiving end, and the transmitting end calculates the error of the packet loss rate according to the counting result B carried in the BR frame.
  • the embodiment of the invention provides a device and a method for measuring network packet loss, which can solve the problem that the packet loss rate calculated in the prior art has an error.
  • the present invention provides a network packet loss measuring apparatus, where the apparatus is applied to a transmitting end, the transmitting end is located in a data transmission system, and the system is provided with the transmitting end and the receiving end.
  • the device includes:
  • a memory for storing a set of service messages
  • a processor configured to divide the service packet set in time series according to the preset time slice length, to obtain at least two service message subsets, each of the service packet subsets being part of the service packet set All the service message subsets form the service message set;
  • a transmitter configured to send the subset of the service packets to the receiving end in sequence
  • the processor is further configured to count the service packets that have been sent with the same time slice identifier
  • the first counting result is obtained, and after the preset duration, the test packet is sent to the receiving end, where the test packet carries the current service packet subset.
  • a slice identifier where the first counting result is a counting result corresponding to the time slice identifier of the current service packet subset, where the preset duration is greater than the service packet subset at the sending end and the receiving end.
  • a receiver configured to receive a response packet that is sent by the receiving end, where the response packet carries the second counting result, where the second counting result is used to indicate that the receiving end receives the test packet,
  • the number of service packets received by the receiving end with the same time slice identifier, and the time slice identifier of the service packet is the same as the time slice identifier carried by the test packet;
  • the processor is further configured to calculate a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • the processor is further configured to add the allocated time slice identifier to a preset field in a packet header of the service packet.
  • the processor is further configured to encapsulate a protocol packet header for the service packet, where the protocol packet header is a time slice identifier of a subset of the service packet where the service packet is located.
  • the processor is further configured to insert at least one out-of-order test packet in the service packet subset, where the out-of-order test packet carries a time slice identifier of the service packet subset, and the out-of-sequence test packet And the third counting result is a counting result that is sent corresponding to the time slice identifier of the out-of-order test packet before the sending the out-of-sequence test packet;
  • the transmitter is further configured to send the service packet subset to the receiving end, and each service packet subset includes at least one out of order test packet;
  • the receiver is further configured to receive an out-of-order response message fed back by the receiving end, where the out-of-order response message carries a fourth count when the receiving end receives the out-of-order test message.
  • the fourth counting result is used to indicate the number of service packets that have been received by the receiving end and have the same time slice identifier as the out-of-order test packet when the out-of-sequence test packet is received;
  • the processor is further configured to determine, according to the first counting result, the second counting result, the third counting result, and the fourth counting result, whether the service packet in the service packet subset is out of order.
  • test packets sent by the transmitter are sent by the sending end to the receiving end through the same path;
  • the test packet sent by the transmitter is a forward control frame
  • the response message received by the receiver is a backward report frame.
  • the present invention also provides a measuring device for network packet loss, which is applied to The receiving end is located in a data transmission system, the system is provided with a transmitting end and the receiving end, and the device comprises:
  • a receiver configured to receive a service packet sent by the sender, where the service packet carries a time slice identifier
  • a memory for storing the received service message
  • a processor configured to count the received service packets with the same time slice identifier
  • the receiver is further configured to receive a test packet sent by the sending end, where the test packet carries the time slice identifier;
  • the processor is further configured to obtain a second counting result corresponding to the time slice identifier, where the second counting result is used to indicate that the receiving end carries the test packet and is carried by the test packet.
  • the time slice identifies the count result of the service packet corresponding to the time slice;
  • a transmitter configured to send a response packet to the sending end, where the response packet carries the obtained second counting result.
  • the preset field in the packet header of the service packet received by the receiver is added with the time slice identifier
  • the processor is further configured to count the received service packets having the same time slice identifier.
  • the service packet received by the receiver is encapsulated with a protocol packet header, and the protocol packet header is a time slice identifier of the service packet;
  • the processor is further configured to count the received service packets having the same time slice identifier.
  • the receiver is further configured to receive the out-of-order test packet sent by the sending end, where the out-of-order test packet carries the time slice identifier;
  • the processor is further configured to acquire a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that the receiving end has received the received out of order message The number of service packets having the same time slice identifier as the out-of-order test packet;
  • the transmitter is further configured to feed back an out-of-order response message to the sending end, where the out-of-order response message carries the acquired fourth counting result.
  • test packets received by the receiver are sent by the sending end to the receiving end through the same path;
  • the test message received by the receiver is a forward control frame
  • the response message sent by the transmitter is a backward report frame.
  • the present invention further provides a measuring device for network packet loss, the device is applied to a transmitting end, and the transmitting end is located in a data transmission system, and the system is provided with the transmitting end and the receiving end.
  • the device includes:
  • a dividing unit configured to divide the service packet set in time according to the preset time slice length, to obtain at least two service message subsets, each of the service packet subsets being part of the service packet set All the service message subsets form the service message set;
  • An allocating unit configured to allocate different time slice identifiers for the adjacent subset of at least two service packets obtained by dividing the unit;
  • An adding unit configured to add a time slice identifier allocated by the allocation unit to a service packet in each service packet subset obtained by dividing the unit;
  • a sending unit configured to sequentially send, to the receiving end, a subset of the service packets added by the adding unit to the time slice identifier
  • a counting unit configured to count a service packet that has been sent by the sending unit and has the same time slice identifier
  • An obtaining unit configured to obtain a first counting result from the counting unit when the current service packet subset is sent, where the first counting result is a time slice identifier of the current service packet subset Corresponding counting result, the preset duration is greater than a transmission duration of the service packet subset between the transmitting end and the receiving end;
  • the sending unit is further configured to send a test packet to the receiving end after the preset duration, where the test packet carries a time slice identifier of the current service packet subset;
  • the receiving unit is configured to receive a response packet that is sent by the receiving end, where the response packet carries the second counting result, and the second counting result is used to indicate that the receiving end receives the test packet
  • the number of service packets received by the receiving end with the same time slice identifier, and the time slice identifier of the service packet is the same as the time slice identifier carried by the test packet;
  • a processing unit configured to calculate, according to the first counting result obtained by the acquiring unit and the second counting result received by the receiving unit, a packet loss rate of the service packet subset.
  • the adding unit is further configured to add the allocated time slice identifier in a preset field in a packet header of the service packet.
  • the adding unit is further configured to add a protocol packet header to the service packet, where the protocol packet header is a time slice identifier of a subset of the service packet in which the service packet is located.
  • the device further includes: an insertion unit, configured to insert at least one out-of-order test packet in the service packet subset obtained by dividing the unit, where the out-of-order test packet carries a time slice identifier of the service packet subset
  • the out-of-order test packet is used to instruct the obtaining unit to obtain a third counting result from the counting unit, where the third counting result is sent before the sending the out-of-sequence test message, and the out-of-order
  • the time slice identifier of the test packet corresponds to the counting result
  • the sending unit is further configured to sequentially send the service message subset to the receiving end, where each service packet subset includes at least one out of order test message inserted by the inserting unit;
  • the receiving unit is further configured to receive an out-of-order response message fed back by the receiving end, where the out-of-order response message carries a fourth count when the receiving end receives the out-of-order test message
  • the fourth counting result is used to indicate the number of service packets that have been received by the receiving end and have the same time slice identifier as the out-of-sequence test packet when the out-of-sequence test packet is received;
  • the processing unit is further configured to determine, according to the first counting result, the third counting result, and the second counting result and the fourth counting result received by the receiving unit, the service report Whether the service packets in the text group are out of order.
  • test packets sent by the sending unit are sent by the sending end to the receiving end through the same path;
  • the test packet sent by the sending unit is a forward control frame
  • the response message received by the receiving unit is a backward report frame.
  • the present invention further provides a measuring device for network packet loss, the device is applied to a receiving end, and the receiving end is located in a data transmission system, and the system is provided with a transmitting end and the receiving end.
  • the device includes:
  • a receiving unit configured to receive a service packet sent by the sending end, where the service packet carries a time slice identifier
  • a counting unit configured to count the received service packets having the same time slice identifier
  • the receiving unit is further configured to receive a test packet sent by the sending end, where the test packet carries the time slice identifier;
  • An obtaining unit configured to obtain a second counting result corresponding to the time slice identifier from the counting unit, where the second counting result is used to indicate that the receiving end receives the test packet, and the test report
  • the time slice carried in the text identifies the counting result of the corresponding service packet
  • a sending unit configured to send a response packet to the sending end, where the response packet carries the second counting result obtained by the acquiring unit.
  • the preset field in the packet header of the service packet received by the receiving unit is added with the time Inter-slice identification
  • the counting unit is further configured to count, by the receiving unit, a service packet having the same time slice identifier.
  • the service packet received by the receiving unit is encapsulated with a protocol packet header, and the protocol packet header is a time slice identifier of the service packet;
  • the counting unit is further configured to count, by the receiving unit, the service packets having the same time slice identifier.
  • the receiving unit is further configured to receive the out-of-order test packet sent by the sending end, where the out-of-order test packet carries the time slice identifier;
  • the obtaining unit is further configured to: obtain, by the counting unit, a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that when the out-of-order test packet is received, The number of service packets received by the receiving end that have the same time slice identifier as the out-of-order test packet;
  • the sending unit is further configured to: feed the out-of-order response message to the sending end, where the out-of-order response message carries the fourth counting result obtained by the acquiring unit.
  • test packets received by the receiving unit are sent by the sending end to the receiving end through the same path;
  • the test message received by the receiving unit is a forward control frame
  • the response message sent by the sending unit is a backward report frame.
  • the present invention further provides a method for measuring network packet loss, the method being applied to a data transmission system, where the system is provided with a transmitting end and a receiving end, and the method includes:
  • the sending end divides the service packet set in time series according to the preset time slice length, and obtains at least two service packet subsets, and each of the service packet subsets is one of the service packet sets. Part, all the service message subsets form the service message set;
  • the transmitting end allocates different time slice identifiers for the adjacent at least two service packet subsets, and adds the allocated time slice identifier to the service packets in each service packet subset;
  • the sending end counts the service packets that have been sent with the same time slice identifier
  • the sending end obtains the first counting result, and sends a test packet to the receiving end after the preset time length, where the test packet carries the current service packet subset.
  • the time slice identifier, the first counting result is a counting result corresponding to the time slice identifier of the current service packet subset, and the preset duration is greater than the service packet subset at the sending end and the The length of transmission between the receiving ends;
  • the sending end receives the response message replied by the receiving end, where the response message carries the second counting result, and the second counting result is used to indicate that the receiving end receives the test message
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • the sending end calculates a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • Adding the allocated time slice identifier to the service packet in each service packet subset includes:
  • the allocated time slice identifier is added to a preset field in the packet header of the service packet.
  • Adding the allocated time slice identifiers to the service packets in each service packet subset including:
  • Encapsulating a protocol packet header for the service packet where the protocol packet header is a time slice identifier of a subset of the service packet where the service packet is located.
  • the method further includes:
  • the sending end inserts at least one out-of-order test packet in the service packet subset, where the out-of-order test packet carries a time slice identifier of the service packet subset, and the out-of-order test packet is used to indicate acquisition.
  • a third counting result where the third counting result is a counting result that is sent corresponding to the time slice identifier of the out-of-order test packet before the out-of-sequence test packet is sent;
  • each service packet subset includes at least one out of order test packet
  • the sending end receives the out-of-order response message fed back by the receiving end, where the out-of-order response message carries a fourth counting result when the receiving end receives the out-of-order test message,
  • the fourth counting result is used to indicate the number of service packets that have been received by the receiving end and have the same time slice identifier as the out-of-order test packet when the out-of-sequence test packet is received;
  • the sending end determines, according to the first counting result, the second counting result, the third counting result, and the fourth counting result, whether the service packets in the service packet subset are out of order.
  • test packets are sent by the sending end to the receiving end through the same path;
  • the test message is a forward control frame
  • the response message is a backward report frame.
  • the present invention further provides a method for measuring network packet loss, the method being applied to a data transmission system, where the data transmission system is provided with a transmitting end and a receiving end, and the method includes:
  • the receiving end counts the received service packets with the same time slice identifier
  • the receiving end receives the test packet sent by the sending end, where the test packet carries the time slice identifier
  • the second counting result is used to indicate the number of service packets that have been received by the receiving end and have the same time slice identifier as the test packet when the receiving end receives the test packet;
  • the receiving end sends a response packet to the sending end, where the response packet carries the obtained second counting result.
  • the counting of the service packets that have received the same time slice identifier includes:
  • the received service packets having the same time slice identifier are counted.
  • the counting of the service packets that have received the same time slice identifier includes:
  • the service packet is encapsulated with a protocol packet header, and the protocol packet header is a time slice identifier of the service packet;
  • the received service packets having the same time slice identifier are counted.
  • the method further includes:
  • the receiving end acquires a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that the receiving end has received the mess when receiving the out-of-order test packet
  • the receiving end feeds the out-of-order response message to the sending end, where the out-of-order response message carries the obtained fourth counting result.
  • test packets are sent by the sending end to the receiving end through the same path;
  • the test message is a forward control frame
  • the response message is a backward report frame.
  • the present invention provides a plurality of services by dividing a service packet into a time slice, compared with a case where a test packet and a service packet are out of order in the prior art.
  • the packet subset is assigned a different time slice identifier for the service packet subset.
  • the test packet also carries the corresponding time slice identifier, and the delay test packet is sent.
  • the delay time is greater than the service packet subset.
  • the transmission time between the terminal and the receiving end can ensure that the test packet is sent to the receiving end when the test packet is sent, so that the test packet and the service packet are out of order at the receiving end.
  • the present invention can accurately calculate the packet loss rate on the premise that there is a disorder of the test packet and the service packet.
  • serial processing There are multiple transmission paths in the network, and multiple transmission paths correspond to the parallel processing of transmitted messages like multiple pipelines.
  • the serial processing means that only one transmission path exists in the network, and all the packets pass through the transmission path from the transmitting end to the receiving end, and then the message must arrive at the receiving end in turn, and there is no disorder.
  • the number of packets is large.
  • the scheme can accurately calculate the packet loss rate, the processing performance of the hardware is relatively high, and the resources consumed are large. Therefore, the existing hardware needs to be modified.
  • the solution obtains the service packet by dividing the service packet into a time slice, and delays the sending of the test packet corresponding to the service packet subset.
  • the delay time is greater than the service packet.
  • the transmission time of the subset can avoid the out-of-order of test packets and service packets, and thus can accurately calculate the packet loss rate.
  • This solution does not need to be implemented by modifying the existing hardware structure, which can reduce the implementation cost.
  • FIG. 1 is a schematic structural diagram of a network packet loss measuring apparatus according to an embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a network packet loss measuring apparatus according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a network packet loss measuring apparatus according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a device for measuring packet loss on a network according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a network packet loss measuring apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of a method for measuring network packet loss according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of time slice division of service packets according to an embodiment of the present disclosure.
  • FIG. 8 is a flowchart of a method for measuring network packet loss in a three-layer network according to an embodiment of the present disclosure
  • FIG. 9 is a schematic diagram of dividing a time slice according to a highest bit of an Identification field according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a highest two-bit split time slice according to an Identification field according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of a method for measuring network packet loss in a three-layer network according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of a method for measuring out-of-order service packets according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a packet collection including an out-of-order test packet according to an embodiment of the present disclosure
  • FIG. 14 is a flowchart of a method for measuring network packet loss according to an embodiment of the present invention.
  • FIG. 15 is a flowchart of a method for measuring out-of-order service packets according to an embodiment of the present invention.
  • the embodiment provides a measuring device for network packet loss, and the device is applied to a transmitting end, where the receiving end is located in a data transmission system, and the system is provided with the transmitting end and the receiving end.
  • the apparatus includes a memory 101, a processor 102, a transmitter 103, and a receiver 104. Also shown in FIG. 1 is a bus 105 that is coupled, connected by a bus 105, and that communicates with each other. among them:
  • the memory 101 is configured to store a service message set.
  • the processor 102 is configured to divide the service packet set in time according to the preset time slice length, to obtain at least two service message subsets, and each of the service packet subsets is the service packet set. And a part of all the service packet subsets form the service packet set;
  • the transmitter 103 is configured to send a subset of service packets to the receiving end in sequence
  • the processor 102 is further configured to count the service packets that have been sent with the same time slice identifier
  • the first counting result is obtained, and after the preset duration, the test packet is sent to the receiving end, and the test packet carries the time slice identifier of the current service packet subset.
  • the result of the counting is the counting result corresponding to the time slice identifier of the current service packet subset, and the preset duration is greater than the transmission duration of the service packet subset between the transmitting end and the receiving end;
  • the receiver 104 is configured to receive a response packet that is sent by the receiving end, where the response packet carries a second counting result, where the second counting result is used to indicate that the receiving end receives the test packet, and the receiving end has received The number of service packets identified by the same time slice.
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • the processor 102 is further configured to calculate a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • the present embodiment uses the processor to divide the service packet into time slices.
  • a subset of service packets, and different time slice identifiers are assigned to the service packet subsets.
  • the test packets also carry corresponding time slice identifiers, and the transmitter delays the transmission of test packets, and the delay time is greater than the service packet.
  • the transmission time between the sender and the receiver can ensure that the test packets are sent to the receiver when the test packet is sent, so that the test packets and service packets of the receiver are out of order.
  • the device for packet loss of the network provided in this embodiment can accurately calculate the packet loss rate.
  • serial processing There are multiple transmission paths in the network, and multiple transmission paths correspond to the parallel processing of transmitted messages like multiple pipelines.
  • the serial processing means that only one transmission path exists in the network, and all the packets pass through the transmission path from the transmitting end to the receiving end, and then the message must arrive at the receiving end in turn, and there is no disorder.
  • the number of packets is large.
  • the scheme can accurately calculate the packet loss rate, the processing performance of the hardware is relatively high, and the resources consumed are large. Therefore, the existing hardware needs to be modified.
  • the service packet is divided into time segments by the processor to obtain a subset of the service packet; the transmitter delays the sending of the test packet corresponding to the subset of the service packet, and the delay time is If the transmission time of the service packet is greater than the transmission time of the service packet, the network packet loss device of the embodiment can accurately calculate the packet loss rate without modifying the existing hardware structure. Can reduce implementation costs.
  • the processor 102 is further configured to add the allocated time slice identifier in a preset field in a packet header of the service packet.
  • the processor 102 is further configured to encapsulate a protocol packet header for the service packet, where the protocol packet header is a time slice identifier of the service packet subset in which the service packet is located.
  • the processor 102 is further configured to insert at least one out-of-order test packet in the service packet subset, where the out-of-order test packet carries a time slice identifier of the service packet subset, and the out-of-order test packet is used to indicate Obtaining a third counting result, where the third counting result is a counting result corresponding to the time slice identifier of the out-of-order test packet sent before the out-of-sequence test packet is sent.
  • the transmitter 103 is further configured to sequentially send a subset of service packets to the receiving end, where each service packet subset includes at least one out-of-order test packet.
  • the receiver 104 is further configured to receive an out-of-order response message fed back by the receiving end, where the out-of-order response message carries a fourth counting result when the receiving end receives the out-of-order test message, where the fourth counting result is used. Indicates that the receiving end has received the same time as the out-of-order test packet when receiving the out-of-order test packet. Number of service packets identified by the slice.
  • the processor 102 is further configured to determine, according to the first counting result, the second counting result, the third counting result, and the fourth counting result, whether the service packets in the service packet subset are out of order.
  • test packets sent by the transmitter 103 are sent by the transmitting end to the receiving end through the same path;
  • the test message sent by the transmitter 103 is a forward control frame
  • the response message received by the receiver 104 is a backward report frame.
  • the processor 102 in the embodiment of the present invention may be a processor or a collective name of multiple processing elements.
  • the processor 102 may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention.
  • An integrated circuit such as one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
  • the memory 101 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or the like. And the memory 101 may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • the bus 105 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 1, but it does not mean that there is only one bus or one type of bus.
  • the embodiment of the invention further provides a measuring device for network packet loss, the device is applied to a receiving end, and the receiving end is located in a data transmission system, and the system is provided with a transmitting end and the receiving end.
  • the apparatus includes a receiver 201, a memory 202, a processor 203, and a transmitter 204. Also shown in FIG. 2 is a bus 205, the receiver 201, the memory 202, the processor 203, and the transmitter. 204 are connected by bus 205 and complete communication with each other. among them:
  • the receiver 201 is configured to receive a service packet sent by the sending end, where the service packet carries a time slice identifier
  • the storage 202 is configured to store the received service message.
  • the processor 203 is configured to count the received service packets with the same time slice identifier.
  • the receiver 201 is further configured to receive a test packet sent by the sending end, where the test packet carries a time slice identifier
  • the processor 203 is further configured to obtain a second counting result corresponding to the time slice identifier, where the second counting result is used to indicate a service corresponding to the time slice identifier carried in the test packet when the receiving end receives the test packet The result of counting the message;
  • the transmitter 204 is configured to send a response packet to the sending end, where the response packet carries the obtained second counting result.
  • the device for measuring the packet loss of the network provided by the embodiment of the present invention has the same service with the same time slice identifier as the processor in this embodiment, compared with the case where the test packet and the service packet are out of order in the prior art.
  • the packet is accumulated and the test packet received by the receiver is delayed in the reception of the corresponding service packet. This prevents the out-of-order situation of the test packet and the service packet.
  • the test packet and the service packet do not exist. Under the premise of out-of-order, when the receiver receives the test message, it can instruct the processor to extract the correct second counting result, thereby facilitating the sender to accurately calculate the packet loss according to the correct first counting result and the second counting result. rate.
  • the preset field in the packet header of the service packet received by the receiver 201 is added with a time slice identifier.
  • the processor 203 is further configured to count the received service packets having the same time slice identifier.
  • the service packet received by the receiver 201 is encapsulated with a protocol packet header, where the protocol packet header is a time slice identifier of the service packet;
  • the processor 203 is further configured to calculate the received service packet with the same time slice identifier. number.
  • the receiver 201 is further configured to receive the out-of-order test packet sent by the sending end, where the out-of-order test packet carries a time slice identifier.
  • the processor 203 is further configured to obtain a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that when the out-of-sequence test packet is received, the receiving end has received the same as the out-of-order test packet. Number of service packets identified by the time slice.
  • the transmitter 204 is further configured to feed back the out-of-order response message to the sending end, where the out-of-order response message carries the obtained fourth counting result.
  • test packets received by the receiver 201 are sent from the transmitting end to the receiving end through the same path.
  • the test message received by the receiver 201 is a forward control frame.
  • the response message sent by the transmitter 204 is a backward report frame.
  • the processor 203 in the embodiment of the present invention may be a processor or a collective name of multiple processing elements.
  • the processor may be a central processing unit (CPU), or may be an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention.
  • An integrated circuit such as one or more digital signal processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs).
  • the memory 202 may be a storage device or a collective name of a plurality of storage elements, and is used to store executable program code or the like. And the memory may include random access memory (RAM), and may also include non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • RAM random access memory
  • non-volatile memory such as a magnetic disk memory, a flash memory, or the like.
  • the bus 205 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only in Figure 2 It is indicated by a thick line, but does not mean that there is only one bus or one type of bus.
  • the embodiment further provides a measuring device for network packet loss, the device is applied to a transmitting end, and the transmitting end is located in a data transmission system, and the system is provided with the transmitting end and the receiving end, as shown in FIG.
  • the device includes: a dividing unit 301, configured to divide the service packet set in time according to the preset time slice length, to obtain at least two service packet subsets, and each service packet subset is a service packet set. As part of the total service message subset, the service message set is formed.
  • the allocating unit 302 is configured to allocate different time slice identifiers to the adjacent subset of at least two service packets obtained by the dividing unit 301.
  • the adding unit 303 is configured to add a time slice identifier allocated by the allocating unit 302 to the service packet in each service packet subset obtained by the dividing unit 301.
  • the sending unit 304 is configured to sequentially send, to the receiving end, a service packet subset that is added by the adding unit 303 with a time slice identifier, and the service packet subset is divided by the dividing unit 301.
  • the counting unit 305 is configured to count the service packets that have been sent by the sending unit 304 and have the same time slice identifier.
  • the obtaining unit 306 is configured to: when the current service packet subset is sent, obtain the first counting result from the counting unit 305, where the first counting result is a counting result corresponding to the time slice identifier of the current service packet subset.
  • the preset duration is greater than the transmission duration between the sender and the receiver of the service packet subset.
  • the sending unit 304 is further configured to send a test packet to the receiving end after the preset duration, where the test packet carries a time slice identifier of the current service packet subset.
  • the receiving unit 307 is configured to receive a response packet that is sent by the receiving end, where the response packet carries a second counting result, where the second counting result is used to indicate that the receiving end receives the test packet, and the receiving end has received the The number of service packets with the same time slice identifier.
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • the processing unit 308 is configured to calculate a packet loss rate of the service packet subset according to the first counting result obtained by the obtaining unit 306 and the second counting result received by the receiving unit 307.
  • the measurement device for network packet loss provided by this embodiment, and the test message and industry exist in the prior art Compared with the case of the out-of-order of the message, the embodiment obtains a plurality of service message subsets by dividing the service packet into time slices, and the allocation unit allocates different time slice identifiers for the service message subset.
  • the test packet carries the corresponding time slice identifier, and the sending unit delays the transmission of the test packet.
  • the delay time is greater than the transmission time between the sender and the receiver of the service packet subset, which ensures that the test packet is sent.
  • the service packets corresponding to the service packets have arrived at the receiving end, and the device can avoid the out-of-order situation of the test packets and the service packets.
  • the device does not exist in the out-of-order of the test packets and service packets.
  • the packet loss rate can be accurately calculated.
  • the solution mainly processes a message by serial processing, so-called serial processing is
  • serial processing is There are multiple transmission paths in the network, and multiple transmission paths correspond to the parallel processing of transmitted messages like multiple pipelines.
  • the serial processing means that only one transmission path exists in the network, and all the packets pass through the transmission path from the transmitting end to the receiving end, and then the message must arrive at the receiving end in turn, and there is no disorder.
  • the number of packets is large.
  • the device divides the service packet into a time slice by the dividing unit to obtain a subset of the service packet, and the sending unit delays sending the test packet corresponding to the service packet subset, and the delay time is greater than
  • the transmission time of the service packet subset can avoid the out-of-order of the test packet and the service packet, and can accurately calculate the packet loss rate.
  • the device does not need to be implemented by modifying the existing hardware structure, thereby reducing the implementation cost.
  • the adding unit 303 is further configured to add the allocated time slice identifier in a preset field in a packet header of the service packet.
  • the adding unit 303 is further configured to add a protocol packet header to the service packet, where the protocol packet header is a time slice identifier of the service packet subset in which the service packet is located.
  • the apparatus further includes: an insertion unit 401, configured to insert at least one out-of-order test packet in the service packet subset obtained by the dividing unit 301, where the out-of-order test packet carries the service packet
  • the time slice identifier of the subset, the out-of-order test message is used to instruct the obtaining unit 306 to obtain the third counting result from the counting unit 305, and the third counting result is before sending the out-of-order test packet.
  • the sending unit 304 is further configured to sequentially send the foregoing service message subset to the receiving end, where each service message subset includes at least one out-of-order test packet inserted by the inserting unit 401.
  • the receiving unit 307 is further configured to receive, by the receiving end, an out-of-order response message, where the out-of-order response message carries a fourth counting result when the receiving end receives the out-of-order test message, where the fourth counting result is used. Indicates the number of service packets received by the receiving end that have the same time slice identifier as the out-of-sequence test packet when the out-of-order test packet is received.
  • the processing unit 308 is further configured to determine, according to the first counting result, the third counting result, and the second counting result and the fourth counting result received by the receiving unit 307, whether the service packet in the service packet subset is There is a disorder.
  • All test packets sent by the sending unit 304 pass through the same path from the transmitting end to the receiving end.
  • the test message sent by the sending unit 304 is a forward control frame.
  • the response message received by the receiving unit 307 is a backward report frame.
  • the embodiment further provides a measuring device for network packet loss, the device is applied to a receiving end, and the receiving end is located in a data transmission system, and the system is provided with a transmitting end and the receiving end, as shown in FIG. , the device includes:
  • the receiving unit 501 is configured to receive a service packet sent by the sending end, where the service packet carries a time slice identifier.
  • the counting unit 502 is configured to count the service packets that have been received by the receiving unit 501 and have the same time slice identifier.
  • the receiving unit 501 is further configured to receive a test packet sent by the sending end, where the test packet carries a time slice identifier.
  • the obtaining unit 503 is configured to obtain, according to the test packet received by the receiving unit 501, a second counting result corresponding to the time slice identifier of the test packet, and the second counting result is used to indicate that the receiving end receives the test.
  • the service corresponding to the time slice identifier carried in the test packet when the packet is received The result of counting the message.
  • the sending unit 504 is configured to send a response packet to the sending end, where the response packet carries the second counting result obtained by the obtaining unit 503.
  • the preset field in the packet header of the service packet received by the receiving unit 501 is added with a time slice identifier
  • the counting unit 502 is further configured to count the service packets received by the receiving unit 501 with the same time slice identifier.
  • the service packet received by the receiving unit 501 is encapsulated with a protocol packet header, and the protocol packet header is a time slice identifier of the service packet.
  • the counting unit 502 is further configured to count the service packets received by the receiving unit 501 with the same time slice identifier.
  • the receiving unit 501 is further configured to receive the out-of-order test packet sent by the sending end, where the out-of-order test packet carries the time slice identifier.
  • the obtaining unit 503 is further configured to obtain, from the counting unit 502, a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that the receiving end has received and out of order when the out of order test message is received.
  • the test packet has the number of service packets identified by the same time slice.
  • the sending unit 504 is further configured to: feed the out-of-order response message to the sending end, where the out-of-order response message carries the fourth counting result obtained by the obtaining unit 503.
  • test packets received by the receiving unit 501 are sent by the transmitting end to the receiving end through the same path.
  • the test message received by the receiving unit 501 is a forward control frame.
  • the response message sent by the sending unit 504 is a backward report frame.
  • the device for measuring network packet loss provided by the embodiment of the present invention is applied to the receiving end.
  • the counter of the receiving end of the present invention has only the same pair.
  • the service packets identified by the time slice are cumulatively counted, and the test packets received by the receiving unit are delayed in the reception of the corresponding service packets, which can avoid the out-of-order situation of the test packets and the service packets.
  • the test report is received.
  • the text acquisition unit can obtain the correct second counting result from the counting unit, thereby facilitating the transmitting end to accurately calculate the packet loss rate according to the correct first counting result and the second counting result.
  • the embodiment provides a method for measuring network packet loss.
  • the method is applied to a data transmission system.
  • the system is provided with a transmitting end and a receiving end.
  • the method includes :
  • S601 The sending end divides the service packet set in time series according to the preset time slice length, and obtains at least two service packet subsets, each service packet subset is part of the service packet set, and all service packets are The subset constitutes the set of service messages.
  • the number of service packets transmitted in the network is large, and service packets are transmitted almost every moment. If it is desired to calculate the packet loss rate of a service packet in a long period of time, the present invention considers that it is preferable to divide the longer period into a plurality of small periods. In this way, by dividing the time period statistics, the number of lost packets and the packet loss rate in each time period can be obtained, and the packet loss situation is specifically located in a certain time period; or the number of packet loss in different time segments can be correspondingly The operation results in the total number of lost packets and the total packet loss rate.
  • the transmitting end first performs time slice division of the service packet according to the preset time slice length, and the service packet included in each time slice.
  • a subset of the service packets is formed, and the number of lost packets is calculated for each service packet in the subset of the service packets obtained after the division.
  • the number of service packet subsets is not less than two, and all service packet subsets form the foregoing service packet set.
  • each service packet subset corresponds to a test packet.
  • the length of the preset time slice can be selected according to actual needs.
  • the preset time slice is 20 ms in length.
  • S602 The sender allocates different time slice identifiers for the at least two adjacent service packet subsets, and adds the allocated time slice identifier to the service packets in each service packet subset.
  • the sender distinguishes the service packet subset by using the time slice identifier. More specifically, the time slice identifier of the service packet in the same service packet subset is the same, and different service packets are used. The time slice identifier of the service packets in the set is different.
  • the time slice identifier may be a packet encapsulation format or a certain identifier bit in the packet header of the packet; the corresponding method may be implemented in a Layer 2 network or in a Layer 3 network. .
  • the time slice identifier when the time slice identifier is allocated, under the premise that the preset time slice length is reasonably selected and the test packet transmission time is reasonably set, only the adjacent two service packet subsets need to be assigned different time slice identifiers. There is no need to ensure that the time slice identifiers of all service packet subsets are different from each other. For example, when the time slice identifier includes two time slice identifiers a and b, the time slice identifier a may be allocated for the service packet subset 1, the time slice identifier b is allocated for the service packet subset 2, and the service packet subset 3 is allocated time. The slice identifier a, the service packet subset 4 allocates the time slice identifier b, and sequentially cycles.
  • the time slice identifier when the time slice identifier includes the time slice identifiers a, b, and c, the time slice identifier a, the service packet subset 2, the time slice identifier b, and the service report may be allocated to the service packet subset 1 Text subset 3 assigns a time slice identifier c or a, and so on.
  • the time slice identifier when the time slice identifier is allocated, it is only necessary to ensure that the time slice identifiers of the adjacent service packet subsets are different, and the service packets with the same time slice identifier can be accumulated, and the current service packet subset is performed. When the number of service packets is calculated, the current cumulative result is subtracted from the previous accumulated result to obtain the result of counting the service packets of the current service packet subset.
  • S603 The transmitting end sequentially sends the foregoing service message subset to the receiving end.
  • the sending end After the time slice identifier is added to each service packet, the sending end sends the service packet with the time slice identifier added to the receiving end.
  • S604 The sender counts the service packets that have been sent with the same time slice identifier.
  • the sending end is provided with a counter, and each service packet is sent for counting, and the service packets with the same time slice identifier are cumulatively counted.
  • the sending end obtains the first counting result, and sends a test packet to the receiving end after the preset time length, where the test packet carries the current service packet subset.
  • the slice identifier, the first count result is a count result corresponding to the time slice identifier of the current service packet subset, and the preset duration is greater than the transmission duration of the current service packet subset between the sender and the receiver.
  • the sender After the current service packet subset is sent, the sender needs to save the first count result locally. Or the first counting result is carried in the test packet, and the first counting result is a counting result of all service packets having the same time slice identifier as the current service packet subset, and thus the first counting result may be some
  • the result of counting the service packets of a subset of service packets may also be the cumulative count result of a subset of service packets having the same time slice identifier.
  • Each of the service packet subsets has a test packet, and the test packet carries a time slice identifier of the current service packet subset, and is used by the receiving end according to the test packet after receiving the test packet.
  • the time slice identifier extracts a counting result of the service packet corresponding to the time slice identifier.
  • the time slice identifier of the test packet and the time slice identifier of the corresponding service packet subset may be identical or different. As long as the identifier of the test packet is associated with the identifier of the service packet subset, the receiving end may The service packet corresponding to the test packet is identified according to the corresponding relationship.
  • the test packet is delayed in the transmission of the service packet subset.
  • the delay time is a preset duration, and the preset duration is greater than the transmission duration between the sender and the receiver of the current service packet subset, that is, the preset is set.
  • the purpose of the duration is to ensure that the service packet corresponding to the test packet that has been sent by the sender sends the test packet to the receiver. Therefore, the setting of the preset duration is related to the complexity of the transmission network, whether it is multipath, the distance between the transmitting end and the receiving end, and the like. The more complex the network, the more multipath conditions, the farther the distance between the transmitting end and the receiving end, the corresponding preset time should be set longer.
  • the service packet is time-divided by inserting a test packet between the service packets, and the service packet cannot be distinguished from the same time slice or different time.
  • the test packet is sent, the accumulated result of all the service packets sent before the test packet is extracted.
  • the counting result of all received service packets is extracted based on the arrival time of the test packet, and the extracted counting result is not guaranteed to be the correct counting result.
  • this embodiment adds that the service packets of the adjacent at least two time slices (the time slice corresponds to the service message subset) are separately identified, so that the time slice is not dependent on the time slice.
  • the time node of the test packet is sent to ensure that the receiving end can identify that the service packet is from a different time slice according to the time slice identifier.
  • the test packet transmission time can be set reasonably and accurately. Calculate the packet loss rate.
  • the exemplary embodiment provides a method for time slice division of service packets, as shown in FIG. 7 .
  • the abscissa axis is a time axis, and the time is divided into multiple time slices according to 60 ms, and each time slice corresponds to a subset of service packets, and the time slice of 0-60 ms in the figure corresponds to a subset of service packets.
  • 71, 60ms-120ms time slice corresponds to the service message subset 72, each service message subset includes a plurality of service messages 711, and the periodically inserted test message delays the transmission of the corresponding service message subset.
  • the test packet 712 corresponding to the service packet subset 71 is sent at 110 ms, and the delay time is 50 ms.
  • the service packet subset and the test packet correspond to each other by the same time slice identifier.
  • the sending end receives the response message sent by the receiving end, and the response message carries the second counting result, where the second counting result is used to indicate that the receiving end has received the same time when receiving the test message.
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • the receiving end is provided with a counter, and each time a service packet is received, the service packet is counted once, and the service packets with the same time slice identifier are cumulatively counted.
  • the receiving end When receiving the test packet from the sending end, the receiving end obtains the second counting result according to the time slice identifier carried in the test packet, and returns the second counting result to the sending end by sending the response packet; specifically, The second count result indicates the number of service packets that have been received by the receiving end and have the same time slice identifier, and the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • the response packet returned by the receiving end to the sending end also carries the first counting result.
  • S607 The sending end calculates a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • the calculation of the packet loss rate in a subset of service packets is: the number of lost service packets/the number of service packets sent by the sender.
  • the number of lost service packets is generally represented by the difference between the number of service packets sent by the sender and the number of service packets received by the receiver.
  • the method The first counting result corresponds to the number of service packets sent by the sending end; the second counting result corresponds to the number of service packets received by the receiving end; the difference between the two indicates the number of lost packets, according to the number of lost packets. And the first counting result is further calculated to obtain a packet loss rate.
  • the transmitting end is the party that initiates the data transmission
  • the receiving end is a passive side with respect to the transmitting end, and the transmitting end can adjust the data transmission rate or adjust the data transmission path according to the obtained packet loss rate, and the packet loss rate is sent.
  • the end has a greater meaning, so the packet loss rate is generally calculated by the transmitting end for subsequent adjustment processing.
  • the calculation of the packet loss rate can also be performed at the receiving end.
  • the test packet sent by the sending end carries the current first counting result of the sending end, and after receiving the second counting result, the receiving end performs the calculation of the packet loss rate according to the first counting result and the second counting result, and then calculates The obtained packet loss rate is carried in the response packet and returned to the sender.
  • the present invention provides a plurality of services by dividing a service packet into a time slice, compared with a case where a test packet and a service packet are out of order in the prior art.
  • the packet subset is assigned a different time slice identifier for the service packet subset.
  • the test packet also carries the corresponding time slice identifier, and the delay test packet is sent.
  • the delay time is greater than the service packet subset.
  • the transmission time between the terminal and the receiving end can ensure that the test packet is sent to the receiving end when the test packet is sent, so that the test packet and the service packet are out of order at the receiving end.
  • the present invention can accurately calculate the packet loss rate on the premise that there is a disorder of the test packet and the service packet.
  • the method can be applied to various application scenarios such as multipath transmission and CPU multi-core processing.
  • the solution mainly performs the message processing by serial processing.
  • the so-called serial processing is that there are multiple transmission paths in the network, and multiple transmission paths correspond to the parallel processing of transmitted messages like multiple pipelines.
  • the serial processing means that only one transmission path exists in the network, and all the packets pass through the transmission path from the transmitting end to the receiving end, and then the message must arrive at the receiving end in turn, and there is no disorder.
  • the number of packets is large.
  • the scheme can accurately calculate the packet loss rate
  • the processing performance of the hardware is relatively high, and the resources consumed are large. Therefore, the existing hardware needs to be modified. In turn, the cost is higher.
  • the solution obtains the service packet by dividing the service packet into a time slice, and delays the sending of the test packet corresponding to the service packet subset. The delay time is greater than the service packet.
  • the transmission time of the subset can avoid the out-of-order of test packets and service packets, and thus can accurately calculate the packet loss rate.
  • This solution does not need to be implemented by modifying the existing hardware structure, which can reduce the implementation cost.
  • the embodiment further provides a method for measuring network packet loss, which is applied to a three-layer network, as shown in FIG. 8, the method includes:
  • S801 The sending end divides the service packet set in time according to the preset time slice length, and obtains at least two service packet subsets, each service packet subset is part of the service packet set, and all service packets are The subsets form a collection of business messages.
  • S802 The sender allocates different time slice identifiers for the at least two adjacent service packet subsets, and adds the allocated time slice identifier to the preset field in the packet header of the service packet.
  • the time slice is identified as some identifier bits in the packet header of the service packet; the receiving end can implement the identification of the received service packet in the Layer 3 network.
  • the packet header of the IP packet transmitted at the network layer includes a 4-bit version (Version) number, a 4-bit header length (Internet Header Length, IHL), and an 8-bit service type (Type). Of Service), Total Length of 16bits, Identification of 16bits, Flags of 3bits, Fragmentation Offset of 13bits, Time To Live (TTL) of 8bits, Protocol for 8bits, Header Checksum for 16bits, Source Address for 32bits, Destination Address for 32bits, Options for 16bits, Padding for 16bits And other fields.
  • the data in the figure is used to represent the useful information in binary representation carried in the message.
  • an identification field is used to mark the current data packet as the first fragment.
  • the lifetime time (TTL) value is automatically decremented by 1 every 1 ms or a gateway, until it is reduced to 0, indicating that the network is unreachable.
  • TTL time to live
  • the data packet will pass through a certain network node according to the calculated routing path, and then the transmitting end arrives at the receiving end.
  • the value of the time to live (TTL) is automatically decremented by one after each routing node. In general, the number of routing nodes in the network is up to about 20.
  • the preset field may be an Identification field or a time-to-live TTL field in the packet header.
  • the Identification field as an example, you can distinguish different time slices by setting the highest bit of the Identification field alternately to 0 or 1.
  • the highest bit of the Identification field of all service packets in time slice 1 is 0, and the highest bit of the Identification field of all service packets in time slice 2 is 1, and all service packets in time slice 3
  • the highest bit of the Identification field is 0, and the highest bit of the Identification field of all service messages in time slice 4 is 1, and the loop is repeated.
  • the highest bit of the identification field is the time slice identifier of each service packet, and the time slice identifier of the service packet in the same service packet subset is the same.
  • the highest two digits of the Identification field may be respectively set to 00, 01, 10, and 11 to distinguish the adjacent four service packet subsets, and the highest two digits of the Identification field are time. Slice identification.
  • the TTL setting can be the same as the setting of the Identification field.
  • the above identification field or the TTL time field setting of the method does not affect the normal transmission of the message. Specifically, when the highest bit of the Identification field changes, it can still be used to indicate the number of fragments.
  • the TTL value ranges from 0 to 127, that is, the maximum number of packets allowed by the sender to reach the receiver through 128 network nodes, so that the maximum number of nodes in the existing network can still be met.
  • the TTL value ranges from 128 to 255. That is, the maximum number of packets allowed by the sender to reach the receiver through 128 network nodes can still meet the requirements of the existing network.
  • the preset field may also be another field in the packet header that does not affect the normal transmission of the packet, and the method for identifying the corresponding time slice may also be derived according to the foregoing, and is not repeatedly described in this embodiment.
  • S803 The sending end sequentially sends the foregoing service message subset to the receiving end.
  • S804 The sender counts the service packets that have been sent with the same time slice identifier.
  • the sending end obtains the first counting result, and sends a test packet to the receiving end after the preset time length, where the test packet carries the current service packet subset.
  • the slice identifier, the first count result is a count result corresponding to the time slice identifier of the current service packet subset, and the preset duration is greater than the transmission duration of the service packet subset between the sender end and the receiver end.
  • both the test packet and the service packet have the packet header shown in Table 1.
  • the test packet does not carry useful data information; and the test packet and the test packet are The port numbers used for service packets are not the same.
  • the receiving end can identify the port number information in the packet header.
  • the received packet is a test packet or a service packet.
  • the port number used for the service packet is a specific port number specified in the protocol, such as port 80 and port 21, and the port number used for the test packet is 65020.
  • the port number used for the test message can also be set to other port numbers that do not conflict with the port number specified in the protocol.
  • the test packet also carries a time slice identifier corresponding to the service packet subset.
  • the test packet also has the above-mentioned packet header. Therefore, the time slice identifier corresponding to the test packet can be determined by setting the value of the preset field, and the setting method can refer to the setting method of the time slice identifier of the service packet.
  • the time slice identifier of the test packet may be the same as the time slice identifier of the corresponding service packet subset. For example, the time slice identifier of a certain service packet subset is the highest digit of the Identification field, and the corresponding test packet is corresponding. The time slice identifier is also the highest bit of the Identification field.
  • the identifier carried in the test packet may be other identifiers, and may not be consistent with the time slice identifier of the current service packet subset. As long as the identifier of the test packet has a corresponding relationship with the identifier of the service packet subset, the receiving end may be corresponding according to the corresponding identifier. The relationship identifies its corresponding service message. For example, if the time slice identifier of the current service packet subset is the highest bit of the Identification field, the identifier of the corresponding test packet can be set to the highest bit of the TTL. The receiving end may identify the service packet corresponding to the test packet according to the determined relationship between the value of the highest TTL and the value of the highest bit of the Identification field.
  • the packets transmitted in the Layer 3 network carry the active IP address, the destination IP address, the protocol type, the source port, and the destination port.
  • the same type of service packets have the same source IP address and destination IP address.
  • the protocol type is different from the source port and the destination port. Therefore, when multipath is available on the network, the source IP address, destination IP address, protocol type, source port, and destination port of each packet are calculated. Different hash values are then hashed to different transmission paths (PATHs), and the source IP address, destination IP address, protocol type, source port, and destination port of all test packets are the same.
  • the calculated hash value is also the same, and all test packets pass the same path from the sender to the receiver.
  • the multipath is for service packets, that is, different service packets have multiple paths to be selected from the transmitting end to the receiving end; All test packets can only be sent from the sender to the receiver through the same path. Therefore, there is no out-of-order situation between the test message and the test message. That is, when a test packet arrives at the receiving end, the extracted receiving end's counting result matches the counting result carried in the test packet.
  • the sending end receives the response message sent by the receiving end, and the response message carries the second counting result.
  • the second counting result is used to indicate that the receiving end has received the same time when receiving the test message.
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • S807 The transmitting end calculates a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • the first count result obtained by the sender is the accumulated sent all the same time slices.
  • the number of the identified service packets is the same.
  • the second count result extracted by the receiving end is the accumulated number of received service packets with the same time slice identifier.
  • the calculation of the packet loss rate can be referred to the following example.
  • the number of lost packets of the service packet subset corresponding to the time slice 3 is calculated as:
  • Time_slice_3_: Droper_Counter (Time_slice_3_Sender_Counter-Time_slice_1_Sender_Counter)-(Time_slice_3_Reciever_Counter-Time_slice_1_Reciever_Counter).
  • the time_slice_3_Sender_Counter is the first count result corresponding to the third test message
  • the time_slice_1_Sender_Counter is the first count result corresponding to the first test message, and the two are subtracted to obtain the corresponding subset of the service message.
  • Time_slice_3_Reciever_Counter is the second count result corresponding to the third test packet
  • Time_slice_1_Reciever_Counter is the second count result corresponding to the first test packet.
  • the number of service packets received by the receiving end corresponding to the subset of the service packets.
  • Time_slice_3_Droper_Counter indicates the number of lost packets in the subset of service packets.
  • the packet loss rate of the subset of service packets corresponding to time slice 3 is calculated as:
  • Time_slice_3_Droper_ratio Time_slice_3_Droper_Counter/(Time_sl ice_3_Sender_Counter-Time_slice_1_Sender_Counter).
  • the ratio of the result of the packet loss calculation to the total number of service packets sent can obtain the packet loss rate of the service packet subset, that is, Time_slice_3_Droper_ratio.
  • the number of lost packets and the packet loss rate in the time slice 4 can be obtained by the first counting result and the second counting result corresponding to the time slice 2 and the time slice 4.
  • the packet loss monitoring of the packet can be performed in real time in this embodiment.
  • the total number of lost packets can be calculated by calculating the number of lost packets in each time slice separately, and then calculate the transmission within each time slice separately.
  • the number of service packets is accumulated to obtain the total total number of transmissions, and the ratio of the total number of lost packets to the total number of transmissions is the packet loss rate.
  • Table 2 in the following table lists the statistical results of the number of lost packets obtained by the method provided in this embodiment.
  • the time is divided into multiple time slices according to 10 ms, and each time slice corresponds to a subset of service packets, and the time of the subset of the service packets.
  • the slice is identified as the highest bit of Identification, that is, 0 or 1. From the table, it can be seen that the time slice identifier is alternately 0 or 1.
  • the test packet corresponding to each service packet subset is delayed by 6 ms.
  • the transmission completion time of the service packet subset 1 corresponding to the time slice 1 is 10 ms, and the test packet 1 transmission time is 16 ms. It can be seen that the test packets corresponding to other time slices are delayed by 6 ms.
  • the first count result 1255 obtained by the sender is the cumulative result of the service packet whose current time slice identifier is 0.
  • the receiving end feeds back the response message 1 when receiving the test message 1, and the second counting result obtained when the response message 1 is sent is 1255, and the service corresponding to the time slice 1 is obtained from the first counting result and the second counting result. There is no packet loss of service packets in the subset of messages.
  • the first counting result 1323 corresponding to the test packet 2 and the second counting result 1243 corresponding to the response packet are compared with the second counting result 1243 corresponding to the response packet, and packet loss occurs in the service packet subset corresponding to the time slice 2 .
  • both the transmitting end and the receiving end perform cumulative counting on service packets having the same time slice identifier.
  • the embodiment further provides a method for measuring network packet loss, and the method is applied to a Layer 2 network, as shown in FIG.
  • the method includes:
  • the sending end divides the service packet set in time series according to the preset time slice length, and obtains at least two service packet subsets, each service packet subset is part of the service packet set, and all service packets are The subsets form a collection of business messages.
  • the sender is a service packet encapsulation protocol packet header, and the protocol packet header is a service packet.
  • the time slice identifier in the subset of service messages.
  • the sender can use three different protocols respectively.
  • the service packets of the different service packet subsets are encapsulated, and the service packets of the same service packet are encapsulated in the same format.
  • the receiver can use different protocol packet headers to different service packet subsets. Service packets are distinguished.
  • Ethernet II protocol IEEE802.3/IEEE802.2LLC or IEEE802.3/IEEE802.2LLC/SNAP can refer to the prior art.
  • the service packets may be encapsulated by using different VLAN IDs or VLAN priority identifiers in each time slice, so as to divide the service packets into time slices.
  • S1103 The sending end sequentially sends the service message subset to the receiving end.
  • S1104 The sender counts the service packets that have been sent with the same time slice identifier.
  • the sender obtains the first counting result, and sends a test packet to the receiving end after the preset duration, and the test packet carries the time slice identifier of the current service packet subset.
  • the first counting result is a counting result corresponding to the time slice identifier of the current service packet subset, and the preset duration is greater than the transmission duration of the service packet subset between the transmitting end and the receiving end.
  • the sending end receives the response message sent by the receiving end, and the response message carries the second counting result.
  • the second counting result is used to indicate that the receiving end has received the same time when receiving the test message.
  • the time slice identifier of the service packet is the same as the time slice identifier carried in the test packet.
  • S1107 The sending end calculates a packet loss rate of the service packet subset according to the first counting result and the second counting result.
  • the double-end packet loss measurement method in the Y.1731 protocol is a packet loss measurement method applied to a Layer 2 network.
  • the packets transmitted in the Layer 2 network carry the active MAC address, the destination MAC address, and the VLAN ID.
  • the same type of service packets carry the same source MAC address and the same VLAN ID, but the destination MAC address is not.
  • the sender performs hash calculation on the source MAC address, destination MAC address, and VLAN ID of the service packet to obtain different HASH values and then hashes them to different physical transmission paths in the TRUNK group, and the test packet is derived from the source.
  • the MAC address, destination MAC address, and VLAN ID are the same.
  • the resulting HASH value is a fixed value. Therefore, test packets can only be hashed to a fixed transmission path. Therefore, similar to the Layer 3 network, there are also out-of-order situations of test packets and service packets in the Layer 2 network.
  • the method for encapsulating service packets by using different encapsulation formats or using different VLAN IDs or VLAN priority identifiers in the present embodiment can solve the double-ended packet loss in the TRUNK networking mode of the Y.1731 protocol. Measurements are prone to out-of-order problems that result in inaccurate measurements.
  • the embodiment further provides a method for measuring the out-of-order of service packets, where the method includes:
  • the sender inserts at least one out-of-order test packet in the service packet subset, where the out-of-order test packet carries a time slice identifier of the service packet subset, and the out-of-order test packet is used to indicate that the third count result is obtained.
  • the third counting result is a counting result that is sent corresponding to the time slice identifier of the out-of-order test packet before the out-of-sequence test packet is sent.
  • the out-of-order test packet 1301 is inserted into the divided service packet subset to perform the service packet subset.
  • Out-of-order test usually for a subset of service packets corresponding to a smaller time slice, generally contains fewer service packets, and the unit of the time slice itself is small, so only one out-of-order test message is inserted in order to save bandwidth.
  • the service packet subset corresponding to the larger time slice generally contains more service packets. Therefore, in order to accurately measure the out-of-order of service packets in real time, multiple out-of-order tests can be inserted in the service packet subset.
  • Message 1301. The number of out-of-order test packets can take into account bandwidth and real-time requirements for out-of-order service packets.
  • the out-of-order test packet is a service packet
  • the number of service packets that have been sent before the out-of-order test packet (service packet) is sent is three, and the receiver receives the service packet. If the number of service packets received in the text is two, the service packets are out of order. Therefore, the out-of-order test message is distinguished from the service message to characterize the occurrence of out-of-order in the network transmission process.
  • the out-of-order test packet is also a test packet, and the purpose is to instruct the sender to obtain the third count result before transmitting, and instruct the receiver to extract the fourth count result when reaching the receiver.
  • the third counting result may be saved locally by the sending end or may be carried in the out-of-sequence test message; the setting method of the time slice identifier of the out-of-order test packet is the same as the test packet, and the method is not described here.
  • S1202 The sending end sends a subset of service packets to the receiving end, and each service packet subset includes at least one out-of-order test packet.
  • the service packet subset includes, in addition to the service packet with the same time slice identifier, an inserted out-of-order test packet that also has a corresponding time slice identifier.
  • the sending end receives the out-of-order response message fed back by the receiving end, where the out-of-order response message carries a fourth counting result when the receiving end receives the out-of-order test message, and the fourth counting result is used to indicate the receiving The number of service packets received by the receiving end with the same time slice identifier as the out-of-sequence test packet.
  • the out-of-order response packet carries the third counting result when returned by the receiving end to the sending end.
  • the sending end determines, according to the first counting result, the second counting result, the third counting result, and the fourth counting result, whether the service packet in the service packet subset is out of order.
  • the obtaining of the first counting result and the second counting result may refer to the methods provided in FIG. 6 to FIG.
  • the network packet degree of the service packet in the time slice can be calculated.
  • the transmission count 1 of the service packet obtained at the time of sending the packet 1 in the time slice 1 is 32;
  • the service packet receiving count 1 is 30, and the counting result is carried in the out-of-order response message 1.
  • the transmission count 2 of the service packet obtained at the transmission time of the test packet 2 sent by the delay time slice 1 is 45;
  • the service packet receiving count 2 is 45, and the counting result is carried in the response packet 2.
  • the instance 2 is calculated as follows:
  • the transmission count 1 of the service packet obtained at the time of sending the packet 1 in the time slice 1 is 32;
  • the service packet receiving count 1 is 35, and the counting result is carried in the out-of-order response packet 1.
  • the transmission count 2 of the service packet obtained at the transmission time of the test packet 2 sent by the delay time slice 1 is 45;
  • the service packet receiving count 2 is 45, and the counting result is carried in the response packet 2.
  • the out-of-order measurement of other time slices is analogous.
  • a business message out of sequence can be obtained for a long period of time.
  • test packets in this embodiment are sent by the sender through the same path. Receiving end.
  • test message in this embodiment is a forward control frame; the response message is a backward report frame.
  • the specific structure of the forward control frame and the backward report frame can be referred to the prior art.
  • the method for measuring the out-of-order order of the service packet provided by the embodiment of the present invention can further determine whether there is an out-of-order situation on the premise that the packet loss rate can be accurately calculated.
  • the present invention further provides a method for measuring network packet loss, which is applied to a data transmission system, where the data transmission system is provided with a transmitting end and a receiving end. As shown in FIG. 14, the method includes:
  • the receiving end receives the service packet sent by the sending end, and the service packet carries a time slice identifier.
  • the sender sends a time slice to the service packet.
  • the service packet carries a time slice identifier to indicate the time slice to which the service packet belongs.
  • the service packets in the slice at the same time have the same time slice identifier.
  • the receiving end When the receiving end receives the service packet, the receiving end decapsulates the service packet, identifies the time slice identifier of the preset field in the packet header (the Layer 3 network), or distinguishes whether the service packet is classified according to the Ethernet encapsulation format. Have the same time slice identification (layer 2 network).
  • S1402 The receiving end counts the received service packets with the same time slice identifier.
  • the receiving end is provided with a counter, and counts the received service packets, and accumulates the service packets with the same time slice identifier.
  • counting the received service packets with the same time slice identifier includes:
  • the preset field in the packet header of the service packet is added with a time slice identifier.
  • the method of adding a time slice identifier to the preset field can refer to the sender.
  • counting the received service packets with the same time slice identifier includes:
  • a service packet encapsulates a protocol packet header, and the protocol packet header is a time slice identifier of the service packet.
  • the receiving end receives the test packet sent by the sending end, where the test packet carries a time slice identifier.
  • the receiving end obtains a second counting result corresponding to the time slice identifier, where the second counting result is used to indicate that the receiving end receives the test packet, and the service packet corresponding to the time slice identifier carried in the test packet is received by the receiving end. Count the results.
  • S1405 The receiving end sends a response packet to the sending end, where the response packet carries the obtained second counting result.
  • the method for measuring the network packet loss provided by the embodiment of the present invention is compared with the case where the test packet and the service packet are out of order in the prior art, and the receiving end of the present invention only performs the service packet with the same time slice identifier. Cumulative counting, and the received test packets are delayed in the reception of the corresponding service packets, which can avoid the out-of-order situation of the test packets and the service packets. Then, when the test message is received, the correct second counting result can be extracted, so that the sending end can accurately calculate the packet loss rate according to the correct first counting result and the second counting result.
  • the method further includes:
  • the receiving end receives the out-of-order test packet sent by the sending end, and the out-of-order test packet carries a time slice identifier.
  • the receiving end acquires a fourth counting result corresponding to the time slice identifier, where the fourth counting result is used to indicate that the receiving end receives the out-of-order test packet, and the receiving end has received the same time as the out-of-order test packet. Number of service packets identified by the slice.
  • test message is a forward control frame; the response message is a backward report frame.
  • the receiving end returns the corresponding out-of-order response message to the transmitting end after receiving the out-of-order test packet of the transmitting end.
  • the fourth counting result of the service packet with the same time slice identifier carried in the out-of-order response packet is extracted when the out-of-order response packet is returned, so as to facilitate the sending end according to the second counting result, the fourth counting result, and the sending.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, by hardware, but in many cases, the former is a better implementation. .
  • the technical solution of the present invention which is essential or contributes to the prior art, can be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk, etc. includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

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

Abstract

La présente invention se rapporte au domaine de la transmission de réseau. La présente invention concerne un dispositif et un procédé pour mesurer une perte de paquet de réseau, de façon à résoudre le problème dans l'état antérieur de la technique selon lequel une erreur se produit dans un taux de perte de paquet calculé. Le procédé consiste à : diviser un ensemble de paquets de service dans une séquence temporelle selon une durée de créneau temporel préétablie ; allouer différents identifiants de créneau temporel pour au moins deux sous-ensembles de paquets de service adjacents, et ajouter les identifiants de créneau temporel alloués pour des paquets de service dans chaque sous-ensemble de paquets de service ; envoyer séquentiellement les sous-ensembles de paquets de service à une extrémité de réception ; compter les paquets de service envoyés qui ont les mêmes identifiants de créneau temporel ; si les sous-ensembles de paquets de service courants sont envoyés, obtenir un premier résultat de comptage, et envoyer un paquet de test à l'extrémité de réception après une durée préétablie ; recevoir un paquet de réponse renvoyé par l'extrémité de réception, le paquet de réponse transportant un second résultat de comptage ; et calculer un taux de perte de paquet des sous-ensembles de paquets de service selon le premier résultat de comptage et le second résultat de comptage. La présente invention est appliquée à un processus de transmission de données.
PCT/CN2014/087981 2014-09-30 2014-09-30 Dispositif et procédé pour mesurer une perte de paquet de réseau WO2016049872A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/087981 WO2016049872A1 (fr) 2014-09-30 2014-09-30 Dispositif et procédé pour mesurer une perte de paquet de réseau
CN201480023982.4A CN105765911B (zh) 2014-09-30 2014-09-30 一种网络丢包的测量装置及方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/087981 WO2016049872A1 (fr) 2014-09-30 2014-09-30 Dispositif et procédé pour mesurer une perte de paquet de réseau

Publications (1)

Publication Number Publication Date
WO2016049872A1 true WO2016049872A1 (fr) 2016-04-07

Family

ID=55629299

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087981 WO2016049872A1 (fr) 2014-09-30 2014-09-30 Dispositif et procédé pour mesurer une perte de paquet de réseau

Country Status (2)

Country Link
CN (1) CN105765911B (fr)
WO (1) WO2016049872A1 (fr)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108834213A (zh) * 2018-04-04 2018-11-16 西安电子科技大学 一种物联网中的低下行延迟通信方法及系统
CN108964955A (zh) * 2017-05-23 2018-12-07 中兴通讯股份有限公司 一种丢失Trap报文查找方法和网络管理系统及一种SNMP代理
WO2019228318A1 (fr) * 2018-05-28 2019-12-05 华为技术有限公司 Procédé et dispositif de traitement de messages
CN111447110A (zh) * 2020-03-24 2020-07-24 北京润科通用技术有限公司 一种数据监控方法及系统
CN111953979A (zh) * 2020-07-16 2020-11-17 西安万像电子科技有限公司 图像处理方法及装置
CN112583659A (zh) * 2020-11-24 2021-03-30 视联动力信息技术股份有限公司 视联网网络状态的检测方法、装置、终端设备和存储介质
CN112737874A (zh) * 2020-12-23 2021-04-30 新华三技术有限公司 报文的丢包统计实现方法及装置
CN113055128A (zh) * 2021-03-28 2021-06-29 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN114844804A (zh) * 2022-06-01 2022-08-02 重庆奥普泰通信技术有限公司 网络测量方法、系统、电子设备及计算机可读存储介质

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375158B (zh) * 2016-10-25 2019-09-13 华为技术有限公司 一种丢包检测方法、网络设备及系统
CN107547300B (zh) * 2017-06-16 2020-05-12 新华三技术有限公司 一种网络质量检测方法及装置
CN108965058B (zh) * 2018-07-26 2021-03-02 北京奇艺世纪科技有限公司 一种终端网络性能探测方法及系统
CN111786859A (zh) * 2020-07-17 2020-10-16 中国联合网络通信集团有限公司 丢包检测方法、装置及存储介质
CN114301811A (zh) * 2020-09-23 2022-04-08 中国移动通信有限公司研究院 一种信息处理方法、装置及隧道端点网元
CN114567541A (zh) * 2020-11-27 2022-05-31 中兴通讯股份有限公司 一种预激活检测方法、电子设备及计算机可读存储介质
CN116137599A (zh) * 2021-11-18 2023-05-19 华为技术有限公司 一种报文统计方法及相关设备
CN114244739A (zh) * 2021-12-21 2022-03-25 苏州盛科通信股份有限公司 一种提升报文统计准确性的方法、装置和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800679A (zh) * 2010-03-10 2010-08-11 华为技术有限公司 一种报文丢包检测方法及系统
CN102984018A (zh) * 2011-09-02 2013-03-20 华为技术有限公司 以太网丢包测试方法、设备及系统
WO2013066679A1 (fr) * 2011-11-04 2013-05-10 Interdigital Patent Holdings, Inc. Procédés, appareil et systèmes pour la minimisation d'essais de conduite (mdt) basés sur des vérifications de qos

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983183B2 (en) * 2005-08-23 2011-07-19 Telefonaktiebolaget Lm Ericsson (Publ) Method and arrangement for measuring transmission quality in a packet mode communication network
CN100356740C (zh) * 2005-12-12 2007-12-19 史文勇 一种对时延、丢包进行综合测量及关联分析的系统和方法
CN102215144B (zh) * 2011-05-17 2016-06-29 中兴通讯股份有限公司 丢包率的测量方法和系统
CN102904775B (zh) * 2012-09-29 2015-04-29 华为技术有限公司 网络丢包测量方法、设备和系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800679A (zh) * 2010-03-10 2010-08-11 华为技术有限公司 一种报文丢包检测方法及系统
CN102984018A (zh) * 2011-09-02 2013-03-20 华为技术有限公司 以太网丢包测试方法、设备及系统
WO2013066679A1 (fr) * 2011-11-04 2013-05-10 Interdigital Patent Holdings, Inc. Procédés, appareil et systèmes pour la minimisation d'essais de conduite (mdt) basés sur des vérifications de qos

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108964955A (zh) * 2017-05-23 2018-12-07 中兴通讯股份有限公司 一种丢失Trap报文查找方法和网络管理系统及一种SNMP代理
CN108834213A (zh) * 2018-04-04 2018-11-16 西安电子科技大学 一种物联网中的低下行延迟通信方法及系统
CN108834213B (zh) * 2018-04-04 2022-04-22 西安电子科技大学 一种物联网中的低下行延迟通信方法及系统
US11722407B2 (en) 2018-05-28 2023-08-08 Huawei Technologies Co., Ltd. Packet processing method and apparatus
WO2019228318A1 (fr) * 2018-05-28 2019-12-05 华为技术有限公司 Procédé et dispositif de traitement de messages
CN111447110A (zh) * 2020-03-24 2020-07-24 北京润科通用技术有限公司 一种数据监控方法及系统
CN111953979A (zh) * 2020-07-16 2020-11-17 西安万像电子科技有限公司 图像处理方法及装置
CN111953979B (zh) * 2020-07-16 2024-06-04 西安万像电子科技有限公司 图像处理方法及装置
CN112583659A (zh) * 2020-11-24 2021-03-30 视联动力信息技术股份有限公司 视联网网络状态的检测方法、装置、终端设备和存储介质
CN112737874A (zh) * 2020-12-23 2021-04-30 新华三技术有限公司 报文的丢包统计实现方法及装置
CN112737874B (zh) * 2020-12-23 2022-08-30 新华三技术有限公司 报文的丢包统计实现方法及装置
CN113055128B (zh) * 2021-03-28 2022-06-24 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN113055128A (zh) * 2021-03-28 2021-06-29 杭州迪普信息技术有限公司 信令报文解码正确性的测试方法及装置
CN114844804A (zh) * 2022-06-01 2022-08-02 重庆奥普泰通信技术有限公司 网络测量方法、系统、电子设备及计算机可读存储介质
CN114844804B (zh) * 2022-06-01 2023-07-25 重庆奥普泰通信技术有限公司 网络测量方法、系统、电子设备及计算机可读存储介质

Also Published As

Publication number Publication date
CN105765911A (zh) 2016-07-13
CN105765911B (zh) 2019-04-19

Similar Documents

Publication Publication Date Title
WO2016049872A1 (fr) Dispositif et procédé pour mesurer une perte de paquet de réseau
US9979615B2 (en) Techniques for determining network topologies
CN101523825B (zh) 流量控制方法以及用于该方法的发送终端、接收终端和分组传送系统
JP2020519098A (ja) リンクグループ構成方法及びデバイス
US9985856B2 (en) Method, apparatus and system for measuring network packet loss
TWI242946B (en) Wireless packet communication apparatus and method
WO2017128945A1 (fr) Procédé et dispositif d'attribution de trafic de service
US20150195169A1 (en) Method, Device, and System for Measuring Network Packet Loss
US20120188873A1 (en) Communication system, communication method, receiving apparatus, and transmitting apparatus
EP3522465A1 (fr) Procédé, dispositif et système de transmission de données de service, et support de stockage
CN112398557B (zh) 时延统计方法、装置、存储介质及系统
US11153207B2 (en) Data link layer-based communication method, device, and system
CN107770085B (zh) 一种网络负载均衡方法、设备及系统
CN113328902B (zh) 网络性能检测方法、装置及网络设备
WO2017031816A1 (fr) Procédé de transmission de données, dispositif et système appropriés
CN110943933A (zh) 一种实现数据传输的方法、装置和系统
WO2021078061A1 (fr) Procédé de mesurage de qualité de transmission de données, dispositif d'acheminement et support d'enregistrement lisible
WO2021147377A1 (fr) Procédé de détection de paquet de multidiffusion, dispositif de réseau, et système
CN115002008B (zh) 一种网络时延测量的方法、装置、设备以及存储介质
WO2022174672A1 (fr) Procédé et appareil de mesure de retard, dispositif, et support de stockage lisible par ordinateur
EP3913862B1 (fr) Procédé, appareil et système de détection de trafic
CN113206794B (zh) 一种转发限速方法及装置
EP3051919B1 (fr) Dispositif et procédé de communication sans fil utilisé dans un réseau ad hoc sans fil
WO2017140076A1 (fr) Procédé et dispositif de transmission de données
CN114124833A (zh) 一种控制报文发送的方法、网路设备和系统

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: 14903192

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: 14903192

Country of ref document: EP

Kind code of ref document: A1