Delay measurement method and communication apparatus
By obtaining the time information of the first and last packets of the PDU set in the core network device and calculating the transmission delay, the problem of PDU set delay measurement in the prior art is solved, and video transmission quality and network performance are improved.
Patent Information
- Application Number
- PCT/CN2024/085421
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-31
- Filing Date
- 2024-04-02
- Publication Date
- 2024-12-05
AI Technical Summary
The prior art is difficult to accurately measure the transmission delay of PDU sets between terminal devices, access network devices and core network devices, and cannot effectively reflect the transmission quality of video frames, resulting in video lag and user experience.
The time information of the first packet and the last packet in the PDU set is obtained through the core network device, and the time difference between them is calculated to determine the transmission delay of the PDU set, supporting delay measurement of different interfaces (air ports and NG ports). Optimize transmission resources to improve network performance.
Accurate delay measurement of PDU sets is realized, video transmission quality and user experience are improved, and transmission performance between terminal equipment, access network equipment and core network equipment is optimized.
Smart Images

Figure CN2024085421_05122024_PF_FP_ABST
Abstract
Description
Delay measurement method and communication device
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on May 31, 2023, with application number 202310647514.5 and invention name “Delay Measurement Method and Communication Device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The embodiments of the present application relate to the field of communications, and in particular to a delay measurement method and a communication device. Background Art
[0003] With the development of communication needs, more and more services need to ensure low-latency performance. For example, ultra reliable low latency communication (URLLC) services require a delay within 0.5ms. In order to ensure the performance of the services, operators need to know the latency performance of the current network. At present, the communication standard has introduced a QoS monitoring function for the quality of service (QoS) flow level. This function is used to measure the transmission delay of the data packet corresponding to a certain QoS flow between the user plane of the access network device and the core network device, as well as the transmission delay between the access network device and the terminal device. The control plane of the core network device can notify the access network device to start the delay measurement function (for example, specifying the measurement of uplink delay and / or downlink delay in the control plane signaling). After the access network device receives the control plane signaling, the access network device can send the delay measurement information for a certain data packet between the access network device and the terminal device, as well as the delay measurement information for a certain data packet between the access network device and the core network device to the core network device. Then, the core network device can calculate the transmission delay for a certain data packet between the terminal device and the core network device based on the received delay measurement information (ie, the transmission delay at the packet granularity).
[0004] The aforementioned service quality monitoring function for the QoS flow level measures the transmission delay of a data packet in the user plane (for example, a PDU packet in a protocol data unit (PDU) set). In services with low latency requirements such as virtual reality (VR), the transmission delay of a single data packet is not enough to reflect the quality of the service. Taking the PDU set as a video frame as an example, when all the data packets of a video frame are received correctly within the expected delay, the decoder of the terminal device can correctly decode the frame of image. Otherwise, the terminal device cannot display the frame of image, which is equivalent to frame loss. If there is frame loss, it may cause video freeze, which in turn affects the user's viewing experience. Therefore, the transmission delay of a video frame is an important network performance indicator. Services such as VR that need to ensure low latency performance have high requirements for the transmission delay of at least one PDU set.
[0005] How to obtain the transmission delay of the PDU set is an urgent problem to be solved.
[0006] Summary of the Invention
[0007] The present application provides a delay measurement method and a communication device for implementing delay measurement of a PDU set, thereby obtaining the transmission delay of the PDU set between the interfaces of the sending and receiving ends.
[0008] In a first aspect, the present application provides a delay measurement method, which can be performed by a core network device or by a component of the core network device (e.g., a processor, a chip, or a chip system). Taking the core network device as an example, the core network device obtains time information of the first packet in a first protocol data unit (PDU) set at the sending end, and obtains time information of the last packet in the first PDU set at the receiving end; then, the core network device determines the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end.
[0009] Exemplarily, if the sending end is a core network device and the receiving end is an access network device, the transmission delay of the first PDU set between the sending end and the receiving end is the downlink delay of the interface (for example, the next generation (NG) interface) between the core network device and the access network device of the first PDU set.
[0010] Exemplarily, if the sending end is an access network device and the receiving end is a core network device, the transmission delay of the first PDU set between the sending end and the receiving end is the NG port uplink delay of the first PDU set.
[0011] Exemplarily, if the transmitting end is an access network device and the receiving end is a terminal device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface downlink delay of the first PDU set.
[0012] Exemplarily, if the transmitting end is a terminal device and the receiving end is an access network device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set.
[0013] In the present application, the core network device is able to collect the delay measurement information of the first packet in the first PDU set (i.e., the time information of the first packet at the sending end) and the delay measurement information of the last packet (i.e., the time information of the last packet at the receiving end), and determine the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end (for example, the air interface downlink delay, the air interface uplink delay, the NG interface downlink delay, and the NG interface uplink delay). Therefore, the problem that the core network device in traditional technology cannot obtain the transmission delay of a PDU set is solved, which is conducive to optimizing transmission resources based on the transmission delay of a PDU set and improving network transmission performance.
[0014] In one possible implementation, the core network device determines the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end, including: the core network device determines the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
[0015] In this embodiment, the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end is determined as the transmission delay of the first PDU set between the sending end and the receiving end. Specifically, the time interval between the moment when the sending end begins transmitting the first packet in the first PDU set and the moment when the receiving end receives the last packet in the first PDU set is determined as the transmission delay of the first PDU set between the sending end and the receiving end. Because both the first and last packets in the first PDU set are considered, rather than just a few packets in the first PDU set, this facilitates obtaining an accurate transmission delay of the first PDU set from the sending end to the receiving end.
[0016] In one possible implementation, if the sending end is an access network device and the receiving end is a terminal device, or if the sending end is a terminal device and the receiving end is an access network device, the interface between the sending end and the receiving end is an air interface. In this case, the time information of the first packet at the sending end indicates the time when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer, and the time information of the last packet at the receiving end indicates the time when the first protocol layer of the receiving end transmits the last packet to the upper layer of the first protocol layer.
[0017] Optionally, the first protocol layer is a packet data convergence protocol (PDCP) layer or a service data adaptation protocol (SDAP) layer. For example, the first protocol layer is a PDCP layer, and the upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer, and the upper layer of the first protocol layer is an application layer.
[0018] In one example, if the transmitting end is an access network device and the receiving end is a terminal device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface downlink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes first time information, which is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes second time information, which is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer.
[0019] In this example, first, the core network device obtains the time information of the first packet in the first PDU set at the sending end by: the core network device receives the first time information from the access network device. Furthermore, the core network device obtains the time information of the last packet in the first PDU set at the receiving end by: the core network device obtains the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set, and determines the second time information based on the sum of the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set; or, the core network device receives the second time information from the access network device, and the second time information is determined by the sum of the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set. Then, after obtaining the first time information and the second time information, the core network device determines the difference between the time indicated by the second time information and the time indicated by the first time information as the air interface downlink delay of the first PDU set.
[0020] In this example, the core network device is based on the ability to obtain the time when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer (i.e., the first time information) and the time when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer (i.e., the second time information), and determines that the difference between the second time information and the first time information is the air interface downlink delay of the first PDU set. Therefore, the problem that the core network device in traditional technologies cannot obtain the downlink transmission delay of a PDU set on the air interface is solved, which is conducive to optimizing the transmission resources between the access network device and the terminal device based on the air interface downlink delay of the first PDU set, thereby improving the air interface transmission performance.
[0021] In another example, if the transmitting end is a terminal device and the receiving end is an access network device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes third time information, which is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes fourth time information, which is used to indicate the moment when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer.
[0022] In this example, the core network device first obtains the time information of the first packet in the first PDU set at the transmitting end by receiving third time information from the terminal device via the access network device. Furthermore, the core network device obtains the time information of the last packet in the first PDU set at the receiving end by receiving fourth time information from the access network device. The core network device then determines the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set.
[0023] In this example, the core network device is based on the ability to obtain the time when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer (i.e., the third time information) and the time when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer (i.e., the fourth time information), and determines that the difference between the fourth time information and the third time information is the air interface uplink delay of the first PDU set. Therefore, the problem that the core network device in traditional technology cannot obtain the uplink transmission delay of a PDU set on the air interface is solved, which is conducive to optimizing the transmission resources between the access network device and the terminal device based on the air interface uplink delay of the first PDU set, thereby improving the air interface transmission performance.
[0024] In one possible implementation, if the sending end is a core network device and the receiving end is an access network device, or if the sending end is an access network device and the receiving end is a core network device, the interface between the sending end and the receiving end is an NG interface. In this case, the time information of the first packet at the sending end indicates the time when the sending end sends the first packet, and the time information of the last packet at the receiving end indicates the time when the receiving end receives the last packet.
[0025] Optionally, the first protocol layer is a PDCP layer or an SDAP layer. For example, the first protocol layer is a PDCP layer, and the upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer, and the upper layer of the first protocol layer is an application layer.
[0026] In one example, if the transmitting end is a core network device and the receiving end is an access network device, the transmission delay of the first PDU set between the transmitting and receiving ends is the NG interface downlink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes fifth time information, which indicates the time when the core network device sent the first packet; the time information of the last packet at the receiving end includes sixth time information, which indicates the time when the access network device received the last packet.
[0027] In this example, the core network device may obtain the receiving end time information of the last packet in the first PDU set by receiving the sixth time information from the access network device. Furthermore, the core network device may record the fifth time information when sending the first PDU set. The core network device then determines the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG interface downlink delay for the first PDU set.
[0028] In this example, the core network device can record the time when the core network device sends the first packet (i.e., the fifth time information), and can obtain the time when the access network device receives the last packet (i.e., the sixth time information) from the access network device. The core network device then determines the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG port downlink delay of the first PDU set. Therefore, the problem of the core network device being unable to obtain the downlink transmission delay of a PDU set on the NG port in traditional technologies is solved, which is conducive to optimizing the transmission resources between the access network device and the core network device based on the NG port downlink delay of the first PDU set, thereby improving the NG port transmission performance.
[0029] In another example, if the transmitting end is an access network device and the receiving end is a core network device, the transmission delay of the first PDU set between the transmitting and receiving ends is the NG interface uplink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes the seventh time information, which indicates the time when the access network device sent the first packet; the time information of the last packet at the receiving end includes the eighth time information, which indicates the time when the core network device received the last packet.
[0030] In this example, the core network device may obtain the time information of the first packet in the first PDU set at the transmitting end by receiving the seventh time information from the access network device. Furthermore, the core network device may record the eighth time information upon receiving the first PDU set. The core network device then determines the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG interface uplink delay for the first PDU set.
[0031] In this example, the core network device can record the time when the core network device receives the last packet (i.e., the eighth time information), and can obtain the time when the access network device sends the first packet (i.e., the seventh time information) from the access network device. The core network device then determines the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG port uplink delay of the first PDU set. Therefore, the problem of the core network device being unable to obtain the uplink transmission delay of a PDU set on the NG port in traditional technologies is solved, which is conducive to optimizing the transmission resources between the access network device and the core network device based on the NG port uplink delay of the first PDU set, thereby improving the NG port transmission performance.
[0032] In one possible implementation, the latency measurement method further includes: the core network device sending first indication information to the access network device, the first indication information being used to indicate that only the first and last packets in the PDU set are to be measured. Alternatively, the first indication information may be used to indicate that the transmission delay at the PDU set granularity is to be measured. Upon receiving the first indication information, the access network device enables the function of measuring the transmission delay at the PDU set granularity.
[0033] Optionally, the first indication information is carried in control plane signaling, and may also be carried in a user plane data packet.
[0034] In one example, a core network device notifies an access network device via a control plane to enable PDU set-granularity latency measurement. Optionally, the control plane signaling may be a latency measurement request message or another message. Optionally, the core network device also sends identification information of the first PDU set to the access network device, instructing the access network device to perform PDU set-granularity latency measurement on the first PDU set.
[0035] In another example, the core network device notifies the access network device through the user plane to enable PDU set granularity delay measurement. Exemplarily, the core network device carries the first indication information in the first packet and the last packet in the first PDU set, respectively, while the first indication information is not carried in other packets in the first PDU set. The access network device triggers measurement of the first packet and the last packet in the first PDU set based on the first indication information in the first packet and the last packet in the first PDU set. Optionally, the first indication information may also be carried in the GTP user plane (User Plane Part of GTP, GTP-U) header of the packet. For example, the GTP-U header of the first packet in the first PDU set and the GTP-U header of the last packet in the first PDU set carry the first indication information respectively. In this embodiment, the first packet and the last packet in the first PDU set may not carry the delay measurement indication in the traditional technology, but only carry the first indication information.
[0036] In this embodiment, the core network device can instruct the access network device to enable PDU set-based latency measurement through the first indication information, so that the access network device feeds back the latency measurement information for the PDU set to the core network device. This facilitates the core network device to calculate the latency of the PDU set based on the latency measurement information fed back by the access network device.
[0037] In a possible implementation manner, the delay measurement method further includes: the core network device receiving identification information of the first PDU set and the air interface downlink delay of the first PDU set from the access network device.
[0038] In this embodiment, when the access network device is capable of calculating the downlink air interface delay of the first PDU set, the access network device can send the downlink air interface delay of the first PDU set to the core network device. Since the access network device is capable of calculating the air interface delay, the signaling overhead used by the access network device to feed back air interface delay measurement information to the core network device can be reduced, thereby improving the delay measurement efficiency of the PDU set.
[0039] In a possible embodiment, the delay measurement method also includes: the core network device determines the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the identification information of the first PDU set, the air interface downlink delay of the first PDU set, the air interface uplink delay of the first PDU set, the NG port downlink delay of the first PDU set and the NG port uplink delay of the first PDU set.
[0040] Exemplarily, the core network device determines the sum of the air interface downlink delay of the first PDU set and the NG interface downlink delay of the first PDU set as the downlink delay of the first PDU set between the terminal device and the core network device.
[0041] Exemplarily, the core network device determines the sum of the air interface uplink delay of the first PDU set and the NG interface uplink delay of the first PDU set as the uplink delay of the first PDU set between the terminal device and the core network device.
[0042] In this embodiment, the core network device can determine the delay between the terminal device and the core network device based on the delay of the air interface and the delay of the NG interface, which is conducive to optimizing the transmission resources between the terminal device and the core network device based on the uplink delay and downlink delay between the terminal device and the core network device based on the first PDU set.
[0043] In a second aspect, the present application provides a delay measurement method, which can be executed by an access network device or by a component of the access network device (e.g., a processor, chip, or chip system). Taking the access network device as an example, the access network device obtains time information of the first packet in the first PDU set at the sending end, and obtains time information of the last packet in the first PDU set at the receiving end; then, the access network device determines the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end.
[0044] Exemplarily, if the transmitting end is an access network device and the receiving end is a terminal device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface downlink delay of the first PDU set.
[0045] Exemplarily, if the transmitting end is a terminal device and the receiving end is an access network device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set.
[0046] In the present application, the access network device is able to collect the delay measurement information of the first packet in the first PDU set (i.e., the time information of the first packet at the sending end) and the delay measurement information of the last packet (i.e., the time information of the last packet at the receiving end), and determine the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end (for example, the air interface downlink delay or the air interface uplink delay). Therefore, the problem that the access network device in traditional technology cannot obtain the air interface transmission delay of a PDU set is solved, which is conducive to optimizing transmission resources based on the transmission delay of a PDU set and improving network transmission performance.
[0047] In a possible implementation, the access network device determines the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end, including: the access network device determines the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
[0048] In this embodiment, the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end is determined as the transmission delay of the first PDU set between the sending end and the receiving end. Specifically, the time interval between the moment when the sending end begins transmitting the first packet in the first PDU set and the moment when the receiving end receives the last packet in the first PDU set is determined as the transmission delay of the first PDU set between the sending end and the receiving end. Because both the first and last packets in the first PDU set are considered, rather than just a few packets in the first PDU set, this facilitates obtaining an accurate transmission delay of the first PDU set from the sending end to the receiving end.
[0049] In one possible implementation, if the sending end is an access network device and the receiving end is a terminal device, or if the sending end is a terminal device and the receiving end is an access network device, the interface between the sending end and the receiving end is an air interface. In this case, the time information of the first packet at the sending end indicates the time when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer, and the time information of the last packet at the receiving end indicates the time when the first protocol layer of the receiving end transmits the last packet to the upper layer of the first protocol layer.
[0050] Optionally, the first protocol layer is a PDCP layer or an SDAP layer. For example, the first protocol layer is a PDCP layer, and the upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer, and the upper layer of the first protocol layer is an application layer.
[0051] In one example, if the transmitting end is an access network device and the receiving end is a terminal device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface downlink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes first time information, which is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes second time information, which is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer.
[0052] In this example, the access network device obtains the time information of the last packet in the first PDU set at the receiving end by, for example, receiving second time information from the terminal device. Furthermore, when sending the first PDU set, the access network device can record the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer (i.e., the first time information). The access network device then determines the difference between the moment indicated by the second time information and the moment indicated by the first time information as the air interface downlink delay of the first PDU set.
[0053] In this example, the access network device determines the difference between the second time information and the first time information as the downlink air interface delay of the first PDU set based on the time when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer (i.e., the first time information) and the time when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer (i.e., the second time information). Therefore, this solves the problem in traditional technologies where the access network device cannot obtain the downlink air interface transmission delay of a PDU set, and is conducive to optimizing the transmission resources between the access network device and the terminal device based on the downlink air interface delay of the first PDU set, thereby improving air interface transmission performance.
[0054] In another example, if the transmitting end is a terminal device and the receiving end is an access network device, the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set. In this case, the time information of the first packet at the transmitting end includes third time information, which is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes fourth time information, which is used to indicate the moment when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer.
[0055] In this example, the access network device may obtain the time information of the first packet in the first PDU set at the transmitting end by receiving third time information from the terminal device. Furthermore, the access network device may also record fourth time information upon receiving the first PDU set. The access network device then determines the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set.
[0056] In this example, the access network device is able to obtain the time when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer (i.e., the third time information) and the time when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer (i.e., the fourth time information), and determines that the difference between the fourth time information and the third time information is the air interface uplink delay of the first PDU set. Therefore, the problem that the access network device cannot obtain the uplink transmission delay of a PDU set on the air interface in traditional technologies is solved, which is conducive to optimizing the transmission resources between the access network device and the terminal device based on the air interface uplink delay of the first PDU set, thereby improving the air interface transmission performance.
[0057] In a possible implementation, the delay measurement method also includes: the access network device configures a first timestamp in the first packet in the first PDU set sent to the terminal device, the first timestamp is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the air interface downlink delay of the access network device receiving the first PDU set from the terminal device.
[0058] In this embodiment, the access network device indicates to the terminal device the moment when the access network device sends the first packet (i.e., the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer) by configuring the first timestamp in the first packet in the first PDU set. If the terminal device is able to record the moment when the last packet in the first PDU set is received, the terminal device can determine the air interface downlink delay of the first PDU set and feed back the air interface downlink delay of the first PDU set to the access network device. Since the terminal device is able to calculate the air interface downlink delay of the first PDU set, it can reduce the overhead of the access network device for calculating the delay, thereby improving the efficiency of the access network device in obtaining the air interface delay of the first PDU set.
[0059] In one possible implementation, the third time information includes a second timestamp configured by the terminal device in the first packet of the first PDU set. The access network device obtains the time information of the first packet in the first PDU set at the sending end, including: the access network device obtains the second timestamp from the first packet in the first PDU set from the terminal device.
[0060] In this embodiment, the terminal device indicates to the access network device the time when the terminal device sent the first packet (i.e., the time when the first protocol layer of the terminal device received the first packet from the upper layer of the first protocol layer, i.e., the third time information) by configuring the second timestamp in the first packet of the first PDU set. Since the terminal device does not need to separately notify the access network device of the third time information through other signaling, it is beneficial to save the signaling overhead of the terminal device feeding back the delay measurement information to the access network device.
[0061] In a possible implementation, the first packet in the first PDU set sent by the sender to the receiver includes a timestamp configured by the sender, where the timestamp indicates the moment when the first protocol layer of the sender receives the first packet from an upper layer of the first protocol layer.
[0062] For example, in downlink transmission over an air interface, the transmitter is an access network device and the receiver is a terminal device. The first packet in the first PDU set sent by the access network device to the terminal device carries a timestamp configured by the access network device. The timestamp configured by the access network device is used to indicate the moment when the first protocol layer of the access network device receives the first packet from an upper layer of the first protocol layer.
[0063] For example, in an air interface uplink transmission, the transmitting end is a terminal device and the receiving end is an access network device. The first packet in the first PDU set sent by the terminal device to the access network device carries a timestamp configured by the terminal device, which is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
[0064] In this embodiment, the transmitter indicates to the receiver the time when the first packet was sent by configuring the timestamp of the first packet in the first packet of the first PDU set. This eliminates the need for the transmitter to separately notify the receiver of the time when the first packet was sent through other signaling. This helps reduce the signaling overhead of the transmitter feeding back latency measurement information to the receiver.
[0065] In one implementation method 1, the first packet in the first PDU set sent by the sender includes the timestamp configured by the sender and the identification information of the first PDU set, the last packet in the first PDU set includes the identification information of the first PDU set, and the other packets in the first PDU set do not include the identification information of the first PDU set.
[0066] In this implementation mode 1, the receiving end determines the first packet in the first PDU set based on the timestamp and the identification information of the first PDU set, and the receiving end determines the last packet in the first PDU set based on the identification information of the first PDU set.
[0067] For example, if a packet #1 received by the receiving end contains both the identification information of the first PDU set and the timestamp #1, the receiving end determines that the packet #1 is the first packet in the first PDU set, and determines that the time when the sending end sends the first packet in the first PDU set is the time indicated by the timestamp #1; if a packet #2 received by the receiving end contains only the identification information of the first PDU set but no timestamp, the receiving end determines that the packet #2 is the last packet in the first PDU set, and the receiving end records the time when the last packet in the first PDU set is received.
[0068] In this implementation method 1, the receiving end can identify whether a received packet is the first or last packet by whether it carries the identification information of the first PDU set. Furthermore, the receiving end can identify whether the packet is the first packet by whether the packet carries a timestamp. By only carrying the newly added information (i.e., the identification information and / or timestamp of the first PDU set) for the first and last packets in the first PDU set, the other packets in the first PDU set do not need to be processed, which helps to reduce the processing overhead of the sending end during the packet transmission process.
[0069] In another implementation method 2, each packet in the first PDU set includes identification information of the first PDU set; the first packet in the first PDU set also includes a timestamp and first packet indication information configured by the sending end, and the first packet indication information is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set; the last packet in the first PDU set also includes tail packet indication information, and the tail packet indication information is used to indicate that the packet carrying the tail packet indication information is the tail packet in the first PDU set.
[0070] In this implementation method 2, the receiving end determines the first packet in the first PDU set based on the identification information of the first PDU set and the first packet indication information; the receiving end determines the last packet in the first PDU set based on the identification information of the first PDU set and the last packet indication information.
[0071] For example, if a packet #3 received by the receiving end carries the first packet indication information and the identification information of the first PDU set, the receiving end determines that the packet #1 is the first packet in the first PDU set, and determines that the time when the sending end sends the first packet in the first PDU set is the time indicated by the timestamp #2 carried by the packet #3; if a packet #4 received by the receiving end carries the first and last packet indication information and the identification information of the first PDU set, the receiving end determines that the packet #4 is the last packet in the first PDU set, and the receiving end records the time when the last packet in the first PDU set is received.
[0072] In Implementation 2, the first and last packet indications enable the receiving end to identify whether a received packet is the first or last packet, thereby enabling the receiving end to determine the time when the transmitting end sent the first packet. This helps the receiving end accurately determine the first and last packets in the first PDU set, thereby improving the efficiency of the receiving end in measuring the first and last packets.
[0073] Optionally, each packet in the first PDU set further includes a sequence number of each packet in the first PDU set. The sequence number is used to reflect the order in which the application layer generates the packets, and the sequence number may be added by the application layer of the sending end or by other layers of the sending end.
[0074] In another implementation method 3, each packet in the first PDU set includes identification information of the first PDU set and a timestamp configured by the sender, and the timestamp in each packet is used to indicate the moment when the first protocol layer of the sender receives the packet from the upper layer of the first protocol layer; the first packet in the first PDU set also includes first packet indication information, and the first packet indication information is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set; the last packet in the first PDU set also includes tail packet indication information, and the tail packet indication information is used to indicate that the packet carrying the tail packet indication information is the tail packet in the first PDU set.
[0075] In Implementation 3, the receiving end determines the first packet in the first PDU set based on the identification information and first packet indication information of the first PDU set. The receiving end also determines the last packet in the first PDU set based on the identification information and last packet indication information of the first PDU set. Implementation 3 differs from Implementation 2 in that each packet in the first PDU set includes the timestamp configured by the transmitting end for sending the packet.
[0076] In another possible embodiment, the last packet in the first PDU set sent by the sender to the receiver includes the timestamp of the first packet in the first PDU set sent by the sender to the receiver, and the timestamp is used to indicate the moment when the first protocol layer of the sender receives the first packet from the upper layer of the first protocol layer; other packets in the first PDU set do not carry timestamps.
[0077] In this example, the receiving end determines that the packet carrying the timestamp is the last packet in the first PDU set, and determines the time when the receiving end receives the last packet, and determines the timestamp as the time when the first packet is received.
[0078] In this embodiment, the transmitting end only needs to configure a timestamp in the last packet in the first PDU set, which helps simplify the transmitting end's pre-processing of the packets in the first PDU set before sending the first PDU set (for example, configuring a timestamp in the last packet). In addition, the receiving end only needs to determine the last packet in the first PDU set without having to determine the first packet in the first PDU set. That is, the receiving end can obtain the latency measurement information of the first packet and the latency measurement information of the last packet as soon as it monitors the last packet, which helps save processing overhead on the receiving end.
[0079] In one possible implementation, the delay measurement method further includes: the access network device sends second indication information to the terminal device, where the second indication information is used to indicate the measurement of transmission delay at the PDU set granularity. After the terminal device receives the second indication information, the terminal device enables the function of measuring transmission delay at the PDU set granularity. Exemplarily, the access network device carries the second indication information in control plane signaling (e.g., RRC message, etc.) and sends it to the terminal device.
[0080] Optionally, the signaling (eg, control plane signaling) carrying the second indication information further includes identification information of the first PDU set. The identification information of the first PDU set may be received by the access network device from the core network device, or may be determined by the access network device itself.
[0081] In one possible implementation, before the access network device sends the second indication information to the terminal device, the method further includes: the access network device receives the first indication information from the core network device, where the first indication information is used to indicate that only the first packet and the last packet in the PDU set are to be measured. It can also be understood that the first indication information is used to indicate the measurement of the transmission delay at the granularity of the PDU set. After the access network device receives the first indication information, the access network device enables the function of measuring the transmission delay at the granularity of the PDU set.
[0082] In a third aspect, the present application provides a delay measurement method, which can be executed by a terminal device or by a component of the terminal device (e.g., a processor, chip, or chip system). Taking the terminal device as an example, the terminal device receives second indication information from an access network device, where the second indication information is used to instruct the measurement of the transmission delay of a first PDU set; the terminal device sends the delay measurement information of the first PDU set to the access network device.
[0083] In a possible implementation manner, the second indication information includes identification information of the first PDU set.
[0084] In a possible embodiment, the delay measurement information of the first PDU set includes the air interface downlink delay of the first PDU set; the delay measurement method also includes: the terminal device obtains first time information, and the first time information is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the terminal device obtains second time information, and the second time information is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer; the terminal device determines that the difference between the moment indicated by the second time information and the moment indicated by the first time information is the air interface downlink delay of the first PDU set.
[0085] In a possible implementation manner, the first time information includes a first timestamp configured by the access network device in the first packet of the first PDU set.
[0086] In one possible implementation, the terminal device configures a second timestamp in the first packet in the first PDU set sent to the access network device, and the second timestamp is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
[0087] In one possible embodiment, the delay measurement information of the first PDU set includes second time information and / or third time information, the second time information is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer, and the third time information is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
[0088] In a possible implementation, the first packet in the first PDU set sent by the sender to the receiver includes a timestamp configured by the sender, where the timestamp indicates the moment when the first protocol layer of the sender receives the first packet from an upper layer of the first protocol layer.
[0089] In one possible implementation, the first packet in the first PDU set also includes identification information of the first PDU set, the last packet in the first PDU set includes identification information of the first PDU set, and other packets in the first PDU set do not include identification information of the first PDU set.
[0090] In one possible embodiment, each packet in the first PDU set includes identification information of the first PDU set; the first packet in the first PDU set also includes first packet indication information, and the first packet indication information is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set; the last packet in the first PDU set includes tail packet indication information, and the tail packet indication information is used to indicate that the packet carrying the tail packet indication information is the tail packet in the first PDU set.
[0091] In a possible implementation, each packet in the first PDU set further includes a sequence number of each packet in the first PDU set.
[0092] In a possible implementation, each packet in the first PDU set carries a timestamp configured by the sender, and the timestamp in each packet is used to indicate the moment when the first protocol layer of the terminal device receives the packet from the upper layer of the first protocol layer.
[0093] In one possible embodiment, the last packet in the first PDU set sent by the sender to the receiver includes the timestamp of the first packet in the first PDU set sent by the sender to the receiver, and the timestamp is used to indicate the moment when the first protocol layer of the sender receives the first packet from the upper layer of the first protocol layer; other packets in the first PDU set do not carry timestamps.
[0094] It should be noted that there are many other specific implementation methods of the embodiments of the present application. Please refer to the specific implementation methods and beneficial effects of the second aspect for details, which will not be repeated here.
[0095] In a fourth aspect, the present application provides a latency measurement method, which can be performed by a core network device or by a component of the core network device (e.g., a processor, chip, or chip system). Taking the core network device as an example, the core network device obtains time information of two PDU sets, and the time information of each PDU set is used to determine the time when the associated packets in the PDU set arrive at the receiving end; the core network device determines the synchronization performance information of the two PDU sets based on the time information of the two PDU sets, and the synchronization performance information is used to indicate the time difference between the associated packets in one PDU set arriving at the receiving end and the associated packets in the other PDU set arriving at the receiving end.
[0096] In this application, the core network device can determine the synchronization performance information of the two PDU sets based on the time information of the two PDU sets, which solves the problem in traditional technology that the core network device cannot obtain the synchronization performance between the PDU sets, and is beneficial for the core network device to optimize the data transmission of two PDU sets with an associated relationship, thereby improving the user's service experience.
[0097] In one possible implementation, the two PDU sets include a first PDU set and a second PDU set, and the synchronization performance information includes a downlink synchronization deviation; the time information of the first PDU set includes delay measurement information of associated packets in the first PDU set, and the time information of the second PDU set includes delay measurement information of associated packets in the second PDU set. The core network device determines the synchronization performance information of the two PDU sets based on the time information of the two PDU sets, including: the core network device determines the time when the associated packets in the first PDU set arrive at the terminal device based on the delay measurement information of the associated packets in the first PDU set; the core network device determines the time when the associated packets in the second PDU set arrive at the terminal device based on the delay measurement information of the associated packets in the second PDU set; the core network device determines the downlink synchronization deviation based on the difference between the time when the associated packets in the first PDU set arrive at the terminal device and the time when the associated packets in the second PDU set arrive at the terminal device.
[0098] In this embodiment, the core network device can obtain the time when the associated packets in the two PDU sets arrive at the terminal device respectively, and then determine the downlink synchronization deviation based on the time when the associated packets in the two PDU sets arrive at the terminal device respectively, which solves the problem that the core network device in traditional technology cannot obtain the downlink synchronization deviation of the two PDU sets, and is conducive to the core network device to optimize the downlink transmission of the service, thereby improving the user's service experience.
[0099] In one possible embodiment, the delay measurement information of the associated packets in the first PDU set includes the NG port downlink delay of the associated packets in the first PDU set and the air interface downlink delay of the associated packets in the first PDU set. The time when the associated packets in the first PDU set arrive at the terminal device is equal to the sum of the NG port downlink delay of the associated packets in the first PDU set, the air interface downlink delay of the associated packets in the first PDU set, and the time when the core network device sends the associated packets of the first PDU set; the delay measurement information of the associated packets in the second PDU set includes the NG port downlink delay of the associated packets in the second PDU set and the air interface downlink delay of the associated packets in the second PDU set. The time when the associated packets in the second PDU set arrive at the terminal device is equal to the sum of the NG port downlink delay of the associated packets in the second PDU set, the air interface downlink delay of the associated packets in the second PDU set, and the time when the core network device sends the associated packets of the second PDU set.
[0100] This embodiment proposes determining the arrival time of an associated packet at a terminal device based on the packet-granularity latency measurement information of the associated packet (e.g., NG interface downlink latency and air interface downlink latency) and the time the core network device sends the associated packet. Because the core network device can leverage the existing packet-granularity latency measurement information of the associated packet, this improves the efficiency of the core network device in determining the arrival time of the associated packet at the terminal device.
[0101] In one possible implementation, the two PDU sets include a first PDU set and a second PDU set, and the synchronization performance information includes an uplink synchronization deviation; the time information of the first PDU set includes the time when the core network device receives an associated packet in the first PDU set, and the time information of the second PDU set includes the time when the core network device receives an associated packet in the second PDU set. The core network device determines the synchronization performance information of the two PDU sets based on the time information of the two PDU sets, including: the core network device determines the uplink synchronization deviation based on the difference between the time when the core network device receives the associated packet in the first PDU set and the time when the core network device receives the associated packet in the second PDU set.
[0102] In this embodiment, the core network equipment can respectively record the time when the associated packets in the two PDU sets are received, and then determine the uplink synchronization deviation based on the time when the associated packets in the two PDU sets arrive at the core network equipment respectively. This solves the problem that the core network equipment in traditional technology cannot obtain the uplink synchronization deviation of the two PDU sets, which is beneficial for the core network equipment to optimize the uplink transmission of the service, thereby improving the user's service experience.
[0103] In a possible implementation, before the core network device obtains the time information of the two PDU sets, the method also includes: the core network device sends a third indication information to the access network device, and the third indication information is used to instruct the access network device to trigger the measurement of the synchronization performance of the two PDU sets.
[0104] In a possible implementation, the associated packet in the second PDU set includes the last packet in the second PDU set, and the associated packet in the first PDU set includes the last packet in the first PDU set.
[0105] This embodiment proposes configuring the last packet in a PDU set as the associated packet for that PDU set. Because measuring the transmission delay of a PDU set involves measuring the last packet in the PDU set, configuring the last packet in the PDU set as the associated packet for that PDU set facilitates reusing the delay measurement information used to measure the transmission delay of the PDU set, thereby improving the efficiency of the core network device in measuring the synchronization performance of two PDU sets.
[0106] In a fifth aspect, the present application provides a delay measurement method, which can be executed by an access network device or by a component of the access network device (e.g., a processor, chip, or chip system). Taking the access network device as an example, the access network device sends fourth indication information to the terminal device, and the fourth indication information is used to instruct the terminal device to trigger the measurement of the synchronization performance of two PDU sets; the access network device determines the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, and the synchronization performance information is used to indicate the time difference between the arrival of associated packets in one PDU set at the receiving end and the arrival of associated packets in another PDU set at the receiving end.
[0107] In this application, the access network device can instruct the terminal device to trigger the measurement of the synchronization performance of the two PDU sets through the fourth indication information, and determine the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets. Therefore, it is beneficial for the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the synchronization performance information, thereby facilitating network optimization.
[0108] In a possible implementation, the delay measurement method further includes: the access network device acquiring an association relationship between two PDU sets.
[0109] In one example, an access network device obtains an association relationship between two PDU sets through a data packet on the user plane. Optionally, an association packet in a PDU set carries association information indicating another PDU set, and the association information is used to indicate that one PDU set has an association relationship with another PDU set. For example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the association packet in the first PDU set received by the access network device from the core network device carries first association information, and the first association information is used to indicate that the PDU set that has an association relationship with the first PDU set is the second PDU set. For another example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the association packet in the second PDU set received by the access network device from the core network device carries second association information, and the second association information is used to indicate that the PDU set that has an association relationship with the second PDU set is the first PDU set.
[0110] Optionally, the first associated information is identification information of the second PDU set, or the first associated information is the sequence number of the associated package in the second PDU set. Optionally, the second associated information is identification information of the first PDU set, or the second associated information is the sequence number of the associated package in the first PDU set.
[0111] In another example, the access network device obtains the association relationship between the two PDU sets through the control plane. For example, the access network device receives identification information of the first PDU set and identification information of the second PDU set from the core network device to trigger the access network device to measure the synchronization performance between the first PDU set and the second PDU set, i.e., the first PDU set and the second PDU set have an association relationship.
[0112] In this embodiment, the access network device can obtain the association relationship between the two PDU sets through the user plane or the control plane. Therefore, the access network device can clearly measure the synchronization performance of which two PDU sets, or the access network device only measures the synchronization performance of two certain PDU sets. This is conducive to the synchronization performance information measured by the access network device being more targeted (i.e., synchronization performance measurement is performed on two certain PDU sets), and the access network device is not necessarily required to measure the synchronization performance of multiple PDU sets, which is conducive to saving the measurement overhead of the access network device.
[0113] In a possible implementation, the delay measurement method further includes: the access network device notifying the terminal device of the association relationship between the two PDU sets.
[0114] In one example, the access network device notifies the terminal device of the association relationship between two PDU sets through the user. Exemplarily, the access network device carries association information indicating another PDU set in an association packet in one PDU set, and the association information is used to indicate that one PDU set has an association relationship with another PDU set. For example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the association packet in the first PDU set received by the terminal device from the access network device carries first association information, and the first association information is used to indicate that the PDU set that has an association relationship with the first PDU set is the second PDU set. For another example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the association packet in the second PDU set received by the terminal device from the access network device carries second association information, and the second association information is used to indicate that the PDU set that has an association relationship with the second PDU set is the first PDU set.
[0115] Optionally, the first associated information is identification information of the second PDU set, or the first associated information is the sequence number of the associated package in the second PDU set. Optionally, the second associated information is identification information of the first PDU set, or the second associated information is the sequence number of the associated package in the first PDU set.
[0116] In another example, the access network device notifies the terminal device of the association relationship between the two PDU sets through a control surface. For example, the access network device sends identification information of the first PDU set and identification information of the second PDU set to the terminal device to instruct the terminal device to measure the synchronization performance between the first PDU set and the second PDU set, i.e., the first PDU set and the second PDU set have an association relationship.
[0117] In this embodiment, the access network device can notify the terminal device of the association relationship between two PDU sets through the user plane or control plane. Therefore, the terminal device can clearly measure the synchronization performance of which two PDU sets, or the terminal device only measures the synchronization performance of two certain PDU sets. This is conducive to the synchronization performance information measured by the terminal device being more targeted (i.e., synchronization performance measurement is performed on two certain PDU sets), and does not necessarily require the terminal device to measure the synchronization performance of multiple PDU sets, which is conducive to saving the measurement overhead of the terminal device.
[0118] In a possible implementation, the associated packet in the second PDU set includes the last packet in the second PDU set, and the associated packet in the first PDU set includes the last packet in the first PDU set.
[0119] This embodiment proposes configuring the last packet in a PDU set as the associated packet for that PDU set. Because measuring the transmission delay of a PDU set involves measuring the last packet in the PDU set, configuring the last packet in the PDU set as the associated packet for that PDU set facilitates reusing the delay measurement information used to measure the transmission delay of the PDU set, thereby improving the efficiency of the core network device in measuring the synchronization performance of two PDU sets.
[0120] In one possible implementation, the synchronization performance information includes an uplink synchronization deviation; the delay measurement information of the two PDU sets includes ninth time information and tenth time information, the ninth time information being used to indicate the moment when the first protocol layer of the access network device uploads associated packets in the first PDU set to a layer above the first protocol layer, and the tenth time information being used to indicate the moment when the first protocol layer of the access network device uploads associated packets in the second PDU set to a layer above the first protocol layer. The access network device determines the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, including: the access network device determines the difference between the ninth time information and the tenth time information as the uplink synchronization deviation.
[0121] In this implementation, the access network device can determine the arrival times of associated packets in two PDU sets, and thus determine the uplink synchronization offset. This allows the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the uplink synchronization offset, thereby facilitating network optimization.
[0122] In a possible embodiment, the delay measurement method also includes: the access network device receives synchronization performance information from the terminal device, the synchronization performance information includes a downlink synchronization deviation, and the downlink synchronization deviation is used to indicate the time deviation between the packet in one of the two PDU sets arriving at the terminal device and the packet in the other PDU set of the two PDU sets arriving at the terminal device.
[0123] In this embodiment, the terminal device can determine the downlink synchronization deviation and feed it back to the access network device. Therefore, it is beneficial for the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the downlink synchronization deviation, thereby facilitating network optimization.
[0124] In a possible implementation, before the access network device sends the fourth indication information to the terminal device, the delay measurement method also includes: the access network device receives the third indication information from the core network device, and the third indication information is used to instruct the access network device to trigger the measurement of the synchronization performance of the two PDU sets.
[0125] In a sixth aspect, the present application provides a delay measurement method, which can be executed by a terminal device or by a component of the terminal device (e.g., a processor, chip, or chip system). Taking the terminal device as an example, the terminal device receives fourth indication information from the access network device, and the fourth indication information is used to instruct the terminal device to trigger the measurement of the synchronization performance of two PDU sets; the terminal device determines the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, and the synchronization performance information is used to indicate the time difference between the arrival of associated packets in one PDU set at the receiving end and the arrival of associated packets in another PDU set at the receiving end; and the terminal device sends the synchronization performance information to the access network device.
[0126] In this application, the terminal device triggers the measurement of the synchronization performance of the two PDU sets under the influence of the fourth indication information, determines the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, and then feeds back the synchronization performance information of the two PDU sets to the access network device. Therefore, it is beneficial for the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the synchronization performance information, thereby facilitating network optimization.
[0127] In a possible implementation, the delay measurement method further includes: the terminal device obtains an association relationship between two PDU sets.
[0128] In a possible implementation, an association packet in a PDU set carries association information indicating another PDU set, where the association information is used to indicate that an association relationship exists between one PDU set and another PDU set.
[0129] In one possible embodiment, the two PDU sets include a first PDU set and a second PDU set, the association information includes first association information of the first PDU set and second association information of the second PDU set, the first association information includes the sequence number of the associated package in the second PDU set, and the second association information includes the sequence number of the associated package in the first PDU set.
[0130] In a possible implementation, the associated packets in the second PDU set include the last packet in the second PDU set, and the associated packets in the first PDU set include the last packet in the first PDU set.
[0131] In one possible embodiment, the synchronization performance information includes a downlink synchronization deviation, which is used to indicate the time deviation between the arrival of packets in one of the two PDU sets at the terminal device and the arrival of packets in the other of the two PDU sets at the terminal device; the delay measurement information of the two PDU sets includes eleventh time information and twelfth time information, the eleventh time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the first PDU set to the upper layer of the first protocol layer, and the twelfth time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the second PDU set to the upper layer of the first protocol layer; the terminal device determines the synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, including: the terminal device determines the difference between the eleventh time information and the twelfth time information as the downlink synchronization deviation.
[0132] In this embodiment, the terminal device can determine the downlink synchronization deviation and feed it back to the access network device. Therefore, it is beneficial for the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the downlink synchronization deviation, thereby facilitating network optimization.
[0133] It should be noted that there are many other specific implementation methods of the embodiments of the present application. Please refer to the specific implementation methods and beneficial effects of the fifth aspect for details, which will not be repeated here.
[0134] In a seventh aspect, an embodiment of the present application provides a communication device, which may be a terminal device in the aforementioned embodiment, or a chip within the terminal device. The communication device may include a processing module and a transceiver module. When the communication device is a terminal device, the processing module may be a processor, and the transceiver module may be a transceiver; the terminal device may further include a storage module, which may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module to cause the terminal device to perform the method in the third aspect or any one of the embodiments of the third aspect; or, to perform the method in the sixth aspect or any one of the embodiments of the sixth aspect. When the communication device is a chip within the terminal device, the processing module may be a processor, and the transceiver module may be an input / output interface, pin, or circuit, etc.; the processing module executes the instructions stored in the storage module to cause the terminal device to perform the method in the third aspect or any one of the embodiments of the third aspect; or, to perform the method in the sixth aspect or any one of the embodiments of the sixth aspect. The storage module may be a storage module within the chip (e.g., a register, cache, etc.), or a storage module within the terminal device located outside the chip (e.g., a read-only memory, a random access memory, etc.).
[0135] In an eighth aspect, an embodiment of the present application provides a communication device, which may be the access network device described in the aforementioned embodiments, or may be a chip within the access network device. The communication device may include a processing module and a transceiver module. When the communication device is an access network device, the processing module may be a processor, and the transceiver module may be a transceiver; the access network device may further include a storage module, which may be a memory; the storage module is configured to store instructions, and the processing module executes the instructions stored in the storage module to cause the access network device to perform the method described in the second aspect or any one of the embodiments of the second aspect; or, to cause the access network device to perform the method described in the fifth aspect or any one of the embodiments of the fifth aspect. When the communication device is a chip within the access network device, the processing module may be a processor, and the transceiver module may be an input / output interface, pin, or circuit, etc.; the processing module executes the instructions stored in the storage module to cause the access network device to perform the method described in the second aspect or any one of the embodiments of the second aspect; or, to cause the access network device to perform the method described in the fifth aspect or any one of the embodiments of the fifth aspect. The storage module may be a storage module within the chip (eg, a register, a cache, etc.), or a storage module within the access network device that is located outside the chip (eg, a read-only memory, a random access memory, etc.).
[0136] In a ninth aspect, an embodiment of the present application provides a communications device, which may be a core network device in the aforementioned embodiments, or a chip within the core network device. The communications device may include a processing module and a transceiver module. When the communications device is a core network device, the processing module may be a processor, and the transceiver module may be a transceiver. The core network device may further include a storage module, which may be a memory. The storage module is configured to store instructions, and the processing module executes the instructions stored in the storage module to cause the core network device to perform the method in the first aspect or any one of the first embodiments; or, to perform the method in the fourth aspect or any one of the fourth embodiments. When the communications device is a chip within the core network device, the processing module may be a processor, and the transceiver module may be an input / output interface, pin, or circuit, etc.; the processing module executes the instructions stored in the storage module to cause the core network device to perform the method in the first aspect or any one of the first embodiments; or, to perform the method in the fourth aspect or any one of the fourth embodiments. The storage module may be a storage module within the chip (eg, a register, a cache, etc.), or a storage module within the core network device that is located outside the chip (eg, a read-only memory, a random access memory, etc.).
[0137] In a tenth aspect, the present application provides a communication device, which may be an integrated circuit chip. The integrated circuit chip includes a processor. The processor is coupled to a memory, which is configured to store programs or instructions. When the program or instructions are executed by the processor, the communication device performs the method described in any of the embodiments of the aforementioned aspects.
[0138] In the eleventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in any one of the aforementioned embodiments.
[0139] In the twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, enable the computer to execute a method as described in any one of the embodiments in the foregoing aspects.
[0140] In the thirteenth aspect, an embodiment of the present application provides a communication system, which includes a core network device that executes the aforementioned first aspect and any one of the embodiments of the first aspect, an access network device that executes the aforementioned second aspect and any one of the embodiments of the second aspect, and a terminal device that executes the aforementioned third aspect and any one of the embodiments of the third aspect.
[0141] In the fourteenth aspect, an embodiment of the present application provides a communication system, which includes a core network device that executes the aforementioned fourth aspect and any one of the embodiments of the fourth aspect, an access network device that executes the aforementioned fifth aspect and any one of the embodiments of the fifth aspect, and a terminal device that executes the aforementioned sixth aspect and any one of the embodiments of the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0142] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application.
[0143] FIG1 is an example diagram of the system architecture of the delay measurement method of the present application;
[0144] FIG2 is a flow chart of the delay measurement method in this application;
[0145] FIG3 is another flow chart of the delay measurement method in this application;
[0146] FIG4 is another flow chart of the delay measurement method in this application;
[0147] FIG5 is another flow chart of the delay measurement method in this application;
[0148] FIG6 is another flow chart of the delay measurement method in this application;
[0149] FIG7 is another flow chart of the delay measurement method in this application;
[0150] FIG8 is another flow chart of the delay measurement method in this application;
[0151] FIG9 is a schematic diagram of an embodiment of a communication device in the present application;
[0152] FIG10 is a schematic diagram of another embodiment of a communication device in the present application;
[0153] FIG11 is a schematic diagram of another embodiment of a communication device in the present application;
[0154] FIG12 is a schematic diagram of another embodiment of a communication device in the present application. DETAILED DESCRIPTION
[0155] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0156] The terms "first," "second," "third," "fourth," and the like (if any) in the specification and claims of this application and in the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a particular order or sequential sequence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" and "having," and any variations thereof, are intended to cover non-exclusive inclusions, e.g., a process, method, system, product, or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such process, method, product, or apparatus.
[0157] It should be understood that the term "and / or" in this document simply describes a relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the related objects are in an "or" relationship.
[0158] The following first introduces the system architecture and application scenarios applicable to the latency measurement method proposed in this application:
[0159] The communication method proposed in this application can be applied to the fourth generation mobile communication technology (4G) system, the fifth generation mobile communication technology (5G) system, the sixth generation mobile communication technology (6G) system, and subsequent evolutionary systems, and this application does not limit this. As shown in Figure 1, the communication system includes a terminal device, an access network device, and a core network device.
[0160] Among them, the terminal device includes a device that provides voice and / or data connectivity to the user. For example, it may include a handheld device with wireless connection function or a processing device connected to a wireless modem. The terminal device can communicate with the core network (for example, 4G core network (evolved packet core, EPC) or 5G core network (5th generation core, 5GC)) via the radio access network (RAN), and can exchange voice and / or data with the RAN. The terminal device may also be referred to as a terminal (Terminal), user equipment (UE), wireless terminal device, mobile terminal (MT) device, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (MS), mobile station (mobile), remote station (remote station), access point (AP), remote terminal device (remote terminal), access terminal device (access terminal), user terminal device (user terminal), user agent (user agent), or user equipment (user device), etc. In addition, the terminal device can be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) device, an augmented reality (AR) device, an extended reality (XR) business terminal, a cloud gaming (CG) business terminal, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. It should be understood that the embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device. The terminal device in the present application can be any of the above-mentioned devices or chips, and is not specifically limited here. Whether as a device or as a chip, the terminal device can be manufactured, sold or used as an independent product. In this embodiment and subsequent embodiments, the terminal device is used as an example for introduction.
[0161] An access network device can be any device with wireless transceiver capabilities and can be responsible for air interface-related functions, such as radio link maintenance, radio resource management, and some mobility management functions. Furthermore, the access network device can be equipped with a baseband unit (BBU) that performs baseband signal processing. For example, the access network device can be the radio access network (RAN) currently providing services to a terminal device. Currently, some common examples of access network equipment include: Node B (NB), evolved Node B (eNB or eNodeB), next generation Node B (gNB) in 5G new radio (NR) systems, nodes in 6G systems (e.g., xNodeB), transmission reception point (TRP), radio network controller (RNC), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB or home node (HNB)), etc. In addition, in network structures such as cloud radio access network (CloudRAN) or open radio access network (ORAN), access network equipment can be a device including a centralized unit (CU) (also called a control unit) and / or a distributed unit (DU). The RAN equipment, including the CU and DU, splits the protocol layers of the gNB in the NR system. Some protocol layer functions are centrally controlled by the CU, while some or all of the remaining protocol layer functions are distributed in the DU, which is centrally controlled by the CU. Furthermore, as shown in Figure 1, the CU can be divided into the control plane (CU-CP) and the user plane (CU-UP). The CU-CP is responsible for control plane functions, primarily including radio resource control (RRC) and the corresponding packet data convergence protocol (PDCP) (PDCP-C). PDCP-C is primarily responsible for encryption and decryption of control plane data, integrity protection, and data transmission.The CU-UP is responsible for user plane functions, primarily including the Service Data Adaptation Protocol (SDAP) and the corresponding PDCP (i.e., PDCP-U) for the user plane. SDAP is primarily responsible for processing core network data and mapping flows to bearers. PDCP-U is primarily responsible for data plane encryption and decryption, integrity protection, header compression, sequence number maintenance, and data transmission. The CU-CP and CU-UP are connected via the E1 interface. The CU-CP represents the gNB and connects to the core network via the NG interface. Furthermore, the CU-CP connects to the DU via the F1 interface control plane (i.e., F1-C). The CU-UP connects to the DU via the F1 interface user plane (i.e., F1-U). Alternatively, the PDCP-C is also located within the CU-UP. It should be understood that the access network device in the embodiments of this application may be any of the aforementioned devices or chips within such devices, and the specifics are not limited here. Whether as a device or a chip, the access network device can be manufactured, sold, or used as a standalone product. In this and subsequent embodiments, the access network device is used as an example.
[0162] Core network equipment refers to equipment in the core network (CN) that provides service support for terminal equipment. Core network equipment is connected to access network equipment through the interface between the core network equipment and access network equipment (for example, the next generation (NG) interface, etc.). Currently, some common examples of core network equipment are: access and mobility management function (AMF) entity, session management function (SMF) entity, user plane function (UPF) entity, etc., which are not listed here one by one. Among them, the AMF entity and the SMF entity are also called the control plane entity of the core network, which is used to perform functions related to the control plane of the core network. For example, the AMF entity can be responsible for access management and mobility management of terminal equipment; the SMF entity can be responsible for session management, such as user session establishment, etc. The UPF entity is also called the user plane entity of the core network, which is used to perform functions related to the user plane of the core network. For example, the UPF entity is mainly responsible for connecting to the external network and transmitting service data. It should be noted that in this application, entities can also be referred to as network elements or functional entities. For example, the AMF entity can also be called an AMF network element or an AMF functional entity; for another example, the SMF entity can also be called an SMF network element or an SMF functional entity, etc.
[0163] In the current standard, the QoS monitoring function for the quality of service (QoS) flow level can measure the transmission delay of a data packet in the QoS flow between the access network device and the user plane of the core network device, as well as the transmission delay between the access network device and the terminal device. Exemplarily, the core network device can notify the access network device through the control plane to start the delay measurement function (for example, the control plane signaling specifies the measurement of uplink delay and / or downlink delay). After the access network device receives the control plane signaling, the access network device can send the delay measurement information between the access network device and the terminal device (for example, the measurement result of the uplink delay and / or the measurement result of the downlink delay) and the delay measurement information between the access network device and the core network device to the core network device. Then, the core network device can calculate the transmission delay between the terminal device and the core network device based on the received delay measurement information.
[0164] However, conventional technologies that measure the transmission delay of a single data packet in a PDU set cannot reflect the transmission status of a PDU set between terminal devices, access network devices, and core network devices. To address this issue, the present application provides a delay measurement method and a communication device for obtaining the transmission delay of a PDU set, which can reflect the transmission status of a PDU set between terminal devices, access network devices, and core network devices.
[0165] The main process of an embodiment of the delay measurement method proposed in this application is described below with reference to FIG2. In this embodiment, taking the core network device obtaining the transmission delay of the first PDU set as an example, the core network device mainly performs the following steps:
[0166] In step 201, the core network device obtains time information of the first packet in the first PDU set at the sending end.
[0167] A PDU set refers to a collection of multiple PDU packets (also called data packets, hereinafter referred to as packets). The PDU packets in this PDU set carry the payload or content of an information unit (e.g., a frame or video slice) generated by the application layer. All PDU packets in the same PDU set are transmitted in the same QoS flow. A data burst refers to one or more PDU sets generated by the application layer in a short period of time. Multiple packets in a PDU set are associated. For example, this association may mean that the packets in the PDU set transmit the same information unit or service. A receiving end can only successfully provide or present a specific information unit or service to the user after receiving all packets in the PDU set sent by the sending end. For example, in cloud VR or cloud gaming, to meet the basic experience (35Mbps, 60fps), the device generates a video frame every 16.7ms. Each video frame (approximately 583KB) is divided into 50 IP packets (1500Byte) and transmitted. In this example, a video frame can be understood as a PDU set, and the 50 IP packets contained in a video frame can be understood as the 50 PDU packets contained in the PDU set. The user terminal at the receiving end can only parse the picture of a certain video frame after receiving all 50 PDU packets in the PDU set. It should be noted that in some scenarios, a PDU set is also called a media stream, and a media stream contains multiple packets, and the multiple packets are used to transmit the same service. This embodiment and subsequent embodiments only use the PDU set as an example for introduction, and take the PDU set for which the core network device needs to determine the transmission delay as the first PDU set as an example for introduction.
[0168] In addition, the first packet in the first PDU set refers to the packet first sent or generated by the sending end in the first PDU set. For example, taking the sending end as a core network device and the receiving end as an access network device as an example, the first packet in the first PDU set is the downlink packet belonging to the first PDU set that is first sent by the core network device to the access network device, or the downlink packet belonging to the first PDU set that is first generated. Taking the sending end as a terminal device and the receiving end as an access network device as an example, the first packet in the first PDU set is the uplink packet belonging to the first PDU set that is first sent by the terminal device to the access network device, or the uplink packet belonging to the first PDU set that is first generated by the terminal device.
[0169] It should be noted that, when sending packets, the transmitter transmits packets from the upper layer of the first protocol layer to the first protocol layer, and then to the physical layer for transmission. Therefore, the first packet in the first PDU set can also be the first packet belonging to the first PDU set that the transmitter's first protocol layer receives from the upper layer of the first protocol layer. For example, assuming the transmitter is an access network device and the receiver is a terminal device, the first packet in the first PDU set is the first downlink packet belonging to the first PDU set that the first protocol layer of the access network device receives from the upper layer of the first protocol layer. For example, assuming the transmitter is a terminal device and the receiver is an access network device, the first packet in the first PDU set is the first uplink packet belonging to the first PDU set that the first protocol layer of the terminal device receives from the upper layer of the first protocol layer. Optionally, the first protocol layer is a PDCP layer or an SDAP layer. For example, the first protocol layer is a PDCP layer and the upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer and the upper layer of the first protocol layer is an application layer. When the transmitting end is an access network device and the receiving end is a terminal device, the upper layer of the first protocol layer may also be a GPRS tunneling protocol (GTP), which is not limited here, and the following description will take the first protocol layer and the upper layer of the first protocol layer as an example.
[0170] Optionally, each packet in the first PDU set has a sequence number, which is used to indicate the order in which the sending end generates the packets. For ease of introduction, the packet with the smallest sequence number in the first PDU set generated by the sending end is called the first packet. Generally, the sending end sends packets in order of packet sequence numbers from small to large, that is, the sending end gives priority to sending the first generated packet, and the sending end first sends the first packet in the first PDU set. It should be noted that each packet in the first PDU set has a sequence number, which does not mean that the sending end must carry the sequence number when sending these data packets. The sending end may carry it or not. In this embodiment, the first packet in the first PDU set may be the first packet in the first PDU set. In this embodiment and subsequent embodiments, only the first packet in the first PDU set is taken as an example for introduction.
[0171] In addition, the time information of the first packet at the sender is the moment when the sender successfully sends the first packet, that is, the moment when the sender sends the first packet, or the moment when the sender generates or processes the first packet, or the moment when the sender receives the first packet from another device. The following is a detailed description of the time information of the first packet at the sender, combined with the specific implementation methods of the sender and receiver:
[0172] In one possible implementation, the interface between the sending end and the receiving end is an air interface, that is, an interface between the terminal device and the access network device. The time information of the first packet at the sending end is used to indicate the moment when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer.
[0173] In the downlink transmission of the air interface, the sending end is the access network device and the receiving end is the terminal device. The time information of the first packet at the sending end includes the first time information, and the first time information is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer. Exemplarily, in this step, the core network device receives the first time information from the access network device. For example, when the access network device sends the first PDU set to the terminal device, the access network device records the time (i.e., the first time information) of sending the first packet in the first PDU set, and then the access network device feeds back the delay measurement information (including the first time information) about the first packet to the core network device. For another example, when the access network device sends the first PDU set to the terminal device, the access network device records the time (including the first time information) of each packet sent, and then the access network device feeds back the delay measurement information (including the first time information) about the first packet to the core network device.
[0174] In the uplink transmission of the air interface, the sending end is the terminal device and the receiving end is the access network device. The time information of the first packet at the sending end includes the third time information, and the third time information is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer. Exemplarily, in this step, the core network device receives the third time information fed back by the terminal device to the access network device from the access network device. For example, when the terminal device sends the first PDU set to the access network device, the terminal device records the time of sending the first packet (i.e., the third time information) and feeds back the third time information to the access network device, and then the access network device feeds back the delay measurement information about the first packet (including the third time information) to the core network device. For another example, when the terminal device sends the first PDU set to the access network device, the terminal device records the time of each packet sent (including the third time information) and feeds back the third time information to the access network device, and then the access network device feeds back the delay measurement information about the first packet (including the third time information) to the core network device.
[0175] It should be noted that, during the downlink transmission process, the first PDU set sent by the access network device to the terminal device is the first downlink PDU set, that is, the first downlink PDU set contains a downlink packet; during the uplink transmission process, the first PDU set sent by the terminal device to the access network device is the first uplink PDU set, and the first uplink PDU set contains an uplink packet. The uplink packet and the downlink packet are different data packets, and the first uplink PDU set and the first downlink PDU set are different PDU sets, but the uplink packet and the downlink packet are both used to transmit the service data corresponding to the first PDU set. For example, the uplink packet and the downlink packet both carry the identification information of the first PDU set, or the uplink packet and the downlink packet both carry the identification information of the service.
[0176] In another possible implementation, the interface between the sending end and the receiving end is an NG interface, ie, an interface between an access network device and a core network device. The time information of the first packet at the sending end is used to indicate the time when the sending end sends the first packet.
[0177] In downlink transmission on the NG interface, the core network device is the transmitter and the access network device is the receiver. The time information of the first packet at the transmitter includes fifth time information, which indicates the time when the core network device sent the first packet. Exemplarily, in this step, the core network device records the time (i.e., the fifth time information) when the first packet in the first PDU set was sent.
[0178] In the uplink transmission of the NG port, the sending end is the access network device and the receiving end is the core network device. The time information of the first packet at the sending end includes the seventh time information, and the seventh time information is used to indicate the moment when the access network device sends the first packet. Exemplarily, in this step, the core network device receives the seventh time information from the access network device. For example, when the access network device sends the first PDU set to the core network device, the access network device records the time of sending the first packet (i.e., the seventh time information) and feeds back the seventh time information to the core network device. For another example, when the access network device sends the first PDU set to the core network device, the access network device records the time of each packet sent (including the seventh time information) and feeds back the seventh time information to the core network device.
[0179] In step 202, the core network device obtains the time information of the last packet in the first PDU set at the receiving end.
[0180] The last packet in the PDU set refers to the packet in the PDU set sent from the sending end that last arrives at the receiving end, or the packet in the PDU set sent from the sending end that is last correctly received by the receiving end, or the packet in the PDU set sent from the sending end that is last correctly received by the first protocol layer, or the packet last generated when the sending end generates the PDU set, or the packet last sent from the sending end in the PDU set. For example, taking the sending end as a core network device and the receiving end as an access network device as an example, the last packet in the first PDU set is a downlink packet belonging to the first PDU set that is sent from the core network device and last arrives at the access network device, or a downlink packet belonging to the first PDU set that is sent from the core network device and last correctly received by the access network device, or the packet last generated when the core network device generates the first PDU set, or the packet last sent from the core network device in the first PDU set. Taking the sending end as an access network device and the receiving end as a core network device as an example, the last packet in the first PDU set is an uplink packet belonging to the first PDU set that is sent from the access network device and finally arrives at the core network device, or an uplink packet belonging to the first PDU set that is sent from the access network device and finally correctly received by the core network device, or the last packet sent from the access network device in the first PDU set. Taking the sending end as an access network device and the receiving end as a terminal device as an example, the last packet in the first PDU set is a downlink packet belonging to the first PDU set that is sent from the access network device and finally arrives at the terminal device, or a downlink packet belonging to the first PDU set that is sent from the access network device and finally correctly received by the terminal device, or a downlink packet belonging to the first PDU set that is sent from the access network device and finally correctly received by the first protocol layer of the terminal device, or the last packet sent from the access network device in the first PDU set. Taking the sending end as a terminal device and the receiving end as an access network device as an example, the last packet in the first PDU set is the uplink packet belonging to the first PDU set that is sent from the terminal device and finally arrives at the access network device, or the uplink packet belonging to the first PDU set that is sent from the terminal device and finally correctly received by the access network device, or the uplink packet belonging to the first PDU set that is sent from the terminal device and finally correctly received by the first protocol layer of the access network device, or the last packet generated when the terminal device generates the first PDU set, or the last packet sent from the terminal device in the first PDU set.
[0181] Optionally, if each packet in the PDU set has a sequence number, the sequence number is used to indicate the order in which the sender generates the packets. Since the sender sends packets in ascending order according to the sequence number of the packets, that is, the sender gives priority to sending the first generated packets, the last packet in the PDU may be the packet with the largest sequence number. For ease of introduction, the packet with the smallest sequence number is called the first packet, and the packet with the largest sequence number is called the last packet. It should be noted that each packet in the first PDU set has a sequence number, which does not mean that the sender must carry the sequence number when sending these data packets. The sender can carry it or not. The following examples are introduced respectively:
[0182] In one possible implementation, multiple packets in a PDU set are transmitted from the transmitter to the receiver in the order corresponding to the sequence numbers, that is, the transmitter sends in the order of the sequence numbers and the receiver receives in the order of the sequence numbers. In this case, the last packet in the PDU set is the packet with the largest sequence number in the PDU set (i.e., the last packet). For example, the transmitter generates a PDU set containing 100 packets, and the sequence numbers of the 100 packets are 1, 2, 3, ..., 100 in the order of generation. If the transmitter sends in the order of the sequence numbers, the transmission process does not cause disorder, and the receiver receives in the order of the sequence numbers, then the last packet in the PDU set is the packet with sequence number 100 (i.e., the last packet).
[0183] In another possible implementation, multiple packets in a PDU set are transmitted from the sender in sequence number order, but disorder occurs during the transmission process (i.e., some packets with larger sequence numbers are transmitted in front of some packets with smaller sequence numbers), causing the receiver to receive the packets in the order in which the packets arrive. In this case, the last packet in the PDU set may not be the packet with the largest sequence number in the PDU set. For example, the sender generates a PDU set containing 100 packets, and the sequence numbers of the 100 packets are 1, 2, 3, ..., 100 in the order of generation. If the sender sends in sequence number order, disorder occurs during the transmission process, causing the packet with sequence number 100 to arrive at the receiver earlier than the packet with sequence number 99, and the last packet to arrive at the receiver is the packet with sequence number 99, then the last packet in the PDU set is the packet with sequence number 99, and the packet with the largest sequence number (i.e., the tail packet) in the PDU set is the packet with sequence number 100.
[0184] For ease of introduction, this application refers to the last packet generated when the transmitter generates the PDU set, the last packet sent from the transmitter in the PDU set, and the packet with the largest sequence number in the PDU set as the tail packet. The tail packet represents the last packet generated or sent from the perspective of the transmitter. It can be seen that the last packet in the first PDU set may be the tail packet of the first PDU set, or it may not be the tail packet of the first PDU set. In this embodiment and subsequent embodiments, the last packet in the first PDU set is mainly used as an example for introduction, which means that the last packet may be the tail packet or not. In some special implementations or examples, if the last packet has a high probability of being implemented as a tail packet, the tail packet will be used as an example to list examples.
[0185] In addition, the time information of the last packet at the receiving end can be understood as the moment when the receiving end successfully receives the last packet, that is, the moment when the receiving end receives the last packet that arrived at the receiving end. The following is a detailed description of the time information of the last packet at the receiving end, combined with the specific implementation methods of the sending and receiving ends:
[0186] In one possible implementation, the interface between the transmitting end and the receiving end is an air interface, i.e., an interface between a terminal device and an access network device. The time information of the last packet at the receiving end is used to indicate the time when the first protocol layer of the receiving end uploads the last packet to an upper layer of the first protocol layer.
[0187] In the downlink transmission of the air interface, the sending end is the access network device and the receiving end is the terminal device. The time information of the last packet at the receiving end includes the second time information, and the second time information is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer. In one example, the core network device obtains the air interface downlink delay of the last packet in the first PDU set and the moment when the access network device receives the last packet in the first PDU set (for example, the moment when the first protocol layer of the access network device receives the last packet from the upper layer of the first protocol layer, or the moment when the access network device receives the last packet in the first PDU set from the core network device (i.e., the sixth time information)), and determines the second time information based on the sum of the moment when the access network device receives the last packet and the air interface downlink delay of the last packet in the first PDU set. In another example, the access network device determines the second time information based on the sum of the moment when the access network device receives the last packet in the first PDU set (for example, the moment when the first protocol layer of the access network device receives the last packet from the upper layer of the first protocol layer, or the moment when the access network device receives the last packet in the first PDU set from the core network device (i.e., the sixth time information)) and the air interface downlink delay of the last packet in the first PDU set, and the core network device receives the second time information from the access network device.
[0188] In the uplink transmission of the air interface, the sending end is the terminal device and the receiving end is the access network device. The time information of the last packet at the receiving end includes the fourth time information, and the fourth time information is used to indicate the moment when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer. Exemplarily, in this step, the core network device receives the fourth time information from the access network device. For example, when the access network device receives the first PDU set from the terminal device, the access network device records the time when the last packet in the first PDU set is received (i.e., the fourth time information), and then the access network device feeds back the fourth time information to the core network device. For another example, when the access network device receives the first PDU set from the terminal device, the access network device records the time when each packet is received (including the fourth time information), and then the access network device feeds back the fourth time information to the core network device.
[0189] In one possible implementation, the interface between the transmitting end and the receiving end is an NG interface, ie, an interface between a core network device and an access network device. The time information of the last packet at the receiving end is used to indicate the time when the receiving end received the last packet.
[0190] In the downlink transmission of the NG port, the sending end is the core network device and the receiving end is the access network device. The time information of the last packet at the receiving end includes the sixth time information, and the sixth time information is used to indicate the moment when the access network device receives the last packet. Exemplarily, in this step, the core network device receives the sixth time information from the access network device. For example, when the access network device receives the first PDU set from the core network device, the access network device records the time when the last packet in the first PDU set is received (i.e., the sixth time information) and feeds back the sixth time information to the core network device. For another example, when the access network device receives the first PDU set from the core network device, the access network device records the time when each packet is received (including the sixth time information) and feeds back the sixth time information to the core network device.
[0191] In uplink transmission on the NG interface, the sending end is the access network device, and the receiving end is the core network device. The time information of the last packet at the receiving end includes eighth time information, which indicates the time when the core network device received the last packet. Exemplarily, when the core network device receives an uplink data packet from the access network device, it can record the time when the last packet was received (i.e., the eighth time information).
[0192] It should be noted that in some scenarios, if the last packet is not the tail packet, and the moment when the receiving end submits the last packet to other devices or the first protocol layer of the receiving end to the upper layer is very close to the moment when the tail packet is submitted, then the time information of the last packet at the receiving end can also be understood as the moment when the receiving end correctly receives the tail packet and sends the tail packet to other devices, or it can also be understood as the moment when the first protocol layer of the receiving end correctly receives the tail packet and submits the tail packet to the upper layer of the first protocol layer. For example, the receiving end correctly receives a data packet from the sending end, and needs to wait until all other data packets before the data packet are received correctly before the receiving end submits the data packet to other devices, or the first protocol layer of the receiving end submits the data packet to the upper layer of the first protocol layer. This scenario is generally called in-order submission of data packets. Optionally, the time information of the last packet at the receiving end may also include the moment when the receiving end correctly receives the tail packet and sends the tail packet to other devices, and the moment when the receiving end correctly receives the last packet and sends the last packet to other devices; or, the time information of the last packet at the receiving end may also include the moment when the first protocol layer of the receiving end correctly receives the tail packet and submits the tail packet to the upper layer of the first protocol layer, and the moment when the first protocol layer of the receiving end correctly receives the last packet and submits the last packet to the upper layer of the first protocol layer.
[0193] In step 203 , the core network device determines the transmission delay of the first PDU set between the transmitting end and the receiving end based on the time information of the first packet at the transmitting end and the time information of the last packet at the receiving end.
[0194] Exemplarily, the core network device determines the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
[0195] In one example, the transmitting end is an access network device and the receiving end is a terminal device; the transmission delay of the first PDU set between the transmitting end and the receiving end determined by the core network device is the air interface downlink delay of the first PDU set. For example, the core network device determines the difference between the time indicated by the second time information and the time indicated by the first time information as the air interface downlink delay of the first PDU set.
[0196] In one example, the transmitting end is a terminal device and the receiving end is an access network device; the transmission delay of the first PDU set between the transmitting end and the receiving end determined by the core network device is the air interface uplink delay of the first PDU set. For example, the core network device determines the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set.
[0197] In one example, the transmitting end is a core network device and the receiving end is an access network device; the transmission delay of the first PDU set between the transmitting end and the receiving end determined by the core network device is the NG interface downlink delay of the first PDU set. For example, the core network device determines the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG interface downlink delay of the first PDU set.
[0198] In one example, the transmitting end is an access network device, and the receiving end is a core network device; the transmission delay of the first PDU set between the transmitting end and the receiving end determined by the core network device is the NG interface uplink delay of the first PDU set. For example, the core network device determines the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG interface uplink delay of the first PDU set.
[0199] In one example, a core network device determines the transmission delay of the first PDU set between the transmitting end and the receiving end based on the time information of each packet in the first PDU set at the transmitting end and the time information of each packet at the receiving end. For example, the transmission delay of the first PDU set between the transmitting end and the receiving end is the maximum value of the transmission delays of all packets in the first PDU set between the transmitting end and the receiving end. For example, the transmitting end is an access network device and the receiving end is a terminal device; the downlink transmission delay of the first PDU set between the access network device and the terminal device is the maximum value of the transmission delays of all downlink packets in the first PDU set between the access network device and the terminal device.
[0200] In this embodiment, the core network device can collect the delay measurement information of the first packet in the first PDU set (i.e., the time information of the first packet at the sending end) and the delay measurement information of the last packet (i.e., the time information of the last packet at the receiving end), and determine the transmission delay of the first PDU set between the sending end and the receiving end based on the time information of the first packet at the sending end and the time information of the last packet at the receiving end (for example, the air interface downlink delay, the air interface uplink delay, the NG interface downlink delay, and the NG interface uplink delay). Therefore, the problem that the core network device in traditional technology cannot obtain the transmission delay of a PDU set is solved, which is conducive to optimizing transmission resources based on the transmission delay of a PDU set and improving network transmission performance.
[0201] It should be noted that, in some embodiments, the access network device is capable of determining the air interface downlink delay of the first PDU set and / or the air interface uplink delay of the first PDU set, and then the access network device feeds back the air interface downlink delay of the first PDU set and / or the air interface uplink delay of the first PDU set to the core network device. For example, the access network device is capable of recording the first time information and the fourth time information, and is capable of obtaining the second time information and the third time information from the terminal device, and then the access network device determines the difference between the moment indicated by the second time information and the moment indicated by the first time information as the air interface downlink delay of the first PDU set, and determines the difference between the moment indicated by the fourth time information and the moment indicated by the third time information as the air interface uplink delay of the first PDU set. In such an embodiment, the access network device can determine the air interface downlink delay and the air interface uplink delay of the first PDU set based on the time information of the first packet at the transmitting end (e.g., the first time information and the third time information) and the time information of the last packet at the receiving end (e.g., the second time information and the fourth time information). Furthermore, the core network device can determine the NG-port downlink delay and the NG-port uplink delay of the first PDU set based on the time information of the first packet at the transmitting end (e.g., the fifth time information and the seventh time information) and the time information of the last packet at the receiving end (e.g., the sixth time information and the eighth time information). Therefore, this not only solves the problem of the core network device being unable to obtain the transmission delay of a PDU set in conventional technologies, but also enables the access network device to calculate the air interface delay, reduces the signaling overhead used by the access network device to feed back the air interface measurement results to the core network device, and improves the delay measurement efficiency of the PDU set.
[0202] The delay measurement method provided by this application is further described below with reference to Figure 3. In the embodiment shown in Figure 3, the access network device and the terminal device perform packet-granularity-based delay measurement and feedback the delay measurement information to the core network device. The core network device then determines the transmission delay of the first PDU set between the transmitting end and the receiving end based on the delay measurement information. Specifically, the core network device, the access network device, and the terminal device each perform the following steps:
[0203] Step 301: The core network device sends a delay measurement message to the access network device.
[0204] Correspondingly, the access network device receives the delay measurement message from the core network device.
[0205] The delay measurement message is control plane signaling, which is used to instruct the access network device to perform packet-granular delay measurement on a packet carrying a delay measurement instruction (hereinafter referred to as a measurement packet).
[0206] In addition, the user plane of the core network device carries a delay measurement indication in the downlink packet of the first PDU set sent to the access network device to indicate which packets in the first PDU set are to be measured.
[0207] In one implementation, the user plane of the core network device instructs the access network device to perform latency measurement on each packet in the first PDU set. Specifically, each packet in the first PDU set sent by the user plane of the core network carries a latency measurement instruction. In this implementation, the access network device does not need to know which packet is the first or last in the first PDU set. Furthermore, the access network device provides feedback to the core network device regarding latency measurement information for each packet in the first PDU set.
[0208] In another implementation, the user plane of the core network device instructs the access network device to perform latency measurement only on the first and last packets (e.g., the tail packet) in the first PDU set. That is, only the first and last packets (e.g., the tail packet) in the first PDU set sent by the user plane of the core network carry the latency measurement instruction. In this implementation, the access network device is able to sense which packet is the first and which packet is the last in the first PDU set, and the access network device only feeds back latency measurement information for the first and last packets in the first PDU set to the core network device.
[0209] Exemplarily, taking the first PDU set as a QoS flow (QoS flow) as an example, the control plane of the core network device sends message #1 to the access network device, and the message #1 includes the QoS flow identifier (QFI) and QoS monitoring request (QoS Monitoring Request) that require delay measurement. The message #1 is used to instruct the access network device to measure the transmission delay of the QoS flow of the specified QFI. In addition, the user plane of the core network device carries a delay measurement indication (for example, a quality of service monitoring packet indication (QoS monitoring packet indicator, QMPindicator)) in the GTP user plane (User Plane Part of GTP, GTP-U) header corresponding to the data packet corresponding to the QoS flow. The delay measurement indication is used to indicate that the packet carrying the delay measurement indication is used for delay measurement. In addition, the core network device carries the time information (for example, a timestamp used to indicate the local time) of the user plane of the core network device sending the packet in the GTP-U header.
[0210] In another implementation, the user plane of the core network device indicates to the access network device which data packet is the first packet and which data packet is the last packet (for example, the tail packet) in the first PDU set. For example, when the user plane of the core network device sends a data packet of the first PDU set to the access network device, it also sends the identifier of the first PDU set and the sequence number of the packet in the first PDU set. Thus, the access network device can determine that the received packet belongs to the first PDU set through the identifier of the first PDU set, and perceive which packet is the first packet and which packet is the last packet in the first PDU set based on the sequence number in the first PDU set, and the access network device can only feedback the delay measurement information of the first packet and the last packet in the first PDU set to the core network device.
[0211] Step 302: The access network device sends a delay measurement configuration to the terminal device.
[0212] Accordingly, the terminal device receives the delay measurement configuration from the access network device.
[0213] The latency measurement configuration sent by the access network device to the terminal device instructs the terminal device to perform latency measurement. For example, after receiving the latency measurement configuration from the access network device, the terminal device enables packet-granular latency measurement. Optionally, the latency measurement configuration includes at least one of the following: the data radio bearer (DRB) to be measured, the service type to be measured, and the service identifier.
[0214] In this embodiment, the terminal device is unaware of which packet is the first or last in the first PDU set received from the access network device. After the terminal device enables packet-granularity delay measurement, it records the time each packet arrives at the terminal device and the time each packet is sent from the terminal device. Alternatively, the terminal device performs packet-granularity delay measurement on specific packets based on instructions from the access network device. For example, the access network device carries instruction information in a downlink data packet, instructing the terminal device whether to perform delay measurement on the data packet.
[0215] Optionally, the time when each packet arrives at the terminal device is the time when the first protocol layer of the terminal device uploads each packet to the layer above the first protocol layer; the time when each packet is sent from the terminal device is the time when the first protocol layer of the terminal device receives each packet from the layer above the first protocol layer. Optionally, the first protocol layer is the PDCP layer or the SDAP layer. For example, the first protocol layer is the PDCP layer, and the layer above the first protocol layer is the SDAP layer. In another example, the first protocol layer is the SDAP layer, and the layer above the first protocol layer is the application layer.
[0216] For example, taking the first protocol layer as the PDCP layer, the moment when the packet arrives at the terminal device is the moment when the PDCP layer of the terminal device submits the PDCP SDU corresponding to the PDCP PDU to the upper layer of PDCP (for example, the SDAP layer), and the moment when the packet is sent from the terminal device is the moment when the PDCP layer of the terminal device receives the PDCP SDU corresponding to the PDCP PDU from the upper layer of PDCP (for example, the SDAP layer).
[0217] Step 303: The terminal device sends packet-granularity delay measurement information to the access network device.
[0218] Accordingly, the access network device receives packet-granularity delay measurement information from the terminal device.
[0219] Among them, the packet-granularity delay measurement information includes at least one of the moment when a packet arrives at the terminal device (i.e., the time information of the data packet at the receiving end), the moment when a packet is sent from the terminal device (i.e., the time information of the data packet at the sending end), and the transmission delay of the packet calculated by the terminal device between the terminal device and the access network device (for example, downlink air interface delay). Optionally, the packet-granularity delay measurement information also includes the sequence number of the packet at the first protocol layer. For example, for the downlink, the access network device determines the time information corresponding to the packet corresponding to the received packet-granularity delay measurement information at the access network device based on the sequence number of the first protocol layer in the received packet-granularity delay measurement information and the sequence number of the first protocol layer of each downlink measurement packet recorded in the access network device (i.e., the time information of the sending end, the moment when the sending end successfully sends the packet, or the moment when the sending end generates the packet or the moment when the sending end receives the packet from other devices. For a specific description, refer to the time information of the first packet at the sending end in step 201, which is not limited to the first packet here). Furthermore, if the access network device is able to sense which packet is the first and which packet is the last in the first PDU set, that is, the access network device is able to determine the first protocol layer sequence number of the first packet and the first protocol layer sequence number of the last packet in the first PDU set, then the access network device can determine the delay measurement information (e.g., third time information) of the first packet and the delay measurement information (e.g., second time information) of the last packet in the first PDU set from the received delay measurement information at multiple packet granularities. For an explanation of the second and third time information, please refer to the relevant introduction in steps 201 and 202 above, which will not be repeated here.
[0220] Exemplarily, if the first protocol layer is the PDCP layer, the sequence number of the packet in the first protocol layer is the SN number of the PDCP PDU (abbreviated as PDCP SN).
[0221] Exemplarily, the terminal device sends packet-granular delay measurement information of each packet to the access network device via control plane signaling (e.g., RRC message). It should be noted that the terminal device may send the delay measurement information of all packets in the first PDU set to the access network device via one signaling message, or may send the delay measurement information of all packets in the first PDU set to the access network device via multiple signaling messages, which is not limited here.
[0222] For uplink, the terminal device measures the delay of all uplink data packets in the first PDU set. For example, the terminal device sends packet-granular delay measurement information of all uplink data packets to the access network device.
[0223] Step 304: The access network device sends delay measurement information to the core network device.
[0224] Correspondingly, the core network device receives delay measurement information from the access network device.
[0225] In one possible implementation, the access network device is not aware of which packet is the first packet and which packet is the last packet in the first PDU set, and the access network device sends packet-granularity delay measurement information to the core network device. The packet-granularity delay measurement information sent by the access network device to the core network device includes the packet-granularity delay measurement information received from the terminal device (for example, the time when each packet arrives at the terminal device and / or the time when each packet is sent from the terminal device), and the packet-granularity delay measurement information recorded by the access network device (for example, the time when each packet arrives at the access network device and / or the time when each packet is sent from the access network device). For example, in downlink transmission, the user plane of the core network device carries the time T1 of sending the packet when sending each downlink packet (for example, the timestamp of sending the packet is carried in the GTP-U header of each packet); when the access network device receives each packet, it records the time T2 when the access network device receives the packet (for example, the timestamp of the access network device receiving the packet). During uplink transmission, the access network device sends a monitoring response packet containing the time T3 at which the monitoring response packet was sent (for example, the GTP-U header of the monitoring response packet contains the timestamp of the packet). The latency measurement information for each packet in the first PDU set fed back by the access network device to the core network device includes T1, T2, and T3. Furthermore, upon receiving the monitoring response packet, the core network device records the time T4 at which the monitoring response packet was received.
[0226] In another possible implementation, the access network device is able to sense which packet is the first and which packet is the last in the first PDU set. For example, in downlink transmission, the GTP-U header of the first packet of the first PDU set sent by the user plane of the core network device carries the time t1 when the first packet is sent, and upon receiving the last packet of the first PDU set, the access network device records the time t2 when the last packet of the first PDU set is received. In uplink transmission, the first packet of the first PDU set sent by the access network device to the core network device carries the time t3 when the first packet is sent, and upon receiving the last packet of the first PDU set, the core network device records the time t4 when the last packet of the first PDU set is received.
[0227] In this case, the access network device sends the delay measurement information of the first PDU set to the core network device, and the delay measurement information of the first PDU set includes the delay measurement information of the first packet and the delay measurement information of the last packet. The delay measurement information of the first packet includes the first time information recorded by the access network device, the third time information received by the access network device from the terminal device (or the third time information determined by the access network device based on the air interface measurement delay fed back by the terminal device), and the seventh time information recorded by the access network device (for example, t3). Optionally, the delay measurement information of the first packet also includes the fifth time information carried by the core network device in the downlink packet (for example, t1). The delay measurement information of the last packet includes the second time information received by the access network device from the terminal device (or the second time information determined by the access network device based on the air interface measurement delay fed back by the terminal device), the fourth time information recorded by the access network device, and the sixth time information (for example, t2). For the introduction of the first time information, the second time information, the third time information, the fourth time information, the seventh time information and the sixth time information, please refer to the relevant introduction in the above steps 201 and 202, which will not be repeated here.
[0228] It should be noted that the access network device can adopt different implementations for air interface uplink and downlink. For example, for the air interface downlink, the access network device can sense which packet is the first downlink packet in the first PDU set and which packet is the last downlink packet. For the air interface uplink, the access network device does not sense which packet is the first downlink packet in the first PDU set and which packet is the last downlink packet.
[0229] Step 305: The access network device determines the air interface downlink delay of the first PDU set.
[0230] Step 305 is optional. If the access network device is able to sense which packet is the first and which packet is the last in the first PDU set, the access network device sequentially executes steps 305 and 306. Otherwise, the access network device does not execute steps 305 and 306. Instead, the core network device determines the air interface downlink delay of the first PDU set.
[0231] In this step, because the access network device can sense which packet is the first and which packet is the last in the first PDU set, the access network device can determine the first time information and can also receive the second time information from the terminal device. Furthermore, the access network device can determine the difference between the second time information and the first time information as the air interface downlink delay of the first PDU set. For an explanation of the first time information, the second time information, and the manner in which the access network device determines the first time information, please refer to the relevant descriptions in steps 201 and 202 above and will not be repeated here.
[0232] Step 306: The access network device sends the air interface downlink delay of the first PDU set to the core network device.
[0233] Correspondingly, the core network device receives the air interface downlink delay of the first PDU set from the access network device.
[0234] Optionally, the access network device sends the air interface downlink delay of the first PDU set to the core network device through control plane signaling or user-side signaling. Optionally, the message carrying the air interface downlink delay of the first PDU set also includes identification information of the first PDU set. The core network device determines that the air interface downlink delay is the air interface downlink delay of the first PDU set based on the identification information of the first PDU set. Therefore, the core network device can determine which are the delay measurement information of the same PDU set based on the identification information of the first PDU set, which is beneficial for the core network device to determine the transmission delay of the same PDU set between the terminal device and the core network device.
[0235] In step 307 , the core network device determines the air interface downlink delay, air interface uplink delay, NG interface downlink delay, and NG interface uplink delay of the first PDU set.
[0236] Regarding air interface delay, the core network device determines air interface uplink and downlink delay based on first time information, second time information, third time information, and fourth time information received from the access network device.
[0237] Exemplarily, the core network device determines the difference between the time indicated by the second time information and the time indicated by the first time information as the air interface downlink delay of the first PDU set.
[0238] Exemplarily, the core network device determines the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set. Alternatively, the core network device determines the air interface uplink delay of each packet in the first PDU set, and determines the maximum value of the air interface uplink delays at multiple packet granularities as the air interface uplink delay of the first PDU set.
[0239] Regarding the NG port delay, the transmitter may perform NG port delay measurement for each packet, or may only perform NG port delay measurement for the first packet and the last packet of the first PDU set. Exemplarily, when the transmitter sends a data packet to the receiver, it carries the time information when the transmitter sends the data packet (i.e., the time information of the data packet at the transmitter), and the receiver records the time information when the data packet is received (i.e., the time information of the data packet at the receiver). Exemplarily, the core network device is able to record the fifth time information (e.g., t1) and the eighth time information (e.g., t4), as well as the sixth time information (e.g., t2) and the seventh time information (e.g., t3) that can be obtained from the access network device, and the core network device is able to determine the NG port uplink and downlink delays.
[0240] Exemplarily, the core network device determines the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG port downlink delay of the first PDU set. For example, the GTP-U header of the first packet of the first PDU set sent by the user plane of the core network device carries the time t1 when the first packet is sent; when the access network device receives the last packet of the first PDU set, it records the time t2 when the last packet is received. The core network device then determines the NG port downlink delay as (t2-t1).
[0241] Exemplarily, the core network device determines the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG port uplink delay of the first PDU set. For example, the first packet of the first PDU set sent by the access network device to the core network device carries the time t3 of sending the first packet; when the core network device receives the last packet of the first PDU set, it records the time t4 of receiving the last packet. The core network device then determines the NG port uplink delay as (t4-t3).
[0242] Optionally, if the access network device executes steps 305 and 306, then after the core network device determines the air interface uplink delay of the first PDU set, the core network device can send the air interface uplink delay of the first PDU set to the access network device. This is beneficial for the access network device to optimize and adjust the air interface transmission based on the air interface uplink and downlink delays of the first PDU set, thereby improving communication efficiency. Exemplarily, the core network device can send the air interface uplink delay of a certain PDU set to the access network device, or it can send the average value of the air interface uplink delays of multiple PDU sets, or it can send the minimum air interface uplink delay or the maximum air interface uplink delay among multiple PDU sets. This application is not limited.
[0243] Step 308: The core network device determines the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the air interface downlink delay, air interface uplink delay, NG interface downlink delay and NG interface uplink delay of the first PDU set.
[0244] Step 308 is an optional step.
[0245] Exemplarily, the core network device determines the sum of the air interface downlink delay of the first PDU set and the NG interface downlink delay of the first PDU set as the downlink delay of the first PDU set between the terminal device and the core network device.
[0246] Exemplarily, the core network device determines the sum of the air interface uplink delay of the first PDU set and the NG interface uplink delay of the first PDU set as the uplink delay of the first PDU set between the terminal device and the core network device.
[0247] It should be noted that, in this embodiment, NG interface delay (eg, NG interface downlink delay and NG interface uplink delay) and air interface delay (eg, air interface downlink delay and air interface uplink delay) can be counted independently and do not necessarily have a dependent relationship.
[0248] In this embodiment, the core network device uses the packet-granularity delay measurement process in traditional technology to obtain the packet-granularity delay measurement information of the first packet and the last packet in the first PDU set, and then determines the air interface uplink and downlink delays and NG interface uplink and downlink delays of the first PDU set based on the packet-granularity delay measurement information of the first packet and the last packet in the first PDU set. Since the packet-granularity-based delay measurement process does not require the terminal device to perceive the first packet and the last packet in the first PDU set, and does not require the access network device to perceive the first packet and the last packet in the first PDU set, it is beneficial for the core network device to obtain the delay of the first PDU set while keeping the terminal device and the access network device at a low complexity. This is further beneficial for evaluating the transmission performance of the service based on the delay of the first PDU set.
[0249] In addition, in another embodiment of the delay measurement method proposed in this application, the access network device and the terminal device can perform delay measurement based on PDU set granularity (also known as delay measurement based on frame granularity) and feedback the delay measurement information based on PDU set granularity to the core network device. The delay measurement process based on PDU set granularity will be described below with reference to Figures 4 and 5 respectively:
[0250] As shown in Figure 4, the main process of another embodiment of the delay measurement method proposed in this application is shown. In this embodiment, the terminal device feeds back the delay measurement information of the first PDU set to the access network device through the control face, and the access network device first determines the air interface downlink delay and air interface uplink delay of the first PDU set based on the delay measurement information of the first PDU set, and then feeds back the air interface downlink delay and air interface uplink delay of the first PDU set to the core network device. Specifically, the core network device, the access network device and the terminal device mainly perform the following steps:
[0251] Step 401: The core network device sends first indication information to the access network device.
[0252] Correspondingly, the access network device receives the first indication information from the core network device.
[0253] Step 401 is an optional step.
[0254] The first indication information indicates that only the first and last packets in a PDU set are to be measured. Alternatively, the first indication information indicates that transmission delay measurement at the PDU set granularity. Upon receiving the first indication information, the access network device enables transmission delay measurement at the PDU set granularity.
[0255] Optionally, the first indication information is carried in control plane signaling, and may also be carried in a user plane data packet.
[0256] In one possible implementation, the core network device notifies the access network device through the control plane to enable PDU set granularity delay measurement. Exemplarily, the core network device sends control plane signaling to the access network device, and the control plane signaling carries first indication information. Optionally, the control plane signaling can be a delay measurement request message or other messages. Taking the control plane signaling as a delay measurement request message as an example, the core network device sends the first indication information through the control plane delay measurement request message. After the access network device receives the first indication information in the delay measurement request message, the access network device may not consider whether the data packet sent by the user plane of the core network device carries the delay measurement indication in the traditional technology. The access network device only performs delay measurement on the first packet and the last packet in the PDU set.
[0257] Optionally, the core network device further sends identification information of the first PDU set to the access network device to instruct the access network device to perform PDU set-granularity latency measurement on the first PDU set. For example, the core network device sends a latency measurement request message to the access network device, where the latency measurement request message includes the first indication information and the identification information of the first PDU set, indicating that the access network device is instructed to measure only the first and last packets in the first PDU set, that is, to perform PDU set-granularity latency measurement on the first PDU set.
[0258] In another possible implementation, the core network device notifies the access network device through the user plane to enable PDU set granularity delay measurement. For example, if the core network device needs to notify the access network device to enable PDU set granularity delay measurement for the first PDU set, the core network device carries the first indication information in the first packet and the last packet in the first PDU set, respectively, while not carrying the first indication information in other packets in the first PDU set. The access network device triggers measurement of the first packet and the last packet in the first PDU set based on the first indication information in the first packet and the last packet in the first PDU set. Optionally, the first indication information may also be carried in the GTP-U header of the packet. For example, the GTP-U header of the first packet and the GTP-U header of the last packet in the first PDU set respectively carry the first indication information. In this implementation, the first packet and the last packet in the first PDU set may not carry the delay measurement indication in the traditional technology, but only carry the first indication information.
[0259] It should be noted that the core network device can use any of the aforementioned implementation methods to notify the access network device to enable the function of measuring the transmission delay at the PDU set granularity, or it can simultaneously use the aforementioned control plane and user plane methods to notify the access network device to enable the function of measuring the transmission delay at the PDU set granularity. This is not limited here.
[0260] Step 402: The access network device sends second indication information to the terminal device.
[0261] Correspondingly, the terminal device receives second indication information from the access network device.
[0262] The second indication information is used to indicate the measurement of the transmission delay at the PDU set granularity. After the terminal device receives the second indication information, the terminal device starts the function of measuring the transmission delay at the PDU set granularity.
[0263] Optionally, the second indication information is carried in control plane signaling, and may also be carried in a user plane data packet.
[0264] In one possible implementation, the access network device notifies the terminal device through the control plane to enable PDU set granularity delay measurement. Exemplarily, the access network device sends control plane signaling to the terminal device, and the control plane signaling carries second indication information. The access network device sends the second indication information through control plane signaling. After the terminal device receives the second indication information in the control plane signaling, the terminal device may not consider whether the data packet sent by the user plane of the access network device carries the delay measurement indication in the traditional technology. The terminal device only performs delay measurement on the first and last packets in the PDU set.
[0265] Optionally, the access network device further sends identification information of the first PDU set to the terminal device to instruct the terminal device to perform PDU set-granularity delay measurement on the first PDU set. For example, the control plane signaling sent by the access network device to the terminal device includes the second indication information and the identification information of the first PDU set, indicating that the terminal device is instructed to measure only the first and last packets in the first PDU set, that is, to perform PDU set-granularity delay measurement on the first PDU set.
[0266] In another possible embodiment, the access network device notifies the terminal device through the user plane to enable PDU set granularity delay measurement. Exemplarily, if the access network device needs to notify the terminal device to enable PDU set granularity delay measurement for the first PDU set, the access network device carries the second indication information in the first packet and the last packet (for example, the tail packet) in the first PDU set, respectively, while the second indication information is not carried in other packets in the first PDU set. The terminal device triggers measurement of the first packet and the last packet in the first PDU set based on the second indication information in the first packet and the last packet (for example, the tail packet) in the first PDU set. Optionally, the second indication information may also be carried in the GTP-U header of the packet. For example, the GTP-U header of the first packet in the first PDU set and the GTP-U header of the last packet (for example, the tail packet) carry the second indication information respectively. In this embodiment, the first packet and the last packet (for example, the tail packet) in the first PDU set may not carry the delay measurement indication in the traditional technology, but only carry the second indication information.
[0267] It should be noted that, in this step, the second indication information and the aforementioned first indication information can be the same indication information or different indication information, and this application does not limit this.
[0268] It should be noted that the access network device can use any of the aforementioned implementation methods to notify the terminal device to enable the function of measuring the transmission delay at the PDU set granularity, or it can use both the aforementioned control plane and user plane methods to notify the terminal device to enable the function of measuring the transmission delay at the PDU set granularity. This is not limited here.
[0269] In addition, during the execution of steps 401 and 402, the access network device receives the first PDU set (i.e., the first downlink PDU set containing the downlink packet) from the core network device and transmits the downlink packet to the terminal device; in addition, the access network device also receives the first PDU set (i.e., the first uplink PDU set containing the uplink packet) from the terminal device and transmits the uplink packet to the core network device. In this embodiment, in the downlink transmission, the access network device is able to perceive the first packet and the last packet in the first downlink PDU set, and the access network device measures the first packet and the last packet in the first downlink PDU set, that is, the access network device records the moment when the first packet in the first downlink PDU set is sent to the terminal device and the moment when the last packet in the first downlink PDU set is received from the core network device. In the uplink transmission, the access network device is able to perceive the first packet and the last packet in the first uplink PDU set, and the access network device measures the first packet and the last packet in the first uplink PDU set, that is, the moment when the last packet in the first uplink PDU set is received from the terminal device and the moment when the access network device records the moment when the first packet in the first uplink PDU set is sent to the core network device. Exemplarily, in air interface downlink transmission, the access network device records the moment when the first protocol layer of the access network device receives the first packet in the first PDU set from the upper layer of the first protocol layer (i.e., the first time information introduced in the previous step 201); in air interface uplink transmission, the access network device records the moment when the first protocol layer of the access network device uploads the last packet in the first PDU set to the upper layer of the first protocol layer (i.e., the fourth time information introduced in the previous step 202); in NG interface downlink transmission, the access network device records the moment when the last packet in the first PDU set is received from the core network device (i.e., the sixth time information introduced in the previous step 202); in NG interface uplink transmission, the access network device records the moment when the access network device sends the first packet in the first PDU set (i.e., the seventh time information introduced in the previous step 201).
[0270] In addition, the terminal device in this embodiment is also able to perceive the first packet and the last packet in the first PDU set, and the terminal device measures the first packet and the last packet in the first PDU set, that is, the terminal device records the moment when the first packet in the first PDU set is sent and the moment when the last packet in the first PDU set is received. Exemplarily, in air interface downlink transmission, the terminal device records the moment when the first protocol layer of the terminal device uploads the last packet in the first PDU set to the upper layer of the first protocol layer (that is, the second time information introduced in the previous step 202); in air interface uplink transmission, the terminal device records the moment when the first protocol layer of the terminal device receives the first packet in the first PDU set from the upper layer of the first protocol layer (that is, the third time information introduced in the previous step 201).
[0271] After the terminal device measures the first packet and the last packet in the first PDU set, the terminal device feeds back the measurement results to the access network device via control plane signaling. For details, please refer to step 403.
[0272] Step 403: The terminal device sends the delay measurement information of the first PDU set to the access network device.
[0273] Correspondingly, the access network device receives the delay measurement information of the first PDU set from the terminal device.
[0274] The delay measurement information of the first PDU set includes the second time information and / or the third time information, and / or the transmission delay of the first PDU set calculated by the terminal device between the terminal device and the access network device (for example, the air interface downlink delay).
[0275] Optionally, the delay measurement information of the first PDU set further includes a sequence number of the first protocol layer (e.g., a PDCP SN). For example, the delay measurement information of the first PDU set includes the second time information and the PDCP SN of the last packet in the first PDU set. For another example, the delay measurement information of the first PDU set includes the third time information and the PDCP SN of the first packet in the first PDU set.
[0276] Optionally, the delay measurement information of the first PDU set also includes the sequence number of the first PDU set. For example, the delay measurement information of the first PDU set includes the transmission delay of the first PDU set between the terminal device and the access network device (for example, air interface downlink delay) calculated by the terminal device and the identification information of the first PDU set.
[0277] Optionally, the terminal device carries the delay measurement information of the first PDU set in an RRC message and sends it to the access network device. The access network device obtains the third time information and / or the second time information from the delay measurement information of the first PDU set.
[0278] Step 404: The access network device determines the air interface downlink delay and the air interface uplink delay of the first PDU set.
[0279] Exemplarily, the access network device determines the difference between the time indicated by the second time information and the time indicated by the first time information as the air interface downlink delay of the first PDU set. The access network device determines the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set.
[0280] Exemplarily, the access network device receives the delay measurement information of the first PDU set from the terminal device, including the downlink transmission delay of the first PDU set between the terminal device and the access network device, and the access network device directly uses the transmission delay as the air interface downlink delay of the first PDU set.
[0281] Step 405: The access network device sends the delay measurement information of the first PDU set to the core network device.
[0282] Correspondingly, the core network device receives the delay measurement information of the first PDU set from the access network device.
[0283] The delay measurement information of the first PDU set sent by the access network device to the core network device includes the sixth time information, the seventh time information, the air interface downlink delay of the first PDU set, and the air interface uplink delay of the first PDU set.
[0284] Optionally, the access network device may also use other messages to separately send the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set to the core network device, which is not limited here.
[0285] Step 406: The core network device determines the NG port downlink delay and the NG port uplink delay of the first PDU set.
[0286] Among them, when the core network device sends the downlink packet of the first PDU set, the core network device can record the moment when the core network device sends the first packet in the first PDU set (that is, the fifth time information introduced in the previous step 201); when the core network device receives the uplink packet of the first PDU set, the core network device can record the moment when the core network device receives the last packet in the first PDU set (that is, the eighth time information introduced in the previous step 202).
[0287] In this step, the core network device determines the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG interface downlink delay of the first PDU set. The core network device determines the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG interface uplink delay of the first PDU set.
[0288] In step 407, the core network device determines the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the air interface downlink delay, air interface uplink delay, NG interface downlink delay and NG interface uplink delay of the first PDU set.
[0289] In this embodiment, step 407 is similar to step 308 in the previous text. Please refer to the relevant description in step 308 in the previous text for details, and it will not be repeated here.
[0290] It should be noted that steps 405 to 407 are optional. For example, in some scenarios, only the access network device needs to determine the air interface downlink delay and air interface uplink delay of the first PDU set, and the core network device does not need to determine the uplink and downlink delay of the NG interface.
[0291] In one embodiment, the access network device determines the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set, and sends the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set, and the identification information of the first PDU set to other entities (for example, the trace collection entity (TCE)). Optionally, the access network device also sends the identification of the terminal device to other entities. The core network device determines the downlink delay and uplink delay of the first PDU set at the NG port, and sends the downlink delay and uplink delay of the first PDU set at the NG port, and the identification information of the first PDU set to other entities. Optionally, the access network device also sends the identification of the terminal device to other entities. Other entities obtain the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the above information sent by the access network device and the core network device.
[0292] In this embodiment, the access network device and the terminal device are able to sense which packet is the first packet and which packet is the last packet in a PDU set, and after the core network device triggers the access network device and the terminal device to enable the PDU granularity-based delay measurement function, the access network device and the terminal device are able to measure only the first packet and the last packet in a PDU set, and then the access network device determines the air interface uplink and downlink delays of the first PDU set based on the delay measurement information of the first PDU set fed back by the terminal device through control plane signaling. Since only the first packet and the last packet are measured, the control plane interaction feedback measurement results between the terminal device and the access network device is reduced. Since the terminal device can feed back the delay measurement information of the first PDU set to the access network device through control plane signaling, it is beneficial for the access network device to determine the air interface uplink and downlink delays of the first PDU set based on the delay measurement information of the first PDU set, without the core network device having to determine the air interface uplink and downlink delays of the first PDU set, which is beneficial to saving the computing overhead of the core network device and is also beneficial for the core network device to quickly obtain the air interface uplink and downlink delays of the first PDU set.
[0293] As shown in Figure 5, the main process of another embodiment of the delay measurement method proposed in this application is shown. In this embodiment, the terminal device and the access network device exchange the delay measurement information of the first PDU set through the user plane, and the terminal device determines the air interface downlink delay of the first PDU set and the access network device determines the air interface uplink delay of the first PDU set, and then feeds back the air interface downlink delay and air interface uplink delay of the first PDU set to the core network device. Specifically, the core network device, the access network device and the terminal device mainly perform the following steps:
[0294] Step 501: The core network device sends first indication information to the access network device.
[0295] Correspondingly, the access network device receives the first indication information from the core network device.
[0296] Step 502: The access network device sends second indication information to the terminal device.
[0297] Correspondingly, the terminal device receives second indication information from the access network device.
[0298] In this embodiment, steps 501 to 502 are similar to steps 401 to 402 in the foregoing text. Please refer to the relevant descriptions in steps 401 to 402 in the foregoing text and will not be repeated here.
[0299] Furthermore, during the execution of steps 501 and 502, the access network device receives downlink packets of the first PDU set from the core network device and transmits the downlink packets to the terminal device. Furthermore, the access network device also receives uplink packets of the first PDU set from the terminal device and transmits the uplink packets to the core network device. In this embodiment, the access network device and the terminal device are not only capable of perceiving the first and last packets in the first PDU set, but are also capable of providing user-facing feedback of latency measurement information for the first packet to the receiving end. Exemplarily, the transmitting end can carry, in at least one packet in the transmitted first PDU set, an indication of the time at which the transmitting end transmitted the first packet in the first PDU set. For example, the first packet in the first PDU set carries a timestamp, or the last packet carries a timestamp for transmitting the first packet. It should be understood that, in downlink transmission over the air interface, the transmitting end is the access network device and the receiving end is the terminal device; in uplink transmission over the air interface, the transmitting end is the terminal device and the receiving end is the access network device.
[0300] The following takes the sending end and the receiving end as examples for introduction.
[0301] In one possible embodiment, the first packet in the first PDU set sent by the transmitter carries a timestamp. Exemplarily, the first packet in the first PDU set sent by the transmitter to the receiver includes a timestamp configured by the transmitter, and the timestamp is used to indicate the moment when the first protocol layer of the transmitter receives the first packet from the upper layer of the first protocol layer. For example, in air interface downlink transmission, the access network device configures a first timestamp in the first packet in the first PDU set sent to the terminal device, and the first timestamp is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer, that is, the specific implementation method of the first time information introduced above is the first timestamp. For another example, in air interface uplink transmission, the terminal device configures a second timestamp in the first packet in the first PDU set sent to the access network device, and the second timestamp is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer, that is, the specific implementation method of the third time information introduced above is the second timestamp.
[0302] In one implementation manner 1, the first packet in the first PDU set sent by the transmitter includes a timestamp configured by the transmitter and identification information of the first PDU set, the last packet (e.g., the tail packet) in the first PDU set includes identification information of the first PDU set, and other packets in the first PDU set do not include identification information of the first PDU set. Optionally, other packets in the first PDU set also do not include the timestamp configured by the transmitter.
[0303] In this implementation mode 1, the receiving end determines the first packet in the first PDU set based on the timestamp and the identification information of the first PDU set, and the receiving end determines the last packet in the first PDU set based on the identification information of the first PDU set.
[0304] For example, if a packet #1 received by the receiving end contains both the identification information of the first PDU set and the timestamp #1, the receiving end determines that the packet #1 is the first packet in the first PDU set, and determines that the time when the sending end sends the first packet in the first PDU set is the time indicated by the timestamp #1; if a packet #2 received by the receiving end contains only the identification information of the first PDU set but no timestamp, the receiving end determines that the packet #2 is the last packet in the first PDU set, and the receiving end records the time when the last packet in the first PDU set is received.
[0305] In this implementation method 1, the receiving end can identify whether a received packet is the first or last packet by whether it carries the identification information of the first PDU set. Furthermore, the receiving end can identify whether the packet is the first packet by whether the packet carries a timestamp. By only carrying the newly added information (i.e., the identification information and / or timestamp of the first PDU set) for the first and last packets in the first PDU set, the other packets in the first PDU set do not need to be processed, which helps to reduce the processing overhead of the sending end during the packet transmission process.
[0306] In another implementation method 2, each packet in the first PDU set includes identification information of the first PDU set; the first packet in the first PDU set (i.e., the first packet) also includes a timestamp and first packet indication information configured by the transmitter, and the first packet indication information is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set; the last packet in the first PDU set (i.e., the last packet) also includes last packet indication information, and the last packet indication information is used to indicate that the packet carrying the last packet indication information is the last packet in the first PDU set. For an explanation of the first packet and the last packet, please refer to the relevant introduction in the previous steps 201 and 202, which will not be repeated here.
[0307] In this implementation method 2, the receiving end determines the first packet (i.e., the first packet) in the first PDU set based on the identification information of the first PDU set and the first packet indication information; the receiving end determines the last packet (i.e., the tail packet) in the first PDU set based on the identification information of the first PDU set and the tail packet indication information.
[0308] For example, if a packet #3 received by the receiving end carries the first packet indication information and the identification information of the first PDU set, the receiving end determines that the packet #1 is the first packet in the first PDU set (i.e., the first packet), and determines that the moment when the sending end sends the first packet in the first PDU set is the moment indicated by the timestamp #2 carried by the packet #3; if a packet #4 received by the receiving end carries the last packet indication information and the identification information of the first PDU set, the receiving end determines that the packet #4 is the last packet in the first PDU set (i.e., the last packet), and the receiving end records the moment when the last packet in the first PDU set is received.
[0309] In Implementation 2, the first and last packet indications enable the receiving end to identify whether a received packet is the first or last packet, thereby enabling the receiving end to determine the time when the transmitting end sent the first packet. This helps the receiving end accurately determine the first and last packets in the first PDU set, thereby improving the efficiency of the receiving end in measuring the first and last packets.
[0310] Optionally, each packet in the first PDU set also includes the sequence number of each packet in the first PDU set. The sequence number is used to reflect the order in which the application layer generates packets. The sequence number may be added at the application layer of the sending end, or may be added at other layers of the sending end, which is not limited here. In this case, the receiving end determines the last packet in the first PDU set based on the identification information of the first PDU set, the tail packet indication information and the sequence number in the first PDU set. For example, if the packet carrying the tail packet indication information is not the last packet to arrive at the receiving end in the first PDU set, that is, the packet carrying the tail packet indication information is not the last packet, the receiving end continues to receive packets carrying the identification information of the first PDU set until all packets in the first PDU set are correctly received.
[0311] In another implementation method 3, each packet in the first PDU set includes identification information of the first PDU set and a timestamp configured by the transmitter. The timestamp in each packet is used to indicate the moment when the first protocol layer of the transmitter receives the packet from the upper layer of the first protocol layer. The first packet in the first PDU set also includes first packet indication information, which is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set. The last packet in the first PDU set also includes tail packet indication information, which is used to indicate that the packet carrying the tail packet indication information is the last packet in the first PDU set. For an explanation of the first packet and the tail packet, please refer to the relevant introduction in the previous steps 201 and 202, which will not be repeated here.
[0312] In Implementation 3, the receiving end determines the first packet in the first PDU set (i.e., the first packet) based on the identification information and the first packet indication information of the first PDU set; and the receiving end determines the last packet in the first PDU set (i.e., the last packet) based on the identification information and the last packet indication information of the first PDU set. Compared with Implementation 2, Implementation 3 differs in that each packet in the first PDU set in Implementation 3 includes the timestamp of the packet transmission configured by the transmitting end.
[0313] Optionally, each packet in the first PDU set also includes a sequence number of each packet in the first PDU set.
[0314] In another embodiment, the last packet (e.g., the tail packet) in the first PDU set sent by the sender carries the timestamp of the first packet in the first PDU set, and the timestamp is used to indicate the moment when the first protocol layer of the sender receives the first packet from the upper layer of the first protocol layer. Optionally, other packets in the first PDU set do not carry timestamps. It can also be understood that the packets in the first PDU set are sent in sequence, and the tail packet in the first PDU set by the sender carries the timestamp of the first packet sent by the sender. Optionally, the last packet (e.g., the tail packet) in the first PDU set also includes identification information of the first PDU set.
[0315] For example, if a packet #5 received by the receiving end carries timestamp #3, the receiving end determines that packet #5 is the last packet in the first PDU set, and the receiving end determines that the moment when the sending end sends the first packet in the first PDU set is timestamp #3, and the receiving end records the moment when the last packet in the first PDU set is received.
[0316] In this implementation, only the last packet in the first PDU set needs to carry the timestamp of the first packet sent. This allows the receiver to obtain the time information of both the first and last packets upon receiving the last packet in the first PDU set. Therefore, the transmitter does not need to process other packets in the first PDU set, which helps reduce the processing overhead of the transmitter's packet transmission process.
[0317] It should be noted that, in actual applications, the terminal device and the access network device can use any of the aforementioned methods to exchange the delay measurement information of the first PDU set (i.e., the delay measurement information of the first packet in the first PDU set and / or the delay measurement information of the last packet in the first PDU set) through the PDU of the user plane. For ease of understanding, the following is an introduction based on the implementation method 1 described above with a specific example:
[0318] For example, taking the sending end as an access network device and the receiving end as a terminal device (i.e., air interface downlink transmission) as an example, if a packet #1 received by the terminal device contains both the identification information of the first PDU set and the timestamp #1, the terminal device determines that the packet #1 is the first packet in the first PDU set, and determines that the time when the access network device sends the first packet in the first PDU set is the time indicated by the timestamp #1 (i.e., the first time information introduced in the previous step 201); if a packet #2 received by the terminal device contains only the identification information of the first PDU set but no timestamp, the terminal device determines that the packet #2 is the last packet in the first PDU set, and the terminal device records the time when the last packet in the first PDU set is received (i.e., the second time information introduced in the previous step 202).
[0319] For example, taking the sending end as a terminal device and the receiving end as an access network device (i.e., air interface uplink transmission) as an example, if a packet #3 received by the access network device contains both the identification information of the first PDU set and the timestamp #2, the access network device determines that the packet #3 is the first packet in the first PDU set, and determines that the time when the access network device sends the first packet in the first PDU set is the time indicated by the timestamp #2 (i.e., the third time information introduced in the previous step 201); if a packet #4 received by the access network device contains only the identification information of the first PDU set but no timestamp, the access network device determines that the packet #4 is the last packet in the first PDU set, and the access network device records the time when the last packet in the first PDU set is received (i.e., the fourth time information introduced in the previous step 202).
[0320] Step 503: The terminal device determines the air interface downlink delay of the first PDU set.
[0321] Exemplarily, during air interface downlink transmission, the terminal device obtains the first timestamp (i.e., first time information) corresponding to the first packet in the first PDU set of the access network device from the first packet or the last packet in the first PDU set, and the terminal device records the moment when the last packet in the first PDU set was received (i.e., second time information). The terminal device then determines that the difference between the moment indicated by the second time information and the moment indicated by the first time information is the air interface downlink delay of the first PDU set.
[0322] Step 504: The terminal device sends the air interface downlink delay of the first PDU set to the access network device.
[0323] Correspondingly, the access network device receives the air interface downlink delay of the first PDU set from the terminal device.
[0324] Optionally, the terminal device may control the air interface downlink delay of sending the first PDU set to the access network device. For example, the terminal device sends identification information of the first PDU set and the air interface downlink delay of the first PDU set to the access network device.
[0325] Step 505: The access network device determines the air interface uplink delay of the first PDU set.
[0326] Exemplarily, during air interface uplink transmission, the access network device obtains the first timestamp (i.e., third time information) corresponding to the first packet of the terminal device in the first PDU set from the first packet or the last packet of the first PDU set, and the access network device records the time when the last packet of the first PDU set was received (i.e., fourth time information). The access network device then determines that the difference between the time indicated by the fourth time information and the time indicated by the third time information is the air interface uplink delay of the first PDU set.
[0327] It should be noted that step 505 can be performed simultaneously with step 504, and this application does not limit this.
[0328] Step 506: The access network device sends the delay measurement information of the first PDU set to the core network device.
[0329] Correspondingly, the core network device receives the delay measurement information of the first PDU set from the access network device.
[0330] The delay measurement information of the first PDU set includes the sixth time information, the seventh time information, the air interface downlink delay of the first PDU set, and the air interface uplink delay of the first PDU set.
[0331] Optionally, the access network device can send the sixth time information, the seventh time information, the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set at the same time, or it can send them at different times, that is, carry the above information in multiple messages or data packets on the data plane.
[0332] Step 507: The core network device determines the NG port downlink delay and the NG port uplink delay of the first PDU set.
[0333] Step 508: The core network device determines the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the air interface downlink delay, air interface uplink delay, NG interface downlink delay and NG interface uplink delay of the first PDU set.
[0334] In this embodiment, steps 506 to 508 are similar to steps 405 to 407 in the embodiment corresponding to FIG. 4 . For details, please refer to the relevant descriptions in steps 405 to 407 above, which will not be repeated here.
[0335] In this embodiment, the access network device and the terminal device can sense which packet is the first packet and which packet is the last packet in a PDU set, and after the core network device triggers the access network device and the terminal device to start the PDU granularity-based delay measurement function, the access network device and the terminal device can only measure the first packet and the last packet in a PDU set, and then the access network device and the terminal device exchange the delay measurement information of the first PDU set through the user plane, and then respectively determine the air interface uplink and downlink delays of the first PDU set. Since the terminal device and the access network device can respectively determine the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set, without the core network device determining the air interface uplink and downlink delays of the first PDU set, it is beneficial to save the computing overhead of the core network device and also beneficial for the core network device to quickly obtain the air interface uplink and downlink delays of the first PDU set.
[0336] In addition, in another embodiment of the delay measurement method proposed in this application, an implementation method for measuring the synchronization performance information of two PDU sets is also provided. The process of measuring the synchronization performance information of two PDU sets will be described below with reference to Figures 6 and 7 respectively:
[0337] Figure 6 shows the main process of another embodiment of the delay measurement method proposed in this application. In this embodiment, the core network device collects packet-granular delay measurement information for two PDU sets, and then determines the synchronization performance information of the two PDU sets based on the packet-granular delay measurement information of the two PDU sets. Specifically, the core network device, access network device, and terminal device mainly perform the following steps:
[0338] Step 601: The core network device obtains time information of two PDU sets.
[0339] The two PDU sets are determined by the core network device from at least two different PDU sets. The two PDU sets are the two PDU sets for which synchronization performance information needs to be calculated, as determined by the core network device. Optionally, the two PDU sets are associated. Exemplarily, synchronization performance requirements exist for the transmission of the two PDU sets. For example, the deviation between the arrival times of the two PDU sets at the receiving end is less than a preset value.
[0340] For example, taking the XR+ multi-mode haptic service as an example, this service requires that the synchronization performance between multiple media streams (for example, video, audio, and haptic) meet certain requirements. Among them, the media stream that transmits video information is a PDU set, the media stream that transmits audio information is another PDU set, and the media stream that transmits tactile information is another PDU set. The synchronization performance requirements for audio and tactile are: audio reaches the receiving end within 50ms after tactile at most; tactile reaches the receiving end within 25ms after audio at most; the synchronization performance requirements for video and tactile are: video reaches the receiving end within 15ms after tactile at most; tactile reaches the receiving end within 50ms after video at most.
[0341] In addition, the two PDU sets may refer to sets of PDU packets corresponding to two different QoS flows of the same PDU session, or may refer to two sets of PDU packets corresponding to different PDU sessions.
[0342] Furthermore, the PDU set's time information is time information or latency information obtained by measuring the associated packets in the PDU set. This PDU set's time information is used to determine the moment the associated packets in the PDU set arrive at the receiving end. For example, in downlink transmission, the PDU set's time information is used to determine the moment the associated packets in the PDU set, sent by the core network device, arrive at the terminal device; in uplink transmission, the PDU set's time information is used to determine the moment the uplink associated packets in the PDU set, sent by the terminal device, arrive at the core network device.
[0343] Among them, the associated packet is a PDU packet in the PDU set used to measure the synchronization performance. Optionally, the associated packet carries the associated packet indication information configured by the sending end to indicate to the receiving end that the packet carrying the associated packet indication information is an associated packet. In downlink transmission, the associated packet is specified by the core network device from the downlink PDU set; in uplink transmission, the associated packet is specified by the terminal device from the uplink PDU set. Since it is necessary to measure the synchronization performance of two PDU sets, the core network device or the terminal device determines the associated packet corresponding to each PDU set from the two PDU sets respectively. For example, if it is necessary to measure the synchronization performance of the first PDU set and the second PDU set, the core network device or the terminal device determines at least one associated packet from the first PDU set, and determines at least one associated packet from the second PDU set.
[0344] Optionally, the associated packet of the PDU set includes the last packet of the PDU set (for example, the tail packet of the PDU set). Exemplarily, in downlink transmission, the core network device determines that the last packet (for example, the tail packet) in the PDU set is an associated packet. For example, taking the measurement of the synchronization performance of the first PDU set and the second PDU set as an example, the core network device determines that the last packet (for example, the tail packet) in the downlink first PDU set is an associated packet in the first PDU set (also called the downlink associated packet in the first PDU set), and determines that the last packet (for example, the tail packet) in the downlink second PDU set is an associated packet in the second PDU set (also called the downlink associated packet in the second PDU set). Exemplarily, in uplink transmission, the terminal device determines that the last packet (for example, the tail packet) in the PDU set is an associated packet. For example, taking the measurement of the synchronization performance of the first PDU set and the second PDU set as an example, the terminal device determines that the last packet (for example, the tail packet) in the uplink first PDU set is the associated packet in the first PDU set (also called the uplink associated packet in the first PDU set), and determines that the last packet (for example, the tail packet) in the uplink second PDU set is the associated packet in the second PDU set (also called the uplink associated packet in the second PDU set).
[0345] Specifically, before the core network device obtains the time information of the two PDU sets, the core network device and the access network device perform NG port synchronization performance measurement of the associated packets, and the access network device and the terminal device perform air interface synchronization performance measurement of the associated packets.
[0346] In one possible implementation, the terminal device, access network device, and core network device perform packet-granular latency measurement for each packet in the two PDU sets. The access network device and terminal device provide feedback on the latency measurement information for each packet to the core network device. The core network device only obtains latency measurement information for associated packets in the two PDU sets to determine the timing information for the two PDU sets. For details on the packet-granular latency measurement process, please refer to the embodiment corresponding to Figure 3 above and will not be further described here.
[0347] In another possible implementation, the terminal device, access network device, and core network device perform packet-granular latency measurement only for associated packets in two PDU sets. The access network device and the terminal device only feed back latency measurement information for associated packets in the two PDU sets to the core network device, so that the core network device determines timing information for the two PDU sets based on the latency measurement information for associated packets in the two PDU sets.
[0348] Exemplarily, the core network device notifies the access network device through the control plane and / or user plane to only measure the associated packets of the two PDU sets, and the access network device then notifies the terminal device through the control plane and / or user plane to only measure the associated packets of the two PDU sets.
[0349] Exemplarily, on the control plane, the core network device notifies the access network device through control plane signaling (for example, a delay measurement message) to perform measurements only on the associated packets in the two PDU sets, and the access network device notifies the terminal device through the control plane signaling delay measurement indication to perform measurements only on the associated packets in the two PDU sets. The terminal device and the access network device can feed back the delay measurement information of the associated packets of the two PDU sets (for example, the timestamp of the terminal device sending the associated packet, the timestamp of the access network device sending the associated packet, the downlink air interface delay or the uplink air interface delay, etc.) to the core network device through control plane signaling. In the downlink transmission on the user plane, the core network device carries indication information (for example, the associated packet indication information described above) in the associated packets of the two PDU sets to instruct the access network device and the terminal device to measure the associated packets. In the uplink transmission of the user plane, the terminal device carries the delay measurement information (for example, the timestamp of the terminal device sending the associated packet or the downlink air interface delay, etc.) in the associated packets of the two PDU sets. The terminal device even only needs to carry the delay measurement information in the associated packets of the two PDU sets, and does not need to carry the delay measurement information in other packets.
[0350] The following further describes the timing information of the two PDU sets in downlink and uplink transmission respectively:
[0351] In one embodiment, in downlink transmission, the time information of the PDU set includes the delay measurement information of the associated packets in the PDU set. Taking the case where two PDU sets include a first PDU set and a second PDU set as an example, the time information of the first PDU set includes the delay measurement information of the associated packets in the first PDU set, and the time information of the second PDU set includes the delay measurement information of the associated packets in the second PDU set. The delay measurement information of the associated packets in the first PDU set is used to determine the delay required for the associated packets in the first PDU set to be transmitted from the core network device to the terminal device; the delay measurement information of the associated packets in the second PDU set is used to determine the delay required for the associated packets in the second PDU set to be transmitted from the core network device to the terminal device.
[0352] Furthermore, the delay measurement information of the associated packets includes the air interface downlink delay and the NG port downlink delay. Taking the two PDU sets including the first PDU set and the second PDU set as an example, the delay measurement information of the associated packets in the first PDU set includes the NG port downlink delay of the associated packets in the first PDU set and the air interface downlink delay of the associated packets in the first PDU set, and the delay measurement information of the associated packets in the second PDU set includes the NG port downlink delay of the associated packets in the second PDU set and the air interface downlink delay of the associated packets in the second PDU set. It should be noted that the aforementioned air interface downlink delay and NG port downlink delay can be determined by the access network device and fed back to the core network device, or can be determined by the core network device based on the delay measurement information fed back by the access network device, which is not limited here.
[0353] In addition, since the core network device can record the time of sending the associated packet during the process of sending the PDU set, the core network device can determine the time when the associated packet arrives at the terminal device based on the time of sending the associated packet in the PDU set, the NG port downlink delay of the associated packet and the air interface downlink delay of the associated packet.
[0354] Exemplarily, the time when the associated packets in the first PDU set arrive at the terminal device = the NG port downlink delay of the associated packets in the first PDU set + the air interface downlink delay of the associated packets in the first PDU set + the time when the core network device sends the associated packets of the first PDU set.
[0355] Exemplarily, the time when the associated packets in the second PDU set arrive at the terminal device = the NG port downlink delay of the associated packets in the second PDU set + the air interface downlink delay of the associated packets in the second PDU set + the time when the core network device sends the associated packets in the second PDU set.
[0356] In another embodiment, during uplink transmission, the time information of a PDU set includes the time when the core network device, as the receiving end, receives the associated packets in the PDU set. For example, taking two PDU sets including a first PDU set and a second PDU set as an example, the time information of the first PDU set includes the time when the core network device receives the associated packets in the first PDU set, and the time information of the second PDU set includes the time when the core network device receives the associated packets in the second PDU set.
[0357] Exemplarily, the core network device receives a first PDU set from the access network device and records the time when the associated packets in the first PDU set are received, and receives a second PDU set from the access network device and records the time when the associated packets in the second PDU set are received.
[0358] Step 602: The core network device determines synchronization performance information of the two PDU sets based on the time information of the two PDU sets.
[0359] The synchronization performance information is used to indicate the time difference between the arrival of the associated packets in one PDU set at the receiving end and the arrival of the associated packets in another PDU set at the receiving end. The synchronization performance information includes downlink synchronization deviation and / or uplink synchronization deviation.
[0360] In one embodiment, during downlink transmission, a core network device determines a downlink synchronization offset between the two PDU sets based on time information of the two PDU sets. For example, taking the two PDU sets as including a first PDU set and a second PDU set, the core network device determines the downlink synchronization offset based on the difference between the time when associated packets in the first PDU set arrive at the terminal device and the time when associated packets in the second PDU set arrive at the terminal device.
[0361] In another embodiment, during uplink transmission, the core network device determines an uplink synchronization offset between the two PDU sets based on time information of the two PDU sets. For example, taking the two PDU sets as including a first PDU set and a second PDU set, the core network device determines the uplink synchronization offset based on the difference between the time when an associated packet in the first PDU set is received and the time when an associated packet in the second PDU set is received.
[0362] Optionally, after determining the downlink synchronization deviation and / or the uplink synchronization deviation, the core network device sends the downlink synchronization deviation and / or the uplink synchronization deviation to the access network device.
[0363] In this embodiment, the core network device can determine the time when the associated packets transmitted downlink from the two PDU sets arrive at the terminal device, thereby determining the downlink synchronization offset. Furthermore, the core network device can determine the time when the associated packets transmitted uplink from the two PDU sets arrive at the core network device, thereby determining the uplink synchronization offset. This facilitates the core network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the downlink synchronization offset and the uplink synchronization offset, thereby facilitating network optimization.
[0364] Figure 7 shows the main process of another embodiment of the latency measurement method proposed in this application. In this embodiment, the core network device instructs the access network device and the terminal device to perform synchronization performance measurements on two PDU sets, and the terminal device and the access network device respectively determine the synchronization performance of the air interface. Specifically, the core network device, the access network device, and the terminal device mainly perform the following steps:
[0365] Step 701: The core network device sends third indication information to the access network device.
[0366] Correspondingly, the access network device receives third indication information from the core network device.
[0367] The third indication information is used to instruct the access network device to trigger the measurement of the synchronization performance of the two PDU sets. For example, after the access network device receives the third indication information from the core network device, the access network device starts the function of measuring the synchronization performance of the PDU sets.
[0368] In a possible implementation, the core network device carries the third indication information in control plane signaling and sends it to the access network device. Exemplarily, the control plane signaling may be a delay measurement request message or other message, which is not limited here.
[0369] Optionally, the user plane of the core network device carries associated packet indication information in the associated packets of the two PDU sets to instruct the access network device to measure the associated packets in the two PDU sets.
[0370] For explanations on associated packages and synchronization performance, please refer to the relevant introductions in the above steps 601 and 602, which will not be repeated here.
[0371] Step 702: The core network device notifies the access network device of the association relationship between the two PDU sets.
[0372] Step 702 is an optional step. If the core network device does not execute step 702, it means that the core network device only instructs the access network device to trigger the measurement of the synchronization performance of two PDU sets, without specifying which two PDU sets to measure the synchronization performance. The access network device can measure the synchronization performance of every two PDU sets in multiple PDU sets being transmitted, or it can determine two PDU sets for synchronization performance measurement. If the core network device executes step 702, it means that the core network device specifies which two PDUs need to measure their synchronization performance.
[0373] In one possible implementation, the core network device notifies the access network device of the association relationship between two PDU sets through the user. Exemplarily, the core network device carries association information indicating another PDU set in an association packet in one PDU set, and the association information is used to indicate that one PDU set has an association relationship with another PDU set. For example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the core network device carries first association information in the association packet in the sent first PDU set, and the first association information is used to indicate that the PDU set that has an association relationship with the first PDU set is the second PDU set. For another example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the core network device carries second association information in the association packet in the sent second PDU set, and the second association information is used to indicate that the PDU set that has an association relationship with the second PDU set is the first PDU set.
[0374] Optionally, the first association information is identification information of the second PDU set, or the first association information is the sequence number of the associated packet in the second PDU set. Optionally, the second association information is identification information of the first PDU set, or the second association information is the sequence number of the associated packet in the first PDU set. Exemplarily, the identification information of the PDU set is the QoS flow SN or the SN of the PDU set. Exemplarily, the sequence number of the associated packet is the SN in the GTP-U of the associated packet.
[0375] Optionally, the associated packets in the first PDU set include the last packet in the first PDU set, and the associated packets in the second PDU set include the last packet in the second PDU set.
[0376] It should be noted that the core network device can carry the association information indicating another PDU set in the association packets of two PDU sets at the same time, or it can carry the association information indicating another PDU set only in the association packet of one PDU set of the two PDU sets. This is not limited here.
[0377] In another possible implementation, the core network device notifies the access network device of the association relationship between the two PDU sets via the control plane. Exemplarily, the core network device sends identification information of the first PDU set and identification information of the second PDU set to the access network device to instruct the access network device to measure the synchronization performance between the first PDU set and the second PDU set, that is, the first PDU set and the second PDU set have an association relationship. For example, the core network device carries the identification information of the first PDU set and the identification information of the second PDU set in the control plane signaling carrying the third indication information. In this example, step 702 and step 701 are performed simultaneously.
[0378] In actual applications, the core network device can notify the access network device of the association relationship between the two PDU sets through any of the aforementioned implementation methods, and this application does not limit this.
[0379] It should be noted that after the access network device turns on the function of measuring the synchronization performance of the PDU set and determines which two PDU sets to measure, the access network device measures the associated packets in the PDU set to obtain delay measurement information. This delay measurement information is used to determine the synchronization performance information of the two PDU sets, and the synchronization performance information is used to indicate the time deviation between the arrival of the associated packets in one PDU set at the receiving end and the arrival of the associated packets in another PDU set at the receiving end. The delay measurement information measured by the access network device is used to determine the uplink synchronization deviation. For the specific content of the delay measurement information obtained by the access network device and the specific implementation method of the access network device to determine the uplink synchronization deviation, please refer to step 708 below, which will not be repeated here.
[0380] Step 703: The access network device sends fourth indication information to the terminal device.
[0381] Correspondingly, the terminal device receives fourth indication information from the access network device.
[0382] The fourth indication information is used to instruct the terminal device to trigger the measurement of the synchronization performance of the two PDU sets. For example, after the terminal device receives the fourth indication information from the access network device, the terminal device starts the function of measuring the synchronization performance of the PDU sets.
[0383] In a possible implementation, the core network device carries the fourth indication information in a control plane signaling and sends it to the terminal device. Exemplarily, the control plane signaling can be a delay measurement request message or other message, which is not limited here.
[0384] Step 704: The access network device notifies the terminal device of the association relationship between the two PDU sets.
[0385] In a possible implementation, the access network device notifies the user-facing terminal device of the association relationship between two PDU sets. Exemplarily, the access network device carries association information indicating another PDU set in an association packet in one PDU set, and the association information is used to indicate that one PDU set has an association relationship with another PDU set. For example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the access network device carries first association information in the association packet in the first PDU set sent, and the first association information is used to indicate that the PDU set that has an association relationship with the first PDU set is the second PDU set. For another example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the access network device carries second association information in the association packet in the second PDU set sent, and the second association information is used to indicate that the PDU set that has an association relationship with the second PDU set is the first PDU set.
[0386] Optionally, the first associated information is identification information of the second PDU set, or the first associated information is the sequence number of the associated packet in the second PDU set. Optionally, the second associated information is identification information of the first PDU set, or the second associated information is the sequence number of the associated packet in the first PDU set. Optionally, the associated packet in the first PDU set includes the last packet in the first PDU set, and the associated packet in the second PDU set includes the last packet in the second PDU set.
[0387] It should be noted that the access network device can carry the association information indicating another PDU set in the association packets of two PDU sets at the same time, or it can carry the association information indicating another PDU set only in the association packet of one PDU set of the two PDU sets. This is not limited here.
[0388] In another possible implementation, the access network device notifies the terminal device of the association relationship between the two PDU sets via the control plane. Exemplarily, the access network device sends identification information of the first PDU set and identification information of the second PDU set to the terminal device to instruct the terminal device to measure the synchronization performance between the first PDU set and the second PDU set, that is, the first PDU set and the second PDU set have an association relationship. For example, the access network device carries the identification information of the first PDU set and the identification information of the second PDU set in the control plane signaling carrying the fourth indication information. In this example, step 703 and step 704 are performed simultaneously.
[0389] In actual applications, the access network device can notify the terminal device of the association relationship between the two PDU sets through any of the aforementioned implementation methods, and this application does not limit this.
[0390] In addition, it should be noted that the two PDU sets to be measured are the first PDU set and the second PDU set, which can be determined autonomously by the access network device, i.e., the core network device does not perform step 702; or the core network device notifies the access network device, i.e., the core network device performs step 702. This is not limited here.
[0391] In addition, it should be noted that after the terminal device enables the function of measuring the synchronization performance of the PDU set and determines which two PDU sets to measure, the terminal device measures the associated packets in the PDU set to obtain delay measurement information. The delay measurement information measured by the terminal device is used to determine the downlink synchronization deviation. For the specific content of the delay measurement information obtained by the terminal device and the specific implementation method of the terminal device determining the downlink synchronization deviation, please refer to step 705 below and will not be repeated here.
[0392] Step 705: The terminal device determines the downlink synchronization deviation of the two PDU sets.
[0393] Specifically, the terminal device measures the associated packets of the two PDU sets to obtain delay measurement information for the two PDU sets. The terminal device then determines the downlink synchronization deviation of the two PDU sets based on the delay measurement information of the two PDU sets. The delay measurement information of the two PDU sets includes the time when the terminal device receives the associated packets in the first PDU set and the time when the terminal device receives the associated packets in the second PDU set.
[0394] In one possible implementation, the delay measurement information of the two PDU sets measured by the terminal device includes eleventh time information and twelfth time information. The eleventh time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the first PDU set to the upper layer of the first protocol layer, and the twelfth time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the second PDU set to the upper layer of the first protocol layer. In this example, the terminal device determines the difference between the eleventh time information and the twelfth time information as the downlink synchronization deviation.
[0395] Step 706: The terminal device sends the downlink synchronization deviation of the two PDU sets to the access network device.
[0396] Accordingly, the access network device receives the downlink synchronization deviation of the two PDU sets from the terminal device.
[0397] Optionally, the message carrying the downlink synchronization deviation of the two PDU sets also includes identification information of the two PDU sets. For example, if the downlink synchronization deviation is the downlink synchronization deviation between the first PDU set and the second PDU set, the message may carry identification information of the first PDU set and identification information of the second PDU set. Exemplarily, the identification information of the PDU set is the QoS flow SN or the SN of the PDU set.
[0398] Optionally, the message carrying the downlink synchronization deviation of the two PDU sets also includes the sequence numbers of the associated packets of the two PDU sets. For example, if the downlink synchronization deviation is the downlink synchronization deviation between the first PDU set and the second PDU set, the message may carry the sequence numbers of the associated packets in the first PDU set and the sequence numbers of the associated packets in the second PDU set. For example, the message may carry the SN in the GTP-U of the associated packets in the first PDU set and the SN in the GTP-U of the associated packets in the second PDU set.
[0399] Step 707: The terminal device notifies the access network device of the association relationship between the two PDU sets.
[0400] In a possible embodiment, the terminal device notifies the access network device of the association relationship between two PDU sets through the user. Exemplarily, the terminal device carries association information indicating another PDU set in an association packet in a PDU set sent, and the association information is used to indicate that one PDU set has an association relationship with another PDU set. For example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the terminal device carries first association information in the association packet in the first PDU set sent, and the first association information is used to indicate that the PDU set that has an association relationship with the first PDU set is the second PDU set. For another example, taking the two PDU sets as the first PDU set and the second PDU set as an example, the terminal device carries second association information in the association packet in the second PDU set sent, and the second association information is used to indicate that the PDU set that has an association relationship with the second PDU set is the first PDU set.
[0401] Optionally, the first associated information is identification information of the second PDU set, or the first associated information is the sequence number of the associated packet in the second PDU set. Optionally, the second associated information is identification information of the first PDU set, or the second associated information is the sequence number of the associated packet in the first PDU set. Optionally, the associated packet in the first PDU set includes the last packet in the first PDU set, and the associated packet in the second PDU set includes the last packet in the second PDU set.
[0402] It should be noted that the terminal device can carry the association information indicating another PDU set in the association packets of two PDU sets at the same time, or it can carry the association information indicating another PDU set only in the association packet of one PDU set of the two PDU sets. This is not limited here.
[0403] In another possible implementation, the terminal device notifies the access network device of the association relationship between the two PDU sets via a control plane. For example, the terminal device sends identification information of the first PDU set and identification information of the second PDU set to the access network device to instruct the access network device to measure the synchronization performance between the first PDU set and the second PDU set during uplink transmission, i.e., the first PDU set and the second PDU set have an association relationship.
[0404] In actual applications, the terminal device can notify the access network device of the association relationship between the two PDU sets through any of the aforementioned implementation methods, and this application does not limit this.
[0405] Step 708: The access network device determines the uplink synchronization deviation of the two PDU sets.
[0406] Specifically, the access network device measures the associated packets of the two PDU sets based on the association information carried by the terminal device in the associated packets of the PDU set to obtain delay measurement information for the two PDU sets. The access network device then determines the uplink synchronization deviation of the two PDU sets based on the delay measurement information of the two PDU sets. The delay measurement information of the two PDU sets includes the time when the access network device receives the associated packets of the first PDU set and the time when the access network device receives the associated packets of the second PDU set.
[0407] In one possible implementation, the latency measurement information for two PDU sets measured by the access network device includes ninth and tenth time information. The ninth time information indicates the time when the first protocol layer of the access network device uploads the associated packets in the first PDU set to a layer above the first protocol layer; the tenth time information indicates the time when the first protocol layer of the access network device uploads the associated packets in the second PDU set to a layer above the first protocol layer. In this example, the access network device determines the difference between the ninth and tenth time information as the uplink synchronization deviation.
[0408] Step 709: The access network device sends the downlink synchronization deviation and the uplink synchronization deviation to the core network device.
[0409] Correspondingly, the core network device receives the downlink synchronization deviation and the uplink synchronization deviation from the access network device.
[0410] Step 709 is an optional step.
[0411] In this embodiment, the access network device and the terminal device can measure the associated packets in two PDU sets. Specifically, the terminal device can determine the time when the associated packets in the two PDU sets arrive at the terminal device, thereby determining the downlink synchronization deviation and reporting the downlink synchronization deviation to the access network device. The access network device can also determine the time when the associated packets in the two PDU sets arrive at the access network device, thereby determining the uplink synchronization deviation. This facilitates the access network device to evaluate the transmission performance of the services corresponding to the two PDU sets based on the downlink synchronization deviation and the uplink synchronization deviation, thereby facilitating network optimization.
[0412] As shown in Figure 8, the main process of another embodiment of the delay measurement method proposed in this application is shown. In this embodiment, the access network device triggers the upper layer of the access stratum (AS) of the terminal device (for example, the application layer of the terminal device) to perform synchronization performance measurement on the associated packet through the application layer measurement configuration, and then the upper layer of the AS of the terminal device feedbacks the synchronization performance of the air interface. Specifically, the access network device and the terminal device mainly perform the following steps:
[0413] Step 801: The access network device notifies the terminal device to start application layer measurement.
[0414] For example, the access network device sends an application layer measurement configuration to the terminal device, and the application layer measurement configuration instructs the terminal device to measure the synchronization performance of the associated packet, or the application layer measurement configuration includes a synchronization performance measurement instruction of the associated packet, so that the terminal device measures or reports the synchronization performance measurement result of the associated packet. The synchronization performance measurement result includes the delay measurement information of the associated packet introduced above (for example, the moment when the upper layer of the AS of the terminal device receives the associated packet from the AS of the terminal device introduced later) and / or synchronization performance information (for example, downlink synchronization deviation, etc.).
[0415] In this embodiment, the access network device is able to obtain application layer measurement configuration information. Application layer measurement configuration information is information determined by the network side for the access network device to configure application layer measurement for the terminal device. In one example, the access network device can receive application layer measurement configuration information from network elements such as the core network (CN), operation, administration and maintenance (OAM) or element manager (EM). For example, for signaling-based QoE measurement, it is the CN that sends the application layer measurement configuration information to the access network device; for management-based QoE measurement, it is the OAM or EM that sends the application layer measurement configuration information to the access network device. In another example, the access network device is able to generate application layer measurement configuration information.
[0416] The application layer measurement configuration information includes information such as application layer measurement configuration, service type (Service Type), QoE reference (QoE reference) and IP address of measurement collection entity.
[0417] Among them, the application layer measurement configuration can be in the form of a container. For example, the application layer measurement configuration is an application layer measurement configuration container (container for application layer measurement configuration). The application layer measurement configuration includes at least one application layer measurement indicator (Metrics), that is, some metrics or indicators that the network side requires the terminal device to measure and report. Exemplarily, the aforementioned application layer measurement indicators include at least one of the following: Average throughput: refers to the total number of bits received by the application layer of the terminal device within a measurement interval. For example, the average throughput in the streaming media service. For details, please refer to the definition in Section 10.2 of the 3rd Generation Partnership Project (3GPP) protocol TS26.247. Initial playback delay: refers to the initial playback delay when the streaming media starts to be presented. For example, it can be specifically defined as the time from the moment the first segment of the media is acquired to the moment the streaming media is extracted from the client buffer. For details, please refer to the definition in Section 10.2 of the 3GPP protocol TS26.247. Buffer level: refers to the time that the media data will continue to be played starting from the current playback moment. For details, please refer to the definition in Section 10.2 of the 3GPP protocol TS26.247. The details are not listed here one by one. Optionally, the application layer measurement configuration also includes the scope of application layer measurement that the network side requires the terminal device to perform, such as the time range, start time, and duration of the measurement; and the reporting policy that the network side requires the terminal device to perform, such as the measurement period or reporting period or reporting interval, sampling ratio, location filtering configuration, etc. In addition to the aforementioned application layer measurement indicators, in this embodiment, the application layer measurement indicators also include: delay measurement information of the associated packet (for example, the moment when the upper layer of the AS of the terminal device receives the associated packet from the AS of the terminal device) and / or synchronization performance information (for example, downlink synchronization deviation, etc.).
[0418] The service type indicates the type of service to which the application layer measurement corresponds. Such services may include streaming services, voice services, multimedia telephony services for IP multimedia systems (MTSI), virtual reality (VR) services, augmented reality (AR) services, and multicast and broadcast services (MBS).
[0419] Among them, the QoE reference is information generated by the CN, OAM or EM to identify a certain application layer measurement, and can also be understood as being used to identify the QoE measurement collection task in the access network equipment and other network side equipment (for example, the measurement collection entity (MCE)). Therefore, the QoE reference is also called the QoE measurement identifier. Optionally, the QoE reference is a globally unique identifier. For example, the QoE reference is composed of a public land mobile network (PLMN) and a QoE measurement collection identifier, where the PLMN is composed of a mobile country code (MCC) and a mobile network code (MNC), and the QoE measurement collection identifier is allocated by the management system or operator.
[0420] Optionally, the application layer measurement configuration information also includes an application layer measurement configuration visible to the access network, for example, RAN visible QoE measurement quantities or measurement indicators (Available RAN Visible QoE Metrics), so that the delay measurement information of the associated packets reported by the terminal device to the access network device based on the access network visible application layer measurement configuration is in a form visible to the access network device. Exemplarily, the access network visible application layer measurement configuration also includes indication information for indicating the start of synchronization performance measurement, so as to instruct the terminal device to feed back the delay measurement information of the associated packets visible to the access network device (for example, the moment when the upper layer of the AS of the terminal device receives the associated packet from the AS of the terminal device) and / or the synchronization performance information visible to the access network device (for example, downlink synchronization deviation, etc.). It should be noted that the application layer measurement configuration visible to the access network can be received by the access network device from network elements such as CN, OAM or EM, or it can be determined by the access network device. For example, the access network device can generate access network visible application layer measurement configurations such as indication information for instructing to start synchronization performance measurement, so as to prompt the terminal device to feedback the delay measurement information of the associated packets visible to the access network device and / or the synchronization performance information visible to the access network device.
[0421] It should be noted that, in actual applications, the application layer measurement configuration of the AS notified by the access network device to the terminal device may be an application layer measurement configuration visible to the access network device, such as the RAN-visible QoE configuration; it may also be an application layer measurement configuration not visible to the access network device, such as a QoE measurement configuration container or a container for application layer measurement configuration; it may also include both application layer measurement configuration visible to the access network device and application layer measurement configuration not visible to the access network device. Specific limitations are not made here.
[0422] This step can also be understood as the access network device instructing the AS of the terminal device to notify the upper layer of the AS of the terminal device to start the synchronization performance measurement of the associated packets.
[0423] In step 802, the AS of the terminal device notifies the upper layer of the AS of the terminal device to start application layer measurement.
[0424] For example, after the AS of the terminal device receives the application layer measurement configuration, the AS of the terminal device sends the application layer measurement configuration to the upper layer of the AS of the terminal device, where the application layer measurement configuration instructs the terminal device to measure the synchronization performance of the associated packet, or the application layer measurement configuration includes a synchronization performance measurement indication of the associated packet. For an explanation of the application layer measurement configuration, please refer to the relevant introduction in step 801 above and will not be repeated here.
[0425] Because the upper layer of the terminal device's AS can enable measurement of the synchronization performance of associated packets based on application layer measurement indicators such as the latency measurement information and synchronization performance information of the associated packets added in the application layer measurement configuration, this step can also be understood as the terminal device's AS notifying the upper layer of the terminal device's AS to enable measurement of the synchronization performance of associated packets.
[0426] Step 803: The upper layer of the AS of the terminal device performs synchronization performance measurement of the associated packet.
[0427] Since the application layer measurement indicators in the application layer measurement configuration received by the upper layer of the AS of the terminal device include the delay measurement information of the associated packet (for example, the moment when the first protocol layer of the terminal device uploads the associated packet to the upper layer of the first protocol layer) and / or synchronization performance information (for example, downlink synchronization deviation, etc.), the upper layer of the AS of the terminal device, in addition to measuring the application layer measurement indicators in traditional technologies, will also perform synchronization performance measurement on the associated packets in the downlink data packets sent by the access network device, that is, measure the delay measurement information and / or synchronization performance information of the associated packets.
[0428] In one possible implementation, the associated packet received by the upper layer of the AS of the terminal device includes service time information, and the service time information is used to reflect the time when the upper layer of the AS of the terminal device uses the packet to perform the service. The time indicated by the service time information of different packets can reflect the order in which the receiving end parses or uses the packets. The time indicated by the service time information of different associated packets is similar. For example, if the difference between the time indicated by the service time information of a video packet of a certain service received by the upper layer of the AS of the terminal device and the time indicated by the service time information of a voice packet is less than a threshold, then the aforementioned two packets (i.e., the video packet and the voice packet) are two associated packets. The upper layer of the AS of the terminal device can record the time when the video packet is received and the time when the voice packet is received, and then determine the downlink synchronization deviation of the two associated packets based on the difference between the time when the video packet is received and the time when the voice packet is received.
[0429] In another possible implementation, the upper layer of the AS of the terminal device can determine whether the packet is an associated packet through the associated packet indication information in the received packet, and further determine whether to perform synchronization performance measurement on the packet. Exemplarily, the upper layer of the AS of the terminal device records the moment when the upper layer of the AS of the terminal device receives associated packet 1 (recorded as time information 1). In addition, the upper layer of the AS layer of the terminal device records the moment when the upper layer of the AS of the terminal device receives associated packet 2 (recorded as time information 2). Then, the upper layer of the AS of the terminal device determines the difference between time information 1 and time information 2 as the downlink synchronization deviation.
[0430] Step 804: The upper layer of the AS of the terminal device sends the application layer measurement result to the AS of the terminal device.
[0431] The application layer measurement result includes the synchronization performance measurement result of the associated packet.
[0432] After the upper layer of the AS of the terminal device determines the synchronization performance measurement result of the associated packet (for example, the delay measurement information and / or downlink synchronization deviation of the associated packet), the upper layer of the AS of the terminal device sends the synchronization performance measurement result to the AS of the terminal device.
[0433] Optionally, the message carrying the synchronization performance measurement result of the associated packet also includes a service identifier, which is used to indicate which service the synchronization performance of the associated packet reflects. Exemplarily, the service identifier can be an identifier of a QoS flow or a PDU session identifier.
[0434] It should be noted that if the application layer measurement configuration received by the upper layer of the AS of the terminal device may be an application layer measurement configuration visible to the access network device, the upper layer of the AS of the terminal device sends the delay measurement information and / or downlink synchronization deviation of the associated packet visible to the application layer to the AS of the terminal device; if the application layer measurement configuration received by the upper layer of the AS of the terminal device may be an application layer measurement configuration invisible to the access network device (for example, a QoE measurement configuration container), the upper layer of the AS of the terminal device reports the delay measurement information and / or downlink synchronization deviation of the associated packet in the form of a container; if the application layer measurement configuration received by the upper layer of the AS of the terminal device includes an application layer measurement configuration visible to the access network device and an application layer measurement configuration invisible to the access network device, the upper layer of the AS of the terminal device reports the delay measurement information and / or downlink synchronization deviation of the associated packet in the form of a container, and reports the delay measurement information and / or downlink synchronization deviation of the associated packet in a form visible to the application layer.
[0435] Step 805: The AS of the terminal device sends the application layer measurement result to the access network device.
[0436] The application layer measurement result includes the synchronization performance measurement result of the associated packet.
[0437] After the AS of the terminal device receives the synchronization performance measurement results of the associated packets reported by the upper layer of the AS of the terminal device (for example, the delay measurement information and / or downlink synchronization deviation of the associated packets), the AS of the terminal device reports the delay measurement information and / or downlink synchronization deviation of the associated packets to the access network device.
[0438] It should be noted that if the application layer measurement configuration received by the AS of the terminal device may be an application layer measurement configuration visible to the access network device, the AS of the terminal device sends the delay measurement information and / or downlink synchronization deviation of the associated packet visible to the application layer to the access network device; if the application layer measurement configuration received by the AS of the terminal device may be an application layer measurement configuration invisible to the access network device, the AS of the terminal device reports the delay measurement information and / or downlink synchronization deviation of the associated packet to the access network device in the form of a container; if the application layer measurement configuration received by the AS of the terminal device contains an application layer measurement configuration visible to the access network device and an application layer measurement configuration invisible to the access network device, the AS of the terminal device reports the delay measurement information and / or downlink synchronization deviation of the associated packet to the access network device in the form of a container, and reports the delay measurement information and / or downlink synchronization deviation of the associated packet to the access network device in an application layer visible form.
[0439] It should also be noted that if the access network device receives a measurement result reported in the form of a container (for example, the delay measurement information and / or downlink synchronization deviation of the associated packet encapsulated in the container), the access network device can send the measurement result to the measurement collection entity (MCE); if the access network device receives a measurement result visible to the access network (for example, the delay measurement information and / or downlink synchronization deviation of the associated packet visible to the access network), the access network device can optimize the wireless resource scheduling based on the measurement result.
[0440] In this embodiment, the access network device triggers the upper layer of the AS of the terminal device (for example, the application layer of the terminal device) to perform synchronization performance measurement on the associated packet by adding an indicator about the synchronization performance measurement of the associated packet in the application layer measurement indicator of the application layer measurement configuration (for example, the delay measurement information and / or synchronization performance information of the associated packet), and then the upper layer of the AS of the terminal device feeds back the synchronization performance. This is beneficial for using the application layer measurement configuration process in traditional technology to trigger the upper layer of the AS of the terminal device to perform synchronization performance measurement, so that the network side obtains measurement results related to synchronization performance to measure the transmission performance of the service. In addition, the upper layer of the AS of the terminal device can report the delay measurement information and / or synchronization performance information of the associated packet to the AS of the terminal device in a form visible to the access network, and then the AS of the terminal device can report the delay measurement information and / or synchronization performance information of the associated packet to the access network device in a form visible to the access network. This is beneficial for the access network device to obtain measurement results related to synchronization performance to measure the transmission performance of the service, and then optimize the network.
[0441] Corresponding to the scheme given in the above method embodiment, the embodiment of the present application also provides a corresponding communication device (also referred to as a communication device) and a communication system, which includes a module or unit for executing each part of the above embodiment. The module or unit can be software, hardware, or a combination of software and hardware. The following is only a brief description of the communication device and system. For the details of the implementation of the scheme, please refer to the description of the above method embodiment, which will not be repeated below.
[0442] Figure 9 shows a schematic diagram of the structure of a communication device 90 provided in this application. It should be understood that the core network devices in the method embodiments corresponding to Figures 2, 3, 4, 5, 6, or 7 can be based on the structure of the communication device 90 shown in Figure 9 of this embodiment. As shown in Figure 9, the communication device 90 may include a processor 901, a memory 903, and a communication interface 902. The processor 901 is coupled to the memory 903, and the processor 901 is coupled to the communication interface 902.
[0443] The communication interface 902 is connected to other communication devices via a communication link. For example, the communication interface 902 may include a network interface with an access network device (eg, the communication device 90 shown in FIG9 ), such as an S1 interface.
[0444] The processor 901 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or any combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof. The processor 901 may be a single processor or may include multiple processors, which is not specifically limited herein.
[0445] In addition, the aforementioned memory 903 is mainly used to store software programs and data. The memory 903 can exist independently and be connected to the processor 901. Optionally, the memory 903 can be integrated with the processor 901, for example, integrated into one or more chips. Among them, the memory 903 can store program codes for executing the technical solutions of the embodiments of the present application, and is controlled and executed by the processor 901. The various types of computer program codes executed can also be regarded as drivers for the processor 901. The memory 903 may include volatile memory (volatile memory), such as random-access memory (RAM); the memory may also include non-volatile memory (non-volatile memory), such as read-only memory (ROM), flash memory, hard disk drive (HDD) or solid-state drive (SSD); the memory 903 may also include a combination of the above types of memory. The memory 903 may refer to a single memory or may include multiple memories. Exemplarily, the memory 903 is used to store various data.
[0446] In one design, a communication device 90 is configured to execute the method of the core network device in the embodiment corresponding to FIG. 2 or FIG. The communication interface 902 is configured to obtain time information of the first packet in the first protocol data unit (PDU) set at the transmitting end, and to obtain time information of the last packet in the first PDU set at the receiving end; and the processor 901 is configured to determine a transmission delay between the transmitting end and the receiving end of the first PDU set based on the time information of the first packet at the transmitting end and the time information of the last packet at the receiving end.
[0447] In a possible implementation, the processor 901 is specifically configured for the core network device to determine the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
[0448] In one possible implementation, the interface between the sending end and the receiving end is an air interface; the time information of the first packet at the sending end is used to indicate the moment when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer, and the time information of the last packet at the receiving end is used to indicate the moment when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
[0449] In one example, the sending end is an access network device and the receiving end is a terminal device; the transmission delay of the first PDU set between the sending end and the receiving end is the air interface downlink delay of the first PDU set; the time information of the first packet at the sending end includes first time information, and the first time information is used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes second time information, and the second time information is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer.
[0450] The communication interface 902 is specifically used to receive first time information from the access network device; and obtain the moment when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set, and determine the second time information based on the sum of the moment when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set; or, receive the second time information from the access network device, the second time information being determined by the sum of the moment when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set. The processor 901 is specifically used to determine the difference between the moment indicated by the second time information and the moment indicated by the first time information as the air interface downlink delay of the first PDU set.
[0451] In another example, the sending end is a terminal device and the receiving end is an access network device; the transmission delay of the first PDU set between the sending end and the receiving end is the air interface uplink delay of the first PDU set; the time information of the first packet at the sending end includes third time information, and the third time information is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes fourth time information, and the fourth time information is used to indicate the moment when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer.
[0452] The communication interface 902 is specifically configured to receive third time information from the terminal device from the access network device; and receive fourth time information from the access network device. The processor 901 is specifically configured to determine the difference between the time indicated by the fourth time information and the time indicated by the third time information as the air interface uplink delay of the first PDU set.
[0453] In one possible implementation, the interface between the sending end and the receiving end is an NG port; the time information of the first packet at the sending end is used to indicate the moment when the sending end sends the first packet, and the time information of the last packet at the receiving end is used to indicate the moment when the receiving end receives the last packet.
[0454] In one example, the sending end is a core network device and the receiving end is an access network device; the transmission delay of the first PDU set between the sending end and the receiving end is the NG port downlink delay of the first PDU set; the time information of the first packet at the sending end includes the fifth time information, and the fifth time information is used to indicate the moment when the core network device sends the first packet; the time information of the last packet at the receiving end includes the sixth time information, and the sixth time information is used to indicate the moment when the access network device receives the last packet.
[0455] The communication interface 902 is specifically configured to receive sixth time information from the access network device. The processor 901 is specifically configured to record the fifth time information when sending the first PDU set, and determine the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG port downlink delay of the first PDU set.
[0456] In another example, the transmitting end is an access network device, and the receiving end is a core network device; the transmission delay of the first PDU set between the transmitting end and the receiving end is the NG interface uplink delay of the first PDU set; the time information of the first packet at the transmitting end includes seventh time information, and the seventh time information is used to indicate the time when the access network device sends the first packet; the time information of the last packet at the receiving end includes eighth time information, and the eighth time information is used to indicate the time when the core network device receives the last packet;
[0457] The communication interface 902 is specifically configured to receive seventh time information from the access network device. The processor 901 is specifically configured to record the eighth time information when receiving the first PDU set, and determine the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG port uplink delay of the first PDU set.
[0458] In a possible implementation, the communication interface 902 is further configured to receive identification information of the first PDU set and an air interface downlink delay of the first PDU set from the access network device.
[0459] In one possible embodiment, the processor 901 is also used to determine the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the identification information of the first PDU set, the air interface downlink delay of the first PDU set, the air interface uplink delay of the first PDU set, the NG port downlink delay of the first PDU set, and the NG port uplink delay of the first PDU set.
[0460] In another design, communication device 90 is configured to execute the method described above for a core network device in the embodiment corresponding to FIG. 4 or FIG. 5 . Communication interface 902 is configured to send first indication information to the access network device, where the first indication information indicates that only the first and last packets in a PDU set should be measured. Alternatively, the first indication information indicates that transmission delay should be measured at the PDU set granularity.
[0461] In one example, the communication device 90 notifies the access network device via the control plane to enable PDU set-granularity latency measurement. Exemplarily, the processor 901 sends control plane signaling to the access network device, the control plane signaling carrying first indication information. Optionally, the control plane signaling can be a latency measurement request message or other message. Optionally, the processor 901 also sends identification information of the first PDU set to the access network device, instructing the access network device to perform PDU set-granularity latency measurement on the first PDU set.
[0462] In another example, the communication device 90 notifies the access network device through the user plane to enable PDU set granularity delay measurement. Exemplarily, the processor 901 carries the first indication information in the first packet and the last packet in the first PDU set, respectively, while the first indication information is not carried in other packets in the first PDU set. Optionally, the first indication information can also be carried in the GTP-U header of the packet. For example, the GTP-U header of the first packet and the GTP-U header of the last packet in the first PDU set respectively carry the first indication information.
[0463] In one possible implementation, the communication interface 902 is specifically configured to receive sixth time information from the access network device. The processor 901 is specifically configured to record the fifth time information when sending the first PDU set, and determine the difference between the time indicated by the sixth time information and the time indicated by the fifth time information as the NG interface downlink delay of the first PDU set.
[0464] In one possible implementation, the communication interface 902 is specifically configured to receive the seventh time information from the access network device. The processor 901 is specifically configured to record the eighth time information when receiving the first PDU set, and determine the difference between the time indicated by the eighth time information and the time indicated by the seventh time information as the NG interface uplink delay of the first PDU set.
[0465] In another design, a communication device 90 is configured to execute the method of the core network device in the embodiment corresponding to FIG. 6 , wherein a communication interface 902 is configured to obtain time information of two PDU sets, where the time information of each PDU set is used to determine a time when associated packets in the PDU set arrive at a receiving end; and a processor 901 is configured to determine synchronization performance information of the two PDU sets based on the time information of the two PDU sets, where the synchronization performance information indicates a time difference between the arrival of associated packets in one PDU set at the receiving end and the arrival of associated packets in the other PDU set at the receiving end.
[0466] In one possible embodiment, the two PDU sets include a first PDU set and a second PDU set, and the synchronization performance information includes a downlink synchronization deviation; the time information of the first PDU set includes delay measurement information of associated packets in the first PDU set, and the time information of the second PDU set includes delay measurement information of associated packets in the second PDU set.
[0467] Processor 901 is specifically used to: determine the time when the associated packets in the first PDU set arrive at the terminal device based on the delay measurement information of the associated packets in the first PDU set; determine the time when the associated packets in the second PDU set arrive at the terminal device based on the delay measurement information of the associated packets in the second PDU set; and determine the downlink synchronization deviation based on the difference between the time when the associated packets in the first PDU set arrive at the terminal device and the time when the associated packets in the second PDU set arrive at the terminal device.
[0468] Optionally, the delay measurement information of the associated packets in the first PDU set includes the NG port downlink delay of the associated packets in the first PDU set and the air interface downlink delay of the associated packets in the first PDU set. The time when the associated packets in the first PDU set arrive at the terminal device is equal to the sum of the NG port downlink delay of the associated packets in the first PDU set, the air interface downlink delay of the associated packets in the first PDU set, and the time when the core network device sends the associated packets in the first PDU set. The delay measurement information of the associated packets in the second PDU set includes the NG port downlink delay of the associated packets in the second PDU set and the air interface downlink delay of the associated packets in the second PDU set. The time when the associated packets in the second PDU set arrive at the terminal device is equal to the sum of the NG port downlink delay of the associated packets in the second PDU set, the air interface downlink delay of the associated packets in the second PDU set, and the time when the core network device sends the associated packets in the second PDU set. Optionally, the associated packets in the second PDU set include the last packet in the second PDU set, and the associated packets in the first PDU set include the last packet in the first PDU set.
[0469] In a possible implementation, the two PDU sets include a first PDU set and a second PDU set, and the synchronization performance information includes an uplink synchronization deviation; the time information of the first PDU set includes a time when the core network device receives an associated packet in the first PDU set, and the time information of the second PDU set includes a time when the core network device receives an associated packet in the second PDU set;
[0470] The processor 901 is specifically configured to determine the uplink synchronization deviation based on a difference between a time point at which an associated packet in the first PDU set is received and a time point at which an associated packet in the second PDU set is received.
[0471] In a possible implementation, the communication interface 902 is configured to send third indication information to the access network device, where the third indication information is used to instruct the access network device to trigger measurement of synchronization performance of two PDU sets.
[0472] In another design, communication device 90 is configured to execute the method of the core network device in the embodiment corresponding to FIG. 7 . Communication interface 902 is configured to send third indication information to the access network device. Processor 901 is configured to determine an association between two PDU sets, and communication interface 902 is configured to notify the access network device of the association between the two PDU sets.
[0473] In one example, the communication device 90 notifies the access network device of the association relationship between the two PDU sets through the user. Exemplarily, the processor 901 carries association information indicating another PDU set in an association packet of one PDU set, where the association information is used to indicate that one PDU set has an association relationship with the other PDU set.
[0474] In another example, the communication device 90 notifies the access network device of the association relationship between the two PDU sets through a control surface. Exemplarily, the communication interface 902 sends identification information of the first PDU set and identification information of the second PDU set to the access network device to instruct the access network device to measure the synchronization performance between the first PDU set and the second PDU set, i.e., the first PDU set and the second PDU set have an association relationship.
[0475] It should be noted that the specific implementation methods and beneficial effects of this embodiment can be referred to the method of the core network device in the above embodiment, and will not be repeated here.
[0476] Figure 10 is a schematic diagram of the structure of another communication device 100 provided in this application. It should be understood that the terminal device in the method embodiments corresponding to Figures 4, 5, 7 or 8 can be based on the structure of the communication device 100 shown in Figure 10 of this embodiment.
[0477] Communication device 100 includes at least one processor 1001, at least one memory 1002, and at least one transceiver 1003. Processor 1001, memory 1002, and transceiver 1003 are connected. Optionally, communication device 100 may further include an input device 1005, an output device 1006, and one or more antennas 1004. Antenna 1004 is connected to transceiver 1003, and input device 1005 and output device 1006 are connected to processor 1001.
[0478] In this embodiment, the memory 1002 is mainly used to store software programs and data. The memory 1002 can be independent and connected to the processor 1001. Optionally, the memory 1002 can be integrated with the processor 1001, for example, integrated into one or more chips. Among them, the memory 1002 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 1001. The various types of computer program codes executed can also be regarded as drivers for the processor 1001. It should be understood that Figure 10 in this embodiment only shows one memory and one processor, but in actual applications, the communication device 100 can have multiple processors or multiple memories, which is not limited here. In addition, the memory 1002 can also be referred to as a storage medium or a storage device. The memory 1002 can be a storage element on the same chip as the processor (i.e., an on-chip storage element), or an independent storage element, which is not limited in this embodiment of the present application.
[0479] In this embodiment, the transceiver 1003 can be used to support the reception or transmission of radio frequency signals between the communication device 100 and the access network device, and the transceiver 1003 can be connected to the antenna 1004. The transceiver 1003 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 1004 can receive radio frequency signals. The receiver Rx of the transceiver 1003 is used to receive the radio frequency signals from the antenna 1004, convert the radio frequency signals into digital baseband signals or digital intermediate frequency signals, and provide the digital baseband signals or digital intermediate frequency signals to the processor 1001 so that the processor 1001 can further process the digital baseband signals or digital intermediate frequency signals, such as demodulation and decoding. In addition, the transmitter Tx in the transceiver 1003 is also used to receive modulated digital baseband signals or digital intermediate frequency signals from the processor 1001, convert the modulated digital baseband signals or digital intermediate frequency signals into radio frequency signals, and transmit the radio frequency signals through one or more antennas 1004. Specifically, the receiver Rx can selectively perform one or more stages of down-mixing and analog-to-digital conversion on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal. The order of the down-mixing and analog-to-digital conversion processes is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal. The order of the up-mixing and digital-to-analog conversion processes is adjustable. The digital baseband signal and the digital intermediate frequency signal may be collectively referred to as digital signals.
[0480] It should be understood that the aforementioned transceiver 1003 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, a device in the transceiver unit that implements a receiving function may be referred to as a receiving unit, and a device in the transceiver unit that implements a transmitting function may be referred to as a transmitting unit. That is, the transceiver unit includes a receiving unit and a transmitting unit. The receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0481] Processor 1001 can be a baseband processor or a central processing unit (CPU). The baseband processor and CPU can be integrated or separate. Processor 1001 can be used to implement various functions for the terminal device, such as processing communication protocols and communication data, controlling the entire terminal device, executing software programs, and processing software program data; or assisting in completing computing tasks, such as graphics, image processing, or audio processing. Alternatively, processor 1001 can be used to implement one or more of the above functions.
[0482] In addition, the output device 1006 communicates with the processor 1001 and can display information in a variety of ways, which are not specifically limited here.
[0483] In one design, a communication device 100 is configured to execute the method of the terminal device described in the embodiment corresponding to FIG. 4 or FIG. A transceiver 1003 in the communication device 100 is configured to receive second indication information from an access network device, the second indication information indicating measurement of transmission delay at a PDU set granularity, and to send delay measurement information for the first PDU set to the access network device. Optionally, the second indication information includes identification information for the first PDU set.
[0484] In one possible embodiment, the delay measurement information of the first PDU set includes the air interface downlink delay of the first PDU set. The transceiver 1003 is configured to obtain first time information from the access network device, the first time information being used to indicate the moment when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the processor 1001 is configured to record second time information, the second time information being used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer; and determine that the difference between the moment indicated by the second time information and the moment indicated by the first time information is the air interface downlink delay of the first PDU set.
[0485] Optionally, the first time information includes a first timestamp configured by the access network device in the first packet in the first PDU set.
[0486] In one possible embodiment, the transceiver 1003 is also used to configure a second timestamp in the first packet in the first PDU set sent to the access network device, and the second timestamp is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
[0487] In another design, the communication device 100 is configured to execute the method of the terminal device in the embodiment corresponding to FIG7 . The transceiver 1003 in the communication device 100 is configured to receive fourth indication information from the access network device, the fourth indication information being configured to instruct the terminal device to trigger measurement of synchronization performance of two PDU sets; the processor 1001 is configured to determine synchronization performance information of the two PDU sets based on the delay measurement information of the two PDU sets, the synchronization performance information being configured to indicate a time difference between the arrival of associated packets in one PDU set at a receiving end and the arrival of associated packets in another PDU set at the receiving end; and the transceiver 1003 is configured to send the synchronization performance information to the access network device.
[0488] In a possible implementation, the transceiver 1003 is further configured to obtain an association relationship between two PDU sets.
[0489] Optionally, the association packet in a PDU set carries association information indicating another PDU set, where the association information is used to indicate that an association relationship exists between one PDU set and another PDU set.
[0490] Optionally, the two PDU sets include a first PDU set and a second PDU set, the association information includes first association information of the first PDU set and second association information of the second PDU set, the first association information includes the sequence number of the associated package in the second PDU set, and the second association information includes the sequence number of the associated package in the first PDU set.
[0491] Optionally, the associated packets in the second PDU set include the last packet in the second PDU set, and the associated packets in the first PDU set include the last packet in the first PDU set.
[0492] In one possible embodiment, the synchronization performance information includes a downlink synchronization deviation, which is used to indicate the time deviation between the arrival of packets in one of the two PDU sets at the terminal device and the arrival of packets in the other of the two PDU sets at the terminal device; the delay measurement information of the two PDU sets includes eleventh time information and twelfth time information, the eleventh time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the first PDU set to the upper layer of the first protocol layer, and the twelfth time information is used to indicate the moment when the first protocol layer of the terminal device uploads the associated packets in the second PDU set to the upper layer of the first protocol layer.
[0493] The processor 1001 is specifically configured to determine a difference between the eleventh time information and the twelfth time information as a downlink synchronization deviation.
[0494] In another design, the communication device 100 is configured to execute the method of the terminal device described in the embodiment corresponding to FIG8 . The transceiver 1003 is configured to receive an application layer measurement configuration. The processor 1001 is configured to submit the application layer measurement configuration to an upper layer of the AS of the terminal device and determine a synchronization performance measurement result of an associated packet. The transceiver 1003 is further configured to transmit the synchronization performance measurement result of the associated packet to an access network device.
[0495] It should be noted that the specific implementation and beneficial effects of this embodiment can be referred to the method of the terminal device in the above embodiment, and will not be repeated here.
[0496] Figure 11 is a schematic diagram of the structure of another communication device 110 provided in this embodiment. It should be understood that the access network device in the method embodiments corresponding to Figures 4, 5, 7, or 8 can be based on the structure of the communication device 110 shown in Figure 11 in this embodiment.
[0497] The communication device 110 includes at least one processor 1101, at least one memory 1102, at least one transceiver 1103, at least one network interface 1105, and one or more antennas 1104. The processor 1101, memory 1102, transceiver 1103, and network interface 1105 are connected via a connection device, and the antenna 1104 is connected to the transceiver 1103. The aforementioned connection device may include various interfaces, transmission lines, or buses, etc., and this embodiment does not limit this.
[0498] Among them, the memory 1102 is mainly used to store software programs and data. The memory 1102 can be independent and connected to the processor 1101. Optionally, the memory 1102 can be integrated with the processor 1101, for example, integrated into one or more chips. Among them, the memory 1102 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 1101. The various types of computer program codes executed can also be regarded as drivers for the processor 1101. It should be understood that Figure 11 in this embodiment only shows one memory and one processor, but in actual applications, the communication device 110 can have multiple processors or multiple memories, which are not specifically limited here. In addition, the memory 1102 can also be referred to as a storage medium or a storage device, etc. The memory 1102 can be a storage element on the same chip as the processor (i.e., an on-chip storage element), or an independent storage element, which is not limited in the embodiments of the present application.
[0499] In this embodiment, the transceiver 1103 can be used to support the reception or transmission of radio frequency signals between the communication device 110 and the terminal device, and the transceiver 1103 can be connected to the antenna 1104. The transceiver 1103 includes a transmitter Tx and a receiver Rx. Specifically, one or more antennas 1104 can receive radio frequency signals. The receiver Rx of the transceiver 1103 is used to receive the radio frequency signals from the antenna 1104, convert the radio frequency signals into digital baseband signals or digital intermediate frequency signals, and provide the digital baseband signals or digital intermediate frequency signals to the processor 1101 so that the processor 1101 can further process the digital baseband signals or digital intermediate frequency signals, such as demodulation and decoding. In addition, the transmitter Tx in the transceiver 1103 is also used to receive modulated digital baseband signals or digital intermediate frequency signals from the processor 1101, convert the modulated digital baseband signals or digital intermediate frequency signals into radio frequency signals, and transmit the radio frequency signals through one or more antennas 1104. Specifically, the receiver Rx can selectively perform one or more stages of down-mixing and analog-to-digital conversion on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal. The order of the down-mixing and analog-to-digital conversion processes is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal. The order of the up-mixing and digital-to-analog conversion processes is adjustable. The digital baseband signal and the digital intermediate frequency signal may be collectively referred to as digital signals.
[0500] It should be understood that the aforementioned transceiver 1103 may also be referred to as a transceiver unit, a transceiver, a transceiver device, etc. Optionally, a device in the transceiver unit that implements a receiving function may be referred to as a receiving unit, and a device in the transceiver unit that implements a transmitting function may be referred to as a transmitting unit. That is, the transceiver unit includes a receiving unit and a transmitting unit. The receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0501] Furthermore, the aforementioned processor 1101 is primarily used to process communication protocols and communication data, control the entire network device, execute software programs, and process software program data, for example, to support the communication device 110 in performing the actions described in the aforementioned embodiments. The communication device 110 may include a baseband processor and a central processing unit. The baseband processor is primarily used to process communication protocols and communication data, while the central processing unit is primarily used to control the entire communication device 110, execute software programs, and process software program data. As shown in Figure 11, the processor 1101 may integrate the functions of a baseband processor and a central processing unit. Those skilled in the art will appreciate that the baseband processor and the central processing unit may also be independent processors interconnected via a bus or other technology. Those skilled in the art will appreciate that the communication device 110 may include multiple baseband processors to accommodate different network standards, multiple central processing units to enhance its processing capabilities, and that the various components of the communication device 110 may be connected via various buses. The baseband processor may also be referred to as a baseband processing circuit or a baseband processing chip. The central processing unit may also be referred to as a central processing circuit or a central processing chip. The function of processing the communication protocol and communication data may be built into the processor, or may be stored in the memory in the form of a software program, and the processor executes the software program to implement the baseband processing function.
[0502] In addition, the aforementioned network interface 1105 is used to connect the communication device 110 to other communication devices via a communication link. Specifically, the network interface 1105 may include a network interface between the communication device 110 and a core network element, such as an S1 interface; the network interface 1105 may also include a network interface between the communication device 110 and other network devices (such as other access network devices or core network elements), such as an X2 or Xn interface.
[0503] In one design, the communication device 110 is configured to execute the method of the access network device described in the embodiment corresponding to FIG. 4 or FIG. The transceiver 1103 is configured to obtain time information of the first packet in the first PDU set at the transmitting end, and to obtain time information of the last packet in the first PDU set at the receiving end. The processor 1101 is configured to determine a transmission delay between the transmitting end and the receiving end of the first PDU set based on the time information of the first packet at the transmitting end and the time information of the last packet at the receiving end.
[0504] In a possible implementation, the processor 1101 is specifically configured to determine the difference between time information of the last packet at the receiving end and time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending en...
Claims
1. A delay measurement method, It is characterized in that include: The core network device obtains time information of the first packet in the first protocol data unit PDU set at the sending end; The core network device obtains time information of the last packet in the first PDU set at the receiving end; The core network device determines a transmission delay of the first PDU set between the sending end and the receiving end based on time information of the first packet at the sending end and time information of the last packet at the receiving end.
2. The method according to claim 1, It is characterized in that The core network device determines, based on time information of the first packet at the transmitting end and time information of the last packet at the receiving end, a transmission delay of the first PDU set between the transmitting end and the receiving end, including: The core network device determines the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
3. The method according to claim 2, It is characterized in that The interface between the sending end and the receiving end is an air interface; the time information of the first packet at the sending end is used to indicate the moment when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer, and the time information of the last packet at the receiving end is used to indicate the moment when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
4. The method according to claim 3, It is characterized in that The sending end is an access network device, and the receiving end is a terminal device; the transmission delay of the first PDU set between the sending end and the receiving end is the air interface downlink delay of the first PDU set; the time information of the first packet at the sending end includes first time information, and the first time information is used to indicate the time when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes second time information, and the second time information is used to indicate the time when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer; The core network device obtains time information of the first packet in the first PDU set at the sending end, including: The core network device receives the first time information from the access network device; The core network device obtains time information of the last packet in the first PDU set at the receiving end, including: The core network device obtains the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set, and determines the second time information based on the sum of the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set; or, The core network device receives the second time information from the access network device, and the second time information is determined by the sum of the time when the access network device receives the last packet in the first PDU set from the core network device and the air interface downlink delay of the last packet in the first PDU set.
5. The method according to claim 3, It is characterized in that The transmitting end is a terminal device, and the receiving end is an access network device; the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set; the time information of the first packet at the transmitting end includes third time information, and the third time information is used to indicate the time when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes fourth time information, and the fourth time information is used to indicate the time when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer; The core network device obtains time information of the first packet in the first PDU set at the sending end, including: The core network device receives the third time information from the terminal device from the access network device; The core network device obtains time information of the last packet in the first PDU set at the receiving end, including: The core network device receives the fourth time information from the access network device.
6. The method according to claim 2, It is characterized in that The interface between the sending end and the receiving end is the interface between the core network device and the access network device; the time information of the first packet at the sending end is used to indicate the moment when the sending end sends the first packet, and the time information of the last packet at the receiving end is used to indicate the moment when the receiving end receives the last packet.
7. The method according to claim 6, It is characterized in that The sending end is a core network device, and the receiving end is an access network device; the transmission delay of the first PDU set between the sending end and the receiving end is the downlink delay of the interface between the core network device and the access network device of the first PDU set; the time information of the first packet at the sending end includes fifth time information, and the fifth time information is used to indicate the time when the core network device sends the first packet; the time information of the last packet at the receiving end includes sixth time information, and the sixth time information is used to indicate the time when the access network device receives the last packet; The core network device obtains time information of the last packet in the first PDU set at the receiving end, including: The core network device receives the sixth time information from the access network device.
8. The method according to claim 6, It is characterized in that The sending end is an access network device, and the receiving end is a core network device; the transmission delay of the first PDU set between the sending end and the receiving end is the uplink delay of the interface between the core network device and the access network device of the first PDU set; the time information of the first packet at the sending end includes seventh time information, and the seventh time information is used to indicate the time when the access network device sends the first packet; the time information of the last packet at the receiving end includes eighth time information, and the eighth time information is used to indicate the time when the core network device receives the last packet; The core network device obtains time information of the first packet in the first PDU set at the sending end, including: The core network device receives the seventh time information from the access network device.
9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: The core network device sends first indication information to the access network device, where the first indication information is used to indicate that only the first packet and the last packet in the PDU set are to be measured.
10. The method according to any one of claims 1 to 3, 5 to 8, It is characterized in that The method further comprises: The core network device receives identification information of the first PDU set and air interface downlink delay of the first PDU set from the access network device.
11. The method according to any one of claims 1 to 10, It is characterized in that The method further comprises: The core network device determines the uplink delay and / or downlink delay of the first PDU set between the terminal device and the core network device based on the identification information of the first PDU set, the air interface downlink delay of the first PDU set, the air interface uplink delay of the first PDU set, the downlink delay of the interface between the core network device and the access network device of the first PDU set, and the uplink delay of the interface between the core network device and the access network device of the first PDU set.
12. A delay measurement method, It is characterized in that include: The access network device obtains time information of the first packet in the first PDU set at the sending end; The access network device obtains time information of the last packet in the first PDU set at the receiving end; The access network device determines a transmission delay of the first PDU set between the sending end and the receiving end based on time information of the first packet at the sending end and time information of the last packet at the receiving end.
13. The method according to claim 12, It is characterized in that The access network device determines, based on time information of the first packet at the transmitting end and time information of the last packet at the receiving end, a transmission delay of the first PDU set between the transmitting end and the receiving end, including: The access network device determines the difference between the time information of the last packet at the receiving end and the time information of the first packet at the sending end as the transmission delay of the first PDU set between the sending end and the receiving end.
14. The method according to claim 13, It is characterized in that The interface between the sending end and the receiving end is an air interface; the time information of the first packet at the sending end is used to indicate the moment when the first protocol layer of the sending end receives the first packet from the upper layer of the first protocol layer, and the time information of the last packet at the receiving end is used to indicate the moment when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
15. The method according to claim 14, It is characterized in that The sending end is an access network device, and the receiving end is a terminal device; the transmission delay of the first PDU set between the sending end and the receiving end is the air interface downlink delay of the first PDU set; the time information of the first packet at the sending end includes first time information, and the first time information is used to indicate the time when the first protocol layer of the access network device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes second time information, and the second time information is used to indicate the time when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer; The access network device obtains time information of the last packet in the first PDU set at the receiving end, including: The access network device receives the second time information from the terminal device.
16. The method according to claim 13, It is characterized in that The method further comprises: The access network device configures a first timestamp in a first packet in a first PDU set sent to a terminal device, where the first timestamp is used to indicate a time when a first protocol layer of the access network device receives the first packet from an upper layer of the first protocol layer; The air interface downlink delay of the access network device receiving the first PDU set from the terminal device.
17. The method according to claim 14, It is characterized in that The transmitting end is a terminal device, and the receiving end is an access network device; the transmission delay of the first PDU set between the transmitting end and the receiving end is the air interface uplink delay of the first PDU set; the time information of the first packet at the transmitting end includes third time information, and the third time information is used to indicate the time when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer; the time information of the last packet at the receiving end includes fourth time information, and the fourth time information is used to indicate the time when the first protocol layer of the access network device uploads the last packet to the upper layer of the first protocol layer; The access network device obtains time information of the first packet in the first PDU set at the sending end, including: The access network device receives the third time information from the terminal device.
18. The method according to claim 17, It is characterized in that The third time information includes a second timestamp configured by the terminal device in the first packet of the first PDU set; The access network device obtains time information of the first packet in the first PDU set at the sending end, including: The access network device obtains the second timestamp from the first packet in the first PDU set from the terminal device.
19. The method according to any one of claims 12 to 18, It is characterized in that The first packet in the first PDU set sent by the sender to the receiver includes a timestamp configured by the sender, and the timestamp is used to indicate the moment when the first protocol layer of the sender receives the first packet from the upper layer of the first protocol layer.
20. The method according to claim 19, It is characterized in that The first packet in the first PDU set also includes identification information of the first PDU set, the last packet in the first PDU set includes identification information of the first PDU set, and other packets in the first PDU set do not include identification information of the first PDU set.
21. The method according to claim 19, It is characterized in that Each packet in the first PDU set includes identification information of the first PDU set; the first packet in the first PDU set also includes first packet indication information, and the first packet indication information is used to indicate that the packet carrying the first packet indication information is the first packet in the first PDU set; the last packet in the first PDU set also includes tail packet indication information, and the tail packet indication information is used to indicate that the packet carrying the tail packet indication information is the tail packet in the first PDU set.
22. The method according to claim 20 or 21, It is characterized in that Each packet in the first PDU set also includes a sequence number of each packet in the first PDU set.
23. The method according to claim 21 or 22, It is characterized in that Each packet in the first PDU set carries a timestamp configured by the sender, and the timestamp in each packet is used to indicate the moment when the first protocol layer of the terminal device receives the packet from the upper layer of the first protocol layer.
24. The method according to any one of claims 12 to 18, It is characterized in that The last packet in the first PDU set sent by the sender to the receiver includes the timestamp of the first packet in the first PDU set sent by the sender to the receiver, and the timestamp is used to indicate the moment when the first protocol layer of the sender receives the first packet from the upper layer of the first protocol layer; other packets in the first PDU set do not carry timestamps.
25. The method according to any one of claims 12 to 24, It is characterized in that The method further comprises: The access network device sends second indication information to the terminal device, where the second indication information is used to indicate the transmission delay of measuring the PDU set granularity.
26. The method according to claim 25, It is characterized in that The second indication information includes identification information of the first PDU set.
27. The method according to claim 25 or 26, It is characterized in that Before the access network device sends the second indication information to the terminal device, the method further includes: The access network device receives first indication information from the core network device, where the first indication information is used to indicate that only the first packet and the last packet in the PDU set are to be measured.
28. A delay measurement method, It is characterized in that include: The terminal device receives second indication information from the access network device, where the second indication information is used to indicate the transmission delay of the measurement PDU set granularity; The terminal device sends delay measurement information of the first PDU set to the access network device.
29. The method according to claim 28, It is characterized in that The second indication information includes identification information of the first PDU set.
30. The method according to claim 28 or 29, It is characterized in that The delay measurement information of the first PDU set includes the air interface downlink delay of the first PDU set; The method further comprises: The terminal device acquires first time information, where the first time information is used to indicate a time when the first protocol layer of the access network device receives the first packet from an upper layer of the first protocol layer; The terminal device acquires second time information, where the second time information is used to indicate the time when the first protocol layer of the terminal device uploads the last packet to an upper layer of the first protocol layer; The terminal device determines that the difference between the time indicated by the second time information and the time indicated by the first time information is the air interface downlink delay of the first PDU set.
31. The method according to claim 30, It is characterized in that The first time information includes a first timestamp configured by the access network device in the first packet of the first PDU set.
32. The method according to claim 28 or 29, It is characterized in that The method further comprises: The terminal device configures a second timestamp for the first packet in the first PDU set sent to the access network device, and the second timestamp is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
33. The method according to claim 28 or 29, It is characterized in that The delay measurement information of the first PDU set includes second time information and / or third time information, the second time information is used to indicate the moment when the first protocol layer of the terminal device uploads the last packet to the upper layer of the first protocol layer, and the third time information is used to indicate the moment when the first protocol layer of the terminal device receives the first packet from the upper layer of the first protocol layer.
34. A communication device, It is characterized in that including a processor and a memory; wherein the memory stores a computer program; The processor calls the computer program to cause the communication device to perform the method according to any one of claims 1 to 11.
35. A communication device, It is characterized in that including a processor and a memory; wherein the memory stores a computer program; The processor calls the computer program to cause the communication device to perform the method according to any one of claims 12 to 27.
36. A communication device, It is characterized in that including a processor and a memory; wherein the memory stores a computer program; The processor calls the computer program to cause the communication device to perform the method according to any one of claims 28 to 33.
37. A computer readable storage medium, It is characterized in that Instructions are stored, and when the instructions are executed on a computer, the computer executes the method as claimed in any one of claims 1 to 11; or, executes the method as claimed in any one of claims 12 to 27; or, executes the method as claimed in any one of claims 28 to 33.
Citation Information
Patent Citations
Time delay measurement method and communication device
CN119071192A
Method and device for measuring latency
CN111064629A
Time delay sensitive network communication method and device
CN111200846A
Communication method and device
CN113365287A
Determination method and device for time delay budget
CN115967954A
