Delay information management method and related apparatus
By acquiring and managing latency information in XR services and using timers to record buffer durations, the problem of successfully transmitting data within latency requirements was solved, thereby improving service capacity.
Patent Information
- Application Number
- CN202211711911.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2026-01-20
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In the field of wireless communication, especially in extended reality (XR) services, how to determine the remaining latency information of data so as to successfully transmit within the latency requirements and improve service capacity is a key issue.
By acquiring the latency information at the first granularity, determining the latency information of data packets using the first threshold and parameters, recording the buffer duration using a timer, and allocating resources for data transmission in a timely manner.
It enabled successful data transmission within latency requirements, thereby increasing service capacity.
Smart Images

Figure CN118283800B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of wireless communication, and in particular to a latency information management method and related apparatus. BACKGROUND
[0002] With the development of the field of wireless communication, the requirement for latency of specified services (for example, extended reality, cloud gaming, etc.) is also becoming more and more stringent. Taking the extended reality (XR) service as an example, the XR service has a large amount of data burst and a relatively stringent requirement for latency, and therefore has a requirement for low latency and high throughput. That is to say, in the XR service, data needs to be successfully transmitted within a certain latency requirement range, and if the data cannot be successfully transmitted within the latency requirement range, the data will be discarded, thereby causing a decrease in service capacity.
[0003] In order to improve the service capacity and enable the data to be successfully transmitted within the latency requirement range, the access network device can perceive the residual latency information of the XR service in the terminal, so as to timely allocate resources for the data with less residual latency, so that the data can be transmitted to the access network device. However, how to determine the residual latency of the data in the XR service has become a problem to be solved at present. SUMMARY
[0004] The present application provides a latency information management method and related apparatus, which determines the residual latency information of the data in the specified service (for example, the XR service, the cloud gaming service, etc.), so that the access network device can perceive the residual latency information of the specified service in the terminal, so as to timely allocate resources for the data with less residual latency, thereby facilitating the data to be transmitted to the access network device within the latency requirement range.
[0005] In a first aspect, the present application provides a latency information management method, comprising: obtaining first latency information of a first granularity. The first latency information is determined by a first threshold value and a first parameter, and the first parameter is related to the latency information of the data packet of the first granularity. Alternatively, the first latency information is determined by a second parameter, and the second parameter is related to the latency information of the data packet of the first granularity.
[0006] In a possible implementation manner, the first latency information is used to indicate the residual transmission latency of the first granularity. The first threshold value can be obtained by the transmission end through a higher layer or an application layer, or can be received by the transmission end from the receiving end, or can be configured by the core network through network attachment storage (NAS) signaling.
[0007] In a possible implementation, the first parameter comprises at least one of: time delay information of each data packet in the first granularity. Time delay information of the earliest-arriving data packet in the first granularity. Time delay information of the start data packet in the first granularity. Time delay information of the end data packet in the first granularity. Time delay information of at least one data packet in the first granularity. Maximum value of time delay information of data packets in the first granularity. Time delay information of any data packet in the first granularity. Average value of time delay information of data packets in the first granularity. Maximum value of time delay information of the earliest-arriving data packet in the first granularity. Maximum value of multiple maximum time delay information in the first granularity. Maximum value of multiple any time delay information in the first granularity. Maximum value of multiple average time delay information in the first granularity.
[0008] In a possible implementation, the time delay information of data packets in the first granularity can be used to indicate a duration of buffering or maintaining of the data packets in the protocol layer.
[0009] In a possible implementation, the second parameter comprises at least one of: average residual time delay information of the first granularity. Minimum residual time delay information of the first granularity. Any residual time delay information of the first granularity. Median value of multiple residual time delay information of the first granularity. Minimum value of average residual time delay information of the first granularity. Minimum value of minimum residual time delay information of the first granularity. Minimum value of any residual time delay information of the first granularity.
[0010] In a possible implementation, the residual time delay information is used to indicate a residual sending time delay of data packets in the first granularity.
[0011] In a possible implementation, the first time delay information is at least one of: a minimum value of the first threshold minus the first parameter. An average value of the first threshold minus the first parameter. A maximum value of the first threshold minus the first parameter. Any value of the first threshold minus the first parameter. The first threshold minus the first parameter. The second parameter.
[0012] In a possible implementation, the method further comprises: starting a first timer after receiving the data packets in the first granularity before obtaining the first time delay information of the first granularity.
[0013] In a possible implementation, the first timer is used to record a duration of buffering or maintaining of the corresponding data packets in the protocol layer.
[0014] In a possible implementation, the method further includes: obtaining that the data packet is completely transmitted or the segmented data packet is completely transmitted.
[0015] In a possible implementation, stopping the first timer corresponding to the data packet includes: no longer maintaining the first timer corresponding to the data packet, and the first timer of the data packet no longer counts.
[0016] In a possible implementation, before obtaining the first time delay information of the first granularity, it is determined whether the first timer of the data packet in the first granularity is running. When the first timer is running, the time delay information of the data packet corresponding to the first timer is obtained. When the first timer is stopped, the time delay information of the data packet corresponding to the first timer is not obtained.
[0017] In a possible implementation, obtaining that the data packet is completely transmitted or the segmented data packet is completely transmitted specifically includes at least one of the following: obtaining that the data packet is transmitted; obtaining that the data packet is sent; obtaining that the data packet is successfully transmitted; obtaining that at least one segmented data of the data packet is transmitted; obtaining that at least one segmented data of the data packet is sent; and obtaining that at least one segmented data of the data packet is successfully transmitted.
[0018] In a possible implementation, transmitted means transmitted to a bottom layer, sent means sent to a receiving end, and successfully transmitted means successfully transmitted to the receiving end.
[0019] In a possible implementation, the method further includes: transmitting the first time delay information, or transmitting the first time delay information and first granularity information.
[0020] In a possible implementation, the first granularity information includes an identifier corresponding to the first granularity, and the first granularity information is used to indicate the first granularity.
[0021] In a possible implementation, the method further includes: determining whether the first uplink resource for reporting the first indication information is obtained. The first indication information is used to indicate an identifier corresponding to a value or a value range of the second time delay information, the second time delay information is determined by the first time delay information, or determined by the first time delay information and a waiting time delay of the first uplink resource. When it is determined that the first uplink resource is obtained, the first indication information is reported.
[0022] In a possible implementation, the second time delay information is used to indicate a remaining sending time delay of the first granularity.
[0023] In a possible implementation, the method further includes: reporting the first indication information when it is determined that the first uplink resource is acquired.
[0024] In a possible implementation, the data packet of the first granularity includes at least one of: a protocol data unit (PDU) and a service data unit (SDU).
[0025] In a possible implementation, the method further includes: starting a second timer after the data packet of the first granularity is received.
[0026] In a possible implementation, the second timer is used to record a duration for which the corresponding data packet is buffered or maintained at a protocol layer.
[0027] In a possible implementation, a duration of the first timer corresponding to the first data packet and / or a duration of the second timer are acquired. The duration of the first timer for transmitting the first data packet, or the duration of the first timer for transmitting the first data packet and the duration of the second timer are transmitted.
[0028] In a possible implementation, the method further includes: acquiring the duration of the first timer corresponding to the first data packet and / or the duration of the second timer when a first condition is met. The first condition includes at least one of: the first data packet has been transmitted, the second indication information is acquired, the second indication information is used to indicate a timer duration for transmitting the first data packet, or a delay information reporting trigger.
[0029] In a possible implementation, the method further includes: acquiring delay information of the first data packet. The delay information of the first data packet is determined by the duration of the first timer of the first data packet and the duration of the second timer of the first data packet.
[0030] In a possible implementation, the delay information of the first data packet can be used to indicate a duration for which the data packet is buffered or maintained at a protocol layer.
[0031] In a possible implementation, the method further includes: deleting the duration of the timer corresponding to the first data packet or stopping the timer corresponding to the first data packet when a second condition is met. The second condition includes one or more of: the first data packet has been transmitted is acquired, the first data packet has been sent is acquired, the first data packet is successfully transmitted is acquired, at least one segmented data of the first data packet has been transmitted is acquired, at least one segmented data of the first data packet has been sent is acquired, at least one segmented data of the first data packet is successfully transmitted is acquired, and a duration of the timer corresponding to the first data packet has been transmitted is acquired.
[0032] In a second aspect, the present application provides a method for managing time delay information, comprising: obtaining first time delay information of a first granularity. The first time delay information is determined by first time information and second time information, the first time information is determined by timestamp information of a data packet of the first granularity, and the second time information is current timestamp information. Alternatively, the first time delay information is the first time information.
[0033] In a possible implementation, the first time delay information is used to indicate a remaining sending time delay of the first granularity.
[0034] In a possible implementation, the first time information is determined by a timestamp of a data packet of the first granularity, and specifically at least one of the following: the first time information is determined by a timestamp of a data packet that arrives earliest in the first granularity. The first time information is determined by a timestamp of each data packet in the first granularity. The first time information is determined by a timestamp of any data packet in the first granularity. The first time information is determined by an earliest timestamp of data packets in the first granularity. The first time information is determined by any timestamp of data packets in the first granularity. The first time information is determined by a median value of timestamps of data packets in the first granularity. The first time information is determined by a timestamp of a start data packet in the first granularity. The first time information is determined by a timestamp of an end data packet in the first granularity. The first time information is determined by an average value of timestamps of each data packet in the first granularity.
[0035] In a possible implementation, the method further comprises: recording a timestamp of the data packet after receiving the data packet of the first granularity.
[0036] In a possible implementation, the method further comprises: transmitting the timestamp corresponding to the data packet.
[0037] In a possible implementation, the first time information comprises at least one of the following: system frame number, subframe information, slot information, and symbol information.
[0038] In a possible implementation, the method further comprises: obtaining that the data packet is completed transmission or that the data packet segmentation is completed transmission. Deleting or discarding the timestamp corresponding to the data packet.
[0039] In a possible implementation, obtaining that the data packet is completed transmission or that the data packet segmentation is completed transmission specifically comprises at least one of the following: obtaining that the data packet has been transmitted. Obtaining that the data packet has been sent. Obtaining that the data packet is successfully transmitted. Obtaining that at least one segmented data of the data packet has been transmitted. Obtaining that at least one segmented data of the data packet has been sent. Obtaining that at least one segmented data of the data packet is successfully transmitted.
[0040] In a possible implementation, the transmitted means transmitted to a bottom layer. The sent means sent to a receiving end. The successful transmission means successful transmission to the receiving end.
[0041] In a third aspect, an embodiment of the present application provides a method for indicating information transmission, comprising: indicating first information when a data packet of a first granularity is transmitted; wherein the first information is used to indicate at least one of the following: the data packet is transmitted, a timer corresponding to the data packet is stopped, or a timestamp corresponding to the data packet is deleted or discarded.
[0042] In a possible implementation, the stopping of the first timer corresponding to the data packet comprises no longer maintaining the timer corresponding to the data packet.
[0043] In a possible implementation, the indicating of the first information when the data packet of the first granularity is transmitted comprises at least one of the following: the indicating of the first information when the data packet is transmitted; the indicating of the first information when the data packet is sent; the indicating of the first information when the data packet is successfully transmitted; the indicating of the first information when at least one segment data of the data packet is transmitted; the indicating of the first information when at least one segment data of the data packet is sent; and the indicating of the first information when at least one segment data of the data packet is successfully transmitted.
[0044] In a possible implementation, the transmitted means transmitted to a bottom layer. The sent means sent to a receiving end. The successful transmission means successful transmission to the receiving end.
[0045] In a fourth aspect, an embodiment of the present application provides a method for sending time delay information, comprising: obtaining whether a first uplink resource is used to send first indication information; and sending or obtaining the first indication information when the first uplink resource is obtained and a result of a logical channel priority is met; wherein the first indication information is used to indicate second granularity time delay information, the time delay information comprises second time delay information of a first granularity or first time information of the first granularity, and the first indication information indicates at least one of the following: a value of the second time delay information, a value of the first time information, a value range of the second time delay information, and a value range of the first time information.
[0046] In a possible implementation, the second time delay information is used to indicate a remaining sending time delay of the first granularity.
[0047] In a possible implementation, the first time information is determined by a timestamp of arrival of the data packet of the first granularity.
[0048] In a possible implementation, the second granularity corresponds to at least one time delay information.
[0049] In a possible implementation, the first granularity can be equal to the second granularity, or can not be equal to the second granularity. When the first granularity is not equal to the second granularity, the second granularity includes the first granularity.
[0050] In a possible implementation, the second time delay information is determined by the first time delay information, or is determined by the first time delay information and a waiting time delay of the first uplink resource, or is determined by the first time information and a time stamp of obtaining the first uplink resource.
[0051] In a possible implementation, the first time delay information can be the same as the first time delay information, or can be different from the second time delay information.
[0052] In a possible implementation, the second granularity includes at least one of the following: a radio link control protocol layer (RLC) entity, an RLC entity group including a plurality of RLC entities, a logical channel (LCH), an LCH group including a plurality of LCHs, a PDU set, and a databurst.
[0053] In a possible implementation, when the second granularity is an RLC entity, the first granularity includes at least one of the following: an LCH, a databurst, and a PDU set. When the second granularity is a databurst, the first granularity includes a PDU set. When the second granularity is an LCH, the first granularity includes at least one of the following: a databurst and a PDU set. When the second granularity is an RLC entity group, the first granularity includes at least one of the following: an RLC entity, an LCH, a databurst, and a PDU set. When the second granularity is an LCH group, the first granularity includes at least one of the following: an LCH, a databurst, and a PDU set.
[0054] In a possible implementation, the first indication information further includes a data format of the first indication information, first granularity information, buffer data amount information, and a reserved field.
[0055] In a fifth aspect, an embodiment of the present application provides a chip or a chip system, including processing circuitry and interface circuitry, the interface circuitry is configured to receive code instructions and transmit the code instructions to the processing circuitry, and the processing circuitry is configured to run the code instructions to perform the method in any possible implementation manner of any aspect.
[0056] In a sixth aspect, an embodiment of the present application provides an electronic device, which is a user equipment, comprising: one or more processors, one or more memories, and a radio frequency transmitting path. The one or more memories are connected with the one or more processors, and the one or more memories are configured to store computer program codes, the computer program codes comprising computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method in any possible implementation manner of any of the aspects above.
[0057] In a seventh aspect, an embodiment of the present application provides an electronic device, which is a network equipment, comprising: a processor and a transceiver connected with the processor internally, the transceiver being configured to receive code instructions and transmit the code instructions to the processor, and the processor being configured to run the code instructions to cause the electronic device to perform the method in any possible implementation manner of any of the aspects above.
[0058] In an eighth aspect, an embodiment of the present application provides a computer readable storage medium, comprising computer instructions, which, when executed on an electronic device, cause the electronic device to perform the method in any possible implementation manner of any of the aspects above. BRIEF DESCRIPTION OF DRAWINGS
[0059] FIG. 1A A protocol layer structure schematic diagram provided by an embodiment of the present application;
[0060] FIG. 1B A first time delay information determination flow schematic diagram provided by an embodiment of the present application;
[0061] FIG. 1C A specific implementation schematic diagram of a first time delay information determination flow provided by an embodiment of the present application;
[0062] FIG. 2A Another first time delay information determination flow schematic diagram provided by an embodiment of the present application;
[0063] FIG. 2B Another protocol layer structure schematic diagram provided by an embodiment of the present application;
[0064] FIG. 2C Another protocol layer structure schematic diagram provided by an embodiment of the present application;
[0065] FIG. 3A Another first time delay information determination flow schematic diagram provided by an embodiment of the present application;
[0066] FIG. 3B Another protocol layer structure schematic diagram provided by an embodiment of the present application;
[0067] FIG. 3CAnother specific implementation of a first latency information determination procedure provided by the embodiment of the present application is shown in the flowchart.
[0068] FIG. 4A A flowchart of a first indication information transmission method provided by the embodiment of the present application is shown in the flowchart.
[0069] FIG. 4B A specific implementation of a flowchart of a first indication information transmission method provided by the embodiment of the present application is shown in the flowchart.
[0070] FIG. 5A A flowchart of a latency information transmission method provided by the embodiment of the present application is shown in the flowchart.
[0071] FIG. 5B A second granularity provided by the embodiment of the present application is shown in the flowchart.
[0072] FIG. 5C A flowchart of a first indication information transmission method provided by the embodiment of the present application is shown in the flowchart.
[0073] FIG. 6A A structure diagram of a communication device 1000 provided by the embodiment of the present application is shown in the flowchart.
[0074] FIG. 6B A structure diagram of a network device 2000 provided by the embodiment of the present application is shown in the flowchart. DETAILED DESCRIPTION
[0075] The terms used in the following embodiments of the present application are only for the purpose of describing the specific embodiments of the present application, and are not intended to be limiting to the present application. As used in the specification and the appended claims of the present application, the singular forms "a," "an," and "the" are intended to include both singular and plural forms, unless the context clearly indicates otherwise. It will be further understood that the terms "and / or" used in the present application, mean any or all possible combinations of one or more of the associated listed items. In the embodiments of the present application, the terms "first," "second," are used only for the purpose of description, and cannot be understood as implying or suggesting relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first," "second" can explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, the meaning of "a plurality of" is two or more, unless otherwise specified.
[0076] To improve service capacity and ensure successful data transmission within latency requirements, this application provides a latency information management method. This method determines the remaining latency information of data in a specified service (e.g., XR service, cloud gaming service, etc.), enabling access network devices to perceive the remaining latency information of the specified service in the terminal. This allows for timely allocation of resources to data with low remaining latency, facilitating the transmission of that data to the access network device within the latency requirements. Specifically, this latency information management method may include: a latency information determination method, an indication information transmission method, and a latency information transmission method.
[0077] The granularity described in this application may include at least one of entity, protocol layer, channel, link, channel, bearer, and set.
[0078] First, the delay information determination method provided in the embodiments of this application is introduced.
[0079] Method 1: Determine the first delay information of the first granularity based on the delay information of the first data packet.
[0080] It should be noted that the first latency information is determined by a first threshold and a first parameter, where the first parameter is related to the latency information of the data packet at the first granularity. Alternatively, the first latency information is determined by a second parameter, where the second parameter is related to the latency information of the data packet at the first granularity. The first parameter may correspond to one latency information or multiple latency information.
[0081] In this method, a first protocol layer and / or a second protocol layer can obtain latency information of one or more data packets at a first granularity. From the latency information of the one or more data packets, the first protocol layer or the second protocol layer can determine a first parameter. Based on a first threshold and the first parameter, the first protocol layer or the second protocol layer can determine first latency information at the first granularity. Alternatively, from the latency information of the one or more data packets, the first protocol layer or the second protocol layer can determine a second parameter, and based on the second parameter, determine the first latency information. Then, the first protocol layer or the second protocol layer can transmit the first latency information, or transmit the first latency information and the first granularity information. Transmitting the first latency information can be understood as the first protocol layer or the second protocol layer sending the first latency information to the next protocol layer. The first granularity information may include an identifier corresponding to the first granularity, and the first granularity information is used to indicate the first granularity.
[0082] Among them, 1) the latency information of the data packet can be used to indicate the duration for which the data packet is buffered at the protocol layer. The aforementioned protocol layer can be one protocol layer or multiple protocol layers.
[0083] When the time delay information of the data packet indicates the time length of buffering of the data packet at a protocol layer, it can be understood that: a. the time difference between the time when the protocol layer receives the data packet and the time when the protocol layer transmits the data packet to the next protocol layer. b. the time difference between the time when the protocol layer receives the data packet and the time when the time delay information is reported. c. the time difference between the time when the protocol layer receives the data packet and the time when the first time delay information is calculated.
[0084] When the time delay information of the data packet indicates the time length of buffering of the data packet at multiple protocol layers, it can be understood that: a. the sum of the time lengths of staying of the data packet at the multiple protocol layers. The time length of staying at a protocol layer can refer to the time difference between the time when the protocol layer receives the data packet and the time when the protocol layer transmits the data packet to the next protocol layer. b. the time difference between the time when the first protocol layer receives the data packet and the time when the time delay information is reported. c. the time difference between the time when the first protocol layer receives the data packet and the time when the first time delay information is calculated. d. the sum of any two of the time difference between the time when the protocol layer receives the data packet and the time when the protocol layer transmits the data packet to the next protocol layer, the time difference between the time when the protocol layer receives the data packet and the time when the time delay information is reported, and the time difference between the time when the protocol layer receives the data packet and the time when the first time delay information is calculated, for example, the time difference between the time when the protocol layer receives the data packet and the time when the protocol layer transmits the data packet to the next protocol layer + the time difference between the time when the protocol layer receives the data packet and the time when the time delay information is reported = the first value, and the first value is the time length of buffering.
[0085] 2). The time delay information of the data packet can also be used to indicate the time length of the data packet or the timer corresponding to the data packet maintained by the protocol layer receiving the data packet, which is referred to as the maintained time length. The time length of maintaining the data packet can be understood as the time length from the time when the data packet arrives at the protocol layer to the time when the first information is obtained by the protocol layer, or the time length from the time when the data packet arrives at the protocol layer to the time when the time delay information is reported. The description of the first information can be referred to the subsequent description.
[0086] In an implementation manner, the first time delay information is used to indicate the remaining sending time delay of the first granularity or the remaining sending time delay of the data packet in the first granularity.
[0087] In some application scenarios, the first protocol layer and / or the second protocol layer can obtain the time delay information of the data packet through the timer corresponding to the data packet. That is, the timer corresponding to the data packet can be used to record the time length of buffering of the data packet in the protocol layer or the maintained time length. The description of the time length of buffering in the protocol layer or the maintained time length can be referred to the foregoing description. Next, two first time delay information calculation methods are described as follows:
[0088] A). The time delay information of the data packet is obtained through one timer corresponding to the data packet, and the first time delay information is determined.
[0089] B). obtaining the time delay information of the data packet through one or more timers corresponding to the data packet, and determining the first time delay information.
[0090] A). obtaining the time delay information of the data packet through one timer corresponding to the data packet.
[0091] In combination FIG. 1A As shown in the protocol layer structure diagram, as shown in the figure, the specific flow of the method can include: FIG. 1B-FIG. 1C
[0092] S101: obtaining first time delay information of a first granularity. The first time delay information is determined by a first threshold and a first parameter, and the first parameter is related to the time delay information of the data packet of the first granularity; or the first time delay information is determined by a second parameter, and the second parameter is related to the time delay information of the data packet of the first granularity.
[0093] Specifically, the first protocol layer can determine the first time delay information of the first granularity through the time delay information of the data packet of the first granularity. The time delay information of the data packet can refer to the foregoing description, which will not be repeated here.
[0094] In some embodiments, an implementation of this step can be that the first protocol layer obtains the data packet of the first granularity, and starts the first timer of the data packet. Then, the first protocol layer obtains the time delay information of the corresponding data packet according to the first timer, and determines the first parameter or the second parameter according to the obtained time delay information of the data packet of the first granularity. Next, the first protocol layer determines the first time delay information of the first granularity based on the first parameter and the first threshold, or based on the second parameter. The specific implementation flow can be as follows:
[0095] S1010: obtaining the data packet of the first granularity, and starting the first timer corresponding to the data packet.
[0096] Specifically, the first protocol layer can obtain a data packet at a first granularity, that is, the first protocol layer receives a data packet, and the data packet belongs to the first granularity. It can be explained that the first granularity can include at least one data packet, so the data packet at the first granularity can be one data packet at the first granularity, a plurality of data packets at the first granularity, or all data packets at the first granularity. The first protocol layer can be a service data adaptation protocol (SDAP) layer, a packet data convergence protocol (PDCP) layer, a radio link control (RLC) layer, or other protocol layers, and the application does not limit this. The first granularity can be an RLC entity, an RLC entity group including a plurality of RLC entities, a logical channel LCH, an LCH group including a plurality of LCHs, a PDU set, and a data burst. The first granularity can also be other entities, sets, etc. including one or more data packets. The data packet at the first granularity can include at least one of the following: a protocol data unit PDU and a service data unit SDU.
[0097] After obtaining the data packet at the first granularity, the first protocol layer can start a corresponding first timer for the data packet. The first timer can be used to obtain the time delay information of the data packet corresponding to the first timer, that is, the first timer can record the time length of buffering or maintaining the data packet corresponding to the first timer in the protocol layer, so as to subsequently obtain the time delay information of the corresponding data packet based on the first timer. The first timer can be started and maintained by the first protocol layer. Maintaining the first timer can be understood as the first protocol layer maintaining the time of buffering or maintaining the data packet in the protocol layer.
[0098] In a possible implementation, when the data packet completes transmission or the data packet segment completes transmission, or the second indication information is obtained, the second indication information is used to indicate the time length of the timer for transmitting the data packet at the first granularity, or the time delay information reporting trigger; or when the time delay information reporting trigger, the first timer corresponding to the data packet can be stopped.
[0099] The methods for obtaining information about whether a data packet transmission is complete or its segmentation is complete include: a) The first protocol layer obtains first information. After obtaining the first information, the first information indicates whether the data packet transmission is complete or its segmentation is complete. Stopping the timer corresponding to the data packet can be understood as the protocol layer no longer maintaining the timer corresponding to the data packet. No longer maintaining the timer corresponding to the data packet can be understood as the timer corresponding to the data packet no longer counting down, therefore, the delay information of the corresponding data packet can no longer be obtained based on the timer. b) The first protocol layer itself can determine whether the data packet transmission is complete or its segmentation is complete.
[0100] by FIG. 1A For example, the first protocol layer can be the PDCP layer, and the first granularity can be a protocol data unit (PDU set). The PDCP layer can acquire multiple data packets under the PDU set, such as data packets SDU1, SDU2, and SDU3. After receiving data packets SDU1, SDU2, and SDU3, the PDCP layer can start and maintain a first timer T1 for SDU1, a first timer T2 for SDU2, and a first timer T3 for SDU3. Specifically, the first timer T1 records the duration of SDU1's buffering or maintenance at the protocol layer to obtain SDU1's latency information; the first timer T2 records the duration of SDU2's buffering or maintenance at the protocol layer to obtain SDU2's latency information; and the first timer T3 records the duration of SDU3's buffering or maintenance at the protocol layer to obtain SDU3's latency information.
[0101] S1011a: Determine the first parameter based on the latency information of the data packets at the first granularity.
[0102] Specifically, the first protocol layer can obtain the latency information of the data packet corresponding to the first timer based on the first timer that is started and maintained in this protocol layer. Obtaining the latency information of the corresponding data packet based on the first timer is equivalent to the first protocol layer reading the duration information of the first timer. This duration information can be understood as the duration during which the first timer is started (hereinafter referred to as the duration of the first timer), and it can also be understood as the duration during which the corresponding data packet is cached or maintained in the protocol layer.
[0103] In one possible implementation, before acquiring the latency information of data packets at the first granularity, the first protocol layer determines whether the first timer for the data packets at the first granularity is running. When the first timer is running, the latency information of the data packets corresponding to the first timer is acquired; when the first timer stops, the latency information of the data packets corresponding to the first timer is not acquired.
[0104] Then, the first protocol layer can determine the first parameter through the time delay information of the data packet at the first granularity. The time delay information of the data packet at the first granularity can be the time delay information of one data packet at the first granularity, can include the time delay information of each of the plurality of data packets at the first granularity, or can include the time delay information of each of all data packets at the first granularity. The first parameter is related to the time delay information of the data packet at the first granularity, that is, before determining the first parameter, the time delay information of the data packet at the first granularity is obtained, and then the first parameter is obtained based on the time delay information of the data packet at the first granularity. The first parameter can include at least one of the following:
[0105] The time delay information of each data packet at the first granularity, that is, the time length of each data packet at the first granularity for buffering or maintaining in the protocol layer. It can also be understood that when the first time delay information is calculated, the time length of each data packet at the first granularity received by the first protocol layer for buffering or maintaining in the protocol layer.
[0106] In a possible implementation, when the data packet at the first granularity is completed transmission or the data packet segmentation is completed transmission, the time delay information of each data packet at the first granularity refers to the time delay information of all data packets at the first granularity received by the protocol layer which have not completed transmission or data packet segmentation.
[0107] In a possible implementation, when the data packet at the first granularity is completed transmission or the data packet segmentation is completed transmission, but the first protocol layer is still buffering the data packet, the time delay information of each data packet at the first granularity refers to the time delay information of all data packets at the first granularity received by the protocol layer.
[0108] In a possible implementation, when the first timer of the data packet at the first granularity is stopped and the first protocol layer no longer maintains the time length of the first timer, the time delay information of each data packet at the first granularity refers to the time length of all first timers still maintained by the protocol layer.
[0109] In a possible implementation, when the first timer of the data packet at the first granularity is stopped and the first protocol layer maintains the time length of the first timer, the time delay information of each data packet at the first granularity refers to the time length of the first timer of all data packets at the first granularity received by the protocol layer.
[0110] The time delay information of at least one data packet at the first granularity can be understood as the time length of one data packet at the first granularity for buffering or maintaining in the protocol layer, the time length of a plurality of data packets at the first granularity for buffering or maintaining in the protocol layer, or the time length of all data packets at the first granularity for buffering or maintaining in the protocol layer.
[0111] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, the time delay information of the at least one data packet of the first granularity refers to the time delay information of all the at least one data packet of the first granularity received by the protocol layer and not yet completed transmission or data packet segmentation.
[0112] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, but the first protocol layer is still buffering the data packet, the time delay information of the at least one data packet of the first granularity refers to the time delay information of the at least one data packet of the first granularity received by the protocol layer.
[0113] In a possible implementation, when the first timer of the data packet of the first granularity is stopped and the first protocol layer no longer maintains the time length of the first timer, the time delay information of the at least one data packet of the first granularity refers to the time length of at least one first timer still maintained by the protocol layer.
[0114] In a possible implementation, when the first timer of the data packet of the first granularity is stopped and the first protocol layer maintains the time length of the first timer, the time delay information of the at least one data packet of the first granularity refers to the time length of the first timer of the at least one data packet of the first granularity received by the protocol layer.
[0115] The time delay information of the earliest-arrived data packet of the first granularity, that is, the time length of the data packet of the first granularity received earliest by the first protocol layer and buffered or maintained in the protocol layer, can also be understood as the time length of the data packet received earliest by the first protocol layer and buffered in the protocol layer when the first time delay information is calculated. The earliest-arrived data packet of the first granularity can be understood as the data packet that has not been transmitted in the first protocol layer and arrives at the first protocol layer earliest.
[0116] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, the time delay information of the earliest-arrived data packet of the first granularity refers to the time delay information of the earliest-arrived data packet among all the data packets of the first granularity received by the protocol layer and not yet completed transmission or data packet segmentation.
[0117] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, but the first protocol layer is still buffering the data packet, the time delay information of the earliest-arrived data packet of the first granularity refers to the time delay information of the data packet that arrives at the first protocol layer earliest among all the data packets of the first granularity received by the protocol layer.
[0118] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer no longer maintains the duration of the first timer, the time delay information of the earliest-arriving data packet in the first granularity refers to the duration of the first timer corresponding to the earliest-arriving data packet among all the data packets still maintained by the protocol layer.
[0119] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer maintains the duration of the first timer, the time delay information of the earliest-arriving data packet in the first granularity refers to the duration of the first timer of the earliest-arriving data packet among all the data packets of the first granularity received by the protocol layer.
[0120] The time delay information of the start PDU in the first granularity, that is, the duration of the start PDU in the first granularity being buffered or maintained in the protocol layer, can also be understood as the duration of the first generated data packet in the first granularity being buffered in the protocol layer when the first time delay information is calculated. In a possible implementation, the start PDU can be understood as the first generated data packet, that is, no other data packet in the first granularity is generated before the start PDU is generated.
[0121] The time delay information of the end PDU in the first granularity, that is, the duration of the end PDU in the first granularity being buffered or maintained in the protocol layer, can also be understood as the duration of the end PDU in the first granularity being buffered in the protocol layer when the first time delay information is calculated. In a possible implementation, the end PDU can be understood as the last generated data packet, that is, no other data packet in the first granularity is generated after the end PDU is generated.
[0122] The maximum value of the time delay information of the data packet in the first granularity, that is, the maximum value of the duration of the data packet in the first granularity being buffered or maintained in the protocol layer, can also be understood as the time delay information of the data packet with the longest buffering time in the protocol layer in the first granularity.
[0123] In a possible implementation, when the data packet of the first granularity completes transmission or the data packet segmentation completes transmission, the maximum value of the time delay information of the data packet in the first granularity refers to the maximum value of the time delay information of the data packet in the first granularity that has not completed transmission or the data packet segmentation has not completed transmission and is received by the protocol layer.
[0124] In a possible implementation, when the data packet of the first granularity completes transmission or the data packet segmentation completes transmission, but the first protocol layer still buffers the data packet, the maximum value of the time delay information of the data packet in the first granularity refers to the maximum value of the time delay information of all the data packets of the first granularity received by the protocol layer.
[0125] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer no longer maintains the time length of the first timer, the maximum value of the time delay information of the data packet of the first granularity refers to the maximum value of the time length of the first timer of all the data packets of the first granularity received by the protocol layer.
[0126] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer maintains the time length of the first timer, the maximum value of the time delay information of the data packet of the first granularity refers to the maximum value of the time length of the first timer of all the data packets of the first granularity received by the protocol layer.
[0127] The time delay information of any data packet of the first granularity, that is, the time length of buffering or maintaining of any data packet of the first granularity by the protocol layer, can also be understood as the average buffering time of all the data packets of the first granularity by the protocol layer.
[0128] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, the time delay information of any data packet of the first granularity refers to the time delay information of any data packet of the first granularity received by the protocol layer, which has not completed transmission or data packet segmentation.
[0129] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segmentation is completed transmission, but the first protocol layer still buffers the data packet, the time delay information of any data packet of the first granularity refers to the time delay information of any data packet of the first granularity received by the protocol layer.
[0130] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer no longer maintains the time length of the first timer, the time delay information of any data packet of the first granularity refers to the time length of any first timer still maintained by the protocol layer.
[0131] In a possible implementation, when the first timer of the data packet of the first granularity stops and the first protocol layer maintains the time length of the first timer, the time delay information of any data packet of the first granularity refers to the time length of any data packet of the first granularity received by the protocol layer.
[0132] The average value of the time delay information of the data packet of the first granularity, that is, the average value of the time length of buffering or maintaining of all the data packets of the first granularity by the protocol layer, can also be understood as the average buffering time of all the data packets of the first granularity by the protocol layer.
[0133] In one possible implementation, when the data packet of the first granularity is completed or the data packet segmentation is completed, the average delay information of the data packet in the first granularity refers to the average delay information of all data packets of the first granularity that have not yet been completed or whose data packet segments have not yet been completed, received by the protocol layer.
[0134] In one possible implementation, when the first-granularity data packet is completed or the data packet is segmented and transmitted, but the first protocol layer is still buffering the data packet, the average delay information of the data packet in the first granularity refers to the average delay information of the data packets in the first granularity received by the protocol layer.
[0135] In one possible implementation, when the first timer of the first granularity data packet stops, and the first protocol layer no longer maintains the duration of the first timer, the average value of the delay information of the data packets in the first granularity refers to the average value of the duration of the first timer that the protocol layer is still maintaining.
[0136] In one possible implementation, when the first timer of the first granularity data packet stops, the first protocol layer maintains the duration of the first timer. The average value of the delay information of the data packets in the first granularity refers to the average duration of the first timer of the data packets in the first granularity received by the protocol layer.
[0137] by FIG. 1A For example, the PDCP layer starts and maintains a first timer T1, a first timer T2, and a first timer T3 at this protocol layer. The PDCP layer can obtain the delay information D1 of SDU1 based on the first timer T1, the delay information D2 of SDU2 based on the first timer T2, and the delay information D3 of SDU3 based on the first timer T3. The PDCP layer can determine the first parameter through the delay information D1, D2, and D3 of the data packets at the first granularity.
[0138] In one possible implementation, the first parameter can be the latency information of each data packet in the first granularity, namely D1, D2, and D3.
[0139] In one possible implementation, when SDU1 of the first granularity has completed transmission or SDU1 segmentation has completed transmission, but SDU2 and SDU3 have not yet completed transmission or segmentation, the latency information of each data packet in the first granularity refers to the latency information of all data packets of the first granularity that have not yet completed transmission or data packet segmentation received by the protocol layer. That is, the first parameter can be the latency information D2 of SDU2 and the latency information D3 of SDU3.
[0140] In a possible implementation, when the SDU1 of the first granularity completes transmission or the SDU1 segment completes transmission, but the first protocol layer still buffers the SDU1, and the SDU2 and the SDU3 have not completed transmission or the segment has not completed transmission, the time delay information of each data packet in the first granularity refers to the time delay information of all data packets of the first granularity received by the protocol layer, that is, the first parameter can be the time delay information D1 of the SDU1, the time delay information D2 of the SDU2, and the time delay information D3 of the SDU3.
[0141] In a possible implementation, when the first timer T1 of the SDU1 of the first granularity stops, the first protocol layer no longer maintains the time length of the first timer T1, and the time delay information of each data packet in the first granularity refers to the time length of all the first timer T2 and the first timer T3 still maintained by the protocol layer, that is, the first parameter is the time length of the first timer T2 and the first timer T3.
[0142] In a possible implementation, when the first timer T1 of the SDU1 of the first granularity stops, the first protocol layer maintains the time length of the first timer T1, and the time delay information of each data packet in the first granularity refers to the time length of the first timer of all data packets of the first granularity received by the protocol layer, that is, the first parameter is the time length of the first timer T1, the time length of the first timer T2, and the time length of the first timer T3.
[0143] The first parameter can also be the time delay information of the earliest-arriving data packet in the first granularity. For example, if the earliest-arriving data packet in the first granularity is the SDU1, the first parameter is D1.
[0144] In a possible implementation, the SDU1 arrives at the first protocol layer earlier than the SDU2, and the SDU2 arrives at the first protocol layer earlier than the SDU3. When the SDU1 of the first granularity completes transmission or the data packet segment completes transmission, the time delay information of the earliest-arriving data packet in the first granularity refers to the time delay information of the earliest-arriving data packet in the first granularity of all data packets that have not completed transmission or the data packet segment that have not completed transmission received by the first protocol layer, that is, the first parameter is the time delay information of the SDU2.
[0145] In a possible implementation, the SDU1 arrives at the first protocol layer earlier than the SDU2, and the SDU2 arrives at the first protocol layer earlier than the SDU3. When the data packet of the first granularity completes transmission or the data packet segment completes transmission, but the first protocol layer still buffers the data packet SDU1, the time delay information of the earliest-arriving data packet in the first granularity refers to the time delay information of the earliest-arriving data packet in the first granularity of all data packets received by the protocol layer, that is, the first parameter is the time delay information of the SDU1.
[0146] The first parameter can also be a maximum value of the delay information of the data packets in the first granularity. For example, if the delay information is D1>D2>D3, the first parameter is D1.
[0147] The first parameter can also be the delay information of any data packet in the first granularity, i.e., any one of the delay information D1, D2 and D3 is determined, for example, D2. The first parameter can also be an average value of the delay information of the data packets in the first granularity, i.e., an average value of the delay information D1, D2 and D3, which is (D1+D2+D3) / 3.
[0148] When the SDU1 is the start data packet in the first granularity, the first parameter can also be the delay information of the SDU1. When the SDU3 is the end data packet in the first granularity, the first parameter can also be the delay information of the SDU3.
[0149] In a possible implementation, if the delay information is D1>D2>D3, when the SDU1 in the first granularity is completed transmission or the data packet segmentation is completed transmission, the maximum value of the delay information of the data packets in the first granularity refers to a maximum value of the delay information of all the data packets in the first granularity received by the protocol layer, which is the delay information of the SDU2 and the delay information of the SDU3, i.e., D2.
[0150] In a possible implementation, if the delay information is D1>D2>D3, when the SDU1 in the first granularity is completed transmission or the data packet segmentation is completed transmission, but the data packet is still buffered in the first protocol layer, the maximum value of the delay information of the data packets in the first granularity refers to a maximum value of the delay information of all the data packets in the first granularity received by the protocol layer, which is the delay information of the SDU1, the delay information of the SDU2 and the delay information of the SDU3, i.e., D1.
[0151] In a possible implementation, when the SDU1 in the first granularity is completed transmission or the data packet segmentation is completed transmission, the delay information of any data packet in the first granularity refers to the delay information of any data packet in the first granularity received by the protocol layer, which is the delay information of any one of the SDU2 and the SDU3, for example, D2.
[0152] In a possible implementation, when the SDU1 of the first granularity completes transmission or the packet segmentation completes transmission, but the first protocol layer is still buffering the packet, the time delay information of any packet in the first granularity refers to the time delay information of any packet of the first granularity received by the protocol layer, that is, the first parameter can be the time delay information of any packet of the SDU1, the SDU2 and the SDU3, for example, D3.
[0153] In a possible implementation, when the first timer T1 of the SDU1 of the first granularity stops, the first protocol layer no longer maintains the duration of the first timer T1, and the time delay information of any packet in the first granularity refers to the duration of any first timer still maintained by the protocol layer, that is, the first parameter can be the duration of any one of the first timer T2 and the first timer T3, for example, the duration of the first timer T2.
[0154] In a possible implementation, when the first timer T1 of the SDU1 of the first granularity stops, the first protocol layer maintains the duration of the first timer, and the time delay information of any packet in the first granularity refers to the duration of the first timer of any packet of the first granularity received by the protocol layer, that is, the first parameter can be the duration of any one of the first timer T1, the first timer T2 and the first timer T3, for example, the duration of the first timer T3.
[0155] S1012: Determine the first time delay information of the first granularity based on the first parameter and a first threshold.
[0156] Specifically, the first protocol layer has obtained the first parameter through the above steps, and the first protocol layer can determine the first time delay information of the first granularity based on the first parameter and a first threshold. The first threshold is used to calculate the first time delay information, and the first threshold can also be understood as a threshold configured under the first granularity. The first threshold can be obtained by the sending end through a high layer or an application layer, or can be received by the sending end from the receiving end, or can be configured by the core network through network-attached storage (NAS) signaling. It should be noted that the sending end can be described as a user equipment, and the receiving end can be described as a network device.
[0157] The first time delay information of the first granularity is determined based on the first parameter and the first threshold, and the specific calculation manner can be as follows:
[0158] The first time delay information = min (the first threshold - the time delay information of each packet under the first granularity). That is, the first threshold is subtracted from the time delay information of each packet under the first granularity in the first protocol layer, and the difference between the first threshold and the time delay information of each packet under the first granularity is obtained, and the minimum value in the one or more differences is the first time delay information. It can also be understood as the minimum value after the first threshold is subtracted from the first parameter.
[0159] The first latency information = the first threshold - the average of the latency information of each data packet in the first granularity in the first protocol layer. That is, the first threshold is subtracted from the latency information of each data packet in the first granularity in the first protocol layer, and the difference between the first threshold and the latency information of each data packet in the first granularity is obtained. The average of one or more of the difference values is the first latency information. That is, the average of the first threshold minus the first parameter.
[0160] The first latency information = the first threshold - any value of the latency information of each data packet in the first granularity in the first protocol layer. That is, the first threshold is subtracted from the latency information of each data packet in the first granularity in the first protocol layer, and the difference between the first threshold and the latency information of each data packet in the first granularity is obtained. Any value of one or more of the difference values is the first latency information. That is, any value of the first threshold minus the first parameter.
[0161] The first latency information = the first threshold - the maximum or minimum value of the latency information of each data packet in the first granularity in the first protocol layer. That is, the first threshold is subtracted from the latency information of each data packet in the first granularity in the first protocol layer, and the difference between the first threshold and the latency information of each data packet in the first granularity is obtained. The maximum or minimum value of one or more of the difference values is the first latency information. That is, the maximum or minimum value of the first threshold minus the first parameter.
[0162] The first latency information = the first threshold - the latency information of the earliest-arriving data packet in the first granularity. That is, the first threshold is subtracted from the latency information of the earliest-arriving data packet in the first granularity in the first protocol layer, and the difference between the first threshold and the latency information of the earliest-arriving data packet in the first granularity is obtained. The difference value is the first latency information. It can also be understood as the first threshold minus the first parameter.
[0163] The first latency information = the first threshold - the latency information of the start data packet in the first granularity. That is, the first threshold is subtracted from the latency information of the start data packet in the first granularity, and the difference between the first threshold and the latency information of the start data packet in the first granularity is obtained. The difference value is the first latency information. It can also be understood as the first threshold minus the first parameter.
[0164] The first latency information = the first threshold - the latency information of the end data packet in the first granularity. That is, the first threshold is subtracted from the latency information of the end data packet in the first granularity, and the difference between the first threshold and the latency information of the end data packet in the first granularity is obtained. The difference value is the first latency information. It can also be understood as the first threshold minus the first parameter.
[0165] The first delay information = first threshold - maximum delay information of data packets in the first granularity. In other words, by subtracting the maximum delay information of data packets in the first granularity of the first protocol layer from the first threshold, the difference between the first threshold and the maximum delay information of data packets in the first granularity is obtained; this difference is the first delay information. It can also be understood as the first threshold minus the first parameter.
[0166] The first delay information equals the first threshold minus the delay information of any data packet in the first granularity. In other words, by subtracting the delay information of any data packet in the first granularity of the first protocol layer from the first threshold, the difference between the first threshold and the delay information of any data packet in the first granularity is obtained; this difference is the first delay information. It can also be understood as the first threshold minus the first parameter.
[0167] First delay information = First threshold - Average delay information of data packets in the first granularity. In other words, by subtracting the average delay information of data packets in the first granularity of the first protocol layer from the first threshold, the difference between the first threshold and the average delay information of data packets in the first granularity is obtained; this difference is the first delay information. It can also be understood as the first threshold minus the first parameter.
[0168] by FIG. 1A For example, the PDCP layer can determine the first delay information of the first granularity based on the first parameter and the first threshold. If the first parameter is the delay information of each data packet in the first granularity, namely D1, D2 and D3, the first delay information is min(first threshold - D1, first threshold - D2, first threshold - D3).
[0169] In one possible implementation, if the first parameter is the delay information D1 of the earliest arriving data packet SDU1 in the first granularity, then the first delay information is the first threshold - D1; if the first parameter is the maximum value D1 of the delay information of the data packet in the first granularity, then the first delay information is the first threshold - D1.
[0170] In one possible implementation, if the first parameter is the delay information D2 of any data packet in the first granularity, then the first delay information is the first threshold - D2.
[0171] In one possible implementation, if the first parameter is the average value of the delay information of the data packets in the first granularity (D1+D2+D3) / 3, then the first delay information is the first threshold - (D1+D2+D3) / 3.
[0172] In one possible implementation, if the first parameter is the delay information D2 of SDU2 and the delay information D3 of SDU3, then the first delay information is min(first threshold - D2, first threshold - D3).
[0173] In a possible implementation, if the first parameter is the time delay information of the earliest-arriving data packet SDU2, the first time delay information is the first threshold minus D2.
[0174] In a possible implementation, if the first parameter is the time delay information D1 of the start-up data packet SDU1 of the first granularity, the first time delay information is the first threshold minus D1.
[0175] In a possible implementation, if the first parameter is the time delay information D3 of the start-up data packet SDU3 of the first granularity, the first time delay information is the first threshold minus D3.
[0176] In a possible implementation, if the first parameter is the maximum of the time delay information of SDU2 and the time delay information of SDU3, that is, D2, the first time delay information is the first threshold minus D2.
[0177] In a possible implementation, if the first parameter is the time delay information of any one of SDU2 and SDU3, for example, D2, the first time delay information is the first threshold minus D2.
[0178] In a possible implementation, if the first parameter is the time delay information of any one of SDU1, SDU2, and SDU3, for example, D3, the first time delay information is the first threshold minus D3.
[0179] In a possible implementation, if the first parameter is the time length of the first timer T2 and the time length of the first timer T3, the first time delay information is min (the first threshold minus the time length of T2, the first threshold minus the time length of T3).
[0180] In a possible implementation, if the first parameter is the time length of the first timer T1, the time length of the first timer T2, and the time length of the first timer T3, the first time delay information is min (the first threshold minus the time length of T1, the first threshold minus the time length of T2, the first threshold minus the time length of T3).
[0181] In a possible implementation, if the first parameter is the time length of any one of the first timer T2 and the first timer T3, for example, the time length of the first timer T2, the first time delay information is the first threshold minus the time length of T2.
[0182] In a possible implementation, if the first parameter is the time length of any one of the first timer T1, the first timer T2, and the first timer T3, for example, the time length of the first timer T3, the first time delay information is the first threshold minus the time length of T3.
[0183] After the first latency information is acquired based on the method, the first latency information can be transmitted to a bottom layer, that is, the first latency information is transmitted to a protocol layer lower than the first protocol layer. After the bottom layer acquires the first latency information, the first indication information can be acquired based on the first latency information, and the first latency information is reported by transmitting the first indication information to the receiving end. The specific implementation manner will be described in subsequent embodiments, which will not be described here.
[0184] S1011b: determining a second parameter according to the acquired latency information of the data packet at the first granularity, and determining the first latency information based on the second parameter.
[0185] Specifically, the description of the first protocol layer acquiring the latency information of the data packet at the first granularity can refer to the foregoing description, which will not be described here. The second parameter can be at least one of the following: the average residual latency information at the first granularity, the minimum residual latency information at the first granularity, and any residual latency information at the first granularity. The average residual latency information at the first granularity can be understood as the average value of the residual latency information of the data packet at the first granularity in the first protocol layer, the minimum residual latency information at the first granularity can be understood as the minimum value of the residual latency information of the data packet at the first granularity in the first protocol layer, and the any residual latency information at the first granularity can be understood as the residual latency information of any data packet at the first granularity in the first protocol layer. After the second parameter is acquired, a latency information is determined based on the second parameter, that is, the second parameter is determined as the first latency information, which can also be understood as the value of the second parameter and the value of the first latency information are the same.
[0186] In a possible implementation manner, when the first protocol layer acquires the first latency information and transmits it to the third protocol layer, the third protocol layer can determine whether the first uplink resource for reporting the first indication information is acquired. The first indication information is used to indicate the value or value range of the second latency information, and the second latency information is determined by the first latency information or the first uplink resource and the waiting latency. When it is determined that the first uplink resource is acquired, the first indication information is reported. The specific implementation manner can refer to the description of the latency information transmission method in the subsequent embodiments, which will not be described here.
[0187] B). The latency information of the data packet is acquired by using one or more timers corresponding to the data packet.
[0188] S201: acquiring first latency information at a first granularity.
[0189] Specifically, the first protocol layer or the second protocol layer can determine the first latency information at the first granularity by using the latency information of the data packet at the first granularity. The latency information of the data packet can refer to the foregoing description, which will not be described here.
[0190] In some embodiments, as shown in FIG. 2A FIG. 2B As shown in the protocol layer structure diagram shown in FIG. 2B The specific flow of the method can include: one implementation of this step can be that the first protocol layer first acquires a data packet at a first granularity, and starts a first timer corresponding to the data packet. Then the second protocol layer acquires the data packet sent by the first protocol layer, and the second protocol layer starts a second timer for the data packet. The second protocol layer can acquire the time delay information of the data packet according to the time length information of the timer corresponding to the data packet. Next, the second protocol layer determines the first time delay information of the first granularity through the time delay information of the data packet at the first granularity. The specific implementation flow can be as follows:
[0191] S2010: Acquire a data packet at a first granularity, and start a first timer corresponding to the data packet.
[0192] Specifically, the first protocol layer can acquire a data packet at a first granularity, that is, the first protocol layer receives a data packet, and the data packet belongs to the first granularity. It can be explained that the first granularity can include at least one data packet, so the data packet at the first granularity can be one data packet at the first granularity, multiple data packets at the first granularity, or all data packets at the first granularity. Wherein, the first protocol layer can be an SDAP layer, a PDCP layer, an RLC layer, or other protocol layers, and the present application does not limit this. The first granularity can be an RLC entity, an RLC entity group including multiple RLC entities, a logical channel LCH, an LCH group including multiple LCHs, a PDU set, and a data burst databurst. The first granularity can also be other entities, sets, etc. including one or more data packets.
[0193] After the first protocol layer acquires the data packet at the first granularity, the first timer corresponding to the data packet is started. In this method, the first timer can be used to acquire the time length of buffering or maintaining the data packet at the first protocol layer. The time length of buffering or maintaining the data packet at the first protocol layer can be understood as the time difference between the data packet arriving at the first protocol layer and the data packet being transmitted to the next protocol layer, or as the time difference between the first protocol layer receiving the data packet and transmitting the data packet to the next protocol layer, or as the time length of buffering the data packet in the first protocol layer when the first protocol layer acquires the data packet and transmits the data packet to the next protocol layer.
[0194] For example FIG. 2BFor example, the first protocol layer can be the PDCP layer, and the first granularity can be a PDU set. The PDCP layer can obtain data packets SDU 1, SDU 2, and SDU 3 under the PDU set. The PDCP layer can start and maintain the corresponding first timer T1 for SDU 1, the corresponding first timer T2 for SDU 2, and the corresponding first timer T3 for SDU 3. Among them, the first timer T1 is used to record the duration of SDU 1 being cached or maintained in the PDCP layer, the first timer T2 is used to record the duration of SDU 2 being cached or maintained in the PDCP layer, and the first timer T3 is used to record the duration of SDU 3 being cached or maintained in the PDCP layer.
[0195] S2011: Receive the data packet at the first granularity and start the second timer corresponding to the data packet.
[0196] Specifically, the second protocol layer can receive data packets at the first granularity sent by the first protocol layer. Upon receiving the data packet at the first granularity, the second protocol layer can start a corresponding second timer for that data packet. This second timer records the duration the corresponding data packet is buffered in the second protocol layer. The definition of this buffering duration can be found in the aforementioned explanation of data packet latency information; the second protocol layer is lower than the first protocol layer. Furthermore, the buffering duration in the second protocol layer can be understood as the time difference between the arrival of the data packet at the second protocol layer and its transmission to the next protocol layer, or the time difference between the second protocol layer receiving the data packet and the next protocol layer receiving it, or the duration the data packet has been buffered in the second protocol layer from the time the second protocol layer acquires the data packet to its transmission to the next protocol layer.
[0197] by FIG. 2B For example, the first protocol layer can be the PDCP layer, and the second protocol layer can be the RLC layer. The RLC layer is below the PDCP layer. This RLC layer can receive data packets SDU1 and SDU2 sent by the PDCP layer. After receiving SDU1 and SDU2, the second protocol layer can start and maintain a second timer S1 for SDU1, and start and maintain a second timer S2 for SDU2. Specifically, the second timer S1 records the duration of SDU1's buffering time at the RLC layer, and the second timer S2 records the duration of SDU2's buffering time at the RLC layer.
[0198] S2012: Obtain the delay information of the data packet based on the duration information of the timer corresponding to the data packet.
[0199] Specifically, the first protocol layer and / or the second protocol layer obtains the duration information of the timer corresponding to the data packet (e.g., the first data packet) (also simply referred to as the timer duration, such as the duration of the first timer and / or the duration of the second timer corresponding to the first data packet). This can be understood as reading the duration information recorded by the timer corresponding to the data packet for that data packet. In one implementation: the duration of the timer for the data packet is obtained, and the duration of the timer for transmitting the data packet is then transmitted. For example, the duration of the first timer and / or the duration of the second timer corresponding to the first data packet is obtained. Then, the duration of the first timer for the first data packet is transmitted, or the duration of the first timer for the first data packet and the duration of the second timer for the first data packet are transmitted.
[0200] In one possible implementation, when a first condition is met, each protocol layer obtains the duration of the timer for the data packet (e.g., the duration of the first timer and / or the duration of the second timer corresponding to the first data packet), and transmits the duration of the timer for the data packet to the protocol layer corresponding to the data packet (e.g., when or after the first protocol layer transmits the first data packet to the second protocol layer, the first protocol layer transmits the duration of the first timer for the first data packet to the second protocol layer), or transmits it to the second protocol layer. The duration of the timer for transmitting the data packet can be the duration of both the first and second timers for the data packet, or it can be the duration of only the first timer for the first data packet. It is understood that the duration of the timer for the data packet is used to indicate the duration of the data packet's buffering time in each protocol layer. The first condition may include at least one of the following: a. The data packet has been transmitted to a protocol layer lower than the first protocol layer. b. Each protocol layer obtains second indication information, which indicates the duration of the timer for transmitting the data packet, or delay information reporting is triggered. c. Delay information reporting is triggered.
[0201] by FIG. 2B For example, using SDU1 as an example, the RLC layer receives SDU1. When the first condition is met, such as the first data packet having been transmitted to the RLC layer, or the PDCP layer and RLC layer obtaining the second indication information, which indicates the duration of the timer for transmitting SDU1, or the delay information reporting trigger, the PDCP layer obtains the duration D1 of the first timer for SDU1, and the RLC layer obtains the duration M1 of the second timer for SDU1. The PDCP layer transmits the duration D1 to the RLC layer.
[0202] In the aforementioned steps, the protocol layer containing the data packet (e.g., the specified data packet mentioned above) has obtained the duration information of the timer corresponding to the data (which can also be simply referred to as the timer duration). Then, the protocol layer containing the data packet can obtain the latency information of the data packet based on the duration information of the timer corresponding to the data packet. In one possible implementation, the protocol layer containing the data packet can add up the durations recorded by each timer corresponding to the data packet to obtain the latency information of the data packet. For example, obtaining the latency information of the first data packet is determined by the duration of the first timer and the duration of the second timer of the first data packet, that is, by adding up the duration of the first timer and the duration of the second timer of the first data packet.
[0203] by FIG. 2B Taking SDU1 as an example, the RLC layer receives the duration D1 recorded by the first timer T1 of SDU1 and obtains the duration M1 recorded by the second timer S1 of SDU1. The RLC layer can add M1 and D1 to obtain the delay information of SDU1, which is D1 + M1. It can be understood that when a data packet corresponds to only one timer, the duration of that timer is the delay information of that data packet. For example, SDU3 has only one timer, namely the first timer T3. The duration D3 recorded by the first timer T3 is the delay information of SDU3.
[0204] S2013: Determine the first delay information of the first granularity by using the delay information of the data packets at the first granularity.
[0205] Specifically, this method can include the following two implementation methods:
[0206] a) Determine the first parameter using the latency information of data packets at the first granularity. Determine the first latency information at the first granularity based on the first parameter and the first threshold.
[0207] Since the latency information of data packets at the first granularity can be the latency information of a single data packet within the first granularity, or it can include the latency information of each data packet among multiple data packets at the first granularity, or it can include the latency information of each data packet among all data packets at the first granularity, the first parameter is related to the latency information of the data packets at the first granularity. That is to say, before determining the first parameter, the latency information of the data packets at the first granularity is obtained first, and then the first parameter is obtained based on the latency information of the data packets at the first granularity.
[0208] Specifically, determining the first parameter based on the latency information of the data packets at the first granularity can be achieved in several ways, as explained below:
[0209] (1) Each protocol layer obtains the time delay information of the earliest-arriving data packet of the first granularity currently maintained in the protocol layer, and transmits the time delay information to the second protocol layer. The second protocol layer determines the maximum value of the multiple maximum time delay information of the first granularity determined by the above-mentioned each protocol layer as the first parameter. That is, the maximum value of the multiple maximum time delay information of the first granularity is the first parameter. Wherein, the calculation and description of the time delay information of the earliest-arriving data packet of the first granularity can refer to the description in the foregoing FIG. 1A-FIG. 1C embodiment, which will not be repeated here. Wherein, the second protocol layer can be understood as the protocol layer for calculating the first time delay information.
[0210] (2) Each protocol layer obtains the maximum time delay information of the data packet of the first granularity currently maintained in the protocol layer, and transmits the maximum time delay information to the second protocol layer. The second protocol layer determines the maximum value of the multiple maximum time delay information of the first granularity determined by the above-mentioned each protocol layer as the first parameter. That is, the maximum value of the multiple maximum time delay information of the first granularity is the first parameter. Wherein, the calculation and description of the maximum time delay information of the data packet of the first granularity can refer to the description in the foregoing FIG. 1A-FIG. 1B embodiment, which will not be repeated here.
[0211] (3) Each protocol layer obtains the time delay information of any data packet of the first granularity currently maintained in the protocol layer, and transmits the time delay information to the second protocol layer. The second protocol layer determines the maximum value of the multiple any time delay information of the first granularity determined by the above-mentioned each protocol layer as the first parameter. That is, the maximum value of the multiple any time delay information of the first granularity is the first parameter. Wherein, the calculation and description of the time delay information of any data packet of the first granularity can refer to the description in the foregoing FIG. 1A-FIG. 1B embodiment, which will not be repeated here.
[0212] (4) Each protocol layer obtains the average time delay information of the data packet of the first granularity currently maintained in the protocol layer, and transmits the average time delay information to the second protocol layer. The second protocol layer determines the maximum value of the multiple average time delay information of the first granularity determined by the above-mentioned each protocol layer as the first parameter. That is, the maximum value of the multiple average time delay information of the first granularity is the first parameter. Wherein, the calculation and description of the average time delay information of the data packet of the first granularity can refer to the description in the foregoing FIG. 1A-FIG. 1B embodiment, which will not be repeated here.
[0213] (5) Each protocol layer obtains the time delay information of the data packet of the first granularity currently maintained in the protocol layer, and transmits the time delay information to the second protocol layer. The second protocol layer determines the median value of the multiple time delay information of the first granularity as the first parameter. Wherein, the calculation and description of the time delay information of the data packet of the first granularity can refer to the description in the foregoing FIG. 1A-FIG. 1B embodiment, which will not be repeated here.
[0214] The second protocol layer determines the first latency information of the first granularity based on the first parameter and the first threshold. An exemplary calculation method can be: first latency information = first threshold - first parameter, that is:
[0215] first latency information = first threshold - max (latency information of multiple earliest arriving data packets in the first granularity). That is, the difference between the first threshold and the maximum value of the latency information of multiple earliest arriving data packets in the first granularity is obtained by subtracting the maximum value of the latency information of multiple earliest arriving data packets in the first granularity from the first threshold, and the difference is the first latency information.
[0216] first latency information = first threshold - max (multiple maximum latency information in the first granularity). That is, the difference between the first threshold and the maximum value of the multiple maximum latency information in the first granularity is obtained by subtracting the maximum value of the multiple maximum latency information in the first granularity from the first threshold, and the difference is the first latency information.
[0217] first latency information = first threshold - max (multiple arbitrary latency information in the first granularity). That is, the difference between the first threshold and the maximum value of the multiple arbitrary latency information in the first granularity is obtained by subtracting the maximum value of the multiple arbitrary latency information in the first granularity from the first threshold, and the difference is the first latency information.
[0218] first latency information = first threshold - max (multiple average latency information in the first granularity). That is, the difference between the first threshold and the maximum value of the multiple average latency information in the first granularity is obtained by subtracting the maximum value of the multiple average latency information in the first granularity from the first threshold, and the difference is the first latency information.
[0219] first latency information = first threshold - median of multiple residual latency information in the first granularity. That is, the difference between the first threshold and the median of the multiple residual latency information in the first granularity is obtained by subtracting the median of the multiple residual latency information in the first granularity from the first threshold, and the difference is the first latency information.
[0220] For example, the RLC layer maintains SDU1 and SDU2, the PDCP layer maintains SDU3, and SDU1, SDU2 and SDU3 belong to the same PDU set (first granularity). The MAC layer can be used to calculate the first latency information. Therefore, for example, the first latency information can be obtained in the following four ways: FIG. 2B
[0221] (1) The PDCP layer obtains the first granularity earliest-arriving data packet currently maintained in the protocol layer as SDU3, and the time delay information of SDU3 is D3. The RLC layer obtains the first granularity earliest-arriving data packet currently maintained in the protocol layer as SDU1, and the time delay information of SDU1 is D1+M1. The PDCP layer transmits the time delay information D3 to the MAC layer, and the RLC layer transmits the time delay information D1+M1 to the MAC layer. When the MAC layer determines that the time delay information D1+M1 is the maximum value in the above two time delay information, the MAC layer determines the time delay information D1+M1 as the first parameter. The first time delay information obtained by the MAC layer is: first time delay information = first threshold-(D1+M1).
[0222] (2) The PDCP layer obtains the maximum time delay information of the data packet in the first granularity currently maintained in the protocol layer as the time delay information D3 of SDU3. The RLC layer obtains the maximum time delay information of the data packet in the first granularity currently maintained in the protocol layer as the time delay information D1+M1 of SDU1. The PDCP layer transmits the time delay information D3 to the MAC layer, and the RLC layer transmits the time delay information D1+M1 to the MAC layer. When the MAC layer determines that the time delay information D1+M1 is the maximum value in the above two time delay information, the MAC layer determines the time delay information D1+M1 as the first parameter. The first time delay information obtained by the MAC layer is: first time delay information = first threshold-(D1+M1).
[0223] (3) The PDCP layer obtains the time delay information of any data packet in the first granularity currently maintained in the protocol layer as the time delay information D3 of SDU3. The RLC layer obtains the time delay information of any data packet in the first granularity currently maintained in the protocol layer as the time delay information D2+M2 of SDU2 (the acquisition of the time delay information of SDU2 can refer to the aforementioned SDU1). The PDCP layer transmits the time delay information D3 to the MAC layer, and the RLC layer transmits the time delay information D2+M2 to the MAC layer. When the MAC layer determines that the time delay information D2+M2 is the maximum value in the above two time delay information, the MAC layer determines the time delay information D2+M2 as the first parameter. The first time delay information obtained by the MAC layer is: first time delay information = first threshold-(D2+M2).
[0224] (4) The PDCP layer obtains the average delay information D3 of the data packet at the first granularity currently maintained in the protocol layer. The RLC layer obtains the average delay information (D1+D2+M1+M2) / 2 of the data packet at the first granularity currently maintained in the protocol layer. The PDCP layer transmits the average delay information D3 to the MAC layer, and the RLC layer transmits the average delay information (D1+D2+M1+M2) / 2 to the MAC layer. When the MAC layer determines that the average delay information D2+M2 is the maximum value in the above two average delay information, the MAC layer determines the average delay information D2+M2 as the first parameter. The MAC layer obtains the first delay information as follows: the first delay information = the first threshold-(D1+D2+M1+M2) / 2.
[0225] b). Determine the second parameter by the delay information of the data packet at the first granularity and the first threshold. The second parameter is the same as the first delay information.
[0226] Specifically, the second parameter is determined by the delay information of the data packet at the first granularity and the first threshold, which can have the following implementation manners, as described below:
[0227] (1) Each protocol layer determines the minimum residual delay information of the protocol layer based on the data packet at the first granularity currently maintained in the protocol layer, and transmits the minimum residual delay information to the second protocol layer. The second protocol layer determines the minimum value of the minimum residual delay information at the first granularity as the second parameter, which is the same as the first delay information. That is, the first delay information = min(the minimum residual delay information of the protocol layer calculated by each protocol layer). The minimum residual delay information of the protocol layer refers to the minimum value of the residual delay information of the data packet at the first granularity currently maintained in the protocol layer. The residual delay information of the data packet can be understood as the residual duration of the data packet that can be cached in the protocol layer. Once the residual duration is exceeded, the data packet will be discarded. The difference between the first threshold and the delay information of the data packet indicates the residual time of the data packet that can be cached in the protocol layer for waiting to be sent. The residual delay information of the data packet in the subsequent description can be understood with reference to the description.
[0228] (2) Each protocol layer determines the residual delay information (also referred to as arbitrary residual delay information) of any data packet in the protocol layer based on the data packet at the first granularity currently maintained in the protocol layer, and transmits the residual delay information to the second protocol layer. The second protocol layer determines the minimum value of the arbitrary residual delay information at the first granularity as the second parameter, which is the same as the first delay information. That is, the first delay information = min(the arbitrary residual delay information of the protocol layer calculated by each protocol layer). The residual delay information of any data packet in the protocol layer can be understood as the residual delay information calculated for any selected data packet in the protocol layer.
[0229] (3) Each protocol layer determines its average remaining latency information (also known as arbitrary remaining latency information) based on the first-granularity data packets currently maintained by that protocol layer, and transmits it to the second protocol layer. The second protocol layer determines the minimum value of the average remaining latency information at the first granularity as the second parameter, which is the same as the first latency information. That is, the first latency information = min(the average remaining latency information of this protocol layer calculated by each protocol layer). Here, the average remaining latency information of this protocol layer can be understood as the average value of the remaining latency information of all data packets currently maintained in this protocol layer, where the maintained data packets can be understood as the buffered data packets of this protocol layer.
[0230] (4) Each protocol layer can obtain the remaining delay information of the data packets maintained in its own protocol layer and transmit it to the second protocol layer. The second protocol layer can determine the average remaining delay information, the minimum remaining delay information, or any remaining delay information as the second parameter based on the above multiple remaining delay information. This second parameter is the first delay information.
[0231] In one possible implementation, when the second condition is met, the duration of the timer corresponding to the first data packet in the first granularity is deleted or the timer corresponding to the first data packet is stopped; wherein, the second condition includes one or more of the following: obtaining that the first data packet has been transmitted, obtaining that the first data packet has been sent, obtaining that the first data packet has been successfully transmitted, obtaining that at least one segment of the first data packet has been transmitted, obtaining that at least one segment of the first data packet has been sent, obtaining that at least one segment of the first data packet has been successfully transmitted, obtaining that the duration of the timer corresponding to the first data packet has been transmitted.
[0232] In one possible implementation, before acquiring the first delay information for the first granularity, it is determined whether the first timer and the second timer for the data packets in the first granularity are running. When the first timer and the second timer are running, the delay information of the data packets corresponding to the first timer is acquired; when the first timer and the second timer are stopped, the delay information of the data packets corresponding to the first timer is not acquired.
[0233] by FIG. 2C For example, the RLC layer maintains SDU1 and SDU2, and the PDCP layer maintains SDU3. SDU1, SDU2, and SDU3 belong to the same PDU set (first granularity). The MAC layer can be used to calculate the first delay information. If the delay information of SDU1 is greater than that of SDU2, therefore, for example, the first delay information can be obtained in the following three ways:
[0234] (1) The PDCP layer determines the minimum residual delay information PDB-D3 of the PDCP based on the data packet SDU3 currently maintained by the protocol layer, and the RLC layer determines the minimum residual delay information PDB-D1-M1 of the RLC layer based on the data packets SDU1 and SDU2 currently maintained by the protocol layer. The PDCP layer transmits the minimum residual delay information PDB-D3 to the MAC layer, and the RLC layer transmits the minimum residual delay information PDB-D1-M1 to the MAC layer. When the MAC layer determines that the minimum residual delay information PDB-D1-M1 is the minimum value among the above two minimum residual delay information, PDB-D1-M1 is the second parameter, and the first delay information is PDB-D1-M1.
[0235] (2) The PDCP layer determines the arbitrary residual delay information PDB-D3 of the PDCP based on the data packet SDU3 currently maintained by the protocol layer, and the RLC layer determines the arbitrary residual delay information PDB-D2-M2 of the RLC layer based on the data packets SDU1 and SDU2 currently maintained by the protocol layer. The PDCP layer transmits the arbitrary residual delay information PDB-D3 to the MAC layer, and the RLC layer transmits the arbitrary residual delay information PDB-D2-M2 to the MAC layer. When the MAC layer determines that the arbitrary residual delay information PDB-D2-M2 is the minimum value among the above two arbitrary residual delay information, PDB-D2-M2 is the second parameter, and the first delay information is PDB-D2-M2.
[0236] (3) The PDCP layer determines the average residual delay information PDB-D3 of the PDCP based on the data packet SDU3 currently maintained by the protocol layer, and the RLC layer determines the average residual delay information [(PDB-D2-M2)+(PDB-D1-M1)] / 2 of the RLC layer based on the data packets SDU1 and SDU2 currently maintained by the protocol layer. The PDCP layer transmits the average residual delay information PDB-D3 to the MAC layer, and the RLC layer transmits the average residual delay information [(PDB-D2-M2)+(PDB-D1-M1)] / 2 to the MAC layer. When the MAC layer determines that the average residual delay information [(PDB-D2-M2)+(PDB-D1-M1)] / 2 is the minimum value among the above two average residual delay information, [(PDB-D2-M2)+(PDB-D1-M1)] / 2 is the second parameter, and the first delay information is [(PDB-D2-M2)+(PDB-D1-M1)] / 2.
[0237] After the first time delay information is acquired based on the method, the first time delay information can be transmitted to a bottom layer, that is, the first time delay information is transmitted to a protocol layer lower than the protocol layer used for the second protocol layer. After the bottom layer acquires the first time delay information, the first indication information can be acquired based on the first time delay information, and the first time delay information is reported by transmitting the first indication information to the receiving end. The specific implementation manner will be described in subsequent embodiments, and will not be described here.
[0238] Method two: determining the first time delay information of the first granularity based on the timestamp of the data packet of the first granularity.
[0239] In the method, the first protocol layer and / or the second protocol layer and / or the third protocol layer can acquire the timestamp of one or more data packets of the first granularity arriving at the first protocol layer. The timestamp of arriving at the first protocol layer can be understood as the time information of the data packet arriving at the first protocol layer, and can also be understood as the time information of the first protocol layer receiving the data packet. From the timestamp of the one or more data packets, the first protocol layer or the second protocol layer or the third protocol layer can determine the first time information. Based on the second time information and the first time information, the first time delay information is determined. Wherein, the description of the first time delay information can refer to the foregoing description, the first time information is related to the timestamp of the data packet of the first granularity, and the first time information includes at least one of the following: system frame number, subframe information, time slot information and symbol information. The second time information is the timestamp (which can also be referred to as the current timestamp) when the first time delay information is calculated. It should be noted that the timestamp described in the present application is the same as the timestamp information described in the present application.
[0240] As shown in FIG. 3A and FIG. 3C , in combination with the protocol layer structure diagram shown in FIG. 3B , the specific flow of the method includes:
[0241] S301: acquiring first time delay information of a first granularity. The first time delay information is determined by first time information and second time information, the first time information is determined by timestamp information of a data packet of the first granularity, and the second time information is current timestamp information.
[0242] Specifically, the time delay information of the data packet can refer to the foregoing description, which will not be described here.
[0243] In an implementation manner, the first time delay information is determined by the first time information and the second time information, the first time information is determined by the timestamp information of the data packet of the first granularity, and the second time information is the current timestamp information. In another implementation manner, the first time delay information is the first time information, and the first time information is determined by the timestamp information of the data packet of the first granularity.
[0244] In some embodiments, one implementation of the step can be that the first protocol layer acquires the data packet at the first granularity, and records a timestamp of arrival of the data packet. When the first protocol layer transmits the data packet to a protocol layer lower than the first protocol layer, the first protocol layer transmits the timestamp corresponding to the data packet to the protocol layer lower than the first protocol layer. Then, the first time information can be determined through the timestamp of the data packet, and the first time information can be used to determine the first time delay information. The specific implementation process can be as follows:
[0245] S3010: Acquire a data packet at a first granularity, and record a timestamp of arrival of the data packet.
[0246] Specifically, the first protocol layer can acquire the data packet at the first granularity, and record a timestamp of arrival of the data packet at the first protocol layer. Each data packet at the first granularity in the first protocol layer has corresponding timestamp information, that is, when the first protocol layer receives the data packet at the first granularity, the first protocol layer can record time information of arrival of the received data packet at the first protocol layer. For example, after the first protocol layer acquires the data packet 1 at the first granularity, the first protocol layer records the timestamp 1 of arrival of the data packet 1 at the first protocol layer; after the first protocol layer acquires the data packet 2 at the first granularity, the first protocol layer records the timestamp 2 of arrival of the data packet 2 at the first protocol layer.
[0247] The timestamp can include at least one of the following: a system frame number, subframe information, slot information, and symbol information.
[0248] The first protocol layer can acquire the data packet at the first granularity, that is, the first protocol layer receives the data packet, and the data packet belongs to the first granularity. It can be explained that the first granularity can include at least one data packet, so the data packet at the first granularity can be one data packet at the first granularity, multiple data packets at the first granularity, or all data packets at the first granularity. The first protocol layer can be an SDAP layer, a PDCP layer, an RLC layer, or other protocol layers, which are not limited by the present application. The first granularity can be an RLC entity, an RLC entity group including multiple RLC entities, a logical channel LCH, an LCH group including multiple LCHs, a PDU set, and a data burst, and the first granularity can also be other entities, sets, etc. including one or more data packets.
[0249] For example, FIG. 3BFor example, the first protocol layer can be a PDCP layer, and the first granularity can be a PDU set. The PDCP layer can obtain the data packets SDU1, SDU2, and SDU3 in the PDU set. The PDCP layer can record a timestamp 1 of the arrival of SDU1 at the PDCP layer, record a timestamp 2 of the arrival of SDU2 at the PDCP layer, and record a timestamp 3 of the arrival of SDU3 at the PDCP layer.
[0250] S3011: transmitting a timestamp corresponding to the data packet.
[0251] Specifically, when the first protocol layer transmits a data packet to a protocol layer lower than the first protocol layer (for example, a second protocol layer), the first protocol layer transmits a timestamp corresponding to the data packet to the protocol layer where the data packet is located. That is, the protocol layer receiving the data packet sent by the first protocol layer also obtains the timestamp of the data packet. The first protocol layer transmits the data packet and the timestamp corresponding to the data packet to the protocol layer lower than the first protocol layer.
[0252] In an implementation, when the first condition is met, the first protocol layer can transmit a data packet, and / or can transmit a timestamp corresponding to the data packet. The transmission of the data packet can be understood as 1) the first protocol layer sends the data packet to the second protocol layer; and 2) the protocol layer lower than the first protocol layer receives the data packet sent by the first protocol layer. The transmission of the timestamp corresponding to the data packet can be understood as 1) the first protocol layer sends the timestamp of the data packet to the second protocol layer; and 2) the protocol layer lower than the first protocol layer receives the timestamp corresponding to the data packet sent by the first protocol layer. The first condition can include at least one of the following: a. the data packet has been transmitted to the protocol layer lower than the first protocol layer; b. each protocol layer obtains second indication information indicating a time length of a timer for transmitting the data packet, or a delay information reporting trigger; and c. the delay information reporting trigger.
[0253] In a possible implementation, the first protocol layer and / or the second protocol layer and / or the third protocol layer can delete or discard the timestamp corresponding to the data packet when it is determined that the data packet is completely transmitted or the segmented data packet is completely transmitted. The determination that the data packet is completely transmitted or the segmented data packet is completely transmitted can include at least one of the following: determining that the data packet has been transmitted; determining that the data packet has been sent; determining that the data packet is successfully transmitted; determining that at least one segmented data of the data packet has been transmitted; determining that at least one segmented data of the data packet has been sent; and determining that at least one segmented data of the data packet is successfully transmitted.
[0254] For example, the first protocol layer can be a PDCP layer, and the first granularity can be a PDU set. The PDCP layer can obtain the data packets SDU1, SDU2, and SDU3 in the PDU set. The PDCP layer can record a timestamp 1 of the arrival of SDU1 at the PDCP layer, record a timestamp 2 of the arrival of SDU2 at the PDCP layer, and record a timestamp 3 of the arrival of SDU3 at the PDCP layer. FIG. 3BFor example, when the PDCP layer transmits the SDU1 to the RLC layer, the PDCP layer transmits the timestamp 1 of the SDU1 to the RLC layer. When the PDCP layer transmits the SDU2 to the RLC layer, the PDCP layer transmits the timestamp 2 of the SDU2 to the RLC layer. When the PDCP layer transmits the SDU3 to the RLC layer, the PDCP layer transmits the timestamp 3 of the SDU3 to the RLC layer.
[0255] S3012: Obtain the first time delay information of the first granularity based on the first time information and the second time information.
[0256] The first protocol layer or the second protocol layer or the third protocol layer can determine the first time information through the timestamp of the data packet. Then, the first time delay information of the first granularity can be obtained through the first time information and the second time information. Alternatively, the first time delay information can be the first time information.
[0257] The second time information can be understood as the current timestamp when the first time delay information is calculated, or can be understood as the current timestamp when the first time delay information is calculated. The second time information can be obtained by the sending end or the receiving end, that is, the calculation of the first time delay information can be performed by the sending end or the receiving end. The second time information can be understood as the current timestamp obtained by the sending end when the sending end calculates the first time delay information. Alternatively, the second time information can be understood as the current timestamp obtained by the receiving end when the receiving end calculates the first time delay information.
[0258] In a possible implementation, the first time information can be determined through the timestamp of the data packet as follows: The second protocol layer or the third protocol layer can obtain the data packet sent by the first protocol layer and the timestamp of the data packet sent by the first protocol layer. The second protocol layer or the third protocol layer can determine the first time information through the timestamp of the received data packet. The first time information can include at least one of the following:
[0259] The timestamp of the earliest-arrived data packet at the first granularity can be understood as the timestamp corresponding to the data packet that arrives at the first protocol layer earliest at the first granularity, or can be understood as the timestamp of the earliest-arrived data packet at the first granularity received by the first protocol layer. The earliest-arrived data packet at the first granularity can be understood as the data packet that is currently cached in the first protocol layer and arrives at the first protocol layer earliest.
[0260] In a possible implementation, when the data packet at the first granularity is completed or the data packet segmentation is completed, the timestamp of the earliest-arrived data packet at the first granularity refers to the timestamp of the earliest-arrived data packet in the data packet that is currently cached in the first protocol layer.
[0261] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, but the first protocol layer is still buffering the data packet, the timestamp of the earliest-arrived data packet in the first granularity refers to the timestamp of the data packet that is earliest to arrive at the first protocol layer among all the data packets of the first granularity received by the protocol layer.
[0262] The median value of the timestamps of the data packets in the first granularity can be understood as the median value of the timestamps of the data packets of the first granularity that arrive at the first protocol layer recorded by the first protocol layer, or can be understood as the median value of the timestamps of the data packets of the first granularity received by the first protocol layer.
[0263] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, the median value of the timestamps of the data packets in the first granularity refers to the median value of the timestamps of all the data packets of the first granularity that are not completed transmission or the data packet segment is not completed transmission received by the first protocol layer.
[0264] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, but the first protocol layer is still buffering the data packet, the median value of the timestamps of the data packets in the first granularity refers to the median value of the timestamps of all the data packets of the first granularity received by the protocol layer.
[0265] The timestamp of the start data packet in the first granularity can be understood as the timestamp of the start data packet of the first granularity that arrives at the first protocol layer recorded by the first protocol layer, or can be understood as the timestamp of the start data packet of the first granularity received by the first protocol layer. The description about the start data packet can be referred to the foregoing description, and will not be repeated here.
[0266] The timestamp of the end data packet in the first granularity can be understood as the timestamp of the end data packet of the first granularity that arrives at the first protocol layer recorded by the first protocol layer, or can be understood as the timestamp of the end data packet of the first granularity received by the first protocol layer. The description about the end data packet can be referred to the foregoing description, and will not be repeated here.
[0267] The average timestamp of the data packet of the first granularity can be understood as the average value of the timestamps of the data packets of the first granularity that arrive at the first protocol layer recorded by the first protocol layer, or can be understood as the average value of the timestamps of the data packets of the first granularity received by the first protocol layer.
[0268] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, the average timestamp of the data packet of the first granularity refers to the average timestamp of all data packets of the first granularity received by the protocol layer which have not been completed transmission or data packet segment.
[0269] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, but the first protocol layer is still buffering the data packet, the average timestamp of the data packet of the first granularity refers to the average timestamp of all data packets of the first granularity received by the protocol layer.
[0270] The timestamp of each data packet of the first granularity can be understood as the timestamp when each data packet of the first granularity arrives at the first protocol layer, or can be understood as the timestamp when each data packet of the first granularity is received by the first protocol layer.
[0271] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, the timestamp of each data packet of the first granularity refers to the timestamp of all data packets of the first granularity received by the protocol layer which have not been completed transmission or data packet segment.
[0272] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, but the first protocol layer is still buffering the data packet, the timestamp of each data packet of the first granularity refers to the timestamp of all data packets of the first granularity received by the protocol layer.
[0273] The timestamp of any data packet of the first granularity can be understood as the timestamp when any data packet of the first granularity arrives at the first protocol layer, or can be understood as the timestamp when any data packet of the first granularity is received by the first protocol layer.
[0274] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, the timestamp of any data packet of the first granularity refers to the timestamp of all data packets of the first granularity received by the protocol layer which have not been completed transmission or data packet segment.
[0275] In a possible implementation, when the data packet of the first granularity is completed transmission or the data packet segment is completed transmission, but the first protocol layer is still buffering the data packet, the timestamp of any data packet of the first granularity refers to the timestamp of any data packet of the first granularity received by the protocol layer.
[0276] The earliest timestamp of a data packet in the first granularity can be understood as the earliest timestamp when the data packet of the first granularity arrives at the first protocol layer, or as the earliest timestamp when the first protocol layer receives the data packet of the first granularity.
[0277] In one possible implementation, when the first-granularity data packet is completed or the data packet segment is completed, the earliest timestamp of the data packet in the first granularity refers to the earliest timestamp of all first-granularity data packets received by the protocol layer that have not yet been completed or whose data packet segments have not yet been completed.
[0278] In one possible implementation, when the first-granularity data packet is completed or the data packet segmentation is completed, but the first protocol layer is still buffering the data packet, the earliest timestamp of the data packet in the first granularity refers to the earliest timestamp of the first-granularity data packet received by the protocol layer.
[0279] Any timestamp of a data packet in the first granularity can be understood as any timestamp when the data packet of the first granularity arrives at the first protocol layer, or as any timestamp when the first protocol layer receives the data packet of the first granularity.
[0280] In one possible implementation, when the transmission of a first-granularity data packet is completed or the transmission of a data packet segment is completed, any timestamp of a data packet in the first granularity refers to any timestamp of all first-granularity data packets received by the protocol layer that have not yet completed transmission or data packet segment transmission.
[0281] In one possible implementation, when the first-granularity data packet is completed or the data packet segmentation is completed, but the first protocol layer is still buffering the data packet, any timestamp of the data packet in the first granularity refers to any timestamp of the first-granularity data packet received by the protocol layer.
[0282] by FIG. 3B For example, the MAC layer can obtain data packets SDU1, SDU2, and SDU3, as well as timestamp 1 of SDU1, timestamp 2 of SDU2, and timestamp 3 of SDU3. For instance, the MAC layer can determine the first-time information based on the timestamps of these multiple data packets in the following way:
[0283] In one possible implementation, when the earliest data packet arriving at the PDCP layer at the first granularity is SDU1, the MAC layer determines the first time information as the timestamp 1 of SDU1.
[0284] In one possible implementation, the average timestamp of a data packet arriving at the PDCP layer at the first granularity is (timestamp 1 + timestamp 2 + timestamp 3) / 3. The MAC layer can then determine this average timestamp as the first time information.
[0285] In a possible implementation, SDU1 arrives at the first protocol layer earlier than SDU2, and SDU2 arrives at the first protocol layer earlier than SDU3. When the data packet of the first granularity, SDU1, is completed in transmission or the data packet segment is completed in transmission, the timestamp of the earliest-arrived data packet in the first granularity refers to the timestamp of the earliest-arrived data packet in the data packets currently buffered in the first protocol layer, that is, the first time information is the timestamp of SDU2.
[0286] In a possible implementation, SDU1 arrives at the first protocol layer earlier than SDU2, and SDU2 arrives at the first protocol layer earlier than SDU3. When the data packet of the first granularity in the first protocol layer is completed in transmission or the data packet segment is completed in transmission, but the data packet is still buffered in the first protocol layer, the timestamp of the earliest-arrived data packet in the first granularity refers to the timestamp of the earliest-arrived data packet in the first protocol layer among all the data packets of the first granularity received by the protocol layer, that is, the first time information is the timestamp of SDU1.
[0287] In a possible implementation, when the SDU1 of the first granularity in the first protocol layer is completed in transmission or the data packet segment is completed in transmission, the median value of the timestamps of the data packets in the first granularity refers to the median value of the timestamps of all the data packets of the first granularity received by the first protocol layer and not yet completed in transmission or the data packet segment not yet completed in transmission, that is, the first time information is the median value of the timestamp of SDU2 and the timestamp of SDU3.
[0288] In a possible implementation, when the SDU1 of the first granularity in the first protocol layer is completed in transmission or the data packet segment is completed in transmission, but the data packet is still buffered in the first protocol layer, the median value of the timestamps of the data packets in the first granularity refers to the median value of the timestamps of all the data packets of the first granularity received by the protocol layer, that is, the first time information is the median value of the timestamp of SDU1, the timestamp of SDU2, and the timestamp of SDU3.
[0289] In a possible implementation, when SDU1 is the starting data packet in the first granularity, the first time information is the timestamp of SDU1.
[0290] In a possible implementation, when SDU3 is the ending data packet in the first granularity, the first time information is the timestamp of SDU3.
[0291] The following describes a method for indicating information transmission provided by the application.
[0292] In the method, when the first protocol layer and / or the second protocol layer obtains that the data packet of the first granularity completes transmission, the timer corresponding to the data packet can be stopped, or the timestamp corresponding to the data packet can be deleted or discarded. The stopping of the timer corresponding to the data packet can refer to the stopping of the first timer of the data packet and / or the stopping of the second timer of the data packet. The stopping of the timer corresponding to the data packet can be understood as that the protocol layer no longer maintains the timer corresponding to the data packet, and the no longer maintaining of the timer corresponding to the data packet can be understood as the stopping of the timer corresponding to the data packet, so that the corresponding delay information of the data packet cannot be obtained based on the timer. The no longer maintaining of the timer corresponding to the data packet can also be understood as that the protocol layer deletes or discards the timer corresponding to the data packet. It can be explained that the timer corresponding to the data packet can include at least one of the first timer of the data packet and the second timer corresponding to the data packet. The deleting or discarding of the timestamp corresponding to the data packet can be understood as that the protocol layer recording the timestamp of the data packet clears the timestamp information in the protocol layer, that is, the timestamp of the data packet is no longer stored in the protocol layer, and the protocol layer lower than the protocol layer cannot obtain the timestamp of the data packet from the protocol layer.
[0293] As shown in FIG. 4A-FIG. 4B , the method can specifically include:
[0294] S400: indicating first information when obtaining that the data packet of the first granularity completes transmission; wherein the first information is used to indicate at least one of the following information: the data packet completes transmission, indicating to stop the timer corresponding to the data packet, deleting or discarding the timestamp corresponding to the data packet.
[0295] Specifically, the specific implementation mode of step S400 can be as follows:
[0296] S4001: indicating first information when obtaining that the data packet of the first granularity completes transmission. The first information can be used to indicate at least one of the following information: the data packet completes transmission, indicating to stop the timer corresponding to the data packet, deleting or discarding the timestamp corresponding to the data packet. Specifically, the indication of the first information when the data packet of the first granularity completes transmission can include at least one of the following:
[0297] When obtaining that the data packet has been transmitted, the first information is indicated.
[0298] In an implementation mode, the data packet has been transmitted means that the data packet has been transmitted to the bottom layer, which can be understood as that the first protocol layer of the sending end transmits the data packet to the second protocol layer, wherein the second protocol layer is lower than the first protocol layer.
[0299] When obtaining that the data packet has been transmitted, the first information is indicated.
[0300] In an implementation, the data packet has been transmitted refers to that the data packet has been transmitted to the receiving end, which can be understood as that the sending end transmits the data packet, but the sending end does not care whether the data packet is successfully received at the receiving end, and generally is in a transparent transmission mode or an unacknowledged mode.
[0301] When the data packet is successfully transmitted, the first information is indicated.
[0302] In an implementation, the data packet is successfully transmitted refers to that the data packet is successfully transmitted to the receiving end, which can be understood as that the sending end transmits the data packet, and whether the data packet is correctly received at the receiving end can be confirmed, and generally is in an acknowledged mode or a HARQ transmission.
[0303] 2) When the data packet needs to be segmented and transmitted, at least one of the following can be included: when at least one segmented data of the data packet is transmitted, the first information is indicated.
[0304] In an implementation, the at least one segmented data of the data packet has been transmitted refers to that the at least one segmented data of the data packet has been transmitted to a lower protocol layer, which can be understood as that the first protocol layer of the sending end transmits the at least one segmented data of the data packet to a second protocol layer, and the second protocol layer is lower than the first protocol layer. The at least one segmented data of the data packet has been transmitted can include that one segmented data of the data packet has been transmitted, or that multiple segmented data of the data packet have been transmitted, or that all segmented data of the data packet have been transmitted.
[0305] When the at least one segmented data of the data packet is successfully transmitted, the first information is indicated.
[0306] In an implementation, the at least one segmented data of the data packet has been transmitted refers to that the at least one segmented data of the data packet has been transmitted to the receiving end, which can be understood as that the sending end transmits the at least one segmented data of the data packet, but the sending end does not care whether the data packet is successfully received at the receiving end, and generally is in a transparent transmission mode or an unacknowledged mode. The at least one segmented data of the data packet has been transmitted can include that one segmented data of the data packet has been transmitted, or that multiple segmented data of the data packet have been transmitted, or that all segmented data of the data packet have been transmitted.
[0307] When the at least one segmented data of the data packet is successfully transmitted, the first information is indicated.
[0308] In an implementation, the successful transmission of the at least one segment of the data packet refers to the successful transmission of the data packet to the receiving end. It can be understood that after the sending end sends the at least one segment of the data packet, it can be determined whether the receiving end correctly receives the at least one segment of the data packet, which is usually an acknowledgement mode or HARQ transmission. The successful transmission of the at least one segment of the data packet can include the successful transmission of one segment of the data packet, the successful transmission of multiple segments of the data packet, or the successful transmission of all segments of the data packet.
[0309] The manner of obtaining the above can be that the protocol layer itself obtains the first information, or the protocol layer obtains the first information, which indicates the completion of the transmission of the data packet or the completion of the transmission of the segment of the data packet.
[0310] When the data packet needs to be segmented and transmitted, the at least one segment of the data packet has been transmitted to the underlying layer, or the at least one segment of the data packet has been sent to the receiving end, or the successful transmission of the at least one segment of the data packet to the receiving end is obtained. Here, the description of the underlying layer can be referred to the foregoing description. The at least one segment of the data packet having been sent to the receiving end can be understood as that the receiving end has received the at least one segment of the data packet sent by the sending end, and the successful transmission of the data packet to the receiving end can be understood as that the receiving end has received the at least one segment of the data packet and has verified the information of the segment to determine that the information of the segment is complete and correct. The at least one segment of the data packet can include one segment of the data packet, multiple segments of the data packet, or all segments of the data packet.
[0311] When the first-granularity completion of the transmission of the data packet is obtained, the underlying layer can send the first information to the protocol layer higher than the underlying layer, that is, the protocol layer higher than the underlying layer can obtain the first information sent by the underlying layer. The first information is used to indicate the completion of the transmission of the data packet or the completion of the transmission of the segment of the data packet. For example, when the protocol layer lower than the first protocol layer obtains the first-granularity completion of the transmission of the data packet, the first protocol layer can obtain the first information sent by the protocol layer lower than the first protocol layer, which is used to prompt the completion of the transmission of the data packet or the completion of the transmission of the segment of the data packet.
[0312] In a possible implementation, the sending end can receive the acknowledgement reply ACK information of the data packet sent by the receiving end to determine the successful transmission of the data packet to the receiving end, and obtain the acknowledgement reply ACK information of the at least one segment of the data packet to determine the successful transmission of the at least one segment of the data packet to the receiving end. Then, the underlying layer can send the first information to the protocol layer higher than the underlying layer.
[0313] S4002: After obtaining the first information, stop the timer corresponding to the data packet, or delete or discard the timestamp corresponding to the data packet.
[0314] Specifically, when the first protocol layer and / or the second protocol layer obtains the first information from the underlying layer, the timer (e.g., the first timer, the second timer, etc.) of the data packet can be stopped, the time length recorded by the timer can be deleted, or the timestamp of the data packet can be deleted or discarded. The first protocol layer and / or the second protocol layer obtaining the first information from the underlying layer can be understood as the first protocol layer and / or the second protocol layer obtaining the first information from the underlying layer, or the first protocol layer and / or the second protocol layer being notified of the first information by the underlying layer. The timer of the data packet can include the first timer and / or the second timer. The description about stopping the timer of the data packet and the description about deleting or discarding the timestamp of the data packet can be referred to the foregoing description, and will not be repeated here. The first protocol layer and the second protocol layer can be understood as protocol layers that maintain the timer of the data packet or the timestamp of the data packet.
[0315] In a possible implementation, the first protocol layer maintains the first timer of the data packet or maintains the timestamp of the data packet. When the first protocol layer obtains the first information, the first timer corresponding to the data packet can be stopped or the timestamp corresponding to the data packet can be deleted. In a possible implementation, when the first protocol layer obtains the first information, the first protocol layer can send the first information to the fourth protocol layer. The fourth protocol layer is higher than the first protocol layer, so that the fourth protocol layer stops the timer corresponding to the data packet or deletes the timestamp of the data packet based on the first information.
[0316] In a possible implementation, when the first protocol layer and / or the second protocol layer obtains the second indication information, the timer (e.g., the first timer, the second timer, etc.) of the data packet can be stopped, the time length recorded by the timer can be deleted, or the timestamp of the data packet can be deleted or discarded. The second indication information is used to indicate the timer length of the first data packet or the delay information reporting trigger.
[0317] In a possible implementation, when the first protocol layer and / or the second protocol layer obtains the first information from the underlying layer, the counting timer can also be started. When the time length recorded by the counting timer is greater than a preset specified threshold, the protocol layer stops the timer (e.g., the first timer, the second timer, etc.) of the data packet or deletes or discards the timestamp of the data packet.
[0318] Understandably, when the first data packet, which arrives earliest in the first granularity, completes transmission while the second data packet has not, the protocol layer deletes the timer for the first data packet and its corresponding duration. Therefore, when calculating the first delay information, the earliest arriving data packet in the first granularity is no longer the first data packet, but the second data packet. The arrival time of the second data packet is later than that of the first data packet, but earlier than all other data packets in the first granularity except for the first and second data packets.
[0319] by FIG. 1A For example, when SDU1 is transmitted to the MAC layer, or when SDU1 has been sent to the receiving end, or when the sending end receives the ACK message corresponding to SDU1 sent by the receiving end, the MAC layer can send the first message to the PDCP layer to indicate that SDU1 has completed transmission. The PDCP layer no longer needs to maintain the first timer T1 for SDU1. It is understandable that if SDU1 arrives at the PDCP earlier than SDU2, and SDU2 arrives at the PDCP earlier than SDU3, and after SDU1 completes transmission, when calculating the first delay information, the earliest arriving data packet in the first granularity is no longer SDU1, but SDU2.
[0320] by FIG. 2B For example, when SDU1 is transmitted to the MAC layer, or when SDU1 has been sent to the receiving end, or when the sending end receives the acknowledgment reply (ACK) information corresponding to SDU1 sent by the receiving end, the MAC layer can send the first information to the PDCP layer and the RLC layer to indicate that SDU1 has completed transmission. The PDCP layer can delete the first timer T1 of SDU1 and its duration D1. The RLC layer can delete the second timer S1 of SDU1 and its duration M1. It can be understood that when SDU1 arrives at the RLC layer earlier than SDU2, and after SDU1 completes transmission, when calculating the first delay information, the earliest arriving data packet at the first granularity in the RLC layer is no longer SDU1, but SDU2.
[0321] by FIG. 3B For example, when SDU1 is transmitted to the MAC layer, or when SDU1 has been sent to the receiving end, or when the sending end receives the acknowledgment reply (ACK) information corresponding to SDU1 sent by the receiving end, the MAC layer can send the first message to the PDCP layer to indicate that SDU1 has completed transmission. The PDCP layer can delete the timestamp 1 of SDU1.
[0322] Next, we will introduce a method for sending delay information provided by an embodiment of this application.
[0323] In the method, the third protocol layer can receive third latency information sent by the first protocol layer or the second protocol layer. The third latency information can be understood as a time length. In a possible implementation, the third latency information can refer to the first latency information in the foregoing embodiments. In a possible implementation, the third protocol layer can also receive the third latency information and first granularity information. The first granularity information includes an identifier corresponding to the first granularity, and the first granularity information is used to indicate the first granularity. After receiving the third latency information or the third latency information and the first granularity information, the protocol layer can obtain first indication information and report the first indication information based on a first uplink resource.
[0324] The first indication information is used to indicate second granularity latency information, and the second granularity latency information includes second latency information of the first granularity or third time information of the first granularity. The third time information can be understood as timestamp information of the first granularity. In a possible implementation, the third time information can be the first time information in the foregoing embodiments. The first indication information indicates at least one of the following: a value of the second latency information, a value of the third time information, a value range of the second latency information, and a value range of the third time information. The second latency information of the first granularity can be understood as the latest remaining latency of the first granularity or the latest remaining latency of a data packet of the first granularity when the first indication information is reported based on the first uplink resource. The second latency information of the first granularity is related to the first latency information of the first granularity, that is, the first latency information and the second latency information can be the same or different. The first uplink resource can be understood as an uplink resource used to send the first indication information.
[0325] As shown in FIG. 5A , the specific flow of the method can include the following steps:
[0326] S501: Obtain whether there is a first uplink resource for sending first indication information.
[0327] Specifically, the third protocol layer can determine whether the first uplink resource for reporting the first indication information is obtained. The third protocol layer can be understood as a protocol layer that sends the first indication information.
[0328] In a possible implementation, the second granularity corresponds to at least one latency information. For example, the first protocol layer transmits first latency information of the first granularity to the second protocol layer, and the second protocol layer transmits latency information of the second granularity to the protocol layer that sends the first indication information. The first granularity is transmitted in the second granularity, or the granularity of the second granularity is greater than the granularity of the first granularity, that is, the second granularity can include a plurality of first granularities, and the latency information of the second granularity can include a plurality of first latency information of the first granularity, that is, the second granularity can correspond to a plurality of latency information. As shown in FIG. 5BAs shown, the second granularity is LCH, and the first granularity is PDU set1, PDU set2 and PDU set3. The latency information of the second granularity includes the first latency information of PDU set1, the first latency information of PDU set2 and the first latency information of PDU set3.
[0329] It should be noted that the second granularity includes at least one of the following: a radio link control protocol layer RLC entity, an RLC entity group including a plurality of RLC entities, a logical channel LCH, an LCH group including a plurality of LCHs, a PDU set and a databurst.
[0330] When the second granularity is an RLC entity, the first granularity includes at least one of the following: an LCH, a databurst and a PDU set;
[0331] When the second granularity is a databurst, the first granularity includes a PDU set;
[0332] When the second granularity is an LCH, the first granularity includes at least one of the following: a databurst and a PDU set;
[0333] When the second granularity is an RLC entity group, the first granularity includes at least one of the following: an RLC entity, an LCH, a databurst and a PDU set;
[0334] When the second granularity is an LCH group, the first granularity includes at least one of the following: an LCH, a databurst and a PDU set.
[0335] S502: When the first uplink resource is acquired and the result of satisfying the logical channel priority is obtained, the first indication information is sent or acquired.
[0336] The first indication information is used to indicate latency information of the second granularity, the latency information includes second latency information of the first granularity or third time information of the first granularity, and the first indication information indicates at least one of the following: a value of the second latency information, a value of the third time information, a value range of the second latency information, and a value range of the third time information.
[0337] The first granularity and the second granularity can be the same or different.
[0338] In a possible implementation, when the third protocol layer determines that the first uplink resource is acquired and the result of satisfying the logical channel priority is obtained, the third protocol layer acquires the third latency information, and acquires and reports the first indication information based on the third latency information of the first granularity. At this time, the second latency information and the third latency information are the same.
[0339] In a possible implementation, as FIG. 5CAs shown, the third protocol layer obtains the third time delay information before obtaining the first uplink resource, and obtains the first indication information based on the third time delay information. When the first indication information is obtained, it is determined whether the first uplink resource is obtained. When it is determined that the first uplink resource is obtained and the result of the logical channel priority is satisfied, the first indication information is reported, or the latest value of the third time delay information is obtained again and the first indication information is reported. At this time, the second time delay information and the third time delay information are the same; when it is determined that the first uplink resource is not obtained, the first uplink resource is waited for until the first uplink resource is obtained, and the first indication information is reported at this time. At this time, the second time delay information is determined by the third time delay information and the waiting time delay of the first uplink resource, that is, the third time delay information minus the waiting time delay of the first uplink resource.
[0340] In a possible implementation, when it is determined that the first uplink resource is obtained and the result of the logical channel priority is satisfied, the third time delay information is obtained based on the third time information and fourth time information. Then, the first indication information can be obtained and reported based on the third time delay information. At this time, the third time delay information and the second time delay information are the same. The fourth time information is a current time stamp when the first uplink resource is obtained or after the first uplink resource is obtained. In a possible implementation, the fourth time information is the same as the second time information in the foregoing embodiments. The third time delay information can be calculated as the fourth time information minus the third time information. The third protocol layer can obtain and report the first indication information to the receiving end based on the third time delay information.
[0341] In a possible implementation, when it is determined that the first uplink resource is obtained, the first indication information is obtained and reported to the receiving end based on the third time information. After the receiving end obtains the first indication information, the third time delay information can be obtained based on the third time information and fourth time information. The fourth time information is a current time stamp when the receiving end obtains the first indication information or after the first indication information is obtained. The third time delay information can be calculated as the fourth time information minus the third time information.
[0342] In a possible implementation, the first indication information can further include a data format of the first indication information, first granularity information, buffer data amount information, and a reserved field, and the like. The data format of the first indication information can be identified by using a first identifier, and the first identifier can be a logical channel identifier LCID, used to identify a logical channel corresponding to the first indication information.
[0343] In a possible implementation, the first indication information can further include a data format of the first indication information, first granularity information, buffer data amount information, and a reserved field, and the like. The data format of the first indication information can be identified by using a first identifier, and the first identifier can be a logical channel identifier LCID, used to identify a logical channel corresponding to the first indication information. FIG. 1AFor example, the third protocol layer can be the MAC layer to execute this step. Taking a second delay information of 3 milliseconds as an example, when the first indication information is used to indicate the value of the second delay information, the first indication information indicates that the second delay information is 3 milliseconds. When the first indication information is used to indicate the value range of the second delay information, the sending end can pre-define multiple value ranges, such as 0-2 milliseconds, 2-4 milliseconds, 4-6 milliseconds, etc. The second delay information of 3 milliseconds falls within the value range of 2-4 milliseconds. Therefore, the first indication information indicates that the value range of the second delay information is 2-4 milliseconds. The value range of the second delay information and the reporting method of sending the first indication information in this scenario can be shown in Table 1:
[0344] Table 1
[0345]
[0346]
[0347] As shown in Table 1, when the value of the second delay information is in the range of 0-2 milliseconds, the identifier of the first indication information can be "0", indicating that the value of the second delay information is in the range of 0-2 milliseconds; when the value of the second delay information is in the range of 2-4 milliseconds, the identifier of the first indication information can be "1", indicating that the value of the second delay information is in the range of 2-4 milliseconds; when the value of the second delay information is in the range of 4-6 milliseconds, the identifier of the first indication information can be "2", indicating that the value of the second delay information is in the range of 4-6 milliseconds. It should be noted that Table 1 is merely an illustrative explanation of this application and does not constitute a limitation on this application.
[0348] by FIG. 2B For example, the third protocol layer can be the MAC layer to execute this step. Taking a second delay information of 3 milliseconds as an example, when the first indication information is used to indicate the value of the second delay information, the first indication information indicates that the second delay information is 3 milliseconds. When the first indication information is used to indicate the value range of the second delay information, the sending end can pre-divide multiple value ranges, such as 0-2 milliseconds, 2-4 milliseconds, 4-6 milliseconds, etc. The second delay information of 3 milliseconds falls within the value range of 2-4 milliseconds. Therefore, the first indication information indicates that the value range of the second delay information is 2-4 milliseconds. The value range of the second delay information and the reporting method of sending the first indication information in this scenario can be shown in Table 2:
[0349] Table 2
[0350] First indication information Second latency information (ms) 0 0-2 1 2-4 2 4-6
[0351] As shown in Table 2, when the value of the second delay information is in the range of 0-2 milliseconds, the identifier of the first indication information can be "0", indicating that the value of the second delay information is in the range of 0-2 milliseconds; when the value of the second delay information is in the range of 2-4 milliseconds, the identifier of the first indication information can be "1", indicating that the value of the second delay information is in the range of 2-4 milliseconds; when the value of the second delay information is in the range of 4-6 milliseconds, the identifier of the first indication information can be "2", indicating that the value of the second delay information is in the range of 4-6 milliseconds. It should be noted that Table 2 is merely an illustrative explanation of this application and does not constitute a limitation on this application.
[0352] by FIG. 3B For example, the third protocol layer can be the MAC layer to execute this step. Taking a second delay information of 3 milliseconds as an example, when the first indication information is used to indicate the value of the second delay information, the first indication information indicates that the second delay information is 3 milliseconds. When the first indication information is used to indicate the value range of the second delay information, the sending end can pre-define multiple value ranges, such as 0-2 milliseconds, 2-4 milliseconds, 4-6 milliseconds, etc. The second delay information of 3 milliseconds falls within the value range of 2-4 milliseconds. Therefore, the first indication information indicates that the value range of the second delay information is 2-4 milliseconds. The value range of the second delay information and the reporting method of sending the first indication information in this scenario can be shown in Table 3:
[0353] Table 3
[0354] First indication information Second latency information (ms) 0 0-2 1 2-4 2 4-6
[0355] As shown in Table 3, when the value of the second delay information is in the range of 0-2 milliseconds, the identifier of the first indication information can be "0", indicating that the value of the second delay information is in the range of 0-2 milliseconds; when the value of the second delay information is in the range of 2-4 milliseconds, the identifier of the first indication information can be "1", indicating that the value of the second delay information is in the range of 2-4 milliseconds; when the value of the second delay information is in the range of 4-6 milliseconds, the identifier of the first indication information can be "2", indicating that the value of the second delay information is in the range of 4-6 milliseconds. It should be noted that Table 3 is merely an illustrative explanation of this application and does not constitute a limitation on this application.
[0356] In some embodiments, this application may implement method one of the delay information determination method to obtain the first delay information, and then implement the indication information transmission method to stop the timer in the protocol layer that completes the transmission of data packets. Next, the delay information sending method may be implemented to report the first delay information.
[0357] In some embodiments, the application can implement the first method in the method of determining the time delay information, obtain the first time delay information, and then implement the time delay information sending method to report the first time delay information. Next, the indication information transmission method can be implemented to stop the timer for completing the transmission of the data packet in the protocol layer.
[0358] In some embodiments, the application can implement the second method in the method of determining the time delay information, obtain the first time information, and then implement the indication information transmission method to delete or discard the timestamp of the data packet in the protocol layer. Next, the time delay information sending method can be implemented to report the first time information.
[0359] In some embodiments, the application can implement the second method in the method of determining the time delay information, obtain the first time information, and then implement the time delay information sending method to report the first time information. Next, the indication information transmission method can be implemented to delete or discard the timestamp of the data packet in the protocol layer.
[0360] In some embodiments, the application can implement the second method in the method of determining the time delay information, obtain the first time delay information, and then implement the indication information transmission method to stop the timer for completing the transmission of the data packet in the protocol layer. Next, the time delay information sending method can be implemented to report the first time delay information.
[0361] In some embodiments, the application can implement the second method in the method of determining the time delay information, obtain the first time delay information, and then implement the time delay information sending method to report the first time delay information. Next, the indication information transmission method can be implemented to stop the timer for completing the transmission of the data packet in the protocol layer.
[0362] That is, the application does not limit the combination of the time sequence among the method of determining the time delay information, the indication information transmission method, and the time delay information sending method.
[0363] In a possible implementation, the sending end that sends the first indication information can obtain the configuration information sent by the receiving end, and the configuration information is used to indicate that the configuration includes at least one of the first timer, the second indication information, the information indicating the calculation of the residual time delay, the first threshold information, the first information, and the like.
[0364] Next, a product form of the user equipment provided in the embodiments of the application is introduced.
[0365] It should be understood that any product with the function of the user equipment described above falls within the protection scope of the embodiments of the application. It should also be understood that the following introduction is only an example, and the product form of the sending end of the embodiments of the application is not limited to this.
[0366] As a possible product form, the sending end described in the embodiments of the present application can be implemented by a general bus architecture. Referring to FIG. 6A , FIG. 6A is a structural schematic diagram of a communication apparatus 1000 provided by the embodiments of the present application. The communication apparatus 1000 can be a sending end or an apparatus therein.
[0367] As shown in FIG. 6A , the communication apparatus 1000 includes a processor 1001, a transceiver 1002 connected with the processor internally, an antenna 1003, and a memory 1004.
[0368] The processor 1001 is a general processor or a special-purpose processor, etc. For example, it can be a baseband processor or a central processor. The baseband processor can be used to process a communication protocol and communication data, and the central processor can be used to control a communication apparatus (such as a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute a computer program, and process data of the computer program.
[0369] The transceiver 1002 can be referred to as a transceiving unit, a transceiver, or a transceiving circuit, etc., and is used to implement a transceiving function. The transceiver 1002 can include a receiver and a transmitter. The receiver can be referred to as a receiver or a receiving circuit, etc., and is used to implement a receiving function. The transmitter can be referred to as a transmitter or a transmitting circuit, etc., and is used to implement a transmitting function.
[0370] The communication apparatus 1000 can further include the antenna 1003 and / or a radio frequency unit (not shown in the figure). The antenna 1003 and / or the radio frequency unit can be located inside the communication apparatus 1000, or can be separated from the communication apparatus 1000, that is, the antenna 1003 and / or the radio frequency unit can be remotely deployed or distributedly deployed. The antenna 1003 can be used to transmit and receive electromagnetic wave signals.
[0371] The communication apparatus 1000 can include one or more memories 1004, which can have instructions stored thereon. The instructions can be a computer program, which can be run on the communication apparatus 1000, so that the communication apparatus 1000 executes the method described in the above method embodiments. Optionally, the memory 1004 can also store data. The communication apparatus 1000 and the memory 1004 can be separately arranged, or can be integrated together.
[0372] The processor 1001, the transceiver 1002, and the memory 1004 can be connected through a communication bus.
[0373] The scope of the communication apparatus described in the present application is not limited thereto, and the structure of the communication apparatus can not be limited to FIG. 6AThe communication device may be a standalone device or part of a larger device. For example, the communication device may be:
[0374] (1) Independent integrated circuit IC, or chip, or chip system or subsystem;
[0375] (2) A collection of one or more ICs, optionally including storage components for storing data and computer programs;
[0376] (3) ASIC, such as modem;
[0377] (4) Modules that can be embedded in other devices;
[0378] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.
[0379] (6) Others, etc.
[0380] Next, a network device 2000 is introduced that enables network devices (e.g., base stations) to implement the uplink time domain resource management method provided in this application.
[0381] FIG. 6B The network device 2000 shown can be the receiving end described in the embodiments of this application, a component in the receiving end that implements the above method, or a chip applied in an access network device. The chip can be a system-on-a-chip (SOC) or a baseband chip with communication functions, etc.
[0382] like FIG. 6B As shown, the network device 2000 includes a processor 2001 and a transceiver 2002 internally connected and communicating with the processor. Optionally, the network device 2000 may also include an antenna 2003 and / or a radio frequency unit (not shown). Optionally, the network device 2000 may include one or more memories 2004, which may store instructions, which may be computer programs, that can be executed on the network device 2000 to cause the network device 2000 to perform the methods described in the above method embodiments.
[0383] The processor in the embodiments of the present application can include, but is not limited to, at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller unit (MCU), or an artificial intelligence processor, and various computing devices running software, each of which can include one or more cores for executing software instructions to perform operations or processing. The processor can be a separate semiconductor chip, or can be integrated with other circuits as a semiconductor chip, for example, it can form a SoC (System on Chip) with other circuits such as coding and decoding circuits, hardware acceleration circuits, or various bus and interface circuits, or it can be integrated as a built-in processor in an ASIC. The ASIC integrated with the processor can be packaged separately or packaged together with other circuits. In addition to including cores for executing software instructions to perform operations or processing, the processor can further include necessary hardware accelerators, such as field programmable gate arrays (FPGAs), PLDs (programmable logic devices), or logic circuits implementing special logic operations.
[0384] The memory in the embodiments of the present application can include at least one of the following types: read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, and electrically erasable programmable read-only memory (EEPROM). In some scenarios, the memory can also be a compact disc read-only memory (CDROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but not limited to.
[0385] It should be noted that the first protocol layer (e.g. PDCP layer) can be configured to maintain a timer for each SDU, stop the timer upon receiving the first information indicating that the data packet has been completely transmitted, determine the minimum remaining latency information or the remaining latency information for each granularity when the latency reporting trigger occurs, and transmit the minimum remaining latency information for each granularity to the second protocol layer (e.g. RLC layer); the second protocol layer can be configured to maintain a timer for each SDU, stop the timer upon transmitting the SDU to the third protocol layer, determine the remaining latency information for each granularity when the latency reporting trigger occurs, determine the minimum remaining latency information for each granularity, and transmit the minimum remaining latency information for each granularity to the first protocol layer (e.g. PDCP layer) if the PDU of the PDCP layer has transmitted the indication information. The third protocol layer (e.g. MAC layer) can obtain the latest remaining latency information from the first protocol layer, or the third protocol layer calculates the latest remaining latency information. The reporting granularity can be PDU set, databurst, LCH or logical channel group LCG. The granularity for calculating the remaining latency information can be PDU set, databurst or LCH, etc.
[0386] In a possible implementation, the data packet of the first granularity can be transmitted only in one threshold. Therefore, the first granularity can correspond to a timer. The latency information of the first granularity can be the latency information of the timer. The first latency information is the first threshold minus the latency information of the timer. The latency information of the timer can be understood as the time length for which the data packets of the first granularity are buffered or maintained in the protocol layer.
[0387] In the above embodiments, according to the context, the term "when" can be interpreted as meaning "if" or "after" or "in response to determining" or "in response to detecting". Similarly, according to the context, the phrase "upon determining" or "if detecting (the stated condition or event)" can be interpreted as meaning "if determining" or "in response to determining" or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)".
[0388] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) manner. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk) and the like.
[0389] Those of ordinary skill in the art understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct the relevant hardware, which can be stored in a computer readable storage medium. The program can include the processes of the above method embodiments when executed. The aforementioned storage medium includes ROM or random access memory (RAM), magnetic disk or optical disk, and various media that can store program codes.
Claims
1. A method for managing time delay information, characterized in that, include: Determine first delay information for a first granularity; wherein the first delay information is used to indicate the remaining delay information of data packets in the first granularity, and the first granularity includes at least one of: Logical Channel Group (LCG), PDU set, databurst, RLC entity, and LCH; Obtain whether there is a first uplink resource for sending the first indication information; wherein, the first indication information is used to indicate the value or value range corresponding to the first delay information; When the first uplink resource is obtained and the logical channel priority is met, the first indication information is sent or generated.
2. The method according to claim 1, characterized in that, The remaining delay information of the data packets in the first granularity includes one or more of the following: The average value of the remaining delay information of the data packets in the first granularity; The minimum value of the remaining delay information of the data packet in the first granularity; The remaining delay information of any data packet in the first granularity; The median value of multiple remaining delay information in the first granularity.
3. The method according to claim 2, characterized in that, The remaining delay information is used to indicate the remaining time that data packets in the first granularity can still be buffered.
4. The method according to claim 1, characterized in that, The data packets in the first granularity include: Untransmitted data packets; Unsent data packets; Data packets that were not successfully transmitted; At least one data packet with missing data segments; At least one data packet with segmented data not sent; At least one data packet segment failed to be transmitted.
5. The method according to claim 1 or 2, characterized in that, The first delay information is the difference between the first threshold and the delay information of the data packets in the first granularity.
6. The method according to claim 5, characterized in that, The latency information of the data packet includes any one of the following: the duration of caching the data packet, or the duration of maintaining the data packet or the runtime of the timer corresponding to the data packet.
7. The method according to claim 6, characterized in that, The runtime of the timer corresponding to the data packet is used to indicate the duration for which the data packet is cached or maintained.
8. The method according to claim 6, characterized in that, The timer corresponding to the data packet starts running when the data packet is received.
9. The method according to claim 6 or 7, characterized in that, When the first delay information is determined, the timer corresponding to the data packet is in running state.
10. The method according to claim 6, characterized in that, When the runtime of the timer corresponding to the data packet exceeds the first threshold, the data packet is discarded.
11. The method according to claim 1 or 2, characterized in that, The first delay information is the latest remaining delay of the data packet in the first granularity when the first indication information is reported.
12. The method according to claim 11, characterized in that, The latest remaining delay of the data packet in the first granularity is determined based on the timestamp when the first uplink resource reports the first indication information; wherein the timestamp is at least one of the following: system frame number, subframe information, time slot information, and symbol information.
13. The method according to claim 11, characterized in that, The latest remaining delay of the data packet in the first granularity is determined based on the timestamp when the first uplink resource is acquired or after the first uplink resource is acquired; wherein, the timestamp is at least one of the following: system frame number, subframe information, time slot information, and symbol information.
14. The method according to claim 1, characterized in that, The first indication information further includes at least one of the following: the data format of the first indication information, the first granularity information, the buffer data volume information, and the reserved field; the data format of the first indication information is identified by a first identifier, which is the Logical Channel Identifier (LCID).
15. The method according to claim 1, characterized in that, The method further includes: After the first protocol layer completes the transmission of the data packet with the first granularity, it indicates first information to the second protocol layer; wherein, the first information is used to indicate at least one of the following: The data packet has been transmitted. Instruct to stop the timer corresponding to the data packet; Delete or discard the timestamp corresponding to the data packet.
16. The method according to claim 15, characterized in that, After the first protocol layer completes the transmission of the data packet of the first granularity, it indicates the first information to the second protocol layer, which specifically includes at least one of the following: Once it is confirmed that the data packet has been transmitted, the first information is indicated; Upon receiving confirmation that the data packet has been sent, the first information is indicated; When the data packet is successfully transmitted, the first information is indicated; When it is determined that at least one segment of the data packet has been transmitted, the first information is indicated; When it is determined that at least one segment of the data packet has been sent, the first information is indicated; When at least one segment of the data packet is successfully transmitted, the first information is indicated.
17. The method according to claim 15 or 16, characterized in that, The method further includes: Upon receiving the first information, the second protocol layer determines at least one of the following information based on the first information: The data packet has been transmitted. Instruct to stop the timer corresponding to the data packet; Delete or discard the timestamp corresponding to the data packet.
18. A method for managing time delay information, characterized in that, include: The first indication information is received through the first uplink resource; wherein the first indication information is used to indicate the value or range of the first delay information, and the first delay information is used to indicate the remaining delay information of the data packet in the first granularity, the first granularity including at least one of: Logical Channel Group (LCG), PDU set, databurst, RLC entity, and LCH.
19. The method according to claim 18, characterized in that, The method further includes: Send a first threshold, or configure the first threshold via network attached storage (NAS) signaling; wherein the first threshold is used to determine the first latency information.
20. The method according to claim 19, characterized in that, The first threshold is the timer duration.
21. An electronic device, a user equipment, characterized in that, include: One or more processors, one or more memories, and a radio frequency transmission path; the one or more memories and the one or more processors, the one or more memories being used to store computer program code, the computer program code including computer instructions, which, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1-17.
22. An electronic device, a network device, characterized in that, include: A processor and a transceiver internally connected to the processor, the transceiver being configured to receive code instructions and transmit them to the processor, the processor being configured to execute the code instructions to cause the electronic device to perform the method as described in any one of claims 1-20.
23. A chip, characterized in that, It includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the method as described in any one of claims 1-20.
24. A computer-readable storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1-20.
Citation Information
Patent Citations
Group PDCP discard timer for low-latency services
WO2022075912A1