Time delay measurement method and communication device
By obtaining the time information of the first and last packets in the PDU set, calculating the time difference, realizing the delay measurement of the PDU set, solving the problem that the transmission delay of the PDU set cannot be measured in the prior art, and improving network performance and User experience.
Patent Information
- Application Number
- CN202310647514.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
AI Technical Summary
The prior art is difficult to accurately measure the transmission delay of protocol data units (PDUs) sets in communication networks, especially in services such as virtual reality with low latency requirements. Traditional methods can only measure the delay of a single data packet and cannot reflect it. Overall quality of the business.
The core network device or access network device obtains the time information of the first packet and the last packet in the PDU set, and calculates the time difference between the two to determine the transmission delay of the PDU set, including the air interface downlink delay and air interface uplink Delay, NG port downlink delay and NG port uplink delay realize overall delay measurement of PDU set.
It solves the problem that traditional technology cannot obtain the transmission delay of PDU sets, improves network transmission performance and user experience, can optimize transmission resources, reduce signaling overhead, and improves delay measurement efficiency.
Smart Images

Figure CN119071192A_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] 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 latency of less than 0.5ms. In order to ensure the performance of the service, operators need to know the latency performance of the current network. At present, the communication standard introduces a QoS monitoring function for the quality of service (QoS) flow level, which is used to measure the transmission delay of the data packet corresponding to a QoS flow between the user plane of the access network device and the core network device and 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 and 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 (ie, the transmission delay at the packet granularity) based on the received delay measurement information.
[0003] 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 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 the image, otherwise the terminal device cannot display the frame of the 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.
[0004] How to obtain the transmission delay of a PDU set is an urgent problem to be solved. Summary of the invention
[0005] 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 interfaces of a transmitting and receiving end.
[0006] In a first aspect, the present application provides a delay measurement method, which can be executed 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 the time information of the first packet in the first protocol data unit PDU set at the sending end, and obtains the 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.
[0007] 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.
[0008] 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.
[0009] Exemplarily, if 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.
[0010] 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.
[0011] 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 port downlink delay, and the NG port 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.
[0012] In a 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.
[0013] In this implementation, 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, that is, the time interval between the moment when the sending end starts to transmit 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. Since the first and last packets in the first PDU set are considered instead of only some packets in the first PDU set, it is helpful to obtain an accurate transmission delay of the first PDU set from the sending end to the receiving end.
[0014] In a possible implementation, if the sending end is an access network device and the receiving end is a terminal device, or 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 is used to indicate 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 is used to indicate the time when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
[0015] 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.
[0016] In one example, if 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. In this case, 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; 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.
[0017] In this example, first, the specific implementation method of the core network device obtaining the time information of the first packet in the first PDU set at the sending end may be: the core network device receives the first time information from the access network device. In addition, the specific implementation method of the core network device obtaining the time information of the last packet in the first PDU set at the receiving end may be: 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 the core network device obtains 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.
[0018] In this example, the core network device is 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), and determines the difference between the second time information and the first time information as the air interface downlink delay of the first PDU set. Therefore, the problem that the core network device cannot obtain the downlink transmission delay of a PDU set in the air interface in the traditional technology 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, and improving the air interface transmission performance.
[0019] 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 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; 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.
[0020] In this example, first, the specific implementation method for the core network device to obtain the time information of the first packet in the first PDU set at the sending end may be: the core network device receives the third time information from the terminal device from the access network device. In addition, the specific implementation method for the core network device to obtain the time information of the last packet in the first PDU set at the receiving end may be: the core network device receives the fourth time information from the access network device. Then, 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.
[0021] In this example, the core network device is based on being 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 core network device in the traditional technology cannot obtain the uplink transmission delay of a PDU set in 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, and improving the air interface transmission performance.
[0022] In a 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 port. In this case, 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, and the time information of the last packet at the receiving end is used to indicate the time when the receiving end receives the last packet.
[0023] Optionally, the first protocol layer is a PDCP layer or an SDAP layer. For example, the first protocol layer is a PDCP layer, and an upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer, and an upper layer of the first protocol layer is an application layer.
[0024] In one example, 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 NG port downlink delay of the first PDU set. In this case, the time information of the first packet at the sending end includes the fifth time information, which 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 the sixth time information, which is used to indicate the time when the access network device receives the last packet.
[0025] In this example, the specific implementation method of the core network device obtaining the time information of the last packet in the first PDU set at the receiving end may be: the core network device receives the sixth time information from the access network device. In addition, the core network device can record the fifth time information when sending the first PDU set. Then, 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.
[0026] 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, and then 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. Therefore, the problem that the core network device in the traditional technology cannot obtain the downlink transmission delay of a PDU set at the NG port 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, and improving the NG port transmission performance.
[0027] In another example, 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. In this case, 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 time when the access network device sends the first packet; the time information of the last packet at the receiving end includes the eighth time information, and the eighth time information is used to indicate the time when the core network device receives the last packet.
[0028] In this example, the specific implementation method of the core network device obtaining the time information of the first packet in the first PDU set at the sending end may be: the core network device receives the seventh time information from the access network device. In addition, the core network device can record the eighth time information when receiving the first PDU set. Then, 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.
[0029] 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, and then 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. Therefore, the problem that the core network device cannot obtain the uplink transmission delay of a PDU set at the NG port in the traditional technology 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, and improving the NG port transmission performance.
[0030] In a possible implementation, the delay measurement method further includes: the core network device sends a first indication message to the access network device, and the first indication message 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 message is used to indicate the transmission delay of the PDU set granularity. After the access network device receives the first indication message, the access network device turns on the function of measuring the transmission delay of the PDU set granularity.
[0031] Optionally, the first indication information is carried in control plane signaling, and may also be carried in a data packet on the user plane.
[0032] In one example, the core network device notifies the access network device through the control plane to enable the PDU set granularity delay measurement. Optionally, the control plane signaling can be a delay measurement request message or other messages. Optionally, the core network device also sends the identification information of the first PDU set to the access network device to instruct the access network device to perform the PDU set granularity delay measurement on the first PDU set.
[0033] In another example, the core network device notifies the access network device through the user plane to enable the 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, and does not carry the first indication information in other packets in the first PDU set. The access network device triggers the 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 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.
[0034] In this implementation, the core network device can instruct the access network device to start the delay measurement for the PDU set granularity through the first indication information, so that the access network device feeds back the delay measurement information for the PDU set to the core network device. Therefore, it is beneficial for the core network device to calculate the delay of the PDU set based on the delay measurement information fed back by the access network device.
[0035] In a possible implementation manner, the delay measurement method further includes: the core network device receives identification information of the first PDU set and the air interface downlink delay of the first PDU set from the access network device.
[0036] In this implementation, when the access network device is able to calculate the air interface downlink delay of the first PDU set, the access network device can send the air interface downlink delay of the first PDU set to the core network device. Since the access network device is able to calculate the air interface delay, it can also reduce the signaling overhead of the access network device for feeding back the air interface delay measurement information to the core network device, thus helping to improve the delay measurement efficiency of the PDU set.
[0037] In a possible implementation, 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.
[0038] 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.
[0039] 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.
[0040] 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.
[0041] In the 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 (for example, a processor, a chip, or a chip system). Taking the access network device as an example, the access network device obtains the time information of the first packet in the first PDU set at the sending end, and obtains the 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.
[0042] Exemplarily, if 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.
[0043] 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.
[0044] 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 (for example, the air interface downlink delay or the air interface uplink delay) 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. Therefore, the problem that the access network device in the 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.
[0045] 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.
[0046] In this implementation, 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, that is, the time interval between the moment when the sending end starts to transmit 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. Since the first and last packets in the first PDU set are considered instead of only some packets in the first PDU set, it is helpful to obtain an accurate transmission delay of the first PDU set from the sending end to the receiving end.
[0047] In a possible implementation, if the sending end is an access network device and the receiving end is a terminal device, or 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 is used to indicate 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 is used to indicate the time when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
[0048] Optionally, the first protocol layer is a PDCP layer or an SDAP layer. For example, the first protocol layer is a PDCP layer, and an upper layer of the first protocol layer is an SDAP layer. For another example, the first protocol layer is an SDAP layer, and an upper layer of the first protocol layer is an application layer.
[0049] In one example, if 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. In this case, 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; 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.
[0050] In this example, the specific implementation method for the access network device to obtain the time information of the last packet in the first PDU set at the receiving end may be: the access network device receives the second time information from the terminal device. In addition, 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). 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.
[0051] In this example, the access network device is 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), and determines the difference between the second time information and the first time information as the air interface downlink delay of the first PDU set. Therefore, the problem that the access network device cannot obtain the downlink transmission delay of a PDU set in the air interface in the traditional technology 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, and improving the air interface transmission performance.
[0052] 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 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; 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.
[0053] In this example, the specific implementation method of the access network device obtaining the time information of the first packet in the first PDU set at the sending end may be: the access network device receives the third time information from the terminal device. In addition, the access network device can also record the fourth time information when receiving the first PDU set. Then, 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.
[0054] In this example, the access network device is based on 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 in the air interface in the traditional technology 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, and improving the air interface transmission performance.
[0055] 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 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 air interface downlink delay of the access network device receiving the first PDU set from the terminal device.
[0056] In this embodiment, the access network device indicates to the terminal device the time when the access network device sends the first packet (i.e., 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) by configuring the first timestamp in the first packet of the first PDU set. If the terminal device is able to record the time 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 is possible to 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.
[0057] In a 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.
[0058] In this implementation, the terminal device indicates to the access network device the time when the terminal device sends the first packet (i.e., 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) by configuring the second timestamp in the first packet of the first PDU set. Since the terminal device does not need to notify the access network device of the third time information separately through other signaling, it is helpful to save the signaling overhead of the terminal device feeding back the delay measurement information to the access network device.
[0059] 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 is used to indicate the moment when the first protocol layer of the sender receives the first packet from an upper layer of the first protocol layer.
[0060] Exemplarily, in air interface downlink transmission, the sending end is the access network device and the receiving end is the 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, and 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 the upper layer of the first protocol layer.
[0061] Exemplarily, in air interface uplink transmission, the sending 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, and the timestamp configured by the terminal device 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.
[0062] In this implementation mode, the transmitting end indicates to the receiving end the time when the transmitting end sends the first packet by configuring the timestamp of sending the first packet in the first packet of the first PDU set. Since the transmitting end does not need to notify the receiving end of the time when the transmitting end sends the first packet separately through other signaling, it is helpful to save the signaling overhead of the transmitting end feeding back the delay measurement information to the receiving end.
[0063] 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 other packets in the first PDU set do not include the identification information of the first PDU set.
[0064] In the present 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.
[0065] Exemplarily, if a packet #1 received by the receiving end contains both identification information of the first PDU set and timestamp #1, the receiving end determines that 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 timestamp #1; if a packet #2 received by the receiving end contains only identification information of the first PDU set but no timestamp, the receiving end determines that 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.
[0066] In this implementation mode 1, the receiving end can identify whether the received packet is the first packet or the 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 the timestamp. Only the first packet and the last packet in the first PDU set carry the newly added information (i.e., the identification information and / or timestamp of the first PDU set), and other packets in the first PDU set do not need to be processed, which is beneficial to saving the processing overhead of the packet sending process of the sending end.
[0067] 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 sender, 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.
[0068] 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.
[0069] Exemplarily, 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 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 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 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.
[0070] In this implementation mode 2, the first packet indication and the last packet indication enable the receiving end to identify whether the received packet is the first packet or the last packet, thereby prompting the receiving end to obtain the time when the sending end sends the first packet. This is beneficial for the receiving end to accurately determine the first packet and the last packet in the first PDU set, and is beneficial for improving the efficiency of the receiving end in measuring the first packet and the last packet.
[0071] Optionally, each packet in the first PDU set also 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 at the application layer of the sending end or at other layers of the sending end.
[0072] 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.
[0073] In this implementation mode 3, 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. Compared with implementation mode 2, the difference between this implementation mode 3 and implementation mode 2 is that each packet in the first PDU set in this implementation mode 3 includes the timestamp of the sending packet configured by the sending end.
[0074] In another possible implementation, 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.
[0075] 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.
[0076] In this implementation, the transmitting end only needs to configure the timestamp in the last packet in the first PDU set, which is conducive to simplifying the pre-processing of the packets in the first PDU set by the transmitting end before sending the first PDU set (for example, configuring the timestamp in the last packet). In addition, the receiving end only determines the last packet in the first PDU set without determining the first packet in the first PDU set, that is, the receiving end can obtain the delay measurement information of the first packet and the delay measurement information of the last packet after monitoring the last packet, which is conducive to saving the processing overhead of the receiving end.
[0077] In a possible implementation, the delay measurement method further includes: the access network device sends a second indication message to the terminal device, and the second indication message is used to indicate the transmission delay of the PDU set granularity. After the terminal device receives the second indication message, the terminal device turns on the function of measuring the transmission delay of the PDU set granularity. Exemplarily, the access network device carries the second indication message in the control plane signaling (for example, RRC message, etc.) and sends it to the terminal device.
[0078] 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.
[0079] In a 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, and 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 turns on the function of measuring the transmission delay at the granularity of the PDU set.
[0080] 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, a chip, or a chip system). Taking the terminal device as an example, the terminal device receives second indication information from the access network device, and the second indication information is used to indicate the measurement of the transmission delay of the first PDU set; the terminal device sends the delay measurement information of the first PDU set to the access network device.
[0081] In a possible implementation manner, the second indication information includes identification information of the first PDU set.
[0082] In a possible implementation, 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.
[0083] In a possible implementation manner, the first time information includes a first timestamp configured by the access network device in the first packet in the first PDU set.
[0084] In a 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.
[0085] In a possible implementation, 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.
[0086] 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 is used to indicate the moment when the first protocol layer of the sender receives the first packet from an upper layer of the first protocol layer.
[0087] In a 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.
[0088] In a 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.
[0089] In a possible implementation manner, each packet in the first PDU set further includes a sequence number of each packet in the first PDU set.
[0090] 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.
[0091] In one possible implementation, 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.
[0092] It should be noted that there are many other specific implementations of the embodiments of the present application. Please refer to the specific implementations of the second aspect and their beneficial effects for details, which will not be repeated here.
[0093] In a fourth aspect, the present application provides a delay measurement method, which can be executed 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 the 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 deviation between the associated packets in one PDU set arriving at the receiving end and the associated packets in another PDU set arriving at the receiving end.
[0094] In the present 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 that the core network device in traditional technology 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.
[0095] In a 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.
[0096] In this implementation, 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.
[0097] In one possible implementation, 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 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, and 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.
[0098] In this implementation, it is proposed to determine the time when the associated packet arrives at the terminal device based on the delay measurement information of the packet granularity of the associated packet (for example, NG port downlink delay and air port downlink delay) and the time when the core network device sends the associated packet. Since the core network device can make use of the existing delay measurement information of the packet granularity of the associated packet, it is beneficial to improve the efficiency of the core network device in obtaining the time when the associated packet arrives at the terminal device.
[0099] 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 the time when the core network device receives the 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 the 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 associated packet in the first PDU set is received and the time when the associated packet in the second PDU set is received.
[0100] In this implementation, 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, which solves the problem that the core network equipment in traditional technology cannot obtain the uplink synchronization deviation of the two PDU sets, and is conducive to the core network equipment to optimize the uplink transmission of the service, thereby improving the user's service experience.
[0101] 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 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.
[0102] In a possible implementation manner, 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.
[0103] In this implementation, it is proposed to configure the last packet in the PDU set as an associated packet of the PDU set. Since the process of measuring the transmission delay of the PDU set involves measuring the last packet in the PDU set, configuring the last packet in the PDU set as an associated packet of the PDU set is conducive to multiplexing the delay measurement information for measuring the transmission delay of the PDU set, thereby improving the efficiency of the core network device in measuring the synchronization performance of the two PDU sets.
[0104] 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, a chip, or a 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 the 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 deviation between the associated packets in one PDU set arriving at the receiving end and the associated packets in another PDU set arriving at the receiving end.
[0105] In the present 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, which is beneficial to optimize the network.
[0106] In a possible implementation manner, the delay measurement method further includes: the access network device obtains an association relationship between two PDU sets.
[0107] 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 a first PDU set and a 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 a first PDU set and a 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.
[0108] 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.
[0109] 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 the identification information of the first PDU set and the 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, that is, the first PDU set and the second PDU set have an association relationship.
[0110] In this implementation, 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 certain two PDU sets. This is beneficial for the synchronization performance information measured by the access network device to be more targeted (i.e., synchronization performance measurement is performed on certain two PDU sets), and the access network device is not necessarily required to measure the synchronization performance of multiple PDU sets, which is beneficial for saving the measurement overhead of the access network device.
[0111] In a possible implementation, the delay measurement method further includes: the access network device notifies the terminal device of the association relationship between the two PDU sets.
[0112] 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 a 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.
[0113] 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.
[0114] In another example, the access network device notifies the terminal device of the association relationship between the two PDU sets through the control surface. For example, the access network device sends the identification information of the first PDU set and the 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.
[0115] In this implementation, the access network device can notify the terminal device of the association relationship between two PDU sets through the user plane or the control plane. Therefore, the terminal device can clearly measure which two PDU sets' synchronization performance is to be measured, or the terminal device only measures the synchronization performance of certain two PDU sets. This is beneficial for the synchronization performance information measured by the terminal device to be more targeted (i.e., synchronization performance measurement is performed on certain two PDU sets), and does not necessarily require the terminal device to measure the synchronization performance of multiple PDU sets, which is beneficial for saving the measurement overhead of the terminal device.
[0116] In a possible implementation manner, 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.
[0117] In this implementation, it is proposed to configure the last packet in the PDU set as an associated packet of the PDU set. Since the process of measuring the transmission delay of the PDU set involves measuring the last packet in the PDU set, configuring the last packet in the PDU set as an associated packet of the PDU set is conducive to multiplexing the delay measurement information for measuring the transmission delay of the PDU set, thereby improving the efficiency of the core network device in measuring the synchronization performance of the two PDU sets.
[0118] In a 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 is used to indicate the moment when the first protocol layer of the access network device uploads the associated packets in the first PDU set to the upper layer of the first protocol layer, and the tenth time information is used to indicate the moment when the first protocol layer of the access network device uploads the associated packets in the second PDU set to the upper layer of 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.
[0119] In this implementation, the access network device can determine the time when the associated packets in the two PDU sets arrive at the access network device respectively, and then the access network device can determine the uplink synchronization deviation. 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 uplink synchronization deviation, and then it is beneficial to optimize the network.
[0120] In a possible implementation, 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 a packet in one of the two PDU sets arriving at the terminal device and a packet in another of the two PDU sets arriving at the terminal device.
[0121] In this embodiment, the terminal device can determine the downlink synchronization deviation and feed back the downlink synchronization deviation 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.
[0122] 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.
[0123] 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 (for example, a processor, a chip, or a 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 the 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 deviation between the associated packets in one PDU set arriving at the receiving end and the associated packets in another PDU set arriving at the receiving end; the terminal device sends the synchronization performance information to the access network device.
[0124] In the present application, the terminal device triggers the measurement of the synchronization performance of the two PDU sets under the effect of the fourth indication information, and 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, and thus it is beneficial to optimize the network.
[0125] In a possible implementation, the delay measurement method further includes: the terminal device obtains an association relationship between two PDU sets.
[0126] In a possible implementation manner, 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.
[0127] 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.
[0128] In a possible implementation manner, 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.
[0129] In a possible implementation, 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.
[0130] In this embodiment, the terminal device can determine the downlink synchronization deviation and feed back the downlink synchronization deviation 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.
[0131] It should be noted that there are many other specific implementations of the embodiments of the present application. Please refer to the specific implementations of the fifth aspect and their beneficial effects, which will not be repeated here.
[0132] In the 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 in 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 also include a storage module, and the storage module may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the terminal device executes the method in the third aspect or any one of the embodiments of the third aspect; or, executes the method in the sixth aspect or any one of the embodiments of the sixth aspect. When the communication device is a chip in a terminal device, the processing module may be a processor, and the transceiver module may be an input / output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the terminal device executes the method in the third aspect or any one of the embodiments of the third aspect; or, executes the method in the sixth aspect or any one of the embodiments of the sixth aspect. The storage module may be a storage module in the chip (for example, a register, a cache, etc.), or a storage module in the terminal device located outside the chip (for example, a read-only memory, a random access memory, etc.).
[0133] In the eighth aspect, an embodiment of the present application provides a communication device, which may be an access network device in the aforementioned implementation manner, or a chip in 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 also include a storage module, and the storage module may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the access network device executes the method in the second aspect or any one of the implementation manners of the second aspect; or, so that the access network device executes the method in the fifth aspect or any one of the implementation manners of the fifth aspect. When the communication device is a chip in the access network device, the processing module may be a processor, and the transceiver module may be an input / output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the access network device executes the method in the second aspect or any one of the implementation manners of the second aspect; or, so that the access network device executes the method in the fifth aspect or any one of the implementation manners 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 and located outside the chip (eg, a read-only memory, a random access memory, etc.).
[0134] In the ninth aspect, an embodiment of the present application provides a communication device, which may be a core network device in the aforementioned implementation mode, or a chip in the core network device. The communication device may include a processing module and a transceiver module. When the communication 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 also include a storage module, and the storage module may be a memory; the storage module is used to store instructions, and the processing module executes the instructions stored in the storage module so that the core network device executes the method in the first aspect or any one of the implementation modes of the first aspect; or, executes the method in the fourth aspect or any one of the implementation modes of the fourth aspect. When the communication device is a chip in a core network device, the processing module may be a processor, and the transceiver module may be an input / output interface, a pin or a circuit, etc.; the processing module executes the instructions stored in the storage module so that the core network device executes the method in the first aspect or any one of the implementation modes of the first aspect; or, executes the method in the fourth aspect or any one of the implementation modes of the fourth aspect. 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.).
[0135] 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, and the memory is used to store a program or instruction. When the program or instruction is executed by the processor, the communication device executes the method described in any one of the embodiments of the aforementioned various aspects.
[0136] 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 a method as described in any one of the aforementioned aspects.
[0137] In the twelfth aspect, an embodiment of the present application provides a computer-readable storage medium, including 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.
[0138] 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 implementations of the first aspect, an access network device that executes the aforementioned second aspect and any one of the implementations of the second aspect, and a terminal device that executes the aforementioned third aspect and any one of the implementations of the third aspect.
[0139] 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
[0140] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application.
[0141] Figure 1 An example diagram of the system architecture of the delay measurement method of the present application;
[0142] Figure 2 A flow chart of the delay measurement method in this application;
[0143] Figure 3 is another flow chart of the delay measurement method in this application;
[0144] Figure 4 is another flow chart of the delay measurement method in this application;
[0145] Figure 5is another flow chart of the delay measurement method in this application;
[0146] Figure 6 is another flow chart of the delay measurement method in this application;
[0147] Figure 7 is another flow chart of the delay measurement method in this application;
[0148] Figure 8 is another flow chart of the delay measurement method in this application;
[0149] Fig. 9 A schematic diagram of an embodiment of a communication device in the present application;
[0150] Fig.10 is a schematic diagram of another embodiment of the communication device in the present application;
[0151] Fig.11 is a schematic diagram of another embodiment of the communication device in the present application;
[0152] Fig.12 FIG. 4 is a schematic diagram of another embodiment of a communication device in the present application. DETAILED DESCRIPTION
[0153] 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 of the embodiments.
[0154] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way 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, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0155] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0156] The following first introduces the system architecture and application scenarios to which the delay measurement method proposed in this application is applicable:
[0157] The communication method proposed in this application can be applied to the fourth generation mobile information technology (the 4th generation mobile communication technology, 4G) system, the fifth generation mobile information technology (the 5th generation mobile communication technology, 5G) system, the sixth generation mobile communication technology (the 6th generation mobile communication technology, 6G) and subsequent evolution systems, and this application does not limit this. Figure 1 As shown, the communication system includes terminal equipment, access network equipment and core network equipment.
[0158] 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 a 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 a radio access network (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 (user equipment, UE), wireless terminal equipment, mobile terminal (mobile terminal, MT) equipment, subscriber unit (subscriber unit), subscriber station (subscriber station), mobile station (mobile station, MS), mobile station (mobile), remote station (remote station), access point (access point, AP), remote terminal equipment (remote terminal), access terminal equipment (access terminal), user terminal equipment (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 smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in 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, which are 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 taken as an example for introduction.
[0159] The access network device may be any device with wireless transceiver function, and may be used to be responsible for air interface related functions, such as wireless link maintenance function, wireless resource management function, and part of mobility management function. In addition, the access network device may also be configured with a baseband unit (BBU) with baseband signal processing function. Exemplarily, the access network device may be a radio access network (RAN) that currently provides services for the terminal device. At present, some common examples of access network devices are: Node B (NB), evolved Node B (eNB or eNodeB), next generation node B (gNB) in 5G new radio (NR) system, node in 6G system (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 a network structure such as a cloud radio access network (CloudRAN) or an open radio access network (ORAN), the access network device may be a device including a centralized unit (CU) (also referred to as a control unit) and / or a distributed unit (DU). Among them, the RAN device including the CU and the DU splits the protocol layer of the gNB in the NR system, and the functions of some protocol layers are centrally controlled by the CU, and the functions of the remaining part or all of the protocol layers are distributed in the DU, and the DU is centrally controlled by the CU. Furthermore, if Figure 1As shown, CU can also be divided into control plane (CU-CP) and user plane (CU-UP). Among them, CU-CP is responsible for control plane functions, mainly including radio resource control (RRC) and packet data convergence protocol (PDCP) (i.e. PDCP-C) corresponding to the control plane. PDCP-C is mainly responsible for encryption and decryption, integrity protection and data transmission of control plane data. CU-UP is responsible for user plane functions, mainly including service data adaptation protocol (SDAP) and PDCP corresponding to the user plane (i.e. PDCP-U). Among them, SDAP is mainly responsible for processing the data of the core network and mapping the flow to the bearer. PDCP-U is mainly responsible for encryption and decryption, integrity protection, header compression, sequence number maintenance and data transmission of the data plane. Among them, CU-CP and CU-UP are connected through the E1 interface. CU-CP represents gNB connected to the core network through the NG interface, and CU-CP is connected to DU through the F1 interface control plane (i.e. F1-C). CU-UP is connected to DU through the F1 interface user plane (i.e., F1-U). Another possible implementation is that PDCP-C is also in CU-UP. It should be understood that the access network device in the embodiment of the present application can be any of the above-mentioned devices or chips in the above-mentioned devices, and the specific details are not limited here. Whether as a device or as a chip, the access network device can be manufactured, sold or used as an independent product. In this embodiment and subsequent embodiments, the access network device is taken as an example for introduction.
[0160] Core network equipment refers to equipment in the core network (CN) that provides service support for terminal equipment. The core network equipment is connected to the access network equipment through the interface between the core network equipment and the access network equipment (for example, the next generation (NG) interface, etc.). At present, 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. 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 the entity in this application can also be called a network element or a functional entity. For example, an AMF entity may also be called an AMF network element or an AMF functional entity; for another example, an SMF entity may also be called an SMF network element or an SMF functional entity, etc.
[0161] In the current standard, the QoS monitoring function for the 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.
[0162] However, the transmission delay measured for a data packet in a PDU set in the traditional technology cannot reflect the transmission status of a PDU set between terminal equipment, access network equipment and core network equipment. In this regard, 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 equipment, access network equipment and core network equipment.
[0163] Combine the following Figure 2 The main process of an embodiment of the delay measurement method proposed in this application is introduced. In this embodiment, taking the transmission delay of the first PDU set obtained by the core network device as an example, the core network device mainly performs the following steps:
[0164] Step 201: The core network device obtains time information of the first packet in the first PDU set at the sending end.
[0165] Among them, a PDU set refers to a set of multiple PDU packets (also called data packets, hereinafter referred to as packets). The PDU packets in the PDU set carry the payload or content of an information unit (e.g., frame, 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 have an association relationship. For example, the association relationship may be that the packets in the PDU set are used to transmit the same information unit or service. Only after the receiving end receives all the packets contained in the PDU set sent by the sending end can the receiving end successfully provide or present a certain information unit or service to the user. Taking cloud VR or cloud gaming as an example, when the basic experience (35Mbps, 60fps) is met, the device generates a video frame every 16.7ms, and a video frame (about 583KB) is divided into 50 IP packets (1500Byte) for transmission. 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 as 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 take 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.
[0166] 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. Exemplarily, taking the sending end as a core network device and the receiving end as an access network device, the first packet in the first PDU set is the downlink packet belonging to the first PDU set first sent by the core network device to the access network device, or the downlink packet belonging to the first PDU set first generated. Taking the sending end as a terminal device and the receiving end as an access network device, the first packet in the first PDU set is the uplink packet belonging to the first PDU set first sent by the terminal device to the access network device, or the uplink packet belonging to the first PDU set first generated by the terminal device.
[0167] It should be noted that, since the transmitting end transmits the packet from the upper layer of the first protocol layer to the first protocol layer in the process of sending the packet, and then transmits it to the physical layer for sending. Therefore, the first packet in the first PDU set can also be the packet belonging to the first PDU set that the first protocol layer of the transmitting end first receives from the upper layer of the first protocol layer. Exemplarily, taking the transmitting end as an access network device and the receiving end as a terminal device as an example, the first packet in the first PDU set is the downlink packet belonging to the first PDU set that the first protocol layer of the access network device first receives from the upper layer of the first protocol layer. Taking the transmitting 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 the first protocol layer of the terminal device first 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 (GPRS tunneling protocol, GTP). This is not limited here, and the following text takes the first protocol layer and the upper layer of the first protocol layer as an example for introduction.
[0168] Optionally, each packet in the first PDU set has a sequence number, which is used to indicate the order in which the transmitting end generates the packets. For ease of introduction, the packet with the smallest sequence number in the first PDU set generated by the transmitting end is called the first packet. Generally, the transmitting end sends packets according to the sequence numbers of the packets from small to large, that is, the transmitting end gives priority to sending the first generated packets, and the transmitting 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 transmitting end must carry the sequence number when sending these data packets. The transmitting 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.
[0169] In addition, the time information of the first packet at the sender is the time when the sender successfully sends the first packet, that is, the time when the sender sends the first packet, or the time when the sender generates or processes the first packet, or the time when the sender receives the first packet from other devices. The following is a detailed introduction to the time information of the first packet at the sender in combination with the specific implementation methods of the sender and the receiver:
[0170] In a possible implementation, the interface between the sender and the receiver is an air interface, that is, an interface between a terminal device and an access network device. The time information of the first packet at the sender 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.
[0171] 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.
[0172] 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.
[0173] 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 includes 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 includes 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.
[0174] In another possible implementation, the interface between the sending end and the receiving end is an NG interface, that is, 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.
[0175] 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 first packet at the sending end includes the fifth time information, and the fifth time information is used to indicate the time when the core network device sends the first packet. Exemplarily, in this step, the core network device records the time (i.e., the fifth time information) of sending the first packet in the first PDU set.
[0176] 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.
[0177] Step 202: The core network device obtains time information of the last packet in the first PDU set at the receiving end.
[0178] Among them, the last packet in the PDU set refers to the packet in the PDU set sent from the sending end that finally arrives at the receiving end, or the packet in the PDU set sent from the sending end that is correctly received by the receiving end, or the packet in the PDU set sent from the sending end that is correctly received by the first protocol layer, or the last packet generated when the sending end generates the PDU set, or the last packet sent from the sending end in the PDU set. Exemplarily, 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 finally 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 finally correctly received by the access network device, or the last packet generated when the core network device generates the first PDU set, or the last packet sent from the core network device in the first PDU set. Taking the example that the sending end is an access network device and the receiving end is a core network device, 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 example that the sending end is an access network device and the receiving end is a terminal device, 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 an uplink packet belonging to the first PDU set that is sent from the terminal device and finally arrives at the access network device, or an 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 an 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.
[0179] 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 order of sequence number from small to large, 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 may carry it or not. The following are examples:
[0180] 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 tail 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 tail packet).
[0181] In another possible implementation, multiple packets in a PDU set are transmitted from the transmitter 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 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 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 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.
[0182] 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 listed as an example.
[0183] 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 arrives at the receiving end. The following is a detailed introduction to the time information of the last packet at the receiving end in combination with the specific implementation methods of the sending end and the receiving end:
[0184] In a possible implementation, the interface between the transmitting end and the receiving end is an air interface, that is, 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 moment when the first protocol layer of the receiving end uploads the last packet to the upper layer of the first protocol layer.
[0185] In the downlink transmission of the air interface, the transmitting 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.
[0186] In the uplink transmission of the air interface, the transmitting 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 (that is, 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 fourth time information of the access network device is fed back to the core network device.
[0187] In a possible implementation, the interface between the transmitting end and the receiving end is an NG interface, that is, 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 receives the last packet.
[0188] 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.
[0189] 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 last packet at the receiving end includes the eighth time information, and the eighth time information is used to indicate the time when the core network device receives 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 is received (i.e., the eighth time information).
[0190] It should be noted that in some scenarios, if the last packet is not the tail packet, and the time when the receiving end submits the last packet to other devices or the first protocol layer of the receiving end submits the tail packet to the upper layer is very close to the time when the last packet is submitted, then the time information of the last packet at the receiving end can also be understood as the time 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 time 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 sequential 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.
[0191] Step 203: 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.
[0192] 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.
[0193] 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 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 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.
[0194] 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.
[0195] 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 determined by the core network device is the NG port 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 port downlink delay of the first PDU set.
[0196] In one example, 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 determined by the core network device is the NG port 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 port uplink delay of the first PDU set.
[0197] In one example, 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 each packet in the first PDU set at the sending end and the time information of each packet at the receiving end. For example, the transmission delay of the first PDU set between the sending end and the receiving end is the maximum value of the transmission delay of all packets in the first PDU set between the sending end and the receiving end. For example, the sending 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 delay of all downlink packets in the first PDU set between the access network device and the terminal device.
[0198] 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 port downlink delay and the NG port uplink delay). Therefore, the problem that the core network device in the 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.
[0199] It should be noted that, in some embodiments, the access network device is able to determine 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 able to record the first time information and the fourth time information, and is able to obtain 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 implementation, the access network device can determine the air interface downlink delay of the first PDU set and the air interface uplink delay of the first PDU set based on the time information of the first packet at the sending end (for example, the first time information and the third time information) and the time information of the last packet at the receiving end (for example, the second time information and the fourth time information); and the core network device can determine the NG port downlink delay of the first PDU set and the NG port uplink delay of the first PDU set based on the time information of the first packet at the sending end (for example, the fifth time information and the seventh time information) and the time information of the last packet at the receiving end (for example, the sixth time information and the eighth time information). Therefore, not only the problem that the core network device cannot obtain the transmission delay of a PDU set in the traditional technology is solved, the access network device can calculate the air interface delay and can also reduce the signaling overhead used by the access network device to feed back the air interface measurement results to the core network device, thereby improving the delay measurement efficiency of the PDU set.
[0200] Combine the following Figure 3 The delay measurement method provided by this application is further introduced. Figure 3 In the illustrated embodiment, the access network device and the terminal device perform packet-granularity-based delay measurement and feed back delay measurement information to the core network device. 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 delay measurement information.
[0201] Specifically, the core network device, the access network device and the terminal device respectively perform the following steps:
[0202] Step 301: The core network device sends a delay measurement message to the access network device.
[0203] Correspondingly, the access network device receives a delay measurement message from the core network device.
[0204] 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 indication (referred to as a measurement packet).
[0205] 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.
[0206] In one implementation, the user plane of the core network device instructs the access network device to measure the delay of each packet in the first PDU set, that is, each packet in the first PDU set sent by the user plane of the core network carries the delay measurement instruction. In this implementation, the access network device does not need to know which is the first packet in the first PDU set and which is the last packet, and the access network device will feed back the delay measurement information of each packet in the first PDU set to the core network device.
[0207] In another implementation, the user plane of the core network device instructs the access network device to perform delay measurement only on the first packet and the last packet (e.g., the tail packet) in the first PDU set, that is, only the first packet and the last packet (e.g., the tail packet) in the first PDU set sent by the user plane of the core network carry the delay measurement indication. In this implementation, the access network device can sense which packet is the first packet in the first PDU set and which packet is the last packet, and the access network device only feeds back the delay measurement information of the first packet and the last packet in the first PDU set to the core network device.
[0208] 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 service quality monitoring packet indication (QoS monitoring packetindicator, QMPindicator)) in the GTP user plane (UserPlane 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) when the user plane of the core network device sends the packet in the GTP-U header.
[0209] 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 (e.g., 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 simultaneously 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.
[0210] Step 302: The access network device sends a delay measurement configuration to the terminal device.
[0211] Accordingly, the terminal device receives the delay measurement configuration from the access network device.
[0212] The delay measurement configuration sent by the access network device to the terminal device is used to instruct the terminal device to perform delay measurement. For example, after the terminal device receives the delay measurement configuration from the access network device, the terminal device turns on the packet granularity delay measurement function. Optionally, the delay measurement configuration includes at least one of the data radio bearer (DRB) to be measured, the service type to be measured, and the service identifier.
[0213] In this embodiment, the terminal device does not perceive which packet is the first packet and which packet is the last packet in the first PDU set received from the access network device. After the terminal device turns on the packet granularity delay measurement function, the terminal device records the time when each packet arrives at the terminal device and the time when each packet is sent from the terminal device, or the terminal device performs packet granularity delay measurement on a specific packet according to the instruction of the access network device. For example, the access network device carries indication information in the downlink data packet, indicating whether the terminal device wants to perform delay measurement on the data packet.
[0214] 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 upper layer of 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 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.
[0215] Exemplarily, taking the PDCP layer as the first protocol 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).
[0216] Step 303: The terminal device sends packet-granularity delay measurement information to the access network device.
[0217] Accordingly, the access network device receives packet-granularity delay measurement information from the terminal device.
[0218] Among them, the packet-granularity delay measurement information includes at least one of the time when a packet arrives at the terminal device (i.e., the time information of the data packet at the receiving end), the time 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 recorded in the access network device for each downlink measurement packet (i.e., the time information of the sending end, the time when the sending end successfully sends the packet, or the time when the sending end generates the packet or the time 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). Further, if the access network device can sense which packet is the first packet and which packet is the last packet in the first PDU set, that is, the access network device can determine the sequence number of the first protocol layer of the first packet and the sequence number of the first protocol layer of the last packet in the first PDU set, then the access network device can determine the delay measurement information (e.g., the third time information) of the first packet and the delay measurement information (e.g., the second time information) of the last packet in the first PDU set from the delay measurement information of the received multiple packet granularities. For the explanation of the second time information and the third time information, please refer to the relevant introduction in the previous steps 201 and 202, which will not be repeated here.
[0219] 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).
[0220] Exemplarily, the terminal device sends the packet-granular delay measurement information of each packet to the access network device through control plane signaling (e.g., RRC message). It should be noted that the terminal device can send the delay measurement information of all packets in the first PDU set to the access network device through one signaling, or can send the delay measurement information of all packets in the first PDU set to the access network device in multiple signalings, which is not limited here.
[0221] For the uplink, the terminal device measures the delay of all uplink data packets in the first PDU set. For example, the terminal device sends the packet-granular delay measurement information of all uplink data packets to the access network device.
[0222] Step 304: The access network device sends delay measurement information to the core network device.
[0223] Correspondingly, the core network device receives delay measurement information from the access network device.
[0224] In a possible implementation, the access network device does not perceive 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 when the access network device receives the packet). In the uplink transmission, the access network device carries the time T3 of sending the monitoring response packet in the monitoring response packet sent (for example, the timestamp of sending the packet is carried in the GTP-U header of the monitoring response packet), and the delay measurement information of each packet in the first PDU set fed back by the access network device to the core network device includes T1, T2 and T3. In addition, when receiving the monitoring response packet, the core network device will record the time T4 of receiving the monitoring response packet.
[0225] In another possible implementation, the access network device can sense which packet is the first packet in the first PDU set and which packet is the last packet. 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 of sending the first packet, and the access network device records the time t2 of receiving the last packet of the first PDU set when receiving the last packet of the first PDU set; 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 of sending the first packet, and the core network device records the time t4 of receiving the last packet of the first PDU set when receiving the last packet of the first PDU set.
[0226] 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. Among them, 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 (for example, t1) carried by the core network device in the downlink packet. 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 previous step 201 and step 202, which will not be repeated here.
[0227] It should be noted that for air interface uplink and downlink, the access network device can adopt different implementation methods. For example, for air interface downlink, the access network device can sense which packet is the first packet in the first PDU set and which packet is the last packet. For air interface uplink, the access network device does not sense which packet is the first packet in the first PDU set and which packet is the last packet.
[0228] Step 305: The access network device determines the air interface downlink delay of the first PDU set.
[0229] Step 305 is an optional step. If the access network device can sense which packet is the first packet and which packet is the last packet in the first PDU set, the access network device executes steps 305 and 306 in sequence; otherwise, the access network device does not execute steps 305 and 306, but the core network device determines the air interface downlink delay of the first PDU set.
[0230] In this step, since the access network device can sense which packet is the first packet and which packet is the last packet 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, and then 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 way the access network device determines the first time information, please refer to the relevant introduction in the previous steps 201 and 202, which will not be repeated here.
[0231] Step 306: The access network device sends the air interface downlink delay of the first PDU set to the core network device.
[0232] Correspondingly, the core network device receives the air interface downlink delay of the first PDU set from the access network device.
[0233] Optionally, the access network device sends the air interface downlink delay of the first PDU set to the core network device via control plane signaling or user-facing. 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.
[0234] 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.
[0235] 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.
[0236] 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.
[0237] Exemplarily, the core network device 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. 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 of multiple packet granularities as the air interface uplink delay of the first PDU set.
[0238] 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.
[0239] 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 of sending the first packet; when the access network device receives the last packet of the first PDU set, it records the time t2 of receiving the last packet, then the core network device determines the NG port downlink delay as (t2-t1).
[0240] 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, then the core network device determines the NG port uplink delay as (t4-t3).
[0241] Optionally, if the access network device executes step 305 and step 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 in multiple PDU sets. This application is not limited.
[0242] 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.
[0243] Step 308 is an optional step.
[0244] 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.
[0245] 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.
[0246] It should be noted that in this embodiment, the NG port delay (for example, the NG port downlink delay and the NG port uplink delay) and the air interface delay (for example, the air interface downlink delay and the air interface uplink delay) can be counted independently and do not necessarily have a dependent relationship.
[0247] In this embodiment, the core network device uses the packet-granularity delay measurement process in the 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 the NG port 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 to evaluating the transmission performance of the service based on the delay of the first PDU set.
[0248] In addition, in another embodiment of the delay measurement method proposed in the present application, the access network device and the terminal device can perform delay measurement based on PDU set granularity (also called delay measurement based on frame granularity), and feedback the delay measurement information based on PDU set granularity to the core network device. Figure 4 and Figure 5 The following describes the delay measurement process based on the PDU set granularity:
[0249] like Figure 4 As shown, it is the main process of another embodiment of the delay measurement method proposed in this application. 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, 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:
[0250] Step 401: The core network device sends first indication information to the access network device.
[0251] Correspondingly, the access network device receives the first indication information from the core network device.
[0252] Step 401 is an optional step.
[0253] The first indication information is used to indicate that only the first packet and the last packet in the PDU set are measured. It can also be understood that the first indication information is used to indicate the transmission delay of the PDU set granularity. After the access network device receives the first indication information, the access network device turns on the function of measuring the transmission delay of the PDU set granularity.
[0254] Optionally, the first indication information is carried in control plane signaling, and may also be carried in a data packet on the user plane.
[0255] In a possible implementation, the core network device notifies the access network device through the control plane to enable the delay measurement at the granularity of the PDU set. Exemplarily, the core network device sends a control plane signaling to the access network device, and the control plane signaling carries the 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 delay measurement request message of the control plane. 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.
[0256] Optionally, the core network device also sends identification information of the first PDU set to the access network device to instruct the access network device to perform PDU set granularity delay measurement on the first PDU set. For example, the core network device sends a delay measurement request message to the access network device, and the delay 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 packet and the last packet in the first PDU set, that is, to perform PDU set granularity delay measurement on the first PDU set.
[0257] In another possible implementation, the core network device notifies the access network device through the user plane to enable the PDU set granularity delay measurement. Exemplarily, if the core network device needs to notify the access network device to enable the 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, and does not carry the first indication information in other packets in the first PDU set. The access network device triggers the 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 in the first PDU set and the GTP-U header of the last packet carry the first indication information, respectively. 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.
[0258] 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. There is no limitation here.
[0259] Step 402: The access network device sends second indication information to the terminal device.
[0260] Correspondingly, the terminal device receives second indication information from the access network device.
[0261] 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.
[0262] Optionally, the second indication information is carried in control plane signaling, and may also be carried in a user plane data packet.
[0263] In a possible implementation, the access network device notifies the terminal device through the control plane to enable the delay measurement at the PDU set granularity. Exemplarily, the access network device sends a control plane signaling to the terminal device, and the control plane signaling carries the second indication information. The access network device sends the second indication information through the 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 packet and the last packet in the PDU set.
[0264] Optionally, the access network device also 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 packet and the last packet in the first PDU set, that is, to perform PDU set granularity delay measurement on the first PDU set.
[0265] In another possible implementation, the access network device notifies the terminal device through the user plane to enable the PDU set granularity delay measurement. Exemplarily, if the access network device needs to notify the terminal device to enable the 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, and does not carry the second indication information in other packets in the first PDU set. The terminal device triggers the 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 implementation, 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.
[0266] 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.
[0267] 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 simultaneously use 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, which is not limited here.
[0268] In addition, during the execution of step 401 and step 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 can sense 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 time when the first packet in the first downlink PDU set is sent to the terminal device and the time 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 can sense 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 time when the last packet in the first uplink PDU set is received from the terminal device and the time when the access network device records the time when 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).
[0269] In addition, the terminal device in this embodiment can also 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).
[0270] 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. Please refer to step 403 for details.
[0271] Step 403: The terminal device sends delay measurement information of the first PDU set to the access network device.
[0272] Correspondingly, the access network device receives delay measurement information of the first PDU set from the terminal device.
[0273] Among them, 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 between the terminal device and the access network device calculated by the terminal device (for example, the air interface downlink delay).
[0274] Optionally, the delay measurement information of the first PDU set also includes a sequence number of the first protocol layer (e.g., 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.
[0275] 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 calculated by the terminal device (for example, air interface downlink delay) and the identification information of the first PDU set.
[0276] 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.
[0277] Step 404: The access network device determines an air interface downlink delay and an air interface uplink delay of the first PDU set.
[0278] Exemplarily, 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. The access network device 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.
[0279] Exemplarily, the delay measurement information of the first PDU set received by the access network device from the terminal device includes 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.
[0280] Step 405: The access network device sends the delay measurement information of the first PDU set to the core network device.
[0281] Correspondingly, the core network device receives the delay measurement information of the first PDU set from the access network device.
[0282] Among them, 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.
[0283] Optionally, the access network device may also use other messages to 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 separately, which is not limited here.
[0284] Step 406: The core network device determines the NG port downlink delay and the NG port uplink delay of the first PDU set.
[0285] 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).
[0286] 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 port 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 port uplink delay of the first PDU set.
[0287] 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.
[0288] 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, which will not be repeated here.
[0289] It should be noted that steps 405 to 407 are optional steps. 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 port.
[0290] 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, 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.
[0291] 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 delay measurement function based on the PDU granularity, 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 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 the 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 are reduced. Since the terminal device can feed back the delay measurement information of the first PDU set to the access network device through the 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 determining the air interface uplink and downlink delays of the first PDU set, which is beneficial to saving the calculation 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.
[0292] like Figure 5 As shown, it is the main process of another embodiment of the delay measurement method proposed in this application. 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:
[0293] Step 501: The core network device sends first indication information to the access network device.
[0294] Correspondingly, the access network device receives the first indication information from the core network device.
[0295] Step 502: The access network device sends second indication information to the terminal device.
[0296] Correspondingly, the terminal device receives second indication information from the access network device.
[0297] In this embodiment, steps 501 to 502 are similar to steps 401 to 402 in the previous text. Please refer to the relevant descriptions in steps 401 to 402 in the previous text, and they will not be repeated here.
[0298] In addition, during the execution of step 501 and step 502, the access network device receives a downlink packet of the first PDU set from the core network device and transmits the downlink packet to the terminal device; in addition, the access network device also receives an uplink packet of the first PDU set from the terminal device and transmits the uplink packet to the core network device. In this embodiment, the access network device and the terminal device can not only perceive the first packet and the last packet in the first PDU set, but also feedback the delay measurement information of the first packet to the receiving end through the user. Exemplarily, the transmitting end can carry at least one packet in the first PDU set to indicate the time when the transmitting end sends 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 sending the first packet. It should be understood that in air interface downlink transmission, the transmitting end is an access network device and the receiving end is a terminal device; in air interface uplink transmission, the transmitting end is a terminal device and the receiving end is an access network device.
[0299] The following takes the sending end and the receiving end as examples for introduction.
[0300] In a possible implementation, 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.
[0301] In an implementation mode 1, the first packet in the first PDU set sent by the transmitter includes the timestamp configured by the transmitter and the identification information of the first PDU set, the last packet (e.g., the tail packet) in the first PDU set includes the identification information of the first PDU set, and other packets in the first PDU set do not include the 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.
[0302] In the present 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.
[0303] Exemplarily, if a packet #1 received by the receiving end contains both identification information of the first PDU set and timestamp #1, the receiving end determines that 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 timestamp #1; if a packet #2 received by the receiving end contains only identification information of the first PDU set but no timestamp, the receiving end determines that 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.
[0304] In this implementation mode 1, the receiving end can identify whether the received packet is the first packet or the 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 the timestamp. Only the first packet and the last packet in the first PDU set carry the newly added information (i.e., the identification information and / or timestamp of the first PDU set), and other packets in the first PDU set do not need to be processed, which is beneficial to saving the processing overhead of the packet sending process of the sending end.
[0305] 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 explanations 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.
[0306] 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.
[0307] Exemplarily, 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 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 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 time when the last packet in the first PDU set is received.
[0308] In this implementation mode 2, the first packet indication and the last packet indication enable the receiving end to identify whether the received packet is the first packet or the last packet, thereby prompting the receiving end to obtain the time when the sending end sends the first packet. This is beneficial for the receiving end to accurately determine the first packet and the last packet in the first PDU set, and is beneficial for improving the efficiency of the receiving end in measuring the first packet and the last packet.
[0309] 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, 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, then 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.
[0310] 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, and 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, 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. For the 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.
[0311] In this implementation mode 3, 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 last packet) in the first PDU set based on the identification information of the first PDU set and the last packet indication information. Compared with implementation mode 2, the difference between this implementation mode 3 and implementation mode 2 is that each packet in the first PDU set in this implementation mode 3 includes the timestamp of the sending packet configured by the sending end.
[0312] Optionally, each packet in the first PDU set also includes a sequence number of each packet in the first PDU set.
[0313] In another embodiment, the last packet (e.g., the tail packet) in the first PDU set sent by the transmitter 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 transmitter 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 transmitter carries the timestamp of the first packet sent by the transmitter. Optionally, the last packet (e.g., the tail packet) in the first PDU set also includes identification information of the first PDU set.
[0314] Exemplarily, 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 the moment when the sending end sends the first packet in the first PDU set as timestamp #3, and the receiving end records the moment when the last packet in the first PDU set is received.
[0315] In this implementation, it is only necessary to carry the timestamp of sending the first packet in the last packet of the first PDU set, so that the receiving end can obtain the time information of the first packet and the time information of the last packet at the same time when receiving the last packet of the first PDU set. Therefore, the sending end does not need to process other packets in the first PDU set, which is conducive to saving the processing overhead of the sending end in the packet sending process.
[0316] 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 introduced above as an example combined with a specific example:
[0317] Exemplarily, taking the case where the transmitting end is an access network device and the receiving end is a terminal device (i.e., air interface downlink transmission), if a packet #1 received by the terminal device contains both identification information of the first PDU set and timestamp #1, the terminal device determines that 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 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 identification information of the first PDU set but no timestamp, the terminal device determines that 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).
[0318] Exemplarily, 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 identification information of the first PDU set and timestamp #2, the access network device determines that 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 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 identification information of the first PDU set but no timestamp, the access network device determines that 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).
[0319] Step 503: The terminal device determines the air interface downlink delay of the first PDU set.
[0320] Exemplarily, in 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 time when the last packet in the first PDU set was received (i.e., second time information). Then, 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.
[0321] Step 504: The terminal device sends the air interface downlink delay of the first PDU set to the access network device.
[0322] Correspondingly, the access network device receives the air interface downlink delay of the first PDU set from the terminal device.
[0323] 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 the identification information of the first PDU set and the air interface downlink delay of the first PDU set to the access network device.
[0324] Step 505: The access network device determines the air interface uplink delay of the first PDU set.
[0325] Exemplarily, in air interface uplink transmission, the access network device obtains the first timestamp (i.e., the 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 in the first PDU set, and the access network device records the time when the last packet in the first PDU set was received (i.e., the fourth time information). Then, the access network device 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.
[0326] It should be noted that step 505 can be performed simultaneously with step 504, and this application does not limit this.
[0327] Step 506: The access network device sends the delay measurement information of the first PDU set to the core network device.
[0328] Correspondingly, the core network device receives the delay measurement information of the first PDU set from the access network device.
[0329] 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.
[0330] Optionally, the access network device may simultaneously 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, or may send them at different times, that is, carry the above information in multiple messages or data packets on the data plane.
[0331] Step 507: The core network device determines the NG port downlink delay and the NG port uplink delay of the first PDU set.
[0332] 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.
[0333] In this embodiment, steps 506 to 508 are the same as those in the previous Figure 4 Steps 405 to 407 in the corresponding embodiment are similar. Please refer to the relevant descriptions in the above steps 405 to 407 for details, which will not be repeated here.
[0334] 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 it is also beneficial for the core network device to quickly obtain the air interface uplink and downlink delays of the first PDU set.
[0335] In addition, in another embodiment of the delay measurement method proposed in the present application, an implementation method for measuring the synchronization performance information of two PDU sets is also provided. Figure 6 and Figure 7 The process of measuring the synchronization performance information of two PDU sets is described as follows:
[0336] like Figure 6 As shown, it is the main process of another embodiment of the delay measurement method proposed in this application. In this embodiment, the core network device collects the packet granularity delay measurement information of the two PDU sets respectively, and then determines the synchronization performance information of the two PDU sets based on the packet granularity delay measurement information of the two PDU sets. Specifically, the core network device, the access network device and the terminal device mainly perform the following steps:
[0337] Step 601: The core network device obtains time information of two PDU sets.
[0338] Among them, the two PDU sets are determined by the core network device from at least two different PDU sets. The two PDU sets are two PDU sets determined by the core network device that need to calculate synchronization performance information. Optionally, the two PDU sets have an associated relationship. Exemplarily, there is a synchronization performance requirement for the transmission of the two PDU sets. For example, the deviation of the time when the two PDU sets arrive at the receiving end is less than a preset value.
[0339] Exemplarily, 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.
[0340] In addition, the two PDU sets may refer to sets of PDU packets corresponding to two different QoS flows (QoS flows) of the same PDU session (PDU session), or may refer to two sets of PDU packets corresponding to different PDU sessions.
[0341] In addition, the time information of the PDU set is the time information or delay information obtained by measuring the associated packets in the PDU set, and the time information of the PDU set is used to determine the time when the associated packets in the PDU set arrive at the receiving end. For example, in downlink transmission, the time information of the PDU set is used to determine the time when the associated packets in the PDU set sent by the core network device arrive at the terminal device; in uplink transmission, the time information of the PDU set is used to determine the time when the uplink associated packets in the PDU set sent by the terminal device arrive at the core network device.
[0342] 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 the 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.
[0343] 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 a 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 a 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 an associated packet in the first PDU set (also called an 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 an associated packet in the second PDU set (also called an uplink associated packet in the second PDU set).
[0344] 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.
[0345] In one possible implementation, the terminal device, access network device, and core network device perform packet-granular delay measurement for each packet in the two PDU sets, and the access network device and the terminal device feed back the delay measurement information of each packet to the core network device. The core network device only obtains the delay measurement information of the associated packets in the two PDU sets to determine the time information of the two PDU sets. For the packet-granular delay measurement process, please refer to the previous article. Figure 3 The corresponding embodiments are not described in detail here.
[0346] In another possible implementation, the terminal device, the access network device and the core network device perform packet-granular delay measurement only for the associated packets in the two PDU sets. The access network device and the terminal device only feed back the delay measurement information of the associated packets of the two PDU sets to the core network device, so that the core network device determines the time information of the two PDU sets based on the delay measurement information of the associated packets in the two PDU sets.
[0347] 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.
[0348] Exemplarily, on the control plane, the core network device notifies the access network device through control plane signaling (e.g., delay measurement message) to measure only 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 measure only 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 (e.g., 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 (e.g., 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 on 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.
[0349] The following further introduces the time information of the two PDU sets in downlink transmission and uplink transmission respectively:
[0350] In one embodiment, in downlink transmission, the time information of the PDU set includes delay measurement information of 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 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. Among them, the delay measurement information of associated packets in the first PDU set is used to determine the delay required for associated packets in the first PDU set to be transmitted from the core network device to the terminal device; the delay measurement information of associated packets in the second PDU set is used to determine the delay required for associated packets in the second PDU set to be transmitted from the core network device to the terminal device.
[0351] Furthermore, the delay measurement information of the associated packets includes the air interface downlink delay and the NG port downlink delay. Taking the example of two PDU sets including the first PDU set and the second PDU set, 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.
[0352] 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.
[0353] 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 in the first PDU set.
[0354] 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.
[0355] In another embodiment, in uplink transmission, the time information of the PDU set includes the time when the core network device, as a receiving end, receives the associated package in the PDU set. Taking the example of two PDU sets including a first PDU set and a second PDU set, the time information of the first PDU set includes the time when the core network device receives the associated package 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 package in the second PDU set.
[0356] 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.
[0357] Step 602: The core network device determines synchronization performance information of two PDU sets based on time information of the two PDU sets.
[0358] The synchronization performance information is used to indicate the time difference between the arrival of an associated packet in one PDU set at the receiving end and the arrival of an associated packet in another PDU set at the receiving end. The synchronization performance information includes a downlink synchronization difference and / or an uplink synchronization difference.
[0359] In one embodiment, in downlink transmission, the core network device determines the downlink synchronization deviation of the two PDU sets based on the time information of the two PDU sets. Exemplarily, taking the two PDU sets including the first PDU set and the second PDU set as an example, 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.
[0360] In another embodiment, in uplink transmission, the core network device determines the uplink synchronization deviation of the two PDU sets based on the time information of the two PDU sets. Exemplarily, taking the two PDU sets including the first PDU set and the second PDU set as an example, the core network device determines the uplink synchronization deviation based on the difference between the time when the associated packet in the first PDU set is received and the time when the associated packet in the second PDU set is received.
[0361] 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.
[0362] In this embodiment, the core network device can determine the time when the associated packets of the two PDU sets transmitted downlink arrive at the terminal device, and then determine the downlink synchronization deviation; in addition, the core network device can determine the time when the associated packets of the two PDU sets transmitted uplink arrive at the core network device, and then determine the uplink synchronization deviation. Therefore, it is beneficial for the core 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, and thus it is beneficial to optimize the network.
[0363] like Figure 7 As shown, it is the main process of another embodiment of the delay 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 measurement for 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:
[0364] Step 701: The core network device sends third indication information to the access network device.
[0365] Correspondingly, the access network device receives third indication information from the core network device.
[0366] 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 set.
[0367] In a possible implementation, the core network device carries the third indication information in a 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 messages, which are not limited here.
[0368] 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.
[0369] For explanations on the associated packages and synchronization performance, please refer to the relevant introduction in the previous step 601 and step 602, which will not be repeated here.
[0370] Step 702: The core network device notifies the access network device of the association relationship between the two PDU sets.
[0371] 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, but does not specify which two PDU sets to measure the synchronization performance. The access network device can measure the synchronization performance of every two PDU sets in the multiple PDU sets being transmitted, or determine two PDU sets to measure the synchronization performance. 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.
[0372] In a 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 a 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 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 core 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.
[0373] 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. 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.
[0374] 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.
[0375] 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. There is no limitation here.
[0376] 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.
[0377] In actual applications, the core network device can notify the access network device of the association relationship between two PDU sets through any of the aforementioned implementation methods, and this application does not limit this.
[0378] 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. The 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.
[0379] Step 703: The access network device sends fourth indication information to the terminal device.
[0380] Correspondingly, the terminal device receives fourth indication information from the access network device.
[0381] 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 turns on the function of measuring the synchronization performance of the PDU set.
[0382] 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 may be a delay measurement request message or other messages, which are not limited here.
[0383] Step 704: The access network device notifies the terminal device of the association relationship between the two PDU sets.
[0384] 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.
[0385] 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 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.
[0386] 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 can carry the association information indicating another PDU set only in the association packet of one PDU set of the two PDU sets. There is no limitation here.
[0387] 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.
[0388] 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.
[0389] 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 may be determined autonomously by the access network device, i.e. the core network device does not execute step 702; or the core network device may notify the access network device, i.e. the core network device executes step 702. This is not limited here.
[0390] In addition, it should be noted that after the terminal device turns on 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, which will not be repeated here.
[0391] Step 705: The terminal device determines the downlink synchronization deviation of the two PDU sets.
[0392] Specifically, the terminal device measures the associated packets of the two PDU sets to obtain the delay measurement information of the two PDU sets, and then the terminal device 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.
[0393] In a 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.
[0394] Step 706: The terminal device sends the downlink synchronization deviation of the two PDU sets to the access network device.
[0395] Accordingly, the access network device receives the downlink synchronization deviation of the two PDU sets from the terminal device.
[0396] 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.
[0397] 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 number of the associated packet in the first PDU set and the sequence number of the associated packet in the second PDU set. For example, the message may carry the SN in the GTP-U of the associated packet in the first PDU set and the SN in the GTP-U of the associated packet in the second PDU set.
[0398] Step 707: The terminal device notifies the access network device of the association relationship between the two PDU sets.
[0399] In a possible implementation, 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 an 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 an 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.
[0400] 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 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.
[0401] 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 can carry the association information indicating another PDU set only in the association packet of one of the two PDU sets. There is no limitation here.
[0402] In another possible implementation, the terminal device notifies the access network device of the association relationship between the two PDU sets through a control surface. Exemplarily, 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 in uplink transmission, that is, the first PDU set and the second PDU set have an association relationship.
[0403] In actual applications, the terminal device can notify the access network device of the association relationship between two PDU sets through any of the aforementioned implementation methods, and this application does not limit this.
[0404] Step 708: The access network device determines the uplink synchronization deviation of the two PDU sets.
[0405] Specifically, the access network device measures the associated packets of the two PDU sets based on the associated information carried by the terminal device in the associated packets in the PDU set to obtain the delay measurement information of the two PDU sets, and then the access network device 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 in the first PDU set and the time when the access network device receives the associated packets in the second PDU set.
[0406] In a possible implementation, the delay measurement information of the two PDU sets measured by the access network device includes ninth time information and tenth time information. The ninth time information is used to indicate the moment when the first protocol layer of the access network device uploads the associated packets in the first PDU set to the upper layer of the first protocol layer; the tenth time information is used to indicate the moment when the first protocol layer of the access network device uploads the associated packets in the second PDU set to the upper layer of the first protocol layer. In this example, the access network device determines the difference between the ninth time information and the tenth time information as the uplink synchronization deviation.
[0407] Step 709: The access network device sends the downlink synchronization deviation and the uplink synchronization deviation to the core network device.
[0408] Correspondingly, the core network device receives the downlink synchronization deviation and the uplink synchronization deviation from the access network device.
[0409] Step 709 is an optional step.
[0410] In this embodiment, the access network device and the terminal device can measure the associated packets in the two PDU sets. Among them, the terminal device can determine the time when the associated packets in the two PDU sets arrive at the terminal device respectively, and then the terminal device can determine the downlink synchronization deviation and feedback the downlink synchronization deviation to the access network device; the access network device can determine the time when the associated packets in the two PDU sets arrive at the access network device respectively, and then the access network device can determine the uplink synchronization deviation. 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 and the uplink synchronization deviation, which is beneficial to optimize the network.
[0411] like Figure 8 As shown, it is the main process of another embodiment of the delay measurement method proposed in this application. 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 measure the synchronization performance of the associated packet through the application layer measurement configuration, and then the upper layer of the AS of the terminal device feeds back the synchronization performance of the air interface. Specifically, the access network device and the terminal device mainly perform the following steps:
[0412] Step 801: The access network device notifies the terminal device to start application layer measurement.
[0413] 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 introduced later receives the associated packet from the AS of the terminal device) and / or synchronization performance information (for example, downlink synchronization deviation, etc.).
[0414] In this embodiment, the access network device is able to obtain application layer measurement configuration information. The application layer measurement configuration information is information determined by the network side for the access network device to configure application layer measurements for the terminal device. In one example, the access network device may 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, the CN sends the application layer measurement configuration information to the access network device; for management-based QoE measurement, the OAM or EM 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.
[0415] 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 the measurement collection entity.
[0416] 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 needs 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 TS 26.247. Initial playback delay: refers to the initial playback delay at the beginning of the streaming media. For example, it can be specifically defined as the time from the moment of acquiring the first segment of the media to the moment of extracting the streaming media from the client buffer. For details, please refer to the definition in Section 10.2 of the 3GPP protocol TS 26.247. Buffer level: refers to the time that the media data will continue to be played from the current playback moment. For details, please refer to the definition in Section 10.2 of the 3GPP protocol TS 26.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 strategy 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 associated packets (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.).
[0417] The service type is used to indicate the type of service corresponding to the application layer measurement. The aforementioned service may be a streaming service, a voice service, a multimedia telephony service for IP multimedia system (MTSI), a virtual reality technology (VR) service, an augmented reality (AR) service, a multicast and broadcast service (MBS) and other types of services.
[0418] Among them, the QoE reference is the 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, wherein 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.
[0419] Optionally, the application layer measurement configuration information also includes an application layer measurement configuration visible to the access network, such as 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 feedback 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 access network visible application layer measurement configuration can be received by the access network device from network elements such as CN, OAM or EM, or 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 delay measurement information of associated packets visible to the access network device and / or synchronization performance information visible to the access network device.
[0420] 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, for example, a RAN-visible QoE configuration visible to the access network device; it may also be an application layer measurement configuration invisible to the access network device, for example, a QoE measurement configuration container or a container for application layer measurement configuration; it may also include an application layer measurement configuration visible to the access network device and an application layer measurement configuration invisible to the access network device. No specific limitation is made here.
[0421] 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.
[0422] Step 802: The AS of the terminal device notifies the upper layer of the AS of the terminal device to start application layer measurement.
[0423] 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, and the application layer measurement configuration indicates that the terminal device measures the synchronization performance of the associated packet, or the application layer measurement configuration includes the synchronization performance measurement indication of the associated packet. For the explanation of the application layer measurement configuration, please refer to the relevant introduction in the previous step 801, which will not be repeated here.
[0424] Since the upper layer of the AS of the terminal device can enable the measurement of the synchronization performance of the associated packet based on the application layer measurement indicators such as the delay measurement information and synchronization performance information of the associated packet added in the application layer measurement configuration, this step can also be understood as the AS of the terminal device notifying the upper layer of the AS of the terminal device to enable the synchronization performance measurement of the associated packet.
[0425] Step 803: The upper layer of the AS of the terminal device performs synchronization performance measurement of the associated packet.
[0426] Because 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 packets (for example, the moment when the first protocol layer of the terminal device uploads the associated packets to the upper layer of the first protocol layer) and / or synchronization performance information (for example, downlink synchronization deviation, etc.), therefore, in addition to measuring the application layer measurement indicators in the traditional technology, the upper layer of the AS of the terminal device 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.
[0427] In a 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.
[0428] 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 then 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 the 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 the associated packet 2 (recorded as time information 2). Then, the upper layer of the AS of the terminal device determines that the difference between time information 1 and time information 2 is the downlink synchronization deviation.
[0429] 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.
[0430] The application layer measurement result includes the synchronization performance measurement result of the associated packet.
[0431] 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.
[0432] 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 synchronization performance measurement result of the associated packet reflects. Exemplarily, the service identifier may be an identifier of a QoS flow or a PDU session identifier.
[0433] 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.
[0434] Step 805: The AS of the terminal device sends the application layer measurement result to the access network device.
[0435] The application layer measurement result includes the synchronization performance measurement result of the associated packet.
[0436] After receiving 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.
[0437] 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 packets visible 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 packets 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 packets 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 packets to the access network device in a form visible to the application layer.
[0438] It should also be noted that if the access network device receives measurement results reported in the form of a container (for example, delay measurement information and / or downlink synchronization deviation of associated packets encapsulated in the container), the access network device can send the measurement results to a measurement collection entity (MCE); if the access network device receives measurement results visible to the access network (for example, delay measurement information and / or downlink synchronization deviation of associated packets visible to the access network), the access network device can optimize wireless resource scheduling based on the measurement results.
[0439] 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 to use the application layer measurement configuration process in the 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 the measurement results related to the 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 the measurement results related to the synchronization performance to measure the transmission performance of the service, and then optimize the network.
[0440] Corresponding to the scheme given in the foregoing 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, and the communication device 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 implementation details of the scheme, reference can be made to the description of the foregoing method embodiment, which will not be repeated below.
[0441] like Fig. 9 FIG. 9 is a schematic diagram of the structure of a communication device 90 provided by the present application. It should be understood that the aforementioned Figure 2 , Figure 3 , Figure 4 , Figure 5 , Figure 6 or Figure 7 The core network device in the corresponding method embodiment can be based on the Fig. 9 The structure of the communication device 90 shown in FIG. Fig. 9 As shown, 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.
[0442] The communication interface 902 is connected to other communication devices through a communication link. For example, the communication interface 902 may include a communication interface with an access network device (e.g., Fig. 9 A network interface between the communication device 90 shown, such as an S1 interface.
[0443] The processor 901 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a 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 refer to one processor or may include multiple processors, which is not specifically limited here.
[0444] 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, and the various types of computer program codes executed can also be regarded as drivers of the processor 901. The memory 903 may include volatile memory (volatile memory), such as random-access memory (random-access memory, RAM); the memory may also include non-volatile memory (non-volatile memory), such as read-only memory (read-only memory, ROM), flash memory (flash memory), hard disk drive (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory 903 may also include a combination of the above-mentioned types of memory. The memory 903 may refer to one memory, or may include multiple memories. Exemplarily, the memory 903 is used to store various data.
[0445] In one design, the communication device 90 is used to perform the above Figure 2 or Figure 3 The method of the core network device in the corresponding embodiment. The communication interface 902 is used to obtain the time information of the first packet in the first protocol data unit PDU set at the sending end, and to obtain the time information of the last packet in the first PDU set at the receiving end; the processor 901 is used to 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.
[0446] In a possible implementation, the processor 901 is specifically used by 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.
[0447] In a 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.
[0448] 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.
[0449] The communication interface 902 is specifically used to receive the first time information from the access network device; and, obtain 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 determine 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, receive 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. The processor 901 is specifically used to determine 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.
[0450] 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.
[0451] 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.
[0452] In a 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.
[0453] 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.
[0454] The communication interface 902 is specifically configured to receive the 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.
[0455] In another example, 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; 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 time when the access network device sends the first packet; the time information of the last packet at the receiving end includes the eighth time information, and the eighth time information is used to indicate the time when the core network device receives the last packet;
[0456] 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 port uplink delay of the first PDU set.
[0457] 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.
[0458] In a possible implementation, 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.
[0459] In another design, the communication device 90 is used to perform the above Figure 4 or Figure 5The method of the core network device in the corresponding embodiment. Among them, the communication interface 902 is used to send a first indication information to the access network device, and the first indication information is used to indicate that only the first packet and the last packet in the PDU set are measured. It can also be understood that the first indication information is used to indicate the transmission delay of the PDU set granularity.
[0460] In one example, the communication device 90 notifies the access network device through the control plane to enable the PDU set granularity delay measurement. Exemplarily, the processor 901 sends a control plane signaling to the access network device, and the control plane signaling carries the first indication information. Optionally, the control plane signaling can be a delay measurement request message or other messages. Optionally, the processor 901 also sends the identification information of the first PDU set to the access network device to instruct the access network device to perform the PDU set granularity delay measurement on the first PDU set.
[0461] In another example, the communication device 90 notifies the access network device through the user plane to enable the 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, and does not carry the first indication information in other packets 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.
[0462] In a possible implementation, the communication interface 902 is specifically configured to receive the 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.
[0463] In a 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 port uplink delay of the first PDU set.
[0464] In another design, the communication device 90 is used to perform the above Figure 6The method of the core network device in the corresponding embodiment. The communication interface 902 is used to obtain the time information of the 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 processor 901 is used to determine 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 deviation between the associated packets in one PDU set arriving at the receiving end and the associated packets in another PDU set arriving at the receiving end.
[0465] 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.
[0466] 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.
[0467] 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 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. 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.
[0468] 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;
[0469] The processor 901 is specifically configured to determine the uplink synchronization deviation based on a difference between a time when an associated packet in the first PDU set is received and a time when an associated packet in the second PDU set is received.
[0470] In a possible implementation, the communication interface 902 is used 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.
[0471] In another design, the communication device 90 is used to perform the above Figure 7 The method of the core network device in the corresponding embodiment. The communication interface 902 is used to send the third indication information to the access network device. The processor 901 is used to determine the association relationship between the two PDU sets, and the communication interface 902 is used to notify the access network device of the association relationship between the two PDU sets.
[0472] 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, and the association information is used to indicate that one PDU set has an association relationship with another PDU set.
[0473] In another example, the communication device 90 notifies the access network device of the association relationship between the two PDU sets by controlling the access network device. Exemplarily, the communication interface 902 sends the identification information of the first PDU set and the 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.
[0474] It should be noted that the specific implementation methods and beneficial effects of this embodiment can refer to the method of the core network device in the above embodiment, which will not be repeated here.
[0475] like Fig.10 FIG. 1 is a schematic diagram of the structure of another communication device 100 provided by the present application. It should be understood that the aforementioned Figure 4 , Figure 5 , Figure 7 or Figure 8 The terminal device in the corresponding method embodiment can be based on the Fig.10 The structure of the communication device 100 is shown.
[0476] The communication device 100 includes at least one processor 1001, at least one memory 1002, and at least one transceiver 1003. The processor 1001, the memory 1002, and the transceiver 1003 are connected. Optionally, the communication device 100 may also include an input device 1005, an output device 1006, and one or more antennas 1004. The antenna 1004 is connected to the transceiver 1003, and the input device 1005 and the output device 1006 are connected to the processor 1001.
[0477] 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 computer program codes executed can also be regarded as the driver program of the processor 1001. It should be understood that in this embodiment, Fig.10 Only one memory and one processor are shown, but in actual applications, the communication device 100 may have multiple processors or multiple memories, which is not limited here. In addition, the memory 1002 may also be referred to as a storage medium or a storage device. The memory 1002 may 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.
[0478] 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, and the receiver Rx of the transceiver 1003 is used to receive the radio frequency signals from the antenna 1004, and 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 further processes the digital baseband signals or digital intermediate frequency signals, such as demodulation processing and decoding processing. In addition, the transmitter Tx in the transceiver 1003 is also used to receive the modulated digital baseband signals or digital intermediate frequency signals from the processor 1001, and convert the modulated digital baseband signals or digital intermediate frequency signals into radio frequency signals, and send 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 processing on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal, and the order of the down-mixing and analog-to-digital conversion processing is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion processing on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal, and the order of the up-mixing and digital-to-analog conversion processing is adjustable. The digital baseband signal and the digital intermediate frequency signal can be collectively referred to as a digital signal.
[0479] 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 a transceiver unit for implementing a receiving function may be regarded as a receiving unit, and a device in a transceiver unit for implementing a sending function may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit, and the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0480] The processor 1001 may be a baseband processor or a central processing unit (CPU), and the baseband processor and the CPU may be integrated or separated. The processor 1001 may be used to implement various functions for the terminal device, such as processing the communication protocol and communication data, or controlling the entire terminal device, executing software programs, and processing the data of software programs; or assisting in completing computing tasks, such as graphics and image processing or audio processing, etc.; or the processor 1001 is used to implement one or more of the above functions.
[0481] 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.
[0482] In one design, communication device 100 is configured to perform the aforementioned Figure 4 or Figure 5 The method of the terminal device in the corresponding embodiment. The transceiver 1003 in the communication device 100 is used to receive second indication information from the access network device, the second indication information is used to indicate the transmission delay of the PDU set granularity; and send the delay measurement information of the first PDU set to the access network device. Optionally, the second indication information includes identification information of the first PDU set.
[0483] In a possible implementation, the delay measurement information of the first PDU set includes the air interface downlink delay of the first PDU set. The transceiver 1003 is used to obtain the first time information from the access network device, 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 processor 1001 is used to record the 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; and, determine 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.
[0484] Optionally, the first time information includes a first timestamp configured by the access network device in the first packet in the first PDU set.
[0485] In a possible implementation, 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.
[0486] In another design, the communication device 100 is used to perform the above Figure 7 The method of the terminal device in the corresponding embodiment. The transceiver 1003 in the communication device 100 is used to receive 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 the two PDU sets; the processor 1001 is used to determine 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 deviation between the associated packets in one PDU set arriving at the receiving end and the associated packets in another PDU set arriving at the receiving end; the transceiver 1003 is used to send the synchronization performance information to the access network device.
[0487] In a possible implementation manner, the transceiver 1003 is further configured to obtain an association relationship between two PDU sets.
[0488] Optionally, 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.
[0489] 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.
[0490] 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.
[0491] In a possible implementation, 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.
[0492] 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.
[0493] In another design, the communication device 100 is used to perform the above Figure 8 The method of the terminal device in the corresponding embodiment. The transceiver 1003 is used to receive the application layer measurement configuration. The processor 1001 is used to submit the application layer measurement configuration to the upper layer of the AS of the terminal device, and determine the synchronization performance measurement result of the associated packet. The transceiver 1003 is also used to send the synchronization performance measurement result of the associated packet to the access network device.
[0494] It should be noted that the specific implementation manner and beneficial effects of this embodiment can refer to the method of the terminal device in the above embodiment, which will not be repeated here.
[0495] like Fig.11 FIG. 1 is a schematic diagram of the structure of another communication device 110 provided in this embodiment. It should be understood that the aforementioned Figure 4 , Figure 5 , Figure 7 or Figure 8 The access network device in the corresponding method embodiment can be based on the Fig.11The structure of the communication device 110 is shown.
[0496] 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, the memory 1102, the transceiver 1103, and the network interface 1105 are connected via a connecting device, and the antenna 1104 is connected to the transceiver 1103. The aforementioned connecting device may include various interfaces, transmission lines, or buses, etc., which are not limited in this embodiment.
[0497] 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. 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 computer program codes executed can also be regarded as the driver programs of the processor 1101. It should be understood that the embodiments of the present application are not limited to the following: Fig.11 Only one memory and one processor are shown, but in actual applications, the communication device 110 may have multiple processors or multiple memories, which is not limited here. In addition, the memory 1102 may also be referred to as a storage medium or a storage device. The memory 1102 may 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.
[0498] 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, and the receiver Rx of the transceiver 1103 is used to receive the radio frequency signal from the antenna 1104, and convert the radio frequency signal into a digital baseband signal or a digital intermediate frequency signal, and provide the digital baseband signal or the digital intermediate frequency signal to the processor 1101, so that the processor 1101 further processes the digital baseband signal or the digital intermediate frequency signal, such as demodulation processing and decoding processing. In addition, the transmitter Tx in the transceiver 1103 is also used to receive a modulated digital baseband signal or a digital intermediate frequency signal from the processor 1101, and convert the modulated digital baseband signal or the digital intermediate frequency signal into a radio frequency signal, and send the radio frequency signal 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 processing on the RF signal to obtain a digital baseband signal or a digital intermediate frequency signal, and the order of the down-mixing and analog-to-digital conversion processing is adjustable. The transmitter Tx can selectively perform one or more stages of up-mixing and digital-to-analog conversion processing on the modulated digital baseband signal or digital intermediate frequency signal to obtain a RF signal, and the order of the up-mixing and digital-to-analog conversion processing is adjustable. The digital baseband signal and the digital intermediate frequency signal can be collectively referred to as a digital signal.
[0499] 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 used to implement a receiving function in a transceiver unit may be regarded as a receiving unit, and a device used to implement a sending function in a transceiver unit may be regarded as a sending unit, that is, the transceiver unit includes a receiving unit and a sending unit, and the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the sending unit may be referred to as a transmitter, a transmitter, or a transmitting circuit, etc.
[0500] In ...
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 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.
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 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.
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
Cited By
Delay measurement method and communication apparatus
EP4712428A1
Delay measurement method and communication apparatus
WO2024244674A1
Information processing methods, communication device, communication system and storage medium
WO2026143346A1
