Communication method and device

The terminal device updates the timer timing time of the PDU set according to the instruction information of the network device and the cache status, solving the problem of updating the timer that has already taken effect in the prior art is solved, improving the stability and efficiency of the communication system, and reducing resource waste.

CN119277442APending Publication Date: 2025-01-07HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310838345.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-07
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The prior art is difficult to effectively update the timing time of the timer that has already taken effect, resulting in the inability to effectively alleviate the network in the case of congestion, affecting the stability and efficiency of the communication system.

Method used

The terminal device receives the instructions of the network device, updates the timing time of the timer corresponding to the PDU set in the cache according to the first time and the cache state, avoids network congestion caused by the timer of the effective frame not being updated, and improves the communication system's Stability and efficiency.

Benefits of technology

By updating the timing time of the timer, network congestion cannot be alleviated, the stability and efficiency of the communication system are improved, and resource waste is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119277442A_ABST
    Figure CN119277442A_ABST
Patent Text Reader

Abstract

The invention provides a communication method and device, belongs to the technical field of communication, and is used for updating the timing time of an effective timer. In the method, the terminal device can update the timing time of the valid timer according to the first time and the cache state of the PDU set, such as the time information of the PDU set and / or the data volume information of the PDU set, so that the situation that the network congestion cannot be relieved due to the fact that the timer of the valid frame is not updated can be avoided, and the user experience is improved. Therefore, the stability of the communication system and the communication efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a communication method and device. Background Art

[0002] When network congestion occurs, the network device can instruct the terminal device to discard a portion of unimportant protocol data unit sets (PDU sets), such as differential frames (P-frames), to alleviate network congestion. For example, the network device can adjust or update the timing of the P frame timer, such as the discard timer.

[0003] However, how to update the timing time of a timer that has already taken effect is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a communication method and apparatus for updating the timing time of a timer that has already taken effect.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, a communication method is provided, which is executed by a terminal device, and the method includes: receiving indication information from a network device, and updating the timing time of a timer corresponding to a PDU set in a cache according to a first time and a cache status. The indication information is used to indicate that the timing time of the timer corresponding to a protocol data unit set PDU set needs to be updated to the first time, and the terminal device discards the PDU set when the timer times out; the cache status includes the time information of the PDU set and / or the data volume information of the PDU set.

[0007] Based on the method described in the first aspect, it can be known that the terminal device can update the timing time of the effective timer according to the first time and the cache status of the PDU set, such as the time information of the PDU set and / or the data volume information of the PDU set, so as to avoid the situation where the timer of the effective frame is not updated and the network congestion cannot be alleviated, thereby improving the stability of the communication system and the efficiency of communication.

[0008] In a possible design scheme, the timing of the timer corresponding to the PDU set in the cache is updated according to the first time and the cache status, including: when the first preset condition is met, the timing of the timer is updated to the first time. Wherein, satisfying the first preset condition includes at least one of the following: the second time is greater than or equal to the time threshold value; or, the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte amount threshold value. The time information of the PDU set includes the second time, and the second time is the time interval from the current moment to the moment when the PDU set is discarded. The data amount information of the PDU set includes the byte amount of data to be transmitted in the PDU set.

[0009] That is, the terminal device can compare the time interval from the current moment to the moment when the PDU set is discarded with the time threshold value, and / or compare the number of bytes of data to be transmitted in the PDU set with the byte threshold value, and then determine whether it is necessary to update the timing of the timer corresponding to the PDU set in the cache to the first time. This can avoid the terminal device directly updating the timing of the timer corresponding to the PDU set, which may cause the transmission failure of the PDUset that has sent most of the bytes, thereby avoiding waste of resources and improving communication efficiency.

[0010] In a possible design, the timing of the timer corresponding to the PDU set in the cache is updated according to the first time and the cache status, including: when the second preset condition is met, the timing of the timer is updated to the first time. Wherein, meeting the second preset condition includes at least one of the following: the third time is less than or equal to the time threshold value; or, the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte amount threshold value; the time information of the PDU set includes the third time, the third time is the time that the PDU set has been waiting in the cache, and the data amount information of the PDU set includes the byte amount of data to be transmitted in the PDU set.

[0011] That is, the terminal device can compare the waiting time of the PDU set in the cache with the time threshold value, and / or compare the number of bytes of data to be transmitted in the PDU set with the byte threshold value, and then determine whether it is necessary to update the timing of the timer corresponding to the PDU set in the cache to the first time. This can avoid the terminal device directly updating the timing of the timer corresponding to the PDUset, which may cause the transmission failure of the PDU set that has sent most of the bytes, thereby reducing resource waste and improving communication efficiency.

[0012] In one possible design, the timing of the timer corresponding to the PDU set in the cache is updated according to the first time and the cache status, including: when the first time is less than or equal to the third time, the timing of the timer corresponding to the PDU set in the cache is updated to the first preset time; when the first time is greater than or equal to the third time, the timing of the timer corresponding to the PDU set in the cache is updated to the first time, or the difference between the first time and the third time. The time information of the PDU set includes the third time, and the third time is the time that the PDU set has been waiting in the cache. In this way, it can be avoided that the PDU set continues to transmit with the first time as the timing time after it has been waiting in the cache for a long time, which leads to a large amount of communication resources being wasted, thereby reducing the waste of resources and improving the efficiency of communication.

[0013] In a possible design scheme, the time information of the PDU set includes a second time and a third time, the second time is the time interval from the current moment to the moment when the PDU set is discarded, and the third time is the time that the PDU set has been waiting in the cache; the data volume information of the PDU set includes the number of bytes of data to be transmitted in the PDU set; when the second time is greater than or equal to the time threshold value, and / or the number of bytes of data to be transmitted in the PDU set is greater than or equal to the byte volume threshold value, the timing time of the timer corresponding to the PDU set in the cache is updated according to the first time and the cache status, including: when the first time is less than or equal to the third time, the timing time of the timer corresponding to the PDU set in the cache is updated to the first preset time; when the first time is greater than or equal to the third time, the timing time of the timer corresponding to the PDU set in the cache is updated to the first time, or the difference between the first time and the third time. In this way, it is possible to avoid the terminal device directly updating the timing of the timer corresponding to the PDU set, which may cause the transmission failure of the PDU set that has sent most of the bytes, and it is possible to avoid the PDU set continuing to transmit with the first timing as the timing after having waited in the cache for a long time, which may cause a large amount of communication resources to be wasted. This can further reduce the waste of resources and improve communication efficiency.

[0014] In a possible design, the time information of the PDU set includes a third time, which is the time that the PDU set has been waiting in the cache; the data volume information of the PDU set includes the byte volume of the data to be transmitted in the PDU set; when the third time is less than or equal to the time threshold value, and / or the byte volume of the data to be transmitted in the PDU set is greater than or equal to the byte volume threshold value, the timing time of the timer corresponding to the PDU set in the cache is updated according to the first time and the cache status, including: when the first time is less than or equal to the third time, the timing time of the timer corresponding to the PDU set in the cache is updated to the first preset time; when the first time is greater than or equal to the third time, the timing time of the timer corresponding to the PDUset in the cache is updated to the first time, or the difference between the first time and the third time. In this way, it can be avoided that the terminal device directly updates the timing time of the timer corresponding to the PDU set, resulting in the failure of the transmission of the PDU set that has sent most of the bytes, and it can be avoided that the PDU set continues to transmit with the first time as the timing time after waiting in the cache for a long time, resulting in a large amount of communication resources being wasted, thereby further reducing the waste of resources and improving the efficiency of communication.

[0015] In a possible design scheme, the method of the first aspect may further include: triggering a BSR when a third preset condition is met. Wherein, meeting the third preset condition includes at least one of the following: after receiving the first indication information from the network device; after receiving the first indication information from the network device, and the cache includes a first type of PDUset; after receiving the first indication information from the network device, and determining that the cache status has changed compared to the status of the BSR that has been sent. Wherein, the indication information is used to indicate that the timing time of the timer corresponding to the first type of PDU set needs to be updated to the first time, so that the network device can subsequently allocate transmission resources to the terminal device in real time according to the reported BSR, so as to avoid the problem that the cache status of the terminal device changes compared to the status of the BSR that has been sent, resulting in some PDUsets cannot be transmitted normally, thereby improving the stability of the communication system.

[0016] In a possible design scheme, the method of the first aspect may further include: receiving second indication information from the network device. The second indication information is used to indicate that the timer corresponding to the PDU set in the cache takes effect at the first time, and the timer corresponding to the PDU set in the cache takes effect at the first time to indicate that: the timing of the timer corresponding to the PDUset in the cache needs to be updated according to the first time, so as to avoid the terminal device from misprocessing some timers that do not need to be updated, resulting in some PDU sets unable to be transmitted normally, thereby improving the stability of the communication system.

[0017] In a second aspect, a communication method is provided. The method includes: a first network device sends a first indication message to a terminal device, the terminal device receives the first indication message, and updates the timing of a timer corresponding to the PDU set according to the first message. The first indication message is used to indicate at least one of the following: updating the timing of the timer corresponding to the protocol data unit set PDU set, the timer is used to discard the PDU set in case of timeout; the proportion of discarded PDU sets; the number of discarded PDU sets; the amount of data of discarded PDU sets; discarding PDU sets within a first time period; the start time and end time of discarding PDU sets; the type of PDU set; or, the importance level or priority of the PDU set, or the importance level range or priority range of the PDU set.

[0018] Based on the method described in the second aspect, it can be known that the terminal device can discard the PDU set according to the first indication information, or update the timing of the timer corresponding to the PDU set, thereby alleviating network congestion and improving communication efficiency.

[0019] In a possible design scheme, the method of the second aspect may also include: the first network device receives third indication information from the second network device. The third indication information is used to indicate the occurrence of congestion and / or the level of congestion, and the level of congestion is used to indicate the degree of congestion, so that the first network device can adjust the first indication information in real time according to the current degree of congestion. For example, when the network congestion level is high, the network device can increase the proportion and number of discarded PDU sets, and when the network congestion level is low, the network device can reduce the proportion and number of discarded PDU sets, without limitation.

[0020] In a third aspect, a communication method is provided, which is executed by a terminal device. The method includes: receiving first configuration information, and reporting the data volume of the control message according to the first configuration information. The first configuration information is used to indicate the time interval corresponding to the data volume of the reported control message, and the time interval is used to divide the time interval from the current moment to the moment when the PDU set is discarded, or to divide the time that the PDU set has been waiting in the cache.

[0021] Based on the method of the third aspect, it can be known that the terminal device can report the data volume of the control message according to the time interval indicated by the first configuration information to avoid the terminal device being uncertain about the time interval for reporting the data volume of the control message, which leads to the failure of control message transmission, thereby allowing the network equipment to perform subsequent operations based on the received control message.

[0022] In a fourth aspect, a communication method is provided, which is executed by a terminal device. The method includes: obtaining time jitter according to a fifth time and second configuration information, and sending time jitter. Among them, the fifth time is the time when the terminal device receives the PDU set, and the second configuration information is used to determine the starting time point of the authorized configuration CG cycle, or the starting time point corresponding to the discontinuous transmission DRX cycle; the time jitter is used to characterize the fifth time, and the time deviation between the starting time point of the CG cycle, or the time jitter is used to characterize the fifth time, and the time deviation between the starting time point of the DRX cycle. For example, the terminal device can count the time jitter of the PDU set within a period of time, and the counted time jitter is the average value, or the maximum value, or the minimum value, or the maximum and minimum values ​​of the time jitter of all PDU sets within a period of time. When the counted time jitter is greater than a preset value, or the difference between the counted time jitter and the last reported time jitter exceeds a preset value, or periodically, the terminal device reports the counted time jitter. The network device can adjust the CG and / or DRX configuration according to the received time jitter.

[0023] Based on the method of the fourth aspect, it can be known that the terminal device does not need to calculate the time when the upper-layer application generates the first PDUset or the first message. The terminal device can directly calculate the time jitter based on the time deviation between the time when the PDU set is received and the starting time point of the CG cycle, or based on the time deviation between the time when the PDU set is received and the starting time point of the DRX cycle, so that the subsequent network equipment can directly adjust the CG or DRX according to the reported time jitter, so that the period when the terminal device actually receives the PDU set can match the CG cycle or the DRX cycle.

[0024] In a fifth aspect, a communication method is provided. The method includes: a radio link control layer RLC receives fourth indication information from a packet data convergence protocol layer PDCP, and performs a corresponding packet loss operation according to the reason why the PDCP discards the data packet. The fourth indication information is used to indicate the reason why the PDCP discards the data packet, and the reason why the PDCP discards the data packet includes at least one of the following: the PDCP actively discards the data packet; the timer associated with the data packet times out; the PDCP determines that the data packet has been correctly received.

[0025] Based on the method of the fifth aspect, it can be known that RLC needs to have different operations for different reasons for discarding data packets. RLC can directly determine the subsequent operations to be performed based on the reason why PDCP discards data packets indicated by the fourth indication information to avoid misoperation or wrong operation.

[0026] In a sixth aspect, a communication device is provided. The device includes: a module for executing the method described in the first aspect. For example, a transceiver module and a processing module. The transceiver module can be used to implement the function of the device to send and receive messages. The processing module can be used to implement functions of the device other than sending and receiving messages.

[0027] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the sixth aspect, and the receiving module is used to implement the receiving function of the communication device described in the sixth aspect.

[0028] Optionally, the communication device described in the sixth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the communication method described in the first aspect.

[0029] It should be noted that the communication device described in the sixth aspect may be a terminal device, or a chip (system) or other parts or components that can be set in the terminal device, or a device that includes a terminal device, and this application does not limit this.

[0030] In addition, the technical effects of the communication device described in the sixth aspect can refer to the technical effects of the communication method described in the first aspect, and will not be repeated here.

[0031] In the seventh aspect, a communication device is provided. The device includes a module for executing the method described in the third aspect, for example, a transceiver module and a processing module. The transceiver module is used to receive first configuration information. The processing module is used to report the data volume of the control message according to the first configuration information. The first configuration information is used to indicate the time interval corresponding to the data volume of the reported control message, and the time interval is used to divide the time interval from the current moment to the moment when the PDU set is discarded, or to divide the time that the PDU set has been waiting in the cache.

[0032] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the seventh aspect, and the receiving module is used to implement the receiving function of the communication device described in the seventh aspect.

[0033] Optionally, the communication device described in the seventh aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the communication method described in the third aspect.

[0034] It should be noted that the communication device described in the seventh aspect can be a terminal device, or a chip (system) or other parts or components that can be set in the terminal device, or a device that includes a terminal device, and this application does not limit this.

[0035] In addition, the technical effects of the communication device described in the seventh aspect can refer to the technical effects of the communication method described in the third aspect, and will not be repeated here.

[0036] In an eighth aspect, a communication device is provided, which includes a module for executing the method described in the fourth aspect, for example, a transceiver module.

[0037] The processing module is used to obtain the time jitter according to the fifth time and the second configuration information. The transceiver module is used to send the time jitter. The fifth time is the time when the PDU set is received, and the second configuration information is used to determine the starting time point of the authorized configuration CG cycle, or the starting time point corresponding to the discontinuous transmission DRX cycle; the time jitter is used to characterize the time deviation between the fifth time and the starting time point of the CG cycle, or the time jitter is used to characterize the time deviation between the fifth time and the starting time point of the DRX cycle.

[0038] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the eighth aspect, and the receiving module is used to implement the receiving function of the communication device described in the eighth aspect.

[0039] Optionally, the communication device described in the eighth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the communication method described in the fourth aspect.

[0040] It should be noted that the communication device described in the eighth aspect may be a terminal device, or a chip (system) or other parts or components that can be set in the terminal device, or a device that includes a terminal device, and this application does not limit this.

[0041] In addition, the technical effects of the communication device described in the eighth aspect can refer to the technical effects of the communication method described in the fourth aspect, and will not be repeated here.

[0042] In a ninth aspect, a communication device is provided, which includes a module for executing the method described in the fifth aspect, for example, a transceiver module and a processing module.

[0043] Wherein, the transceiver module is used to receive the fourth indication information from the packet data convergence protocol layer PDCP. The processing module is used to perform the corresponding packet loss operation according to the reason why the PDCP discards the data packet. Wherein, the fourth indication information is used to indicate the reason why the PDCP discards the data packet, and the reason why the PDCP discards the data packet includes at least one of the following: PDCP actively discards the data packet; the timer associated with the data packet times out; PDCP determines that the data packet has been correctly received. Optionally, the transceiver module may include a sending module and a receiving module. Wherein, the sending module is used to implement the sending function of the communication device described in the ninth aspect, and the receiving module is used to implement the receiving function of the communication device described in the ninth aspect.

[0044] Optionally, the communication device described in the ninth aspect may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module executes the program or the instruction, the communication device may execute the communication method described in the fifth aspect.

[0045] It should be noted that the communication device described in the ninth aspect can be a terminal device, or a chip (system) or other parts or components that can be set in the terminal device, or a device that includes a terminal device, and this application does not limit this.

[0046] In addition, the technical effects of the communication device described in the ninth aspect can refer to the technical effects of the communication method described in the fifth aspect, and will not be repeated here.

[0047] In a tenth aspect, a communication device is provided, including: a processor, the processor being configured to execute the method described in any one of the implementations of the first aspect or the third to fifth aspects.

[0048] In a possible design solution, the communication device described in the tenth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the tenth aspect to communicate with other communication devices.

[0049] In a possible design scheme, the communication device described in the tenth aspect may also include a memory. The memory may be integrated with the processor or may be separately provided. The memory may be used to store the computer program and / or data involved in the method described in any one of the implementation modes of the first aspect, or the third aspect to the fifth aspect.

[0050] In the present application, the communication device described in the tenth aspect can be the network device in the above-mentioned first aspect, or the third to fifth aspects or any implementation thereof, or a device including the above-mentioned network device, or a device included in the above-mentioned network device, such as a chip; or, the communication device can be the above-mentioned first aspect, or the third to fifth aspects or any implementation thereof, or a device including the above-mentioned terminal device, or a device included in the above-mentioned terminal device, such as a chip.

[0051] In addition, the technical effects of the communication device described in the tenth aspect can refer to the technical effects of the method described in the first aspect, or any one of the implementation methods of the third to fifth aspects, and will not be repeated here.

[0052] In an eleventh aspect, a communication device is provided. The communication device includes: a processor, the processor is coupled to a memory, and the processor is used to execute a computer program stored in the memory, so that the communication device executes the method described in any one of the implementation modes of the first aspect or the third to fifth aspects.

[0053] In a possible design solution, the communication device described in the eleventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the eleventh aspect to communicate with other communication devices.

[0054] In the present application, the communication device described in the eleventh aspect may be the network device in the above-mentioned first aspect, or the third to fifth aspects or any implementation thereof, or a device including the above-mentioned network device, or a device included in the above-mentioned network device, such as a chip; or, the communication device may be the above-mentioned first aspect, or the third to fifth aspects or any implementation thereof, or a device including the above-mentioned terminal device, or a device included in the above-mentioned terminal device, such as a chip.

[0055] In addition, the technical effects of the communication device described in the eleventh aspect can refer to the technical effects of the method described in the first aspect, or any one of the implementation methods of the third to fifth aspects, and will not be repeated here.

[0056] In the twelfth aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the communication device executes the method described in the first aspect, or any one of the implementation methods of the third to fifth aspects.

[0057] In a possible design scheme, the communication device described in aspect 12 may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in aspect 12 to communicate with other communication devices.

[0058] In the present application, the communication device described in the twelfth aspect can be the network device in the above-mentioned first aspect, or the third aspect to the fifth aspect or any implementation thereof, or a device including the above-mentioned network device, or a device included in the above-mentioned network device, such as a chip; or, the communication device can be the above-mentioned first aspect, or the third aspect to the fifth aspect or any implementation thereof, or a device including the above-mentioned terminal device, or a device included in the above-mentioned terminal device, such as a chip.

[0059] In addition, the technical effects of the communication device described in the twelfth aspect can refer to the technical effects of the method described in the first aspect, or any one of the implementation methods of the third to fifth aspects, and will not be repeated here.

[0060] In a thirteenth aspect, a communication device is provided, comprising: a processor; the processor is used to couple with a memory, and after reading a computer program in the memory, execute a method as described in any one of the implementation methods of the first to fifth aspects according to the computer program.

[0061] In a possible design scheme, the communication device described in the thirteenth aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the thirteenth aspect to communicate with other communication devices.

[0062] In the present application, the communication device described in the thirteenth aspect can be the network device in the above-mentioned first aspect, or the third aspect to the fifth aspect or any implementation thereof, or a device including the above-mentioned network device, or a device included in the above-mentioned network device, such as a chip; or, the communication device can be the above-mentioned first aspect, or the third aspect to the fifth aspect or any implementation thereof, or a device including the above-mentioned terminal device, or a device included in the above-mentioned terminal device, such as a chip.

[0063] In addition, the technical effects of the communication device described in the thirteenth aspect can refer to the technical effects of the method described in the first aspect, or any one of the implementation methods of the third to fifth aspects, and will not be repeated here.

[0064] In a fourteenth aspect, a communication system is provided, which includes the terminal device described in the above aspect and the network device described in the above aspect.

[0065] In a fifteenth aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are executed on a computer, the computer executes the method described in the first aspect, or any one of the implementation methods in the third to fifth aspects.

[0066] In the sixteenth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, causes the computer to execute the method described in the first aspect, or any one of the implementations of the third to fifth aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 Schematic diagram of the frame structure of a video;

[0068] Figure 2 A schematic diagram of a BSR provided in an embodiment of the present application;

[0069] Figure 3 This is a schematic diagram of discarding P frames when network congestion occurs;

[0070] Figure 4 A schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0071] Figure 5 This is a flow chart of a communication method provided by an embodiment of the present application;

[0072] Figure 6 A schematic diagram of a first time jitter provided in an embodiment of the present application;

[0073] Figure 7 A schematic diagram of a second time jitter provided in an embodiment of the present application;

[0074] Figure 8 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 1 ;

[0075] Fig. 9 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0076] For ease of understanding, the technical terms involved in the embodiments of the present application are first introduced below.

[0077] 1. Frame

[0078] A frame can be understood as a still picture. Continuous frames can form an animation. For example, a video is formed by playing many frames together.

[0079] Frames can be classified according to different encoding methods. For example, frames can be divided into key frames (I-frames) and P frames, etc. Among them, I frames can carry complete information or pictures, and can be decoded based on their own information; P frames can indicate the difference between the frame and the previous frame (such as I frame), and I frames are required to decode all the information.

[0080] For example, in a 10-second starry sky video, the information of the picture frames of the first second and the last second is basically the same. If the complete information of each frame is encoded, there will be a lot of redundant information between frames. Therefore, the picture frame of the first second can be completely encoded using a compression method, and the picture frames after the first second only encode the parts that have changed relative to the previous frame. At this time, the picture frame of the first second is the I frame, and the picture frames after the first second are the P frames.

[0081] It is understandable that a picture frame may carry a large amount of data. For example, a picture frame with a resolution of 2K may contain a large amount of data. At this time, the data of the picture cannot be carried by one data message, but needs to be carried by multiple data messages. That is, one picture frame may correspond to multiple messages. Figure 1 is a schematic diagram of the frame structure of a video, such as Figure 1 As shown, the video may be composed of 1 I frame and 2 P frames, and the data volume of 1 I frame and 2 P frames are carried by multiple data packets. Each packet is called a protocol data unit (PDU) in the 3GPP protocol, and a frame is called a PDU set in the 3GPP protocol. It can be understood that the frame and PDU set in the embodiment of the present application can be replaced with each other without limitation.

[0082] Frames may be classified in a variety of other ways depending on the encoding method. For example, frames may be classified into basic frames, enhanced frames, etc. without limitation.

[0083] 2. Protocol Data Unit Delay Budget (PDB)

[0084] PDB can be the upper limit of the delay that a message can tolerate from the sender to the receiver. If the receiver receives the message from the sender outside the PDU, the receiver will not display the message. When the sender receives a message from a data source, such as an application (APP) at the application layer, the sender will start a discard timer, and the discard timer will start to deduct. When the discard timer is deducted to 0, if the sender has not sent the message, the sender can directly delete the message from the cache.

[0085] The timing of the discard timer can be configured by the network device according to the PDB. The embodiment of the present application does not limit the relationship between the timing of the discard timer and the size of the PDB.

[0086] 3. Protocol Data Unit Set Delay Budget (PDU set delay budget, PSDB)

[0087] PSDB can be the upper limit of the delay that a PDU set can tolerate from the sender to the receiver. If the receiver receives the PDU set from the sender outside the PSDB, the receiver will not display the screen of the PDU set. When the sender receives the PDU set from a data source, such as an APP, the sender will start a discard timer, and the timing of the discard timer will start to deduct. When the timing of the discard timer is deducted to 0, if the sender has not sent the PDU set, the sender can directly delete the PDU set from the cache. The timing of the discard timer can be configured by the network device according to the PSDB. The embodiment of the present application does not limit the relationship between the timing of the discard timer and the PSDB.

[0088] PSDB may include access network PSDB (AN PSDB) and core network PSDB (CN PSDB), wherein AN PSDB is the delay budget between the terminal device and the base station, and CN PSDB is the time budget between the base station and the core network. The PSDB involved in the embodiments of the present application refers to AN PSDB, that is, the embodiments of the present application involve the delay budget between the terminal device and the base station.

[0089] It can be understood that the I frame is not only used for displaying the current frame, but the subsequent P frame also needs to rely on the I frame to be decoded successfully. Therefore, the duration of the I frame discard timer can be slightly longer than the PSDB. At this time, even if the I frame cannot be played or displayed at the receiving end because it exceeds the PSDB, other P frames at the receiving end can also be decoded based on the data of the I frame.

[0090] 4. Buffer status report (BSR)

[0091] BSR can provide the network equipment with the amount of data to be transmitted in the cache of the terminal device and the time information associated with the amount of data to be transmitted. The time information associated with the amount of data to be transmitted may include the remaining time of the amount of data to be transmitted, the waiting time, etc. The remaining time of the amount of data to be transmitted may indicate how long it will take for the amount of data to be transmitted to time out or be discarded. For example, the timeout information of the amount of data to be transmitted #1 may indicate that there are 10 milliseconds (ms) left for the amount of data to be transmitted #1 to be discarded; the waiting time of the amount of data to be transmitted may indicate the time that the amount of data to be transmitted has been waiting in the cache. For example, the cache time information of the amount of data to be transmitted #2 may indicate that the amount of data to be transmitted #2 has been waiting in the cache for 10ms.

[0092] For example, Figure 2 A schematic diagram of a BSR provided in an embodiment of the present application is shown as follows: Figure 2 As shown in (a), in the time interval of 0ms<remaining time≤10ms, the amount of data not transmitted by the terminal device is 300 bytes; in the time interval of 10ms<remaining time≤20ms, the amount of data not transmitted by the terminal device is 200 bytes; in the time interval of 20ms<remaining time≤30ms, the amount of data not transmitted by the terminal device is 100 bytes.

[0093] Currently, when network congestion occurs, for example, when the network load increases excessively and causes network performance to deteriorate, network congestion will occur. At this time, the network equipment can instruct the terminal device to discard a part of unimportant PDU sets, such as P frames, to alleviate network congestion. For example, the network equipment can adjust or update the timing of the P frame timer, such as the discard timer.

[0094] However, when a network device adjusts or updates the duration of a discard timer of a part of a PDU set, the following problems may occur:

[0095] Question A: How to update the timing of a timer that has already taken effect is a technical problem that needs to be solved urgently.

[0096] It can be understood that a timer that has taken effect can also be referred to as a running timer, and the embodiments of the present application do not limit this. Figure 3 The diagram is a diagram of discarding P frames when network congestion occurs. Figure 3 As shown, the timers of the P1 frame, P2 frame and I frame have been running, or the timing of the timer has taken effect, and the P3 frame is a newly received frame by the terminal device, that is, the P3 frame is a newly added frame. At this time, how to update the timing of the timer corresponding to the P1 frame and the P2 frame is a technical problem that needs to be solved urgently.

[0097] Question B: How can terminal devices discard PDU sets to alleviate network congestion?

[0098] Question C: The time interval within which the terminal device sends the control message to the network device is a technical problem that needs to be solved urgently.

[0099] It should be understood that the control messages in the terminal device cache, such as compressed feedback messages, have no concept of remaining time, but the corresponding data volume of the control message also needs to be reported to the network device. At present, the terminal device can report the control message in the most urgent time interval, but the terminal device is not sure how the network device divides the time interval. At this time, if the remaining time corresponding to the most urgent time interval is very small, such as the most urgent time interval is the remaining time <= 3ms, due to the short remaining time, the terminal device is not enough to complete the process of sending the control message to the network device in 3ms. At this time, the network device can default to abandoning the data volume of the time interval, and will not allocate transmission resources for the control message. Therefore, the terminal device needs to determine in which time interval to send the control message to the network device.

[0100] Question D: How to match the period of configured grant (CG) / discontinuous reception (DRX) with the period of PDU set received by the terminal device without calculating the reference time point (such as the time point when the upper-layer application generates the first message or the first PDUset).

[0101] Among them, time jitter can be understood as the deviation between the timing time of the message or PDU set and the reference time point. The terminal device needs to send the time jitter and the reference time point together to the network device so that the network device can match the CG / or DRX cycle with the actual PDU set cycle of the terminal device. However, the terminal device may require a lot of calculations and deductions to determine the reference time point. This process will waste a lot of resources and the accuracy is not high.

[0102] Therefore, it is a technical problem to be solved urgently to match the period of the terminal device receiving the PDU set without calculating the reference time point, such as the period of the CG and / or DR.

[0103] Problem E: How to avoid erroneous or incorrect operations in the radio link control (RLC) layer?

[0104] In summary, in response to the above technical problems, the embodiments of the present application propose the following technical solutions to update the timing time of a timer that has already taken effect.

[0105] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0106] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as wireless fidelity (WiFi) systems, vehicle to everything (V2X) communication systems, device-to-device (D2D) communication systems, 4G, such as long term evolution (LTE) systems, worldwide interoperability for microwave access (WiMAX) communication systems, 5G, such as new radio (NR) systems, and future communication systems.

[0107] The present application will present various aspects, embodiments or features around a system that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. In addition, combinations of these schemes may also be used.

[0108] In addition, in the embodiments of the present application, words such as "exemplary" and "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.

[0109] In the embodiments of the present application, "information", "signal", "message", "channel" and "signaling" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. "of", "corresponding, relevant" and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are matched. In addition, the " / " mentioned in the present application can be used to indicate an "or" relationship. It can be understood that in the present application, "indication" can include direct indication, indirect indication, explicit indication and implicit indication. When describing a certain indication information used to indicate A, it can be understood that the indication information carries A, directly indicates A, or indirectly indicates A.

[0110] In this application, the information indicated by the indication information is referred to as the information to be indicated. In the specific implementation process, there are many ways to indicate the information to be indicated, such as but not limited to, the information to be indicated can be directly indicated, such as the information to be indicated itself or the index of the information to be indicated, etc., or the information to be indicated can be indirectly indicated by indicating other information, wherein there is an association relationship between the other information and the information to be indicated. It is also possible to indicate only a part of the information to be indicated, while the other parts of the information to be indicated are known or agreed in advance. For example, the indication of specific information can also be achieved with the help of the arrangement order of each information agreed in advance (such as specified by the protocol), thereby reducing the indication overhead to a certain extent.

[0111] The information to be indicated can be sent as a whole or divided into multiple sub-information and sent separately, and the sending period and / or sending time of these sub-information can be the same or different. The specific sending method is not limited in this application. Among them, the sending period and / or sending time of these sub-information can be pre-defined, for example, pre-defined according to a protocol, or can be configured by the transmitting end device by sending configuration information to the receiving end device.

[0112] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person of ordinary skill in the art can appreciate that with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0113] To facilitate understanding of the embodiments of the present application, first Figure 4 The communication system shown in the example is used to describe in detail the communication system applicable to the embodiment of the present application. Figure 4 A schematic diagram of the architecture of a communication system applicable to the communication method provided in an embodiment of the present application.

[0114] like Figure 4As shown, the communication system mainly includes: network equipment and terminal devices. Among them, the terminal device can be one or more, such as a first terminal device, a second terminal device, a third terminal device, etc. The terminal device can be a terminal device with a transceiver function, or it can also be a chip or a chip system arranged in the terminal device. The terminal device can also be called user equipment (UE), access terminal device, subscriber unit (subscriber unit), user station, mobile station (MS), mobile station, remote station, remote terminal device, mobile device, user terminal device, terminal device, wireless communication equipment, user agent or user device. The terminal device in the embodiments of the present application can be a mobile phone, a cellular phone, a smart phone, a tablet computer, a wireless data card, a personal digital assistant (PDA), a wireless modem, a handheld device (handset), a laptop computer, a machine type communication (MTC) terminal device, a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a smart home device (for example, a refrigerator, a television, an air conditioner, an electric meter, etc.), an intelligent robot, a robotic arm, a workshop equipment, a wireless terminal device in unmanned driving, a wireless terminal device in industrial control, a wireless terminal device in unmanned driving, a wireless terminal device in remote medical, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, a smart home, etc. The terminal device of the present application may also be a vehicle-mounted module, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit built into a vehicle as one or more components or units. The terminal device equipment may also be other equipment with terminal device functions, for example, the terminal device equipment may also be equipment that functions as a terminal device in D2D communication.

[0115] The embodiments of the present application do not limit the form of the terminal device. The device used to implement the function of the terminal device can be a terminal device; it can also be a device that can support the terminal device to implement the function, such as a chip system. The device can be installed in the terminal device or used in conjunction with the terminal device. In the embodiments of the present application, the chip system can be composed of chips, or it can include chips and other discrete devices.

[0116] There may be multiple network devices, such as a first network device, a second network device, a third network device, etc. The network device may be a device with wireless transceiver functions, or may be a chip or chip system provided on the device, located in the access network (AN) of the communication system, to provide access services to the terminal. For example, the network device may be referred to as a radio access network device (RAN), which may specifically be a next-generation mobile communication system, such as a 6G access network device, such as a 6G base station, or in the next-generation mobile communication system, the network device may also have other naming methods, which are all covered within the protection scope of the embodiments of the present application, and the present application does not impose any limitation on this. Alternatively, the network device may also include 5G, such as a gNB in ​​a new radio (NR) system, or one or a group of antenna panels (including multiple antenna panels) of a base station in 5G, or a network node constituting a gNB, a transmission point (TRP or transmission point, TP) or a transmission measurement function (TMF), such as a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU), an RSU with base station function, or a wired access gateway, or a core network element of 5G, etc. Alternatively, the network device may also include: an access point (AP) in a wireless fidelity (WiFi) system, a wireless relay node, a wireless backhaul node, various forms of macro base stations, micro base stations (also called small stations), relay stations, access points, wearable devices, vehicle-mounted devices, etc.

[0117] Among them, CU and DU can be set separately, or can also be included in the same network element, such as a baseband unit (BBU). RU can be included in a radio frequency device or a radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU) or a remote radio head (RRH). It can be understood that the network device can be a CU node, or a DU node, or a device including a CU node and a DU node. In addition, CU can be divided into a network device in the access network RAN, and CU can also be divided into a network device in the core network CN, which is not limited here.

[0118] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, CU, CU-CP, CU-UP, DU and RU are described as examples in this application. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application may be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0119] In the embodiments of the present application, the form of the network device is not limited. The device for realizing the function of the network device can be the network device; or it can be a device that can support the network device to realize the function, such as a chip system. The device can be installed in the network device or used in combination with the network device.

[0120] In this communication system, the terminal device can update the timing time of the effective timer according to the first time and the cache status of the PDU set, such as the time information of the PDU set and / or the data volume information of the PDU set, thereby avoiding the situation where the timer of the effective frame is not updated and the network congestion cannot be alleviated, thereby improving the stability of the communication system and the efficiency of communication.

[0121] Understandably, Figure 4 The simplified schematic diagram is provided for ease of understanding. The communication system may also include other network devices and / or other terminal devices. Figure 4 Not drawn.

[0122] For ease of understanding, the following will combine Figure 5-Figure 7The communication method provided in the embodiment of the present application is described in detail.

[0123] For example, Figure 5 A flow chart of a communication method provided in an embodiment of the present application is provided. The method can be applied to the communication between the terminal device and the network device in the above communication system.

[0124] Specifically, Figure 5 As shown, the process of the communication method is as follows:

[0125] S501, a terminal device receives first indication information from a network device.

[0126] The first indication information may be used to indicate that the timing time of the timer corresponding to the PDU set needs to be updated to the first time, and the timer may be a discard timer or any other possible timer without limitation.

[0127] The timer corresponding to the PDU set is a logical concept. There are many ways to implement it. For example, in addition to the existing timer corresponding to each PDU, a new PDU set-level timer can be defined, or the current PDU-level timer can be reused directly to achieve the purpose of controlling the entire PDU set without limitation. For example, the timer corresponding to the first PDU in each PDU set is used to control the PDUs in the entire PDU set. When the timer corresponding to the first PDU times out, even if the timers corresponding to other PDUs in the PDU set have not timed out, they are all considered to have timed out, so that all PDUs in a PDU set are discarded at the same time.

[0128] The first time can be understood as the new timing time assigned by the network device to the timer corresponding to the PDU set. It is assumed that before the terminal device receives the first indication information, the initial timing time of the timer corresponding to the PDU set is the first initial time. The first initial time can be understood as the corresponding time before the timer starts timing or deductions. That is, the first indication information can indicate that the timing time of the timer corresponding to the PDU set needs to be updated from the first initial timer to the first time, and the first time is not equal to the first initial time.

[0129] According to the relevant introduction in the technical terms, when the terminal device receives a PDU set from the data source, a timer will be started. When the timing or timing time of the timer is deducted to 0, the terminal device has not sent the PDU set to the network device, then the terminal device can directly delete the PDU set from the cache, that is, the timer can be used for the terminal device to discard the PDU set when the timer expires.

[0130] Discarding a PDU set can be understood as discarding all PDUs belonging to this PDU set. If some messages in this PDU set are already in the process of transmission or have been successfully transmitted, they do not need to be discarded. In other words, discarding a PDU set can be understood as discarding all PDUs belonging to this PDU set in the buffer. The buffer may include at least one of: PDCP buffer, RLC layer buffer, media access control (MAC) layer buffer, physical layer buffer, etc. For the PDU located in the RLC layer buffer, if the PDU is divided into multiple segments and at least one segment has been delivered to the lower protocol layer, the remaining segments in the PDU can be considered not to be discarded without limitation.

[0131] Furthermore, in a possible design scheme, the first indication information can also be used to indicate the proportion of discarded PDU sets, and the proportion of discarded PDU sets can be the proportion of PDU sets that need to be discarded in the total PDU sets, and the total PDU sets can be: all PDU sets received by the terminal device within a period of time, all PDU sets in the terminal device cache, or the sum of all PDU sets in the terminal device cache and all PDU sets received by the terminal device within a subsequent period of time, without limitation. For example, there are currently 10 PDU sets in the terminal device cache, and the terminal device receives 20 PDU sets within a period of time after receiving the first indication information. At this time, the total PDU set can be the 10 PDU sets in the cache, or the total PDU set can be the 20 PDU sets received by the terminal device after receiving the first indication information, or the total PDU set can be the 10 PDU sets in the cache plus the 20 PDU sets subsequently received by the terminal device, that is, the total PDU set is 30 PDU sets.

[0132] For example, if the network device instructs the terminal device to discard 40% of the PDU sets, then the terminal device needs to discard 40% of the PDU sets in the total PDU sets. For example, the terminal device can discard 40 PDU sets out of every 100 PDU sets. Alternatively, for each PDU set, the ratio can be used to indicate that each PDU set has a 40% probability of being discarded and a 60% probability of continuing to be transmitted.

[0133] The terminal device may pre-configure multiple PDU set discard ratios for the terminal device, and then the terminal device may instruct the terminal device which PDU set discard ratio to take effect when necessary, such as when network congestion occurs. For example, the terminal device pre-configures multiple frame loss ratios for the terminal device, namely: 100%, 80%, 60%, 40%, and 20%, and then the network device sends indication information #1 to the terminal device to instruct the terminal device to take effect at a ratio of 20%. At this time, the terminal device may discard the PDU set at a ratio of 20%.

[0134] Optionally, the first indication information can also be used to indicate the number of discarded PDU sets. For example, the network device instructs the terminal device to discard 50 PDU sets. At this time, the terminal device needs to discard 50 PDU sets in the total PDU sets. The embodiment of the present application does not limit the specific discarding method.

[0135] Optionally, the first indication information can also be used to indicate the amount of data corresponding to the discarded PDU set. For example, the network device instructs the terminal device to discard 200 bytes of data. At this time, the terminal device needs to discard 200 bytes of data occupied by the total PDU set. The embodiment of the present application does not limit the specific discarding method.

[0136] Optionally, the first indication information can also be used to indicate the discarding of the PDU set within the first time period, or in other words, the start time and end time of discarding the PDU set. The terminal device needs to discard the PDU set within the first time period, or within the time period from the start time to the end time. It can be understood that the network device instructs the terminal device to discard 20% of the PDU sets. At this time, the terminal device can discard 1 PDU set in every 5 PDU sets, or it can discard 20,000 PDU sets in every 100,000 PDU sets. At this time, if the first 80,000 PDU sets are not discarded, the terminal device may not send the first 80,000 PDU sets before the network is uncongested. Therefore, the network device needs to indicate the duration of discarding the PDU set, that is, the terminal device needs to indicate the effective duration of discarding the PDU set. It can be understood that the first indication information can also indicate the duration of discarding the PDU set by indicating the start time and duration of discarding the PDU set, etc., without limitation.

[0137] Optionally, the first indication information may also be used to indicate the type of PDU set, that is, the network device indicates the type of PDU set that the terminal device needs to discard. For example, the indication information may instruct the terminal device to discard the P frame.

[0138] Optionally, the first indication information can also be used to indicate the importance level or priority of the PDU set, that is, the network device indicates the importance level or priority of the PDU set that the terminal device needs to discard, so as to avoid the terminal device from discarding the PDU set with a high importance level or a high priority, and ensure the normal transmission of important data. The importance level or priority of the PDU set can represent the importance of the PDU set. For example, the importance level indicated by the first indication information is 10, in which case the terminal device can discard the PDU set with an importance lower than or equal to 10; or the priority level indicated by the first indication information is 15, in which case the terminal device can discard the PDU set with a priority lower than or equal to 15.

[0139] Optionally, the first indication information can also be used to indicate an importance level range or a priority range of the PDU set. For example, the importance level range indicated by the first indication information is: 1≤importance level≤5, in which case the terminal device can discard the PDU set with an importance level within [1, 5]; or the priority range indicated by the first indication information is: 1≤priority≤7, in which case the terminal device can discard the PDU set with a priority level within [1, 7].

[0140] It is understandable that the first indication information may also indicate any other possible content without limitation. In the embodiment of the present application, the first indication information may be used to indicate one or more combinations of the above indicated contents without limitation.

[0141] In a possible design scheme, the first indication information may be at a per-UE granularity. If the network device sends the first indication information to a specific terminal device (such as UE#1), UE#1 needs to discard the PDU set based on the first indication information. If the network device does not send the first indication information to a specific terminal device (such as UE#2), UE#2 does not need to discard the PDU set based on the first indication information.

[0142] The first indication information may also be per type granularity. For example, indication information #a may be for the P frame type. If the network device sends indication information #a to the terminal device, the terminal device may discard the P frame according to indication information #a. In this case, the terminal device does not need to discard the I frame according to indication information #a, or in other words, indication information #a is invalid for the I frame.

[0143] It should be understood that each type can also be replaced by other similar expressions, for example, each type, each classification, each importance, each importance level, each priority, each priority range, importance level range, etc., without limitation. It should be noted that a type can refer to a range, different PDU sets may have different PDU set importance (PDU set importance, PSI), and different PSI ranges are aggregated together as a type, for example, PSI = 0 to 5 is one type, and PSI = 6 to 10 is another type. The network device can instruct the terminal device to discard the PDU set in the range of PSI = 0 to 5, or instruct the terminal device to lose the PDU set in the range of PSI = 0 to 10 through an indication message, without limitation.

[0144] It should be understood that the first indication information can also be per UE per type (per UE per type), per UE per packet data convergence protocol layer (per UE per PDCP) entity, per UE per data radio bearer (per UE per DRB), per UE per PDCP entity per type, per UE per DRB per type, per logical channel group (per LCG), per logical channel (per logical channel, per LCH), per LCG per type, per LCH per type, etc., without limitation. The naming of the above-mentioned first indication information is only an example, and the first indication information can also be called indication information #1, indication information #a, etc., without limitation.

[0145] S502: The terminal device updates the timing of the timer corresponding to the cache PDU set according to the first time and the cache status.

[0146] The cache status may include time information of the PDU set and / or data volume information of the PDU set.

[0147] The time information of the PDU set may include a second time and a third time. The second time may be the time interval between the current moment and the moment when the PDU set is discarded. Assuming that the PSDB corresponding to the PDU set is 35ms, the time difference between the time when the terminal device receives the first indication information and the time when the terminal device receives the PDU set is 10ms. At this time, the second time may be 35-10=25ms, that is, the remaining time from the current moment to the moment when the PDU set is discarded is 25ms.

[0148] The third time may be the time that the PDU set has been waiting in the cache, or in other words, the time that the PDU in the PDU set is cached in the cache area. The third time may be the time difference between the initial timing time of the timer corresponding to the PDU set and the current timing time of the timer, or the third time may also be the time difference between PSDB and the current timing time of the timer. That is, the third time = the initial timing time of the timer (or PSDB) - the current timing time of the timer. It can be understood that the PSDB can be pre-configured by the network device to the terminal device. For example, the network device can carry PSDB related information through the PDCP configuration-related information element in the RRC signaling. The embodiment of the present application does not limit the size relationship between the PSDB and the initial timing time of the timer.

[0149] Assume that the initial timing time of the timer corresponding to the PDU set is 30ms, when the terminal device receives the first indication information, the current timing time of the timer is 20ms. At this time, the third time can be 30-20=10ms, that is, the time that the PDU set has been waiting for transmission in the cache is 10ms. Alternatively, PSDB is 30ms, when the terminal device receives the first indication information, the current timing time of the timer corresponding to the PDU set is 20ms. At this time, the third time can be 35-20=15ms, that is, the time that the PDU set has been waiting for transmission in the cache is 15ms.

[0150] The data volume information of the PDU set may include the byte volume of the data to be transmitted in the PDU set. For example, PDUset#1 includes a total of 100 bytes of data. If the terminal device has transmitted 60 bytes of data to the network device, the byte volume of the data to be transmitted in PDUset#1 is 100-60=40 bytes. It can be understood that data may also be PDU, message, data message, data packet, service data unit (SDU), etc., without limitation.

[0151] After the terminal device receives the first indication information, the terminal device can update the timing time of the timer corresponding to the PDU set in the cache according to the first time and the cache status. The following four methods are used as examples for detailed introduction.

[0152] Method 1:

[0153] In a possible design scheme, when the terminal device meets the first preset condition, the terminal device may update the timing time of the timer to the first time.

[0154] The first preset condition may be that the second time is greater than or equal to the time threshold value. That is, when the second time is greater than or equal to the time threshold value, the timer time is updated to the first time; when the second time is less than the time threshold value, the timer time remains unchanged.

[0155] For example, assuming that the time threshold value is 10ms and the first time is 10ms, if the second time corresponding to PDU set#a1 is 5ms, and the second time of PDU set#a is less than the time threshold value, PDU set#a1 can continue to run with 5ms as the timing time; if the second time corresponding to PDU set#a2 is 15ms, and the second time of PDU set#a2 is greater than the time threshold value, the terminal device can update the timing time of PDU set#a2 to 10ms.

[0156] Alternatively, the first preset condition may be that the byte quantity of the data to be transmitted in the PDU set is greater than or equal to a byte threshold value.

[0157] That is, when the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the timing time of the timer is updated to the first time; when the byte amount of data to be transmitted in the PDU set is less than or equal to the byte threshold value, the timing time of the timer remains unchanged.

[0158] For example, assuming that the byte threshold value is 100 bytes and the first time is 10ms, if the byte amount of data to be transmitted in PDU set#b1 is 10 bytes, the current timing time of the timer corresponding to PDU set#b1 is 5ms, and the byte amount of data to be transmitted in PDU set#b1 is less than the byte threshold value, then PDU set#b1 can continue to run with 5ms as the timing time; if the byte amount of data to be transmitted in PDU set#b2 is 500 bytes, and the current timing time of the timer corresponding to PDU set#b2 is 5ms, and the byte amount of data to be transmitted in PDU set#b2 is greater than the byte threshold value, then the terminal device can update the timing time of PDU set#b2 to 10ms.

[0159] Alternatively, the first preset condition may be that the second time is greater than or equal to a time threshold, and the amount of bytes of data to be transmitted in the PDU set is greater than or equal to a byte threshold.

[0160] That is, when the second time is greater than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the timing time of the timer is updated to the first time; when the second time is less than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the timing time of the timer remains unchanged; when the second time is greater than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is less than or equal to the byte threshold value, the timing time of the timer remains unchanged; when the second time is less than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is less than or equal to the byte threshold value, the timing time of the timer remains unchanged.

[0161] For example, assuming that the time threshold is 10ms and the byte threshold is 100 bytes. If the second time corresponding to PDU set#c1 is 5ms, the byte amount of data to be transmitted in PDU set#c1 is 10 bytes, and the current timing time of the timer corresponding to PDU set#c1 is 5ms, then the second time of PDU set#c1 is less than the time threshold, and the byte amount of data to be transmitted in PDU set#c1 is less than the byte threshold, then PDU set#c1 can continue to run with 5ms as the timing time; if the second time corresponding to PDUset#c2 is 15ms, the byte amount of data to be transmitted in PDU set#c2 is 15 bytes, and the current timing time of the timer corresponding to PDU set#c2 is 5ms, then the second time of PDU set#c2 is greater than the time threshold, and the byte amount of data to be transmitted in PDUset#c1 is less than the byte threshold, then PDU set#c2 can continue to run with 5ms as the timing time; if the second time corresponding to PDU set#c3 is 20ms, PDU The byte amount of data to be transmitted in set#c3 is 200 bytes, and the current timing time of the timer corresponding to PDU set#c3 is 5ms. At this time, the second time of PDU set#c3 is greater than the time threshold value, and the byte amount of data to be transmitted in PDU set#c3 is greater than the byte threshold value, then the terminal device can update the timing time of PDU set#c3 to 10ms.

[0162] It can be understood that the time threshold value can be a predefined threshold, a preconfigured threshold, or a time threshold parameter configured by the network device. The time threshold value can be the first time, or any other possible time, without limitation. The time threshold can be perUE, per type, per UE per type, per UE per type, per UE per DRB, per UE per PDCP entity per type, per UE per DRB per type, etc., without limitation.

[0163] The byte threshold value may be a predefined threshold, a preconfigured threshold, or a byte threshold parameter configured by the network device. The byte threshold may be per UE, per type, per UE per type, per UE per type, per UE per DRB, per UE per PDCP entity per type, per UE per DRB per type, etc., without limitation.

[0164] It can be understood that if the terminal device directly updates the timing of the timer corresponding to the PDU set to the first time, it may cause the transmission of the PDU set that has sent most bytes to fail, for example, Figure 3 As shown, if the second time corresponding to the P1 frame is 5ms, the terminal device has successfully sent most of the messages in the P1 frame, and the data volume of the remaining messages can be completely sent within 5ms. However, the terminal device directly updates the timing time of the timer corresponding to the P1 frame to the first time. For example, if the first time is 0ms, the transmission of the P1 frame fails, and most of the messages that have been transmitted in the P1 frame are also invalid, or transmitted in vain, and the resources occupied by these messages are also wasted.

[0165] Therefore, in method 1, the terminal device may compare the time interval from the current moment to the moment when the PDU set is discarded with the time threshold value, and / or compare the number of bytes of data to be transmitted in the PDU set with the byte threshold value, and then determine whether it is necessary to update the timing of the timer corresponding to the PDU set in the cache to the first time. This can avoid the terminal device directly updating the timing of the timer corresponding to the PDU set, which may cause the transmission failure of the PDU set that has sent most of the bytes, thereby avoiding waste of resources and improving communication efficiency.

[0166] Method 2:

[0167] In a possible design scheme, the terminal device may update the timing time of the timer to the first time when the second preset condition is met.

[0168] The second preset condition may be that the third time is less than or equal to the time threshold.

[0169] That is, when the second time is less than or equal to the time threshold, the timing time of the timer is updated to the first time; when the second time is greater than the time threshold, the timing time of the timer remains unchanged.

[0170] For example, assuming that the time threshold value is 10ms and the first time is 10ms, if the third time corresponding to PDU set#d1 is 20ms, and the third time of PDU set#d1 is greater than the time threshold value, PDU set#d1 can continue to run with 5ms as the timing time; if the third time corresponding to PDU set#d2 is 4ms, and the third time of PDU set#d2 is less than the time threshold value, the terminal device can update the timing time of PDU set#d2 to 10ms.

[0171] Alternatively, the second preset condition may be that the byte quantity of the data to be transmitted in the PDU set is greater than or equal to a byte quantity threshold.

[0172] It can be understood that this condition is similar to "the first preset condition may also be that the number of bytes of data to be transmitted in the PDU set is greater than or equal to the byte threshold value" in Mode 1, and can be understood by reference and will not be repeated here.

[0173] Alternatively, the second preset condition may be that the third time is less than or equal to a time threshold, and the byte quantity of data to be transmitted in the PDU set is greater than or equal to a byte quantity threshold.

[0174] That is, when the second time is less than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the timing time of the timer is updated to the first time; when the second time is greater than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the timing time of the timer remains unchanged; when the second time is greater than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is less than or equal to the byte threshold value, the timing time of the timer remains unchanged; when the second time is less than or equal to the time threshold value, and the byte amount of data to be transmitted in the PDU set is less than or equal to the byte threshold value, the timing time of the timer remains unchanged.

[0175] For example, assuming that the time threshold is 10ms and the byte threshold is 100 bytes. If the third time corresponding to PDU set#e1 is 20ms, the byte amount of data to be transmitted in PDU set#e1 is 10 bytes, and the current timing time of the timer corresponding to PDU set#e1 is 5ms, then the third time of PDU set#e1 is greater than the time threshold, and the byte amount of data to be transmitted in PDU set#e1 is less than the byte threshold, then PDU set#e1 can continue to run with 5ms as the timing time; if the third time corresponding to PDUset#e2 is 5ms, the byte amount of data to be transmitted in PDU set#e2 is 15 bytes, and the current timing time of the timer corresponding to PDU set#e2 is 5ms, then the third time of PDU set#e2 is less than the time threshold, and the byte amount of data to be transmitted in PDUset#e2 is less than the byte threshold, then PDU set#e2 can continue to run with 5ms as the timing time; if the third time corresponding to PDU set#e3 is 3ms, PDU The byte amount of data to be transmitted in set#e3 is 200 bytes, and the current timing time of the timer corresponding to PDU set#e3 is 5ms. At this time, the third time of PDU set#e3 is less than the time threshold value, and the byte amount of data to be transmitted in PDU set#e3 is greater than the byte threshold value, then the terminal device can update the timing time of PDU set#e3 to 10ms.

[0176] Method 3:

[0177] In a possible design scheme, the terminal device may update the timing time of the timer corresponding to the PDU set in the cache to the first preset time when the first time is less than or equal to the third time; and update the timing time of the timer corresponding to the PDU set in the cache to the first time, or the difference between the first time and the third time when the first time is greater than or equal to the third time.

[0178] The first preset time may be 0, or any other possible value, without limitation. For ease of understanding, the first preset time is assumed to be 0 for subsequent description in the application embodiment.

[0179] For example, assuming that the first time is 10ms, if the initial timing time of the timer corresponding to PDU set#f1 is 30ms, the current timing time of the timer is 5ms, and the third time is 30-5=25ms, then the third time of PDU set#f1 is greater than the first time, and the terminal device can directly set the timing time of the timer corresponding to PDU set#f1 to 0, or the terminal device can directly discard PDU set#f1; if the initial timing time of the timer corresponding to PDU set#f2 is 30ms, the current timing time of the timer is 27ms, and the third time is 30-27=3ms, then the third time of PDU set#f2 is less than the first time, and the terminal device can update the timing time of PDU set#f2 to 10ms, or the terminal device can update the timing time of PDU set#f2 to the first time - the third time, that is, PDU set#f2 can continue to run with 7ms as the updated timing time.

[0180] It can be understood that if the terminal device directly updates the timing of the timer corresponding to the PDU set to the first time, it may cause a large waste of resources. For example, if the first time is 10ms, the first time of 10ms can be understood as the 10ms transmission resource allocated by the network device for the PDU set. If the terminal device fails to send the PDU set within 10ms, the terminal device can directly discard the PDU set.

[0181] like Figure 3 As shown, if the initial timing time of the timer corresponding to the P2 frame is 30ms, and the current timing time of the timer is 15ms, then the P2 frame has been waiting in the cache for 15ms, or in other words, the P2 frame has occupied 15ms of transmission resources. At this time, if the terminal device directly updates the timing time of the timer corresponding to the P2 frame to 10ms, it does reduce the timing time of the timer corresponding to the P2 frame. However, in fact, the P2 frame does occupy 15+10=25ms of transmission resources. In this case, a large amount of resources will be wasted, resulting in poor effect in alleviating network congestion.

[0182] Therefore, in method 3, the terminal device can compare the first time with the third time, and then determine the updated timing time of the timer corresponding to the PDU set in the cache, thereby reducing the waste of resources and improving the efficiency of communication.

[0183] Method 4:

[0184] In one possible design scheme, when the second time is greater than or equal to the time threshold value, and / or the number of bytes of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the terminal device can update the timing time of the timer corresponding to the PDU set in the cache based on the first time and the cache status.

[0185] That is, if the second time is less than or equal to the time threshold, and / or the byte amount of data to be transmitted in the PDU set is less than or equal to the byte amount threshold, the timing time of the timer remains unchanged.

[0186] On the contrary, if the first time is less than or equal to the third time, the terminal device can update the timing of the timer corresponding to the PDUset in the cache to 0; if the first time is greater than or equal to the third time, the terminal device can update the timing of the timer corresponding to the PDU set in the cache to the first time, or the difference between the first time and the third time.

[0187] It can be understood that the specific implementation process of this method can refer to the relevant introduction in Method 1 and Method 3, and will not be repeated here.

[0188] Method 5:

[0189] In one possible design scheme, when the third time is less than or equal to the time threshold value, and / or the number of bytes of data to be transmitted in the PDU set is greater than or equal to the byte threshold value, the terminal device can update the timing time of the timer corresponding to the PDU set in the cache based on the first time and the cache status.

[0190] That is, if the third time is greater than or equal to the time threshold, and / or the byte amount of data to be transmitted in the PDU set is less than or equal to the byte amount threshold, the timing time of the timer remains unchanged.

[0191] On the contrary, if the first time is less than or equal to the third time, the terminal device can update the timing of the timer corresponding to the PDUset in the cache to 0; if the first time is greater than or equal to the third time, the terminal device can update the timing of the timer corresponding to the PDU set in the cache to the first time, or the difference between the first time and the third time.

[0192] It can be understood that the specific implementation process of this method can refer to the relevant introduction in Method 2 and Method 3, and will not be repeated here.

[0193] The above-mentioned method 4 can be understood as a solution combining method 1 with method 3, and method 5 can be understood as a solution combining method 2 with method 3. Therefore, method 4 and method 5 can further reduce the waste of resources and improve the efficiency of communication.

[0194] In summary, the terminal device can update the timing of the effective timer according to the first time and the cache status of the PDU set, such as the time information of the PDU set and / or the data volume information of the PDU set, to avoid the situation where the timer of the effective frame is not updated and the network congestion cannot be alleviated, thereby improving the stability of the communication system and the efficiency of communication.

[0195] In combination with the above embodiment, optionally, the above method may further include:

[0196] The terminal device receives second indication information from the network device.

[0197] Among them, the second indication information can be used to indicate that the timer corresponding to the PDU set in the cache is effective at the first time, and the timer corresponding to the PDU set in the cache is effective at the first time to represent: the terminal device needs to update the timing of the timer corresponding to the PDU set in the cache according to the first time.

[0198] It can be understood that each PDU set corresponds to a type. For example, if the first indication information indicates that the timing of the P frame needs to be updated to the first time, then the second indication information can indicate that the terminal device needs to update the timing of the timer corresponding to the P frame in the cache according to the first time. The first indication information and the second indication information can be the same information or different information, without limitation.

[0199] The naming of the second indication information mentioned above is only an example, and the second indication information may also be called indication information #2, indication information #b, etc. without limitation.

[0200] Optionally, the above method may further include:

[0201] When the third preset condition is met, the terminal device triggers a BSR.

[0202] Wherein, satisfying the third condition may include at least one of the following:

[0203] After the terminal device receives the instruction information from the network device;

[0204] After the terminal device receives the indication information from the network device, and the cache includes the first type of PDUset; wherein the first indication information can be used to indicate that the timing time of the timer corresponding to the first type of PDUset needs to be updated to the first time;

[0205] Alternatively, after receiving the indication information from the network device, the terminal device determines that the cache status has changed compared to the status of the BSR that has been sent.

[0206] It can be understood that if the terminal device has reported multiple BSRs to the network device, at this time, the terminal device can use the BSR reported at the time point closest to the receipt of the indication information as the BSR that has been sent here. For example, the terminal device reports BSR#1 to the network device at time #1, reports BSR#2 to the network device at time #2, and reports BSR#3 to the network device at time #3. Time #3 is the time closest to the time of receiving the indication information. At this time, the terminal device can use BSR#3 as the BSR that has been sent without limitation.

[0207] The state change may mean that: the data volume information corresponding to at least one time information in the cache has changed, or the time information corresponding to at least one data volume information has changed. The time information can be understood as a time interval, that is, the time interval to which the data volume in the cache belongs has changed, for example, Figure 2 As shown in (a) in FIG. 1 , if the data amount of 10ms<remaining time≤30ms is the data amount of the P frame, then after reducing the timing time of the P frame timer, as shown in FIG. Figure 2 As shown in (b), the 100 bytes of data may all fall within the time interval of 10ms < remaining time ≤ 20ms. Figure 2 (a) and Figure 2 If the data volume information corresponding to the time information in (b) changes, the terminal device can trigger a BSR.

[0208] It should be understood that Figure 2 (a) and Figure 2 (b) in the figure is an example of a time interval in which the time information is the remaining time. The time information can also be a time interval corresponding to the time already in the cache (or described as the time already waited, or described as the waiting time in the cache). For example, it can be divided into time intervals such as 20ms>waiting time ≥ 10ms, 30ms>waiting time ≥ 20ms, etc., which are not elaborated here.

[0209] In summary, the network device can subsequently allocate transmission resources to the terminal device in real time based on the reported BSR to avoid the problem that the cache status of the terminal device changes compared to the status of the BSR that has been sent, causing some PDU sets to fail to transmit normally, thereby improving the stability of the communication system.

[0210] It can be understood that the above method embodiment takes the example of the terminal device updating the timing time of the already running timer, or updating the timing time of the timer corresponding to the PDU set in the cache, to solve the problem described in the aforementioned "Problem A". For the PDU set newly received by the subsequent terminal device, the terminal device can directly update the timing time of the newly received PDU set to the first time. For example, the terminal device can directly update the timing time of the new P3 frame to the first time without limitation.

[0211] In the embodiments of the present application, "in cache", "in cache area", "buffer" and "in buffer", "memory", "in memory", "queue" and "in queue" can be interchangeable and will not be repeated.

[0212] Another communication method provided in an embodiment of the present application is provided below to solve the problem described in the aforementioned “Problem B”.

[0213] The method may include:

[0214] Step 1: A first network device sends first indication information to a terminal device. The terminal device receives the first indication information from the first network device.

[0215] Among them, the first network device may be a CU. The first indication information may be used to indicate at least one of the following: updating the timing of the timer corresponding to the protocol data unit set PDU set, the timer is used to discard the PDUset in case of timeout; the proportion of discarded PDU sets; the number of discarded PDU sets; the amount of data discarded by the PDU set; discarding the PDU set within a first time period; the start time and end time of discarding the PDU set; the type of PDU set; or the importance level or priority of the PDU set, or the importance level range or priority range of the PDU set. The specific introduction of the first indication information can refer to the relevant introduction in the above step S501, which will not be repeated here.

[0216] Step 2: The terminal device updates the timing of the timer corresponding to the PDU set according to the first indication information.

[0217] The terminal device can discard the PDU set or update the timing of the timer corresponding to the PDU set according to the content indicated by the first indication information. The specific implementation process of this step is similar to the implementation process of the above steps S501-S502, which can be used as a reference for understanding and will not be repeated here.

[0218] In summary, the terminal device can discard the PDU set according to the first indication information, or update the timing of the timer corresponding to the PDU set, thereby alleviating network congestion and improving communication efficiency.

[0219] In combination with the above embodiment, optionally, before the first network device sends the first indication information, the above method may further include:

[0220] The first network device receives third indication information from the second network device.

[0221] The second network device may be a DU. The third indication information may be used to indicate the occurrence of congestion and / or the level of congestion, etc. The level of congestion may be used to indicate the degree of congestion, such as if the network throughput is significantly lower than the normal throughput as the network load increases, the network may be considered to be in a state of mild congestion; if the network throughput decreases as the network load increases, the network may be considered to be in a state of severe congestion; if the network load continues to increase and the network throughput decreases to zero, the network may be in a deadlock state, without limitation.

[0222] At this time, the network device as the sender of the first indication information (the first network device) can be understood as only having control plane functions, such as the CU part under the CU / DU separation architecture, that is, when the DU identifies or perceives network congestion, it can send a third indication information to the CU, and the CU can adjust the indication content of the first indication information in real time according to the congestion level indicated by the third indication information. For example, when the network congestion level is high, the network device can increase the proportion and number of discarded PDU sets, etc. When the network congestion level is low, the network device can reduce the proportion and number of discarded PDU sets, etc., without limitation.

[0223] In a possible design scheme, the network device that sends the first indication information may have both control plane functions and data plane functions. In this case, the problem described in the aforementioned "Problem B" may be solved through interaction between different functional modules within the same device without limitation.

[0224] Another communication method provided in an embodiment of the present application is provided below to solve the problem described in the aforementioned “Problem C”.

[0225] The method may include:

[0226] Step 1: The terminal device receives configuration information.

[0227] The first configuration information may be used to indicate the time interval corresponding to the data volume of the reported control message, and the time interval may be used to divide the time interval from the current moment to the moment when the PDU set is discarded, or may be used to divide the time that the PDU set has been waiting in the cache.

[0228] For example, Figure 2 (a) and Figure 2As shown in (b), the time intervals pre-configured by the network device may include: 0ms<remaining time ≤10ms, 10ms<remaining time ≤20ms and 20ms<remaining time ≤30ms. At this time, the network device can configure the terminal device to send control message data to the network device in a certain time interval through configuration information, such as the amount of data in the control message sent to the network device in the time interval of 10ms<remaining time ≤20ms.

[0229] Step 2: The terminal device reports the data volume of the control message according to the first configuration information.

[0230] That is, the amount of data of the control message sent by the terminal device to the network device within the time interval indicated by the first configuration information. For example, the amount of data of the control message sent by the terminal device to the network device within the time interval of 10ms<remaining time≤20ms. It should be understood that according to the above technical terms and background technology introduction, reporting of the control message by the terminal device within the most urgent time interval may result in failure of control message sending. Therefore, the terminal device may also send the control message to the network device in any possible time interval other than the most urgent time interval, such as the second most urgent time interval, without limitation.

[0231] In summary, the terminal device can send a control message to the network device according to the time interval indicated by the first configuration information, or in any possible time interval except the most urgent time interval, so as to avoid the terminal device being uncertain about the time interval for reporting the data amount of the control message, which may cause the control message transmission to fail, thereby allowing the network device to perform subsequent operations based on the received control message.

[0232] Another communication method provided in an embodiment of the present application is provided below to solve the problem described in the aforementioned “Problem D”.

[0233] The method may include:

[0234] Step 1: The terminal device obtains time jitter according to the fifth time and the second configuration information.

[0235] Among them, the fifth time may be the time when the terminal device receives the PDU set, and the second configuration information may be understood as the CG or DRX pre-configured by the network device for the terminal device, which may be recorded as CG1 or DRX#1.

[0236] The terminal device can determine the starting time point of the CG#1 cycle based on CG#1, and then the terminal device can determine the time jitter based on the time deviation between the fifth time and the starting time point of the CG#1 cycle, which can be recorded as the first time jitter; or the terminal device can determine the starting time point of the DRX#1 cycle based on DRX#1, and then the terminal device can determine the time jitter based on the time deviation between the fifth time and the starting time point of the DRX#1 cycle, which can be recorded as the second time jitter. It can be understood that if the starting time point of the CG#1 cycle is different from the starting time point of the DRX#1 cycle, the first time jitter is not equal to the second time jitter, and the first time jitter can be a positive number or a negative number without limitation. Figure 6 As shown in FIG. 1 , the time deviation between each time point in the CG#1 cycle and the time when the terminal device actually receives the PDU set is the first time jitter, such as Figure 7 As shown, the time deviation between each time point in the DRX#1 cycle and the time when the terminal device actually receives the PDU set is the second time jitter.

[0237] For example, the terminal device can count the time jitter of the PDU set within a period of time. The counted time jitter is the average value, maximum value, minimum value, or maximum and minimum value of all PDU set time jitters within a period of time, without limitation. When the counted time jitter is greater than a preset value, or the difference between the counted time jitter and the last reported time jitter exceeds a preset value, or periodically, the terminal device reports the counted time jitter.

[0238] Step 2: The terminal device sends the time jitter.

[0239] For example, the terminal device may send the time jitter, such as the first time jitter or the second time jitter, to the network device.

[0240] The network device can adjust the CG and / or DRX configuration according to the received time jitter. For example, the network device can update CG#1 according to the first time jitter, for example, after updating to CG#2, the network device can configure CG#2 to the terminal device so that the period of CG#2 can match the period of the terminal device receiving the PDU set; or, the network device can subsequently update DRX#1 according to the second time jitter, for example, after updating to DRX#2, the network device can configure DRX#2 to the terminal device so that the period of DRX#2 can match the period of the terminal device actually receiving the PDU set.

[0241] like Figure 6 As shown in FIG. 1 , the time deviation between each time point in the CG#1 cycle and the time when the terminal device actually receives the PDU set is the first time jitter, such as Figure 7 As shown, the time deviation between each time point in the DRX#1 cycle and the time when the terminal device actually receives the PDUset is the second time jitter.

[0242] In summary, the terminal device does not need to calculate the time when the upper-layer application generates the first PDU set or the first message. The terminal device can directly calculate the time jitter based on the time deviation between the time when the PDU set is received and the starting time point of the CG cycle, or based on the time deviation between the time when the PDU set is received and the starting time point of the DRX cycle, so that the subsequent network equipment can directly adjust the CG or DRX according to the reported time jitter, so that the period when the terminal device actually receives the PDU set can match the CG cycle or the DRX cycle.

[0243] Another communication method provided by an embodiment of the present application is provided below to solve the problem described in the aforementioned "Problem E". The method may include:

[0244] Step 1: RLC receives fourth indication information from PDCP. PDCP sends fourth indication information to RLC.

[0245] Among them, the fourth indication information can be used to indicate the reason why PDCP discards the data packet, and the reason why PDCP discards the data packet may include at least one of the following: PDCP actively discards the data packet (or can be described as PDCP performing PDU set integrity processing, or PDCP performing PDU set integrity discard or any other expression that can express the reason that the PDU in the PDU set described in the present invention is discarded as a whole); the timer associated with the data packet times out; or PDCP determines that the data packet has been received correctly.

[0246] It should be understood that the fourth indication information may also indicate the reasons for PDCP discarding PDU set, discarding message, etc., without limitation. RLC may also receive the fourth indication information sent from any other possible upper layer, without limitation.

[0247] Step 2: RLC performs corresponding packet loss operations according to the reason why PDCP drops the data packet.

[0248] It can be understood that RLC needs to have different operations for different reasons for discarding data packets. For example, the reason for discarding a data packet is: PDCP actively discards the data packet, if the data packet or at least one segment of the data packet is in RLC and has not yet been transmitted to the MAC layer for processing, then RLC discards the data packet or the segment of the data packet that has not yet been transmitted to MAC; if the reason for discarding the data packet is: the timer associated with the data packet times out (not the meaning of PDU set integrity processing, not the discard timer corresponding to the PDU set), if the data packet or at least one segment of the data packet has been passed by RLC to the MAC layer for processing, then RLC cannot discard the data packet or the segment of the data packet that has not yet been transmitted to MAC.

[0249] In summary, the RLC can directly use the reason why the PDCP discards the data packet indicated by the fourth indication information to clarify the subsequent operations to be performed to avoid erroneous operations or wrong operations.

[0250] Combination of the above Figure 5-Figure 7 The method for managing network resources provided by the embodiment of the present application is described in detail. Figure 8-Figure 9 A communication device for executing the communication method provided in an embodiment of the present application is described in detail.

[0251] For example, Figure 8 This is a schematic diagram of the structure of the communication device provided in the embodiment of the present application. Figure 1 .like Figure 8 As shown, the communication device 800 includes: a transceiver module 801 and a processing module 802. For ease of description, Figure 8 Only the main components of the communication device are shown.

[0252] In some embodiments, the communication device 800 may be adapted to Figure 4 In the communication system shown in , the functions of the above-mentioned terminal device are performed.

[0253] The transceiver module 801 may be used to execute the function of the terminal device to send and receive messages, and the processing module 802 may execute functions of the terminal device other than sending and receiving messages.

[0254] Optionally, the transceiver module 801 may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device 800 , and the receiving module is used to implement the receiving function of the communication device 800 .

[0255] Optionally, the communication device 800 may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module 802 executes the program or the instruction, the communication device 800 may execute the above communication method.

[0256] It should be noted that the communication device 800 may be a terminal device, or a chip (system) or other parts or components that can be set in a terminal device, or a device that includes a terminal device, which is not limited in this application.

[0257] In addition, the technical effects of the communication device 800 can refer to the technical effects of the above-mentioned communication method, which will not be repeated here.

[0258] In some other embodiments, the communication device 800 may be suitable for Figure 4 In the communication system shown in , the functions of the above-mentioned network devices are performed.

[0259] The transceiver module 801 may be used to execute the function of the network device to send and receive messages, and the processing module 802 may execute functions of the network device other than sending and receiving messages.

[0260] Optionally, the transceiver module 801 may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device 800 , and the receiving module is used to implement the receiving function of the communication device 800 .

[0261] Optionally, the communication device 800 may further include a storage module, wherein the storage module stores a program or an instruction. When the processing module 802 executes the program or the instruction, the communication device 800 may execute the above communication method.

[0262] It should be noted that the communication device 800 can be a network device, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device, which is not limited in this application.

[0263] In addition, the technical effects of the communication device 800 can refer to the technical effects of the above-mentioned communication method, which will not be repeated here.

[0264] For example, Fig. 9 A schematic diagram of the structure of the communication device provided in the embodiment of the present application Figure 2 The communication device may be a terminal, or a chip (system) or other components or assemblies that can be arranged in the terminal. Fig. 9 As shown, the communication device 900 may include a processor 901. Optionally, the communication device 900 may also include a memory 902 and / or a transceiver 903. The processor 901 is coupled with the memory 902 and the transceiver 903, such as being connected via a communication bus.

[0265] Combine the following Fig. 9 The components of the communication device 900 are described in detail:

[0266] The processor 901 is the control center of the communication device 900, and may be a processor or a general term for multiple processing elements. For example, the processor 901 is one or more central processing units (CPUs), or may be application specific integrated circuits (ASICs), or may be configured to implement one or more integrated circuits of the embodiments of the present application, such as one or more microprocessors (digital signal processors, DSPs), or one or more field programmable gate arrays (FPGAs).

[0267] Optionally, the processor 901 may execute various functions of the communication device 900 by running or executing a software program stored in the memory 902 and calling data stored in the memory 902, such as executing the above Figure 5-Figure 7 The communication method shown.

[0268] In a specific implementation, as an embodiment, the processor 901 may include one or more CPUs, such as Fig. 9 CPU0 and CPU1 are shown in FIG.

[0269] In a specific implementation, as an embodiment, the communication device 900 may also include multiple processors, such as Fig. 9 901 and processor 904 are shown in FIG. Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0270] The memory 902 is used to store the software program for executing the solution of the present application, and the execution is controlled by the processor 901. The specific implementation method can refer to the above method embodiment, which will not be repeated here.

[0271] Optionally, the memory 902 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 902 may be integrated with the processor 901, or may exist independently and be communicated to the processor 901 through the interface circuit ( Fig. 9 (not shown) is coupled to the processor 901, which is not specifically limited in the embodiment of the present application.

[0272] The transceiver 903 is used for communication with other communication devices. For example, if the communication device 900 is a terminal, the transceiver 903 can be used to communicate with a network device, or with another terminal device. For another example, if the communication device 900 is a network device, the transceiver 903 can be used to communicate with a terminal, or with another network device.

[0273] Optionally, the transceiver 903 may include a receiver and a transmitter ( Fig. 9 The receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0274] Optionally, the transceiver 903 may be integrated with the processor 901, or may exist independently and communicate with the processor 901 through the interface circuit ( Fig. 9 (not shown) is coupled to the processor 901, which is not specifically limited in the embodiment of the present application.

[0275] It should be noted that Fig. 9 The structure of the communication device 900 shown in the figure does not constitute a limitation on the communication device. The actual communication device may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.

[0276] In addition, the technical effects of the communication device 900 can refer to the technical effects of the communication method described in the above method embodiment, and will not be repeated here.

[0277] The present application embodiment provides a communication system. The communication system may include: Figure 4 The terminal devices and network equipment shown.

[0278] It should be understood that the processor in the embodiments of the present application may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0279] It should also be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of random access memory (RAM) are available, such as static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0280] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. 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 site, computer, server or data center to another website site, computer, server or data center by wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.

[0281] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A and B can be singular or plural. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship, but it may also indicate an "and / or" relationship. Please refer to the context for specific understanding.

[0282] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0283] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0284] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0285] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0286] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0287] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0288] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0289] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0290] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A communication method, characterized in that: include: Receive first indication information from a network device; wherein the first indication information is used to indicate that a timing time of a timer corresponding to a protocol data unit set PDU set needs to be updated to a first time, and the timer is used to discard the PDU set in case of timeout; According to the first time and the cache status, the timing time of the timer corresponding to the PDU set in the cache is updated; wherein the cache status includes the time information of the PDU set and / or the data volume information of the PDU set.

2. The method according to claim 1, characterized in that The updating, according to the first time and the cache state, of the timing time of the timer corresponding to the PDU set in the cache includes: When a first preset condition is met, updating the timing time of the timer to a first time; Wherein, satisfying the first preset condition includes at least one of the following: The second time is greater than or equal to the time threshold; or, The number of bytes of data to be transmitted in the PDU set is greater than or equal to the byte threshold; The time information of the PDU set includes the second time, where the second time is the time interval between the current time and the time when the PDUset is discarded. The data volume information of the PDU set includes the byte volume of data to be transmitted in the PDU set.

3. The method according to claim 1, characterized in that The updating, according to the first time and the cache state, of the timing time of the timer corresponding to the PDU set in the cache includes: When the second preset condition is met, updating the timing time of the timer to the first time; Wherein, satisfying the second preset condition includes at least one of the following: The third time is less than or equal to the time threshold; Or, the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte amount threshold; The time information of the PDU set includes the third time, where the third time is the time that the PDU set has been waiting in the cache, and the data volume information of the PDU set includes the byte volume of data to be transmitted in the PDU set.

4. The method according to claim 1, characterized in that: The updating, according to the first time and the cache state, of the timing time of the timer corresponding to the PDU set in the cache includes: When the first time is less than or equal to the third time, updating the timing time of the timer corresponding to the PDU set in the cache to the first preset time; When the first time is greater than or equal to the third time, updating the timing time of the timer corresponding to the PDU set in the cache to the first time, or the difference between the first time and the third time; The time information of the PDU set includes a third time, and the third time is the time that the PDU set has been waiting in the cache.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When the third preset condition is met, a BSR is triggered.

6. The method according to claim 5, characterized in that The third preset condition is satisfied, including at least one of the following: After receiving the first indication information from the network device; After receiving the first indication information from the network device, and the cache includes a first type of PDU set; wherein the indication information is used to indicate that the timing time of the timer corresponding to the first type of PDU set needs to be updated to the first time; or, After receiving the first indication information from the network device, it is determined that the cache state has changed compared to the state of the BSR that has been sent.

7. A communication device, characterized in that: include: Transceiver module and processing module; wherein, The transceiver module is used to receive indication information from a network device; wherein the indication information is used to indicate that a timing time of a timer corresponding to a protocol data unit set PDU set needs to be updated to a first time, and the timer is used to discard the PDU set in case of timeout; The processing module is used to update the timing time of the timer corresponding to the PDU set in the cache according to the first time and the cache status; wherein the cache status includes the time information of the PDU set and / or the data volume information of the PDU set.

8. The device according to claim 7, characterized in that The processing module is further configured to update the timing time of the timer to a first time when a first preset condition is met; Wherein, satisfying the first preset condition includes at least one of the following: The second time is greater than or equal to the time threshold; or, The byte amount of data to be transmitted in the PDU set is greater than or equal to the byte amount threshold; The time information of the PDU set includes the second time, where the second time is the time interval between the current time and the time when the PDUset is discarded. The data volume information of the PDU set includes the byte volume of data to be transmitted in the PDU set.

9. The device according to claim 7, characterized in that The processing module is further configured to update the timing time of the timer to the first time when a second preset condition is met; Wherein, satisfying the second preset condition includes at least one of the following: The third time is less than or equal to the time threshold; Or, the byte amount of data to be transmitted in the PDU set is greater than or equal to the byte amount threshold; The time information of the PDU set includes the third time, where the third time is the time that the PDU set has been waiting in the cache, and the data volume information of the PDU set includes the byte volume of data to be transmitted in the PDU set.

10. The device according to claim 7, characterized in that The processing module is further configured to update the timing time of the timer corresponding to the PDU set in the cache to a first preset time when the first time is less than or equal to a third time; The processing module is further configured to update the timing time of the timer corresponding to the PDU set in the cache to the first time, or the difference between the first time and the third time, when the first time is greater than or equal to the third time; The time information of the PDU set includes a third time, and the third time is the time that the PDU set has been waiting in the cache.

11. The device according to any one of claims 7 to 10, characterized in that The processing module is further configured to trigger a BSR when a third preset condition is met.

12. The device according to claim 11, characterized in that The third preset condition is satisfied, including at least one of the following: After receiving the instruction information from the network device; After receiving the indication information from the network device, and the cache includes a first type of PDU set; wherein the indication information is used to indicate that the timing time of the timer corresponding to the first type of PDU set needs to be updated to the first time; or, After receiving the indication information from the network device, it is determined that the cache state has changed compared to the state of the BSR that has been sent.

13. A communication device, characterized in that: The communication device comprises: a processor coupled to a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method according to any one of claims 1 to 6.

14. A communication chip, characterized in that: Instructions are stored therein, and when the chip is run on a communication device, the method according to any one of claims 1 to 6 is implemented.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a computer program or instructions. When the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 6.

16. A computer program product, characterized in that The computer program product comprises a computer program or instructions, and when the computer program or instructions are executed by a communication device, the method according to any one of claims 1 to 6 is executed.