Delay adjustment method and apparatus, and storage medium and electronic device
By determining and adjusting transmission delay information in the 5G network, the problem of difficulty in measuring and positioning of delay in the 5G network is solved, and the end-to-end delay guarantee and the weakening of delay jitter is achieved.
Patent Information
- Application Number
- PCT/CN2024/083658
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-07-31
- Filing Date
- 2024-03-25
- Publication Date
- 2025-02-06
AI Technical Summary
The packet-level delay of user terminals in 5G networks is difficult to measure, and the delay problem is difficult to locate, which makes it difficult to ensure the end-to-end transmission delay of data and the difficulty of weakening delay jitter.
By determining the delay information of transmitting uplink and downlink data packets, including the air interface delay between the base station and the terminal and the end-to-end delay between the terminal and the node device, the delay abnormality is identified based on the preset delay indicator and carried out Adjustment.
It realizes accurate determination of end-to-end delay abnormal information and adjusts it, ensuring end-to-end transmission delay and timely weakening of delay jitter.
Smart Images

Figure CN2024083658_06022025_PF_FP_ABST
Abstract
Description
Delay adjustment method and device, storage medium, and electronic device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure is based on Chinese patent application 202310968385X filed on July 31, 2023, entitled “Time Delay Adjustment Method and Device, Storage Medium, and Electronic Device,” and claims the priority of the patent application. All the contents disclosed therein are incorporated into this disclosure by reference. Technical Field
[0003] The embodiments of the present disclosure relate to the field of communications, and in particular, to a method and device for adjusting delay, a storage medium, and an electronic device. Background Art
[0004] With the widespread adoption of fifth-generation (5G) networks, 5G technology has been widely adopted across various industries. These applications, in turn, place higher demands on 5G data transmission latency. This is particularly true in end-to-end scenarios (e.g., coal mining, ports, and other industries). Due to the high timeliness of data, applications are extremely sensitive to end-to-end latency and jitter. However, the uncertainty of 5G air interface channel quality and the complexity of transmission links make it difficult to measure packet-level latency at user equipment (UE) terminals in 5G networks, locate latency issues, guarantee end-to-end data transmission latency, and mitigate latency jitter.
[0005] With respect to the above technical problems, no effective solutions have been proposed in the relevant technologies.
[0006] Summary of the Invention
[0007] The embodiments of the present disclosure provide a method and apparatus for delay adjustment, a storage medium, and an electronic device to solve the problem in related technologies that it is difficult to locate the location of delay anomalies and that end-to-end transmission delay cannot be guaranteed.
[0008] According to one embodiment of the present disclosure, a delay adjustment method is provided, comprising: determining 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; determining 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; 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.
[0009] According to one embodiment of the present disclosure, a delay adjustment method is provided, comprising: sending uplink delay information of a transmitted uplink data packet 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; sending a downlink data packet to the terminal to instruct the terminal to send downlink delay information of the downlink data packet 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; 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.
[0010] According to another embodiment of the present disclosure, a delay adjustment method is provided, including: sending an uplink data message to a base station to instruct the above-mentioned base station to send uplink delay information of the above-mentioned uplink data message to a 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; sending 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 configured to determine delay adjustment information of 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 another embodiment of the present disclosure, a delay adjustment device is provided, including: a first determination module, configured 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, configured 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; and a third determination module, configured 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.
[0012] According to another embodiment of the present disclosure, a delay adjustment device is provided, including: a first sending module, configured 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, configured to send a downlink data message to the 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; a first receiving module, configured to receive the delay adjustment information sent by the node device, and adjust 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.
[0013] According to another embodiment of the present disclosure, a delay adjustment device is provided, including: a third sending module, configured to send an uplink data message to a base station to instruct the above-mentioned base station to send 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, configured to send 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 configured to determine delay adjustment information of 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.
[0014] According to another embodiment of the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when running.
[0015] According to another embodiment of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
[0016] Through the present disclosure, since the uplink delay information and 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, it is possible to accurately determine the end-to-end delay anomaly information and adjust the delay anomaly information. This can ensure the end-to-end transmission delay and timely weaken the delay jitter. Therefore, it can solve the problem in the related art that it is difficult to locate the location of the delay anomaly and cannot guarantee the end-to-end transmission delay. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] FIG1 is a hardware structure block diagram of a mobile terminal according to a method for adjusting a time delay according to an embodiment of the present disclosure;
[0018] FIG2 is a flowchart of a delay adjustment method according to an embodiment of the present disclosure;
[0019] FIG3 is a second flowchart of the delay adjustment method according to an embodiment of the present disclosure;
[0020] FIG4 is a third flowchart of a delay adjustment method according to an embodiment of the present disclosure;
[0021] FIG5 is an overall flow chart according to an embodiment of the present disclosure;
[0022] 6 is a flowchart of system time and air interface frame number synchronization between network elements according to an embodiment of the present disclosure;
[0023] FIG7 is a flowchart of time stamping of uplink and downlink data packets according to an embodiment of the present disclosure;
[0024] FIG8 is a schematic diagram of the structure of an IP packet header extension field according to an embodiment of the present disclosure;
[0025] FIG9 is a schematic diagram of a GTPU message header according to an embodiment of the present disclosure;
[0026] FIG10 is a schematic diagram of the time definition of the F1 GTPU uplink message extension field according to an embodiment of the present disclosure;
[0027] FIG11 is a schematic diagram of a time definition of an extended field of an NG GTPU uplink message according to an embodiment of the present disclosure;
[0028] FIG12 is a schematic diagram of delay indicators according to an embodiment of the present disclosure;
[0029] FIG13 is a flowchart of delay index calculation according to an embodiment of the present disclosure;
[0030] FIG14 is a schematic diagram of an air interface quality judgment and delay index adjustment strategy according to an embodiment of the present disclosure;
[0031] FIG15 is a flow chart of air interface quality determination and adjustment according to an embodiment of the present disclosure;
[0032] FIG16 is a structural block diagram 1 of a delay adjustment device according to an embodiment of the present disclosure;
[0033] FIG17 is a second structural block diagram of the delay adjustment device according to an embodiment of the present disclosure;
[0034] FIG18 is a third structural block diagram of the delay adjustment device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings and in conjunction with embodiments.
[0036] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0037] The method embodiments provided in the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of a delay adjustment method of an embodiment of the present disclosure. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 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 configured to store data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 configured to have a communication function. It will be understood by those skilled in the art that the structure shown in FIG1 is for illustration only and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0038] The memory 104 can be configured 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 disclosure. 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-mentioned 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 located relative to the processor 102, and these remote memories may 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.
[0039] The transmission device 106 is configured to receive or transmit data via a network. A specific example of the aforementioned network may include a wireless network provided by the mobile terminal's telecommunications provider. In one embodiment, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one embodiment, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
[0040] In this embodiment, a delay adjustment method is provided. FIG2 is a flowchart of the delay adjustment method according to an embodiment of the present disclosure. As shown in FIG2 , the process includes the following steps:
[0041] 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;
[0042] Step S204: determining downlink delay information for transmitting the downlink data message, 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;
[0043] 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.
[0044] 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 that performs message transmission with the terminal and the base station.
[0045] 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.
[0046] Optionally, the preset latency indicator can be set according to different application scenarios, such as the latency between a base station and a terminal, or the latency between a terminal and a node device. Different application scenarios require different latency. This indicator is primarily used to compare with the latency in the uplink and downlink latency information to determine whether a latency anomaly has occurred.
[0047] Through the above steps, since the uplink delay information and 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 and the effect of ensuring the end-to-end transmission delay can be achieved.
[0048] 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; using the first uplink time and the fourth uplink time to determine the uplink end-to-end delay, wherein the fourth uplink time is the time when the node device receives the uplink data message; using the first uplink time, the second uplink time, and the processing time of the uplink data message by the base station to determine the uplink air interface delay, 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; and 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 the various times 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 location of the abnormal delay can be located.
[0049] 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 to judge the abnormal delay information. This embodiment uses the extended field to time-stamp the sending and receiving of uplink messages, which can effectively obtain each uplink time and quickly locate the position of the delay anomaly.
[0050] In one exemplary embodiment, determining downlink delay information for transmitting a downlink data packet includes: parsing a downlink time sent by a terminal to determine a first downlink time, a second downlink time, and a third downlink time, wherein the first downlink time is the time when the node device sends the downlink data packet, the second downlink time is the time when the base station receives the downlink data packet, and the third downlink time is the air interface time when the terminal receives the downlink data packet; determining a 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 packet; determining a downlink air interface delay using the second downlink time and the third downlink time; determining an internal processing time of the terminal using the third downlink time and the fourth downlink time; and determining the downlink end-to-end delay, the downlink air interface delay, and the processing time of the downlink data packet 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 an extension field of a message header in the downlink data message. For example, the first downlink time when the node device sends downlink data is included 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 is received by the base station and is entered into 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 into the IP extension header of the downlink data message. The terminal records the fourth downlink time obtained by decrypting the IP extension header locally at 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 from the IP extension header in 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 multiple downlink time information into one message and send it. 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.
[0051] In an exemplary embodiment, before determining the uplink delay information for transmitting an uplink data message, the method further includes: sending a clock synchronization request to a 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, sending 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.
[0052] In an exemplary embodiment, delay anomaly information is determined from the uplink delay information and the downlink delay information based on a preset delay indicator, and the delay anomaly information is adjusted, including: when the uplink air interface delay is greater than a first preset delay, and / or the downlink air interface delay is greater than a second preset delay, initiating adjustment of the 5G service quality flow identifier 5QI to determine delay adjustment information, wherein the preset delay indicator includes a first preset delay and a second preset delay; and adjusting the delay anomaly information using the delay adjustment information. In this embodiment, when the air interface delay does not meet the preset delay indicator (for example, the service application tolerance delay threshold), the 5QI adjustment strategy is triggered, and the preset delay indicator 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 index 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 significantly from the threshold, and can quickly adjust the air interface delay to a certain range.
[0053] 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: 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 5QI QoS 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 the 5QI that meets the service delay requirements, and triggers the base station to perform 5QI modification. The adjustment of 5QI in this embodiment is applicable to scenarios where the air interface delay and compliance rate indicators deviate significantly from the threshold, and can quickly adjust the air interface delay to a certain range.
[0054] 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 the air interface delay adjustment amount, the delay deviation value between the adjusted air interface delay and the 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; 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 5QI QoS delay meets service delay requirements, but air interface delay and delay compliance rate indicators still fluctuate and affect service delay requirements, the air interface delay scheduling optimization strategy is activated. 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, triggering the base station to perform air interface delay scheduling optimization. The base station adjusts the QoS parameter PDB value and retransmission failure rate based on the adjustment amount, remaps the HARQ transmission times and target BLER, and recalculates the scheduling strategy and scheduling priority to ensure QoS delay requirements.
[0055] In an exemplary embodiment, before determining the delay anomaly information from the uplink delay information and the downlink delay information according to the preset delay index and adjusting the delay anomaly information, the above method further 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 delay anomaly 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 delay anomaly information. This embodiment can quickly determine abnormal information by means of logs.
[0056] In this embodiment, a delay adjustment method is provided. FIG3 is a second flowchart of the delay adjustment method according to an embodiment of the present disclosure. As shown in FIG3 , the process includes the following steps:
[0057] Step S302: 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;
[0058] Step S304: Send the downlink data message to the terminal to instruct the terminal to send downlink delay information of the downlink data message to the node device, where 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;
[0059] Step S306: 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.
[0060] The execution entity of the above steps may be a base station, but is not limited thereto.
[0061] 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.
[0062] 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.
[0063] Through the above steps, since the uplink delay information and 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 and the effect of ensuring the end-to-end transmission delay can be achieved.
[0064] In an exemplary embodiment, before sending the uplink delay information of the transmitted uplink data packet to the node device, the method further includes: receiving an uplink data packet sent by a terminal, wherein the extension field of the message header of the uplink data packet includes a first uplink time; and setting both a second uplink time and a third uplink time in the extension field of the message header of the uplink data packet, wherein the second uplink time is the time when the base station receives the uplink data packet, and the third uplink time is the time when the base station transmits the uplink data packet. 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 packet sent by the terminal is included in the IP extension header (including the extension field) of the uplink data packet. The second uplink time of the uplink data packet received by the terminal and the third uplink time of the uplink data packet sent by the base station to the node device are included in the GTPU extension header (including the extension field) of the uplink data packet. The node device receives the fourth uplink time of the uplink data packet sent by the base station and records it locally on the node device without manipulating the message header. The node device extracts the first uplink time from the IP extension header of the uplink data message, extracts the second and third uplink times from the GTPU extension header of the uplink data message, and, combined with the fourth uplink time, aggregates the uplink times and performs delay statistics and delay calculations to determine abnormal delay information. This embodiment uses the extended field to time-stamp the transmission and reception of uplink messages, effectively obtaining each uplink time and quickly locating the location of the delay anomaly.
[0065] In an exemplary embodiment, before sending the uplink delay information of the transmitted uplink data packet 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 Coordinated Universal Time (UTC) by reading Single Frequency Network (SFN) data frames in the system information, thereby achieving clock synchronization and frame synchronization between the terminal and the base station.
[0066] 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 maintain synchronization with the base station clock. The node device periodically receives the frame synchronization signal of the base station, reads the frame number and subframe number, and can also maintain the alignment of the air interface frame number of the node device and the base station.
[0067] 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 of the downlink data message includes a first downlink time and a second downlink time, the first downlink time being the time when the node device sends the downlink data message, and the second downlink time being the time when the base station receives the downlink data message; and setting a third downlink time in the extension field of the message header of 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 of the downlink data message. For example, the first downlink time when the node device sends downlink data is included 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 included in the IP extension header of the data message. The third downlink time when the base station sends the downlink data message is included in the IP extension header of the data message. The terminal decodes the time of the IP extension header (i.e., the fourth downlink time) and records it locally without manipulating 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.
[0068] In an exemplary embodiment, delay adjustment information sent by a node device is received, and delay anomaly 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 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 the adjusted uplink air interface delay and / or the adjusted downlink air interface delay; and 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 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 index 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 significantly from the threshold, and can quickly adjust the air interface delay to a certain range.
[0069] In an exemplary embodiment, before receiving the delay adjustment information sent by the node device and adjusting the delay anomaly information according to the delay adjustment information, the method further includes: receiving a first anomaly log collection instruction sent by the node device; responding to the first anomaly log collection instruction and collecting the anomaly log; and sending the collected first anomaly log to the node device to instruct the node device to determine the delay adjustment information according to the first anomaly log. This embodiment can quickly determine anomaly information through logs.
[0070] In this embodiment, a delay adjustment method is provided. FIG4 is a flowchart of the delay adjustment method according to an embodiment of the present disclosure. As shown in FIG4 , the process includes the following steps:
[0071] Step S402: Send an uplink data message to the base station to instruct the base station to send uplink delay information of the uplink data message to the node device, where 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;
[0072] Step S404: Send the downlink delay information of the transmitted downlink data message to the node device, where 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 set 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.
[0073] The execution subject of the above steps may be a processor provided in the terminal, but is not limited thereto.
[0074] 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.
[0075] 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.
[0076] Through the above steps, since the uplink delay information and 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 and the effect of ensuring the end-to-end transmission delay can be achieved.
[0077] In an exemplary embodiment, before sending the uplink data message to the base station, the method further includes: setting a first uplink time in an extension field of a message header in the uplink data message, where 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 transmission and reception of messages, effectively obtaining each uplink time and quickly locating the location of the delay anomaly.
[0078] 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 Coordinated Universal Time (UTC) by reading the Single Frequency Network (SFN) data frames in the system information, thereby achieving clock and frame synchronization between the terminal and the base station.
[0079] In one exemplary embodiment, sending downlink delay information of a transmitted downlink data packet to a node device includes: parsing the downlink data packet to determine a first downlink time, a second downlink time, and a third downlink time, wherein the first downlink time is the time when the node device sends the downlink data packet, the second downlink time is the time when the base station receives the downlink data packet, and the third downlink time is the air interface time when the terminal receives the downlink data packet; and 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 packet. For example, the first downlink time when the node device sends downlink data is included in the IP extension header (including the extension field) of the downlink data packet. The second downlink time when the base station receives the downlink data packet sent by the node device is included in the IP extension header. The third downlink time when the base station sends the downlink data packet is included 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 requiring any header manipulation. After receiving the downlink data message, the terminal extracts the first downlink time, the second downlink time, and the third downlink time from 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 location of the delay anomaly. This embodiment can accurately locate the location of the delay anomaly by aggregating all downlink times.
[0080] In an exemplary embodiment, after transmitting the downlink delay information of the transmitted downlink data packet to the node device, the method further includes: receiving a second abnormality log collection instruction from the node device; responding to the second abnormality log collection instruction and collecting the abnormality log; and transmitting the collected second abnormality log to the node device to instruct the node device to determine the delay adjustment information based on the second abnormality log. This embodiment can quickly determine abnormal information through logs.
[0081] The present disclosure is described below with reference to specific embodiments:
[0082] This embodiment aims at the fact that business applications in 5G ToB or delay-sensitive scenarios are more 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 the 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 of 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, calculates and presents the delay index. When the latency indicator does not meet the service latency requirement, the node engine triggers an alarm and demarcates and diagnoses the latency issue based on the segmented latency indicator. If the air interface latency indicator does not meet the service latency requirement, the node engine triggers the base station to modify the 5QI or optimize the air interface latency scheduling to achieve end-to-end latency guarantee for service data transmission. This facilitates end-to-end UE packet-level segmented latency measurement and latency indicator quantification. When the latency indicator does not meet the service latency requirement, it facilitates demarcation of the latency issue. When the air interface latency does not meet the requirement or jitter exceeds the limit, the base station can be quickly notified to optimize the air interface latency, achieving the goal of end-to-end latency guarantee for data transmission.
[0083] For example, as shown in Figure 5, 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's clock information by reading the single frequency network (SFN) data frame in the SIB9, thereby achieving clock synchronization and frame synchronization between the terminal and the base station. When the terminal sends an uplink data message, it marks the uplink sending time of the terminal 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, it records the time when the downlink air interface receives the packet. When the IP message is decoded, the downlink packet reception time of the IP message is recorded. Summarize all the time information of the downlink data message and report the time information of the downlink data message to the node engine. After receiving the abnormal log collection task, the node engine collects and reports the abnormal log.
[0084] As shown in Figure 5, the base station periodically broadcasts SIB9 system information. After receiving an NTP clock synchronization request from the node engine, it responds with an NTP clock synchronization response and periodically sends frame synchronization information to the node engine. When the base station DU receives an uplink data packet from a terminal, it records and adds the time the base station received the uplink data packet to the F1 GTPU extension header. After receiving the F1 GTPU message, the base station CU extracts the time the base station received the uplink data packet. When sending an NG GTPU message to the node engine, the extracted time the base station received the uplink data packet and the time the base station sent the uplink data packet are added to the NG GTPU extension header. After receiving a downlink data packet from the node engine, the base station CU adds the base station's downlink sending time to the IP extension header of the downlink data packet. Upon receiving an exception log collection task, the base station collects and reports the exception log.
[0085] The node engine periodically sends NTP clock synchronization requests to the base station. After receiving the base station's NTP clock synchronization response, it calculates and calibrates the clock offset to maintain synchronization with the base station's clock. It periodically receives frame synchronization information from the base station and extracts the frame information for air interface frame synchronization. Upon receiving an uplink data packet from the base station, the node engine records the time the uplink data packet was received. It extracts the time the base station received the uplink data packet and the time the base station sent the uplink data packet from the uplink NG GTPU extension header. It also extracts the time the terminal sent the uplink data packet from the IP extension header within the uplink data packet. The node engine then delivers the uplink data packet to the campus server. It aggregates all time information from the uplink data packet and calculates and presents the latency metrics for the uplink data packet. Upon receiving a downlink data packet from the campus server, it adds the time the node engine sent the downlink data packet to the IP extension header of the downlink data packet. Upon receiving the time information for the downlink data packet reported by the terminal, it extracts the downlink time of the downlink data packet and calculates and presents the latency metrics for the downlink data packet. When latency indicators deteriorate, an alarm is triggered and the abnormal network element is notified to collect and report abnormal logs. When the air interface latency indicator deteriorates, the base station is triggered to modify the 5QI or fine-tune the air interface pre-scheduling to ensure the end-to-end latency requirements of data transmission.
[0086] The campus server receives uplink service data from terminal devices and sends downlink service data to the terminal devices.
[0087] Optionally, as shown in Figure 6, this is the process of synchronizing the system time and air interface frame number between network elements (base station, terminal, node engine) in this embodiment, mainly realizing clock synchronization and frame synchronization 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 clocks 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 air interface frame number of the node engine and the base station aligned.
[0088] Optionally, this embodiment also includes recording the time delay by time stamping when sending and receiving uplink and downlink data packets. For example, the time stamp of the uplink data packet mainly includes the timestamp T4 when the terminal sends the uplink data packet, the timestamp T3 when the base station receives the uplink data packet sent by the terminal, the timestamp T2 when the base station receives the downlink data packet sent by the node engine, and the timestamp T1 when the node engine receives the uplink data packet sent by the base station. As shown in Figure 7, T4: the time point when the terminal sends the uplink data packet, which is stamped in the IP extension header (extension field of the IP header) of the uplink data packet. T3: the time point when the base station DU receives the uplink data packet sent by the terminal, which is stamped in the F1 GTPU extension header. T2: the time point when the base station CU receives the downlink data packet from the node engine. When the base station CU sends the NG GTPU packet, T3 and T2 are stamped in the NG GTPU extension header. T1: the time point when the node engine receives the uplink data packet sent by the base station, which is recorded locally without the need to manipulate the packet header. The node engine data transceiver module extracts the T2 and T3 times from the NG GTPU extension header, extracts the T4 field from the data packet IP header extension field, summarizes the T1, T2, T3, and T4 times, and submits them to the delay statistics module in the node engine. The delay statistics module calculates the delay, calculates the delay index, and makes delay judgments.
[0089] Optionally, the downlink data message timestamp primarily includes the time 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. For example, as shown in Figure 7, T1′ is the time the node engine sends the downlink data message, which is stamped in the IP extension header of the downlink data message. T2′ is the time the base station CU receives the downlink data message from the node engine, which is stamped in the IP extension header of the downlink data message. T3′ is the air interface time when the terminal receives the downlink data message, which is recorded locally without header manipulation. T4′ is the time when the terminal decodes the IP message, which is recorded locally without header manipulation. After receiving the uplink data message, the terminal extracts T1′ and T2′ from the IP extension header of the downlink data message and aggregates T1′, T2′, T3′, and T4′. To reduce the number of messages between the terminal and the node engine, the terminal can aggregate the time information of multiple messages into a single message. After the node engine receives the message, the delay statistics module performs delay calculation, delay index calculation and delay judgment.
[0090] Alternatively, the format of the IP extension header is shown in Figure 8. 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, with the first 4 bytes used to store T1' and the last 4 bytes reserved for base station T2'.
[0091] Optionally, the format of the GTPU extension header is shown in FIG9 . For data packets transmitted in the uplink direction by the base station, the GTPU extension header needs to be used to store the time point.
[0092] Optionally, as shown in FIG10 , which 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.
[0093] Optionally, the time definition of the extended header of the NG GTPU uplink data message is shown in Figure 11. The uplink NG 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 and the time point T2 when the base station CU receives the downlink data message from the node engine.
[0094] Optionally, since the base station and 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 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 indicators are shown in Figure 12, specifically including:
[0095] 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;
[0096] 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′;
[0097] 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;
[0098] 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′;
[0099] 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;
[0100] 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′.
[0101] For example, the calculation of the delay between each node specifically includes the following:
[0102] Calculate the average end-to-end delay: The average end-to-end delay within the statistical period (uplink data packet transmission or downlink data packet transmission) can reflect the service quality of the network between nodes;
[0103] Calculate the end-to-end delay compliance rate: The ratio of the number of times the end-to-end delay is less than the service application tolerance delay threshold during the statistical period (uplink data packet transmission or downlink data packet transmission) to the statistical number of times can reflect the jitter of the network between nodes;
[0104] 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);
[0105] Calculate the average air interface delay: The average air interface delay within the statistical period (uplink data packet transmission or downlink data packet transmission) can reflect the air interface quality between nodes;
[0106] 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 during the statistical period (uplink data packet transmission or downlink data packet transmission) to the statistical number of times can reflect the jitter of the air interface between nodes;
[0107] Calculate the maximum and minimum air interface delay values: the maximum and minimum air interface delay values within the statistical period (uplink data packet transmission or downlink data packet transmission).
[0108] For another example, as shown in FIG13 , the node engine performs a latency indicator calculation process including the following steps:
[0109] S1301, waiting for time reporting messages of uplink data packets and downlink data packets;
[0110] S1302, receiving a time report message of an uplink data message and a downlink data message;
[0111] S1303, determining whether the time point in the time report message is valid;
[0112] S1304: If the time point is valid, calculate 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);
[0113] S1305: Update the delay indicators and target-reaching rate delays of the uplink and downlink data packets according to the calculated segment delays. End this operation after the delay indicators and target-reaching rate delays of the uplink and downlink data packets are updated. Otherwise, go to S1301 and loop through the above steps.
[0114] Optionally, the air interface quality judgment and delay indicator adjustment strategy in this embodiment includes the following:
[0115] Due to the mobility of terminals, there is uncertainty in the air interface channel quality, resulting in significant uncertainty in air interface delay and delay jitter. In real networks, the uncertainty of air interface delay has a significant 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 initiates 5QI adjustment or air interface delay scheduling optimization strategy to meet the delay requirements of the service application.
[0116] For example, the air interface quality judgment and adjustment process is shown in Figure 14, which includes the following steps:
[0117] S1401, waiting for the periodic air interface delay adjustment timer to time out;
[0118] S1402, the air interface delay adjustment timer times out;
[0119] S1403, determining whether the air interface delay indicator and the compliance rate indicator are in the adjustment period; if they are in the adjustment period, no adjustment is made to the air interface delay indicator, and adjustment is made again after the next stable period is determined;
[0120] S1404: If the service is not in the adjustment period, determine whether the air interface delay indicator and the compliance rate meet the service delay threshold requirement;
[0121] S1405: If the service is in a stable period and the latency and compliance rate indicators do not meet the service threshold requirements, a latency indicator adjustment is triggered. The 5QI is reselected based on the latency requirements and the base station is triggered to modify the 5QI to optimize the air interface latency. The QoS latency of the current 5QI is determined to meet the expected latency requirements.
[0122] 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;
[0123] S1407, determining whether the 5QI required by the expected delay is valid;
[0124] S1408: When the 5QI of the expected delay requirement is valid, notify the base station to adjust the 5QI of the expected delay requirement;
[0125] 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 repeats the above steps.
[0126] S1410, when the current 5QI QoS delay meets the expected delay requirement, calculate the deviation and adjustment amount between the current actual delay and compliance rate and the expected value;
[0127] S1411: If the current 5QI meets the service application delay requirement, but the air interface delay and compliance rate indicators still fluctuate and affect the service delay requirement, start air interface delay scheduling optimization to ensure the QoS delay requirement.
[0128] Optionally, the 5QI reselection strategy and adjustment include the following:
[0129] When the air interface delay and compliance rate indicators deviate from the service application's tolerance delay threshold and the current 5QI QoS delay does not meet the service delay requirements, the 5QI reselection strategy is triggered. The node engine statically selects a 5QI based on the service application's delay requirements or dynamically matches a 5QI. Finding a 5QI that meets the service delay requirements triggers the base station to modify the 5QI. The base station remaps DRBs and reaccepts resources based on the newly configured 5QI, triggering scheduling priority adjustments to ensure air interface delay requirements. 5QI adjustment is applicable to scenarios where the air interface delay and compliance rate indicators deviate significantly from the threshold and can quickly adjust the air interface delay to a certain range.
[0130] For example, the process of the 5QI reselection strategy is shown in Figure 15, which includes the following steps:
[0131] S1501, obtaining a 5QI that meets the expected delay requirement;
[0132] S1502, determining whether the transmitted service is configured with a static 5QI;
[0133] S1503: If a static 5QI is configured, read the corresponding static 5QI from the static configuration table and return the configured static 5QI;
[0134] S1504: If no static 5QI is configured, all 5QIs and configurations of the current service type are read from the 5QI configuration table;
[0135] S1505: Filter out 5QI packets whose delay is greater than the expected delay.
[0136] S1506, filtering out 5QIs whose packet loss rate is greater than the expected packet loss rate;
[0137] S1507, filtering out 5QIs whose rates are lower than the expected rate;
[0138] S1508, filtering out 5QIs whose maximum data burst volume is less than the expected maximum data burst volume;
[0139] S1509, determining whether the filtered 50I list is empty;
[0140] S1510: If the 5QI list is empty, return an invalid 5QI;
[0141] S1511: If the 5QI list is not empty, the 5QI list is sorted in descending order of packet delay;
[0142] S1512, return the first 5QI in the list.
[0143] Optionally, the air interface delay scheduling optimization strategy in this embodiment specifically includes the following contents:
[0144] If the current 5QI QoS delay meets service delay requirements, but air interface delay and compliance rate indicators still fluctuate and affect service delay requirements, the air interface delay scheduling optimization strategy is initiated. The node engine calculates the deviation and adjustment amount between the current delay and compliance rate and the service's expected delay and compliance rate, triggering the base station to perform air interface delay scheduling optimization. Based on the adjustment amount, the base station adjusts the QoS parameter PDB value and retransmission failure rate, remaps the HARQ transmission times and target BLER, and recalculates the scheduling strategy and scheduling priority to ensure QoS delay requirements.
[0145] To summarize, this embodiment targets 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 locate the delay problem, thereby quickly achieving end-to-end delay guarantee for service messages.
[0146] 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 the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0147] This embodiment also provides a delay adjustment device, which is configured to implement the above-mentioned embodiments and preferred implementations. Details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.
[0148] FIG16 is a structural block diagram 1 of a delay adjustment device according to an embodiment of the present disclosure. As shown in FIG16 , the device includes:
[0149] The first determining module 1602 is 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 a terminal and a node device;
[0150] The second determining module 1604 is configured to determine 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;
[0151] 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.
[0152] In an exemplary embodiment, the above-mentioned first determination module includes: a first parsing unit, configured to parse the first uplink time, the second uplink time, and the third uplink time from the above-mentioned uplink data message, wherein the above-mentioned first uplink time is the time when the above-mentioned terminal sends the above-mentioned uplink data message, the above-mentioned second uplink time is the time when the above-mentioned base station receives the above-mentioned uplink data message, and the above-mentioned third uplink time is the time when the above-mentioned base station sends the above-mentioned uplink data message, and the above-mentioned first uplink time, the above-mentioned second uplink time, and the above-mentioned third uplink time are all set in the above-mentioned uplink data message; a first determination unit, configured to use the above-mentioned first uplink time and the fourth uplink time to determine the above-mentioned uplink end-to-end delay, wherein the above-mentioned fourth uplink time is the time when the above-mentioned node device receives the above-mentioned uplink data message; a second determination unit, configured to use the above-mentioned first uplink time and the above-mentioned second uplink time to determine the above-mentioned uplink air interface delay; a third determination unit, configured to use the above-mentioned second uplink time and the above-mentioned third uplink time to determine the processing time of the above-mentioned uplink data message by the above-mentioned base station. The first processing unit is configured 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.
[0153] 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.
[0154] In an exemplary embodiment, the above-mentioned second determination module includes: a second parsing unit, configured to parse the first downlink time, the second downlink time, and the third downlink time from the above-mentioned downlink time sent by the terminal, wherein the above-mentioned first downlink time is the time when the above-mentioned node device sends the downlink data message, the above-mentioned second downlink time is the time when the above-mentioned base station receives the above-mentioned downlink data message, and the above-mentioned third downlink time is the air interface time when the above-mentioned terminal receives the downlink data message; a fourth determination unit, configured to use the above-mentioned first downlink time and the fourth downlink time to determine the above-mentioned downlink end-to-end delay, wherein the above-mentioned fourth downlink time is the time when the above-mentioned terminal decodes the IP message; a fifth determination unit, configured to use the above-mentioned first downlink time, the above-mentioned second downlink time and the processing time of the above-mentioned downlink data message by the above-mentioned terminal to determine the above-mentioned downlink air interface delay; a sixth determination unit, configured to use the above-mentioned second downlink time and the above-mentioned third downlink time to determine the processing time of the above-mentioned downlink data message by the above-mentioned base station; a second processing unit, configured to determine the above-mentioned downlink end-to-end delay, the above-mentioned downlink air interface delay and the processing time of the above-mentioned downlink data message by the above-mentioned base station as the above-mentioned downlink delay information.
[0155] 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.
[0156] In an exemplary embodiment, the above-mentioned device also includes: a fifth sending module, configured 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, configured 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, configured to use the clock information of the base station in the above-mentioned clock synchronization response to calculate the clock deviation between the above-mentioned node device and the above-mentioned base station; a first calibration module, configured 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.
[0157] 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; and the delay anomaly information is adjusted using the delay adjustment information.
[0158] In an exemplary embodiment, the above-mentioned device also includes: a first trigger module, which is configured 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.
[0159] 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 configured 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 configured 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.
[0160] 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 delay adjustment information according to the abnormal logs, wherein the delay adjustment information is used to adjust the delay anomaly information.
[0161] FIG17 is a second structural block diagram of a delay adjustment device according to an embodiment of the present disclosure. As shown in FIG17 , the device includes:
[0162] A first sending module 1702 is configured to send 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;
[0163] The second sending module 1704 is configured to send a downlink data message to the 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;
[0164] The first receiving module 1706 is configured to receive 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.
[0165] 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 packets between the base station and the node device and the time for transmitting downlink data packets between the base station and the terminal.
[0166] In an exemplary embodiment, the above-mentioned device also includes: a fourth receiving module, configured 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, configured 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.
[0167] In an exemplary embodiment, the above-mentioned device also includes: a first broadcast module, which is configured 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.
[0168] In an exemplary embodiment, the above-mentioned device also includes: a fifth receiving module, which is configured 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 configured 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 it and the above-mentioned base station.
[0169] In an exemplary embodiment, the above-mentioned device also includes: a sixth receiving module, which is configured to receive the 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.
[0170] In an exemplary embodiment, the above-mentioned first receiving module includes: a first execution unit, which is configured to perform adjustment on the above-mentioned 5QI when the above-mentioned delay adjustment information includes 5QI, so as to adjust the above-mentioned uplink air interface delay and / or the above-mentioned downlink air interface delay; the first receiving unit is configured to receive the adjustment strategy sent by the above-mentioned node device 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 delay adjustment amount, the delay deviation value between the above-mentioned adjusted air interface delay and the above-mentioned preset delay, and the adjusted air interface delay includes the adjusted uplink air interface delay and / or the adjusted downlink air interface delay; the above-mentioned adjusted air interface delay is adjusted according to the above-mentioned adjustment strategy.
[0171] In an exemplary embodiment, the above-mentioned device also includes: a seventh receiving module, configured 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 a first abnormal log collection instruction sent by the above-mentioned node device; a second response module, configured to respond to the above-mentioned first abnormal log collection instruction and perform abnormal log collection; a ninth sending module, configured 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.
[0172] FIG18 is a third structural block diagram of a delay adjustment device according to an embodiment of the present disclosure. As shown in FIG18 , the device includes:
[0173] The third sending module 1802 is configured to send an uplink data message to the base station to instruct the base station to send uplink delay information of the uplink data message to the 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;
[0174] The fourth sending module 1804 is configured 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 node device is configured to determine the delay adjustment information of the delay anomaly information. The delay anomaly information is determined by the node device from the uplink delay information and the downlink delay information.
[0175] 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 packets between the base station and the node device and the time for transmitting downlink data packets between the base station and the terminal.
[0176] In an exemplary embodiment, the above-mentioned device also includes: a third setting module, which is configured 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.
[0177] In an exemplary embodiment, the above-mentioned device also includes: an eighth receiving module, configured 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, configured to maintain clock synchronization with the above-mentioned base station according to the above-mentioned system information.
[0178] In an exemplary embodiment, the above-mentioned first sending module includes: a first parsing unit, configured to parse the first downlink time, the second downlink time and the third downlink time from the above-mentioned downlink data packet, wherein the above-mentioned first downlink time is the time when the above-mentioned node device sends the downlink data packet, the above-mentioned second downlink time is the time when the above-mentioned base station receives the above-mentioned downlink data packet, and the above-mentioned third downlink time is the air interface time when the above-mentioned terminal receives the downlink data packet; a seventh determination unit, configured to determine the above-mentioned first downlink time, the above-mentioned second downlink time, the above-mentioned third downlink time and the fourth downlink time as the above-mentioned downlink delay information, wherein the above-mentioned fourth downlink time is the time when the above-mentioned terminal decodes the IP packet.
[0179] In an exemplary embodiment, the above-mentioned device also includes: a ninth receiving module, configured 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, configured to respond to the above-mentioned second abnormal log collection instruction and perform abnormal log collection; a tenth sending module, configured 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.
[0180] It should be noted that the above modules can be implemented through 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.
[0181] An embodiment of the present disclosure further provides a computer-readable storage medium, in which a computer program is stored. The computer program is configured to execute the steps of any one of the above method embodiments when run.
[0182] 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.
[0183] An embodiment of the present disclosure further provides 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 perform the steps in any of the above method embodiments.
[0184] 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.
[0185] 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 here.
[0186] Obviously, those skilled in the art should understand that the modules or steps of the present disclosure described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, 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 performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present disclosure is not limited to any particular combination of hardware and software.
[0187] The foregoing description is merely a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Those skilled in the art will readily appreciate that various modifications and variations of the present disclosure are possible. Any modifications, equivalent substitutions, or improvements made within the principles of the present disclosure shall be included within the scope of protection of the present disclosure.
Claims
1. A delay adjustment method, comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, comprising: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, comprising: 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 configured 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, wherein: 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, comprising: A first determination module is 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 configured to determine downlink delay information for transmitting a downlink data message, 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 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.
26. A delay adjustment device, comprising: The first sending module is configured to send the 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; A second sending module is configured to send 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 first receiving module is configured 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, comprising: A third sending module is configured 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 is 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 the node device is configured to determine delay adjustment information of delay anomaly information, and 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, comprising the delay adjustment device according to any one of claims 25 to 27.
29. A computer-readable storage medium having a computer program stored therein, 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, wherein 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.
Citation Information
Patent Citations
Time delay monitoring method, base station, terminal and computer storage medium
CN109688594A
Method and device for determining air interface time delay
CN114205428A
Communication method, device and system
CN114902776A
Time delay monitoring method, device and network element
CN115623505A
Base station management of end-to-end network latency
US11659444B1