Method for processing data packet and communication device

By discarding packets according to the packet loss ratio and policy by terminal devices, the problem of low-importance packet information loss during network congestion is solved, and user experience and network stability are improved.

CN120186671APending Publication Date: 2025-06-20HUAWEI TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311758063.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

In the event of network congestion, the prior art is difficult to effectively avoid the loss of useful information carried in low-important data packets, resulting in a decline in user experience.

Method used

According to the acquired packet loss ratio and packet loss policy, the terminal equipment reasonably discards packets when the network is congested to ensure the transmission of high-important packets.

Benefits of technology

Through flexible packet loss management, the stability of uplink data transmission in the face of congestion is improved and the user experience is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120186671A_ABST
    Figure CN120186671A_ABST
Patent Text Reader

Abstract

The invention provides a method for processing a data packet. The method can be applied to transmission of an uplink data packet of a wireless communication system. According to the scheme, when the uplink data transmission network is congested, the terminal equipment performs reasonable packet loss on the uplink data packet according to the packet loss proportion, so that the network congestion can be relieved, and the loss of effective information in the uplink data packet can be avoided. According to the invention, the reliability of uplink data transmission can be improved, and furthermore, the user experience can be ensured. The method comprises the following steps: the terminal equipment discards data packets in an uplink data packet set according to the packet loss proportion and the packet loss strategy after acquiring the packet loss proportion and determining the packet loss strategy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more specifically, to methods for processing data packets and communication devices. Background Art

[0002] As defined in the 3rd generation partnership project (3GPP), a quality of service (QoS) flow of an extended reality (XR) service may include a set of protocol data units (PDUs) with different levels of importance, and is identified by the PDU set importance (PSI). When the network is congested, the transmission of high-importance data should be prioritized. Therefore, 3GPP proposes that when the network is congested, the transmission of data packets with low importance can be preferentially abandoned. For example, in uplink data transmission, the terminal device can actively discard all data with low importance after network congestion to relieve the pressure on transmission resources.

[0003] However, this kind of discarding is not lossless, because even data with relatively low importance still carries useful content information. After these data are discarded, the receiving side will not be able to normally recover the corresponding content, which may cause problems such as video stuttering, black borders, and blurring. Therefore, how to avoid the loss of valid information and ensure the user experience when the network is congested is a problem that needs to be solved. Summary of the Invention

[0004] This application provides a method for processing data packets and a communication device, which can improve the reliability of uplink data transmission and the user experience.

[0005] In a first aspect, an embodiment of this application provides a method for processing data packets. This method can be executed by a terminal device or by a component (such as a chip or a circuit) of the terminal device. This application does not make any limitation in this regard. For the sake of convenience of description, the following takes the execution by the terminal device as an example. The method includes: the terminal device obtains a packet loss ratio; the terminal device determines a packet loss strategy; the terminal device discards data packets in a data packet set according to the packet loss ratio and the packet loss strategy.

[0006] Based on the above solution, the terminal device can perform uplink packet loss management when network congestion occurs according to the packet loss ratio and the packet loss strategy. Compared with the solution in the prior art that discards all packets in the set of low-importance data packets, the solution of this application can adopt different packet loss ratios and packet loss strategies to make more reasonable packet loss management. The solution of this application improves the stability of uplink data transmission when network congestion occurs, and thus improves the user experience.

[0007] In combination with the first aspect, in some implementation manners of the first aspect, the packet loss strategy is: discarding the data packets corresponding to the packet loss ratio in the set of low-importance data packets; or, discarding the data packets corresponding to the packet loss ratio in the set of high-importance data packets; or, discarding the data packets corresponding to the packet loss ratio in the set of high-importance data packets and all data packets in the set of low-importance data packets; or, discarding the data packets corresponding to the packet loss ratio in each set of data packets; or, discarding the data packets corresponding to the first packet loss ratio in the set of high-importance data packets and the data packets corresponding to the second packet loss ratio in the set of low-importance data packets, where the first packet loss ratio and the second packet loss ratio belong to the packet loss ratio.

[0008] Compared with the prior art that discards all data packets in the set of low-importance data packets, the packet loss strategy provided by the solution of this application refines the packet loss behavior of the terminal device in different scenarios. For example, according to different congestion degrees of the network, different packet loss strategies are selected, which improves the flexibility and reasonableness of packet loss management.

[0009] In combination with the first aspect, in some implementation manners of the first aspect, the terminal device obtains the packet loss ratio, including: the terminal device receives the packet loss ratio information from the network device, the packet loss ratio information indicates the packet loss ratio, and the packet loss ratio information configures the terminal device to discard data packets according to the packet loss ratio.

[0010] In combination with the first aspect, in some implementation manners of the first aspect, the terminal device obtains the packet loss ratio, including: the terminal device receives the configuration information from the network device, the configuration information configures the terminal device to discard data packets according to the redundancy of the set of data packets; the terminal device obtains the redundancy; the terminal device determines the packet loss ratio according to the redundancy. Optionally, in a CU-DU split architecture, the network device is a Central Unit-User Plane Function (CU-UP) network element, or a Central Unit-Control Plane Function (CU-CP) network element, or a Distributed Unit (DU) network element.

[0011] Based on the above solution, the terminal device can obtain the packet loss ratio through the above two methods, which improves the reliability of the implementation of the solution of this application.

[0012] In combination with the first aspect, in certain implementations of the first aspect, the terminal device obtains the redundancy, including: the terminal device receives redundancy information from the application layer, and the redundancy information indicates the redundancy; the terminal device determines the redundancy according to the redundancy information.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the packet loss ratio is less than or equal to the redundancy.

[0014] When the packet loss ratio is less than or equal to the redundancy of the data packet, it is possible to further ensure the integrity of the information transmitted in the undropped data packets, avoid the loss of valid information, and thus improve the reliability of the method of the present application.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the terminal device reports capability information to the network device, and the capability information indicates whether the terminal device has the ability to identify the redundancy information. Optionally, in the CU-DU split architecture, the network device is a Central Unit-Control Plane function CU-CP network element.

[0016] Through the capability information, the network device can determine whether to configure the terminal device to drop packets according to the packet loss ratio according to the capabilities of the terminal device, avoiding ineffective indication and configuration by the network device, and improving the reliability of the system.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the terminal device receives first indication information from the network device, and the first indication information indicates that the terminal device starts to drop packets. The network device is a CU-CP or a DU.

[0018] By using the first indication information to indicate the terminal device to start the packet dropping behavior, the terminal device can obtain the packet loss ratio information from the network device in advance or learn in advance that it needs to drop packets according to the redundancy of the data packet set when the network is not congested, so that it can quickly respond to the first indication information to drop packets when network congestion occurs, improving the reliability of network management of data packets. In addition, by starting packet dropping through the first indication information, it is also possible to implement a scheme in which the terminal device receives different first indication information at different times, enabling the terminal device to further adjust the packet dropping strategy according to the network congestion degree at different times, improving the flexibility of packet dropping management.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the first indication information further indicates the packet dropping strategy, and the terminal device determines the packet dropping strategy, including: the terminal device determines the packet dropping strategy according to the first indication information.

[0020] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the terminal device receives identification information corresponding to the set of data packets sent by the network device, where the identification information is at least one of the identification of the terminal device that receives the set of data packets, the session identification of the protocol data unit (PDU) session corresponding to the set of data packets, the flow identification of the quality of service (QoS) flow corresponding to the set of data packets, and the identification of the data radio bearer (DRB) corresponding to the set of data packets. Optionally, in a CU-DU split architecture, the network device is a CU-UP, or a CU-CP, or a DU.

[0021] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the terminal device receives third indication information from the network device, where the third indication information instructs the terminal device to stop discarding data packets. Optionally, in a CU-DU split architecture, the network device is a CU-CP, or a DU.

[0022] Through the third indication information, the behavior of continuing to discard packets after the network congestion disappears can be avoided, thereby further achieving the purpose of improving the reliability of packet discard management.

[0023] In a second aspect, an embodiment of the present application provides a method for processing data packets. This method can be executed by a network device or by a component (such as a chip or a circuit) of the network device. The present application does not limit this. For the sake of description, the following takes the network device as an example for illustration. The method includes: the network device obtains the redundancy of a set of data packets; the network device determines a packet discard ratio according to the redundancy, where the packet discard ratio is used to discard data packets;

[0024] The network device sends the packet discard ratio information to the terminal device, where the packet discard ratio information indicates the packet discard ratio, and the packet discard ratio information configures the terminal device to discard data packets according to the packet discard ratio. Optionally, in a CU-DU split architecture, the network device is a central unit-control plane function (CU-CP) network element.

[0025] Based on the above solution, determining the packet discard ratio using the redundancy of the set of data packets enables the solution provided by the present application to avoid the loss of valid information during packet discard, which is more reasonable and reliable than the prior art.

[0026] In combination with the second aspect, in some implementations of the second aspect, the packet discard ratio is less than or equal to the redundancy.

[0027] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the network device sends first indication information to the terminal device, where the first indication information instructs the terminal device to start discarding packets.

[0028] In combination with the second aspect, in some implementations of the second aspect, the first indication information further indicates a packet loss policy.

[0029] In combination with the second aspect, in some implementations of the second aspect, the packet loss policy is as follows: discarding the packets corresponding to the packet loss ratio in the set of data packets with low importance; or, discarding the packets corresponding to the packet loss ratio in the set of data packets with high importance; or, discarding the packets corresponding to the packet loss ratio in the set of data packets with high importance and all the data packets in the set of data packets with low importance; or, discarding the packets corresponding to the packet loss ratio in each set of data packets; or, discarding the packets corresponding to a first packet loss ratio in the set of data packets with high importance and the packets corresponding to a second packet loss ratio in the set of data packets with low importance, where the first packet loss ratio and the second packet loss ratio belong to the packet loss ratio.

[0030] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the network device sending to the terminal device identification information corresponding to the set of data packets, where the identification information is at least one of a session identifier of a protocol data unit (PDU) session corresponding to the set of data packets, a flow identifier of a quality of service (QoS) flow corresponding to the set of data packets, and an identifier of a data radio bearer (DRB) corresponding to the set of data packets.

[0031] In combination with the second aspect, in some implementations of the second aspect, the method further includes: the network device sending to the terminal device third indication information, where the third indication information instructs the terminal device to stop discarding data packets.

[0032] In a third aspect, an embodiment of the present application provides a method for processing data packets. This method can be executed by a network device or by components (such as chips or circuits) of the network device. The present application does not limit this. For the sake of description, the following takes the network device as an example for illustration. The method includes: the network device determining that there is redundancy in a set of data packets; the network device sending configuration information to the terminal device, where the configuration information configures the terminal device to discard data packets according to the redundancy of the set of data packets, and the redundancy is used to determine a packet loss ratio, and the packet loss ratio is used to discard data packets.

[0033] In combination with the third aspect, in some implementations of the third aspect, the packet loss ratio is less than or equal to the redundancy.

[0034] In combination with the third aspect, in some implementations of the third aspect, the method further includes: the network device receiving capability information from the terminal device, where the capability information indicates whether the terminal device has the ability to recognize the redundancy information.

[0035] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: the network device sending first indication information to the terminal device, where the first indication information indicates that the terminal device starts to discard packets.

[0036] In combination with the third aspect, in some implementation manners of the third aspect, the first indication information further indicates a packet discarding policy.

[0037] In combination with the third aspect, in some implementation manners of the third aspect, the packet discarding policy is: discarding the packets corresponding to the packet discarding ratio in the set of packets with low importance; or, discarding the packets corresponding to the packet discarding ratio in the set of packets with high importance; or, discarding the packets corresponding to the packet discarding ratio in the set of packets with high importance and all the packets in the set of packets with low importance; or, discarding the packets corresponding to the packet discarding ratio in each set of packets; or, discarding the packets corresponding to a first packet discarding ratio in the set of packets with high importance and the packets corresponding to a second packet discarding ratio in the set of packets with low importance, where the first packet discarding ratio and the second packet discarding ratio belong to the packet discarding ratio.

[0038] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: the network device sending identification information corresponding to the set of packets to the terminal device, where the identification information is at least one of a session identifier of a protocol data unit (PDU) session corresponding to the set of packets, a flow identifier of a quality of service (QoS) flow corresponding to the set of packets, and an identifier of a data radio bearer (DRB) corresponding to the set of packets.

[0039] In combination with the third aspect, in some implementation manners of the third aspect, the method further includes: the network device sending third indication information to the terminal device, where the third indication information indicates that the terminal device stops discarding packets.

[0040] In a fourth aspect, an embodiment of the present application provides a first communication device. The first communication device is configured to execute the first aspect and any one of its implementation manners described above. Specifically, the first communication device includes a processor and a memory, where the memory is used to store a computer program; the processor is used to call and run the computer program from the memory, so that the first communication device executes the first aspect and any one of its implementation manners described above.

[0041] Fifth aspect, embodiments of the present application provide a second communication device. The second communication device is used to execute the second aspect and any of its implementation manners, or is used to execute the third aspect and any of its implementation manners. Specifically, the second communication device includes a processor and a memory, and the memory is used to store a computer program; the processor is used to call and run the computer program from the memory, so that the second communication device executes the second aspect and any of its implementation manners, or so that the second communication device executes the third aspect and any of its implementation manners.

[0042] Sixth aspect, embodiments of the present application provide a communication device. The communication device is used to execute the method provided by the first aspect and any of its implementation manners. Specifically, the communication device may include units and / or modules (such as a processing unit, a transceiver unit) for executing the method provided by the first aspect and any of its implementation manners.

[0043] In one implementation manner, the communication device is a terminal device. When the communication device is a terminal device, the transceiver unit may be a transceiver, or an input / output interface. The processing unit may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0044] In another implementation manner, the communication device may be a chip, a chip system or a circuit in a terminal device. At this time, the transceiver unit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit, etc. on the chip, the chip system or the circuit; the processing unit may be at least one processor, a processing circuit or a logic circuit, etc.

[0045] Seventh aspect, embodiments of the present application provide a communication device. The communication device is used to execute the method provided by the second aspect and any of its implementation manners, or the communication device is used to execute the method provided by the third aspect and any of its implementation manners. Specifically, the communication device may include units and / or modules (such as a processing unit, a transceiver unit) for executing the method provided by the second aspect and any of its implementation manners, or the communication device may include units and / or modules (such as a processing unit, a transceiver unit) for executing the method provided by the third aspect and any of its implementation manners.

[0046] In one implementation manner, the communication device is a network device. When the communication device is a network device, the transceiver unit may be a transceiver, or an input / output interface. The processing unit may be at least one processor. Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0047] In another implementation, the communication device may be a chip, a chip system or a circuit in a network device. At this time, the transceiver unit may be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit, etc. on the chip, the chip system or the circuit; the processing unit may be at least one processor, a processing circuit or a logic circuit, etc.

[0048] In a eighth aspect, an embodiment of the present application provides a processor for executing the method provided in at least one of the first aspect, the second aspect and the third aspect above.

[0049] For operations such as sending, obtaining / receiving, etc. involved in the processor, if there is no special description, or if it does not conflict with its actual role or internal logic in the relevant description, it may be understood as operations such as outputting, receiving, and inputting by the processor, or it may also be understood as operations of sending and receiving performed by the radio frequency circuit and the antenna. The present application does not make any limitation on this.

[0050] In a ninth aspect, an embodiment of the present application provides a computer program product containing instructions. When the computer program product runs on a computer, it causes the computer to execute at least one of the first aspect, the second aspect and the third aspect above, and the method provided by any implementation in each aspect.

[0051] In a tenth aspect, an embodiment of the present application provides a communication system, including the first communication device in the fourth aspect and the second communication device in the fifth aspect.

[0052] In an eleventh aspect, an embodiment of the present application provides a communication system, including the first communication device in the fourth aspect and the second communication device in the sixth aspect.

[0053] In a twelfth aspect, a chip is provided. The chip includes a processor and a communication interface. The processor reads instructions through the communication interface and executes at least one of the first aspect, the second aspect and the third aspect above, and the method provided by any implementation in each aspect.

[0054] Optionally, as an implementation, the chip further includes a memory. The memory stores a computer program or instructions. The processor is used to execute the computer program or instructions stored on the memory. When the computer program or instructions are executed, the processor is used to execute at least one of the first aspect, the second aspect and the third aspect above, and the method provided by any implementation in each aspect.

[0055] In a thirteenth aspect, an embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when running on a communication device, causes the communication device to execute at least one of the first, second, and third aspects described above, as well as the methods of any implementation manner in each aspect.

[0056] For the technical effects of the second to thirteenth aspects above, reference may be made to the technical effects of the first aspect, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 FIG. is a schematic diagram of a communication architecture applicable to an embodiment of the present application.

[0058] Figure 2 FIG. is a schematic diagram of a base station CU-DU separation architecture applicable to an embodiment of the present application.

[0059] Figure 3 FIG. is a schematic diagram of a 5G XR communication architecture applicable to an embodiment of the present application.

[0060] Figure 4 FIG. is a schematic diagram of an XR downlink service model provided by 3GPP applicable to an embodiment of the present application.

[0061] Figure 5 FIG. is a schematic diagram of a video coding model applicable to an embodiment of the present application.

[0062] Figure 6 FIG. is a schematic diagram of network coding applicable to an embodiment of the present application.

[0063] Figure 7 FIG. is a schematic flowchart of a first method 700 for processing packets provided by an embodiment of the present application.

[0064] Figure 8 FIG. is a bitmap diagram applicable to an embodiment of the present application.

[0065] Figure 9 FIG. is a schematic flowchart of a second method 900 for processing packets provided by an embodiment of the present application.

[0066] Figure 10 FIG. is a schematic flowchart of a third method 1000 for processing packets provided by an embodiment of the present application.

[0067] Figure 11 FIG. is a schematic flowchart of a fourth method 1100 for processing packets provided by an embodiment of the present application.

[0068] Figure 12 FIG. is a schematic block diagram of a communication device 1200 provided by an embodiment of the present application.

[0069] Figure 13 Schematic block diagram of another communication device provided by an embodiment of this application. Detailed implementation manners

[0070] The technical solutions in the embodiments of this application will be described below with reference to the accompanying drawings.

[0071] The technical solutions of the embodiments of this application can be applied to various communication systems, such as: satellite communication systems, high altitude platform station (HAPS) communications, non-terrestrial network (NTN) systems such as unmanned aerial vehicles, integrated communication and navigation (ICAN) systems, global navigation satellite systems (GNSS), and ultra-dense low-earth orbit satellite communication systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), 5G systems, or communication systems evolved after 5G, such as 6G communication systems, vehicle-to-everything (V2X), where V2X can include vehicle to network (V2N), vehicle to vehicle (V2V), vehicle to infrastructure (V2I), vehicle to pedestrian (V2P), etc., long term evolution-vehicle (LTE-V), vehicle networking, machine type communication (MTC), Internet of things (IoT), long term evolution-machine (LTE-M), machine to machine (M2M), etc.

[0072] The terminal device in the embodiments of the present application may also be referred to as a user equipment (UE), an access terminal, a mobile device, a user terminal, a terminal, a wireless communication device, a user agent, or a user device.

[0073] As an example, some examples of terminals are: virtual reality (VR) devices, augmented reality (AR) devices, terminal devices in the fifth generation (5G) network, or terminal devices in a future evolved public land mobile network (PLMN), etc. The embodiments of the present application are not limited thereto.

[0074] As an example but not a limitation, in the embodiments of the present application, the terminal device may also be a wearable device. A wearable device may also be referred to as a wearable intelligent device, which is a general term for devices developed by applying wearable technologies to intelligently design daily wear. Examples include glasses, gloves, watches, clothing, and shoes, etc. A wearable device is a portable device that can be directly worn on the body or integrated into the user's clothes or accessories. A wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable intelligent devices include those with complete functions and large sizes that can realize complete or partial functions without relying on a smart phone, such as smart watches or smart glasses, etc., and those that only focus on a certain type of application function and need to cooperate with other devices such as smart phones, such as various smart bracelets and smart jewelry for physical sign monitoring.

[0075] In the embodiments of the present application, the device for implementing the functions of the terminal device may be the terminal device or a device capable of supporting the terminal device to implement such functions, such as a chip system or a chip, and this device may be installed in the terminal device. In the embodiments of the present application, the chip system may be composed of chips or may include chips and other discrete devices.

[0076] The network device in the embodiments of this application can be any communication device with wireless transceiver functions for communicating with terminal devices. It can be a radio access network (RAN) device deployed on a satellite or an access network device deployed on the ground. The access network device includes, but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home evolved NodeB (HeNB, or home Node B, HNB), baseband unit (BBU), access point (AP) in a wireless fidelity (WIFI) system, wireless relay node, wireless backhaul node, transmission point (TP), or transmission and reception point (TRP), etc. It can also be a 5G device, such as a gNB in an NR system, one or a group (including multiple antenna panels) of antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc.

[0077] It should be noted that in this application, the embodiments of this application are described by taking a 5G base station as an example, such as Figure 1As shown in the figure. In a 5G system, the base station is called gNB / ng-eNB, which mainly includes Radio Resource Control (RRC), Service Data Adaptation Protocol (SDAP), Packet Data Convergence Protocol (PDCP), Radio Link Control (RLC), Media Access Control (MAC), and Physical Layer (PHY). It can be uniformly represented by gNB, and gNBs are connected through the Xn interface. gNB and the 5G core network are connected through the NG interface. In some deployments, gNB can be composed of a Centralized Unit (CU) and a Distributed Unit (DU), that is, the functions of the base station in the original access network are split. Part of the functions of the base station are deployed in a CU, and the remaining functions are deployed in the DU. Multiple DUs share one CU, which can save costs and is easy for network expansion. The splitting of CU and DU can be done according to the protocol stack. One possible way is to deploy the RRC, SDAP, and PDCP layers in the CU, and the remaining RLC, MAC, and PHY in the DU. The CU and DU are connected through the F1 interface. The CU represents the gNB and connects to the core network through the NG interface. The CU represents the gNB and connects to other gNBs through the Xn interface. The CU can also represent the gNB and connect to other eNBs through the X2 interface to perform dual connection operations.

[0078] Furthermore, as Figure 2 shown in the figure, the CU can also be divided into a Control Plane (CU-CP) and a User Plane (CU-UP). Among them, CU-CP is responsible for the control plane functions, mainly including RRC and the PDCP corresponding to the control plane, namely PDCP-C. PDCP-C is mainly responsible for the encryption, decryption, integrity protection, and data transmission of control plane data. CU-UP is responsible for the user plane functions, mainly including SDAP and the PDCP corresponding to the user plane, namely PDCP-U. Among them, SDAP is mainly responsible for processing the data of the core network and mapping the flow to the bearer. PDCP-U is mainly responsible for the encryption, decryption, integrity protection, header compression, sequence number maintenance, and data transmission of the data plane. Among them, CU-CP and CU-UP are connected through the E1 interface. CU-CP and CU-UP are connected to the core network through the NG interface. The control plane, that is, F1-C, is connected to the DU through the F1 interface. CU-UP is connected to the DU through the user plane of the F1 interface, that is, F1-U. Of course, there is also a possible implementation where PDCP-C is also in CU-UP.

[0079] The solution of this application can be applied to, for example, Figure 3 the communication system shown. Exemplarily, in Figure 3 , for a service, taking the following behavior as an example, data is generated by the application server, forwarded through the data network (DN), sent to the core network via the N6 interface, the core network then passes the data to the base station through the N3 interface, and the base station sends it to the UE through the Uu air interface. In addition, for sidelink (SL) communication, it is carried out between user communication devices (for example, XR devices) and user communication devices (for example, XR devices).

[0080] It can be understood that Figure 3 this is only an example and not a limitation on the application scenarios of this application. Among them, core network devices refer to the devices in the core network (CN) that provide service support for terminals. Currently, some examples of core network devices are: access and mobility management function (AMF) entities, session management function (SMF) entities, user plane function (UPF) entities, etc., which are not listed one by one here. Among them, the AMF entity can be responsible for the access management and mobility management of the terminal; the SMF entity can be responsible for session management, such as the session establishment of users, etc.; the UPF entity can be a functional entity of the user plane, mainly responsible for connecting to the external network. It should be noted that in this application, an entity can also be called a network element or a functional entity. For example, the AMF entity can also be called the AMF network element or the AMF functional entity. Another example is that the SMF entity can also be called the SMF network element or the SMF functional entity, etc.

[0081] To facilitate the understanding of the embodiments of this application, first, a brief introduction to the concepts and technologies involved in the application embodiments is given.

[0082] 1. XR

[0083] XR can refer to the combined real and virtual environment generated by computing technologies and wearable devices, as well as the interaction between humans and machines, specifically including the following typical forms: VR, AR, and MR. XR is one of the key 5G multimedia applications considered in the industrial field. 3GPP Rel-17 has conducted a modeling analysis of the service characteristics of XR. Usually, XR services generate data frames periodically at a certain frame rate. Taking an AR service with a frame rate of 60fps as an example, 60 video frames are generated per second, and a video frame appears approximately every 16.66ms. A video frame may be transmitted by multiple data packets, and these multiple data packets may be divided into one or more PDU sets. The size of the data frame is not fixed and usually follows a truncated Gaussian distribution. The mean can be expressed as mean = R / F, where F is the frame rate and R is the rate of the data stream. Taking F = 60fps and R = 20Mbps as an example, mean = 41.67Kbytes. Usually, the size of the data frame is between 0.5*mean and 1.5*mean. Figure 4 It is a schematic diagram of the XR downlink service model given in 3GPP. It can be seen from this schematic diagram that the size of the XR service data packet follows a certain probability distribution and arrives at the base station side at a period of 1 / fps on average.

[0084] 2. Importance of PDU set

[0085] XR services can generate data periodically. For example, the uplink AR service periodically generates data frames, and the data frames can be transmitted by multiple data packets at the access layer. These data packets can form one or more PDU sets. One PDU set can correspond to one or more data packets. One PDU set contains the data corresponding to an application layer information unit, and an application layer information unit is the smallest granularity of application layer encoding and decoding, such as a video frame, a video coding strip, or a video coding block. When one PDU set corresponds to multiple data packets, these multiple data packets can be transmitted at the access layer in sequence with the data packet as the granularity.

[0086] In XR services, data of different levels of importance may appear in the same data stream. This is caused by the encoding method of the application. Taking the XR video service as an example, when the application encodes data, it can use the inter-frame prediction encoding method to compress the amount of data to be transmitted. Simply put, this type of encoding method takes advantage of the fact that most of the content in adjacent video frames does not change, and only transmits the data of the parts that have changed in the frame. For the parts that have not changed, the previous data is directly used. For example, in a live video stream, the background usually does not change. Therefore, only the complete data needs to be transmitted in the first video frame. In subsequent video frames, only the data of the foreground character changes needs to be transmitted, and the background data does not need to be transmitted again. The receiver player can directly use the background data of the first frame to generate the images of subsequent video frames.

[0087] Among them, a classic encoding method is the encoding based on group of picture (GOP). In this encoding method, a GOP contains several consecutive video frames. The first frame is called the intra-coded picture (I) frame, which uses intra-frame encoding and contains complete image information and can be independently encoded and decoded. The remaining frames are called predictive-coded picture (P) frames, which use predictive encoding and only contain partial image information and need to rely on the previous frames for encoding and decoding. In another similar encoding method, a video frame is divided into multiple video slices. Some slices use intra-frame encoding and some slices use predictive encoding, which are called I-slices and P-slices respectively. The encoding and decoding of the P-slices of the subsequent frames need to rely on the I-slices at the corresponding positions in the previous frames. Specifically, the dependency relationships of the above two types of video frame encoding and decoding are as Figure 5 shown.

[0088] It should be noted that when a frame or a slice is transmitted in a wireless network, it may correspond to one or more PDU sets. The encoding model of XR video reflects the unequal importance of data. Since the correct decoding of P frames / P-slices depends on the correct decoding of I frames / I-slices, in the process of data transmission, the I frame / I-slice data has higher importance. When the network is congested, the reliable transmission of I frames / I-slices should be ensured first to guarantee the service experience.

[0089] To distinguish the unequal importance of different data in the same data stream, 3GPP proposed the concept of PDU set importance (PSI). According to the provisions of 3GPP protocol 23.700, a QoS flow of an XR service can contain PDU sets of different importance levels, which are identified by PSI. For example, in an XR video stream, the PSI of the PDU set corresponding to the I-frame / I-slice may be stronger than that of the PDU set corresponding to the P-frame / P-slice because the encoding and decoding of the P-frame / P-slice rely on the I-frame / I-slice. Therefore, the I-frame / I-slice data has higher importance. For downlink data transmission, the PSI corresponding to each PDU set is provided by the CN to the RAN, and for uplink data transmission, the PSI corresponding to each PDU set is identified by the terminal device itself.

[0090] 3. Network coding:

[0091] To improve the reliability of XR service transmission, the application server may transmit XR service data in a network coding manner, as Figure 6 shown. Network coding can be simply understood as increasing the redundancy of data through coding techniques. In Figure 6 , K original data packets are encoded into N data packets through network coding techniques. As long as the receiver receives M data packets out of the N data packets, it can recover the content of the complete K original data packets. Among them, N is greater than K, and (N - K) / N or (N - M) / N is called the redundancy of network coding. According to different algorithm implementations, the M data packets can be any M of the N data packets or may be required to be consecutive M data packets. Usually, M is greater than or equal to K. In some implementations, the redundancy is fixed during the service process, and in other implementations, the redundancy changes dynamically during the service process.

[0092] Currently, for uplink data transmission, after network congestion, the terminal device can discard data packets with low importance to relieve the pressure on transmission resources, so that more resources can be used to transmit high-importance data, thus trying to ensure the user experience.

[0093] However, this kind of discarding is not lossless and will still cause a decline in the user experience. This is because even data with relatively low importance, such as P-frames or P slices, still carry useful content information. After these data are discarded, the receiving device may not be able to recover the corresponding content normally, resulting in problems such as video stuttering, black edges, and blurring.

[0094] In view of this, the present application provides a method for processing data packets and a communication device, which can reasonably discard redundant data packets in proportion when the network is congested during the transmission of uplink data packets, so as to relieve network congestion while ensuring that data is not lost, thereby guaranteeing the user experience.

[0095] Figure 7 It is a schematic flowchart of the first method 700 for processing packets provided by an embodiment of the present application. As Figure 7 shown, this schematic flowchart is illustrated by taking the interaction between a network device and a terminal device in a 5G base station as an example. Among them, the steps executed by the network device and / or the terminal device can be executed by modules or units in the network device and / or the terminal device. For example, they can be executed by chips in the network device and / or the terminal device. Specifically, the method includes the following multiple steps.

[0096] S701, the network device obtains the redundancy of the data packet set.

[0097] Optionally, the network device obtains the redundancy of the data packet set by receiving redundancy information from the core network device. For example, it obtains the redundancy by receiving the redundancy information carried in the PDU SESSION SETUP / MODIFICATION REQUEST message from the SMF.

[0098] In some embodiments, the redundancy information can be at the UE level or the PDU session level or the QoS flow level or the data radio bearer (DRB) level. Specifically, when the redundancy information is at the UE level, the redundancy information is applicable to all uplink data packet sets of a specific UE; when the redundancy information is at the PDU session level or the QoS flow level or the DRB level, the redundancy information is applicable to the uplink data packet sets transmitted in a specific PDU session or a specific QoS flow or a specific DRB. Alternatively, in some other embodiments, there may be different redundancy information for different PSI values or different PSI ranges (scales) or high and low importance, which is not limited in the present application.

[0099] Specifically, the redundancy information indicates the redundancy of a set of data packets. In one implementable manner, the redundancy information sent by the core network device may be one or more of the number K of original data packets, the number N of encoded data packets, and the number M of data packets required to restore the complete data. In this case, the network device may determine the redundancy of the set of data packets according to one or more of the received K, N, and M. In another implementable manner, the redundancy information sent by the core network device may directly be the redundancy of the set of data packets. In this case, the network device may directly determine the redundancy of the set of data packets according to the received redundancy information. In yet another implementable manner, the redundancy information sent by the core network device may be a range of the redundancy of the set of data packets. For example, the redundancy information is that the redundancy is 10-30%. In this case, the network device may arbitrarily determine a redundancy within the redundancy range. In yet another implementable manner, the redundancy information sent by the core network device may indicate that network coding is used for the set of data packets. For example, the redundancy information sent by the core network device indicates that the FEC technology is applied to the set of data packets. In this case, the network device may determine an empirical redundancy according to past experience.

[0100] It should be noted that a set of data packets contains the data packets generated after one network coding. Exemplarily, a set of data packets corresponds to a PDU set. In this case, a set of data packets contains all the data packets of a PDU set. Or, a set of data packets corresponds to multiple PDU sets. In this case, a set of data packets contains some or all of the data packets of multiple PDU sets. Or, a set of data packets corresponds to some of the data packets in a PDU set. In this case, a set of data packets contains some of the data packets of a PDU set. That is, the present application does not limit the relationship between the set of data packets and the PDU set.

[0101] Exemplarily, the set of data packets may also be referred to as an FEC data set or a network coding data set or an FEC data group or a network coding data group. The present application does not limit this.

[0102] It should be noted that in the solution of this application, different data packet sets can have different importance levels. Exemplarily, when there is a corresponding relationship between a data packet set and a PDU set, the importance of a data packet set can depend on the importance of one or more PDU sets corresponding to this data packet set. Specifically, when a data packet set corresponds to one PDU set, the importance of this data packet set depends on the importance of this PDU set. When a data packet set corresponds to multiple PDU sets, the importance of this data packet set depends on the importance of the multiple PDU sets. When a data packet set corresponds to a part of the data packets in one PDU set, the importance of this data packet set depends on the importance of this PDU set. Exemplarily, the importance of a data packet set can also depend on the redundancy degree of this data packet set. Specifically, when the redundancy degree of a data packet set is relatively high, the importance of this data packet set is relatively low. When the redundancy degree of a data packet set is relatively low, the importance of this data packet set is relatively high.

[0103] It should also be noted that this application does not limit the determination of the importance of a data packet set. Exemplarily, when the importance of a data packet set depends on the importance of one or more PDU sets corresponding to this data packet set, the value of PSI representing the importance of the PDU set can continue to be used to characterize the importance of the data packet set. Specifically, if a data packet set corresponds to a PDU set with a PSI value of 5, the importance of this data packet set is that PSI is equal to 5. If a data packet set corresponds to multiple PDU sets, the minimum value, median value, average value, etc. of the multiple PSI values corresponding to the multiple PUD sets can be used as the importance of this data packet set.

[0104] In addition, the level of importance of a data packet set can be determined independently by the terminal device, or the level of importance of a data packet set can be determined independently by the network device or preset in the network device by the protocol and sent to the terminal device. This application does not limit the entity that determines the importance of the data packet set.

[0105] S702, the network device determines the packet loss ratio according to the redundancy degree.

[0106] Specifically, the packet loss ratio is the proportion of the data packets discarded by the terminal device in the data packet set. Optionally, the packet loss ratio can be equal to or less than the redundancy degree provided by the core network device.

[0107] It should be noted that in the solution of this application, the number of packet loss ratios determined by the network device according to the redundancy degree is not limited, and the number of packet loss ratios can be one or more.

[0108] In some embodiments, when the packet loss ratio is one, in one implementable manner, this one packet loss ratio can correspond to all packet sets, that is, the same packet loss ratio is used regardless of whether it is for a packet set of high importance or a packet set of low importance. At this time, for any one packet set, this one packet loss ratio is the proportion of the discarded packets in all the packets of this arbitrary packet set. Exemplarily, for the DRB level (i.e., the packet loss behavior at the DRB level), such as DRB#1, which includes packet set #1, packet set #2, and packet set #3, if the packet loss ratio is 30%, then 30% of the packets in packet set #1 will be discarded, 30% of the packets in packet set #2 will be discarded, and at the same time, 30% of the packets in packet set #3 will be discarded. In another implementable manner, this one packet loss ratio corresponds to a packet set of a specific importance. At this time, for this packet set of a specific importance, this one packet loss ratio is the proportion of the discarded packets in all the packets of this arbitrary packet set of a specific importance. Specifically, if this one packet loss ratio corresponds to a packet set of low importance, then the packet loss ratio of each low-importance packet set is this packet loss ratio. Exemplarily, for the DRB level, such as DRB#1, which includes packet set #1, packet set #2, and packet set #3, and packet set #1 and packet set #3 are low-importance packet sets, if the packet loss ratio is 30%, then 30% of the packets in packet set #1 will be discarded, and 30% of the packets in packet set #3 will be discarded.

[0109] In some embodiments, when there are multiple packet loss ratios, the multiple packet loss ratios correspond to sets of data packets with different importance levels. At this time, one of the multiple packet loss ratios can correspond to a set of data packets with at least one importance level. Exemplarily, for the DRB level, for example, DRB #1, which includes data packet set #1, data packet set #2, and data packet set #3, data packet set #1 and data packet set #3 are low-importance data packet sets, and data packet set #2 is a high-importance data packet set. If the packet loss ratios are 30% for low importance and 20% for high importance, then 30% of the data packets in data packet set #1 and data packet set #3 will be discarded, and 20% of the data packets in data packet set #2 will be discarded. Exemplarily, for the DRB level, for example, DRB #1, which includes data packet set #1, data packet set #2, data packet set #3, and data packet set #4, the importance value of data packet set #1 is 5, the importance value of data packet set #2 is 8, the importance value of data packet set #3 is 2, and the importance value of data packet set #4 is 15. If the packet loss ratios are 30% for low importance and 20% for high importance, and if data packet set #1, data packet set #2, and data packet set #3 are high-importance data packets, and data packet set #2 is a low-importance data packet (the determination of importance is not limited in this application), then 20% of the data packets in data packet set #1, data packet set #2, and data packet set #3 will be discarded, and 30% of the data packets in data packet set #4 will be discarded.

[0110] S703, the network device sends packet loss ratio information to the terminal device, and the packet loss ratio information indicates the packet loss ratio.

[0111] Optionally, the network device can send the packet loss ratio information to the terminal device in the form of RRC signaling, PDCP control PDU, or medium access control control element (MAC CE), etc.

[0112] Optionally, the specific packet loss ratio is carried in the packet loss ratio information. For example, when 20% is carried in the packet loss ratio information, the packet loss ratio information indicates that the packet loss ratio is 20%. Optionally, the packet loss ratio information is the index value corresponding to the packet loss ratio. For example, when the mapping relationship between the packet loss ratio and the index value is as shown in Table 1, when 1 is carried in the packet loss ratio information, the packet loss ratio information indicates that the packet loss ratio is 20%.

[0113] Table 1

[0114] Index 0 1 2 3 Packet loss ratio 10% 20% 30% 40%

[0115] It should be understood that Table 1 is only an example provided by the embodiments of the present application and does not limit the protection scope of the present application. That is, there may be other corresponding relationships between the packet loss ratio and the index value, which are not limited by the present application.

[0116] In the embodiments of the present application, the packet loss ratio information may be at the UE level, that is, the packet loss ratio applies to all uplink data sent by the UE; the packet loss ratio information may also be at the PDU session level or the DRB level or the QoS flow level, that is, the packet loss ratio only applies to the data of a specified PDU session or DRB or QoS flow.

[0117] Optionally, when indicating the packet loss ratio at the PDU session or DRB or QoS flow level, the packet loss ratio information may also carry corresponding identification information, such as at least one of the PDU session ID, DRB ID, and QoS flow ID, to identify the PDU session, DRB, or QoS flow to which the packet loss ratio information applies. Alternatively, the network device uses a bitmap to indicate the corresponding relationship between the packet loss ratio information and the PDU session or DRB or QoS flow, so that the terminal device can know from the bitmap which PDU sessions or DRB or QoS flows the network device has configured with the packet loss ratio information. When indicating the corresponding relationship between the packet loss ratio information and the PDU session or DRB or QoS flow according to the bitmap, the packet loss ratio information received by the terminal device may be sent by the network device in sequence, so that after receiving the bitmap, the terminal device can determine the PDU session or DRB or QoS flow corresponding to the packet loss ratio information according to the sequence of the bitmap and the received packet loss ratio information. Exemplarily, as Figure 8 shown, for 8 DRBs from DRB#0 to DRB#7, the network device uses the bitmap 00010001 to indicate that the packet loss ratio information is configured for DRB#0 and DRB#4, and the subsequent packet loss ratio information #1 and packet loss ratio information #2 are the packet loss ratio information corresponding to DRB#0 and DRB#4 respectively.

[0118] It can be understood that the packet loss ratio information provided for a UE, a PDU session, a DRB, or a QoS flow can indicate one or more packet loss ratios. For example, the packet loss ratio information carries one or more packet loss ratios, or carries one or more index values. When only one packet loss ratio is indicated, it means that the packet loss ratio is the same for each packet set; if multiple packet loss ratios are indicated, the multiple packet loss ratios can respectively correspond to packet sets of different importance. Exemplarily, when the importance of a packet set continues to be characterized by the value of PSI indicating the importance of the PDU set, the multiple packet loss ratios can correspond to different PSI values or different PSI ranges (or intervals).

[0119] It can be understood that when the network device sends the packet loss ratio information to the terminal device, the terminal device can determine that the network device expects the terminal device to drop packets according to the packet loss ratio. That is to say, this packet loss ratio is simultaneously used to configure the terminal device to drop packets according to the packet loss ratio.

[0120] S704, the terminal device determines the packet loss policy.

[0121] Specifically, when the terminal device receives the packet loss ratio information, the terminal device determines the packet loss policy.

[0122] In an implementable manner, the terminal device determines the packet loss policy to discard the packets corresponding to the packet loss ratio in all packet sets. At this time, the packet loss policy determined by the terminal device is for all packet sets, that is, under this policy, the terminal device does not consider the importance of the packet sets. Exemplarily, when the packet loss ratio information received by the terminal device is at the DRB level, the terminal device determines to discard the packets corresponding to the packet loss ratio in each packet set of this DRB.

[0123] In another implementable manner, the terminal device determines the packet loss policy to discard the packets corresponding to the packet loss ratio in the low-importance packet sets. At this time, the packet loss policy determined by the terminal device is for the low-importance packet sets. That is, under this policy, the terminal device only selects packets to discard in the low-importance packet sets. Exemplarily, when the packet loss ratio information received by the terminal device is at the DRB level, the terminal device determines to discard the packets corresponding to the packet loss ratio in each low-importance packet set of this DRB.

[0124] In another implementable manner, the terminal device determines that the packet loss policy is to discard the packets corresponding to the packet loss ratio in the set of high-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of high-importance data packets. That is, under this policy, the terminal device only selects data packets to discard in the set of high-importance data packets. Exemplarily, when the received packet loss ratio information is at the DRB level, at this time, the terminal device determines to discard the packets corresponding to the packet loss ratio in each set of high-importance data packets in this DRB.

[0125] In yet another implementable manner, the terminal device determines that the packet loss policy is to discard the packets corresponding to the packet loss ratio in the set of high-importance data packets and all the packets in the set of low-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of high-importance data packets and the set of low-importance data packets. That is, under this policy, the terminal device not only selects data packets to discard in the set of high-importance data packets, but also discards all the packets in the set of low-importance data packets at the same time. Exemplarily, when the received packet loss ratio information is at the DRB level, the terminal device determines to discard the packets corresponding to the packet loss ratio in each set of high-importance data packets in this DRB, and at the same time determines to discard the packets in all the sets of low-importance data packets in this DRB.

[0126] In yet another implementable manner, the terminal device determines that the packet loss policy is to discard the packets corresponding to the first packet loss ratio in the set of high-importance data packets and the packets corresponding to the second packet loss ratio in the set of low-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of high-importance data packets and the set of low-importance data packets. That is, under this policy, the terminal device not only selects data packets to discard in the set of high-importance data packets, but also selects data packets to discard in the set of low-importance data packets. Exemplarily, when the received packet loss ratio information is at the DRB level, the terminal device determines to discard the packets corresponding to the first packet loss ratio in each set of high-importance data packets in this DRB, and at the same time determines to discard the packets corresponding to the second packet loss ratio in each set of low-importance data packets in this DRB.

[0127] It should be noted that in the two scenarios where the packet loss policy determined by the above terminal device is for the high-importance data packet set and the low-importance data packet set, the packet loss ratio information indicated by the network device can be one or more, and the present application does not make any limitations. Exemplarily, if the packet loss policy determined by the terminal device is to discard the data packets corresponding to the first packet loss ratio information in the high-importance data packet set and discard the data packets corresponding to the second packet loss ratio information in the low-importance data packet set, the packet loss ratio information indicated by the network device can be one or more. Specifically, when the packet loss ratio information is one, that is, when the first packet loss ratio is the same as the second packet loss ratio, it is equivalent to the scenario where all data packet sets correspond to the same packet loss ratio. If the packet loss policy determined by the terminal device is to discard the data packets corresponding to the packet loss ratio in the high-importance data packet set and all the data packets in the low-importance data packet set, the packet loss ratio information indicated by the network device can be one or more. Specifically, when the packet loss ratio information is multiple, it can be considered that the first packet loss ratio corresponding to the high-importance data packet set is one of the multiple packet loss ratio information, and at the same time, the second packet loss ratio corresponding to the low-importance data packet set is 100%.

[0128] In another implementable manner, the terminal device determines that the packet loss policy is to discard all the data packets in the low-importance data packet set. At this time, the packet loss policy determined by the terminal device is for the low-importance data packet set. That is, under this policy, the terminal device discards all the data packets in the low-importance data packet set. It can be understood that this scenario can be considered as the scenario where the packet loss ratio corresponding to the low-importance data packet set is 100%. In other words, in this scenario, even if the packet loss ratio indicated by the packet loss ratio information received by the terminal device is not 100%, since the terminal device determines to discard all the data packets in each low-importance data packet set, the terminal device will not perform packet loss according to the packet loss ratio indicated by the network device.

[0129] Optionally, the terminal device autonomously determines the packet loss policy, or the network device sends the packet loss policy to the terminal device. For example, the packet loss policy information is sent while sending the packet loss ratio information, or the network device indicates the packet loss policy to the terminal device in the first indication information in the following description, so that the terminal device can determine the packet loss policy according to the first indication information. The present application does not make any limitations.

[0130] S705, the terminal device discards the data packets in the data packet set according to the packet loss ratio and the packet loss policy.

[0131] Specifically, after the terminal device obtains the packet loss ratio and determines the packet loss policy, it discards the data packets in the data packet set according to the packet loss ratio and the packet loss policy.

[0132] As can be seen from the above S703, the packet loss ratio indicated by the network device for the terminal device can be one or more. As can be seen from the above S704, the packet loss ratio required for the packet loss policy determined by the terminal device can also be one or more. It can be understood that under different packet loss policies, even if the packet loss ratio indicated by the network device for the terminal device is the same, the data packets discarded by the terminal device will be different. Exemplarily, the packet loss ratio indicated by the network device for the terminal device is: 10% for the high-importance data packet set and 30% for the low-importance data packet set (for example, in the following, the first indication information indicates different ratios corresponding to different data packet sets). At this time, if the packet loss policy is to discard the data packets corresponding to the packet loss ratio in the low-importance data packet set, the terminal device discards 30% of the data packets in each low-importance data packet set, and does not discard the data packets in the high-importance set. If the packet loss policy is to discard all the data packets in the low-importance data packet set and the data packets corresponding to the packet loss ratio in the high-importance data packet set, the terminal device will discard all the low-importance data packet sets and at the same time discard 10% of the data packets in each high-importance data packet set.

[0133] It should be noted that the terminal device can perform packet loss on the data packet set currently cached according to a ratio, and does not perform packet loss on the subsequent newly arrived data packet set; or, the terminal device can also not perform packet loss on the data packet set currently cached, but perform packet loss on the subsequent newly arrived data packet set according to a ratio; it can also perform packet loss on both the data packet set currently cached and the subsequent newly arrived data packet set according to a ratio. This application does not make any limitations.

[0134] In an implementable manner, the terminal device can directly clear the data packets from the cache. For example, when the terminal device determines to discard data packet #1 (the data packet determined to be discarded by the packet loss policy), the terminal device selects at least one of the following implementations: discard the SDAP service data unit (SDU) and SDAP PDU corresponding to the data packet #1 at the SDAP layer; discard the PDCP SDU and PDCP PDU corresponding to the data packet #1 at the PDCP layer; instruct the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to the data packet #1. It can be understood that the data packet #1 can be a data packet that arrived at the cache before the start of packet loss, or a data packet that newly arrived at the cache after the start of packet loss.

[0135] In another implementable manner, the terminal device can use a packet loss timer to clear data packets from the buffer. Exemplarily, when the terminal device determines to discard data packet #1, the terminal device can adjust the PDCP discard timer corresponding to this data packet #1 to a shorter value (for example, adjusting it to 0 means immediate discard). After the packet loss timer expires, the terminal device discards the PDCP SDU and PDCP PDU corresponding to this data packet #1 at the PDCP layer; if the PDCP PDU corresponding to this data packet #1 has been delivered to the lower layer (such as the RLC layer), it instructs the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to this data packet #1. Exemplarily, when the terminal device determines to discard data packet #1, the terminal device can also start a new discard timer for this data packet #1. This discard timer can also be at the PDCP layer. After the newly configured timer expires, the terminal device discards the PDCP SDU and PDCP PDU corresponding to this data packet #1 at the PDCP layer; if the PDCP PDU corresponding to this data packet #1 has been delivered to the lower layer (such as the RLC layer), it instructs the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to this data packet #1. Optionally, the duration of the new discard timer can be provided by the network device to the terminal device. It can be understood that data packet #1 can be a data packet that arrived at the buffer before the start of packet loss, or a data packet that newly arrived at the buffer after the start of packet loss.

[0136] It should also be noted that this application does not limit the data packets discarded by the terminal device according to the packet loss ratio. Exemplarily, when the packet loss ratio is 30%, the 30% of the data packets discarded by the terminal device can be the last 30% of the data packets in the data packet set; or, when the terminal device determines that 70% of the data packets in the data packet set have been successfully sent, it discards the remaining 30% of the data packets.

[0137] It can be understood that for a data packet set, the number of data packets discarded by the terminal device is the product of the total number of data packets in this data packet set and the packet loss ratio. Optionally, when the product of the total number of data packets in the data packet set and the packet loss ratio is a non-integer value, the terminal device can determine the number of data packets to be discarded in the data packet set in a floor-taking manner. For example, if there are 50 data packets in the data packet set and the packet loss ratio is 25%, then 12 data packets are discarded.

[0138] It should be noted that in the processes of S701 to S705 above, after the terminal device obtains the packet loss ratio and determines the packet loss policy, the terminal device will start discarding data packets. In other words, when the terminal device discards data packets in the data packet set according to the packet loss ratio and the packet loss policy, it can be considered that the packet loss ratio information received by the terminal device not only indicates the packet loss ratio, but also configures the terminal device to discard data packets according to the packet loss ratio and indicates that the terminal device starts to discard packets at the same time.

[0139] It can be understood that in some scenarios, the packet loss ratio information received by the terminal device can be sent by the network device to the terminal device when network congestion occurs. At this time, the terminal device can perform proportional packet loss according to the packet loss ratio information. In other scenarios, the packet loss ratio information is pre-configured by the network device for the terminal device. At this time, the terminal device will not immediately perform packet loss after receiving the packet loss ratio information. Only when network congestion occurs, the terminal device will perform proportional packet loss. Therefore, in order to ensure the stability of system performance, the terminal device can be instructed to start packet loss through the first indication information. At this time, the method 700 for processing data packets provided by this application can further include the following multiple steps.

[0140] S706, the network device sends the first indication information to the terminal device, instructing the terminal device to start packet loss.

[0141] Optionally, the network device can send the first indication information to the terminal device in the form of RRC signaling or PDCP control PDU or MAC CE, etc.

[0142] In an implementable manner, when the first indication information only instructs the terminal device to start packet loss, the terminal device executes S705 after receiving the first indication information.

[0143] In another implementable manner, the first indication information may also indicate the packet loss policy of the terminal device. At this time, the first indication information includes an indication field for indicating the packet loss policy. After receiving the first indication information, the terminal device executes S704 and S705 according to the packet loss policy indicated in the packet loss policy indication field. Specifically, the packet loss policy indication field may include one or more bits. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 1 bit, where 0 indicates discarding all packets in the set of low-importance data packets, and 1 indicates discarding all packets in the set of low-importance data packets and the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 2 bits, where 00 indicates discarding the packets corresponding to the packet loss ratio in the set of low-importance data packets; 01 indicates discarding the packets corresponding to the packet loss ratio in the set of all data packets; 10 indicates discarding all packets in the set of low-importance data packets; 11 indicates discarding all packets in the set of low-importance data packets and the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 3 bits. Any two adjacent bits among the 3 bits indicate the packet loss policy of the set of low-importance data packets, and the other bit indicates the packet loss policy of the set of high-importance data packets. Among them, two adjacent bits 00 indicate not discarding the set of low-importance data packets; 01 indicates discarding the packets corresponding to the packet loss ratio in the set of low-importance data packets, and 10 indicates discarding all packets in the set of low-importance data packets. The remaining one bit 0 indicates not discarding the set of high-importance data packets, and 1 indicates discarding the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 8 bits, where the consecutive 4 high-order bits are used to indicate the packet loss ratio of the set of high-importance data packets, and the remaining 4 consecutive bits are used to indicate the packet loss ratio of the set of low-importance data packets. At this time, the indication field for indicating the packet loss policy indicates packet loss for both the set of high-importance data packets and the set of low-importance data packets by carrying two packet loss ratios. Among them, the values of the consecutive 4 high-order bits in the packet loss indication field can indicate a packet loss ratio of 0% - 100%. For example, 0000 indicates discarding 0% of the packets in the set of high-importance data packets, and 0011 indicates discarding 30% of the packets in the set of high-importance data packets, etc. Similarly, the values of the remaining 4 bits in the packet loss indication field can indicate a packet loss ratio of 0% - 100%. For example, 1010 indicates discarding 100% of the packets in the set of low-importance data packets, etc. Exemplarily, when the importance of the data packet set is represented by the PSI value 0 - 15, the indication field for indicating the packet loss policy in the first indication information may also be 16 bits, where each of the 16 bits respectively indicates whether the data packet set corresponding to the importance value 0 - 15 is packet lost according to the packet loss ratio.For example, 0000000010101111 indicates the packet loss of the packet sets with PSI values of 0 - 3, PSI value of 5, and PSI value of 7. Exemplarily, when the importance of the packet set is represented by PSI values from 0 to 15 and there are 8 PSI values in one PSI gear, the indication field for indicating the packet loss policy in the first indication information can also be 2 bits. Among them, one bit is used to indicate whether the packet set with PSI values of 0 - 7 is packet - lost according to the packet loss ratio, and the other bit is used to indicate whether the packet set with PSI values of 8 - 15 is packet - lost according to the packet loss ratio. For example, 01 indicates that the packet set with PSI values of 0 - 7 is packet - lost according to the packet loss ratio, while the packet set with PSI values of 8 - 15 is not packet - lost.

[0144] It should be noted that the first indication information indicating the packet loss policy of the terminal device can be one or more, that is, the network device can send the first indication information only once or send different first indication information at different times. Specifically, when the network device sends the first indication information only once, the terminal device discards packets according to the packet loss policy indicated by the first indication information. When the network device sends the first indication information multiple times, different first indication information at different times can indicate different packet loss policies. For example, when the network congestion level is relatively light, it is indicated that the terminal device only discards some packets of the packet set with low importance. When the network congestion level is severe, it is indicated that the terminal device discards all packets of the packet set with low importance and some packets of the packet set with high importance. It can be understood that when different packet loss policies of the terminal device are indicated by multiple first indication information, the flexibility of the terminal device's packet loss can be improved, enabling the system to be applicable to different application scenarios.

[0145] Optionally, the first indication information can also carry the identification information corresponding to the packet set, such as at least one of PDUsession ID, DRB ID, and QoS flow ID, to identify the PDUsession, DRB, or QoS flow that the first indication information targets.

[0146] It can be understood that the first indication information and the packet loss ratio information can be carried in the same message sent by the network device to the terminal device. Or, the network device can also carry the packet loss ratio information and the first indication information in different messages respectively. For example, the network device first configures the packet loss ratio information for the terminal device through the RRC message, and the terminal device does not perform packet loss after receiving the packet loss ratio information. When congestion is detected, the network device then sends a PDCP control PDU or MAC CE to indicate that the terminal device performs packet loss according to the ratio. In other words, the order of S703 and S706 in this application is not limited.

[0147] It should be noted that the first indication information can also be referred to as proportion-based packet loss activation information, packet loss activation information, etc., and the present application does not make any limitations in this regard.

[0148] Optionally, before the network device sends one or more first indication information to the terminal device, the terminal device may also send second indication information to the network device, where the second indication information is used to notify the network device to provide first auxiliary information. After receiving the second indication information, the network device monitors network congestion. When congestion occurs, the network device sends the first indication information or the first indication information and the first auxiliary information to the terminal device. When the network device also sends the first auxiliary information, the terminal device can determine whether to discard data packets according to the packet loss ratio through the first auxiliary information. The process includes the following steps:

[0149] S707. The terminal device sends second indication information to the network device, and the second indication information instructs the network device to provide first auxiliary information, where the first auxiliary information is used for the terminal device to determine whether to discard data packets according to the packet loss ratio.

[0150] Specifically, the terminal device sends second indication information to the network device, and correspondingly, the network device receives the second indication information.

[0151] S708. The network device sends first auxiliary information to the terminal device, and the first auxiliary information is used for the terminal device to determine whether to discard data packets according to the packet loss ratio.

[0152] Optionally, the first auxiliary information includes one or more of congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Among them, the congestion degree information indicates the congestion degree of the link between the network device and the terminal device, the radio interface quality information indicates the radio interface quality between the network device and the terminal device, the packet loss activation suggestion information indicates whether the network device suggests that the terminal device discard data packets according to the packet loss ratio, and the packet loss policy suggestion information indicates that the terminal device discards data packets according to the packet loss policy suggested by the network device. Specifically, the terminal device can determine whether to discard data packets according to the packet loss ratio based on one or more of the congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Among them, when the first auxiliary information indicates at least one of the following, the terminal device determines to discard data packets according to the packet loss ratio: the link between the network device and the terminal device has a relatively large congestion degree, the radio interface quality between the network device and the terminal device is relatively poor, the network device suggests that the terminal device discard data packets according to the packet loss ratio, and the packet loss policy suggested by the network device.

[0153] It should be noted that when the network device sends the first auxiliary information and the first indication information to the terminal device, the order of S707 and S708 is not limited in this application. Exemplarily, when the first auxiliary information carries a packet loss policy (other information in the first auxiliary information may or may not be carried), it may be that the network device first indicates the start of packet loss and then sends the recommended packet loss policy to the terminal device through the first auxiliary information; or, it may also be that after sending the recommended packet loss policy to the terminal device through the first auxiliary information, the first indication information indicating the start of packet loss is sent; or, the recommended packet loss policy and the first indication information are sent to the terminal device at the same time. At this time, the first auxiliary information and the first indication information may be carried in the same message or in two separate messages.

[0154] It can be understood that in the above S706 - S708, the network device sends the first auxiliary information and the first indication information to the terminal device. In some embodiments, the network device may send only the first auxiliary information or only the first indication information to the terminal device, which is not limited in this application. Specifically, when the network device sends only the first auxiliary information to the terminal device, method 700 includes S707 and S708; when the network device sends only the first indication information to the terminal device, method 700 includes S706.

[0155] It can also be understood that the above S706 - S708 are scenarios where the terminal device determines to perform packet loss according to the packet loss ratio. When at least one of the following is indicated in the first auxiliary information sent by the network device to the terminal device, the terminal device does not perform packet loss: the link congestion degree between the network device and the terminal device is small, the air interface quality between the network device and the terminal device is good, and the network device does not recommend that the terminal device discard data packets according to the packet loss ratio.

[0156] When the packet loss indication is also effective for the subsequent arriving data packet set, optionally, the network device may also indicate to the terminal device to stop packet loss. For example, when it is detected that the congestion has disappeared, it indicates to stop packet loss. At this time, method 700 may further include S709.

[0157] S709, the network device sends the third indication information to the terminal device, and the third indication information indicates that the terminal device stops packet loss.

[0158] It should be noted that the third indication information may also be referred to as proportional packet loss deactivation information, etc., which is not limited in this application.

[0159] In some embodiments, when the network device is a base station and adopts a CU / DU separation architecture or a CU-CP / CU-UP separation architecture, Figure 9 This is a schematic flowchart of the second method 900 for processing packets provided by the embodiments of this application. As Figure 9As shown, this schematic flowchart is illustrated by taking the interaction between the CU-CP and the DU in a network device as an example. Among them, the steps executed by the CU-CP and / or the DU can be executed by modules or units in the CU-CP and / or the DU. For example, they can be executed by chips in the CU-CP and / or the DU. Specifically, the method includes the following multiple steps.

[0160] S901, the CU-CP obtains the redundancy of the packet set.

[0161] Specifically, it can be that the CU-CP or the CU-UP obtains the redundancy of the packet set by receiving redundancy information from the core network device. For example, the redundancy is obtained by receiving the redundancy information carried in the PDU SESSION SETUP / MODIFICATION REQUEST message from the SMF. Among them, the relevant description of the redundancy information can refer to the relevant description in S701 above. At the same time, the relevant description of the packet set can also refer to S701 above, which will not be elaborated here.

[0162] It should be noted that Figure 9 This is only an embodiment of a network device provided in this application under the split architecture, and does not limit the protection scope of this application. In some other embodiments, it can also be that the CU-UP obtains the redundancy information of the packet set from the core network and obtains the redundancy according to the redundancy information. Or, it can also be that the DU obtains the redundancy information of the packet set from the CU-CP or the CU-UP and obtains the redundancy according to the redundancy information.

[0163] S902, the CU-CP determines the packet loss ratio according to the redundancy.

[0164] Specifically, it can refer to the relevant description in S702 above, which will not be elaborated here.

[0165] It should be noted that for some other embodiments, when the CU-UP or the DU obtains the redundancy information, it can be that the CU-UP or the DU determines the packet loss ratio according to the redundancy.

[0166] S903, the CU-CP sends the packet loss ratio information to the terminal device, and the packet loss ratio information indicates the packet loss ratio.

[0167] Optionally, the CU-CP sends the packet loss ratio information to the terminal device through RRC signaling. The relevant description of the packet loss ratio information can refer to S703 above, which will not be elaborated here. It can be understood that the packet loss ratio information can be used to configure the terminal device to perform packet loss according to the packet loss ratio at the same time.

[0168] It should be noted that in some other embodiments, it may also be that CU-UP or DU sends the packet loss ratio information to the terminal device. Exemplarily, when CU-UP sends the packet loss ratio information to the terminal device, the packet loss ratio information may be carried in the PDU controlled by PDCP. When DU sends the packet loss ratio information to the terminal device, the packet loss ratio information may be carried in the MAC CE.

[0169] S904, the terminal device determines the packet loss strategy.

[0170] Specifically, reference may be made to the relevant description in S704 above, which will not be elaborated here.

[0171] S905, the terminal device discards the data packets in the data packet set according to the packet loss ratio and the packet loss strategy.

[0172] Specifically, reference may be made to the relevant description in S705 above, which will not be elaborated here.

[0173] Optionally, method 900 may further include the following multiple steps:

[0174] S906, CU-CP sends the first indication information to the terminal device to indicate that the terminal device starts packet loss.

[0175] Optionally, CU-CP sends the first indication information to the terminal device through RRC signaling. The first indication information may only indicate that the terminal device starts packet loss, or may also indicate the packet loss strategy of the terminal device at the same time. In addition, the first indication information may be one or more, and may also carry the identification information corresponding to the data packet set, etc. Specifically, the description of this step may refer to S706 above, which will not be elaborated here.

[0176] Optionally, before CU-CP sends one or more first indication information to the terminal device, CU-CP may also send the fourth indication information to DU. The fourth indication information is used to notify DU that the terminal device has been configured to discard packets proportionally and / or to notify DU to provide the second auxiliary information. After receiving the fourth indication information, DU monitors network congestion. When congestion occurs, DU sends the second auxiliary information to CU-CP, so that CU-CP learns that network congestion has occurred, and then sends the first indication information to the terminal device. The process is as follows:

[0177] S907, CU-CP sends the fourth indication information to DU. The fourth indication information instructs DU to report the second auxiliary information and / or indicates that CU-CP has configured the terminal device to discard data packets according to the ratio, where the second auxiliary information is used for CU-CP to determine whether to send the first indication information.

[0178] Specifically, the CU-CP sends the fourth indication information to the DU. Correspondingly, the DU receives the fourth indication information.

[0179] S908, the DU sends the second auxiliary information to the CU-CP.

[0180] Specifically, after the DU receives the fourth indication information, the DU sends the second auxiliary information to the CU-CP. Optionally, the second auxiliary information includes one or more of congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Among them, the congestion degree information indicates the congestion degree of the link between the CU-CP and the terminal device. The radio interface quality information indicates the radio interface quality between the CU-CP and the terminal device. The packet loss activation suggestion information indicates whether the DU suggests that the terminal device discards data packets according to the packet loss ratio. The packet loss policy suggestion information indicates that the terminal device discards data packets according to the packet loss policy suggested by the DU.

[0181] S909, the CU-CP determines to send the first indication information.

[0182] Specifically, the CU-CP determines to send the first indication information according to one or more of the congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Specifically, when the second auxiliary information indicates at least one of the following, the CU-CP determines to send the first indication information: the congestion degree of the link between the CU-CP and the terminal device is relatively large, the radio interface quality between the CU-CP and the terminal device is relatively poor, the DU suggests that the terminal device discards data packets according to the packet loss ratio, and the packet loss policy suggested by the DU.

[0183] It can be understood that when the second auxiliary information includes the packet loss policy suggestion information (the second auxiliary information may include other information or not include other information), the CU-CP may carry the suggested packet loss policy in the first indication information, so that after the terminal device receives the first indication information, it can perform packet loss according to the suggested packet loss policy.

[0184] It can also be understood that the above S906 - S909 are scenarios where the CU-CP determines to send the first indication information, or rather, the above S906 - S909 are scenarios where the terminal device performs packet loss according to a ratio. When the second auxiliary information reported by the DU to the CU-CP indicates at least one of the following, the CU-CP does not send the first indication information: the congestion degree of the link between the CU-CP and the terminal device is relatively small, the radio interface quality between the CU-CP and the terminal device is relatively good, and the DU suggests that the terminal device does not discard data packets according to the packet loss ratio. At this time, the terminal device may not perform packet loss according to a ratio.

[0185] It should be noted that, in some other embodiments, it may also be CU-UP or DU that sends the first indication information to the terminal device. Exemplarily, when CU-UP sends the first indication information to the terminal device, the first indication information may be carried in the PDU controlled by PDCP. When DU sends the first indication information to the terminal device, the first indication information may be carried in the MAC CE. Optionally, when the above packet loss ratio information is sent by CU-CP or CU-UP, the first indication information is sent by DU. When the first indication information is sent by DU, CU-CP or CU-UP may also send a fifth indication information to DU, and the fifth indication information instructs DU to send the first auxiliary information to the terminal device and / or indicates that CU-CP has configured the terminal device to discard data packets according to the ratio, where the first auxiliary information is used for the terminal device to determine whether to discard data packets according to the packet loss ratio. Through the fifth indication information, DU learns that the terminal device has obtained the packet loss ratio and can perform packet loss. Thus, when DU detects network congestion, it sends the first indication information to instruct the terminal device to start packet loss. In addition, in some other embodiments, after CU-CP or CU-UP sends the fifth indication information to DU, DU may also send the first indication information and the first auxiliary information to the terminal device, or only send the first auxiliary information.

[0186] When the packet loss indication also takes effect on the subsequent arriving data packet set, optionally, CU-CP may also instruct the terminal device to stop packet loss, for example, instruct to stop packet loss when detecting that the congestion has disappeared. At this time, the method 900 may further include S910.

[0187] S910, CU-CP sends a third indication information to the terminal device, and the third indication information instructs the terminal device to stop packet loss.

[0188] It should be noted that the third indication information may also be referred to as proportional packet loss deactivation information, etc., which is not limited in this application.

[0189] It should also be noted that, in some other embodiments, it may also be CU-UP or DU that sends the third indication information to the terminal device, which is not limited in this application.

[0190] Figure 10 This is a schematic flowchart of the third method 1000 for processing packets provided by the embodiments of this application. As Figure 10 shown, this schematic flowchart is shown by taking the interaction between the network device and the terminal device in the 5G base station as an example. Among them, the steps executed by the network device and / or the terminal device may be executed by modules or units in the network device and / or the terminal device. For example, they are executed by chips in the network device and / or the terminal device. Specifically, the method includes the following multiple steps.

[0191] S1001, the network device determines that there is redundancy in the data packet set.

[0192] Optionally, the network device may obtain application information of network coding from the core network. Specifically, the network device receives notification information from the core network device, and the notification information indicates whether the data packet set uses network coding (such as FEC coding) and / or indicates whether there is redundancy in the data packet set. Exemplarily, the network device receives a PDUSESSION SETUP / MODIFICATION REQUEST message from the SMF. There is a 1-bit indication field in this message, which is used to carry notification information indicating whether the data packet set uses network coding or whether there is redundancy. Among them, 0 indicates that network coding is not used or there is no redundancy, and 1 indicates that network coding is used or there is redundancy. Alternatively, there is a 2-bit indication field in this message, which is used to carry notification information indicating whether the data packet set uses network coding and whether there is redundancy. Among them, 00 indicates that network coding is not used and there is no redundancy, 01 indicates that network coding is not used but there is redundancy, 10 indicates that network coding is used but there is no redundancy, and 11 indicates that network coding is used and there is redundancy. Optionally, the notification information is at the UE level or PDU session or QoS flow level or DRB level.

[0193] Similarly, the data packets included in the data packet set may be some or all of the data packets in one or more PDU sets generated by PDU set grouping, and this application does not make any limitations. It can be understood that other relevant descriptions of the data packet set, such as the importance of the data packet set, importance determination, and the entity that determines the importance of the data packet set, etc., can all refer to S701 in the above Figure 7 and will not be elaborated here.

[0194] S1002, the network device sends configuration information to the terminal device, and configures the terminal device to discard data packets according to the redundancy of the data packet set.

[0195] Specifically, when the terminal device receives the configuration information, it can know from the configuration information that it needs to discard data packets according to the redundancy of the data packet set.

[0196] Optionally, the configuration information may also carry identification information corresponding to the data packet set, such as at least one of PDU session ID, DRB ID, and QoS flow ID, to identify the PDU session, DRB, or QoS flow targeted by the configuration information.

[0197] S1003, the terminal device obtains the redundancy of the data packet set.

[0198] In an implementable manner, the terminal device receives the redundancy of a set of redundancy information acquisition data packets from the application layer (such as an application on a mobile phone). For example, the application layer can add redundancy information of network coding to the packet header of the uplink data packet. For example, several bits are used to carry a redundancy information in the real-time transport protocol (RTP) extension header of the data packet. The terminal device determines the redundancy corresponding to the set of data packets corresponding to the data packet by identifying the redundancy information in the data packet header. Optionally, for a set of data packets, the redundancy information can be carried in any data packet or all data packets in the set of data packets. Optionally, if there is no redundant packet in a set of data packets, the redundancy information may not be carried.

[0199] Specifically, the redundancy information indicates the redundancy of the set of data packets. In an implementable manner, the redundancy information can be one or more of the number K of original data packets, the number N of encoded data packets, and the number M of data packets required to restore the complete data. At this time, the terminal device can determine the redundancy of the set of data packets according to one or more of the received K, N, and M. In another implementable manner, the redundancy information can directly be the redundancy of the set of data packets. At this time, the terminal device can directly determine the redundancy of the set of data packets according to the received redundancy information. In yet another implementable manner, the redundancy information can be a range of the redundancy of the set of data packets. For example, the redundancy information is that the redundancy is between 10% and 30%. At this time, the terminal device can arbitrarily determine a redundancy within the redundancy range. In yet another implementable manner, the redundancy information can indicate that network coding is used for the set of data packets. For example, the redundancy information indicates that the FEC technology is applied to the set of data packets. At this time, the terminal device can determine an empirical redundancy according to past experience. In addition, the redundancy information can also be a specific value, such as 0, used to indicate that there is no redundancy for the corresponding set of data packets.

[0200] In another implementable manner, the terminal device independently determines the redundancy of each set of data packets in the set of data packets. Exemplarily, the terminal device identifies the data volume size of each set of data packets. Among them, the set of data packets with a larger data volume is considered to contain more redundant data packets, that is, there is a larger redundancy.

[0201] S1004, the terminal device determines the packet loss ratio according to the redundancy.

[0202] Specifically, the packet loss ratio is the proportion of the data packets discarded by the terminal device in the set of data packets. Optionally, when the terminal device determines the packet loss ratio according to the redundancy, the packet loss ratio is set to be equal to or less than the redundancy.

[0203] It should be noted that compared withFigure 7 The difference between the method 700 shown is that in Figure 10 the embodiment shown, the packet loss ratio determined by the terminal device according to the redundancy corresponds to a single data packet set. This is because the redundancy information corresponding to the data packet set itself carried by different data packet sets can be different. Therefore, in Figure 10 it, the terminal device determines the packet loss ratio of the data packet set according to the redundancy of each data packet set.

[0204] S1005, the terminal device determines a packet loss policy.

[0205] Specifically, when the terminal device receives the configuration information, the terminal device learns that it needs to perform packet loss according to the redundancy of the data packet set, so the terminal device determines a packet loss policy.

[0206] In an implementable manner, the terminal device determines the packet loss policy as discarding the data packets corresponding to the packet loss ratio in each data packet set. It can be understood that at this time, the packet loss policy determined by the terminal device is for all data packet sets, that is, under this policy, the terminal device does not consider the importance of the data packet sets, and the terminal device discards the data packets in the corresponding data packet sets according to the packet loss ratio determined for each data packet set. Exemplarily, for the DRB level, for example, DRB#1, which includes data packet set #1, data packet set #2, and data packet set #3, if the packet loss ratio determined by the terminal device according to data packet set #1 is 20%, the packet loss ratio determined according to data packet set #2 is 0%, and the packet loss ratio determined according to data packet set #3 is 100%, the terminal device discards 20% of the data packets in data packet set #1, does not discard the data packets in data packet set #2, and discards all the data packets in data packet set #3.

[0207] In another implementable manner, the terminal device determines the packet loss policy as discarding the data packets corresponding to the packet loss ratio in the low-importance data packet sets. At this time, the packet loss policy determined by the terminal device is for the low-importance data packet sets. That is, under this policy, the terminal device only selects data packets to discard in the low-importance data packet sets. Exemplarily, for the DRB level, for example, DRB#1, which includes data packet set #1, data packet set #2, and data packet set #3, where data packet set #1 and data packet set #2 are low-importance data packets, and data packet set #3 is a high-importance data packet. At the same time, the packet loss ratio determined by the terminal device according to data packet set #1 is 20%, the packet loss ratio determined according to data packet set #2 is 30%, and the packet loss ratio determined according to data packet set #3 is 10%. At this time, the terminal device performs packet loss for all low-importance data packet sets, that is, the terminal device discards 20% of the data packets in data packet set #1, discards 30% of the data packets in data packet set #2, and does not discard the data packets in data packet set #3.

[0208] In another implementable manner, the terminal device determines that the packet loss policy is to discard the packets corresponding to the packet loss ratio in the set of high-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of high-importance data packets. That is, under this policy, the terminal device only selects packets to discard in the set of high-importance data packets. Exemplarily, for the DRB level, such as DRB#1, it includes Packet Set #1, Packet Set #2, and Packet Set #3. Among them, Packet Set #1 and Packet Set #2 are low-importance data packets, and Packet Set #3 is a high-importance data packet. At the same time, the packet loss ratio determined by the terminal device according to Packet Set #1 is 20%, the packet loss ratio determined according to Packet Set #2 is 30%, and the packet loss ratio determined according to Packet Set #3 is 10%. At this time, the terminal device discards packets for all high-importance data packet sets, that is, the terminal device does not discard the packets in Packet Set #1 and Packet Set #2, and only discards 10% of the packets in Packet Set #3.

[0209] In yet another implementable manner, the terminal device determines that the packet loss policy is to discard the packets corresponding to the packet loss ratio in the set of high-importance data packets and all the packets in the set of low-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of high-importance data packets and the set of low-importance data packets. That is, under this policy, the terminal device not only selects packets to discard in the set of high-importance data packets, but also discards all the packets in the set of low-importance data packets at the same time. Exemplarily, for the DRB level, such as DRB#1, it includes Packet Set #1, Packet Set #2, and Packet Set #3. Among them, Packet Set #1 and Packet Set #2 are low-importance data packets, and Packet Set #3 is a high-importance data packet. At the same time, the packet loss ratio determined by the terminal device according to Packet Set #1 is 20%, the packet loss ratio determined according to Packet Set #2 is 30%, and the packet loss ratio determined according to Packet Set #3 is 10%. At this time, the terminal device discards all the packets in Packet Set #1 and Packet Set #2, and discards 10% of the packets in Packet Set #3.

[0210] In yet another implementable manner, the terminal device determines that the packet loss policy is to discard all packets in the set of low-importance data packets. At this time, the packet loss policy determined by the terminal device is for the set of low-importance data packets. That is, under this policy, the terminal device discards all packets in the set of low-importance data packets. It can be understood that in this scenario, the packet loss ratio corresponding to the set of low-importance data packets can be considered 100%. In other words, in this scenario, even if the packet loss ratio indicated by the packet loss ratio information determined by the terminal device is not 100%, since the terminal device determines to discard all packets in each set of low-importance data packets, the terminal device does not perform packet loss according to the determined packet loss ratio. Exemplarily, for the DRB level, such as DRB#1, which includes data packet set #1, data packet set #2, and data packet set #3, where data packet set #1 and data packet set #2 are low-importance data packets and data packet set #3 is a high-importance data packet. At the same time, the packet loss ratio determined by the terminal device according to data packet set #1 is 20%, the packet loss ratio determined according to data packet set #2 is 30%, and the packet loss ratio determined according to data packet set #3 is 10%. At this time, the terminal device performs 100% packet loss for all sets of low-importance data packets, that is, the terminal device discards all packets in data packet set #1 and data packet set #2, and does not discard the packets in data packet set #3.

[0211] Optionally, the terminal device autonomously determines the packet loss policy, or the terminal device determines the packet loss policy according to the first indication information in the following description. This application does not make any limitations.

[0212] S1006. The terminal device discards the packets in the data packet set according to the packet loss ratio and the packet loss policy.

[0213] Specifically, after the terminal device obtains the packet loss ratio and determines the packet loss policy, it discards the packets in the data packet set according to the packet loss ratio and the packet loss policy.

[0214] According to the above S1005, under different packet loss policies, for the same multiple data packet sets at the same level (such as the UE level, the PDU session level, the DRB level, or the QoS flow level), the packet loss behavior of the terminal device may be different.

[0215] It should be noted that the terminal device can perform packet loss on the data packet sets in the current cache according to the ratio, and does not perform packet loss on the subsequent newly arrived data packet sets; or, the terminal device can also not perform packet loss on the data packet sets in the current cache, but perform packet loss on the subsequent newly arrived data packet sets according to the ratio; it can also perform packet loss on the data packet sets in the current cache and the subsequent newly arrived data packet sets according to the ratio. This application does not make any limitations.

[0216] In an implementable manner, the terminal device can directly clear the data packet from the cache. For example, when the terminal device determines to discard data packet #1 (the data packet determined to be discarded according to the packet loss policy), the terminal device selects at least one of the following implementations: discarding the SDAP service data unit (SDU) and SDAP PDU corresponding to data packet #1 at the SDAP layer; discarding the PDCP SDU and PDCP PDU corresponding to data packet #1 at the PDCP layer; instructing the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to data packet #1. It can be understood that data packet #1 can be a data packet that arrives at the cache before the start of packet loss, or a data packet that newly arrives at the cache after the start of packet loss.

[0217] In another implementable manner, the terminal device can use a packet loss timer to clear the data packet from the cache. Exemplarily, when the terminal device determines to discard data packet #1, the terminal device can adjust the PDCP discard timer corresponding to data packet #1 to a shorter value (for example, adjusting it to 0 means immediate discard). After the packet loss timer times out, the terminal device discards the PDCP SDU and PDCP PDU corresponding to data packet #1 at the PDCP layer; if the PDCP PDU corresponding to data packet #1 has been delivered to the lower layer (such as the RLC layer), it instructs the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to data packet #1. Exemplarily, when the terminal device determines to discard data packet #1, the terminal device can also start a new discard timer for data packet #1. This discard timer can also be at the PDCP layer. After the newly configured timer times out, the terminal device discards the PDCP SDU and PDCP PDU corresponding to data packet #1 at the PDCP layer; if the PDCP PDU corresponding to data packet #1 has been delivered to the lower layer (such as the RLC layer), it instructs the RLC layer to discard one or more of the RLC SDU, RLC SDU segments, and RLC PDU corresponding to data packet #1. Optionally, the duration of the new discard timer can be provided by the network device to the terminal device. It can be understood that data packet #1 can be a data packet that arrives at the cache before the start of packet loss, or a data packet that newly arrives at the cache after the start of packet loss.

[0218] Similarly, there is no limitation on the data packets selected by the terminal device to be discarded. Exemplarily, when the packet loss ratio is 30%, 30% of the data packets discarded by the terminal device can be the last 30% of the data packets in the data packet set; or, when the terminal device determines that 70% of the data packets in the data packet set have been successfully sent, it discards the remaining 30% of the data packets.

[0219] It can be understood that for a set of data packets, the number of data packets discarded by the terminal device is the product of the total number of data packets in the data packet set and the packet loss ratio. Optionally, when the product of the total number of data packets in the data packet set and the packet loss ratio is a non-integer value, the terminal device can determine the number of data packets to be discarded in the data packet set in a way of rounding down. For example, if there are 50 data packets in the data packet set and the packet loss ratio is 25%, then 12 data packets are discarded.

[0220] It should be noted that in the processes of S1001 to S1006 above, after the terminal device determines the packet loss ratio and the packet loss policy, the terminal device will start to discard data packets. In other words, when the terminal device discards the data packets in the data packet set according to the packet loss ratio and the packet loss policy, it can be considered that the configuration information received by the terminal device indicates that while discarding packets according to the redundancy of the data packets, it also indicates that the terminal device starts to discard packets.

[0221] It can be understood that in some scenarios, the configuration information received by the terminal device can be sent by the network device to the terminal device when network congestion occurs. At this time, the terminal device can perform proportional packet loss. In other scenarios, the configuration information is pre-configured by the network device for the terminal device. At this time, the terminal device will not immediately perform packet loss after receiving the configuration information. Only when network congestion occurs, the terminal device will perform proportional packet loss. Therefore, in order to ensure the stability of the system performance, the terminal device can be instructed to start packet loss through the first indication information. At this time, the method 1000 for processing data packets provided by this application may further include the following multiple steps

[0222] S1007, the network device sends the first indication information to the terminal device, instructing the terminal device to start packet loss.

[0223] Optionally, the network device can send the first indication information to the terminal device in the form of RRC signaling, PDCP control PDU, or MAC CE, etc.

[0224] In a realizable manner, when the first indication information only instructs the terminal device to start packet loss, the terminal device executes S1006 after receiving the first indication information.

[0225] In another implementable manner, the first indication information may also indicate the packet loss policy of the terminal device at the same time. At this time, the first indication information includes an indication field for indicating the packet loss policy. After receiving the first indication information, the terminal device executes S1005 and S1006 according to the packet loss policy indicated in the packet loss policy indication field. Specifically, the packet loss policy indication field may include one or more bits. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 1 bit, where 0 indicates discarding all packets in the set of low-importance data packets, and 1 indicates discarding all packets in the set of low-importance data packets and the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 2 bits, where 00 indicates discarding the packets corresponding to the packet loss ratio in the set of low-importance data packets; 01 indicates discarding the packets corresponding to the packet loss ratio in the set of all data packets; 10 indicates discarding all packets in the set of low-importance data packets; 11 indicates discarding all packets in the set of low-importance data packets and the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, the indication field for indicating the packet loss policy in the first indication information is 3 bits, and any two adjacent bits of the 3 bits indicate the packet loss policy of the set of low-importance data packets, and the other bit indicates the packet loss policy of the set of high-importance data packets. Among them, two adjacent bits 00 indicate not discarding the set of low-importance data packets; 01 indicates discarding the packets corresponding to the packet loss ratio in the set of low-importance data packets, and 10 indicates discarding all packets in the set of low-importance data packets. The remaining one bit 0 indicates not discarding the set of high-importance data packets, and 1 indicates discarding the packets corresponding to the packet loss ratio in the set of high-importance data packets. Exemplarily, when the importance of the data packet set is represented by PSI values 0-15, the indication field for indicating the packet loss policy in the first indication information may also be 16 bits, where each of the 16 bits respectively indicates whether the data packet set corresponding to the importance value 0-15 is packet lost according to the packet loss ratio. For example, 0000000010101111 indicates that the data packet sets with PSI values 0-3, PSI value 5, and PSI value 7 are packet lost. Exemplarily, when the importance of the data packet set is represented by PSI values 0-15 and 8 PSI values are in one PSI gear, the indication field for indicating the packet loss policy in the first indication information may also be 2 bits, where one bit is used to indicate whether the data packet set with PSI values 0-7 is packet lost according to the packet loss ratio, and the other bit is used to indicate whether the data packet set with PSI values 8-15 is packet lost according to the packet loss ratio. For example, 01 indicates that the data packet set with PSI values 0-7 is packet lost according to the packet loss ratio, while the data packet set with PSI values 8-15 is not packet lost.

[0226] It should be noted that the first indication information indicating the packet loss policy of the terminal device can be one or more, that is, the network device can send the first indication information only once or send different first indication information at different times. Specifically, when the network device sends the first indication information only once, the terminal device discards data packets according to the packet loss policy indicated by the first indication information. When the network device sends the first indication information multiple times, different packet loss policies can be indicated in the first indication information at different times. For example, when the network congestion level is relatively low, it is indicated that the terminal device only discards some data packets in the set of low-importance data packets. When the network congestion level is severe, it is indicated that the terminal device discards all data packets in the set of low-importance data packets and some data packets in the set of high-importance data packets. It can be understood that when different packet loss policies of the terminal device are indicated by multiple first indication information, the flexibility of packet loss of the terminal device can be improved, so that the system can be applied to different application scenarios.

[0227] Optionally, the first indication information may further carry identification information corresponding to the data packet set, for example, at least one of PDUsession ID, DRB ID, and QoS flow ID, to identify the PDUsession, DRB, or QoS flow targeted by the first indication information.

[0228] It can be understood that the first indication information and the configuration information can be carried in the same message sent by the network device to the terminal device. Or, the network device can also carry the configuration information and the first indication information in different messages respectively. For example, the network device first sends the configuration information to the terminal device through an RRC message. The terminal device does not perform packet loss when it receives the configuration information. When congestion is detected, the network device then sends a PDCP control PDU or a MAC CE to indicate the packet loss ratio of the terminal device for packet loss. In other words, the present application does not limit the order of S1002 and S1007.

[0229] It should be noted that the first indication information can also be referred to as proportional packet loss activation information, packet loss activation information, etc., which is not limited in this application.

[0230] Optionally, before the network device sends the configuration information and / or the first indication information, the network device can also obtain capability information from the terminal device, so that the network device can know whether the terminal device has the ability to identify redundant information (which can also be understood as whether it can determine a dynamic packet loss ratio for the current service) according to the capability information. For example, whether it can identify the redundancy information in the RTP header. When the network device determines that the terminal device has the ability to identify the redundancy information, and then indicates the terminal device to perform packet loss, it avoids invalid indications of the network device, thereby improving the performance of the system.

[0231] S1008, the terminal device reports capability information to the network device, and the capability information indicates whether the terminal device has the ability to identify redundancy information.

[0232] Specifically, when the capability information indicates that the terminal device has the ability to identify redundancy information, at this time, the capability information can notify the network device that the terminal device can determine a dynamic packet loss ratio for the current service. Among them, the capability information can also be at the UE / PDU session / DRB / QoS flow level. Optionally, the capability information can be sent to the network device through an RRC message.

[0233] Optionally, before the network device sends one or more first indication messages to the terminal device, the terminal device can also send a second indication message to the network device, and the second indication message is used to notify the network device to provide first auxiliary information. After receiving the second indication message, the network device monitors network congestion. When congestion occurs, the network device sends the first indication message or the first indication message and the first auxiliary information to the terminal device. When the network device also sends the first auxiliary information, the terminal device can determine whether to discard data packets according to the packet loss ratio through the first auxiliary information. The process is as follows:

[0234] S1009, the terminal device sends a second indication message to the network device, and the second indication message instructs the network device to provide first auxiliary information, where the first auxiliary information is used for the terminal device to determine whether to discard data packets according to the packet loss ratio.

[0235] Specifically, the terminal device sends a second indication message to the network device, and correspondingly, the network device receives the second indication message.

[0236] S1010, the network device sends the first auxiliary information to the terminal device.

[0237] Optionally, the first auxiliary information includes one or more of congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Among them, the congestion degree information indicates the congestion degree of the link between the network device and the terminal device, the radio interface quality information indicates the radio interface quality between the network device and the terminal device, the packet loss activation suggestion information indicates whether the network device suggests that the terminal device discard data packets according to a packet loss ratio, and the packet loss policy suggestion information indicates that the terminal device discards data packets according to the packet loss policy suggested by the network device. Specifically, the terminal device may determine whether to discard packets according to a packet loss ratio based on one or more of the congestion degree information, radio interface quality information, packet loss activation suggestion information, and packet loss policy suggestion information. Among them, when the first auxiliary information indicates at least one of the following, the terminal device determines to discard packets according to a packet loss ratio: the congestion degree of the link between the network device and the terminal device is relatively large, the radio interface quality between the network device and the terminal device is relatively poor, the network device suggests that the terminal device discard data packets according to a packet loss ratio, and the packet loss policy suggested by the network device.

[0238] It should be noted that when the network device sends the first auxiliary information and the first indication information to the terminal device, the order of S1007 and S1010 is not limited in this application. Exemplarily, when the first auxiliary information carries a packet loss policy (other information in the first auxiliary information may or may not be carried), it may be that the network device first indicates to start packet loss and then sends the suggested packet loss policy to the terminal device through the first auxiliary information; or, it may also be that after sending the suggested packet loss policy to the terminal device through the first auxiliary information, the first indication information indicating to start packet loss is sent; or, the suggested packet loss policy and the first indication information are sent to the terminal device at the same time. At this time, the first auxiliary information and the first indication information may be carried in the same message or in two separate messages.

[0239] It can be understood that in the above S1007 - S1010, the network device sends the first auxiliary information and the first indication information to the terminal device. In some embodiments, the network device may send only the first auxiliary information or only the first indication information to the terminal device, which is not limited in this application. Specifically, when the network device sends only the first auxiliary information to the terminal device, method 1000 only includes S1009 and S1010; when the network device sends only the first indication information to the terminal device, S1006 is included in method 1000.

[0240] It can also be understood that the above S1007 - S1010 are scenarios where the terminal device determines to discard packets according to a packet loss ratio. When the auxiliary information sent by the network device to the terminal device indicates at least one of the following, the terminal device does not perform packet loss: the congestion degree of the link between the network device and the terminal device is relatively small, the radio interface quality between the network device and the terminal device is relatively good, and the network device does not suggest that the terminal device discard data packets according to a packet loss ratio.

[0241] When the packet loss indication also takes effect for subsequent arriving packet sets, optionally, the network device may also instruct the terminal device to stop packet loss. For example, when it is detected that the congestion has disappeared, the network device instructs to stop packet loss. At this time, the method 1000 may further include S1011.

[0242] S1011. The network device sends third indication information to the terminal device, and the third indication information instructs the terminal device to stop packet loss.

[0243] It should be noted that the third indication information may also be referred to as proportional packet loss deactivation information, etc., and the present application does not make a limitation.

[0244] In some embodiments, when the network device is a base station and adopts a CU / DU split architecture or CU-CP / CU-UP, Figure 11 This is a schematic flowchart of a fourth method 1100 for processing packets provided by an embodiment of the present application. As Figure 11 shown, this schematic flowchart is illustrated by the interaction between the CU-CP and the DU. Among them, the steps executed by the CU-CP and / or the DU may be executed by modules or units in the CU-CP and / or the DU. For example, they may be executed by chips in the CU-CP and / or the DU. Specifically, the method includes the following multiple steps.

[0245] S1101. The CU-CP determines that there is redundancy in the packet set.

[0246] Optionally, the CU-CP may obtain application information of network coding from the core network. Specifically, the CU-CP receives notification information from the core network device, and this notification information indicates whether the packet set uses network coding (such as FEC coding) and / or indicates whether there is redundancy in the packet set. Exemplarily, the CU-CP receives a PDU SESSION SETUP / MODIFICATION REQUEST message from the SMF. There is a 1-bit indication field in this message, which is used to carry notification information indicating whether the packet set uses network coding or whether there is redundancy. Among them, 0 indicates that network coding is not used or there is no redundancy, and 1 indicates that network coding is used or there is redundancy. Alternatively, there is a 2-bit indication field in this message, which is used to carry notification information indicating whether the packet set uses network coding and whether there is redundancy. Among them, 00 indicates that network coding is not used and there is no redundancy, 01 indicates that network coding is not used but there is redundancy, 10 indicates that network coding is used but there is no redundancy, and 11 indicates that network coding is used and there is redundancy. Optionally, this notification information is at the UE level or PDU session or QoS flow level or DRB level.

[0247] Similarly, the data packets included in the data packet set can be some or all of the data packets in one or more PDU sets generated by the PDU set grouping, and the present application does not make any limitations. It can be understood that other related descriptions of the data packet set, such as the importance of the data packet set, the determination of importance, and the entity determining the importance of the data packet set, etc., can all refer to S701 in the above Figure 7 or S1001 in the above Figure 10 and will not be elaborated here.

[0248] It should be noted that Figure 11 This is only an embodiment of a network device provided by the present application under the split architecture, and does not limit the protection scope of the present application. In some other embodiments, it can also be that the CU-UP receives notification information from the core network and determines the redundancy of the data packet set according to the notification information.

[0249] S1102, the CU-CP sends configuration information to the terminal device to configure the terminal device to discard data packets according to the redundancy of the data packet set.

[0250] Specifically, when the terminal device receives the configuration information, it can learn from the configuration information that it needs to discard data packets according to the redundancy of the data packet set.

[0251] S1103, the terminal device obtains the redundancy of the data packet set.

[0252] S1104, the terminal device determines the packet loss ratio according to the redundancy.

[0253] S1105, the terminal device determines the packet loss policy.

[0254] S1106, the terminal device discards the data packets in the data packet set according to the packet loss ratio and the packet loss policy.

[0255] Specifically, S1103 - S1106 can refer to S1003 - S1006 in the above Figure 10 and will not be elaborated here.

[0256] It should be noted that in the processes of S1101 to S1106 above, after the terminal device determines the packet loss ratio and the packet loss policy, the terminal device will start to discard data packets. In other words, when the terminal device discards the data packets in the data packet set according to the packet loss ratio and the packet loss policy, it can be considered that the configuration information received by the terminal device indicates both to discard packets according to the redundancy of the data packets and to start discarding packets at the same time.

[0257] It can be understood that in some scenarios, the configuration information received by the terminal device can be sent by the CU-CP to the terminal device when the network is congested. At this time, the terminal device can perform proportional packet loss. In other scenarios, the configuration information is pre-configured by the CU-CP to the terminal device. At this time, the terminal device will not immediately perform packet loss after receiving the configuration information. Only when the network is congested, the terminal device will perform proportional packet loss. Therefore, to ensure the stability of system performance, the terminal device can be instructed to start packet loss through the first indication information. At this time, the method 1100 further includes the following multiple steps.

[0258] S1107, the CU-CP sends the first indication information to the terminal device, instructing the terminal device to start packet loss.

[0259] Optionally, the CU-CP sends the first indication information to the terminal device through the RRC signaling. The first indication information can only instruct the terminal device to start packet loss, or can also simultaneously instruct the packet loss policy of the terminal device. In addition, the first indication information can be one or more, and can also carry the identification information corresponding to the data packet set. Specifically, the description of this step can refer to the above S1007 and will not be elaborated here.

[0260] Optionally, before the CU-CP sends the first indication information and / or the configuration information, the CU-CP can also obtain the capability information from the terminal device, so that the CU-CP can know whether the terminal device has the ability to identify redundant information (it can also be understood as whether it can determine the dynamic packet loss ratio for the current service) according to the capability information. For example, whether it can identify the redundancy information in the RTP header. When the CU-CP determines that the terminal device has the ability to identify the redundancy information, and then instructs the terminal device to perform packet loss, it avoids the invalid indication of the CU-CP, thereby improving the performance of the system.

[0261] S1008, the terminal device reports the capability information to the CU-CP, and the capability information indicates whether the terminal device has the ability to identify the redundancy information.

[0262] Specifically, when the capability information indicates that the terminal device has the ability to identify the redundancy information, at this time, the capability information can notify the CU-CP that the terminal device can determine the dynamic packet loss ratio for the current service. Among them, the capability information can also be at the UE / PDU session / DRB / QoS flow level. Optionally, the capability information can be sent to the CU-CP through the RRC message.

[0263] Optionally, before the CU-CP sends one or more first indication messages to the terminal device, the CU-CP may also send a fourth indication message to the DU. The fourth indication message is used to notify the DU that packet dropping by proportion has been configured and / or to notify the DU to provide second auxiliary information. After receiving the fourth indication message, the DU monitors network congestion. When congestion occurs, the DU sends the second auxiliary information to the CU-CP, enabling the CU-CP to learn that network congestion has occurred, and then the CU-CP sends the first indication message to the terminal device. The process includes the following steps:

[0264] S1109. The CU-CP sends a fourth indication message to the DU. The fourth indication message instructs the DU to report the second auxiliary information and / or indicates that the CU-CP has configured packet dropping according to proportion for the terminal device. The second auxiliary information is used for the CU-CP to determine whether to send the first indication message. Specifically, the CU-CP sends the fourth indication message to the DU, and correspondingly, the DU receives the fourth indication message.

[0265] S1110. The DU sends the second auxiliary information to the CU-CP.

[0266] Specifically, after receiving the fourth indication message, the DU sends the second auxiliary information to the CU-CP. Optionally, the second auxiliary information includes one or more of congestion degree information, radio interface quality information, packet dropping activation suggestion information, and packet dropping policy suggestion information. The congestion degree information indicates the congestion degree of the link between the CU-CP and the terminal device. The radio interface quality information indicates the radio interface quality between the CU-CP and the terminal device. The packet dropping activation suggestion information indicates whether the DU suggests that the terminal device drops packets according to the packet dropping ratio. The packet dropping policy suggestion information indicates that the terminal device drops packets according to the packet dropping policy suggested by the DU.

[0267] S1111. The CU-CP determines to send the first indication message.

[0268] Specifically, the CU-CP determines to send the first indication message according to one or more of the congestion degree information, radio interface quality information, packet dropping activation suggestion information, and packet dropping policy suggestion information. Specifically, when the second auxiliary information indicates at least one of the following, the CU-CP determines to send the first indication message: the congestion degree of the link between the CU-CP and the terminal device is relatively large, the radio interface quality between the CU-CP and the terminal device is relatively poor, the DU suggests that the terminal device drops packets according to the packet dropping ratio, and the packet dropping policy suggested by the DU.

[0269] It can be understood that when the second auxiliary information includes packet loss policy suggestion information (the second auxiliary information may include other information or may not include other information), the CU-CP may carry the suggested packet loss policy in the first indication information, so that after receiving the first indication information, the terminal device may perform packet loss according to the suggested packet loss policy.

[0270] It can also be understood that the above S1107-S1111 are scenarios where the CU-CP determines to send the first indication information, or rather, the above S1107-S1111 are scenarios where the terminal device performs proportional packet loss. When the second auxiliary information reported by the DU to the CU-CP indicates at least one of the following: the link congestion degree between the CU-CP and the terminal device is small, the radio interface quality between the CU-CP and the terminal device is good, and the DU suggests that the terminal device does not discard data packets according to the packet loss ratio, the CU-CP does not send the first indication information. At this time, the terminal device may not perform proportional packet loss.

[0271] It should be noted that in some other embodiments, it may also be the CU-UP or the DU that sends the first indication information to the terminal device. Exemplarily, when the CU-UP sends the first indication information to the terminal device, the first indication information may be carried in the PDU controlled by PDCP. When the DU sends the first indication information to the terminal device, the first indication information may be carried in the MAC CE. Optionally, when the above packet loss ratio information is sent by the CU-CP or the CU-UP, the first indication information is sent by the DU. When the first indication information is sent by the DU, the CU-CP or the CU-UP may also send a fifth indication information to the DU, and the fifth indication information instructs the DU to send the first auxiliary information to the terminal device and / or indicates that the CU-CP has configured the terminal device to discard data packets according to the ratio, where the first auxiliary information is used for the terminal device to determine whether to discard data packets according to the packet loss ratio. Through this fifth indication information, the DU learns that the terminal device has obtained the packet loss ratio and can perform packet loss, so that when the DU detects network congestion, it sends the first indication information to the terminal device to instruct the terminal device to start packet loss. In addition, in some other embodiments, after the CU-CP or the CU-UP sends the fifth indication information to the DU, the DU may also send the first indication information and the first auxiliary information to the terminal device, or only send the first auxiliary information.

[0272] When the packet loss indication also takes effect on the subsequent arriving data packet set, optionally, the CU-CP or the DU may also instruct the CU-UP to stop packet loss, for example, instruct to stop packet loss when it is detected that the congestion disappears. At this time, the method 1100 may further include S1112.

[0273] S1112, the CU-CP sends a third indication information to the terminal device, and the third indication information instructs the terminal device to stop packet loss.

[0274] It should be noted that the first indication information indicating the start of packet loss can also be referred to as proportional packet loss activation information, etc., and the third indication information indicating the stop of packet loss can also be referred to as proportional packet loss deactivation information, etc. This application does not make any limitations in this regard.

[0275] It should also be noted that the third indication information can also be referred to as proportional packet loss deactivation information, etc. This application does not make any limitations in this regard.

[0276] It should further be noted that in some other embodiments, it can also be the CU-UP or the DU that sends the third indication information to the terminal device. This application does not make any limitations in this regard.

[0277] It should be understood that in the embodiments of this application Figure 7 、 Figures 9 to 11 The embodiments are only described exemplarily. The schematic diagrams in the figures do not limit the execution order. Those skilled in the art can flexibly adjust the sequence of each step based on the examples in the figures. Moreover, the magnitudes of the sequence numbers of the above processes do not mean the sequence of execution. The execution sequence of each process should be determined according to its function and internal logic. And the above steps are not mandatory steps. When one or more of the steps are missing, the problem to be solved by this application can still be solved, and the corresponding technical solutions are also within the scope disclosed in this application. The various numerical numbers or sequence numbers involved in the above processes are only for the convenience of description and should not impose any limitations on the implementation process of the embodiments of this application.

[0278] It can be understood that some optional features in the embodiments of this application can, in some scenarios, be implemented independently without relying on other features, such as the current solution they are based on, to solve the corresponding technical problems and achieve the corresponding effects. In some scenarios, they can also be combined with other features according to requirements. Correspondingly, the devices given in the embodiments of this application can also implement these features or functions accordingly, which will not be elaborated here.

[0279] In addition, the various solutions in the embodiments of this application can be combined and used reasonably, and the explanations or descriptions of the various terms appearing in the embodiments can be referred to or explained with each other in the various embodiments. No limitations are made in this regard.

[0280] In the embodiments provided in the present application above, the various solutions of the communication method provided in the embodiments of the present application are introduced respectively from the perspective of each device / network element itself and from the interaction between each device / network element. It can be understood that, in order to implement the above functions, each network element and device includes a corresponding hardware structure and / or software module for executing each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the manner of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0281] Figure 12 FIG. shows a schematic block diagram of a communication device 1200 provided in an embodiment of the present application. The device 1200 includes an acquisition module 1201, and the acquisition module 1201 can be used to implement the corresponding acquisition function. The acquisition module 1201 can also be referred to as an acquisition unit.

[0282] The device 1200 further includes a processing module 1202, and the processing module 1202 can be used to implement the corresponding processing function.

[0283] The device 1200 further includes a transmission module 1203, and the transmission module 1203 can be used to implement the corresponding transmission function. The transmission module 1203 can also be referred to as a transmission unit.

[0284] Optionally, the device 1200 further includes a storage unit, and the storage unit can be used to store instructions and / or data. The processing unit 1202 can read the instructions and / or data in the storage unit so that the device implements the actions of the relevant devices in the foregoing method embodiments.

[0285] The device 1200 can be used to perform the actions executed by the terminal device or the network device in the foregoing method embodiments. At this time, the device 1200 can be a component of the terminal device or the network device. The acquisition module 1201 is used to perform the acquisition-related operations of the terminal device or the network device in the foregoing method embodiments, the processing module 1202 is used to perform the processing-related operations of the terminal device or the network device in the foregoing method embodiments, and the transmission module 1203 is used to perform the transmission-related operations of the terminal device or the network device in the foregoing method embodiments.

[0286] As a design, the device 1200 is used to perform the actions executed by any network element or any device in the foregoing method embodiments. In one embodiment, the communication device can be used to execute the above Figure 7 、Figures 9 to 11 Operations of the middle terminal device. For example:

[0287] An obtaining module 1201, configured to obtain the packet loss ratio.

[0288] A processing module 1202, configured to determine a packet loss policy and discard packets in the packet set according to the packet loss ratio and the packet loss policy.

[0289] A sending module 1203, configured to send capability information to a network device, where the capability information indicates whether the terminal device has the ability to identify redundancy information.

[0290] It should be understood that the specific processes of each module executing the above corresponding steps have been described in detail in the above method embodiments. For the sake of brevity, they will not be repeated here.

[0291] In addition, the obtaining module 1201, the processing module 1202, and the sending module 1203 in this communication device can also implement other operations or functions of the terminal device in the above method, which will not be repeated here.

[0292] In another embodiment, this communication device can be used to execute the above Figure 7 , Figures 9 to 11 Operations of the network device. For example:

[0293] An obtaining module 1201, configured to obtain the redundancy of the packet set.

[0294] A processing module 1202, configured to determine a packet loss ratio according to the redundancy, and the packet loss ratio is used to discard packets.

[0295] A sending module 1203, configured to send packet loss ratio information to the terminal device, where the packet loss ratio information indicates the packet loss ratio, and the packet loss ratio information configures the terminal device to discard packets according to the packet loss ratio.

[0296] The obtaining module 1201, the processing module 1202, and the sending module 1203 in this communication device can also implement other operations or functions of the network device in the above method, which will not be repeated here.

[0297] It should be understood that the specific processes of each module executing the above corresponding steps have been described in detail in the above method embodiments. For the sake of brevity, they will not be repeated here.

[0298] Figure 13 Shows another possible structural schematic diagram of the communication device involved in the above embodiments. The communication device includes a processor 1301, such as Figure 13As shown, the communication device may further include at least one memory 1302 for storing program instructions and / or data. The memory 1302 is coupled to the processor 1301. The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which may be electrical, mechanical or other forms for information interaction between devices, units or modules. The processor 1301 may cooperate with the memory 1302. The processor 1301 may execute the program instructions stored in the memory 1302. At least one of the at least one memory may be included in the processor.

[0299] The communication device may further include a transceiver 1303 for communicating with other devices through a transmission medium, so that the device can communicate with other devices. Optionally, the transceiver 1303 may be an interface, a bus, a circuit or a device capable of implementing transceiver functions. Optionally, the transceiver 1303 may include a receiver and a transmitter.

[0300] In the embodiments of the present application, the specific connection medium between the above-mentioned processor 1301, memory 1302 and transceiver 1303 is not limited. In the embodiments of the present application Figure 13 it is shown that the processor 1301, memory 1302 and transceiver 1303 are connected through a bus 1304, and the bus is represented by a thick line in Figure 13 The connection manners between other components are only for illustrative purposes and are not to be construed as limiting. The bus may be divided into an address bus, a data bus, a control bus, etc. For the sake of convenience of representation, Figure 13 only one thick line is used to represent it in

[0301] For example, in one embodiment, the processor 1301 is configured for other operations or functions of the terminal device. The transceiver 1303 is used to implement the communication between the communication device and other network elements / devices (such as network devices).

[0302] In another embodiment, the processor 1301 is configured for other operations or functions of the network device. The transceiver 1303 is used to implement the communication between the communication device and other network elements / devices (such as terminal devices).

[0303] One or more of the above modules or units can be implemented in software, hardware, or a combination of both. When any of the above modules or units is implemented in software, the software exists in the form of computer program instructions and is stored in a memory. The processor can be used to execute the program instructions and implement the above method flow. The processor can include, but is not limited to, at least one of the following: central processing unit (CPU), microprocessor, digital signal processor (DSP), microcontroller unit (MCU), or various computing devices that run software such as artificial intelligence processors. Each computing device can include one or more cores for executing software instructions for arithmetic or processing. The processor can be built into a system-on-a-chip (SoC) or an application specific integrated circuit (ASIC), or it can be an independent semiconductor chip. In addition to the cores in the processor for executing software instructions for arithmetic or processing, it can further include necessary hardware accelerators, such as field programmable gate array (FPGA), programmable logic device (PLD), or logic circuits for implementing dedicated logic operations.

[0304] When the above modules or units are implemented in hardware, the hardware can be any one or any combination of CPU, microprocessor, DSP, MCU, artificial intelligence processor, ASIC, SoC, FPGA, PLD, dedicated digital circuit, hardware accelerator, or non-integrated discrete devices, which can run the necessary software or execute the above method flow without relying on software.

[0305] When the above modules or units are implemented in software, they 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. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wirelessly (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more integrated available media. The available medium may be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a digital video disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).

[0306] The specific embodiments described above further elaborate on the purpose, technical solutions, and beneficial effects of the present application. It should be understood that the above are only specific embodiments of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present application shall be included in the protection scope of the present application.

[0307] According to the method provided by the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code that, when run on a computer, causes the computer to execute the method on the terminal device side in the foregoing method embodiments.

[0308] According to the method provided by the embodiments of the present application, the present application also provides a computer program product, which includes: computer program code that, when run on a computer, causes the computer to execute the method on the network device side in the foregoing method embodiments.

[0309] According to the method provided by the embodiments of the present application, the present application also provides a computer-readable medium that stores program code that, when run on a computer, causes the computer to execute the method on the terminal device side in the foregoing method embodiments.

[0310] According to the method provided by the embodiments of the present application, the present application also provides a computer-readable medium storing program code, which, when running on a computer, causes the computer to execute the method on the network device side in the foregoing method embodiments.

[0311] The embodiments of the present application also provide a processing device, including a processor and an interface; the processor is used to execute the communication method in any of the foregoing method embodiments.

[0312] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0313] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.

[0314] In several embodiments provided by 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 merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, 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 displayed or discussed couplings, direct couplings, or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of the devices or units can be in electrical, mechanical, or other forms.

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

[0316] In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit.

[0317] When the above-mentioned 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 this application, in essence, or the part that makes a contribution, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs.

[0318] As described above, the above are only specific implementation manners of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed by this application can easily think of changes or substitutions, which should all be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims

1. A method for processing data packets, characterized in that, including: The terminal device obtains the packet loss ratio; The terminal device determines a packet loss strategy; The terminal device discards packets in the packet set according to the packet loss ratio and the packet loss strategy.

2. The method according to claim 1, characterized in that, The packet loss strategy is: Discard the packets corresponding to the packet loss ratio in the packet set of low importance; Or, Discard the packets corresponding to the packet loss ratio in the packet set of high importance; Or, Discard the packets corresponding to the packet loss ratio in the packet set of high importance and all packets in the packet set of low importance; Or, Discard the packets corresponding to the packet loss ratio in each packet set; Or, Discard the packets corresponding to the first packet loss ratio in the packet set of high importance and the packets corresponding to the second packet loss ratio in the packet set of low importance, where the first packet loss ratio and the second packet loss ratio belong to the packet loss ratio.

3. The method according to claim 1 or 2, characterized in that, The terminal device obtaining the packet loss ratio includes: The terminal device receives packet loss ratio information from a network device, and the packet loss ratio information indicates the packet loss ratio.

4. The method according to claim 1 or 2, characterized in that, The terminal device obtaining the packet loss ratio includes: The terminal device receives configuration information from the network device, and the configuration information configures the terminal device to discard packets according to the redundancy of the packet set; The terminal device obtains the redundancy; The terminal device determines the packet loss ratio according to the redundancy.

5. The method according to claim 4, characterized in that, The terminal device obtaining the redundancy includes: The terminal device receives redundancy information from the application layer, and the redundancy information indicates the redundancy; The terminal device determines the redundancy according to the redundancy information.

6. The method according to claim 4 or 5, characterized in that, The packet loss ratio is less than or equal to the redundancy.

7. The method according to any one of claims 4 to 6, characterized in that, The method further includes: The terminal device reports capability information to the network device, and the capability information indicates whether the terminal device has the ability to recognize the redundancy information.

8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: The terminal device receives first indication information from the network device, and the first indication information indicates that the terminal device starts to discard packets.

9. The method according to claim 8, characterized in that, The first indication information also indicates the packet loss strategy, and the terminal device determining the packet loss strategy includes: The terminal device determines the packet loss strategy according to the first indication information.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: The terminal device receives identification information corresponding to the packet set sent by the network device, and the identification information is at least one of a session identifier of a protocol data unit (PDU) session corresponding to the packet set, a flow identifier of a quality of service (QoS) flow corresponding to the packet set, and an identifier of a data radio bearer (DRB) corresponding to the packet set.

11. A method for processing data packets, characterized in that, including: The network device obtains the redundancy of the packet set; The network device determines a packet loss ratio according to the redundancy, and the packet loss ratio is used to discard packets; The network device sends packet loss ratio information to the terminal device, and the packet loss ratio information indicates the packet loss ratio, and the packet loss ratio information configures the terminal device to discard packets according to the packet loss ratio.

12. The method according to claim 11, characterized in that, The packet loss ratio is less than or equal to the redundancy.

13. The method according to claim 11 or 12, characterized in that, The method further includes: The network device sends first indication information to the terminal device, and the first indication information instructs the terminal device to start packet loss.

14. The method according to claim 13, characterized in that, The first indication information further indicates a packet loss policy.

15. The method according to claim 14, characterized in that, The packet loss policy is as follows: Discard the packets corresponding to the packet loss ratio in the set of packets with low importance; Or, Discard the packets corresponding to the packet loss ratio in the set of packets with high importance; Or, Discard the packets corresponding to the packet loss ratio in the set of packets with high importance and all the packets in the set of packets with low importance; Or, Discard the packets corresponding to the packet loss ratio in each set of packets; Or, Discard the packets corresponding to a first packet loss ratio in the set of packets with high importance and the packets corresponding to a second packet loss ratio in the set of packets with low importance, where the first packet loss ratio and the second packet loss ratio belong to the packet loss ratio.

16. The method according to any one of claims 11 to 15, characterized in that, The method further includes: The network device sends identification information corresponding to the set of packets to the terminal device, and the identification information is at least one of a session identifier of a protocol data unit (PDU) session corresponding to the set of packets, a flow identifier of a quality of service (QoS) flow corresponding to the set of packets, and an identifier of a data radio bearer (DRB) corresponding to the set of packets.

17. The method according to any one of claims 11 to 16, characterized in that, The method further includes: The network device sends third indication information to the terminal device, and the third indication information instructs the terminal device to stop discarding packets.

18. A method for processing data packets, characterized in that, It includes: The network device determines that there is redundancy in the set of packets; The network device sends configuration information to the terminal device, and the configuration information configures the terminal device to discard packets according to the redundancy of the set of packets, where the redundancy is used to determine a packet loss ratio, and the packet loss ratio is used to discard packets.

19. The method according to claim 18, characterized in that, The packet loss ratio is less than or equal to the redundancy.

20. The method according to claim 18 or 19, characterized in that,The method further includes: The network device receives capability information from the terminal device, and the capability information indicates whether the terminal device has the ability to recognize the redundancy information.

21. The method according to any one of claims 18 to 20, characterized in that, The method further includes: The network device sends first indication information to the terminal device, and the first indication information instructs the terminal device to start packet loss.

22. The method according to claim 21, characterized in that, The first indication information further indicates a packet loss policy.

23. The method according to claim 22, characterized in that, The packet loss policy is as follows: Discard the packets corresponding to the packet loss ratio in the set of packets with low importance; Or, Discard the packets corresponding to the packet loss ratio in the set of packets with high importance; Or, Discard the packets corresponding to the packet loss ratio in the set of packets with high importance and all the packets in the set of packets with low importance; Or, Discard the packets corresponding to the packet loss ratio in each set of packets; Or, Discard the packets corresponding to a first packet loss ratio in the set of packets with high importance and the packets corresponding to a second packet loss ratio in the set of packets with low importance, where the first packet loss ratio and the second packet loss ratio belong to the packet loss ratio.

24. The method according to any one of claims 18 to 23, characterized in that, The method further includes: The network device sends the identification information corresponding to the packet set to the terminal device, where the identification information is at least one of a session identifier of a protocol data unit (PDU) session corresponding to the packet set, a flow identifier of a quality of service (QoS) flow corresponding to the packet set, and an identifier of a data radio bearer (DRB) corresponding to the packet set.

25. The method according to any one of claims 18 to 24, characterized in that, The method further includes: The network device sends third indication information to the terminal device, where the third indication information instructs the terminal device to stop discarding packets.

26. A communication device, characterized in that, including: a unit or module for implementing the method according to any one of claims 1 to 10, or a unit or module for implementing the method according to any one of claims 11 to 17, or a unit or module for implementing the method according to any one of claims 18 to 25.

27. A communication system, characterized in that, including: a first communication device and a second communication device; The first communication device is configured to implement the method according to any one of claims 1 to 10; The second communication device is configured to implement the method according to any one of claims 11 to 17, or to implement the method according to any one of claims 18 to 25.

28. A computer-readable storage medium, characterized in that, A computer-readable storage medium stores computer instructions. When the computer instructions run on the first communication device, the first communication device is caused to execute the method according to any one of claims 1 to 10; or when the computer instructions run on the second communication device, the second communication device is caused to execute the method according to any one of claims 11 to 17, or the second communication device is caused to execute the method according to any one of claims 18 to 25.

29. A chip system, characterized in that, including: The chip includes a processor and a communication interface. The processor reads and runs instructions through the communication interface. When the chip is installed in the first communication device, the first communication device is caused to execute the method according to any one of claims 1 to 10; or when the chip is installed in the second communication device, the second communication device is caused to execute the method according to any one of claims 11 to 17, or the second communication device is caused to execute the method according to any one of claims 18 to 25.

Citation Information

Cited By

  • Method for processing data packet, and communication apparatus

    EP4811858A1

  • Method for processing data packet, and communication apparatus

    WO2025130718A1