Time delay adjustment method and device, storage medium and electronic equipment

By determining and adjusting the delay information of uplink and downlink data packets in the 5G network, the problem of difficulty in measuring and positioning of delays in the 5G network is solved, and the end-to-end delay guarantee and the weakening of delay jitter is achieved.

CN119450534APending Publication Date: 2025-02-14ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310968385.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

Smart Images

  • Figure CN119450534A_ABST
    Figure CN119450534A_ABST
Patent Text Reader

Abstract

Provided in an embodiment of the present invention are a time delay adjustment method and device, a storage medium, and an electronic device, the method comprising: determining uplink time delay information for transmitting an uplink data message, the uplink time delay information comprising: an uplink air interface time delay between a base station and a terminal, and an uplink end-to-end time delay between the terminal and a node device; downlink time delay information for transmitting the downlink data message is determined, and the downlink time delay information comprises downlink air interface time delay between the base station and the terminal and downlink end-to-end time delay between the terminal and the node equipment; and time delay abnormal information is determined from the uplink time delay information and the downlink time delay information according to a preset time delay index, and the time delay abnormal information is adjusted. Through the method and the device, the problems that the position of the time delay abnormity is difficult to locate and the end-to-end transmission time delay cannot be ensured in the related technology are solved, and the effects of accurately locating the position of the time delay abnormity and ensuring the end-to-end transmission time delay are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communications, and in particular, to a delay adjustment method and device, a storage medium, and an electronic device. Background Art

[0002] With the popularization of the fifth generation communication standard (Fifth Generation, referred to as 5G) network, 5G technology has been widely used in various industries, and industry applications have put forward higher requirements for the transmission delay of 5G data. Especially in end-to-end scenarios (for example, coal mines, ports and other industries), due to the high timeliness of data, business applications are extremely sensitive to the end-to-end delay and jitter. However, due to the uncertainty of 5G air interface channel quality and the complexity of transmission links, it is difficult to measure the packet-level delay of the user terminal (User Equipment, referred to as UE) of the 5G network, the delay problem is difficult to locate, the end-to-end data transmission delay is difficult to guarantee, and the delay jitter is difficult to reduce.

[0003] With respect to the above technical problems, no effective solutions have been proposed in the relevant technologies. Summary of the invention

[0004] The embodiments of the present invention provide a delay adjustment method and device, a storage medium, and an electronic device to solve the problem in the related art that it is difficult to locate the position of the delay anomaly and the end-to-end transmission delay cannot be guaranteed.

[0005] According to one embodiment of the present invention, a delay adjustment method is provided, comprising: determining uplink delay information for transmitting uplink data packets, wherein the uplink delay information comprises: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and a node device; determining downlink delay information for transmitting downlink data packets, wherein the downlink delay information comprises: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; determining delay anomaly information from the uplink delay information and the downlink delay information according to a preset delay index, and adjusting the delay anomaly information.

[0006] According to one embodiment of the present invention, a delay adjustment method is provided, comprising: sending uplink delay information of a transmitted uplink data message to a node device, wherein the uplink delay information comprises: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and the node device; sending a downlink data message to the terminal to instruct the terminal to send the downlink delay information of the downlink data message to the node device, wherein the downlink delay information comprises: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; receiving the delay adjustment information sent by the node device, and adjusting delay anomaly information according to the delay adjustment information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0007] According to another embodiment of the present invention, a delay adjustment method is provided, comprising: sending an uplink data message to a base station to instruct the base station to send the uplink delay information of the uplink data message to a node device, wherein the uplink delay information comprises: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device; sending the downlink delay information of the transmitted downlink data message to the node device, wherein the downlink delay information comprises: the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device, and the node device is used to determine delay adjustment information of delay anomaly information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0008] According to another embodiment of the present invention, a delay adjustment device is provided, including: a first determination module, used to determine uplink delay information for transmitting uplink data packets, wherein the uplink delay information includes: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and a node device; a second determination module, used to determine downlink delay information for transmitting downlink data packets, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; a third determination module, used to determine delay anomaly information from the uplink delay information and the downlink delay information according to a preset delay index, and adjust the delay anomaly information.

[0009] According to another embodiment of the present invention, a delay adjustment device is provided, including: a first sending module, used to send uplink delay information of a transmitted uplink data message to a node device, wherein the uplink delay information includes: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and the node device; a second sending module, used to send a downlink data message to the terminal to instruct the terminal to send the downlink delay information of the downlink data message to the node device, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; a first receiving module, used to receive the delay adjustment information sent by the node device, and adjust the delay anomaly information according to the delay adjustment information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0010] According to another embodiment of the present invention, a delay adjustment device is provided, including: a third sending module, used to send an uplink data message to a base station to instruct the above-mentioned base station to send the uplink delay information of the above-mentioned uplink data message to the node device, wherein the above-mentioned uplink delay information includes: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the above-mentioned terminal and the node device; a fourth sending module, used to send the downlink delay information of the transmitted downlink data message to the above-mentioned node device, wherein the above-mentioned downlink delay information includes: the downlink air interface delay between the above-mentioned base station and the terminal, and the downlink end-to-end delay between the above-mentioned terminal and the node device, and the above-mentioned node device is used to determine the delay adjustment information of the delay anomaly information, and the above-mentioned delay anomaly information is determined by the above-mentioned node device from the above-mentioned uplink delay information and the above-mentioned downlink delay information.

[0011] According to yet another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any one of the above method embodiments when run.

[0012] According to another embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0013] Through the present invention, since the uplink delay information and the downlink delay information are determined, the uplink delay information includes the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device, and the downlink delay information includes the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device, the end-to-end delay abnormality information can be accurately determined, and the delay abnormality information can be adjusted. Thus, the end-to-end transmission delay can be guaranteed, and the delay jitter can be weakened in time. Therefore, the problem that it is difficult to locate the position of the delay abnormality and the end-to-end transmission delay cannot be guaranteed in the related art can be solved, and the position of the delay abnormality can be accurately located, and the effect of ensuring the end-to-end transmission delay can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a hardware structure block diagram of a mobile terminal of a delay adjustment method according to an embodiment of the present invention;

[0015] Figure 2 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 1 ;

[0016] Figure 3 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 2 ;

[0017] Figure 4 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 3 ;

[0018] Figure 5 is an overall flow chart according to an embodiment of the present invention;

[0019] Figure 6 is a flowchart of system time and air interface frame number synchronization between network elements according to an embodiment of the present invention;

[0020] Figure 7 is a flowchart of time stamping of uplink and downlink data messages according to an embodiment of the present invention;

[0021] Figure 8 is a schematic diagram of the structure of an IP packet header extension field according to an embodiment of the present invention;

[0022] Fig. 9 is a schematic diagram of a GTPU message header according to an embodiment of the present invention;

[0023] Fig.10 It is a schematic diagram of time definition of an F1 GTPU uplink message extension field according to an embodiment of the present invention;

[0024] Fig.11 is a schematic diagram of time definition of an extended field of an NG GTPU uplink message according to an embodiment of the present invention;

[0025] Fig.12 is a schematic diagram of delay indicators according to an embodiment of the present invention;

[0026] Fig.13 is a flowchart of delay index calculation according to an embodiment of the present invention;

[0027] Fig.14 is a schematic diagram of an air interface quality judgment and delay indicator adjustment strategy according to an embodiment of the present invention;

[0028] Fig.15 is a flow chart of air interface quality judgment and adjustment according to an embodiment of the present invention;

[0029] Fig.16 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 1 ;

[0030] Fig.17 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 2 ;

[0031] Fig.18 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 3 . DETAILED DESCRIPTION

[0032] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings and in combination with the embodiments.

[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0034] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 FIG. 1 is a hardware structure block diagram of a mobile terminal of a delay adjustment method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0035] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the delay adjustment method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0036] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0037] In this embodiment, a delay adjustment method is provided. Figure 2 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 1 ,like Figure 2 As shown, the process includes the following steps:

[0038] Step S202, determining uplink delay information for transmitting uplink data packets, wherein the uplink delay information includes: uplink air interface delay between the base station and the terminal, and uplink end-to-end delay between the terminal and the node device;

[0039] Step S204, determining downlink delay information for transmitting downlink data packets, wherein the downlink delay information includes: downlink air interface delay between the base station and the terminal, and downlink end-to-end delay between the terminal and the node device;

[0040] Step S206: Determine abnormal delay information from the uplink delay information and the downlink delay information according to the preset delay index, and adjust the abnormal delay information.

[0041] The execution subject of the above steps may be a processor provided in the node device, but is not limited thereto. The node device may be a node engine for performing message transmission with a terminal or a base station.

[0042] Optionally, the uplink data message includes message data and a message header, and the extended field of the message header includes the time when the uplink data message is transmitted between the terminal and the base station, and the time when the uplink data message is transmitted between the base station and the node device. The downlink data message includes message data and a message header, and the extended field of the message header includes the time when the downlink data message is transmitted between the base station and the node device, and the time when the downlink data message is transmitted between the base station and the terminal.

[0043] Optionally, the preset delay index can be set according to different application scenarios, for example, the delay scenario between the base station and the terminal, the delay scenario between the terminal and the node device, and the delay required by different application scenarios is different. It is mainly used to compare with the delay in the uplink delay information and the downlink delay information, and determine whether the delay abnormality occurs through the comparison result.

[0044] Through the above steps, since the uplink delay information and the downlink delay information are determined, the uplink delay information includes the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device, and the downlink delay information includes the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device, so that the end-to-end delay anomaly information can be accurately determined and the delay anomaly information can be adjusted. In this way, the end-to-end transmission delay can be guaranteed and the delay jitter can be weakened in time. Therefore, the problem that it is difficult to locate the position of the delay anomaly and the end-to-end transmission delay cannot be guaranteed in the related technology can be solved, and the position of the delay anomaly can be accurately located to ensure the effect of end-to-end transmission delay.

[0045] In an exemplary embodiment, uplink delay information for transmitting an uplink data message is determined, including: parsing a first uplink time, a second uplink time, and a third uplink time from the uplink data message, wherein the first uplink time is the time when the terminal sends the uplink data message, the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message, and the first uplink time, the second uplink time, and the third uplink time are all set in the uplink data message; determining an uplink end-to-end delay using the first uplink time and the fourth uplink time, wherein the fourth uplink time is the time when the node device receives the uplink data message; determining an uplink air interface delay using the first uplink time, the second uplink time, and the processing time of the uplink data message by the base station, wherein the processing time of the uplink data message by the base station is determined using the second uplink time and the third uplink time; determining the uplink end-to-end delay, the uplink air interface delay, and the processing time of the uplink data message by the base station as the uplink delay information. In this embodiment, by acquiring each time when uplink data messages are sent between the terminal and the base station, the transmission time of the uplink data message in each stage can be accurately known, so that the specific position of the abnormal delay can be located.

[0046] In an exemplary embodiment, the first uplink time, the second uplink time, and the third uplink time are all set in the extension field of the message header in the uplink data message. In this embodiment, the message header includes a GTPU extension header and an IP extension header. For example, the first uplink time of the uplink data message sent by the terminal is entered in the IP extension header (including the extension field) of the uplink data message. The second uplink time of the uplink data message sent by the terminal received by the base station and the third uplink time of the uplink data message sent by the base station to the node device are entered in the GTPU extension header (including the extension field) of the uplink data message. The node device receives the fourth uplink time of the uplink data message sent by the base station and records it locally in the node device without operating the message header. The node device extracts the first uplink time from the IP extension header of the uplink data message, extracts the second uplink time and the third uplink time from the GTPU extension header of the uplink data message, and combines the fourth uplink time to summarize the uplink time and perform delay statistics and delay calculation, and judge the abnormal delay information. This embodiment uses the extended field to time-stamp the sending and receiving of the uplink message, so as to effectively obtain each uplink time and quickly locate the position of the delay anomaly.

[0047] In an exemplary embodiment, determining the downlink delay information of transmitting a downlink data message includes: parsing the first downlink time, the second downlink time, and the third downlink time from the downlink time sent by the terminal, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; using the first downlink time and the fourth downlink time to determine the downlink end-to-end delay, wherein the fourth downlink time is the time when the terminal decodes the IP message; using the second downlink time and the third downlink time to determine the downlink air interface delay; using the third downlink time and the fourth downlink time to determine the internal processing time of the terminal; determining the downlink end-to-end delay, the downlink air interface delay, and the processing time of the downlink data message by the base station as the downlink delay information. In this embodiment, the first downlink time, the second downlink time, and the third downlink time are all set in the extension field of the message header in the downlink data message. For example, the first downlink time when the node device sends downlink data is printed in the IP extension header (including the extension field) of the downlink data message. The second downlink time of the downlink data message sent by the node device received by the base station is entered in the IP extension header of the downlink data message. The third downlink time of the downlink data message sent by the base station is entered in the IP extension header of the downlink data message. The terminal records the fourth downlink time of the IP extension header locally in the terminal without operating the message header. After receiving the downlink data message, the terminal extracts the first downlink time, the second downlink time and the third downlink time in the IP extension header in the downlink data message, summarizes the first downlink time, the second downlink time, the third downlink time and the fourth downlink time, and obtains the downlink time. Optionally, in order to reduce the number of messages between the terminal and the node device, the terminal can aggregate multiple downlink time information into one message for sending. After receiving the message, the node device performs delay statistics and time calculation to quickly locate the location of the delay anomaly. This embodiment can accurately locate the location of the delay anomaly when sending the downlink data message by aggregating all downlink times.

[0048] In an exemplary embodiment, before determining the uplink delay information of transmitting the uplink data message, the above method also includes: sending a clock synchronization request to the base station; receiving a clock synchronization response from the base station in response to the clock synchronization request, wherein the clock synchronization response includes the clock information of the base station; calculating the clock deviation between the node device and the base station using the clock information of the base station in the clock synchronization response; calibrating the clock of the node device according to the clock deviation to maintain clock synchronization with the base station. In this embodiment, the node device can periodically send a clock synchronization request to the base station (for example, send a clock synchronization request according to the Network Time Protocol (NTP)), wait for and receive the NTP clock synchronization response sent by the base station; and calculate the clock deviation and calibrate the clock of the node device to maintain clock synchronization with the base station. The node device can maintain the alignment of the air interface frame number between the node device and the base station by periodically receiving the frame synchronization signal of the base station and reading the frame number and subframe number.

[0049] In an exemplary embodiment, the abnormal delay information is determined from the uplink delay information and the downlink delay information according to the preset delay index, and the abnormal delay information is adjusted, including: when the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, the adjustment of the 5G service quality flow identifier 5QI is initiated to determine the delay adjustment information, wherein the preset delay index includes the first preset delay and the second preset delay; the abnormal delay information is adjusted using the delay adjustment information. In this embodiment, when the air interface delay does not meet the preset delay index (for example, the service application tolerance delay threshold), the 5QI adjustment strategy is triggered, and the preset delay index reflects the jitter of the air interface. In addition, the preset delay index can also be adjusted. For example, when the air interface delay adjustment timer times out, it is necessary to determine whether the uplink air interface delay, downlink air interface delay and end-to-end compliance rate index (the compliance rate index reflects the jitter of the end-to-end network) are in the adjustment period. If they are in the adjustment period, the preset delay index will not be adjusted, and the adjustment will be made after the next judgment of entering the stable period; if they are in the stable period and the uplink air interface delay, downlink air interface delay and compliance rate indicators do not meet the threshold requirements of the service, the adjustment of the preset delay index is triggered. The adjustment of 5QI in this embodiment is applicable to scenarios where the air interface delay and compliance rate indicators deviate greatly from the threshold, and can quickly adjust the air interface delay to a certain range.

[0050] Optionally, when the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, the adjustment of the 5G service quality flow identifier 5QI is started to determine the delay adjustment information. After that, the above method also includes: when the delay compliance rate of the uplink air interface delay and / or the downlink air interface delay is greater than the target delay, and the 5QI does not meet the delay requirements of the uplink air interface delay and / or the downlink air interface delay, triggering a reselection strategy, wherein the reselection strategy is used to reselect the target 5QI. For example, when the air interface delay and the target delay deviate from the service application tolerance delay threshold and the current 5QIQoS delay does not meet the service delay requirements, the 5QI reselection strategy is triggered. The node device statically selects 5QI or dynamically matches 5QI according to the delay requirements of the service application, finds a 5QI that meets the service delay requirements, and triggers the base station to execute the modification of 5QI. The adjustment of 5QI in this embodiment is applicable to scenarios where the air interface delay and compliance rate indicators deviate greatly from the threshold, and can quickly adjust the air interface delay to a certain range.

[0051] Optionally, when the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, the adjustment of the 5G service quality flow identifier 5QI is initiated to determine the delay adjustment information. The above method also includes: sending the delay adjustment information to the base station to instruct the base station to perform adjustment of the 5QI to adjust the uplink air interface delay and / or the downlink air interface delay; when the adjusted air interface delay is less than the preset air interface delay, and the delay fluctuation of the adjusted air interface delay is greater than the preset fluctuation, determining an adjustment strategy, wherein the adjustment strategy includes an air interface delay adjustment amount, a delay deviation value between the adjusted air interface delay and the preset air interface delay, and the adjusted air interface delay includes an adjusted uplink air interface delay and / or an adjusted downlink air interface delay; and sending the adjustment strategy to the base station to instruct the base station to adjust the adjusted air interface delay according to the adjustment strategy. For example, if the current 5QIQoS delay meets the service delay requirements, but the air interface delay and delay compliance rate indicators still fluctuate and affect the service delay requirements, the air interface delay scheduling optimization strategy is started. The node device calculates the deviation and adjustment amount of the current delay, delay compliance rate, service expected delay and air interface delay compliance rate, and triggers the base station to perform air interface delay scheduling optimization. The base station adjusts the QoS parameter PDB value and retransmission failure rate according to the adjustment amount, remaps the HARQ transmission times and target BLER, and recalculates the scheduling strategy and scheduling priority to ensure the QoS delay requirements.

[0052] In an exemplary embodiment, before determining the abnormal delay information from the uplink delay information and the downlink delay information according to the preset delay index and adjusting the abnormal delay information, the above method also includes: triggering an alarm message when the uplink end-to-end delay is greater than the first preset delay, and / or the downlink end-to-end delay is greater than the second preset delay, wherein the alarm message is used to indicate that abnormal delay information occurs in the uplink end-to-end delay or the downlink end-to-end delay, wherein the preset delay index includes the first preset delay and the second preset delay; sending an abnormal log collection instruction to the base station and the terminal to instruct the base station to collect abnormal logs; receiving the abnormal logs sent by the base station and the terminal, and determining the delay adjustment information according to the abnormal logs, wherein the delay adjustment information is used to adjust the abnormal delay information. This embodiment can quickly determine the abnormal information by means of logs.

[0053] In this embodiment, a delay adjustment method is provided. Figure 3 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 2 ,like Figure 3 The process includes the following steps:

[0054] Step S302, sending the uplink delay information of the transmitted uplink data message to the node device, wherein the uplink delay information includes: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device;

[0055] Step S304: Send the downlink data message to the terminal to instruct the terminal to send the downlink delay information of the downlink data message to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device;

[0056] Step S306: receiving the delay adjustment information sent by the node device, and adjusting the delay anomaly information according to the delay adjustment information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0057] The execution subject of the above steps may be a base station, but is not limited thereto.

[0058] Optionally, the uplink data message includes message data and a message header, and the message header includes the time when the uplink data message is transmitted between the terminal and the base station, and the time when the uplink data message is transmitted between the base station and the node device. The downlink data message includes message data and a message header, and the message header includes the time when the downlink data message is transmitted between the base station and the node device, and the time when the downlink data message is transmitted between the base station and the terminal.

[0059] Optionally, the downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting downlink data messages between the base station and the node device and the time for transmitting downlink data messages between the base station and the terminal.

[0060] Through the above steps, since the uplink delay information and the downlink delay information are determined, the uplink delay information includes the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device, and the downlink delay information includes the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device, so that the end-to-end delay anomaly information can be accurately determined and the delay anomaly information can be adjusted. In this way, the end-to-end transmission delay can be guaranteed and the delay jitter can be weakened in time. Therefore, the problem that it is difficult to locate the position of the delay anomaly and the end-to-end transmission delay cannot be guaranteed in the related technology can be solved, and the position of the delay anomaly can be accurately located to ensure the effect of end-to-end transmission delay.

[0061] In an exemplary embodiment, before the uplink delay information of the transmitted uplink data message is sent to the node device, the above method also includes: receiving the uplink data message sent by the terminal, wherein the extension field of the message header in the uplink data message includes the first uplink time; setting the second uplink time and the third uplink time in the extension field of the message header of the uplink data message, wherein the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message. In this embodiment, the message header includes a GTPU extension header and an IP extension header. For example, the first uplink time when the terminal sends the uplink data message is entered in the IP extension header (including the extension field) of the uplink data message. The second uplink time when the base station receives the uplink data message sent by the terminal and the third uplink time when the base station sends the uplink data message to the node device are entered in the GTPU extension header (including the extension field) of the uplink data message. The node device receives the fourth uplink time of the uplink data message sent by the base station, and records it locally in the node device without operating the message header. The node device extracts the first uplink time from the IP extension header of the uplink data message, extracts the second uplink time and the third uplink time from the GTPU extension header of the uplink data message, and combines the fourth uplink time to summarize the uplink time and perform delay statistics and delay calculation to judge the abnormal delay information. This embodiment uses the extension field to time-stamp the sending and receiving of the uplink message, which can effectively obtain each uplink time and quickly locate the location of the delay anomaly.

[0062] In an exemplary embodiment, before sending the uplink delay information of the transmitted uplink data message to the node device, the method further includes: broadcasting system information according to a first preset period, wherein the system information includes clock information of the base station, and the system information is used to instruct the terminal to maintain clock synchronization with the base station. In this embodiment, the terminal can periodically read the system information, and obtain the coordinated universal time UTC time by reading the single frequency network (SFN) data frame in the system information, so as to achieve clock synchronization and frame synchronization between the terminal and the base station.

[0063] In an exemplary embodiment, before the uplink delay information of the transmitted uplink data message is sent to the node device, the above method also includes: receiving a clock synchronization request sent by the node device; responding to the clock synchronization request, sending a clock synchronization response to the node device, wherein the clock synchronization response includes the clock information of the base station, and the clock synchronization response is used to instruct the node device to calculate the clock deviation between the node device and the base station. For example, the node device can periodically send a clock synchronization request (for example, a Network Time Protocol (NTP) clock synchronization request) to the base station, wait for and receive the NTP clock synchronization response sent by the base station; and calculate the clock deviation and calibrate the clock of the node device to keep it synchronized with the base station clock. The node device can also keep the node device and the base station air interface frame number aligned by periodically receiving the frame synchronization signal of the base station, reading the frame number and subframe number.

[0064] In an exemplary embodiment, before sending the downlink data message to the terminal, the method further includes: receiving a downlink data message sent by a node device, wherein the extension field of the message header in the downlink data message includes a first downlink time and a second downlink time, the first downlink time is the time when the node device sends the downlink data message, and the second downlink time is the time when the base station receives the downlink data message; setting the third downlink time in the extension field of the message header in the downlink data message to obtain the downlink data message, wherein the third downlink time is the air interface time when the terminal receives the downlink data message. In this embodiment, the first downlink time, the second downlink time and the third downlink time are all set in the extension field of the message header in the downlink data message. For example, the first downlink time when the node device sends downlink data is entered in the IP extension header of the downlink data message. The second downlink time when the base station receives the downlink data message sent by the node device is entered in the IP extension header of the data message. The third downlink time when the base station sends the downlink data message is entered in the IP extension header of the data message. The time when the terminal decrypts the IP extension header (i.e., the fourth downlink time) is recorded locally without operating the message header. After receiving the downlink data message, the terminal extracts the first downlink time, the second downlink time and the third downlink time in the extended field of the IP header of the downlink data message, and summarizes the first downlink time, the second downlink time, the third downlink time and the fourth downlink time to obtain the downlink time. Optionally, in order to reduce the number of messages between the terminal and the node device, the terminal can aggregate the time information of multiple downlink data messages into one message and send it. After receiving the message, the node device performs delay statistics and time calculations to quickly locate the position of the delay anomaly. This embodiment can accurately locate the position of the delay anomaly when sending the downlink data message by aggregating all the downlink times.

[0065] In an exemplary embodiment, delay adjustment information sent by a node device is received, and delay abnormality information is adjusted according to the delay adjustment information, including: when the delay adjustment information includes 5QI, adjusting the 5QI to adjust the uplink air interface delay and / or the downlink air interface delay; when the adjusted air interface delay is less than the preset air interface delay, and the delay fluctuation of the adjusted air interface delay is greater than the preset fluctuation, receiving the adjustment strategy sent by the node device, wherein the adjustment strategy includes the delay adjustment amount, the delay deviation value between the adjusted air interface delay and the preset delay, and the adjusted air interface delay includes the adjusted uplink air interface delay and / or the adjusted downlink air interface delay; adjusting the adjusted air interface delay according to the adjustment strategy. When the air interface delay does not meet the preset delay index (for example, the service application tolerance delay threshold), the adjustment strategy of 5QI is triggered, and the preset delay index reflects the jitter of the air interface. In addition, the preset delay index can also be adjusted. For example, when the air interface delay adjustment timer times out, it is necessary to determine whether the uplink air interface delay, downlink air interface delay and end-to-end compliance rate index (the compliance rate index reflects the jitter of the end-to-end network) are in the adjustment period. If they are in the adjustment period, the preset delay index will not be adjusted, and the adjustment will be made after the next judgment of entering the stable period; if they are in the stable period and the uplink air interface delay, downlink air interface delay and compliance rate indicators do not meet the threshold requirements of the service, the adjustment of the preset delay index is triggered. The adjustment of 5QI in this embodiment is applicable to scenarios where the air interface delay and compliance rate indicators deviate greatly from the threshold, and can quickly adjust the air interface delay to a certain range.

[0066] In an exemplary embodiment, before receiving the delay adjustment information sent by the node device and adjusting the delay abnormality information according to the delay adjustment information, the method further includes: receiving a first abnormality log collection instruction sent by the node device; responding to the first abnormality log collection instruction and collecting abnormality logs; and sending the collected first abnormality log to the node device to instruct the node device to determine the delay adjustment information according to the first abnormality log. This embodiment can quickly determine abnormal information by means of logs.

[0067] In this embodiment, a delay adjustment method is provided. Figure 4 The process of the delay adjustment method according to the embodiment of the present invention is as follows Figure 3 ,like Figure 4 The process includes the following steps:

[0068] Step S402: sending an uplink data message to a base station to instruct the base station to send uplink delay information of the uplink data message to a node device, wherein the uplink delay information includes: an uplink air interface delay between the base station and the terminal, and an uplink end-to-end delay between the terminal and the node device;

[0069] Step S404, sending the downlink delay information of the transmitted downlink data message to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, the downlink end-to-end delay between the terminal and the node device, and the delay adjustment information used by the node device to determine the delay anomaly information, and the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0070] The execution subject of the above steps may be a processor provided in the terminal, but is not limited thereto.

[0071] Optionally, the uplink data message includes message data and a message header, and the message header includes the time when the uplink data message is transmitted between the terminal and the base station, and the time when the uplink data message is transmitted between the base station and the node device. The downlink data message includes message data and a message header, and the message header includes the time when the downlink data message is transmitted between the base station and the node device, and the time when the downlink data message is transmitted between the base station and the terminal.

[0072] Optionally, the downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting downlink data messages between the base station and the node device and the time for transmitting downlink data messages between the base station and the terminal.

[0073] Through the above steps, since the uplink delay information and the downlink delay information are determined, the uplink delay information includes the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device, and the downlink delay information includes the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device, so that the end-to-end delay anomaly information can be accurately determined and the delay anomaly information can be adjusted. In this way, the end-to-end transmission delay can be guaranteed and the delay jitter can be weakened in time. Therefore, the problem that it is difficult to locate the position of the delay anomaly and the end-to-end transmission delay cannot be guaranteed in the related technology can be solved, and the position of the delay anomaly can be accurately located to ensure the effect of end-to-end transmission delay.

[0074] In an exemplary embodiment, before sending the uplink data message to the base station, the method further includes: setting the first uplink time in an extension field of a message header in the uplink data message, wherein the first uplink time is the time when the terminal sends the uplink data message. This embodiment uses the extension field to time-stamp the sending and receiving of the message, which can effectively obtain each uplink time and quickly locate the location of the delay anomaly.

[0075] In an exemplary embodiment, before sending the uplink data message to the base station, the method further includes: receiving system information broadcast by the base station, wherein the system information includes clock information of the base station; and maintaining clock synchronization with the base station according to the system information. In this embodiment, the terminal can periodically read the system information, and obtain the coordinated universal time UTC time by reading the single frequency network (SFN) data frame in the system information, so as to achieve clock synchronization and frame synchronization between the terminal and the base station.

[0076] In an exemplary embodiment, the downlink delay information of the transmitted downlink data message is sent to the node device, including: parsing the first downlink time, the second downlink time and the third downlink time from the downlink data message, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; determining the first downlink time, the second downlink time, the third downlink time and the fourth downlink time as downlink delay information, wherein the fourth downlink time is the time when the terminal decodes the IP message. For example, the first downlink time when the node device sends downlink data is entered in the IP extension header (including the extension field) of the downlink data message. The second downlink time when the base station receives the downlink data message sent by the node device is entered in the IP extension header. The third downlink time when the base station sends the downlink data message is entered in the IP extension header. The time when the terminal decodes the IP extension header (i.e., the fourth downlink time) is recorded locally without operating the message header. After receiving the downlink data message, the terminal extracts the first downlink time, the second downlink time and the third downlink time in the IP extension header of the downlink data message, and summarizes the first downlink time, the second downlink time, the third downlink time and the fourth downlink time. Optionally, in order to reduce the number of messages between the terminal and the node device, the terminal can aggregate the time information of multiple downlink data messages into one message and send it. After receiving the message, the node device performs delay statistics and time calculations to quickly locate the position of the delay anomaly. This embodiment can accurately locate the position of the delay anomaly by aggregating all the downlink times.

[0077] In an exemplary embodiment, after the downlink delay information of the transmitted downlink data message is sent to the node device, the method further includes: receiving a second abnormal log collection instruction sent by the node device; responding to the second abnormal log collection instruction, collecting abnormal logs; sending the collected second abnormal log to the node device to instruct the node device to determine the delay adjustment information according to the second abnormal log. This embodiment can quickly determine abnormal information by means of logs.

[0078] The present application is described below in conjunction with specific embodiments:

[0079] This embodiment aims at the business applications in 5G ToB or delay-sensitive scenarios that are sensitive to delay size and delay jitter, and proposes a method for measuring UE packet-level segment delay and end-to-end delay guarantee. Through SIB9 timing and NTP time and frame synchronization, the system time and air interface frame number of the terminal, base station and node engine (for example, it can be the node device mentioned above) in the system are aligned to ensure the consistency of system time of each network element in the system. It mainly includes: when the uplink data message and the downlink data message are transmitted in the network, each network element prints the timestamp of receiving and sending the uplink data message and the downlink data message in the extended field of the message header in the uplink data message and the downlink data message; the node engine extracts and summarizes the time information of the uplink data message and the downlink data message, and calculates and presents the delay index. When the delay index does not meet the service delay requirement, the node engine triggers an alarm and delimits and diagnoses the delay problem based on the segment delay index; if the air interface delay index does not meet the service delay requirement, the node engine triggers the base station to modify the 5QI or optimize the scheduling of the air interface delay to achieve end-to-end delay guarantee for service data transmission. It is convenient to achieve end-to-end UE packet-level segment delay measurement and quantification of delay indicators; when the delay index does not meet the service delay requirement, it is convenient to delimit the delay problem; when the air interface delay does not meet the requirements or the jitter exceeds the limit, the base station can be quickly notified to optimize the air interface delay to achieve the purpose of end-to-end delay guarantee for data transmission.

[0080] For example, Figure 5 As shown, each node sets the transmission time in the message header during the message transmission process. The terminal periodically reads the SIB9 system information, and obtains the UTC time of the base station clock information by reading the single frequency network (SFN) data frame in SIB9, thereby realizing the clock synchronization and frame synchronization between the terminal and the base station. When the terminal sends an uplink data message, the uplink sending time of the terminal is marked in the IP extension header of the IP message (that is, the extension field of the IP message header); when the air interface receives a downlink data message, the time of receiving the downlink air interface packet is recorded. When the IP message is decoded, the downlink packet receiving time of the IP message is recorded. All time information of the downlink data message is summarized, and the time information of the downlink data message is reported to the node engine. After receiving the abnormal log collection task, the node engine collects and reports the abnormal log.

[0081] like Figure 5As shown, the base station periodically broadcasts SIB9 system information. After receiving the NTP clock synchronization request from the node engine, it replies with the NTP clock synchronization response and periodically sends frame synchronization information to the node engine. When the base station DU receives the uplink data message sent by the terminal, it records and marks the time when the base station receives the uplink data message in the F1 GTPU extension header; after the base station CU receives the F1GTPU message, it extracts the time when the base station receives the uplink data message; when sending the NG GTPU message to the node engine, the extracted time when the base station receives the uplink data message and the time when the base station sends the uplink data message are marked in the extension header of the NG GTPU. After the base station CU receives the downlink data message from the node engine, it marks the downlink sending time of the base station in the IP extension header of the downlink data message. After receiving the abnormal log collection task, the base station collects and reports the abnormal log.

[0082] The node engine periodically sends NTP clock synchronization requests to the base station; after receiving the NTP clock synchronization response from the base station, it calculates the clock deviation and performs calibration to maintain synchronization with the base station clock. Periodically collects the frame synchronization information of the base station and extracts the frame information for air interface frame synchronization. After receiving the uplink data message sent by the base station, the time when the node engine receives the uplink data message is recorded. Extract the time when the base station receives the uplink data message and the time when the base station sends the uplink data message in the uplink NG GTPU extension header; extract the time when the terminal sends the uplink data message in the IP extension header of the uplink data message; and deliver the uplink data message to the campus server. Summarize all the time information of the uplink data message, calculate and present the delay index of the uplink data message. When receiving the downlink data message sent by the campus server, the time when the node engine sends the downlink data message is marked in the IP extension header of the downlink data message. When receiving the time information of the downlink data message reported by the terminal, extract the downlink time of the downlink data message; calculate and present the delay index of the downlink data message. When the delay index deteriorates, an alarm is triggered and the abnormal network element is notified to collect and report abnormal logs. When the air interface delay index deteriorates, the base station is triggered to modify the 5QI or fine-tune the air interface pre-scheduling to ensure the end-to-end delay requirements of data transmission.

[0083] The campus server receives uplink service data sent by the terminal device and sends downlink service data to the terminal device.

[0084] Alternatively, if Figure 6As shown, it is the process of synchronizing the system time and air interface frame number between network elements (base station, terminal, node engine) in this embodiment, and clock synchronization and frame synchronization are mainly achieved through SIB9 system information and NTP clock synchronization request. For example, the terminal periodically reads the SIB9 system information, obtains the base station clock, and keeps the clock of the terminal and the base station synchronized. The format of the SIB9 system information message includes a message format based on the 38.331 protocol. For another example, the node engine periodically sends an NTP clock synchronization request to the base station, waits for and receives an NTP clock synchronization response; calculates the clock deviation and calibrates the clock of the node engine. The node engine periodically receives the frame synchronization signal of the base station, reads the frame number and subframe number to keep the node engine and the base station air interface frame number aligned.

[0085] Optionally, this embodiment also includes recording the delay by time stamping when sending and receiving uplink data messages and downlink data messages. For example, the time stamp of the uplink data message mainly includes the timestamp T4 when the terminal sends the uplink data message, the timestamp T3 when the base station receives the uplink data message sent by the terminal, the timestamp T2 when the base station receives the downlink data message sent by the node engine, and the timestamp T1 when the node engine receives the uplink data message sent by the base station. Figure 7 As shown, T4: the time point when the terminal sends the uplink data message, which is entered in the IP extension header (extension field of the IP header) of the uplink data message. T3: the time point when the base station DU receives the uplink data message sent by the terminal, which is entered in the F1 GTPU extension header. T2: the time point when the base station CU receives the downlink data message from the node engine. When the base station CU sends the NG GTPU message, it enters T3 and T2 in the NGGTPU extension header. T1: the time point when the node engine receives the uplink data message sent by the base station, which is recorded locally without operating the message header. The node engine data transceiver module extracts the T2 and T3 times of the NG GTPU extension header, solves the T4 of the IP header extension field of the data message, summarizes the T1, T2, T3, and T4 times and submits them to the delay statistics module in the node engine. The delay statistics module performs delay calculation and delay index calculation and delay judgment.

[0086] Optionally, the time stamp of the downlink data message mainly includes the time point T1' when the node engine sends the downlink data message, the time T2' when the base station CU receives the downlink data message from the node engine, the air interface time T3' when the terminal receives the downlink data message, and the time T4' when the terminal decodes the IP message. Figure 7As shown, T1': the time point when the node engine sends the downlink data message, which is included in the IP extension header of the downlink data message. T2': the time when the base station CU receives the downlink data message from the node engine, which is included in the IP extension header of the downlink data message. T3': the air interface time when the terminal receives the downlink data message, which is recorded locally without operating the message header. T4': the time when the terminal decodes the IP message, which is recorded locally without operating the message header. After the terminal receives the uplink data message, it extracts T1' and T2' from the IP extension header of the downlink data message, and summarizes T1', T2', T3', and T4' times; in order to reduce the number of messages between the terminal and the node engine, the terminal can aggregate the time information of multiple messages into one message and send it. After the node engine receives the message, the delay statistics module performs delay calculation, delay index calculation, and delay judgment.

[0087] Optionally, the format of the IP extension header is as follows Figure 8 As shown, the uplink terminal adds 4 bytes to the IP extension header to store T4. The downlink node engine adds 8 bytes to the IP extension header, the first 4 bytes are used to store T1', and the last 4 bytes are reserved for base station T2'.

[0088] Optionally, the format of the GTPU extension header is as follows Fig. 9 As shown, for data packets transmitted in the uplink direction by the base station, a GTPU extension header needs to be used to store the time point.

[0089] Alternatively, if Fig.10 As shown, it is a schematic diagram of the time definition of the extended header of the F1 GTPU uplink data message. The uplink F1 GTPU extended header is used to fill in the time point T3 when the base station DU receives the uplink data message sent by the terminal.

[0090] Optionally, the time definition of the extension header of the NG GTPU uplink data message is as follows: Fig.11 As shown, the uplink NGGTPU extension header is used to fill in the time point T3 when the base station DU receives the uplink data message sent by the terminal and the time point T2 when the base station CU receives the downlink data message from the node engine.

[0091] Optionally, since the base station and the terminal need to encrypt and secure the IP extension header when sending air interface data, the IP extension header cannot be operated when sending data, resulting in the loss of the corresponding timestamp. However, since the internal processing delays of the base station and the terminal are relatively stable and have corresponding statistics, the internal processing delay of the terminal is calculated into the uplink air interface delay in the uplink direction, and the internal processing delay of the base station is calculated into the downlink air interface delay in the downlink direction. Combined with the time points obtained above, the NG GTPU extension header delay indicator is as follows: Fig.12 As shown, specifically including:

[0092] Uplink end-to-end delay: the time interval from when the IP extension header is sent from the terminal to when it is received by the node engine, T1-T4;

[0093] Downlink end-to-end delay: the time interval from when the IP extension header is sent from the node engine to when it is received by the terminal, T4'-T1';

[0094] Uplink air interface delay: the time interval from the IP extension header being sent from the terminal to the air interface base station DU being received, T3-T4;

[0095] Downlink air interface delay: the time interval from when the base station CU receives the IP extension header to when the air interface terminal receives it, T3'-T2';

[0096] Uplink base station internal processing delay: the time interval from the air interface base station DU receiving the IP extension header to the base station CU sending the IP extension header, T2-T3;

[0097] Downlink terminal internal processing delay: the time interval from the base station CU receiving the IP extension header to the air interface terminal receiving the IP extension header, T4'-T3'.

[0098] For example, the calculation of the delay between each node specifically includes the following:

[0099] Calculate the end-to-end delay average: the average value of the end-to-end delay within the statistical period (uplink data message transmission or downlink data message transmission), which can reflect the service quality of the network between nodes;

[0100] Calculate the end-to-end delay compliance rate: the ratio of the number of times the end-to-end delay is less than the tolerance delay threshold of the service application within the statistical period (uplink data packet transmission or downlink data packet transmission) to the statistical number of times, which can reflect the jitter of the network between nodes;

[0101] Calculate the maximum and minimum end-to-end delay: the maximum and minimum end-to-end delay within the statistical period (uplink data packet transmission or downlink data packet transmission);

[0102] Calculate the average air interface delay: The average air interface delay within the statistical period (uplink data message transmission or downlink data message transmission) can reflect the air interface quality between nodes;

[0103] Calculate the air interface delay compliance rate: the ratio of the number of times the air interface delay is less than the service application tolerance delay threshold to the statistical number of times within the statistical period (uplink data packet transmission or downlink data packet transmission) can reflect the jitter of the air interface between nodes;

[0104] Calculate the maximum and minimum values ​​of the air interface delay: the maximum and minimum values ​​of the air interface delay within the statistical period (uplink data packet transmission or downlink data packet transmission).

[0105] For example, Fig.13 As shown, the node engine calculates the delay index by the following steps:

[0106] S1301, waiting for the time report message of the uplink data message and the downlink data message;

[0107] S1302, receiving the time report message of the uplink data message and the downlink data message

[0108] S1303, determining whether the time point in the time reporting message is valid;

[0109] S1304, when the time point is valid, calculating the end-to-end and segment delays of the uplink data message and the downlink data message (such as the various time points in the above embodiment);

[0110] S1305, update the delay indicators and the standard-reaching rate delay of the uplink data message and the downlink data message according to the calculated segment delay, and end this operation after updating the delay indicators and the standard-reaching rate delay of the uplink data message and the downlink data message, otherwise go to S1301 and execute the above steps in a loop.

[0111] Optionally, the air interface quality judgment and delay indicator adjustment strategy in this embodiment includes the following contents:

[0112] Due to the mobility of the terminal, the air interface channel quality is uncertain, and there is a large uncertainty in the air interface delay and delay jitter. In a real network, the uncertainty of air interface delay has a great impact on the end-to-end delay and jitter of service data. When the uplink and downlink air interface delay and compliance rate indicators deviate from the tolerance range of the service application within the statistical period, the node engine starts the 5QI adjustment or air interface delay scheduling optimization strategy to ensure the delay requirements of the service application.

[0113] For example, the air interface quality judgment and adjustment process is as follows Fig.14 As shown, the following steps are included:

[0114] S1401, waiting for the periodic air interface delay adjustment timer to time out;

[0115] S1402, air interface delay adjustment timer times out;

[0116] S1403, determining whether the air interface delay indicator and the target achievement rate indicator are in the adjustment period; if they are in the adjustment period, the air interface delay indicator is not adjusted, and the adjustment is made after the next determination that the air interface delay indicator enters the stable period;

[0117] S1404: If the adjustment period is not in progress, determine whether the air interface delay index and the compliance rate meet the service delay threshold requirement;

[0118] S1405: If the delay and compliance rate indicators do not meet the threshold requirements of the service in the stable period, the delay indicator adjustment is triggered, and the 5QI is reselected according to the delay requirements and the base station is triggered to perform the 5QI modification to optimize the air interface delay; and it is determined whether the QoS delay of the current 5QI meets the expected delay requirements;

[0119] S1406, when the QoS delay of the current 5QI does not meet the expected delay requirement, obtain a 5QI that meets the expected delay requirement;

[0120] S1407, determining whether the 5QI required by the expected delay is valid;

[0121] S1408, when the 5QI of the expected delay requirement is valid, notify the base station to adjust the 5QI of the expected delay requirement;

[0122] S1409, waiting for the base station to respond to the adjustment of the 5QI. If the base station responds to the adjustment of the 5QI, the adjustment operation is terminated. If the base station does not respond to the adjustment of the 5QI, the process returns to S1401 and the above steps are repeated.

[0123] S1410, when the QoS delay of the current 5QI meets the expected delay requirement, calculate the deviation and adjustment amount between the current actual delay and the compliance rate and the expected value;

[0124] S1411: If the current 5QI meets the service application delay requirements, but the air interface delay and compliance rate indicators still fluctuate and affect the service delay requirements, start air interface delay scheduling optimization to ensure the QoS delay requirements.

[0125] Optionally, the reselection strategy and adjustment of 5QI include the following:

[0126] When the air interface delay and compliance rate indicators deviate from the service application tolerance delay threshold and the current 5QIQoS delay does not meet the service delay requirements, the 5QI reselection strategy is triggered. The node engine statically selects 5QI or dynamically matches 5QI according to the delay requirements of the service application, finds the 5QI that meets the service delay requirements, and triggers the base station to perform 5QI modification; the base station remaps DRB and accepts resources according to the newly configured 5QI, triggers the adjustment of scheduling priority, and ensures the air interface delay requirements. The adjustment of 5QI is applicable to scenarios where the air interface delay and compliance rate indicators deviate greatly from the threshold, and can quickly adjust the air interface delay to a certain range.

[0127] For example, the process of 5QI reselection strategy is as follows Fig.15 As shown, the following steps are included:

[0128] S1501, obtaining a 5QI that meets the expected delay requirement;

[0129] S1502, determining whether the transmitted service is configured with a static 5QI;

[0130] S1503, when a static 5QI is configured, read the corresponding static 5QI from the static configuration table, and return the configured static 5QI;

[0131] S1504, when a static 5QI is not configured, read all 5QIs and configurations of the current same service type from the 5QI configuration table;

[0132] S1505, filtering out 5QIs whose packet delay is greater than the expected packet delay;

[0133] S1506, filtering out 5QIs whose packet loss rate is greater than the expected packet loss rate;

[0134] S1507, filtering out 5QIs whose rates are lower than the expected rate;

[0135] S1508, filtering out 5QIs whose maximum data burst volume is less than the expected maximum data burst volume;

[0136] S1509, determining whether the filtered 5QI list is empty;

[0137] S1510, when the 5QI list is empty, returning an invalid 5QI;

[0138] S1511, when the 5QI list is not empty, the 5QI list is sorted in descending order according to packet delay;

[0139] S1512, return the first 5QI in the list.

[0140] Optionally, the air interface delay scheduling optimization strategy in this embodiment specifically includes the following contents:

[0141] If the current 5QIQoS delay meets the service delay requirements, but the air interface delay and compliance rate indicators still fluctuate and affect the service delay requirements, the air interface delay scheduling optimization strategy is started. The node engine calculates the deviation and adjustment amount between the current delay and compliance rate and the service expected delay and compliance rate, and triggers the base station to perform air interface delay scheduling optimization. The base station adjusts the QoS parameter PDB value and retransmission failure rate according to the adjustment amount, remaps the HARQ transmission times and target BLER, and recalculates the scheduling strategy and scheduling priority to ensure the QoS delay requirements.

[0142] To summarize, this embodiment aims at 5G ToB or delay-sensitive scenarios. Through an end-to-end delay guarantee solution based on the measurement of UE packet-level segment delay, it is possible to quickly measure the UE packet-level segment delay and delimit and locate the delay problem, and can quickly achieve end-to-end delay guarantee for service messages.

[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a 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 such an understanding, the technical solution of the present invention, 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, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0144] In this embodiment, a delay adjustment device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0145] Fig.16 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 1 ,like Fig.16 As shown, the device comprises:

[0146] The first determining module 1602 is used to determine the uplink delay information of transmitting the uplink data message, wherein the uplink delay information includes: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device;

[0147] The second determining module 1604 is used to determine the downlink delay information of transmitting the downlink data message, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device;

[0148] The third determining module 1606 is configured to determine abnormal delay information from the uplink delay information and the downlink delay information according to a preset delay indicator, and adjust the abnormal delay information.

[0149] In an exemplary embodiment, the first determination module includes: a first parsing unit, used to parse the first uplink time, the second uplink time, and the third uplink time from the uplink data message, wherein the first uplink time is the time when the terminal sends the uplink data message, the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message, and the first uplink time, the second uplink time and the third uplink time are all set in the uplink data message; a first determination unit, used to determine the uplink end-to-end delay using the first uplink time and the fourth uplink time, wherein the fourth uplink time is the time when the node device receives the uplink data message; a second determination unit, used to determine the uplink air interface delay using the first uplink time and the second uplink time; a third determination unit, used to determine the processing time of the uplink data message by the base station using the second uplink time and the third uplink time. The first processing unit is used to determine the uplink end-to-end delay, the uplink air interface delay, and the processing time of the uplink data message by the base station as the uplink delay information.

[0150] In an exemplary embodiment, the first uplink time, the second uplink time and the third uplink time are all set in an extension field of a message header in the uplink data message.

[0151] In an exemplary embodiment, the second determination module includes: a second parsing unit, which is used to parse the first downlink time, the second downlink time, and the third downlink time from the downlink time sent by the terminal, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; a fourth determination unit, which is used to determine the downlink end-to-end delay using the first downlink time and the fourth downlink time, wherein the fourth downlink time is the time when the terminal decodes the IP message; a fifth determination unit, which is used to determine the downlink air interface delay using the first downlink time, the second downlink time, and the processing time of the downlink data message by the terminal; a sixth determination unit, which is used to determine the processing time of the base station for the downlink data message using the second downlink time and the third downlink time; a second processing unit, which is used to determine the downlink end-to-end delay, the downlink air interface delay, and the processing time of the downlink data message by the base station as the downlink delay information.

[0152] In an exemplary embodiment, the first downlink time, the second downlink time and the third downlink time are all set in an extension field of a message header in the downlink data message.

[0153] In an exemplary embodiment, the above-mentioned device also includes: a fifth sending module, used to send a clock synchronization request to the above-mentioned base station before determining the uplink delay information of transmitting the uplink data message; a second receiving module, used to receive a clock synchronization response of the above-mentioned base station in response to the above-mentioned clock synchronization request, wherein the above-mentioned clock synchronization response includes the clock information of the above-mentioned base station; a first calculation module, used to calculate the clock deviation between the above-mentioned node device and the above-mentioned base station using the clock information of the base station in the above-mentioned clock synchronization response; a first calibration module, used to calibrate the clock of the above-mentioned node device according to the above-mentioned clock deviation to maintain clock synchronization with the above-mentioned base station.

[0154] In an exemplary embodiment, the delay anomaly information is adjusted in the following manner: when the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, the adjustment of the 5G service quality flow identifier 5QI is initiated to determine the delay adjustment information, wherein the preset delay indicator includes the first preset delay and the second preset delay; the delay anomaly information is adjusted using the delay adjustment information.

[0155] In an exemplary embodiment, the above-mentioned device also includes: a first trigger module, which is used to start adjusting the 5G service quality flow identifier 5QI when the above-mentioned uplink air interface delay is greater than the first preset delay, and / or the above-mentioned downlink air interface delay is greater than the second preset delay, so as to determine the above-mentioned delay adjustment information, and then trigger a reselection strategy when the delay compliance rate of the above-mentioned uplink air interface delay and / or the above-mentioned downlink air interface delay is greater than the target delay, and the above-mentioned 5QI does not meet the delay requirements of the above-mentioned uplink air interface delay and / or the above-mentioned downlink air interface delay, wherein the above-mentioned reselection strategy is used to reselect the target 5QI.

[0156] In an exemplary embodiment, the above-mentioned device also includes: a sixth sending module, which is used to start adjusting the 5G service quality flow identifier 5QI when the above-mentioned uplink air interface delay is greater than the first preset delay, and / or the above-mentioned downlink air interface delay is greater than the second preset delay, so as to determine the above-mentioned delay adjustment information, and then send the above-mentioned delay adjustment information to the above-mentioned base station to instruct the above-mentioned base station to perform adjustment of the above-mentioned 5QI to adjust the above-mentioned uplink air interface delay and / or the above-mentioned downlink air interface delay; a fourth determination module, which is used to determine the adjustment strategy when the adjusted air interface delay is less than the preset air interface delay and the delay fluctuation of the above-mentioned adjusted air interface delay is greater than the preset fluctuation, wherein the above-mentioned adjustment strategy includes the air interface delay adjustment amount, the delay deviation value between the above-mentioned adjusted air interface delay and the above-mentioned preset air interface delay, and the adjusted air interface delay includes the adjusted uplink air interface delay and / or the adjusted downlink air interface delay; a seventh sending module, which is used to send the above-mentioned adjustment strategy to the above-mentioned base station to instruct the above-mentioned base station to adjust the above-mentioned adjusted air interface delay according to the above-mentioned adjustment strategy.

[0157] In an exemplary embodiment, the apparatus further includes: a second triggering module, configured to determine delay anomaly information from the uplink delay information and the downlink delay information according to a preset delay indicator, and before adjusting the delay anomaly information, trigger an alarm message when the uplink end-to-end delay is greater than a first preset delay, and / or the downlink end-to-end delay is greater than a second preset delay, wherein the alarm message is used to indicate that the delay anomaly information occurs in the uplink end-to-end delay or the downlink end-to-end delay, wherein the preset delay indicator includes the first preset delay and the second preset delay; an eighth sending module, configured to send an abnormal log collection instruction to the base station and the terminal to instruct the base station to collect the abnormal log; and a third receiving module, configured to receive the abnormal logs sent by the base station and the terminal, and determine the delay adjustment information according to the abnormal logs, wherein the delay adjustment information is used to adjust the delay anomaly information.

[0158] Fig.17 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 2 ,like Fig.17 As shown, the device comprises:

[0159] The first sending module 1702 is used to send the uplink delay information of the transmitted uplink data message to the node device, wherein the uplink delay information includes: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device;

[0160] The second sending module 1704 is used to send the downlink data message to the terminal to instruct the terminal to send the downlink delay information of the downlink data message to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, and the downlink end-to-end delay between the terminal and the node device;

[0161] The first receiving module 1706 is configured to receive the delay adjustment information sent by the node device, and adjust the delay anomaly information according to the delay adjustment information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0162] In an exemplary embodiment, the downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting downlink data messages between the base station and the node device and the time for transmitting downlink data messages between the base station and the terminal.

[0163] In an exemplary embodiment, the above-mentioned device also includes: a fourth receiving module, which is used to receive the above-mentioned uplink data message sent by the above-mentioned terminal before sending the uplink delay information of the transmitted uplink data message to the node device, wherein the extended field of the message header in the above-mentioned uplink data message includes the first uplink time; a first setting module, which is used to set the second uplink time and the third uplink time in the extended field of the message header in the above-mentioned uplink data message, wherein the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message.

[0164] In an exemplary embodiment, the above-mentioned device also includes: a first broadcast module, which is used to broadcast system information according to a first preset period before receiving the above-mentioned uplink data message sent by the above-mentioned terminal, wherein the above-mentioned system information includes the clock information of the above-mentioned base station, and the above-mentioned system information is used to instruct the above-mentioned terminal to maintain clock synchronization with the above-mentioned base station.

[0165] In an exemplary embodiment, the above-mentioned device also includes: a fifth receiving module, which is used to receive a clock synchronization request sent by the above-mentioned node device before sending the uplink delay information of the transmitted uplink data message to the node device; a first response module, which is used to respond to the above-mentioned clock synchronization request and send a clock synchronization response to the above-mentioned node device, wherein the above-mentioned clock synchronization response includes the clock information of the above-mentioned base station, and the above-mentioned clock synchronization response is used to instruct the above-mentioned node device to calculate the clock deviation between the above-mentioned node device and the above-mentioned base station.

[0166] In an exemplary embodiment, the above-mentioned device also includes: a sixth receiving module, which is used to receive a downlink data message sent by the above-mentioned node device before sending the downlink data message to the above-mentioned terminal, wherein the extended field of the message header in the above-mentioned downlink data message includes a first downlink time and a second downlink time, the above-mentioned first downlink time is the time when the above-mentioned node device sends the downlink data message, and the above-mentioned second downlink time is the time when the above-mentioned base station receives the above-mentioned downlink data message.

[0167] In an exemplary embodiment, the first receiving module includes: a first execution unit, used to perform adjustment on the 5QI when the delay adjustment information includes 5QI, so as to adjust the uplink air interface delay and / or the downlink air interface delay; a first receiving unit, used to receive the adjustment strategy sent by the node device when the adjusted air interface delay is less than the preset air interface delay and the delay fluctuation of the adjusted air interface delay is greater than the preset fluctuation, wherein the adjustment strategy includes the delay adjustment amount, the delay deviation value between the adjusted air interface delay and the preset delay, and the adjusted air interface delay includes the adjusted uplink air interface delay and / or the adjusted downlink air interface delay; and adjust the adjusted air interface delay according to the adjustment strategy.

[0168] In an exemplary embodiment, the above-mentioned device also includes: a seventh receiving module, which is used to receive the delay adjustment information sent by the above-mentioned node device, and before adjusting the delay exception information according to the above-mentioned delay adjustment information, receive the first abnormal log collection instruction sent by the above-mentioned node device; a second response module, which is used to respond to the above-mentioned first abnormal log collection instruction and perform abnormal log collection; and a ninth sending module, which is used to send the collected first abnormal log to the above-mentioned node device to instruct the above-mentioned node device to determine the above-mentioned delay adjustment information according to the above-mentioned first abnormal log.

[0169] Fig.18 The structure frame of the delay adjustment device according to the embodiment of the present invention is Figure 3 ,like Fig.18 As shown, the device comprises:

[0170] The third sending module 1802 is used to send an uplink data message to the base station to instruct the base station to send the uplink delay information of the uplink data message to the node device, wherein the uplink delay information includes: the uplink air interface delay between the base station and the terminal, and the uplink end-to-end delay between the terminal and the node device;

[0171] The fourth sending module 1804 is used to send the downlink delay information of the transmitted downlink data message to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, the downlink end-to-end delay between the terminal and the node device, and the delay adjustment information used by the node device to determine the delay anomaly information. The delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

[0172] In an exemplary embodiment, the downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting downlink data messages between the base station and the node device and the time for transmitting downlink data messages between the base station and the terminal.

[0173] In an exemplary embodiment, the above-mentioned device also includes: a third setting module, which is used to set the first uplink time in the extended field of the message header in the uplink data message before sending the uplink data message to the base station, wherein the above-mentioned first uplink time is the time when the above-mentioned terminal sends the above-mentioned uplink data message.

[0174] In an exemplary embodiment, the above-mentioned device also includes: an eighth receiving module, used to receive system information broadcast by the above-mentioned base station before sending the uplink data message to the base station, wherein the above-mentioned system information includes the clock information of the above-mentioned base station; a first maintaining module, used to maintain clock synchronization with the above-mentioned base station according to the above-mentioned system information.

[0175] In an exemplary embodiment, the first sending module includes: a first parsing unit, used to parse the first downlink time, the second downlink time and the third downlink time from the downlink data message, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; a seventh determination unit, used to determine the first downlink time, the second downlink time, the third downlink time and the fourth downlink time as the downlink delay information, wherein the fourth downlink time is the time when the terminal decodes the IP message.

[0176] In an exemplary embodiment, the above-mentioned device also includes: a ninth receiving module, which is used to receive a second abnormal log collection instruction sent by the above-mentioned node device after sending the downlink delay information of the transmitted downlink data packet to the above-mentioned node device; a third response module, which is used to respond to the above-mentioned second abnormal log collection instruction and perform abnormal log collection; and a tenth sending module, which is used to send the collected second abnormal log to the above-mentioned node device to instruct the above-mentioned node device to determine the above-mentioned delay adjustment information according to the above-mentioned second abnormal log.

[0177] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0178] An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0179] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.

[0180] An embodiment of the present invention further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0181] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0182] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.

[0183] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0184] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A delay adjustment method, characterized in that: include: Determine uplink delay information for transmitting uplink data packets, wherein the uplink delay information includes: uplink air interface delay between a base station and a terminal, and uplink end-to-end delay between the terminal and a node device; Determine downlink delay information for transmitting downlink data packets, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and a node device; Delay anomaly information is determined from the uplink delay information and the downlink delay information according to a preset delay index, and the delay anomaly information is adjusted.

2. The method according to claim 1, characterized in that Determine the uplink delay information for transmitting uplink data packets, including: Parsing a first uplink time, a second uplink time, and a third uplink time from the uplink data message, wherein the first uplink time is the time when the terminal sends the uplink data message, the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message; Determine the uplink end-to-end delay using the first uplink time and a fourth uplink time, wherein the fourth uplink time is the time when the node device receives the uplink data message; Determine the uplink air interface delay by using the first uplink time and the second uplink time; Determine, by using the second uplink time and the third uplink time, a processing time of the uplink data message by the base station; The uplink end-to-end delay, the uplink air interface delay, and the processing time of the base station for the uplink data message are determined as the uplink delay information.

3. The method according to claim 2, characterized in that The first uplink time, the second uplink time and the third uplink time are all set in an extension field of a message header in the uplink data message.

4. The method according to claim 1, characterized in that: Determine the downlink delay information for transmitting downlink data packets, including: Parsing a first downlink time, a second downlink time, and a third downlink time from the downlink time sent by the terminal, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; Determine the downlink end-to-end delay using the first downlink time and a fourth downlink time, wherein the fourth downlink time is the time for the terminal to decode the IP message in the downlink data message; Determine the downlink air interface delay using the first downlink time and the third downlink time; Determine, by using the second downlink time and the third downlink time, a processing time of the downlink data message by the base station; The downlink end-to-end delay, the downlink air interface delay, and the processing time of the base station on the downlink data message are determined as the downlink delay information.

5. The method according to claim 4, characterized in that The first downlink time, the second downlink time and the third downlink time are all set in an extension field of a message header in the downlink data message.

6. The method according to claim 1, characterized in that Before determining the uplink delay information for transmitting the uplink data message, the method further includes: Sending a clock synchronization request to the base station; receiving a clock synchronization response from the base station in response to the clock synchronization request, wherein the clock synchronization response includes clock information of the base station; Calculating the clock deviation between the node device and the base station using the clock information of the base station in the clock synchronization response; The clock of the node device is calibrated according to the clock deviation to keep clock synchronization with the base station.

7. The method according to claim 1, characterized in that Determining abnormal delay information from the uplink delay information and the downlink delay information according to a preset delay indicator, and adjusting the abnormal delay information, including: When the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, start adjusting the 5G service quality flow identifier 5QI to determine delay adjustment information, wherein the preset delay indicator includes the first preset delay and the second preset delay; The delay abnormality information is adjusted using the delay adjustment information.

8. The method according to claim 7, characterized in that When the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, after starting adjustment of the 5G service quality flow identifier 5QI to determine the delay adjustment information, the method further includes: When the delay compliance rate of the uplink air interface delay and / or the downlink air interface delay is greater than the target delay, and the 5QI does not meet the delay requirements of the uplink air interface delay and / or the downlink air interface delay, a reselection strategy is triggered, wherein the reselection strategy is used to reselect the target 5QI.

9. The method according to claim 8, characterized in that When the uplink air interface delay is greater than the first preset delay, and / or the downlink air interface delay is greater than the second preset delay, after starting adjustment of the 5G service quality flow identifier 5QI to determine the delay adjustment information, the method further includes: Sending the delay adjustment information to the base station to instruct the base station to perform adjustment on the 5QI to adjust the uplink air interface delay and / or the downlink air interface delay; When the adjusted air interface delay is less than the preset air interface delay, and the delay fluctuation of the adjusted air interface delay is greater than the preset fluctuation, determining an adjustment strategy, wherein the adjustment strategy includes an air interface delay adjustment amount, a delay deviation value between the adjusted air interface delay and the preset air interface delay, and the adjusted air interface delay includes an adjusted uplink air interface delay and / or an adjusted downlink air interface delay; The adjustment strategy is sent to the base station to instruct the base station to adjust the adjusted air interface delay according to the adjustment strategy.

10. The method according to claim 1, characterized in that Before determining abnormal delay information from the uplink delay information and the downlink delay information according to a preset delay indicator and adjusting the abnormal delay information, the method further includes: When the uplink end-to-end delay is greater than a first preset delay, and / or the downlink end-to-end delay is greater than a second preset delay, triggering alarm information, wherein the alarm information is used to indicate that the uplink end-to-end delay or the downlink end-to-end delay has the delay abnormality information, wherein the preset delay indicator includes the first preset delay and the second preset delay; Sending an abnormal log collection instruction to the base station and the terminal to instruct the base station to collect the abnormal log; Receive the abnormal logs sent by the base station and the terminal, and determine the delay adjustment information according to the abnormal logs, wherein the delay adjustment information is used to adjust the delay abnormal information.

11. A delay adjustment method, characterized in that: include: Sending uplink delay information of the transmitted uplink data message to the node device, wherein the uplink delay information includes: uplink air interface delay between the base station and the terminal, and uplink end-to-end delay between the terminal and the node device; Sending a downlink data message to a terminal to instruct the terminal to send downlink delay information of the downlink data message to the node device, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; The method further comprises: receiving delay adjustment information sent by the node device, and adjusting delay anomaly information according to the delay adjustment information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

12. The method according to claim 11, characterized in that The downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting the downlink data message between the base station and the node device and the time for transmitting the downlink data message between the base station and the terminal.

13. The method according to claim 11, characterized in that Before sending the uplink delay information of the transmitted uplink data message to the node device, the method further includes: receiving the uplink data message sent by the terminal, wherein an extension field of a message header in the uplink data message includes a first uplink time; The second uplink time and the third uplink time are both set in the extended field of the message header in the uplink data message, wherein the second uplink time is the time when the base station receives the uplink data message, and the third uplink time is the time when the base station sends the uplink data message.

14. The method according to claim 13, characterized in that Before sending the uplink delay information of the transmitted uplink data message to the node device, the method further includes: System information is broadcast according to a first preset period, wherein the system information includes clock information of the base station, and the system information is used to instruct the terminal to maintain clock synchronization with the base station.

15. The method according to claim 11, characterized in that Before sending the uplink delay information of the transmitted uplink data message to the node device, the method further includes: Receiving a clock synchronization request sent by the node device; In response to the clock synchronization request, a clock synchronization response is sent to the node device, wherein the clock synchronization response includes the clock information of the base station, and the clock synchronization response is used to instruct the node device to calculate the clock deviation between the node device and the base station.

16. The method according to claim 11, characterized in that Before sending the downlink data message to the terminal, the method further includes: Receive the downlink data message sent by the node device, wherein the extended field of the message header in the downlink data message includes a first downlink time and a second downlink time, the first downlink time is the time when the node device sends the downlink data message, and the second downlink time is the time when the base station receives the downlink data message.

17. The method according to claim 11, characterized in that Receiving the delay adjustment information sent by the node device, and adjusting the delay abnormality information according to the delay adjustment information, including: In a case where the delay adjustment information includes a 5QI, adjusting the 5QI to adjust the uplink air interface delay and / or the downlink air interface delay; In a case where the adjusted air interface delay is less than the preset air interface delay, and the delay fluctuation of the adjusted air interface delay is greater than the preset fluctuation, receiving an adjustment strategy sent by the node device, wherein the adjustment strategy includes a delay adjustment amount, a delay deviation value between the adjusted air interface delay and the preset delay, and the adjusted air interface delay includes an adjusted uplink air interface delay and / or an adjusted downlink air interface delay; The adjusted air interface delay is adjusted according to the adjustment strategy.

18. The method according to claim 11, characterized in that Before receiving the delay adjustment information sent by the node device and adjusting the delay abnormality information according to the delay adjustment information, the method further includes: Receiving a first abnormal log collection instruction sent by the node device; In response to the first abnormal log collection instruction, collect abnormal logs; The collected first abnormal log is sent to the node device to instruct the node device to determine the delay adjustment information according to the first abnormal log.

19. A delay adjustment method, characterized in that: include: Sending an uplink data message to a base station to instruct the base station to send uplink delay information of the uplink data message to a node device, wherein the uplink delay information includes: an uplink air interface delay between the base station and the terminal, and an uplink end-to-end delay between the terminal and the node device; The downlink delay information of the transmitted downlink data message is sent to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, the downlink end-to-end delay between the terminal and the node device, and the node device is used to determine the delay adjustment information of the delay anomaly information, and the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

20. The method according to claim 19, characterized in that The downlink air interface delay and the downlink end-to-end delay are determined by the time for transmitting the downlink data message between the base station and the node device and the time for transmitting the downlink data message between the base station and the terminal.

21. The method according to claim 19, characterized in that Before sending the uplink data message to the base station, the method further includes: A first uplink time is set in an extension field of a message header in the uplink data message, wherein the first uplink time is the time when the terminal sends the uplink data message.

22. The method according to claim 19, characterized in that Before sending the uplink data message to the base station, the method further includes: receiving system information broadcasted by the base station, wherein the system information includes clock information of the base station; The clock of the base station is synchronized with that of the base station according to the system information.

23. The method according to claim 19, characterized in that Sending downlink delay information of the transmitted downlink data message to the node device includes: Parsing a first downlink time, a second downlink time, and a third downlink time from the downlink data message, wherein the first downlink time is the time when the node device sends the downlink data message, the second downlink time is the time when the base station receives the downlink data message, and the third downlink time is the air interface time when the terminal receives the downlink data message; The first downlink time, the second downlink time, the third downlink time and the fourth downlink time are determined as the downlink delay information, wherein the fourth downlink time is the time when the terminal decodes the IP message of the downlink data message.

24. The method according to claim 19, characterized in that After sending the downlink delay information of the transmitted downlink data message to the node device, the method further includes: Receiving a second abnormal log collection instruction sent by the node device; In response to the second abnormal log collection instruction, collect abnormal logs; The collected second abnormality log is sent to the node device to instruct the node device to determine the delay adjustment information according to the second abnormality log.

25. A delay adjustment device, characterized in that: include: A first determination module, configured to determine uplink delay information for transmitting an uplink data message, wherein the uplink delay information includes: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and a node device; A second determination module is used to determine downlink delay information for transmitting downlink data messages, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and a node device; The third determining module is used to determine abnormal delay information from the uplink delay information and the downlink delay information according to a preset delay indicator, and adjust the abnormal delay information.

26. A delay adjustment device, characterized in that: include: A first sending module, configured to send uplink delay information of the transmitted uplink data message to the node device, wherein the uplink delay information includes: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and the node device; A second sending module, configured to send a downlink data message to a terminal, so as to instruct the terminal to send downlink delay information of the downlink data message to the node device, wherein the downlink delay information includes: a downlink air interface delay between the base station and the terminal, and a downlink end-to-end delay between the terminal and the node device; The first receiving module is used to receive the delay adjustment information sent by the node device, and adjust the delay abnormality information according to the delay adjustment information, wherein the delay abnormality information is determined by the node device from the uplink delay information and the downlink delay information.

27. A delay adjustment device, characterized in that: include: A third sending module is used to send an uplink data message to a base station to instruct the base station to send uplink delay information of the uplink data message to a node device, wherein the uplink delay information includes: an uplink air interface delay between a base station and a terminal, and an uplink end-to-end delay between the terminal and a node device; a fourth sending module, configured to send downlink delay information of the transmitted downlink data message to the node device, wherein the downlink delay information includes: the downlink air interface delay between the base station and the terminal, the downlink end-to-end delay between the terminal and the node device, and delay adjustment information used by the node device to determine delay anomaly information, wherein the delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.

28. A delay adjustment system, characterized in that: The delay adjustment system includes the delay adjustment device described in any one of claims 25-27.

29. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 10, or implements the steps of the method described in any one of claims 11 to 18, or implements the steps of the method described in any one of claims 19 to 24.

30. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the processor implements the steps of the method described in any one of claims 1 to 10, or implements the steps of the method described in any one of claims 11 to 18, or implements the steps of the method described in any one of claims 19 to 24.