Delay anomaly detection method, device and storage medium

By adding a time stamp using the preset protocol header in the wireless communication system, calculating the delay of segmented transmission and determining the abnormal equipment, the problem of low delay abnormal detection efficiency in the prior art is solved, and the accuracy of delay abnormality is achieved Detection and analysis.

WO2025001066A1PCT designated stage expired Publication Date: 2025-01-02ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/071854
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-30
Filing Date
2024-01-11
Publication Date
2025-01-02

Smart Images

  • Figure CN2024071854_02012025_PF_FP_ABST
    Figure CN2024071854_02012025_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of wireless communications. Disclosed are a delay anomaly detection method, a device and a storage medium. The present application is applied to a delay calculation unit in a wireless communication system, wherein the delay calculation unit may calculate, on the basis of timestamps added to a preset protocol header by transmission devices in the wireless communication system during data transmission, segmented transmission delays transmitted pairwise in each of the transmission devices, and may determine, on the basis of the segmented transmission delays and a preset delay threshold value, a transmission device causing the occurrence of a delay anomaly in the wireless communication system.
Need to check novelty before this filing date? Find Prior Art

Description

Delay anomaly detection method, device and storage medium

[0001] Related applications

[0002] This application claims priority to Chinese patent application No. 202310804269.4 filed on June 30, 2023, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of wireless communication technology, and in particular to a method, device and storage medium for detecting anomaly delay. Background Art

[0004] Currently, the method for detecting anomalies in data transmission delay is usually as follows: the sender adds a timestamp to the packet header (recording the time when the sender sent the packet). When the packet reaches the receiving end, the arrival time of the received packet is recorded, and the sending time of the packet is obtained by parsing the packet. By calculating the difference between the arrival time and the sending time, it can be determined whether the data transmission delay is abnormal.

[0005] However, if the data packet passes through multiple intermediate nodes during the transmission process after the sending end and before the data packet reaches the receiving end, then due to the above method, during the data packet transmission process, the intermediate nodes passed through will not parse the data packet, but only forward it based on the next hop node or the receiving end, resulting in a delay anomaly in the data packet during the data transmission process, but the transmission equipment that caused the anomaly cannot be detected, which is not conducive to the subsequent analysis of the cause of the delay anomaly and reduces the efficiency of processing the delay anomaly.

[0006] Therefore, the related art has a technical problem of low efficiency in processing delay anomalies.

[0007] Summary of the Invention

[0008] The main purpose of this application is to provide a method, device and storage medium for detecting a time delay anomaly, aiming to solve the technical problem of low efficiency in processing time delay anomalies.

[0009] To achieve the above objectives, the present application provides a method for detecting anomaly delay, which is applied to a delay calculation unit in a wireless communication system. The method comprises the following steps:

[0010] Calculating, based on the timestamp added to the preset protocol header by the transmission devices in the wireless communication system during data transmission, the segment transmission delay of each transmission device between two transmissions;

[0011] Based on the segment transmission delay and a preset delay threshold, a transmission device causing the delay anomaly in the wireless communication system is determined.

[0012] The present application also provides a delay anomaly detection device, which includes: a memory, a processor, and a delay anomaly detection program stored in the memory and executable on the processor, wherein the delay anomaly detection program is configured to implement the steps of the delay anomaly detection method as described in any one of the above items.

[0013] The present application also provides a storage medium, on which a delay anomaly detection program is stored. When the delay anomaly detection program is executed by a processor, the steps of the delay anomaly detection method as described in any one of the above items are implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] FIG1 is a flow chart of a first embodiment of a method for detecting abnormal delays in the present application;

[0015] FIG2 is a schematic diagram of a first scenario of a method for detecting anomaly delays according to a first embodiment of the present application;

[0016] FIG3 is a schematic diagram of a second scenario of the delay anomaly detection method according to the second embodiment of the present application;

[0017] FIG4 is a schematic diagram of a third scenario of the delay anomaly detection method according to the second embodiment of the present application;

[0018] FIG5 is a schematic diagram of a fourth scenario of the delay anomaly detection method according to the second embodiment of the present application;

[0019] FIG6 is a schematic diagram of a fifth scenario of the delay anomaly detection method according to the third embodiment of the present application;

[0020] FIG7 is a schematic diagram of the structure of a delay anomaly detection device in a hardware operating environment according to an embodiment of the present application.

[0021] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0022] It should be understood that the specific embodiments described herein are intended only to explain the present application and are not intended to limit the present application. Although terms such as first, second, and third may be used herein to describe various information, such information should not be limited to these terms. These terms are merely used to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information.

[0023] The present application provides a method for detecting anomaly delay, which is applied to a delay calculation unit in a wireless communication system. The wireless communication system further includes a transmitting end, an intermediate node, and a receiving end. Referring to FIG. 1 , in this embodiment, the method for detecting anomaly delay includes:

[0024] Step S10: calculating the segment transmission delay of each transmission device in pairs based on the timestamp added to the preset protocol header by the transmission device in the wireless communication system during data transmission;

[0025] Step S20: Based on the segment transmission delay and a preset delay threshold, determining the transmission device causing the delay anomaly in the wireless communication system.

[0026] In this embodiment, the delay anomaly detection method is applied to a delay calculation unit in a wireless communication system, and the delay wireless communication system is subordinate to an anomaly detection device.

[0027] In this embodiment, the wireless communication system further includes a transmitting end, an intermediate node, and a receiving end.

[0028] As an example, the wireless communication system may be a 4G system, a 5G system or a 6G system.

[0029] As an example, the sending end can be a terminal device or a core network side device. When the sending end is a terminal device, the receiving end is the core network side device. When the sending end is the core network side device, the receiving end is the terminal device.

[0030] As an example, an intermediate node is a node that data passes through from a sending end to a receiving end.

[0031] As an example, for a 4G system, a 5G system or a 6G system, the intermediate node may correspond to a 4G base station, a 5G base station or a 6G base station.

[0032] As an example, the delay calculation unit can be a terminal device, a core network side device, or other network elements in a wireless communication system. In order to facilitate the management of delay anomalies, this embodiment uses the core network side device as the delay calculation unit.

[0033] For example, wireless transmission services have high requirements for data transmission latency. Wireless communication systems need to enable URLLC (Ultra-Reliable Low-Latency Communications) to meet the transmission latency requirements of less than 10ms or even 5ms required by applications such as industrial automation, autonomous driving, and smart grids. Therefore, the degree to which wireless communication systems meet transmission latency requirements directly affects whether customers can conduct their business normally. Accurately measuring transmission latency indicators is necessary to effectively monitor the service experience.

[0034] Currently, the method for detecting anomalies in data transmission delay is usually as follows: the sender adds a timestamp to the packet header (recording the time when the sender sent the packet). When the packet reaches the receiver, the arrival time of the received packet is recorded, and the send time of the packet is obtained by parsing the packet. By calculating the difference between the arrival time and the send time, it can be determined whether the data transmission delay is abnormal. However, if the packet passes through multiple intermediate nodes during the transmission process after the sender sends the packet and before the packet reaches the receiver, then due to the above method, the intermediate nodes will not parse the packet during the packet transmission process, but will only forward it based on the next hop node or the receiver. This will cause the packet to experience an anomaly in the data transmission process, but will not be able to detect the transmission device that caused the anomaly. This is not conducive to the subsequent analysis of the cause of the delay anomaly and reduces the efficiency of handling the delay anomaly.

[0035] This embodiment aims to enable a delay calculation unit to calculate the segmented transmission delay of the data between the sending end, the intermediate node, and the receiving end based on the transmission time of the data sent by the sending end, the first arrival time recorded by the intermediate node when the data arrives at the intermediate node, and the second arrival time recorded by the corresponding receiving end when the data arrives at the receiving end. Based on the segmented transmission delay and a preset delay threshold, the delay calculation unit can determine the transmission device causing the delay anomaly, facilitating subsequent analysis of the cause of the delay anomaly and thereby improving the efficiency of delay anomaly processing.

[0036] The specific steps are as follows:

[0037] Step S10: calculating the segment transmission delay of each transmission device in pairs based on the timestamp added to the preset protocol header by the transmission device in the wireless communication system during data transmission;

[0038] In this embodiment, the transmission between the sending end, the intermediate node and the receiving end is carried out using a preset protocol.

[0039] As an example, the preset protocol is a wireless transmission protocol corresponding to the wireless communication system.

[0040] As an example, the timestamp added by the transmission device to the preset protocol header can be that each transmission device in the wireless communication system adds a timestamp when receiving data, or that a timestamp is added when the first transmission device sends data, and other transmission devices record the time when receiving the data but do not add a timestamp, but report it to the delay calculation unit at the end.

[0041] As an example, transmitting data through a preset protocol can achieve that when the data reaches the last transmission device, the first transmission device can report relevant time information based on the provisions of the preset protocol.

[0042] In this embodiment, the data includes non-IP data.

[0043] As an example, if the data is IP data, time can be transferred by adding a timestamp to the header of the data packet. However, for non-IP data during transmission, since there is no encapsulation of the outer layer of the non-IP data, time cannot be transferred by adding a timestamp to the header of the data packet.

[0044] In this embodiment, the transmission device includes a transmitting end, an intermediate node, and a receiving end.

[0045] In this embodiment, the step of calculating the segment transmission delay of each transmission device between two transmissions based on the timestamp added by the transmission device in the wireless communication system to the preset protocol header during the transmission process includes:

[0046] Step A1: Calculating a segmented transmission delay of the data between the sending end, the intermediate node, and the receiving end based on a sending time of the data sent by the sending end, a first arrival time of the data arriving at the intermediate node, and a second arrival time of the data arriving at the receiving end;

[0047] In this embodiment, the sending time is the time determined by the timestamp added by the sending end to the preset protocol header when sending the data.

[0048] As an example, the sending end adds a timestamp to the preset protocol header when sending the data, and can transfer time in the non-IP data outer layer encapsulation protocol layer when transmitting non-IP data through the preset protocol, thereby solving the problem that there is no encapsulation of the non-IP data outer layer and time cannot be transferred by adding a timestamp to the header of the data packet.

[0049] In this embodiment, the first arrival time is the time recorded when the data arrives at the intermediate node, and the second arrival time is the time recorded when the data arrives at the receiving end.

[0050] As an example, when the data arrives at the intermediate node, the intermediate node receives the data and records the first arrival time of the data. When the data arrives at the receiving end, the receiving end receives the data and records the second arrival time of the data.

[0051] As an example, based on the sending time of the data sent by the sending end, the first arrival time of the data arriving at the intermediate node, and the second arrival time of the data arriving at the receiving end, the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end can be calculated.

[0052] As an example, the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end includes the transmission delay between the sending end and the intermediate node, and the transmission delay between the intermediate node and the receiving end.

[0053] Step S20: Based on the segment transmission delay and a preset delay threshold, determining the transmission device causing the delay anomaly in the wireless communication system.

[0054] As an example, the preset delay threshold includes a preset standard transmission time length of data from the sending end to the intermediate node, a preset standard transmission delay of data from the intermediate node to the receiving end, and a preset standard transmission delay of data from the sending end to the receiving end.

[0055] As an example, based on the segmented transmission delay and the preset delay threshold, the transmission device that causes the delay anomaly in the wireless communication system can be determined. If a certain transmission delay is greater than the corresponding preset delay threshold, it is determined that the transmission device corresponding to the transmission delay is the one that causes the delay anomaly. The transmission devices that cause the delay anomaly are at least two of the transmitting end, the intermediate node, and the receiving end. For example, if the transmission delay between the intermediate node and the receiving end is greater than the corresponding preset delay threshold, the intermediate node and the receiving end are determined to be the transmission devices that cause the delay anomaly. The cause of the anomaly can be analyzed specifically for the intermediate node and the receiving end, thereby improving the efficiency of handling the delay anomaly.

[0056] In this embodiment, the present application is applied to a delay calculation unit in a wireless communication system, wherein the wireless communication system further includes a transmitter, an intermediate node, and a receiver. The transmitter, intermediate node, and receiver transmit data via a preset protocol. The transmission time of the data can be determined based on the timestamp added to the preset protocol header by the transmitter when the data is transmitted. The delay calculation unit can calculate the segmented transmission delay of the data between the transmitter, the intermediate node, and the receiver based on the transmission time of the data transmitted by the transmitter, the first arrival time recorded by the intermediate node when the data arrives at the intermediate node, and the second arrival time recorded by the corresponding receiver when the data arrives at the receiver. Based on the segmented transmission delay and the preset delay threshold, the delay calculation unit can determine the transmission device that caused the delay anomaly. The transmission device is at least two of the transmitter, intermediate node, and receiver. Therefore, the present application can detect the transmission device that caused the delay anomaly when the delay anomaly occurs, which is conducive to analyzing the cause of the delay anomaly and improving the efficiency of handling the delay anomaly.

[0057] Based on the above embodiment of the present application, another embodiment of the present application is provided. In this embodiment, when the delay calculation unit is the transmitting end, the step of calculating the segmented transmission delay of the data between the transmitting end, the intermediate node, and the receiving end based on the transmission time of the data sent by the transmitting end, the first arrival time of the data at the intermediate node, and the second arrival time of the data at the receiving end includes:

[0058] Step B1: Calculating the segmented transmission delay of the data between the sending end, the intermediate node, and the receiving end based on the sending time of the data sent by the sending end, the second arrival time reported by the receiving end, and the first arrival time reported by the intermediate node;

[0059] In this embodiment, the first arrival time is the time when the data arrives at the intermediate node, recorded by the terminal node based on the first sequence number. The first sequence number is generated by the sender based on a preset arrangement order and added to the preset protocol header when sending the data.

[0060] As an example, during the data transmission process, a first sequence number (SN) is added to the header of the preset protocol. The first sequence number is generated according to a preset arrangement order when the sending end sends data.

[0061] As an example, the preset order may be the order of preset numerical values ​​or the order of preset letters, etc., which is not limited here.

[0062] As an example, the receiving end reports the second arrival time to the sending end serving as the delay calculation unit when receiving data.

[0063] In this embodiment, when the intermediate node receives the second arrival time reported by the receiving end, it obtains the first arrival time based on the first serial number query, and reports the first arrival time obtained by the query to the sending end serving as the delay calculation unit. The sending end can calculate the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end based on the sending time of the data sent by the sending end, the second arrival time reported by the receiving end, and the first arrival time reported by the intermediate node.

[0064] As an example, as shown in Figure 2, the wireless communication system includes a 5G system, and the 5G system includes a core network side device, a base station device and a terminal device. The core network side device and the base station device communicate through the GTP-U (User Plane Part of GTP, GPRS user plane part) protocol, and the base station device and the terminal device communicate through the NR PDCP (New Radio Packet Data Convergence Protocol, 5G packet data convergence protocol) or NR RRC (Radio Resource Control, radio resource control) protocol.

[0065] As an example, when the sending end is a terminal device, the intermediate node is a base station device, and the receiving end is a core network side device, during data transmission, the terminal device sends data to the base station device based on the NR PDCP protocol, and a timestamp is added to the header of the NR PDCP protocol; the base station device sends data to the core network side device based on the GTP-U protocol, and the core network side device calculates the segmented transmission delay between the terminal device, the base station device and the core network side device based on the second arrival time, the first arrival time and the sending time of the data.

[0066] In one embodiment, as shown in FIG3 , if the transmitting end is a terminal device (UE), the intermediate node is a base station device (NR), the receiving end is a core network side device (UPF), and the delay calculation unit is a core network side device, then during the data transmission process, the terminal device sends data to the base station device based on the NR PDCP protocol, and the header (PDCP header) of the NR PDCP protocol is added with a timestamp; when the base station device receives the data, it records the first arrival time T2 of the data, and the base station device sends the data to the core network side device based on the GTP-U protocol; when the core network side device receives the data, it records the second arrival time T3 of the data, the first arrival time T2, and the sending time T1, and calculates the segmented transmission delay between the terminal device, the base station device, and the core network side device. That is, the core network side device calculates the uplink transmission delay by the difference between T3 and T1, and the segmented transmission delay of the data between the transmitting end, the intermediate node, and the receiving end can be calculated by T1, T2, and T3.

[0067] In this embodiment, the segmented transmission delay of the data between the sending end, the intermediate node, and the receiving end can be calculated based on the sending time of the data sent by the sending end, the second arrival time reported by the receiving end, and the first arrival time reported by the intermediate node. For 5G services, ToB (To Business, directly providing services or products to enterprises) services have higher latency requirements than ToC (To Consumer, directly providing products or services to consumers) services. Therefore, this embodiment provides a delay anomaly detection method applied to 5G systems. The delay anomaly detection methods for other wireless transmission systems are basically the same as those in the above embodiments and will not be repeated here.

[0068] Based on the above embodiments of the present application, another embodiment of the present application is provided. In this embodiment, if the receiving end is the terminal device and the sending end is the core network side device, when the data arrives at the base station device, the base station device records the first arrival time and sends the sending time to the terminal device based on the NR PDCP protocol. When the data arrives at the terminal device, the terminal device reports the sending time and the second arrival time to the base station device based on the NR RRC protocol, so that the base station device reports it to the core network side device based on the GTP-U protocol.

[0069] As an example, as shown in Figure 4, if the sending end is a core network side device (UE), the intermediate node is a base station device (NR), the receiving end is a terminal device (UPF), and the delay calculation unit is a core network side device (UPF), then during the data transmission process, the core network side device sends data to the base station device based on the GTP-U protocol, and the header of the GTP-U protocol is added with a timestamp (used to represent the sending time T1); when the base station device receives the data, it records the first arrival time T2 of the data, and sends the data to the terminal device based on the NR PDCP protocol, wherein the header of the NR PDCP protocol is added with the timestamp; when the terminal device receives the data, it records the second arrival time T3 of the data.

[0070] As an example, as described in the above embodiment, if the sending end is a terminal device (UE), the intermediate node is a base station device (NR), the receiving end is a core network side device (UPF), and the delay calculation unit is a core network side device, then during the data transmission process, the terminal device sends data to the base station device based on the NR PDCP protocol, and the header (PDCP header) of the NR PDCP protocol is added with a timestamp.

[0071] In this embodiment, regardless of whether the sending end is a terminal device or a core network side device, the terminal device only needs to send the sending time or the second arrival time to the base station device based on the NR PDCP protocol, without transmitting other information, and the first arrival time and the information reported locally by the terminal device and other information reported to the core network side device are transmitted through the GTP-U protocol layer. Therefore, the purpose of saving NR air interface transmission resources can be achieved, which is conducive to alleviating the problem of limited air interface transmission resources used to transmit high-frequency frequency resources between terminal devices and base station devices.

[0072] Based on the above embodiments of the present application, another embodiment of the present application is provided. In this embodiment, when the data arrives at the receiving end, the terminal device determines whether there is an abnormality in the overall transmission delay of the data based on the second arrival time and the sending time of the data. If there is an abnormality, the abnormal overall transmission delay, the sending time and the second arrival time are reported to the base station device, so that the base station device can report it to the core network side device.

[0073] As an example, as shown in Figure 4, when the sending end is a core network side device, the intermediate node is a base station device, the receiving end is a terminal device, and the delay calculation unit is a core network side device, the core network side device sends data to the base station device based on the GTP-U protocol; the base station device sends data to the terminal device based on the NR PDCP protocol, wherein the timestamp is added to the header of the NR PDCP protocol.

[0074] When the data arrives at the receiving end, the terminal device determines whether there is an abnormality in the overall transmission delay of the data based on the second arrival time and the sending time of the data; if the terminal device determines that there is an abnormality in the overall transmission delay of the data, the overall transmission delay is reported to the base station device based on the NR PDCP protocol, and the base station device reports the overall transmission delay and the first arrival time to the core network side device based on the GTP-U protocol, and the core network side device calculates the segmented transmission delay between the terminal device, the base station device and the core network side device based on the overall transmission delay, the first arrival time and the sending time of the data.

[0075] The terminal device determines whether there is an abnormality in the overall transmission delay of the data based on the second arrival time T3 and the sending time T1 of the data (if the difference between T3 and T1 is greater than the preset overall transmission delay, it is determined that there is an abnormality; if it is less than, there is no abnormality).

[0076] As an example, if the terminal device determines that there is an abnormality in the overall transmission delay of the data, the overall transmission delay is reported to the base station device based on the NR PDCP protocol; the base station device reports the overall transmission delay based on the GTP-U protocol, and the first arrival time obtained based on the first sequence number (SN) query to the core network side device.

[0077] As an example, the first arrival time is recorded by the base station device based on the first serial number when the base station device receives data sent from the core network side device to the local area.

[0078] As an example, the core network side device calculates the segmented transmission delay between the terminal device, base station device and core network side device based on the overall transmission delay of the data (T3-T1), the first arrival time T2 and the sending time T1.

[0079] In this embodiment, the terminal device determines whether there is an abnormality in the overall transmission delay of the data based on the second arrival time and the sending time of the data. The terminal device does not need to report the sending time and the second arrival time, thereby saving network resources in the wireless transmission system when there is no abnormality.

[0080] Based on the above-mentioned embodiments of the present application, another embodiment of the present application is provided. In this embodiment, if the intermediate node switches before the data reaches the receiving end, then after the data arrives at the receiving end, the receiving end sends the information that needs to be fed back to the sending end to the switched intermediate node based on the preset protocol, so that the switched intermediate node can report the information and the first arrival time to the local area. After the intermediate node switches, the intermediate node before the switching has passed the first arrival time and its corresponding first sequence number to the switched intermediate node.

[0081] As an example, the information that needs to be fed back to the transmitting end includes the overall transmission delay anomaly information that needs to be fed back when the mobile terminal determines that the current overall transmission delay is abnormal. If the intermediate node switches, then after the data reaches the receiving end, the receiving end sends the information that needs to be fed back to the transmitting end to the intermediate node after the switch based on the preset protocol, so that the intermediate node after the switch can report the information that needs to be fed back to the transmitting end and the first arrival time to the local area, wherein, after the intermediate node switches, the intermediate node before the switch has already passed the first arrival time and its corresponding first sequence number to the intermediate node after the switch.

[0082] As an example, this embodiment is specifically described based on the above-mentioned 5G system. If the base station device is switched, the terminal device reports the overall transmission delay to the switched base station device based on the NR PDCP protocol, and the switched base station device reports the overall transmission delay and the first arrival time obtained based on the first serial number query to the core network side device based on the GTP-U protocol. After the base station device is switched, the base station device before the switching has passed the first arrival time and the corresponding first serial number to the switched base station device.

[0083] As an example, as shown in Figure 5, if the base station device switches before the terminal device reports the overall transmission delay to the base station device based on the NR PDCP protocol, the terminal device reports the overall transmission delay to the switched base station device based on the NR PDCP protocol, and the switched base station device reports the overall transmission delay (T3-T1) and the first arrival time T2 obtained based on the first serial number query to the core network side device based on the GTP-U protocol.

[0084] As an example, after the base station device is switched, the base station device before the switch has passed the first arrival time T2 and the corresponding first serial number to the base station device after the switch, and wired transmission is performed between the base station device before the switch and the base station device after the switch through the Xn interface.

[0085] As an example, the switched base station device reports the overall transmission delay (T3-T1) and the first arrival time T2 obtained based on the first serial number query to the core network side device based on the GTP-U protocol.

[0086] As an example, the core network side device calculates the segmented transmission delay between the terminal device, base station device and core network side device based on the overall transmission delay of the data (T3-T1), the first arrival time T2 and the sending time T1.

[0087] In this embodiment, the data transmission method and the segmented transmission delay method in the scenario where the base station device switches before the data reaches the receiving end are explained. The transmission device that causes the delay anomaly can be detected when the base station device switches, which is conducive to the analysis of the cause of the delay anomaly, thereby improving the efficiency of handling the delay anomaly.

[0088] Based on the above embodiment of the present application, another embodiment of the present application is provided. In this embodiment, the method further includes:

[0089] Step S70: Calculate the round-trip transmission delay of the data between the transmitting end and the new receiving end, and the segmented transmission delay of pairwise transmission in each of the transmission devices based on the transmission time of the data transmitted by the transmitting end, the first arrival time of the data arriving at the intermediate node, the second arrival time of the data arriving at the receiving end, the third arrival time of new data transmitted by the receiving end as a new transmitting end arriving at the intermediate node, and the fourth arrival time of the new data arriving at the transmitting end as a new receiving end.

[0090] In order to more accurately detect the transmission device that causes the delay anomaly, in this embodiment, when data arrives at the receiving end, the receiving end, as a new sending end, sends the loopback delay measurement identifier and the second arrival time to the intermediate node based on the loopback delay measurement identifier in the preset protocol header. The intermediate node then sends it to the new receiving end. The loopback delay measurement identifier is added to the preset protocol header by the sending end when sending data. The new data is the first data sent by the receiving end as a new sending end after the data arrives at the receiving end. The sending end, as a new receiving end, calculates the loopback transmission delay of the data between the sending end and the new receiving end, as well as the segmented transmission delay of each transmission device, based on the sending time of the data sent by the sending end, the first arrival time of the data arriving at the intermediate node, the second arrival time of the data arriving at the receiving end, the third arrival time of the new data sent by the receiving end as a new sending end arriving at the intermediate node, and the fourth arrival time of the new data arriving at the sending end as a new receiving end. (Since the time interval between the sending end receiving data and sending new data is short, it can be ignored.)

[0091] As an example, for the convenience of illustration, this embodiment is specifically described based on the above-mentioned 5G system. When the terminal device receives data (downlink data) sent by the core network side device, it determines whether there is a round-trip delay measurement identifier (loopback mark = 1 as shown in Figure 6). If so, the terminal device adds the loopback delay measurement identifier to the header of the NR PDCP protocol. While sending new data, the terminal device reports the new data (uplink data), the loopback delay measurement identifier (loopback mark = 1) and the second arrival time T3 to the base station device based on the NR PDCP protocol. The loopback delay measurement identifier is added to the GTP-U protocol by the core network side device when sending data, and the base station device adds it to the NR PDCP protocol after receiving the loopback delay measurement identifier and sends it to the terminal device.

[0092] As an example, the base station device receives the data and records the third arrival time of the data, obtains the first arrival time based on the first serial number query, and sends the round-trip delay measurement identifier, the first arrival time, the second arrival time and the third arrival time to the core network side device based on the GTP-U protocol. After receiving the new data, the core network side device calculates the round-trip transmission delay between the terminal device and the core network side device, as well as the segmented transmission delay during the round-trip transmission between the terminal device, the base station device and the core network side device based on the fourth arrival time, the first arrival time, the second arrival time and the third arrival time when the new data arrives.

[0093] As an example, the base station device receives the data and records the third arrival time T4 of the data, obtains the first arrival time T2 based on the first serial number query, and sends the loopback delay measurement identifier (loopback mark = 1), the first arrival time T2, the second arrival time T3 and the third arrival time T4 to the core network side device based on the GTP-U protocol.

[0094] As an example, after receiving the data, the core network side device calculates the loopback transmission delay (T5-T1) between the terminal device and the core network side device based on the fourth arrival time T5, the first arrival time T2, the second arrival time T3 and the third arrival time T4 when the data arrives, as well as the segmented transmission delay during the loopback transmission process between the terminal device, the base station device and the core network side device.

[0095] In this embodiment, by adding the loopback delay measurement identifier in the header of the preset protocol, the loopback transmission delay between the sending end and the receiving end, as well as the segmented transmission delay during the loopback transmission process, are determined. When a delay anomaly occurs, the transmission device that causes the delay anomaly can be detected more accurately, which is conducive to the analysis of the cause of the delay anomaly, thereby improving the efficiency of processing the delay anomaly.

[0096] Based on the above-mentioned embodiments of the present application, another embodiment of the present application is provided. In this embodiment, when the receiving end receives data, the first sequence number corresponding to the currently received data is compared with the second sequence number corresponding to the last received data. If the first sequence and the second sequence numbers are discontinuous, it is determined that a packet loss event exists, and the discontinuous sequence number is added to the packet loss event message and reported to the core network side device so that the core network side device can process the packet loss event.

[0097] As an example, since the first sequence number is generated by the transmitting end according to a preset arrangement order when sending data, the first sequence number corresponding to the currently received data and the second sequence number corresponding to the previously received data should be continuous. When receiving data, the receiving end compares the first sequence number corresponding to the currently received data with the second sequence number corresponding to the previously received data. If the first sequence number and the second sequence number are discontinuous, it is determined that a packet loss event has occurred, and the discontinuous sequence number is added to the packet loss event message and reported to the core network side device so that the core network side device can process the packet loss event.

[0098] In this embodiment, whether a packet loss event occurs is determined by the continuity of the first sequence number and the second sequence number, and packet loss anomalies can be detected at the same time as delay anomalies, thereby improving data processing efficiency.

[0099] Refer to Figure 7, which is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present application.

[0100] As shown in FIG7 , the delay anomaly detection device may include: a processor 1001 , a memory 1005 , and a communication bus 1002 . The communication bus 1002 is used to implement connection and communication between the processor 1001 and the memory 1005 .

[0101] In one embodiment, the delay anomaly detection device may further include a user interface, a network interface, a camera, an RF (Radio Frequency) circuit, a sensor, a WiFi module, and the like. The user interface may include a display screen and an input submodule such as a keyboard. The user interface may also include a standard wired interface and a wireless interface. The network interface may include a standard wired interface and a wireless interface (such as a WiFi interface).

[0102] Those skilled in the art will understand that the delay anomaly detection device structure shown in FIG7 does not constitute a limitation on the delay anomaly detection device, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0103] As shown in Figure 7, memory 1005, a storage medium, may include an operating system, a network communication module, and a latency anomaly detection program. The operating system manages and controls the hardware and software resources of the latency anomaly detection device and supports the execution of the latency anomaly detection program and other software and / or programs. The network communication module facilitates communication between components within memory 1005 and with other hardware and software in the latency anomaly detection system.

[0104] In the delay anomaly detection device shown in FIG7 , the processor 1001 is configured to execute the delay anomaly detection program stored in the memory 1005 to implement the steps of any one of the above-mentioned delay anomaly detection methods.

[0105] The specific implementation of the delay anomaly detection device of the present application is basically the same as the embodiments of the delay anomaly detection method described above, and will not be repeated here.

[0106] The present application also provides a storage medium, on which a delay anomaly detection program is stored. When the delay anomaly detection program is executed by a processor, the steps of the delay anomaly detection method as described in any one of the above items are implemented.

[0107] The specific implementation of the storage medium of the present application is basically the same as the embodiments of the above-mentioned delay anomaly detection method, and will not be repeated here.

[0108] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or system comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or system. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or system comprising the element.

[0109] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0111] The above are merely optional embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A delay anomaly detection method, applied to a delay calculation unit in a wireless communication system, wherein: The delay anomaly detection method comprises the following steps: Based on the timestamp added to the preset protocol header by the transmission device in the wireless communication system during the data transmission process, calculating the segment transmission delay of the transmission between two transmissions in each of the transmission devices; Based on the segment transmission delay and the preset delay threshold, a transmission device causing the delay anomaly in the wireless communication system is determined.

2. The method according to claim 1, wherein: The transmission device includes a transmitting end, an intermediate node and a receiving end. The step of calculating the segmented transmission delay of each transmission device transmitted between two transmission devices based on the timestamp added to the preset protocol header by the transmission device in the wireless communication system during the transmission process includes: Calculate the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end based on the sending time of the data sent by the sending end, the first arrival time of the data arriving at the intermediate node, and the second arrival time of the data arriving at the receiving end; Among them, the sending time is the time determined by the timestamp added to the preset protocol header by the sending end when sending the data, the first arrival time is the time recorded when the data arrives at the intermediate node, and the second arrival time is the time recorded when the data arrives at the receiving end.

3. The delay anomaly detection method according to claim 2, wherein: When the delay calculation unit is the sending end, the step of calculating the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end based on the sending time of the data sent by the sending end, the first arrival time of the data arriving at the intermediate node, and the second arrival time of the data arriving at the receiving end includes: Calculate the segmented transmission delay of the data between the sending end, the intermediate node and the receiving end based on the sending time of the data sent by the sending end, the second arrival time reported by the receiving end, and the first arrival time reported by the intermediate node; The first arrival time is when the data arrives at the intermediate node. The point is based on the time recorded by the first sequence number, where the first sequence number is generated by the sending end based on a preset arrangement order and added to the preset protocol header when the sending end sends the data. When the intermediate node receives the second arrival time reported by the receiving end, the intermediate node obtains the first arrival time based on the first sequence number query.

4. The delay anomaly detection method according to claim 3, wherein: The wireless communication system includes a 5G system, and the 5G system includes a core network side device, a base station device and a terminal device, the core network side device and the base station device communicate through a GTP-U protocol, and the base station device and the terminal device communicate through an NR PDCP protocol or an NR RRC protocol; If the receiving end is the terminal device and the sending end is the core network side device, when the data arrives at the base station device, the base station device records the first arrival time and sends the sending time to the terminal device based on the NR PDCP protocol; When the data arrives at the terminal device, the terminal device reports the sending time and the second arrival time to the base station device based on the NR RRC protocol, so that the base station device reports it to the core network side device based on the GTP-U protocol.

5. The delay anomaly detection method according to claim 4, wherein: When the data arrives at the receiving end, the terminal device determines whether there is an abnormality in the overall transmission delay of the data based on the second arrival time and the sending time of the data. If there is an abnormality, the abnormal overall transmission delay, the sending time and the second arrival time are reported to the base station device, so that the base station device can report it to the core network side device.

6. The delay anomaly detection method according to claim 2, wherein: The method further comprises: Based on the sending time of the data sent by the sending end, the first arrival time of the data arriving at the intermediate node, the second arrival time of the data arriving at the receiving end, the third arrival time of the new data sent by the receiving end as a new sending end arriving at the intermediate node, and the fourth arrival time of the new data arriving at the sending end as a new receiving end, calculate the round-trip transmission delay of the data between the sending end and the new receiving end, as well as the segmented transmission delay of the two-to-two transmission in each of the transmission devices; When the data arrives at the receiving end, the receiving end acts as a new sending end based on the A loop delay measurement identifier of a preset protocol header, sending the loop delay measurement identifier and the second arrival time to an intermediate node so that the intermediate node can send them to the new receiving end. The loop delay measurement identifier is added to the preset protocol header by the sending end when sending data. The new data is the first data sent by the receiving end as a new sending end after the data arrives at the receiving end.

7. The delay anomaly detection method according to claim 3, wherein: If the intermediate node is switched before the data arrives at the receiving end, then after the data arrives at the receiving end, the receiving end sends the information that needs to be fed back to the sending end to the switched intermediate node based on the preset protocol, so that the switched intermediate node reports the information and the first arrival time to the local; After the intermediate node is switched, the intermediate node before the switching has transmitted the first arrival time and its corresponding first sequence number to the intermediate node after the switching.

8. The delay anomaly detection method according to any one of claims 2 to 7, wherein: When receiving data, the receiving end compares the first sequence number corresponding to the currently received data with the second sequence number corresponding to the last received data. If the first sequence number and the second sequence number are discontinuous, it is determined that a packet loss event has occurred, and the discontinuous sequence number is added to the packet loss event message and reported to the core network side device so that the core network side device can process the packet loss event.

9. The delay anomaly detection method according to claim 1, wherein: The data includes non-IP data.

10. A delay anomaly detection device, wherein: The device comprises: a memory, a processor, and a delay anomaly detection program stored in the memory and executable on the processor, wherein the delay anomaly detection program is configured to implement the steps of the delay anomaly detection method according to any one of claims 1 to 9.

11. A storage medium, wherein: The storage medium stores a delay anomaly detection program, which, when executed by a processor, implements the steps of the delay anomaly detection method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Sectional delay monitoring methods, intermediate nodes and synthesis analysis equipment

    CN109412881A

  • Time delay measurement method, network equipment and terminal equipment

    CN111565411A

  • Network time delay fault positioning method and device, and network time delay fault detection equipment

    CN115022161A

  • Time delay measurement method and apparatus based on srv6 sid

    WO2022117092A1