Data processing method and apparatus, storage medium and program product

By introducing parallel processing of sub-instances or sub-streams into PDCP entities and associating SDAP entities with multiple PDCP entities, the problem of low processing efficiency of traditional PDCP entities is solved, and efficient data processing of communication systems is achieved.

WO2026242745A1PCT designated stage Publication Date: 2026-11-26ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/092393
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-04-22
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Traditional PDCP entities are inefficient in data processing, which leads to a decrease in the communication efficiency of the communication system.

Method used

By introducing the concept of sub-instances or sub-streams into PDCP entities, data packets can be processed in parallel, and multiple PDCP entities can be associated through SDAP entities to improve data processing efficiency.

Benefits of technology

It improves the efficiency of PDCP entities in processing data packets, thereby enhancing the overall communication efficiency of the communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026092393_26112026_PF_FP_ABST
    Figure CN2026092393_26112026_PF_FP_ABST
Patent Text Reader

Abstract

A data processing method and apparatus, a storage medium and a program product. The method comprises: acquiring a first data packet; and processing the first data packet on the basis of a sub-instance or sub-stream or sub-stream group corresponding to the first data packet, so as to obtain a second data packet, wherein the sub-instance or sub-stream or sub-stream group corresponding to the first data packet belongs to a plurality of sub-instances or sub-streams or sub-stream groups.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing methods, devices, storage media and software products

[0001] This disclosure claims priority to Chinese patent application No. 202510678690.4, filed on May 23, 2025, the entire contents of which are incorporated herein by reference. Technical Field

[0002] This disclosure relates to the field of communication technology, and in particular to a data processing method, apparatus, storage medium, and program product. Background Technology

[0003] In wireless communication systems, multiple communication nodes can communicate through multiple layers of protocols. Among these, the Packet Data Convergence Protocol (PDCP) layer is used to implement various functions such as data compression, transmission, and reordering. However, traditional PDCP entities are inefficient in data processing, thus reducing the communication efficiency of the system. Summary of the Invention

[0004] On the one hand, a data processing method is provided, including: acquiring a first data packet;

[0005] The first data packet is processed based on the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet to obtain the second data packet.

[0006] On the other hand, a data processing method is provided, including: acquiring a second data packet;

[0007] The second data packet is processed based on the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet to obtain the first data packet.

[0008] In another aspect, a data processing method is provided, comprising: processing a third data packet of at least one QoS stream through the SDAP entity to obtain a fourth data packet;

[0009] The fourth data packet is sent to the PDCP entity corresponding to the fourth data packet.

[0010] In another aspect, a data processing method is provided, comprising: acquiring a fourth data packet transmitted by at least one of the plurality of PDCP entities; the fourth data packet belonging to at least one QoS flow;

[0011] The fourth data packet is processed.

[0012] In another aspect, a data processing apparatus is provided, comprising: an acquisition unit and a processing unit;

[0013] The acquisition unit is used to acquire the first data packet;

[0014] The processing unit is configured to process the first data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet to obtain the second data packet.

[0015] In another aspect, a data processing apparatus is provided, comprising: an acquisition unit and a processing unit;

[0016] The acquisition unit is used to acquire the second data packet;

[0017] The processing unit is configured to process the second data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet to obtain the first data packet.

[0018] In another aspect, a data processing apparatus is provided, comprising: a processing unit and a transmitting unit;

[0019] The processing unit is used to process at least one third data packet of a QoS flow through the SDAP entity to obtain a fourth data packet;

[0020] The sending unit is used to send the fourth data packet to the PDCP entity corresponding to the fourth data packet.

[0021] In another aspect, a data processing apparatus is provided, comprising: an acquisition unit and a processing unit;

[0022] The acquisition unit is configured to acquire a fourth data packet transmitted by at least one of the plurality of PDCP entities; the fourth data packet belongs to at least one QoS flow;

[0023] The processing unit is used to process the fourth data packet.

[0024] In another aspect, a communication device is provided, comprising: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the above-described data processing method when executing the computer program.

[0025] In another aspect, a computer-readable storage medium is provided, on which computer program instructions are stored, which, when executed by a processor, implement the above-described data processing method.

[0026] In another aspect, a computer program product is provided, which includes computer program instructions that, when executed by a processor, implement the aforementioned data processing method. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in this disclosure, the accompanying drawings used in some embodiments of this disclosure will be briefly described below. Obviously, the drawings described below are merely drawings of some embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these drawings.

[0028] Figure 1 is a block diagram of a communication system according to some embodiments;

[0029] Figure 2 is a flowchart of a data processing method according to some embodiments;

[0030] Figure 3 is a schematic diagram of the structure of a PDCP PDU according to some embodiments;

[0031] Figure 4 is a flowchart of another data processing method according to some embodiments;

[0032] Figure 5 is a flowchart of another data processing method according to some embodiments;

[0033] Figure 6 is a schematic diagram of the structure between the SDAP entity, PDCP entity and RLC entity according to some embodiments;

[0034] Figure 7 is a schematic diagram of the structure of an SDAP data PDU according to some embodiments;

[0035] Figure 8 is a schematic diagram of the structure of another SDAP data PDU according to some embodiments;

[0036] Figure 9 is a flowchart of another data processing method according to some embodiments;

[0037] Figure 10 is a block diagram of a communication device according to some embodiments;

[0038] Figure 11 is a block diagram of another communication device according to some embodiments;

[0039] Figure 12 is a block diagram of another communication device according to some embodiments;

[0040] Figure 13 is a block diagram of another communication device according to some embodiments;

[0041] Figure 14 is a block diagram of another communication device according to some embodiments. Detailed Implementation

[0042] The technical solutions of this disclosure will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0043] Unless the context otherwise requires, throughout the specification and claims, the term "comprise" and its other forms, such as the third-person singular "comprises" and the present participle "comprising," are interpreted as open-ended and encompassing, meaning "including, but not limited to." In the description of the specification, terms such as "one embodiment," "some embodiments," "exemplary embodiments," "example," "specific example," or "some examples," etc., are intended to indicate that a particular feature, structure, material, or characteristic associated with that embodiment or example is included in at least one embodiment or example of this disclosure. The illustrative representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics mentioned may be included in any suitable manner in any one or more embodiments or examples.

[0044] It should be noted that, in this disclosure, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in this disclosure should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.

[0045] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0046] In the description of this disclosure, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. Furthermore, "at least one" means one or more, and "more than one" means two or more.

[0047] In this disclosure, suffixes such as "module," "part," or "unit" used to represent elements are used only for the purpose of illustrative purposes and have no inherent meaning. Therefore, "module," "part," or "unit" can be used interchangeably.

[0048] In wireless communication systems, a Protocol Data Unit (PDU) session is a logical connection between user equipment (UE) and the data network. It is used to transmit user data in the wireless network, providing an end-to-end communication path between the terminal and the data network, enabling the terminal to access data services through the wireless network. A PDU session includes one or more Quality of Service (QoS) flows. Each QoS flow consists of one or more data packets and is identified by a Quality of Service Flow Identifier (QFI). Different QoS flows may have different QoS requirements and parameters. One or more QoS flows are mapped to a Data Radio Bearer (DRB). The DRB can be transmitted through one or more logical channels, which are scheduled and mapped to physical channels at the Medium Access Control (MAC) layer for transmission.

[0049] Furthermore, multiple communication nodes can communicate through multi-layered protocols, such as the PDCP layer (or PDCP protocol layer, PDCP protocol) and the Service Data Protocol (SDAP) layer. For the PDCP layer, a UE can configure multiple PDCP entities, each of which carries data for a radio bearer (RB), including data radio bearer signals and signaling radio bearer (SRB). PDCP entities can perform the following functions:

[0050] Header compression and decompression, for example, using the robust header compression (ROHC) protocol or the EHC protocol for header compression and decompression;

[0051] Uplink data compression and decompression, for example, using the uplink data compression (UDC) protocol;

[0052] Encryption and decryption;

[0053] Integrity protection and integrity verification;

[0054] SDU discard based on timer;

[0055] Reordering and in-order delivery of data;

[0056] Out-of-order delivery;

[0057] Duplication discarding;

[0058] Duplication involves sending each PDCP PDU to two or more logical channels for transmission to improve transmission reliability.

[0059] Furthermore, a PDCP entity can include a PDCP sender entity and a PDCP receiver entity. The behavior of a PDCP sender entity includes:

[0060] The system receives PDCP service data units (SDUs) from the upper layer and associates a COUNT value with each received PDCP SDU. The COUNT value consists of two parts: a hyperframe number (HFN) and a PDCP sequence number (SN). Here, the PDCP SN is the least significant bit of the COUNT, and the HFN is the most significant bit of the COUNT.

[0061] Based on the associated COUNT value, the PDCP receiver can perform header compression, integrity protection, and ciphering operations on the PDCP SDU.

[0062] The PDCP receiver constructs the PDCP PDU corresponding to the PDCP SDU. The PDCP PDU includes the PDCP SDU and the protocol header of the PDCP PDU, and the PDCP SN is included in the PDCP header.

[0063] The behavior of the PDCP receiver entity includes:

[0064] Upon receiving an RLC SDU (PDCP PDU) from its lower-layer protocol (e.g., the radio link control layer, RLC layer), the system determines the associated COUNT value based on the PDCP PDU's PDCP SN. Based on the COUNT value, if the PDCP PDU is encrypted or integrity-protected, it is deciphered and integrity-verified. Based on the COUNT value, it checks whether this PDCP PDU has been received before; if so, it is discarded; otherwise, it is placed in the receive buffer. If out-of-order delivery is not configured, or in-order delivery is configured, the received PDCP SDUs are reordered based on the COUNT value, and delivered to the upper layer in the order of their associated COUNT values.

[0065] When PDCP detects a missing PDCP SDU, for example when the COUNT value of the received PDCP SDU is not continuous, PDCP can start a reordering timer to wait for the missing PDCP SDU. When the reordering timer times out, the PDCP layer gives up waiting for the missing PDCP SDU.

[0066] Furthermore, PDCP entities can also perform PDCP re-establishment or PDCP recovery operations. A PDCP entity can perform PDCP re-establishment or PDCP recovery operations according to instructions from the upper layer. However, the behavior of the PDCP sending entity and the PDCP receiving entity differs regarding PDCP re-establishment or recovery operations. The behavior of the PDCP sending entity in performing re-establishment or recovery includes:

[0067] For PDCP entities without pending acknowledged mode data radio bearers (AM DRBs), starting from the first PDCP data SDU (i.e., PDCP SDU) that was not successfully acknowledged by its lower layer, all PDCP SDUs that were associated with a PDCP SN before PDCP reconstruction are sent or resent to their lower layer protocols in ascending order of their COUNT values.

[0068] For AM DRBs where PDCP entities are suspended, starting with the first PDCP data SDU that has not been successfully sent by its lower layer, each PDCP SDU associated with a PDCP SN but not yet sent to its lower layer protocol is sent to the lower layer protocol in ascending order of its COUNT value.

[0069] For DRBs in unacknowledged (UM) mode, for each PDCP SDU associated with a PDCP SN but not yet sent to its lower-layer protocol, it is sent to the lower-layer protocol in ascending order of its COUNT value.

[0070] The actions of the PDCP receiver entity in rebuilding or restoring include:

[0071] For UM DRB and SRB, reset RX_NEXT and RX_DELIV, stop operation, and reset the reordering timer. For UM DRB, send the stored PDCP SDUs to their upper-layer protocols in the order of their COUNT values. For SRB, discard all saved PDCP SDUs and PDCP PDUs.

[0072] Here, AM DRB's data recovery function includes:

[0073] Retransmitted PDCP SDUs that were previously sent to the reconstructed or released AM RLC entities and for which the lower-layer protocol has not confirmed successful transmission, in ascending order of COUNT value.

[0074] The above describes the functions of a PDCP entity. However, traditional PDCP entities are less efficient in data processing, which reduces communication efficiency.

[0075] To address this, this disclosure provides a data processing method. After acquiring a first data packet, the PDCP entity of a first node can process the first data packet according to the corresponding sub-instance, sub-stream, or sub-stream group. In this way, the first node can process multiple first data packets in parallel based on sub-instances, sub-streams, or sub-stream groups, thereby improving the processing efficiency of the PDCP entity and enhancing communication efficiency.

[0076] In some scenarios, a SDAP layer may be included among the multiple protocol layers in a wireless communication system. The SDAP layer maps QoS flows to DRBs (Device Flow Blocks). A DRB includes one or more QoS flows, and a QoS flow is mapped to only one DRB. A DRB is associated with an SDAP entity and a PDCP entity. The base station can configure the SDAP and PDCP configuration information associated with the DRB. The SDAP configuration information includes information about the QoS flows mapped to the DRB and the information about the PDU session to which they belong. However, a QoS flow can only be mapped to one DRB and transmitted by one PDCP entity. This results in lower processing efficiency for the QoS flow data transmitted from the SDAP entity to the PDCP entity, thus reducing communication efficiency.

[0077] In response, this disclosure provides another data processing method. The SDAP entity in the first node can be associated with multiple PDCP entities and process at least one third data packet of a QoS stream to obtain a fourth data packet. The SDAP entity can send the processed fourth data packet to the corresponding PDCP entity, enabling multiple PDCP entities corresponding to the SDAP entity to process the fourth data packet transmitted by the SDAP entity in parallel. This improves the efficiency of the PDCP entity in processing QoS stream data and enhances communication efficiency.

[0078] The data processing method provided in this disclosure can be applied to systems with various communication standards. For example, the systems to which the data processing provided in this disclosure is applicable include, but are not limited to, long-term evolution (LTE) systems, various versions based on LTE evolution, 5G systems, future mobile communication networks (such as 6G mobile communication networks), or multiple converged communication systems. Furthermore, the data processing method provided in this disclosure can also be applied to future-oriented communication systems.

[0079] For example, the above data processing method can be applied to the communication system shown in FIG1. ​​As shown in FIG1, the communication system includes: a first node 101 and a second node 102.

[0080] Here, the first node 101 and the second node 102 are communicatively connected. One of the first node 101 and the second node 102 can be a user-side device such as user equipment (UE) or a terminal, and the other can be a network-side device such as a base station or a relay node. Furthermore, the first node 101 and the second node 102 can include SDAP entities and PDCP entities. Figure 1 uses the example of the first node 101 as a terminal and the second node 102 as a base station.

[0081] In some embodiments, the first node 101 can acquire a first data packet. Then, the first node 101 can process the first data packet based on the corresponding sub-instance, sub-stream, or sub-stream group to obtain a second data packet. In this way, the first node 101 can process multiple first data packets in parallel according to a sub-instance, sub-stream, or sub-stream group, thereby improving the processing efficiency of the PDCP entity on data packets and enhancing communication efficiency.

[0082] In some other embodiments, the first node 101 can process at least one third data packet of a QoS stream through an SDAP entity to obtain a fourth data packet. Then, the first node 101 can send the fourth data packet to the corresponding PDCP entity. In this way, the first node 101 can process the data transmitted by the SDAP entity in parallel through multiple PDCP entities, thereby improving the efficiency of the PDCP entity in processing QoS stream data and enhancing communication efficiency.

[0083] It should be noted that Figure 1 is only an exemplary framework diagram. The number of communication devices included in Figure 1 and the names of each communication device are not limited. In addition to the communication devices shown in Figure 1, the communication system may also include other communication devices, such as relay nodes.

[0084] The application scenarios of the embodiments disclosed herein are not limited. The system architecture and business scenarios described in the embodiments of this disclosure are for the purpose of more clearly illustrating the technical solutions of the embodiments of this disclosure, and do not constitute a limitation on the technical solutions provided by the embodiments of this disclosure. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of this disclosure are also applicable to similar technical problems.

[0085] The data processing method provided in the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0086] The data processing method provided in this disclosure can be applied to the first node 101 in the communication system shown in FIG1. ​​FIG2 shows a flowchart of a data processing method, which includes the following steps S201 and S202.

[0087] S201, Obtain the first data packet.

[0088] Here, the first node includes PDCP entities, such as the PDCP sender entity and the PDCP receiver entity. The first data packet can be a PDCP SDU or a PDCP data SDU. There can be one or more first data packets.

[0089] When the PDCP entity processes data, it can receive PDCP SDUs sent by the upper-layer protocol entity of the PDCP entity (such as the SDAP entity or the RRC entity). In other words, at this time, the PDCP entity is the PDCP sending entity.

[0090] S202. Process the first data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet to obtain the second data packet.

[0091] Here, the second data packet is a PDCP PDU or a PDCP data PDU. The number of sub-instances, sub-streams, or sub-stream groups can be configured by the base station or preset. In the embodiments of this disclosure, multiple sub-instances, sub-streams, or sub-stream groups are understood as multiple sub-instances, multiple sub-streams, or multiple sub-stream groups, and will not be elaborated further.

[0092] After acquiring the first data packet, the PDCP entity can determine the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet. Then, the PDCP entity can process the first data packet according to at least one sub-instance, sub-stream, or sub-stream group corresponding to it to obtain the second data packet. In this way, the PDCP entity can process the first data packet in parallel according to the corresponding sub-instance, sub-stream, or sub-stream group, thereby improving data packet processing efficiency and communication efficiency.

[0093] Furthermore, after receiving the second data packet, the PDCP entity can transmit it to a lower-level protocol entity (such as an RLC entity or a MAC entity). Then, the first node can transmit the processed second data packet from the lower-level protocol entity to the second node.

[0094] It should be noted that, for sub-instances, a sub-instance is a processing unit that uses processing resources. Different sub-instances use different processing resources, that is, the processing resources are grouped. For example, the processing resources used by a sub-instance are hardware processing resources, such as processors and / or memory. A sub-instance can have independent processor and memory resources. Data packets are mapped (or allocated) to the corresponding sub-instances for processing, that is, processing is carried out through the processing resources of the sub-instances.

[0095] For sub-streams, a sub-stream is a logical grouping of data (or data packets), that is, multiple data streams obtained by the PDCP entity dividing the data. The PDCP entity can perform parallel processing on the received data packets based on these multiple data streams, thereby improving processing efficiency.

[0096] For a sub-flow group, one or more sub-flows belong to a sub-flow group. The sub-flow group corresponding to each first data packet is determined based on the sub-flow and the second mapping relationship corresponding to each first data packet. The second mapping relationship is the mapping relationship between the sub-flow and the sub-flow group.

[0097] Here, sub-streams and sub-stream groups map data packets to different processing resources to achieve parallel processing, eliminating the need for standardized hardware processor resource grouping and offering greater flexibility. Both sub-instances and sub-streams can process data in parallel, thereby increasing processing capacity. For example, multiple lower-capacity processors can be used to achieve real-time parallel processing of large volumes of data, improving processing efficiency.

[0098] In one possible implementation, a sub-instance can correspond to a sub-stream or sub-stream group. That is, when processing data packets based on each sub-stream or sub-stream group, the processing is performed through the processing resources corresponding to the sub-instance.

[0099] In some embodiments, the PDCP entity determines (or assigns) the sub-instance, sub-flow, or sub-flow group corresponding to (also referred to as associated, used, owned, etc.) the first data packet in a manner that may include at least one of the following:

[0100] The mapping relationship is determined based on the first mapping relationship and the QoS flow to which the first data packet belongs. The first mapping relationship is the mapping relationship from the QoS flow to the sub-instance, sub-flow, or sub-flow group.

[0101] The method of uniform distribution is determined by distributing multiple first packets evenly to multiple sub-instances, sub-streams, or sub-stream groups based on the number or length of multiple first packets (e.g., the cumulative number and length of multiple first packets).

[0102] The allocation is determined by a round-robin method, which includes allocating N first data packets to each sub-instance, sub-stream, or sub-stream group in turn, where N is preset or configured by the base station; for example, N data packets are allocated to one sub-instance, sub-stream, or sub-stream group, and then N data packets are allocated to the next sub-instance, sub-stream, or sub-stream group, and so on.

[0103] The method of determining the PDU set includes allocating the first data packet belonging to the same PDU set to the same sub-instance, sub-stream, or sub-stream group, or distributing the data of the same PDU set to different sub-instances, sub-streams, or sub-stream groups, in order to speed up the processing speed of the PDU set and reduce latency; for example, the first data packet of one or more PDU sets is allocated to a sub-instance, sub-stream, or sub-stream group, and the UE decides which sub-instance, sub-stream, or sub-stream group the first data packet of which PDU set is allocated to.

[0104] The method of determining according to QoS flow includes assigning the first data packet belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and assigning the first data packet of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group; for example, the UE decides which QoS flow's first data packet is assigned to which sub-instance, sub-flow, or sub-flow group.

[0105] The above describes the method for allocating a sub-instance, sub-stream, or sub-stream group corresponding to a first data packet. After determining the sub-instance, sub-stream, or sub-stream group corresponding to each first data packet, the PDCP entity can process the corresponding first data packet based on the sub-instance, sub-stream, or sub-stream group. The processing of the first data packet based on the sub-instance, sub-stream, or sub-stream group includes at least one of the following:

[0106] Associate the first data packet with a PDCP counter value (i.e., the PDCP COUNT value);

[0107] Header compression of the PDCP SDU includes robust header compression (ROHC) and / or Ethernet header compression (EHC).

[0108] Compress the uplink data packets and / or uplink data in the first data packet;

[0109] Perform integrity protection on the first data packet;

[0110] The first data packet is encrypted;

[0111] Determine the PDCP sequence number (i.e., PDCP SN) of the first data packet and set the PDCP sequence number for the first data packet;

[0112] Set the identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet in the header of the second data packet.

[0113] In other words, the PDCP entity can perform header compression, integrity protection, encryption, and set the identifier of a sub-instance, sub-stream, or sub-stream group for the first data packet to obtain the second data packet.

[0114] Furthermore, the first data packet needs to be processed in other ways. Specifically, the processing of the first data packet includes at least one of the following:

[0115] The first data packets corresponding to the same sub-instance, sub-stream, or sub-stream group are processed sequentially; for multiple first data packets corresponding to the same sub-instance, sub-stream, or sub-stream group, these multiple first data packets can be processed sequentially.

[0116] The first data packets corresponding to different sub-instances, sub-streams, or sub-stream groups are processed in parallel. For different sub-instances, sub-streams, or sub-stream groups, the processing of their respective first data packets is done in parallel, that is, the PDCP entity processes the first data packets corresponding to each sub-instance, sub-stream, or sub-stream group in parallel.

[0117] Each first data packet corresponding to a sub-instance, sub-stream, or sub-stream group is processed using the same processing context; the first data packet corresponding to a sub-instance, sub-stream, or sub-stream group is processed using the same processing context.

[0118] The first data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed using different processing contexts; the processing contexts used for different sub-instances, sub-streams, or sub-stream groups are different.

[0119] Here, the processing context may include at least the context of header compression processing.

[0120] In some embodiments, the header of the second data packet includes at least one of the following: an indication of whether the second data packet includes an identifier of a sub-instance, sub-stream, or sub-stream group; and an identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet. Here, since the second data packet is obtained by processing the first data packet, the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet can also be understood as the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet (corresponding to the first data packet).

[0121] When generating the second data packet, the PDCP sending entity can either set the identifier of the corresponding sub-instance, sub-flow, or sub-flow group in the second data packet, or it can choose not to. Whether to set it can be determined based on the base station configuration. To reduce the workload of the PDCP receiving entity, the PDCP sending entity can set an indication in the second data packet as to whether to include the identifier of the sub-instance, sub-flow, or sub-flow group. In this way, the PDCP receiving entity can determine whether to continue searching for the identifier of the sub-instance, sub-flow, or sub-flow group in the second data packet based on the indication, thereby improving the processing efficiency of the PDCP receiving end.

[0122] The above describes the process by which the PDCP entity processes the first data packet to obtain the second data packet. However, the PDCP entity's processing of the first data packet also requires processing based on the base station's first configuration information (i.e., generating and / or sending the second data packet); the first configuration information includes at least one of the following:

[0123] Indication on whether a data processing method is used for downlink transmission; it should be understood that the data processing method is the method provided in the embodiments of this disclosure, and can be referred to the description in the embodiments of this disclosure (e.g., S201, S202, etc.), which will not be repeated here;

[0124] Indicator of whether a data processing method is used for uplink transmission;

[0125] An indication of whether the second data packet includes the identifier of a sub-instance, sub-stream, or sub-stream group; for a PDCP receiver entity, this indication is used to indicate whether the received PDCP PDU header (i.e., the header of the second data packet) contains the identifier of a sub-instance, sub-stream, or sub-stream group. For a PDCP sender entity, this indication is used to indicate whether the transmitted PDCP PDU header contains the identifier of a sub-instance, sub-stream, or sub-stream group.

[0126] The second configuration information is used to allocate the first data packet to the corresponding sub-instance, sub-stream, or sub-stream group.

[0127] The number of sub-instances, sub-streams, or sub-stream groups used for uplink transmission; this number indicates the number of sub-instances, sub-streams, or sub-stream groups that the UE processes for uplink PDCP PDUs. For example, since the number of sub-instances, sub-streams, or sub-stream groups that the base station processes for uplink PDCP PDUs is the same as the number of sub-instances, sub-streams, or sub-stream groups that the UE processes for uplink PDCP PDUs, this configuration can instruct the UE to set the number of sub-instances, sub-streams, or sub-stream groups that it processes for uplink PDCP PDUs to match the base station's parallel processing capabilities and requirements, thereby improving processing efficiency.

[0128] The number of sub-instances, sub-streams, or sub-stream groups used for downlink transmission; this number indicates the number of sub-instances, sub-streams, or sub-stream groups that the UE processes for the downlink PDCP PDU, i.e., the number of sub-instances, sub-streams, or sub-stream groups that the UE needs to prepare for this PDCP entity. For example, the number of PDCP sub-instances processed by the UE and the base station for the downlink PDCP PDU can be the same.

[0129] Third configuration information associated with a sub-instance, sub-stream, or sub-stream group for processing the first data packet. That is, different sub-instances, sub-streams, or sub-stream groups have different third configuration information. Each sub-instance, sub-stream, or sub-stream group may be configured with data processing settings independent of other sub-instances, sub-streams, or sub-stream groups. These data processing settings include:

[0130] The header compression configuration includes at least one of the following: whether to use header compression, ROHC configuration, maxCID (i.e., the maximum value of the header compression context ID), profile, and an indication to reset or continue RHOC header compression during PDCP reconstruction.

[0131] Here, the second configuration information includes at least one of the following:

[0132] Mapping information between QoS flows and sub-instances, sub-flows, or sub-flow groups, including information about the QoS flows corresponding to each sub-instance, sub-flow, or sub-flow group, and / or information about the sub-instances, sub-flows, or sub-flow groups corresponding to each QoS flow;

[0133] Whether the terminal determines the sub-instance, sub-stream, or sub-stream group to which the first data packet belongs;

[0134] The method used to determine the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet (i.e., the round-robin allocation method, the uniform allocation method, etc. mentioned above).

[0135] In one possible implementation, the first configuration information may further include a second mapping relationship between sub-streams and sub-stream groups, including at least one of the following: information about the sub-streams included in a sub-stream group, information about the sub-stream group to which a sub-stream belongs, and information about the sub-streams belonging to the same sub-stream group (i.e., information indicating which sub-streams belong to the same sub-stream group).

[0136] For example, as shown in Figure 3, a PDCP PDU includes N bytes (i.e., Oct 1…Oct N). Oct 1 includes Data / Control (D / C), A (the A field, used to indicate whether the PDCP PDU header contains a sub-instance, sub-stream, or sub-stream group identifier), ID (the identifier of the sub-instance, sub-stream, or sub-stream group), and PDCP SN (the sequence number of the PDCP PDU, i.e., a part of the PDCP SN). Oct 2 includes the PDCP SN (another part of the PDCP SN). Oct 3 includes data. Oct N-3 includes MAC-I (optional). Oct N-2 includes MAC-I (cont.) (optional). Oct N-1 includes MAC-I (cont.) (optional). Oct N includes MAC-I (cont.) (optional). The data portion is the processed data packet data, and the MAC-I is integrity protection information.

[0137] The data processing method provided in this embodiment can be applied to the second node 102 in the communication system shown in FIG1. ​​FIG4 shows a flowchart of another data processing method, which includes the following S401 and S402.

[0138] S401, Obtain the second data packet.

[0139] S402. Process the second data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet to obtain the first data packet.

[0140] Here, the second node includes a PDCP entity. The second data packet can be a PDCP PDU or a PDCP data PDU; there can be one or more second data packets. The first data packet is a PDCP SDU or a PDCP data SDU.

[0141] When a PDCP entity processes data, it can receive a second data packet sent by a lower-level protocol entity (such as an RLC entity or a MAC entity). In other words, at this time, the PDCP entity is a PDCP receiver entity.

[0142] After acquiring the second data packet, the PDCP entity can determine the corresponding sub-instance, sub-stream, or sub-stream group from among multiple associated sub-instances, sub-streams, or sub-stream groups. Then, the PDCP entity can process the second data packet based on at least one corresponding sub-instance, sub-stream, or sub-stream group to obtain the first data packet. In this way, the PDCP entity can process the second data packet in parallel based on its corresponding sub-instance, sub-stream, or sub-stream group, thereby improving data packet processing efficiency and communication efficiency.

[0143] Furthermore, after receiving the first data packet, the PDCP entity can transmit it to an upper-layer protocol entity (such as an SDAP entity or a radio resource control (RRC) entity). The second data packet received by the second node can be obtained by processing the first data packet on the first node's side. The first node, after processing the second data packet based on other protocol layer entities, sends it to the second node. The second node then processes the received data packet from the first node through multiple protocol layer entities to obtain the second data packet and transmits it to the PDCP receiving entity.

[0144] In some embodiments, the PDCP receiver entity determines the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet based on the identifier of the sub-instance, sub-stream, or sub-stream group in the packet header of the second data packet. Since the PDCP sender entity determines the sub-instance, sub-stream, or sub-stream group corresponding to each first data packet and processes the first data packet based on the corresponding sub-instance, sub-stream, or sub-stream group to obtain the corresponding second data packet, and sets the identifier of the sub-instance, sub-stream, or sub-stream group in the packet header of the second data packet.

[0145] Therefore, the PDCP receiver entity can determine the sub-instance, sub-stream, or sub-stream group used to process the second data packet based on the identifier of the sub-instance, sub-stream, or sub-stream group in the header of the second data packet (i.e., the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet). Thus, the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet of the PDCP sender entity is the same as the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet of the PDCP receiver entity. For example, the processing procedure of the second data packet by the PDCP receiver entity includes at least one of the following: deciphering, integrity verification, and header decompression.

[0146] In some other embodiments, a data packet is assigned to a sub-instance, sub-stream, or sub-stream group, and the sub-instance, sub-stream, or sub-stream group corresponding to a second data packet is determined based on at least one of the following:

[0147] Determine the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet based on the sub-instance, sub-stream, or sub-stream group in the packet header of the second data packet;

[0148] The first mapping relationship is determined based on the first mapping relationship and the QoS flow to which the second data packet belongs. The first mapping relationship is the mapping relationship between the QoS flow and the sub-instance, sub-flow, or sub-flow group.

[0149] The QoS flow method is determined according to the QoS flow method, which includes assigning second data packets belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and assigning second data packets of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group.

[0150] In one possible implementation, when the PDCP entity is configured for in-order delivery, the second node will reorder multiple first data packets obtained from processing multiple sub-instances, sub-streams, or sub-stream groups. For example, multiple first data packets can be placed in the same receive buffer and reordered within the same reordering window, thereby ensuring the order of the data packets and guaranteeing data integrity.

[0151] It should be noted that descriptions of sub-instances or sub-streams, and the processing of data packets by the PDCP receiver, can be found in the description on the first node side, and will not be repeated here in the embodiments of this disclosure.

[0152] Another data processing method provided in this disclosure can be applied to the first node 101 in the communication system shown in FIG1. ​​FIG5 shows a flowchart of a data processing method, which includes the following steps S501 and S502.

[0153] S501. Process the third data packet of at least one QoS flow through the SDAP entity to obtain the fourth data packet.

[0154] Here, the first node includes the SDAP entity, which is associated with multiple PDCP entities.

[0155] The SDAP entity can receive at least one third data packet of a QoS flow transmitted by the upper-layer protocol entity, and process the third data packet through the SDAP entity to obtain the fourth data packet to be transmitted to the lower-layer protocol entity (i.e., the PDCP entity).

[0156] S502, Send the fourth data packet to the PDCP entity corresponding to the fourth data packet.

[0157] Here, the PDCP entity corresponding to the fourth data packet belongs to multiple PDCP entities; it can be one or more. The third data packet can be an SDAP SDU or an SDAP data SDU, and the fourth data packet can be an SDAP PDU or an SDAP data PDU. Both the third and fourth data packets can be one or more.

[0158] In the traditional approach, one SDAP entity is associated with one PDCP entity; therefore, data within an SDAP entity can only be processed by one PDCP entity. To address this, the first node can associate one SDAP entity with multiple PDCP entities, allowing data from that SDAP entity to be processed (or transmitted) in parallel by multiple PDCP entities. Thus, after receiving the fourth data packet, the SDAP entity can transmit each fourth data packet to its corresponding PDCP entity, enabling multiple PDCP entities to process the fourth data packet in parallel, improving packet processing efficiency and overall communication efficiency.

[0159] Here, the multiple PDCP entities associated with an SDAP entity refer to the multiple PDCP entities associated with the multiple data radio bearers (DRBs) associated with the SDAP entity. Associating SDAP entities with PDCP entities is achieved by associating multiple DRBs and then associating them with the PDCP entities associated with each DRB. Furthermore, it can be understood that the multiple DRBs associated with an SDAP entity refer to configuring or establishing multiple DRBs for one or more QoS flows associated with the SDAP entity, and transmitting data packets for one or more QoS flows through the multiple PDCP entities associated with these multiple DRBs.

[0160] Alternatively, the multiple PDCP entities associated with an SDAP entity can be configured such that an SDAP entity is associated with a Data Radio Bearer (DRB), and a DRB is associated with multiple PDCP entities. The association of an SDAP entity with PDCP entities is achieved by associating it with multiple PDCP entities associated with a single DRB.

[0161] It should be noted that an SDAP entity includes both an SDAP sender entity and an SDAP receiver entity. Since the SDAP entity transmits the fourth data packet to the PDCP entity, meaning the PDCP entity is a lower-level protocol entity than the SDAP entity, this SDAP entity is an SDAP sender entity. The association of an SDAP entity with a DRB (PDCP entity) means that one SDAP sender entity is associated with one DRB (or its associated PDCP sender entity), and one SDAP receiver entity is associated with one DRB (or its associated PDCP receiver entity).

[0162] In some embodiments, configuring one or more associated DRBs (i.e., multiple associated PDCP entities) for an SDAP entity involves a first node receiving fourth configuration information, which includes at least one of the following: SDAP configuration information; DRB configuration information for one or more DRBs. In other words, the first node configures one or more associated DRBs or multiple PDCP entities for the SDAP entity based on the fourth configuration information. For example, the fourth configuration information may be sent by a base station.

[0163] The fourth configuration information is used to configure at least one of the following: an SDAP entity and one or more DRBs are associated; SDAP configuration information of the same SDAP entity associated with one or more DRBs; PDCP configuration information of one or more PDCP entities associated with a DRB; an SDAP entity and one or more PDCP entities associated with one or more DRBs are associated.

[0164] In other words, the first node can be configured based on the fourth configuration information: one SDAP entity is associated with multiple DRBs, multiple DRBs are associated with one SDAP entity, one SDAP entity is associated with multiple PDCP entities associated with multiple DRBs (which is equivalent to being associated with multiple DRBs), and one DRB is associated with one PDCP transmitter entity and one PDCP receiver entity.

[0165] Alternatively, the first node can be configured based on the fourth configuration information: one SDAP entity is associated with one DRB, one DRB is associated with multiple PDCP entities, one SDAP entity is associated with multiple PDCP entities associated with one DRB, and one DRB is associated with multiple PDCP sender entities and multiple PDCP receiver entities.

[0166] Here, the SDAP configuration information is used to indicate at least one of the following: information about one or more QoS flows transmitted by the SDAP entity (e.g., the identifier of the QoS flow); information about one or more DRBs associated with the SDAP entity; information about one or more DRBs associated with the QoS flow; and the identifier of the PDU session to which the QoS flow belongs.

[0167] DRB configuration includes at least one of the following: information about one or more associated QoS flows, configuration information of associated SDAP entities (e.g., the identifier of the SDAP entity), and configuration of one or more associated PDCP entities.

[0168] For example, as shown in Figure 6, an SDAP entity is associated with QoS flow 1…QoS flow n, and this SDAP entity is associated with PDCP entity 1 and PDCP entity 2, where PDCP entity 1 is associated with DRB 1 and PDCP entity 2 is associated with DRB 2. Each of the two PDCP entities is associated with at least one RLC entity; PDCP entity 1 is associated with RLC entity 1 and RLC entity 2, and PDCP entity 2 is associated with RLC entity 3. Different PDCP entities use different processing resources, such as hardware processing resources. PDCP entity 1 and PDCP entity 2 associated with the SDAP entity can process packets of QoS flow 1…QoS flow n associated with the SDAP entity in parallel, thereby improving processing efficiency.

[0169] Alternatively, an SDAP entity may be associated with QoS flow 1…QoS flow n, and this SDAP entity may also be associated with PDCP entity 1 and PDCP entity 2, where both PDCP entity 1 and PDCP entity 2 are associated with DRB 1. Each of the two PDCP entities is associated with at least one RLC entity; PDCP entity 1 is associated with RLC entity 1 and RLC entity 2, and PDCP entity 2 is associated with RLC entity 3. Different PDCP entities use different processing resources, such as hardware processing resources. PDCP entity 1 and PDCP entity 2 associated with the SDAP entity can process packets from QoS flow 1…QoS flow n in parallel, thereby improving processing efficiency.

[0170] The above describes how to configure an SDAP entity to associate with multiple PDCP entities. The following describes how to determine the PDCP entity corresponding to the fourth data packet and how to process the third data packet.

[0171] In some embodiments, the PDCP entity corresponding to each fourth data packet is determined based on at least one of the following:

[0172] The determination is based on a random method, which includes randomly assigning each fourth data packet to multiple PDCP entities;

[0173] The method of uniform distribution is determined by distributing multiple fourth packets evenly to multiple PDCP entities based on the number or length of the multiple fourth packets (the cumulative number or length of the multiple packets).

[0174] The allocation is determined by a round-robin method, which includes allocating N fourth data packets to each associated PDCP entity in turn, where N is preset or configured by the base station; for example, N data packets are allocated to one PDCP entity, and then N data packets are allocated to the next sub-instance, sub-flow, or sub-flow group, and so on.

[0175] The method of determining based on PDU sets includes assigning fourth data packets belonging to the same PDU set to the same PDCP entity; for example, data packets from different PDU sets can be assigned to different PDCP entities.

[0176] The method of determining the QoS flow includes assigning fourth data packets belonging to the same QoS flow to the same PDCP entity, and assigning fourth data packets of different QoS flows to different PDCP entities.

[0177] In some other embodiments, the first node processes a third data packet of at least one QoS flow, including at least one of the following:

[0178] The fourth data packet is associated with the value of an SDAP counter (i.e., SDAP COUNT);

[0179] Determine the SDAP sequence number (i.e., SDAP SN) of the fourth data packet;

[0180] Determine whether to set the SDAP sequence number in the fourth data packet;

[0181] From multiple PDCP entities, assign a corresponding PDCP entity to each fourth data packet.

[0182] Here, the SDAP sequence number of the fourth data packet can be the least significant bits of the SDAP COUNT value associated with the fourth data packet, and the length of the SDAP SN can be indicated by the base station.

[0183] Whether to set the SDAP sequence number in the fourth data packet is determined based on at least one of the following: the base station configuration; or whether the SDAP receiver entity needs to submit the data in sequence.

[0184] In one possible implementation, a fourth data packet corresponds to one or more PDCP entities;

[0185] When there are multiple PDCP entities corresponding to a fourth data packet, the multiple PDCP entities transmit the fourth data packet;

[0186] When there is only one PDCP entity corresponding to a fourth data packet, one PDCP entity transmits the fourth data packet.

[0187] It should be noted that, since the SDAP sending entity transmits the fourth data packet of one or more QoS flows through multiple PDCP entities, when the QoS flows need to be delivered in order, the SDAP receiving entity needs to sort the data packets from multiple associated PDCPs to meet the requirement of in-order delivery. Therefore, in this embodiment of the disclosure, the PDCP sending entity can add an SDAP SN to the header structure of the fourth data packet.

[0188] In one possible implementation, the method for determining the SDAP sequence number and counter value of the fourth data packet may include:

[0189] Maintain a variable COUNT,

[0190] Associate the current COUNT value with a data packet, and then increment the COUNT value by 1.

[0191] Determine that the SDAP SN of the data packet is the low-order part of the COUNT value associated with the data packet.

[0192] The lower-order part is determined based on the length / bit width / value range of the SDAP SN.

[0193] The high-order part of the COUNT after removing the SDAP SN is HFN. That is, the COUNT is divided into two parts: HFN and SDAP SN.

[0194] Here, the least significant part of the COUNT value is represented by SN(COUNT), and the most significant part of the COUNT value is represented by HFN(COUNT).

[0195] For example, as shown in Figure 7, the format of a downlink SDAP data PDU (i.e., the fourth data packet) includes Oct 1, Oct 2, Oct 3…Oct N-3. Oct 1 includes RDI, RQI, and QFI. Oct 2 includes the SDAP SN. Oct 3 to Oct N-3 include data.

[0196] Here, QFI is the identifier of the QoS flow to which the data belongs, RDI is used to indicate whether the terminal should add the QoS flow indicated by QFI to the QoS flow to DRB mapping (i.e., add this QoS flow), and the RQI bit indicates whether the updated SDF to QoS flow mapping rules should be notified to the NAS.

[0197] As shown in Figure 8, the format of an uplink SDAP data PDU includes Oct 1, Oct 2, Oct 3…Oct N-3. Oct 1 includes D / C, R, and QFI. Oct 2 includes the SDAP SN. Oct 3 to Oct N-3 include data. The D / C is used to indicate whether this PDU is an SDAP data PDU or an SDAP control PDU.

[0198] After the SDAP entity sends the fourth data packet to the corresponding PDCP sender entity, the PDCP sender entity processes the fourth data packet using the PDCP protocol, such as adding a PDCP PDU header, setting a PDCP SN, encryption, integrity protection, and / or header compression.

[0199] The PDCP sending entity sends the processed data packets to the second node through the associated RLC entity or MAC entity.

[0200] The PDCP receiver entity received the data packet.

[0201] The PDCP receiver entity processes the received data packets according to the PDCP protocol, such as determining the COUNT value, verifying integrity, decrypting and / or decompressing headers.

[0202] The PDCP receiver entity delivers the processed data packet to the associated SDAP receiver entity.

[0203] The above describes the data packet processing process of an SDAP entity. Based on the base station configuration, an SDAP entity can be associated with one or more DRBs or multiple PDCP entities. Furthermore, associated DRBs or PDCP entities can be added or removed from the SDAP entity based on the base station configuration. The following describes the methods for adding or associating DRBs or PDCP entities with an SDAP entity.

[0204] In some embodiments, the first node receives first indication information. Here, the first indication information is used to indicate the addition or deletion of DRB or PDCP entities associated with an SDAP entity. When the first node is a terminal, the first node can add or delete one or more DRB or PDCP entities associated with an SDAP entity based on the first indication information sent by the base station. For example, the first indication information can be RRC reconfiguration information.

[0205] In one possible implementation, the first indication information includes DRB configuration information for added or deleted DRBs; and / or, the first indication information includes PDCP configuration information for added or deleted PDCP entities.

[0206] In another possible implementation, if the first instruction information is used to instruct the deletion of the DRB or PDCP entity associated with the SDAP entity, the first node may also perform at least one of the following:

[0207] Remove the DRB configuration information or PDCP configuration information indicated by the first indication information from the DRB or PDCP entity associated with the SDAP entity; for example, remove the DRB identifier or PDCP identifier indicated by the first indication information from the SDAP configuration.

[0208] (After receiving the first instruction information) Stop sending data packets to the PDCP entity indicated by the second instruction information;

[0209] Start waiting timer T1;

[0210] If there are unsuccessfully transmitted data packets in a PDCP entity, the PDCP entity continues to transmit or retransmit the unsuccessfully transmitted data packets; if there are data packets in the PDCP sending entity that have not been sent to the lower protocol layer entity or have been sent to the lower protocol layer entity but have not received confirmation of successful transmission, then this PDCP entity continues to process these data packets and continues to transmit or retransmit these data packets until there are no more unsuccessfully transmitted data packets.

[0211] The PDCP sending entity sends an end mark control data packet (PDC PDU) to the PDCP receiving entity;

[0212] The SDAP sending entity sends an end-of-process control data packet to the SDAP sending entity.

[0213] Set the PDCP sequence number or SDAP sequence number of the last data packet sent by the PDCP entity in the end flag control packet.

[0214] Here, the end-of-transmission control packet is used to indicate that no more data is being sent by the PDCP entity. The end-of-transmission control packet can be a PDCP control PDU (i.e., sent by the PDCP sending entity) or an SDAP control PDU (i.e., sent by the SDAP sending entity). The end-of-transmission control packet may include the PDCP SN or SDAP SN value of the last (or the most recent) data packet sent by the PDCP entity.

[0215] In addition, the timing for triggering the end flag control packet includes at least one of the following: when the PDCP entity has no unsuccessfully transmitted packets; when the first indication message for deleting the DRB or PDCP entity associated with the SDAP entity is received; when the SDAP entity indicates to the PDCP entity that no packets are being transmitted through the PDCP entity; when the PDCP entity has no packets that have not been sent to the lower-layer protocol entity.

[0216] In one possible implementation, after receiving the first indication information, the first node can add or delete the DRB or PDCP associated with the SDAP entity. Alternatively, after receiving the first indication information, the first node only adds or deletes the configuration information of the DRB or PDCP entity indicated by the first indication information in the SDAP configuration, without adding or deleting the association between the DRB / PDCP entity and the SDAP entity. Adding or deleting the association between the SDAP entity and the DRB / PDCP entity requires activation or deactivation by the base station. The following is a description of activating or deactivating the DRB or PDCP entity.

[0217] In some embodiments, the first node receives a second indication message. The second indication message is used to activate or deactivate the DRB or PDCP entity associated with the SDAP entity. For example, the second indication information may be carried in an RRC message or MAC signaling. MAC signaling includes MAC CE, or RRC messages contained in a container within a MAC CE / SDU.

[0218] Here, the second indication information includes the identifier of the activated or deactivated DRB; and / or, the second indication information includes the identifier of the activated or deactivated PDCP entity.

[0219] Adding DRB / PDCP entities associated with an SDAP entity includes: adding DRB configuration information for the DRB associated with the SDAP entity / PDCP configuration information for the PDCP associated with the SDAP entity, and activating the association between the added DRB / PDCP and the SDAP entity;

[0220] Deleting the DRB / PDCP entities associated with an SDAP entity includes: deleting the DRB configuration information of the DRB associated with the SDAP entity / the PDCP configuration information of the associated PDCP entity, and deactivating the association between the DRB / PDCP entity and the SDAP entity.

[0221] In other words, there are two approaches to adding or removing associated DRB / PDCP entities for an SDAP entity. Approach 1 involves using a first indication to specify the configuration information of the DRB or PDCP entity, thereby adding or removing associated DRB or PDCP entities for the SDAP entity. Approach 2 involves using the first indication to add or remove the configuration information (i.e., DRB configuration information or PDCP configuration information) of the SDAP configuration, and then using a second indication to activate or deactivate the association between the DRB / PDCP entity indicated by the first indication and the SDAP entity. Activating or deactivating the association does not add or delete the configuration information of the DRB / PDCP entity; it only starts or stops the transmission of data packets through that DRB / PDCP entity.

[0222] In some other embodiments, when the first node is a terminal, the first node receives third indication information, which indicates at least one of the following:

[0223] Does the SDAP entity (PDCP receiver entity) need to deliver data packets in order?

[0224] Does the fourth data packet contain an SDAP sequence number?

[0225] The bit width, length, or value range of the SDAP sequence number;

[0226] The value of the SDAP entity reordering timer;

[0227] Does the SDAP entity support processing a single packet through multiple associated PDCP entities? This is known as SDAP duplication.

[0228] Does the SDAP entity support dynamic activation or deactivation of the DRB or PDCP entity associated with the SDAP entity?

[0229] Does the SDAP entity support dynamically adding or deleting DRB or PDCP entities associated with the SDAP entity?

[0230] The SDAP entity assigns the corresponding PDCP entity to the data packet in a manner that includes uniform allocation, random allocation, PDU set allocation, etc.

[0231] In other words, the first node can process, send, receive, activate or deactivate the DRB or PDCP entity associated with the SDAP entity, and add or delete the DRB or PDCP entity associated with the SDAP entity based on the third instruction information.

[0232] Another data processing method provided in this disclosure can be applied to the second node 102 in the communication system shown in FIG1. ​​FIG9 shows a flowchart of a data processing method, which includes the following S901 and S902.

[0233] S901. Obtain the fourth data packet transmitted by at least one of the multiple PDCP entities.

[0234] S902, Process the fourth data packet.

[0235] The second node includes an SDAP entity, which is associated with multiple PDCP entities. The fourth data packet belongs to at least one QoS flow. The third data packet can be an SDAP SDU or an SDAP data SDU, and the fourth data packet can be an SDAP PDU or an SDAP data PDU. There can be one or more third and fourth data packets. At least one PDCP entity is the PDCP entity corresponding to the fourth data packet.

[0236] In the traditional approach, one SDAP entity is associated with one PDCP entity. Therefore, data acquired by one SDAP entity can only be transmitted back to the SDAP entity by one PDCP entity. To address this, the first node can associate one SDAP entity with multiple PDCP entities. This allows data to be transmitted to the SDAP entity in parallel by multiple PDCP entities. This improves the efficiency of PDCP entities in processing data and enhances overall communication efficiency.

[0237] It should be noted that the multiple PDCP entities associated with an SDAP entity are the multiple PDCP entities associated with the multiple DRBs associated with the SDAP entity.

[0238] In some embodiments, the second node processes a plurality of fourth data packets, including at least one of the following:

[0239] Determine whether the fourth data packet includes the SDAP sequence number; the base station can configure whether the fourth data packet includes the SDAP sequence number; or, depending on whether it needs to be delivered in sequence, if it needs to be delivered in sequence, the fourth data packet includes the SDAP sequence number;

[0240] Obtain the SDAP sequence number of the fourth data packet and determine the value of the SDAP counter associated with the fourth data packet;

[0241] The value of the SDAP counter determines whether the fourth data packet has been received; that is, if the fourth data packet is received repeatedly, it is discarded if it has already been received.

[0242] (if required by the QoS flow or PDU session), reorder the plurality of fourth data packets when the SDAP entity is configured to perform in-sequence delivery;

[0243] transmit the reordered plurality of fourth data packets to an upper layer protocol entity of the SDAP entity in an order of an SDAP sequence number of each fourth data packet.

[0244] In a possible implementation, for an SDAP receive end, a manner of determining an SDAP sequence number and a value of a counter may include:

[0245] determining, according to an SDAP SN included in an SDAP data PDU (that is, the fourth data packet), an SDAP SN of the data packet;

[0246] determining, according to the determined HFN and the SDAP SN, a corresponding COUNT value.

[0247] For example, an example of determining an HFN is as follows (the embodiments of the present disclosure do not exclude other methods for determining a COUNT):

[0248] comparing an SDAP SN of a data packet with an SN part of a COUNT value (denoted as RX_DELIV) that is maintained by the receive end and that is associated with an SDAP SDU to be delivered to the upper layer protocol entity, and a reordering window size L:

[0249] if an SDAP SN of the data packet <SN(RX_DELIV)-L, an HFN of the data packet=HFN(RX_DELIV)+1.

[0250] if an SDAP SN of the data packet >=SN(RX_DELIV)+L, an HFN of the data packet=HFN(RX_DELIV)-1.

[0251] if SN(RX_DELIV)-L<=an SDAP SN of the data packet<SN(RX_DELIV)+L, an HFN of the data packet=HFN(RX_DELIV).

[0252] In some embodiments, a second node receives first indication information sent by a base station, where the first indication information is used to indicate to add or delete a DRB or a PDCP entity associated with an SDAP entity.

[0253] The first indication information includes DRB configuration information of a DRB to be added or deleted; and / or the first indication information includes PDCP configuration information of a PDCP entity to be added or deleted.

[0254] When the first indication information is used to indicate deletion or deactivation (i.e., deactivation of the associated PDCP entity), if the aforementioned end mark control PDU (i.e., end mark control data packet) is received, the PDCP receiver entity or SDAP receiver entity checks whether there are any data packets processed (or sent) by this PDCP receiver entity but not yet received (i.e., whether there are missing data packets). If so, it continues to wait. If not, and the end mark control data packet is a PDCP control PDU, the PDCP receiver entity indicates to the associated SDAP receiver entity that no more data packets are being processed by this PDCP receiver entity. At this time, the running wait timer T1 is stopped, and the SDAP receiver entity stops receiving data packets from this PDCP receiver entity.

[0255] If the waiting timer T1 times out, the PDCP receiver entity stops waiting for timer T1 and delivers the data packets that the PDCP entity has already received but are still waiting for reordering to the associated SDAP entity in the order of PDCP COUNT. The purpose of the waiting timer T1 is to avoid receiving data that has been waiting for a long time to be sent through this PDCP entity. Therefore, after T1 times out, the receiver will no longer wait for data that has not yet been received.

[0256] If there are no data packets that the PDCP receiver entity has not yet received, or if the wait timer T1 has not run (including cases where T1 was not started due to the absence of unreceived data, or where T1 was started but stopped due to timeout), then receiving data through the PDCP entity will stop, and the PDCP entity resources will be released. If there are no data packets that the PDCP sender entity has not successfully transmitted, then sending data through the PDCP entity will stop, and the PDCP entity resources will be released.

[0257] It should be noted that other descriptions regarding determining the PDCP entity corresponding to the data packet, processing the fourth data packet, adding or deleting the PDCP entity associated with the SDAP entity, activating or deactivating the PDCP entity associated with the SDAP entity, etc., can be referred to the description on the first node side (i.e., the content of S501 and S502), and will not be repeated here in this embodiment of the disclosure.

[0258] It is understood that, in order to achieve the above-mentioned functions, the data processing apparatus includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the algorithmic steps of the examples described in conjunction with the embodiments of this disclosure, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.

[0259] This disclosure embodiment can divide the data processing device into functional modules according to the above method embodiment. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one functional module. The integrated module can be implemented in hardware or software. It should be noted that the module division in this disclosure embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The following description uses the example of dividing each functional module according to each function.

[0260] Figure 10 is a schematic diagram of a communication device provided in an embodiment of this disclosure. The communication device can execute the data processing method provided in the above-described method embodiment. As shown in Figure 10, the communication device includes: an acquisition unit 1001 and a processing unit 1002.

[0261] Acquisition unit 1001 is used to acquire the first data packet;

[0262] The processing unit 1002 is used to process the first data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet to obtain the second data packet.

[0263] In one possible implementation, one first data packet corresponds to one sub-instance, sub-stream, or sub-stream group, and the sub-instance, sub-stream, or sub-stream group corresponding to each first data packet is determined based on at least one of the following methods:

[0264] The mapping relationship is determined based on the first mapping relationship and the QoS flow to which the first data packet belongs. The first mapping relationship is the mapping relationship between the QoS flow and the sub-instance, sub-flow, or sub-flow group.

[0265] Determined by a uniform distribution method, wherein the uniform distribution method includes uniformly distributing the multiple first data packets to multiple sub-instances, sub-streams, or sub-stream groups according to the number or length of the multiple first data packets.

[0266] The allocation is determined according to a round-robin method, which includes allocating N first data packets to each sub-instance, sub-stream, or sub-stream group in a round-robin manner, where N is preset or configured by the base station;

[0267] The method of determining according to the Protocol Data Unit (PDU) set includes allocating the first data packet belonging to the same PDU set to the same sub-instance, sub-stream, or sub-stream group; and allocating the first data packet of one or more PDU sets to a sub-instance, sub-stream, or sub-stream group.

[0268] The method of determining according to QoS flow includes assigning the first data packet belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and assigning the first data packet of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group.

[0269] In one possible implementation, the number of sub-instances, sub-streams, or sub-stream groups is configured by the base station.

[0270] In one possible implementation, the header of the second data packet includes at least one of the following:

[0271] Whether the second data packet includes an indication of the identifier of a sub-instance, sub-stream, or sub-stream group;

[0272] The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet.

[0273] In one possible implementation, one or more sub-streams belong to a sub-stream group, and the sub-stream group corresponding to each first data packet is determined based on the sub-stream and a second mapping relationship corresponding to each first data packet, wherein the second mapping relationship is the mapping relationship between the sub-stream and the sub-stream group.

[0274] In one possible implementation, the processing unit 1002 is specifically used for:

[0275] The first data packet corresponding to the same sub-instance, sub-stream, or sub-stream group is processed sequentially;

[0276] The first data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed in parallel.

[0277] The first data packet corresponding to each sub-instance, sub-stream, or sub-stream group will be processed using the same processing context;

[0278] The first data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed using different processing contexts;

[0279] The processing context includes the context for header compression processing.

[0280] In one possible implementation, for a first data packet corresponding to the same sub-instance, sub-stream, or sub-stream group, processing the first data packet to obtain the second data packet includes at least one of the following:

[0281] Header compression, the header compression including robust header compression ROHC and / or Ethernet header compression EHC;

[0282] Compress the uplink data packets and / or uplink data in the first data packet;

[0283] Perform integrity protection on the first data packet;

[0284] Encrypt the first data packet;

[0285] Determine the PDCP sequence number of the first data packet and set the PDCP sequence number in the header of the second data packet;

[0286] The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet is set in the header of the second data packet.

[0287] In one possible implementation, the second data packet is generated and / or sent according to first configuration information configured by the base station; the first configuration information includes at least one of the following:

[0288] An indication of whether the downlink transmission uses the data processing method;

[0289] An indication of whether the data processing method is used for uplink transmission;

[0290] The second data packet includes an indication of whether it contains the identifier of a sub-instance, sub-stream, or sub-stream group;

[0291] The second configuration information is used to allocate the first data packet to the corresponding sub-instance, sub-stream, or sub-stream group.

[0292] The number of sub-instances, sub-streams, or sub-stream groups used for uplink transmission;

[0293] The number of sub-instances, sub-streams, or sub-stream groups used for downlink transmission;

[0294] Third configuration information associated with a sub-instance, sub-stream, or sub-stream group for processing the first data packet.

[0295] In one possible implementation, the second configuration information includes at least one of the following:

[0296] Mapping information between QoS flows and sub-instances, sub-flows, or sub-flow groups, wherein the mapping information includes information about the QoS flows corresponding to each sub-instance, sub-flow, or sub-flow group, and / or information about the sub-instances, sub-flows, or sub-flow groups corresponding to each QoS flow;

[0297] Whether the terminal determines the sub-instance, sub-stream, or sub-stream group to which the first data packet belongs;

[0298] The method used to determine the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet.

[0299] Figure 11 is a schematic diagram of another communication device provided in an embodiment of this disclosure. The communication device can execute the data processing method provided in the above-described method embodiments. As shown in Figure 11, the communication device includes: an acquisition unit 1101 and a processing unit 1102.

[0300] Acquisition unit 1101 is used to acquire the second data packet;

[0301] The processing unit 1102 is used to process the second data packet based on the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet to obtain the first data packet.

[0302] In one possible implementation, the processing unit 1102 is further configured to determine the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet based on the identifier of the sub-instance, sub-stream, or sub-stream group in the header of the second data packet.

[0303] In one possible implementation, the number of sub-instances, sub-streams, or sub-stream groups is configured by the base station.

[0304] In one possible implementation, the header of the second data packet includes at least one of the following:

[0305] Whether the second data packet includes an indication of whether it contains a sub-instance, sub-stream, or sub-stream group identifier;

[0306] The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet.

[0307] In one possible implementation, one first data packet corresponds to one sub-instance, sub-stream, or sub-stream group, and the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet is determined based on at least one of the following methods:

[0308] Determined based on the first mapping relationship and the QoS flow to which the second data packet belongs, wherein the first mapping relationship is a mapping relationship from a QoS flow to a sub-instance, a sub-flow, or a sub-flow group;

[0309] The method of determining according to QoS flow includes assigning second data packets belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and assigning second data packets of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group.

[0310] In one possible implementation, one or more sub-flows belong to a sub-flow group, and the sub-flow group corresponding to each second data packet is determined based on the sub-flow and the second mapping relationship corresponding to each second data packet, wherein the second mapping relationship is the mapping relationship between the sub-flow and the sub-flow group.

[0311] In one possible implementation, processing the second data packet includes at least one of the following:

[0312] The second data packet corresponding to the same sub-instance, sub-stream, or sub-stream group is processed sequentially;

[0313] The second data packets corresponding to different sub-instances, sub-streams, or sub-stream groups are processed in parallel.

[0314] The second data packet corresponding to each sub-instance, sub-stream, or sub-stream group is processed using the same processing context;

[0315] The second data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed using different processing contexts;

[0316] The processing context includes the context for header compression processing.

[0317] In one possible implementation, the processing unit 1102 is further configured to reorder the plurality of first data packets obtained by processing the plurality of the plurality of sub-instances, sub-streams, or sub-stream groups.

[0318] Figure 12 is a schematic diagram of a communication device provided in an embodiment of this disclosure. The communication device can execute the data processing method provided in the above-described method embodiment. As shown in Figure 12, the communication device includes a processing unit 1201 and a transmitting unit 1202.

[0319] Processing unit 1201 is used to process at least one third data packet of a QoS flow through the SDAP entity to obtain a fourth data packet;

[0320] The sending unit 1202 is used to send the fourth data packet to the PDCP entity corresponding to the fourth data packet.

[0321] In one possible implementation, the multiple PDCP entities associated with the SDAP entity are multiple PDCP transmission entities associated with the multiple data radio bearers (DRBs) associated with the SDAP entity.

[0322] In one possible implementation, the device further includes a receiving unit 1203; the receiving unit 1203 is configured to receive fourth configuration information, the fourth configuration information including at least one of the following:

[0323] SDAP configuration information;

[0324] The DRB configuration information of the multiple DRBs.

[0325] In one possible implementation, the fourth configuration information is used to configure at least one of the following:

[0326] One SDAP entity is associated with multiple DRBs;

[0327] SDAP configuration information of the same SDAP entity associated with the multiple DRBs;

[0328] One SDAP entity is associated with multiple PDCP entities associated with multiple DRBs.

[0329] In one possible implementation, the SDAP configuration information is used to indicate at least one of the following:

[0330] Information about one or more QoS streams transmitted by the SDAP entity;

[0331] Information about one or more DRBs associated with the SDAP entity;

[0332] The SDAP entity is associated with information about one or more QoS flows and one or more DRBs.

[0333] In one possible implementation, the DRB configuration includes information about one or more QoS flows associated with the plurality of DRBs.

[0334] In one possible implementation, processing the third data packet of the at least one QoS flow includes at least one of the following:

[0335] Associate the fourth data packet with the value of an SDAP counter;

[0336] Determine the SDAP sequence number of the fourth data packet;

[0337] Determine whether to set the SDAP sequence number in the fourth data packet;

[0338] From the plurality of PDCP entities, assign a corresponding PDCP entity to each fourth data packet.

[0339] In one possible implementation, determining whether to set the SDAP sequence number in the fourth data packet is based on at least one of the following:

[0340] Determined based on the base station configuration;

[0341] Determined based on whether the SDAP receiving entity needs to submit in sequence.

[0342] In one possible implementation, one fourth data packet corresponds to one or more PDCP entities;

[0343] When there are multiple PDCP entities corresponding to one fourth data packet, the multiple PDCP entities transmit the fourth data packet;

[0344] When there is only one PDCP entity corresponding to the fourth data packet, the fourth data packet is transmitted by one PDCP entity.

[0345] In one possible implementation, the PDCP entity corresponding to each fourth data packet is determined based on at least one of the following:

[0346] The determination is based on a random method, which includes randomly assigning each fourth data packet to the plurality of PDCP entities;

[0347] Determined according to a uniform distribution method, wherein the uniform distribution method includes uniformly distributing the multiple fourth data packets to the multiple PDCP entities according to the number or length of the multiple fourth data packets;

[0348] The allocation is determined according to a round-robin method, which includes allocating N fourth data packets to each associated PDCP entity in a round-robin manner, where N is preset or configured by the base station;

[0349] The method of determining according to PDU sets includes allocating the fourth data packets belonging to the same PDU set to the same PDCP entity;

[0350] Determined according to QoS flow, the method of QoS flow includes assigning the fourth data packet belonging to the same QoS flow to the same PDCP entity.

[0351] In one possible implementation, the receiving unit 1203 is further configured to receive first indication information, which is used to indicate the addition or deletion of the DRB or PDCP entity associated with the SDAP entity.

[0352] In one possible implementation, the first indication information includes DRB configuration information for adding or deleting DRBs; and / or,

[0353] The first indication information includes PDCP configuration information for the added or deleted PDCP entities.

[0354] In one possible implementation, when the first indication information is used to indicate the deletion of the DRB or PDCP entity associated with the SDAP entity, the method further includes at least one of the following:

[0355] Delete the DRB configuration information or PDCP configuration information indicated by the first indication information from the DRB or PDCP entity associated with the SDAP entity;

[0356] Stop sending data packets to the PDCP entity indicated by the first indication information;

[0357] Start the wait timer;

[0358] If the PDCP entity has a data packet that was not successfully transmitted, the PDCP entity continues to transmit or retransmit the unsuccessful data packet;

[0359] The PDCP entity sends an end-of-process control data packet to the PDCP entity;

[0360] The SDAP entity sends an end-of-process control data packet to the SDAP entity;

[0361] The PDCP sequence number or SDAP sequence number of the last data packet sent by the PDCP entity is set in the end flag control data packet;

[0362] The end flag control data packet is used to indicate that no data is being sent through the PDCP entity.

[0363] In one possible implementation, the timing for triggering the end-of-flag control data packet includes at least one of the following:

[0364] When the PDCP entity does not have any data packets that were not successfully sent;

[0365] Upon receiving the first instruction to delete the DRB or PDCP entity associated with the SDAP entity;

[0366] When the SDAP entity indicates that the PDCP entity has no data packets being sent through the PDCP entity;

[0367] When the PDCP entity does not have any data packets that were not successfully sent to the lower-layer protocol entity.

[0368] In one possible implementation, the receiving unit 1203 is further configured to receive a second indication message, the second indication message being used to activate or deactivate the DRB or PDCP entity associated with the SDAP entity.

[0369] In one possible implementation, the second indication information includes an identifier of the activated or deactivated DRB; and / or,

[0370] The second indication information includes the identifier of the PDCP entity that is activated or deactivated.

[0371] In one possible implementation, adding the DRB / PDCP entity associated with the SDAP entity includes: adding the DRB configuration information of the DRB associated with the SDAP entity / PDCP configuration information of the PDCP entity, and activating the association between the added DRB / PDCP entity and the SDAP entity.

[0372] Deleting the DRB / PDCP entity associated with the SDAP entity includes: deleting the DRB configuration information of the DRB associated with the SDAP entity / the PDCP configuration information of the associated PDCP entity, and deactivating the association between the DRB / PDCP entity and the SDAP entity.

[0373] In one possible implementation, the receiving unit 1203 is further configured to receive third indication information, the third indication information being used to indicate at least one of the following:

[0374] Do SDAP entities need to submit data packets in order?

[0375] Does the fourth data packet contain an SDAP sequence number?

[0376] The bit width, length, or value range of the SDAP sequence number;

[0377] The value of the SDAP entity reordering timer;

[0378] Does the SDAP entity support processing a single data packet through multiple associated PDCP entities?

[0379] Does the SDAP entity support dynamic activation or deactivation of the DRB or PDCP entity associated with the SDAP entity?

[0380] Does the SDAP entity support dynamically adding or deleting the DRB or PDCP entities associated with the SDAP entity?

[0381] The SDAP entity is a method of assigning a corresponding PDCP entity to a data packet.

[0382] Figure 13 is a schematic diagram of a communication device provided in an embodiment of this disclosure. The communication device can execute the data processing method provided in the above-described method embodiment. As shown in Figure 13, the communication device includes: an acquisition unit 1301 and a processing unit 1302.

[0383] Acquisition unit 1301 is used to acquire a fourth data packet transmitted by at least one of the plurality of PDCP entities; the fourth data packet belongs to at least one QoS flow;

[0384] Processing unit 1302 is used to process the fourth data packet.

[0385] In one possible implementation, processing the plurality of fourth data packets includes at least one of the following:

[0386] Determine whether the fourth data packet includes an SDAP sequence number;

[0387] Obtain the SDAP sequence number of the fourth data packet and determine the value of the SDAP counter associated with the fourth data packet;

[0388] Determine whether the fourth data packet has been received based on the value of the SDAP counter;

[0389] If the SDAP entity configuration is submitted in sequence, the plurality of fourth data packets are reordered;

[0390] The reordered fourth data packets are transmitted to the upper layer of the SDAP entity in the order of their SDAP sequence numbers.

[0391] In one possible implementation, the reordering satisfies at least one of the following:

[0392] The reordering is implemented based on the value of the SDAP counter in the fourth data packet;

[0393] If the values ​​of the SDAP counters corresponding to the plurality of fourth data packets are consecutive, the data packets are transmitted to the upper layer of the SDAP entity in the order of the values ​​of the SDAP counters corresponding to the plurality of fourth data packets.

[0394] If the values ​​of the SDAP counters corresponding to the plurality of fourth data packets are not consecutive, a reordering timer is started, the reordering timer being used to wait for a confirmed fourth data packet;

[0395] If the reordering timer times out, the waiting for the missing fourth data packet is abandoned, and the fourth data packets preceding the missing fourth data packet are transmitted to the upper-layer protocol entity of the SDAP entity in the order of the SDAP counter values.

[0396] In one possible implementation, the multiple PDCP entities associated with the SDAP entity are the multiple PDCP entities associated with the multiple DRBs associated with the SDAP entity.

[0397] In one possible implementation, the acquisition unit 1301 is further configured to receive fourth configuration information, the fourth configuration information being used to indicate at least one of the following:

[0398] SDAP configuration information;

[0399] The DRB configuration information of the multiple DRBs associated with the SDAP entity.

[0400] In one possible implementation, the fourth configuration information is used to configure at least one of the following:

[0401] The SDAP entity is associated with the multiple DRBs;

[0402] SDAP configuration information of the same SDAP entity associated with the multiple DRBs;

[0403] The SDAP entity is associated with the multiple PDCP entities associated with the multiple DRBs.

[0404] In one possible implementation, the SDAP configuration information includes at least one of the following: information about one or more QoS flows transmitted by the SDAP, information about the SDAP entity or one or more DRBs associated with the one or more QoS flows.

[0405] In one possible implementation, the DRB configuration includes at least one of the following: information about one or more QoS flows associated with the plurality of DRBs.

[0406] In one possible implementation, the acquisition unit 1301 is further configured to receive first indication information sent by the base station, the first indication information being used to indicate the addition or deletion of the DRB or PDCP entity associated with the SDAP entity.

[0407] In one possible implementation, the first indication information includes DRB configuration information for adding or deleting DRBs; and / or,

[0408] The first indication information includes PDCP configuration information for the added or deleted PDCP entities.

[0409] In one possible implementation, when the first indication information is used to indicate the addition of a DRB or PDCP entity associated with the SDAP entity, the first indication information includes DRB configuration information of at least one added DRB.

[0410] In one possible implementation, the acquisition unit 1301 is further configured to receive a second indication message, the second indication message being used to activate or deactivate the DRB or PDCP entity associated with the SDAP entity.

[0411] In the case of implementing the functions of the integrated modules described above in hardware, this disclosure provides another possible structure for the communication device involved in the above embodiments. As shown in FIG14, the communication device 140 includes: a processor 1402 and a bus 1404. Optionally, the communication device may further include a memory 1401; optionally, the communication device may further include a communication interface 1403.

[0412] Processor 1402 may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with embodiments of this disclosure. Processor 1402 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with embodiments of this disclosure. Processor 1402 may also be a combination of computing functions, such as including one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.

[0413] Communication interface 1403 is used to connect to other devices via a communication network. This communication network can be Ethernet, wireless access network, wireless local area network (WLAN), etc.

[0414] The memory 1401 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.

[0415] As one possible implementation, the memory 1401 can exist independently of the processor 1402. The memory 1401 can be connected to the processor 1402 via a bus 1404 and is used to store instructions or program code. When the processor 1402 calls and executes the instructions or program code stored in the memory 1401, it can implement the data processing method provided in the embodiments of this disclosure.

[0416] In another possible implementation, the memory 1401 can also be integrated with the processor 1402.

[0417] Bus 1404 can be an extended industry standard architecture (EISA) bus, etc. Bus 1404 can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in Figure 14, but this does not mean that there is only one bus or one type of bus.

[0418] Some embodiments of this disclosure provide a computer-readable storage medium (e.g., a non-transitory computer-readable storage medium) storing computer program instructions that, when executed on a computer, cause the computer to perform a data processing method as described in any of the above embodiments.

[0419] Exemplary examples show that the aforementioned computer-readable storage media may include, but are not limited to: magnetic storage devices (e.g., hard disks, floppy disks, or magnetic tapes), optical discs (e.g., compact disks (CDs), digital versatile disks (DVDs), etc.), smart cards, and flash memory devices (e.g., erasable programmable read-only memory (EPROMs), cards, sticks, or key drives, etc.). The various computer-readable storage media described in this disclosure may represent one or more devices for storing information and / or other machine-readable storage media. The term "machine-readable storage media" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and / or carrying instructions and / or data.

[0420] This disclosure provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the data processing method described in any of the above embodiments. The above descriptions are merely specific implementations of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions within the technical scope disclosed in this disclosure should be covered within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

A data processing method, wherein, Applied to a first node, the first node including a Packet Data Convergence Protocol (PDCP) entity, the method includes: Obtain the first data packet; The first data packet is processed based on the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet to obtain the second data packet. The method of claim 1, wherein, Each first data packet corresponds to a sub-instance, sub-stream, or sub-stream group, and the sub-instance, sub-stream, or sub-stream group corresponding to each first data packet is determined based on at least one of the following methods: The mapping relationship is determined based on the first mapping relationship and the QoS flow to which the first data packet belongs. The first mapping relationship is the mapping relationship between the QoS flow and the sub-instance, sub-flow, or sub-flow group. Determined by a uniform distribution method, wherein the uniform distribution method includes uniformly distributing the multiple first data packets to multiple sub-instances, sub-streams, or sub-stream groups according to the number or length of the multiple first data packets. The allocation is determined according to a round-robin method, which includes allocating N first data packets to each sub-instance, sub-stream, or sub-stream group in a round-robin manner, where N is preset or configured by the base station; The method of determining according to the Protocol Data Unit (PDU) set includes allocating the first data packet belonging to the same PDU set to the same sub-instance, sub-stream, or sub-stream group; and allocating the first data packet of one or more PDU sets to a sub-instance, sub-stream, or sub-stream group. The method of determining according to QoS flow includes assigning the first data packet belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and assigning the first data packet of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group. The method of claim 1, wherein, The number of sub-instances, sub-streams, or sub-stream groups is configured by the base station. The method of claim 1, wherein, The header of the second data packet includes at least one of the following: Whether the second data packet includes an indication of the identifier of a sub-instance, sub-stream, or sub-stream group; The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet. According to the method of claim 1, wherein, One or more sub-flows belong to a sub-flow group. The sub-flow group corresponding to each first data packet is determined based on the sub-flow and the second mapping relationship corresponding to each first data packet. The second mapping relationship is the mapping relationship between the sub-flow and the sub-flow group. The method of claim 1, wherein, The processing of the first data packet includes at least one of the following: The first data packet corresponding to the same sub-instance, sub-stream, or sub-stream group is processed sequentially; The first data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed in parallel. Each first data packet corresponding to a sub-instance, sub-stream, or sub-stream group is processed using the same processing context; The first data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed using different processing contexts; The processing context includes the context for header compression processing. The method of claim 1, wherein, For a first data packet corresponding to the same sub-instance, sub-stream, or sub-stream group, the processing of the first data packet to obtain the second data packet includes at least one of the following: Header compression, the header compression including robust header compression ROHC and / or Ethernet header compression EHC; Compress the uplink data packets and / or uplink data in the first data packet; Perform integrity protection on the first data packet; Encrypt the first data packet; Determine the PDCP sequence number of the first data packet and set the PDCP sequence number in the header of the second data packet; The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet is set in the header of the second data packet. The method of claim 1, wherein, The second data packet is generated and / or sent according to first configuration information configured by the base station; the first configuration information includes at least one of the following: An indication of whether the downlink transmission uses the data processing method; An indication of whether the data processing method is used for uplink transmission; The second data packet includes an indication of whether it contains the identifier of a sub-instance, sub-stream, or sub-stream group; The second configuration information is used to allocate the first data packet to the corresponding sub-instance, sub-stream, or sub-stream group. The number of sub-instances, sub-streams, or sub-stream groups used for uplink transmission; The number of sub-instances, sub-streams, or sub-stream groups used for downlink transmission; Third configuration information associated with a sub-instance, sub-stream, or sub-stream group for processing the first data packet. The method of claim 8, wherein, The second configuration information includes at least one of the following: Mapping information between QoS flows and sub-instances, sub-flows, or sub-flow groups, wherein the mapping information includes information about the QoS flows corresponding to each sub-instance, sub-flow, or sub-flow group, and / or information about the sub-instances, sub-flows, or sub-flow groups corresponding to each QoS flow; Whether the terminal determines the sub-instance, sub-stream, or sub-stream group to which the first data packet belongs; The method used to determine the sub-instance, sub-stream, or sub-stream group corresponding to the first data packet. A data processing method, wherein, Applied to a second node, the second node including a PDCP entity, the method includes: Obtain the second data packet; The second data packet is processed based on the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet to obtain the first data packet. The method of claim 10, wherein, The method further includes: The sub-instance, sub-stream, or sub-stream group corresponding to the second data packet is determined based on the identifier of the sub-instance, sub-stream, or sub-stream group in the packet header of the second data packet. The method of claim 10, wherein, The number of sub-instances, sub-streams, or sub-stream groups is configured by the base station. The method of claim 10, wherein, The header of the second data packet includes at least one of the following: Whether the second data packet includes an indication of whether it contains a sub-instance, sub-stream, or sub-stream group identifier; The identifier of the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet. The method of claim 13, wherein, One of the second data packets corresponds to one sub-instance, sub-stream, or sub-stream group, and the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet is determined based on at least one of the following methods: Based on the identifier of the sub-instance, sub-stream, or sub-stream group in the header of the second data packet, determine the sub-instance, sub-stream, or sub-stream group corresponding to the second data packet; Determined based on the first mapping relationship and the QoS flow to which the second data packet belongs, wherein the first mapping relationship is a mapping relationship from a QoS flow to a sub-instance, a sub-flow, or a sub-flow group; The determination is based on the QoS flow method, which includes mapping second data packets belonging to the same QoS flow to the same sub-instance, sub-flow, or sub-flow group, and mapping second data packets of one or more QoS flows to a sub-instance, sub-flow, or sub-flow group. The method of claim 14, wherein, One or more sub-flows belong to a sub-flow group. The sub-flow group corresponding to each second data packet is determined based on the sub-flow and the second mapping relationship corresponding to each second data packet. The second mapping relationship is the mapping relationship between the sub-flow and the sub-flow group. The method of claim 10, wherein, Processing the second data packet includes at least one of the following: The second data packet corresponding to the same sub-instance, sub-stream, or sub-stream group is processed sequentially; The second data packets corresponding to different sub-instances, sub-streams, or sub-stream groups are processed in parallel. Each second data packet corresponding to a sub-instance, sub-stream, or sub-stream group is processed using the same processing context; The second data packet corresponding to different sub-instances, sub-streams, or sub-stream groups is processed using different processing contexts; The processing context includes the context for header compression processing. The method of claim 10, wherein, When the PDCP entity is configured for sequential delivery, the method further includes: The first data packets obtained from processing multiple sub-instances, sub-streams, or sub-stream groups are reordered. A data processing method, wherein, Applied to a first node, the first node including a Service Data Protocol (SDAP) entity, the SDAP entity being associated with multiple PDCP entities, the method includes: The SDAP entity processes at least one third data packet of a QoS flow to obtain a fourth data packet; The fourth data packet is sent to the PDCP entity corresponding to the fourth data packet. The method of claim 18, wherein, The multiple PDCP entities associated with the SDAP entity are the multiple PDCP transmission entities associated with one or more Data Radio Bearers (DRBs) associated with the SDAP entity. The method of claim 19, wherein, The method further includes: Receive fourth configuration information, which includes at least one of the following: SDAP configuration information; The DRB configuration information for one or more DRBs. The method of claim 20, wherein, The fourth configuration information is used to configure at least one of the following: One of the SDAP entities is associated with one or more DRBs; SDAP configuration information of the same SDAP entity associated with one or more DRBs; One of the SDAP entities is associated with one or more PDCP entities associated with the one or more DRBs. The method of claim 20, wherein, The SDAP configuration information is used to indicate at least one of the following: Information about one or more QoS streams transmitted by the SDAP entity; Information about one or more DRBs associated with the SDAP entity; The SDAP entity is associated with information about one or more QoS flows and one or more DRBs. The method according to claim 20, wherein, The DRB configuration includes information about one or more associated QoS flows. The method of claim 18, wherein, The processing of the third data packet of the at least one QoS flow includes at least one of the following: Associate the fourth data packet with the value of an SDAP counter; Determine the SDAP sequence number of the fourth data packet; Determine whether to set the SDAP sequence number in the fourth data packet; From the plurality of PDCP entities, assign a corresponding PDCP entity to each fourth data packet. The method of claim 24, wherein, Whether to set the SDAP sequence number in the fourth data packet is determined based on at least one of the following: Determined based on the base station configuration; Determined based on whether the SDAP receiving entity needs to submit in sequence. The method of claim 18, wherein, One fourth data packet corresponds to one or more PDCP entities; When there are multiple PDCP entities corresponding to one fourth data packet, the multiple PDCP entities transmit the fourth data packet; When there is only one PDCP entity corresponding to the fourth data packet, the fourth data packet is transmitted by one PDCP entity. The method of claim 18, wherein, The PDCP entity corresponding to each fourth data packet is determined based on at least one of the following: The determination is based on a random method, which includes randomly assigning each fourth data packet to the plurality of PDCP entities; Determined according to a uniform distribution method, wherein the uniform distribution method includes uniformly distributing the multiple fourth data packets to the multiple PDCP entities according to the number or length of the multiple fourth data packets; The allocation is determined according to a round-robin method, which includes allocating N fourth data packets to each associated PDCP entity in a round-robin manner, where N is preset or configured by the base station; The method of determining according to PDU sets includes allocating the fourth data packets belonging to the same PDU set to the same PDCP entity; Determined according to QoS flow, the method of QoS flow includes assigning the fourth data packet belonging to the same QoS flow to the same PDCP entity. The method of claim 18, wherein, The method further includes: Receive first instruction information, which is used to instruct the addition or deletion of DRB or PDCP entities associated with the SDAP entity. The method according to claim 28, wherein, The first indication information includes DRB configuration information for added or deleted DRBs; and / or, The first indication information includes PDCP configuration information for the added or deleted PDCP entities. The method of claim 29, wherein, When the first indication information is used to indicate the deletion of the DRB or PDCP entity associated with the SDAP entity, the method further includes at least one of the following: Delete the DRB configuration information or PDCP configuration information indicated by the first indication information from the DRB or PDCP entity associated with the SDAP entity; Stop sending data packets to the PDCP entity indicated by the first indication information; Start the wait timer; If the PDCP entity has a data packet that was not successfully transmitted, the PDCP entity continues to transmit or retransmit the unsuccessful data packet; The PDCP entity sends an end-of-process control data packet to the PDCP entity; The SDAP entity sends an end-of-process control data packet to the SDAP entity; The PDCP sequence number or SDAP sequence number of the last data packet sent by the PDCP entity is set in the end flag control data packet; The end flag control data packet is used to indicate that no data is being sent through the PDCP entity. The method of claim 30, wherein, The timing for triggering the end-of-process control data packet includes at least one of the following: When the PDCP entity does not have any data packets that were not successfully sent; Upon receiving the first instruction to delete the DRB or PDCP entity associated with the SDAP entity; When the SDAP entity indicates that the PDCP entity has no data packets being sent through the PDCP entity; When the PDCP entity does not have any data packets that were not successfully sent to the lower-layer protocol entity. The method of claim 18 or 29, wherein, The method further includes: Receive a second instruction message, which is used to activate or deactivate the DRB or PDCP entity associated with the SDAP entity. The method according to claim 32, wherein, The second indication information includes the identifier of the activated or deactivated DRB; and / or, The second indication information includes the identifier of the PDCP entity that is activated or deactivated. The method of claim 32, wherein, Adding the DRB / PDCP entity associated with the SDAP entity includes: adding the DRB configuration information of the DRB associated with the SDAP entity / PDCP configuration information of the PDCP entity, and activating the association between the added DRB / PDCP entity and the SDAP entity; Deleting the DRB / PDCP entity associated with the SDAP entity includes: deleting the DRB configuration information of the DRB associated with the SDAP entity / the PDCP configuration information of the associated PDCP entity, and deactivating the association between the DRB / PDCP entity and the SDAP entity. The method of claim 18, wherein, The method further includes: Receive a third indication message, the third indication message being used to indicate at least one of the following: Do SDAP entities need to submit data packets in order? Does the fourth data packet contain an SDAP sequence number? The bit width, length, or value range of the SDAP sequence number; The value of the SDAP entity reordering timer; Does the SDAP entity support processing a single data packet through multiple associated PDCP entities? Does the SDAP entity support dynamic activation or deactivation of the DRB or PDCP entity associated with the SDAP entity? Does the SDAP entity support dynamically adding or deleting the DRB or PDCP entities associated with the SDAP entity? The SDAP entity is a method of assigning a corresponding PDCP entity to a data packet. A data processing method, wherein, Applied to a second node, the second node including an SDAP entity, the SDAP entity being associated with multiple PDCP entities, the method includes: Obtain a fourth data packet transmitted by at least one of the plurality of PDCP entities; the fourth data packet belongs to at least one QoS flow; The fourth data packet is processed. The method of claim 36, wherein, The processing of the plurality of fourth data packets includes at least one of the following: Determine whether the fourth data packet includes an SDAP sequence number; Obtain the SDAP sequence number of the fourth data packet and determine the value of the SDAP counter associated with the fourth data packet; Determine whether the fourth data packet has been received based on the value of the SDAP counter; If the SDAP entity configuration is submitted in sequence, the plurality of fourth data packets are reordered; The reordered fourth data packets are transmitted to the upper layer of the SDAP entity in the order of their SDAP sequence numbers. The method of claim 37, wherein, The reordering satisfies at least one of the following: The reordering is implemented based on the value of the SDAP counter in the fourth data packet; If the values ​​of the SDAP counters corresponding to the plurality of fourth data packets are consecutive, the data packets are transmitted to the upper layer of the SDAP entity in the order of the values ​​of the SDAP counters corresponding to the plurality of fourth data packets. If the values ​​of the SDAP counters corresponding to the plurality of fourth data packets are not consecutive, a reordering timer is started, the reordering timer being used to wait for a confirmed fourth data packet; If the reordering timer times out, the waiting for the missing fourth data packet is abandoned, and the fourth data packets preceding the missing fourth data packet are transmitted to the upper-layer protocol entity of the SDAP entity in the order of the SDAP counter values. The method of claim 36, wherein, The multiple PDCP entities associated with the SDAP entity are the multiple PDCP entities associated with one or more DRBs associated with the SDAP entity. The method of claim 39, wherein, When the second node is a terminal, the method further includes: Receive fourth configuration information, the fourth configuration information being used to indicate at least one of the following: SDAP configuration information; The DRB configuration information of one or more DRBs associated with the SDAP entity. The method of claim 40, wherein, The fourth configuration information is used to configure at least one of the following: The SDAP entity is associated with the one or more DRBs; SDAP configuration information of the same SDAP entity associated with one or more DRBs; The SDAP entity is associated with one or more PDCP entities associated with the one or more DRBs. The method of claim 41, wherein, The SDAP configuration information includes at least one of the following: information about one or more QoS flows transmitted by the SDAP, information about the SDAP entity or one or more DRBs associated with the one or more QoS flows. The method of claim 41, wherein, The DRB configuration includes at least one of the following: information about one or more QoS flows associated with the one or more DRBs. The method of claim 36, wherein, When the first node is a terminal, the method further includes: The system receives a first indication message sent by the base station, which is used to indicate whether to add or delete the DRB or PDCP entity associated with the SDAP entity. The method according to claim 44, wherein, The first indication information includes DRB configuration information for added or deleted DRBs; and / or, The first indication information includes PDCP configuration information for the added or deleted PDCP entities. The method of claim 44, wherein, When the first indication information is used to indicate the addition of a DRB or PDCP entity associated with the SDAP entity, the first indication information includes DRB configuration information of at least one added DRB. The method of claim 36 or 46, wherein, The method further includes: Receive a second instruction message, which is used to activate or deactivate the DRB or PDCP entity associated with the SDAP entity. A communication device, wherein include: a memory and a processor; the memory and the processor are coupled; the memory is configured to store instructions executable by the processor; the processor is configured to execute the instructions to perform the method of any one of claims 1-47. A computer-readable storage medium, wherein, a computer readable storage medium having stored thereon computer instructions that, when executed at a computer, cause the computer to perform the method of any one of claims 1-47. A computer program product, wherein, a computer program product comprising computer program instructions to be executed by a processor to implement the method of any one of claims 1-47.