Data processing method and device and readable storage medium

By performing cascading operations before the security operation of the sending end and adding indicator fields to the protocol data unit, the problem of low security processing efficiency of small and medium-sized packets in 5G is solved, efficient secure data transmission is achieved, and business experience and system efficiency are improved.

CN119071846APending Publication Date: 2024-12-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310648586.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-01
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the development of 5G, the integrity protection function introduced for data bearer has led to low security processing efficiency for a large number of small packets, and it is difficult for the prior art to effectively reduce the resources consumed in security processing.

Method used

The sender adds a cascade operation before the secure operation, converts small packets into large packets, and adds an indication field to the protocol data unit to assist the receiver in performing correct decascade operation and improves security processing efficiency.

Benefits of technology

Through this method, the efficiency of secure processing is significantly improved, the timely transmission of ultra-high-speed services is ensured, and the service experience and system efficiency are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071846A_ABST
    Figure CN119071846A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device and a readable storage medium, and belongs to the technical field of communication, and the method comprises the steps that a sending end executes a first processing operation on an SDU to obtain a first PDU; wherein the first processing operation at least comprises a safety operation and a cascade operation executed before the safety operation; the first PDU comprises N + 1 first indication domains, and each first indication domain is used for indicating whether a pair of first indication domain and second indication domain exists behind the first indication domain; n second indication fields, wherein each second indication field respectively indicates the length of one SDU (Service Data Unit) in the first PDU; wherein N is an integer greater than or equal to 0.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data processing method, device and readable storage medium. Background Art

[0002] In the development of 5G, the integrity protection function (Integrity protection for DRB) is introduced for data bearer. The security operations such as integrity protection and encryption of a large number of small packets have brought serious processing efficiency problems to the security processing of the Packet Data Convergence Protocol (PDCP) layer. Studies have found that the processing resources consumed for security processing of multiple small data packets are basically several times the processing resources consumed for security processing of a large data packet. Therefore, a technical solution that can reduce the resources consumed for security processing is urgently needed. Summary of the invention

[0003] The embodiments of the present application provide a data processing method, device and readable storage medium, which can solve the problem of excessive resource consumption in security processing.

[0004] In a first aspect, a data processing method is provided, comprising:

[0005] The transmitting end performs a first processing operation on the SDU to obtain a first PDU;

[0006] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0007] The first PDU includes:

[0008] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0009] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0010] Wherein, N is an integer greater than or equal to 0.

[0011] In a second aspect, a data processing method is provided, comprising:

[0012] The receiving end obtains the first PDU;

[0013] The receiving end performs a second processing operation on the first PDU to obtain an SDU;

[0014] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0015] The first PDU includes:

[0016] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0017] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0018] Wherein, N is an integer greater than or equal to 0.

[0019] In a third aspect, a data processing device is provided, the device being applied to a sending end, the device comprising:

[0020] A first execution module, configured for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU;

[0021] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0022] The first PDU includes:

[0023] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0024] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0025] Wherein, N is an integer greater than or equal to 0.

[0026] In a fourth aspect, a data processing device is provided, the device being applied to a receiving end, the device comprising:

[0027] An acquisition module, used for the receiving end to acquire a first PDU;

[0028] A second execution module, configured for the receiving end to perform a second processing operation on the first PDU to obtain an SDU;

[0029] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0030] The first PDU includes:

[0031] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0032] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0033] Wherein, N is an integer greater than or equal to 0.

[0034] In a fifth aspect, a terminal is provided, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect or the steps of the method described in the second aspect are implemented.

[0035] In a sixth aspect, a terminal is provided, including a processor and a communication interface, wherein:

[0036] When the terminal is a transmitting end, the processor is used for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU;

[0037] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0038] The first PDU includes:

[0039] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0040] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0041] Wherein, N is an integer greater than or equal to 0.

[0042] When the terminal is a receiving end, the processor is used for the receiving end to obtain the first PDU;

[0043] The receiving end performs a second processing operation on the first PDU to obtain an SDU;

[0044] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0045] The first PDU includes:

[0046] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0047] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0048] Wherein, N is an integer greater than or equal to 0.

[0049] In the seventh aspect, a network side device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0050] In an eighth aspect, a network side device is provided, including a processor and a communication interface, wherein:

[0051] When the network side device is a transmitting end, the processor is used for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU;

[0052] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0053] The first PDU includes:

[0054] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0055] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0056] Wherein, N is an integer greater than or equal to 0.

[0057] When the network side device is a receiving end, the processor is used for the receiving end to obtain the first PDU;

[0058] The receiving end performs a second processing operation on the first PDU to obtain an SDU;

[0059] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0060] The first PDU includes:

[0061] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0062] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0063] Wherein, N is an integer greater than or equal to 0.

[0064] In a ninth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0065] In the tenth aspect, a wireless communication system is provided, comprising: a terminal and a network side device, wherein the terminal can be used to execute the steps of the method described in the first aspect or the second aspect, and the network side device can be used to execute the steps of the method described in the first aspect or the second aspect.

[0066] In the eleventh aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect, or to implement the method described in the second aspect.

[0067] In the twelfth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product is executed by at least one processor to implement the method as described in the first aspect, or to implement the method as described in the second aspect.

[0068] In an embodiment of the present application, when the transmitting end processes the SDU, a cascade operation is added before the security operation to realize the conversion of small packets into large packets, and then the security operation is performed, which can greatly improve the efficiency of security processing. At the same time, a first indication field and a second indication field are added to the PDU obtained after the cascade processing, and the indication field can assist the receiving end to correctly de-cascade the PDU. The technical solution of the present application is adopted to improve the efficiency of security processing, ensure the timely transmission of ultra-high-speed services, and improve the service experience and system efficiency on the basis of ensuring the receiving effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1a is a block diagram of a wireless communication system to which the embodiments of the present application can be applied;

[0070] Figure 1b It is a diagram of the PDCP entity structure;

[0071] Figure 2 This is one of the flow charts of the data processing method provided in the embodiment of the present application;

[0072] Figure 3 This is one of the application scenario schematic diagrams provided in the embodiments of the present application;

[0073] Figure 4 This is the second flow chart of the data processing method provided in the embodiment of the present application;

[0074] Figure 5This is the second schematic diagram of the application scenario provided in the embodiment of the present application;

[0075] Figure 6 This is the third application scenario schematic diagram provided by the embodiment of the present application;

[0076] Figure 7 It is one of the structural schematic diagrams of the data processing device provided in the embodiment of the present application;

[0077] Figure 8 This is the second structural diagram of the data processing device provided in the embodiment of the present application;

[0078] Fig. 9 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application;

[0079] Fig.10 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0080] Fig.11 It is a structural diagram of the network side device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0081] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0082] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0083] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0084] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 th Generation, 6G) communication system.

[0085] Figure 1aA block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application. The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (Radio Access Network, RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (Wireless Local Area Network, WLAN) access point (Access Point, AS) or a wireless fidelity (Wireless Fidelity, WiFi) node, etc.Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B, a Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0086] The core network device may include, but is not limited to, at least one of the following: a core network node, a core network function, a mobility management entity (Mobility Management Entity, MME), an access mobility management function (Access and Mobility Management Function, AMF), a session management function (Session Management Function, SMF), a user plane function (User Plane Function, UPF), a policy control function (Policy Control Function, PCF), a policy and charging rules function unit (Policy and Charging Rules Function, PCRF), an edge application service discovery function (Edge Application Server Discovery Function, EASDF), a unified data management (Unified Data Management, UDM), a unified data storage (Unified Data Repository, UDR), a home user server (Home Subscriber Server, HSS), a centralized network configuration (CNC), a network storage function (Network Repository Function, NRF), a network exposure function (Network Exposure Function, NEF), a local NEF (Local NEF, or L-NEF), and a binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

[0087] In order to better understand the technical solution of this application, the following contents are first introduced:

[0088] PDCP

[0089] like Figure 1bAs shown, in the existing mobile communication system, the air interface security operation is generally performed at the PDCP layer. Taking the 5G / NR system as an example, the PDCP layer transmitter usually processes the data packet in the following order: assigning a sequence number (SN), header compression, integrity protection, encryption, adding a PDCP header, routing or copying, and then sending it to the lower layer. Correspondingly, the PDCP layer receiver processes the data packet in the following order: removing the PDCP header, decrypting, integrity verification, reordering or duplicate detection, decompressing the header, and then submitting it to the upper layer.

[0090] The content of integrity protection includes the data part and header of the data packet before encryption. The content of encryption is the integrity message authentication code (MAC-I) generated by integrity protection and the PDCP layer data unit except the Service Data Adaptation Protocol (SDAP) header and SDAP control data unit.

[0091] RLC&MAC

[0092] In the 4G system, the Radio Link Control (RLC) layer has a concatenation function. RLC performs appropriate concatenation and / or segmentation of high-level data packets according to the size of real-time transmission resources allocated by the Media Access Control (MAC) layer, forming data blocks of appropriate size to be sent to the MAC layer for final packet transmission. The effect of RLC layer concatenation is that only one new RLC PDU will be included in the MAC PDU, reducing the RLC layer header overhead.

[0093] In the 5G system, due to the significant increase in data transmission rate, the requirements for non-real-time data processing have increased, so the concatenation function of the RLC layer has been removed. There is a one-to-one correspondence between the RLC layer PDU and the PDCP layer PDU. The RLC layer can pre-process multiple PDUs and arrange them in order. After the MAC layer obtains the size of real-time transmission resources, it intercepts and segments multiple pre-processed PDUs as needed to form the final data block for transmission. 5G is equivalent to transferring the cascading function from RLC to MAC. The purpose is to perform non-real-time preprocessing as much as possible when transmitting large amounts of data, and to improve the efficiency of real-time packet assembly when obtaining resource authorization.

[0094] The data processing method provided in the embodiment of the present application is described in detail below through some embodiments and their application scenarios in combination with the accompanying drawings.

[0095] It should be noted that the data processing method provided in the embodiment of the present application involves execution entities including a sending end and a receiving end, and can specifically cover data transmission scenarios between a terminal and a network side device, data transmission scenarios between terminals, and data transmission scenarios between network side devices and network side devices, that is, the sending end can be a terminal or a network side device, and the receiving end can be a terminal or a network side device.

[0096] See also Figure 2 The embodiment of the present application provides a data processing method, the execution subject of the method is a sending end, and the method includes:

[0097] Step 201: The transmitting end performs a first processing operation on the SDU to obtain a first PDU;

[0098] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0099] The first PDU contains:

[0100] (1) N+1 first indication fields, each first indication field is used to indicate whether there is a pair of first indication field and second indication field following itself;

[0101] (2) N second indication fields, each second indication field indicating the length of an SDU in the first PDU;

[0102] Wherein, N is an integer greater than or equal to 0. That is, the number of the first indicator fields is 1 more than the number of the second indicator fields.

[0103] In an embodiment of the present application, when the transmitting end processes the service data unit (SDU), a cascade operation is added before the security operation to convert a small packet into a large packet, and then the security operation is performed, which can greatly improve the efficiency of security processing. At the same time, a first indication field and a second indication field are added to the protocol data unit (PDU) obtained after the cascade processing, and the indication field can assist the receiving end to correctly de-cascade the PDU. The technical solution of the present application is adopted to improve the efficiency of security processing, ensure the timely transmission of ultra-high-speed services, and improve the service experience and system efficiency on the basis of ensuring the receiving effect.

[0104] The above security operations are existing conventional processing operations, which may include specific processing operations such as allocating sequence numbers SN, header compression, integrity protection, encryption, adding PDCP headers, routing or copying.

[0105] It should be noted that the above-mentioned first processing operation covers all relevant processing operations that the SDU undergoes in the PDCP layer and / or the protocol layer that performs the cascade operation. After the SDU undergoes a series of operations in the protocol layer, a PDU to be transmitted is finally generated.

[0106] This application adds a cascade operation before the security operation. It should be noted that the cascade operation cannot be replaced by the existing RLC or MAC layer cascade, because the latter is performed after the security processing and cannot solve the problem of security processing efficiency. The main purpose of the latter is to adapt the data packet size to the size of the transmission resource. Due to different purposes, they cannot replace each other and can be used together according to needs and configurations. The current protocol does not support cascade operations before security operations, and the cascade operation is significantly different from the traditional cascade purpose performed according to the resource block size allocated by the bottom layer.

[0107] The first indication field and the second indication field are the newly added data packet formats after the cascade operation is added. The first indication field and the second indication field can clearly indicate the data cascade mode, and the receiving end can correctly de-cascade the operation based on the indication field. The first indication field can also be called an extension field or an extension bit (Extension bit), which can be referred to as an E field; the second indication field can also be called a length indicator (Length Indicator), which can be referred to as an LI field.

[0108] The E field is used in conjunction with the LI field to indicate how many SDUs are concatenated together in the first PDU, specifically:

[0109] E field: The length can be 1 bit, which is used to indicate whether the following field is a data field or an E+LI group field, that is, whether there is a data packet SDU following;

[0110] LI field: used to indicate the total length of one of the data packets SDU, in bytes. SDUs are all whole bytes. The length of the LI field is generally specified by the protocol or configurable, such as 11 bits or 15 bits. The first LI field is used to indicate the total size of the first SDU in bytes, the second LI field is used to indicate the total size of the second SDU in bytes, and so on. The last SDU does not need to be indicated by the LI field, because the remaining data part is all the content of the last SDU, so the number of LIs is the number of SDUs minus 1. When the PDU contains only one SDU, no LI field is required, and the first E field is set to 0, which means that there is no E+LI field in the future, but a unique SDU data field is directly followed. When a PDU contains two PDUs, it needs to carry a set of E+LI fields. The first E field is set to 1, which means there is a subsequent set of E+LI fields, and the E field in the first set of E+LI fields is set to 0, which means there are only two SDUs and no third one. The value of the LI field is equal to the byte size of the total size of the first SDU. The receiving end can separate SDU1 and the remaining SDU2 from the data part indicated by the LI field. By analogy, it can be extended to the case of multiple SDUs.

[0111] It is understandable that the first PDU may also include the following fields:

[0112] D / C field: 1 bit in length, indicating whether the data packet is a data PDU or a Control PDU;

[0113] SN field: indicates the sequence number corresponding to this data packet, which is used for data packet sorting and duplication detection, and as an input parameter for security operations; the length of the SN field is generally configurable, such as 12 bits or 18 bits; generally, one SN is sufficient for a cascaded PDU, but it does not rule out the possibility of containing multiple SNs, and one SN can be allocated to one SDU or several SDUs;

[0114] In a possible implementation manner, the transmitting end performing a first processing operation on the service data unit SDU includes:

[0115] The sending end performs cascading operations on the SDU according to the cascading configuration;

[0116] In the existing system, the function of cascading before security operation is not supported. In order to add this function, cascading configuration is required. Even if the future 6G system is designed to support this function for all UEs and base stations, it is not necessary to enable it for all services, but only for specific services. Therefore, cascading configuration is required.

[0117] Taking the scenario of data transmission between the terminal and the network side device as an example, before configuring this special cascading function on the network side, the network side needs to first obtain the relevant capabilities of the UE, which can be 1 bit to indicate whether it is supported, or there can be additional capability bits to indicate whether which operations under this function are supported, such as whether long LI or short LI is supported. The relevant UE capabilities can be added to the existing L2 or PDCP-related capabilities and reported using the existing capability reporting process. When the network side supports the cascading function before this security operation, and the network side ensures that the UE also supports this function, the network can perform relevant configurations on the specific bearer of the UE, or a certain UL / DL direction of the specific bearer as needed.

[0118] The cascade configuration includes one or more of the following:

[0119] (1) first indication information, used to indicate whether the cascading function is enabled for the target bearer, or used to indicate whether the cascading function is enabled for the uplink direction of the target bearer, or used to indicate whether the cascading function is enabled for the downlink direction of the target bearer, or used to indicate whether the cascading function is enabled for the current direction of the target bearer;

[0120] It can be understood that the first indication information is mainly used to indicate whether the cascading function is turned on. It can be a unified configuration, or it can indicate whether the cascading function is turned on in a specific transmission direction according to the transmission scenario. For example, in the scenario where data is transmitted between the terminal and the network side device, the transmission direction from the terminal to the network side device is uplink, and vice versa. For example, in the scenario where data is transmitted between terminals, in terms of business flow, the sending UE configures the receiving UE cascading related content, and the configuration is the direction from the sending UE to the receiving UE (that is, the current direction mentioned above).

[0121] (2) Data format parameters for cascade operations;

[0122] Parameters related to the specific format of the cascade operation, such as the length of the LI field is 11 bits, or the LI length is 15 bits, or the LI supports variable length, etc.;

[0123] (3) Execution parameters of the cascade operation.

[0124] Parameters related to the specific execution of the cascade operation, such as the lower or upper threshold of the size of the data packet participating in the cascade operation, the maximum or minimum number of SDUs contained in a cascaded PDU, the maximum or minimum size of the PDU after cascading, etc.;

[0125] In a possible implementation, the data format parameters of the cascade operation include:

[0126] The second indicates the length parameter of the field.

[0127] In an embodiment of the present application, a length parameter of the second indication field is included in the cascade configuration to configure the specific length of the LI field.

[0128] In a possible implementation, the execution parameters of the cascade operation include one or more of the following:

[0129] (1) The minimum threshold of the SDU size that can participate in the cascade operation;

[0130] (2) The maximum size threshold of the SDUs that can participate in the cascade operation;

[0131] The highest threshold means that the size of the high-level SDU needs to be lower than this threshold before the cascade operation can be performed. Similarly, the lowest threshold means that the size of the high-level SDU needs to be higher than this threshold before the cascade operation can be performed. When both the high and low thresholds are configured, the size of the data packet SDU needs to meet the requirements of both thresholds at the same time; SDUs that do not meet the threshold requirements do not participate in the cascade operation, that is, the SDU can be independently packaged and safely operated separately;

[0132] (3) The maximum number of SDUs or the number of second indicator fields contained in a first PDU;

[0133] (4) The minimum number of SDUs or the number of second indicator fields contained in a first PDU;

[0134] The maximum number limits the upper limit of the number of data packets contained in a cascaded PDU, and the minimum number limits the lower limit of the number of data packets. If configured at the same time, both thresholds must be met; when the minimum threshold requirement is not met, the cascade operation is not performed, and the SDU can be composed of PDUs separately and operate independently and safely. When the maximum threshold requirement is about to be exceeded, the excess SDU does not participate in the current cascade PDU package, and can be used as one of the next cascade data packets or an independent package;

[0135] (5) Maximum size of the first PDU;

[0136] (6) Minimum size of the first PDU.

[0137] The maximum size limits the upper limit of the size of a cascaded PDU, and the minimum size limits its lower limit. If configured at the same time, the two thresholds need to be met at the same time; when the minimum threshold requirement is not met, the cascade operation is not performed, and the SDU can be composed of a PDU alone and operate independently and safely; when the maximum threshold requirement is about to be exceeded, the exceeded SDU does not participate in the current cascade PDU package, and can be used as one of the next cascade data packets or an independent package;

[0138] It should be noted that the above cascade configuration may be configured or reconfigured in a semi-static manner through RRC signaling.

[0139] Dynamic configuration or semi-static configuration + dynamic adjustment is not excluded, where the semi-static configuration means that the initial configuration or the optional configuration list is still given by RRC signaling, but L2 control PDU, such as PDCPcontrol PDU or MAC control element, can be used to adjust the configuration at any time. L2 control PDU can be used to give an updated configuration or select an updated configuration number from the optional configuration list and configure it to the UE.

[0140] The dynamic configuration can better adjust the operation details in time according to the link conditions and the reception and feedback of the other end to improve the efficiency of cascade operation. For example, when the link conditions are good or the resources are sufficient, more data packets SDU can be cascaded to save the efficiency of security processing, increase the rate and user experience, and when the link deteriorates or the resources are insufficient, the number of cascaded data packets or the total size will be reduced to avoid the increase of header overhead caused by too many segments or the failure of individual segment transmission, which will cause the entire data packet to be unable to be smoothly decrypted by the receiving end for security operations, resulting in a decrease in rate and user experience.

[0141] Of course, it is also possible to configure only the cascading function and necessary format parameters on the network side, while leaving the specific details of the cascading to the implementation algorithms of the base station and the terminal, which are executed by each based on the data packet cache, link quality, resources and even feedback from the receiving end.

[0142] When a UE communicates with a network, it is usually configured by the network to the UE. If two UEs communicate with each other, the two UEs need to negotiate the configuration. Generally, each UE configures itself as the sender to enable cascading and cascading parameters, and sends them to the other end. The UE configuration can come from the dedicated RRC signaling or SIB or pre-configuration information of its serving base station.

[0143] In a possible implementation manner, the first PDU further includes:

[0144] The third indication field is used to indicate the length of the second indication field.

[0145] In an embodiment of the present application, in order to continue to save header overhead, dynamic LI field length can also be supported. The method is to extend the format field (Format field) in the first PDU, referred to as the F field, and use the value of the F field to indicate the LI length. For example, F field = 0 (binary) represents a LI length of 15, F field = 1 (binary) represents a LI length of 7, or F field value 00 (binary) represents a LI length of 15, F field value 01 (binary) represents a LI length of 11, F field value 10 (binary) represents a Life length of 7, and so on.

[0146] In a possible implementation, the method further includes:

[0147] (1) When the sending end is a network side device and the receiving end is a terminal, the sending end sends a cascade configuration to the receiving end;

[0148] (2) When the sending end is a terminal and the receiving end is a network side device, the sending end receives the cascade configuration from the receiving end;

[0149] For the scenario where the terminal and the network side device perform data transmission, in this scenario, the cascade configuration is provided by the network side device.

[0150] (3) When both the sending end and the receiving end are terminals, the sending end sends a cascade configuration to the receiving end;

[0151] For a scenario where data is transmitted between terminals, in this scenario, the cascade configuration is provided by the sending end of the two interacting terminals.

[0152] (4) When both the sending end and the receiving end are network-side devices, the sending end sends the cascade configuration to the receiving end, or the sending end receives the cascade configuration from the receiving end.

[0153] For the scenario where network side devices transmit data to each other, in this scenario, there may be a master-slave relationship between the two network side devices, so the cascade configuration may be provided by the sending end in both interacting network side devices, or by the receiving end in both interacting network side devices.

[0154] In a possible implementation manner, the transmitting end performs a cascading operation on the SDU according to the cascading configuration, including:

[0155] The transmitting end performs a concatenation operation on the SDU at the PDCP layer or a protocol layer above the PDCP layer according to the concatenation configuration.

[0156] In the embodiment of the present application, the cascading function can be performed by PDCP or a protocol layer other than PDCP, and it is only necessary to ensure that the sender completes the cascading of the data packets before the security operation, thereby reducing the processing overhead of the security operation. Figure 3 A protocol layer dedicated to cascading operations can be added above the PDCP layer. The protocol layer is Radio Bearer granularity and corresponds one-to-one with the PDCP layer. It completes the cascading operation of PDCP SDU data and then passes the data to PDCP for security operations and other L2 processing.

[0157] In a possible implementation, when the transmitting end performs a cascade operation on the SDU according to the cascade configuration at the PDCP layer, the cascade configuration is a configuration at the granularity of a radio bearer (RB). The cascade configuration at the RB granularity is adopted to adapt to the scenario where the cascade function is performed at the PDCP layer.

[0158] For the above-mentioned scheme on the sending end:

[0159] Before performing the cascade operation, the transmitting end and the receiving end need to unify the configuration first, such as whether the special cascade operation is enabled, the data packet format parameters of the cascade operation, etc. Generally speaking, the configuration parameters related to the data packet format will not be dynamically changed to avoid confusion of the data in the queue or transmitted over the air interface. The data packet format of the dynamic LI in Example 2 is an exception because each dynamic LI format is self-indicating, self-contained, and self-analyzing, and does not affect other data packets before and after.

[0160] After the configuration is completed, the sender can perform cascade operations according to the configured parameters. The following focuses on how the sender can adjust the cascade operation according to the actual situation to achieve better efficiency.

[0161] For example, if the cascaded data packet is too large or too small, it is not conducive to the speed and experience. When the data packet is large or there are many of them, it needs to be transmitted multiple times, and the transmission conditions are different each time, resulting in the successful transmission of all data packets before a complete security operation can be performed, and then delivered to the upper layer in sequence. Once any of the segments fails or is continuously retransmitted, it will affect the processing of the entire cascaded data packet, causing delays and failure of the entire packet. When the cascaded data packet is small or the number is small, although it can be transmitted at one time, the security processing efficiency saved is limited due to the limited number. Therefore, how to achieve a compromise between processing efficiency and reception effect is the main goal of improving cascade efficiency.

[0162] One way is to perform cascading based on the size of the allocated resource block. For example, if the TB size of a scheduled packet is 5,000 bytes, and the sender has several 1,500-byte packets in its buffer, 3-4 packets can be used for cascading, and the cascaded packets can be delivered in 1-2 transmissions. Alternatively, the next time, the user link situation improves, the system load becomes lighter, and the TB size of a scheduled packet increases to 10,000 bytes, then 6-7 packets can be used for cascading.

[0163] Another way is to use service priority or guaranteed bit rate and other parameters. For services with higher priority or higher guaranteed bit rate, since they will occupy bandwidth and resources first, more data can be cascaded to improve processing efficiency and transmission speed as much as possible. Conversely, for services with lower priority or lower guaranteed bit rate, since they rank last in terms of occupying bandwidth and resources, less data can be cascaded or even not cascaded temporarily to ensure transmission efficiency as much as possible.

[0164] After completing the concatenation, the sender performs overall security operations on the concatenated data packets, including encryption and integrity protection. The content scope of encryption and integrity protection can refer to the existing ones. The following items need special consideration and explanation:

[0165] First, the input parameters for encryption and security need to include a COUNT value, which is composed of SN and HFN. When a concatenated data packet has only one SN, the COUNT value composed of the SN is used as the input parameter for encryption and security. When a concatenated data packet contains more than one SN, the default method of the sender and receiver is adopted, such as using the COUNT value composed of the first SN as the input parameter for encryption and security.

[0166] Second, the traditional encryption scope does not include the SDAP header and SDAP control unit. When applying cascade operations, the SDAP control unit can be cascaded with ordinary data and encrypted together to give them a higher security level, or the SDAP control unit can be sent separately without participating in the cascade, then the existing operation of not encrypting the SDAP control unit can be used, and other data can be processed normally. As for the SDAP header, the reason for avoiding encryption is that the SDAP header may carry QoS flowmapping control information, such as reflective QoS mapping information. If you still want to keep this part of information from being encrypted, you can try to place the data packet with a special SDAP header in the first SDU and avoid encrypting the SDAP header of the first SDU every time.

[0167] After concatenation and security operations, the packet undergoes other conventional processing and is sent to lower layers and sent to the receiver over the air interface.

[0168] See also Figure 4 The embodiment of the present application provides a data processing method, the execution subject of the method is a receiving end, including:

[0169] Step 401: The receiving end obtains the first PDU;

[0170] Step 402: The receiving end performs a second processing operation on the first PDU to obtain an SDU;

[0171] The second processing operation at least includes a de-security operation and a de-cascade operation performed after the de-security operation;

[0172] The first PDU contains:

[0173] (1) N+1 first indication fields, each first indication field is used to indicate whether there is a pair of first indication field and second indication field following itself;

[0174] (2) N second indication fields, each second indication field indicating the length of an SDU in the first PDU;

[0175] Wherein, N is an integer greater than or equal to 0.

[0176] In a possible implementation manner, the receiving end performing the second processing operation on the SDU includes:

[0177] The receiving end performs de-cascading operations according to the cascading configuration;

[0178] Cascading configuration includes one or more of the following:

[0179] (1) first indication information, used to indicate whether the cascading function is enabled for the target bearer, or used to indicate whether the cascading function is enabled for the uplink direction of the target bearer, or used to indicate whether the cascading function is enabled for the downlink direction of the target bearer, or used to indicate whether the cascading function is enabled for the current direction of the target bearer;

[0180] (2) Data format parameters for cascade operations;

[0181] (3) Execution parameters of the cascade operation.

[0182] In a possible implementation, the data format parameters of the cascade operation include:

[0183] The second indicates the length parameter of the field.

[0184] In a possible implementation, the execution parameters of the cascade operation include one or more of the following:

[0185] (1) The minimum threshold of the SDU size that can participate in the cascade operation;

[0186] (2) The maximum size threshold of the SDUs that can participate in the cascade operation;

[0187] (3) The maximum number of SDUs or the number of second indicator fields contained in a first PDU;

[0188] (4) The minimum number of SDUs or the number of second indicator fields contained in a first PDU;

[0189] (5) Maximum size of the first PDU;

[0190] (6) Minimum size of the first PDU.

[0191] In a possible implementation manner, the first PDU further includes:

[0192] The third indication field is used to indicate the length of the second indication field.

[0193] In a possible implementation, the method further includes:

[0194] (1) When the sending end is a network side device and the receiving end is a terminal, the receiving end receives the cascade configuration from the sending end;

[0195] (2) When the sending end is a terminal and the receiving end is a network side device, the receiving end sends a cascade configuration to the sending end;

[0196] (3) When both the sending end and the receiving end are terminals, the receiving end receives the cascade configuration from the sending end;

[0197] (4) When both the sending end and the receiving end are network-side devices, the receiving end receives the cascade configuration from the sending end, or the receiving end sends the cascade configuration to the sending end.

[0198] In a possible implementation manner, the receiving end performs a de-cascading operation according to the cascade configuration, including:

[0199] The receiving end performs a de-concatenation operation at the PDCP layer or a protocol layer above the PDCP layer according to the cascade configuration.

[0200] In a possible implementation, when the receiving end performs a de-concatenation operation according to the cascade configuration at the PDCP layer, the cascade configuration is a configuration of RB granularity.

[0201] The content of the solution on the above receiving end side can refer to the relevant description on the sending end side and will not be repeated here.

[0202] For the above receiving end solution:

[0203] The receiving end also needs to have the same cascade configuration as the sending end to unify the operation.

[0204] After receiving a data packet, the receiver first performs security operations on the data packet, such as decryption and integrity verification, and then splits the data packet into individual SDUs in a cascade format and delivers them to the upper layer in sequence.

[0205] In a bearer with cascading enabled, the receiver may also receive a single data packet that is not cascaded at all. In this case, it can be determined from the E field that this is a data packet containing only a single SDU, and the single SDU is processed. In a bearer without cascading enabled, the receiver receives PDUs consisting of a single SDU. The difference between the two is that the former requires the E field to distinguish the number of SDUs, while the latter defaults to one SDU. In addition, different bearers generally correspond to different L2 processing entities, which are logically distinguished.

[0206] In particular, the cascading function can also be performed by protocol layers other than PDCP. It only needs to ensure that the sender completes the cascading of the data packets before the security operation, thereby reducing the processing overhead of the security operation. For example, a protocol layer dedicated to the cascading operation can be added above the PDCP layer. The protocol layer is Radio Bearer granularity, one-to-one corresponding to the PDCP layer, completes the cascading operation of the PDCP SDU data, and then passes the data to the PDCP for security operations and other L2 processing.

[0207] The technical solution of the present application is described below in conjunction with specific embodiments:

[0208] See also Figure 5 , taking the SN field length of 12 bits and the LI field length of 15 bits as an example, an example of the data format of the concatenated data packet is given, in which each E+LI group field can be uniformly placed in the data packet header, followed by the concatenated body of the SDU, such as Figure 5 shown.

[0209] See also Figure 6 In another way, each E+LI1 group field can be directly followed by the corresponding SDU1, and the next E+LI2 group field is connected to the previous SDU1. The Ebit of the last E+LIk group field is 0, which means that there is one last SDUk+1 left in addition to the SDUk group. Taking the 12-bit SN field length and the 15-bit LI field length as an example, another data format example of a cascaded data packet is given as follows Figure 6 shown.

[0210] In particular, the above explanation is based on the example of LI length of 15 bits. If the LI length is configured as 11 bits, the upper limit of IPv4 data packets is usually 1500 bytes. 11 bits can indicate the maximum size of 2047 bytes, which is just right. E+11bit LI is exactly 12 bits, and two groups are 24 bits = 3 bytes, which saves one byte of header overhead compared to 15bit LI length. Generally, for 11bit LI length, it is best to place all E+LI group fields in the data packet header, so that they can make up a whole byte, and only use 4 bits of padding at the end if there are still 4 bits left. If you want to use the group arrangement method of E+LI+SDU, each group of E+LI needs 4 bits of padding, which cannot save header overhead compared to 15bit LI.

[0211] The data processing method provided in the embodiment of the present application can be executed by a data processing device. In the embodiment of the present application, the data processing device provided in the embodiment of the present application is described by taking the data processing method executed by the data processing device as an example.

[0212] See also Figure 7 The embodiment of the present application provides a data processing device 700, which is applied to a transmitting end and includes:

[0213] A first execution module 701, configured for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU;

[0214] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0215] The first PDU includes:

[0216] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0217] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0218] Wherein, N is an integer greater than or equal to 0.

[0219] Optionally, the first execution module is specifically configured to:

[0220] The transmitting end performs the cascading operation on the SDU according to the cascading configuration;

[0221] The cascade configuration includes one or more of the following:

[0222] The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer;

[0223] Data format parameters of the cascade operation;

[0224] The execution parameters of the cascade operation.

[0225] Optionally, the data format parameters of the cascade operation include:

[0226] The second indicator field has a length parameter.

[0227] Optionally, the execution parameters of the cascade operation include one or more of the following:

[0228] A minimum threshold of the size of the SDUs participating in the cascade operation;

[0229] A maximum threshold of the size of the SDUs participating in the cascade operation;

[0230] the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs;

[0231] the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs;

[0232] a maximum size of the first PDU;

[0233] The minimum size of the first PDU.

[0234] Optionally, the first PDU further includes:

[0235] The third indication field is used to indicate the length of the second indication field.

[0236] Optionally, the device further comprises:

[0237] The first transmission module is used for:

[0238] In a case where the sending end is a network side device and the receiving end is a terminal, the sending end sends the cascade configuration to the receiving end;

[0239] In a case where the sending end is a terminal and the receiving end is a network side device, the sending end receives the cascade configuration from the receiving end;

[0240] In a case where both the transmitting end and the receiving end are terminals, the transmitting end sends the cascade configuration to the receiving end;

[0241] In the case that both the sending end and the receiving end are network-side devices, the sending end sends the cascade configuration to the receiving end, or the sending end receives the cascade configuration from the receiving end.

[0242] Optionally, the first execution module is specifically configured to:

[0243] The transmitting end performs the cascading operation on the SDU at the PDCP layer or a protocol layer above the PDCP layer according to the cascading configuration.

[0244] Optionally, when the transmitting end performs the cascading operation on the SDU according to the cascading configuration at the PDCP layer, the cascading configuration is a configuration of RB granularity.

[0245] See also Figure 8 , an embodiment of the present application provides a data processing device 800, the device is applied to a receiving end, and the device includes:

[0246] An acquisition module 801 is used for the receiving end to acquire a first PDU;

[0247] A second execution module 802, configured for the receiving end to perform a second processing operation on the first PDU to obtain an SDU;

[0248] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0249] The first PDU includes:

[0250] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0251] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0252] Wherein, N is an integer greater than or equal to 0.

[0253] Optionally, the second execution module is specifically configured to:

[0254] The receiving end performs the de-cascading operation according to the cascade configuration;

[0255] The cascade configuration includes one or more of the following:

[0256] The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer;

[0257] Data format parameters for cascade operations;

[0258] The execution parameters of the cascade operation.

[0259] Optionally, the data format parameters of the cascade operation include:

[0260] The second indicator field has a length parameter.

[0261] Optionally, the execution parameters of the cascade operation include one or more of the following:

[0262] A minimum threshold of the size of the SDUs participating in the cascade operation;

[0263] A maximum threshold of the size of the SDUs participating in the cascade operation;

[0264] the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs;

[0265] the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs;

[0266] a maximum size of the first PDU;

[0267] The minimum size of the first PDU.

[0268] Optionally, the first PDU further includes:

[0269] The third indication field is used to indicate the length of the second indication field.

[0270] Optionally, the device further comprises:

[0271] The second transmission module is used to

[0272] In a case where the sending end is a network side device and the receiving end is a terminal, the receiving end receives the cascade configuration from the sending end;

[0273] In a case where the sending end is a terminal and the receiving end is a network side device, the receiving end sends the cascade configuration to the sending end;

[0274] In a case where both the transmitting end and the receiving end are terminals, the receiving end receives the cascade configuration from the transmitting end;

[0275] In the case that both the sending end and the receiving end are network-side devices, the receiving end receives the cascade configuration from the sending end, or the receiving end sends the cascade configuration to the sending end.

[0276] Optionally, the receiving end performs the de-cascading operation according to the cascade configuration, including:

[0277] The receiving end performs a de-concatenation operation at the PDCP layer or a protocol layer above the PDCP layer according to the cascade configuration.

[0278] Optionally, when the receiving end performs a de-cascading operation at the PDCP layer according to the cascading configuration, the cascading configuration is a configuration of RB granularity.

[0279] The data processing device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices other than a terminal. For example, the terminal may include but is not limited to the types of terminals 11 listed above, and other devices may be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0280] The data processing device provided in the embodiment of the present application can realize Figures 2 to 6 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0281] like Fig. 9 As shown, the embodiment of the present application further provides a communication device 900, including a processor 901 and a memory 902, and the memory 902 stores a program or instruction that can be run on the processor 901. For example, when the communication device 900 is a terminal, the program or instruction is executed by the processor 901 to implement the various steps of the above data processing method embodiment, and can achieve the same technical effect. When the communication device 900 is a network side device, the program or instruction is executed by the processor 901 to implement the various steps of the above data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0282] The embodiment of the present application also provides a terminal, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 7 The steps in the method embodiment shown. This terminal embodiment corresponds to the above-mentioned terminal side method embodiment, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Fig.10 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0283] The terminal 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009 and at least some of the components of a processor 1010.

[0284] Those skilled in the art will appreciate that the terminal 1000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.10 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0285] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0286] In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 1001 can transmit the data to the processor 1010 for processing; in addition, the RF unit 1001 can send uplink data to the network side device. Generally, the RF unit x01 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0287] The memory 1009 can be used to store software programs or instructions and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0288] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.

[0289] Among them, when the terminal is the sending end,

[0290] Processor 1010, configured for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU;

[0291] The first processing operation at least includes a security operation and a cascade operation performed before the security operation;

[0292] The first PDU includes:

[0293] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0294] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0295] Wherein, N is an integer greater than or equal to 0.

[0296] Optionally, the processor 1010 is specifically configured to:

[0297] The transmitting end performs the cascading operation on the SDU according to the cascading configuration;

[0298] The cascade configuration includes one or more of the following:

[0299] The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer;

[0300] Data format parameters of the cascade operation;

[0301] The execution parameters of the cascade operation.

[0302] Optionally, the data format parameters of the cascade operation include:

[0303] The second indicator field has a length parameter.

[0304] Optionally, the execution parameters of the cascade operation include one or more of the following:

[0305] A minimum threshold of the size of the SDUs participating in the cascade operation;

[0306] A maximum threshold of the size of the SDUs participating in the cascade operation;

[0307] the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs;

[0308] the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs;

[0309] a maximum size of the first PDU;

[0310] The minimum size of the first PDU.

[0311] Optionally, the first PDU further includes:

[0312] The third indication field is used to indicate the length of the second indication field.

[0313] Optionally, the radio frequency unit 1001 is used to:

[0314] In a case where the sending end is a network side device and the receiving end is a terminal, the sending end sends the cascade configuration to the receiving end;

[0315] In a case where the sending end is a terminal and the receiving end is a network side device, the sending end receives the cascade configuration from the receiving end;

[0316] In a case where both the transmitting end and the receiving end are terminals, the transmitting end sends the cascade configuration to the receiving end;

[0317] In the case that both the sending end and the receiving end are network-side devices, the sending end sends the cascade configuration to the receiving end, or the sending end receives the cascade configuration from the receiving end.

[0318] Optionally, the processor 1010 is specifically configured to:

[0319] The transmitting end performs the cascading operation on the SDU at the PDCP layer or a protocol layer above the PDCP layer according to the cascading configuration.

[0320] Optionally, when the transmitting end performs the cascading operation on the SDU according to the cascading configuration at the PDCP layer, the cascading configuration is a configuration of RB granularity.

[0321] When the terminal is a receiving end,

[0322] Processor 1010, configured for the receiving end to obtain a first PDU;

[0323] Processor 1010, configured for the receiving end to perform a second processing operation on the first PDU to obtain an SDU;

[0324] The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation;

[0325] The first PDU includes:

[0326] N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself;

[0327] N second indication fields, each of which indicates the length of an SDU in the first PDU;

[0328] Wherein, N is an integer greater than or equal to 0.

[0329] Optionally, the processor 1010 is specifically configured to:

[0330] The receiving end performs the de-cascading operation according to the cascade configuration;

[0331] The cascade configuration includes one or more of the following:

[0332] The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer;

[0333] Data format parameters for cascade operations;

[0334] The execution parameters of the cascade operation.

[0335] Optionally, the data format parameters of the cascade operation include:

[0336] The second indicator field has a length parameter.

[0337] Optionally, the execution parameters of the cascade operation include one or more of the following:

[0338] A minimum threshold of the size of the SDUs participating in the cascade operation;

[0339] A maximum threshold of the size of the SDUs participating in the cascade operation;

[0340] the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs;

[0341] the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs;

[0342] a maximum size of the first PDU;

[0343] The minimum size of the first PDU.

[0344] Optionally, the first PDU further includes:

[0345] The third indication field is used to indicate the length of the second indication field.

[0346] Optionally, the radio frequency unit 1001 is used to

[0347] In a case where the sending end is a network side device and the receiving end is a terminal, the receiving end receives the cascade configuration from the sending end;

[0348] In a case where the sending end is a terminal and the receiving end is a network side device, the receiving end sends the cascade configuration to the sending end;

[0349] In a case where both the transmitting end and the receiving end are terminals, the receiving end receives the cascade configuration from the transmitting end;

[0350] In the case that both the sending end and the receiving end are network-side devices, the receiving end receives the cascade configuration from the sending end, or the receiving end sends the cascade configuration to the sending end.

[0351] Optionally, the receiving end performs the de-cascading operation according to the cascade configuration, including:

[0352] The receiving end performs a de-concatenation operation at the PDCP layer or a protocol layer above the PDCP layer according to the cascade configuration.

[0353] Optionally, when the receiving end performs a de-cascading operation at the PDCP layer according to the cascading configuration, the cascading configuration is a configuration of RB granularity.

[0354] The embodiment of the present application also provides a network side device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 8 The steps of the method embodiment shown. This network side device embodiment corresponds to the above network side device method embodiment, and each implementation process and implementation mode of the above method embodiment can be applied to this network side device embodiment and can achieve the same technical effect.

[0355] Specifically, the embodiment of the present application also provides a network side device. Fig.11 As shown, the network side device 1100 includes: an antenna 111, a radio frequency device 112, a baseband device 113, a processor 114 and a memory 115. The antenna 111 is connected to the radio frequency device 112. In the uplink direction, the radio frequency device 112 receives information through the antenna 111 and sends the received information to the baseband device 113 for processing. In the downlink direction, the baseband device 113 processes the information to be sent and sends it to the radio frequency device 112. The radio frequency device 112 processes the received information and sends it out through the antenna y1.

[0356] The method executed by the network-side device in the above embodiment may be implemented in the baseband device 113, which includes a baseband processor.

[0357] The baseband device 113 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.11As shown, one of the chips is, for example, a baseband processor, which is connected to the memory 115 through a bus interface to call the program in the memory 115 to execute the network device operations shown in the above method embodiment.

[0358] The network side device may further include a network interface 116, which is, for example, a Common Public Radio Interface (CPRI).

[0359] Specifically, the network side device 1100 of the embodiment of the present application further includes: instructions or programs stored in the memory 115 and executable on the processor y4, and the processor 114 calls the instructions or programs in the memory 115 to execute Figure 8 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0360] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0361] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0362] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0363] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0364] The embodiments of the present application further provide a computer program / program product, which is stored in a storage medium and is executed by at least one processor to implement the various processes of the above-mentioned data processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0365] An embodiment of the present application also provides a wireless communication system, including: a terminal and a network side device, wherein the terminal can be used to execute the steps of the method as described above by the transmitter or receiver, and the network side device can be used to execute the steps of the method as described above by the transmitter or receiver.

[0366] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0367] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0368] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A data processing method, characterized in that: include: The sending end performs a first processing operation on the service data unit SDU to obtain a first protocol data unit PDU; The first processing operation at least includes a security operation and a cascade operation performed before the security operation; The first PDU includes: N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself; N second indication fields, each of which indicates the length of an SDU in the first PDU; Wherein, N is an integer greater than or equal to 0.

2. The method according to claim 1, characterized in that The transmitting end performs a first processing operation on the service data unit SDU, including: The transmitting end performs the cascading operation on the SDU according to the cascading configuration; The cascade configuration includes one or more of the following: The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer; Data format parameters of the cascade operation; The execution parameters of the cascade operation.

3. The method according to claim 2, characterized in that The data format parameters of the cascade operation include: The second indicator field has a length parameter.

4. The method according to claim 2, characterized in that: The execution parameters of the cascade operation include one or more of the following: A minimum threshold of the size of the SDUs participating in the cascade operation; A maximum threshold of the size of the SDUs participating in the cascade operation; the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs; the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs; a maximum size of the first PDU; The minimum size of the first PDU.

5. The method according to claim 1, characterized in that The first PDU also includes: The third indication field is used to indicate the length of the second indication field.

6. The method according to claim 2, characterized in that The method further comprises: In a case where the sending end is a network side device and the receiving end is a terminal, the sending end sends the cascade configuration to the receiving end; In a case where the sending end is a terminal and the receiving end is a network side device, the sending end receives the cascade configuration from the receiving end; In a case where both the transmitting end and the receiving end are terminals, the transmitting end sends the cascade configuration to the receiving end; In the case that both the sending end and the receiving end are network-side devices, the sending end sends the cascade configuration to the receiving end, or the sending end receives the cascade configuration from the receiving end.

7. The method according to claim 2, characterized in that: The transmitting end performs the cascading operation on the SDU according to the cascading configuration, including: The transmitting end performs the concatenation operation on the SDU according to the concatenation configuration at a packet data convergence protocol PDCP layer or a protocol layer above the PDCP layer.

8. The method according to claim 7, characterized in that In a case where the transmitting end performs the cascading operation on the SDU according to the cascading configuration at the PDCP layer, the cascading configuration is a configuration of a radio bearer RB granularity.

9. A data processing method, characterized in that: include: The receiving end obtains the first PDU; The receiving end performs a second processing operation on the first PDU to obtain an SDU; The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation; The first PDU includes: N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself; N second indication fields, each of which indicates the length of an SDU in the first PDU; Wherein, N is an integer greater than or equal to 0.

10. The method according to claim 9, characterized in that The receiving end performing a second processing operation on the SDU includes: The receiving end performs the de-cascading operation according to the cascade configuration; The cascade configuration includes one or more of the following: The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer; Data format parameters for cascade operations; The execution parameters of the cascade operation.

11. The method according to claim 10, characterized in that The data format parameters of the cascade operation include: The second indicator field has a length parameter.

12. The method according to claim 10, characterized in that The execution parameters of the cascade operation include one or more of the following: A minimum threshold of the size of the SDUs participating in the cascade operation; A maximum threshold of the size of the SDUs participating in the cascade operation; the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs; the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs; a maximum size of the first PDU; The minimum size of the first PDU.

13. The method according to claim 9, characterized in that The first PDU also includes: The third indication field is used to indicate the length of the second indication field.

14. The method according to claim 9, characterized in that The method further comprises: In a case where the sending end is a network side device and the receiving end is a terminal, the receiving end receives the cascade configuration from the sending end; In a case where the sending end is a terminal and the receiving end is a network side device, the receiving end sends the cascade configuration to the sending end; In a case where both the transmitting end and the receiving end are terminals, the receiving end receives the cascade configuration from the transmitting end; In the case that both the sending end and the receiving end are network-side devices, the receiving end receives the cascade configuration from the sending end, or the receiving end sends the cascade configuration to the sending end.

15. The method according to claim 10, characterized in that The receiving end performs the de-cascading operation according to the cascade configuration, including: The receiving end performs a de-concatenation operation at the PDCP layer or a protocol layer above the PDCP layer according to the cascade configuration.

16. The method according to claim 15, characterized in that In the case where the receiving end performs a de-concatenation operation at the PDCP layer according to the cascade configuration, the cascade configuration is a configuration of RB granularity.

17. A data processing device, characterized in that: The device is applied to a transmitting end, and the device includes: A first execution module, configured for the transmitting end to perform a first processing operation on the SDU to obtain a first PDU; The first processing operation at least includes a security operation and a cascade operation performed before the security operation; The first PDU includes: N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself; N second indication fields, each of which indicates the length of an SDU in the first PDU; Wherein, N is an integer greater than or equal to 0.

18. The device according to claim 17, characterized in that The first execution module is specifically used to: The transmitting end performs the cascading operation on the SDU according to the cascading configuration; The cascade configuration includes one or more of the following: The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer; Data format parameters of the cascade operation; The execution parameters of the cascade operation.

19. The device according to claim 17, characterized in that The data format parameters of the cascade operation include: The second indicator field has a length parameter.

20. The device according to claim 17, characterized in that The execution parameters of the cascade operation include one or more of the following: A minimum threshold of the size of the SDUs participating in the cascade operation; A maximum threshold of the size of the SDUs participating in the cascade operation; the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs; the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs; a maximum size of the first PDU; The minimum size of the first PDU.

21. The device according to claim 17, characterized in that The first PDU also includes: The third indication field is used to indicate the length of the second indication field.

22. The method according to claim 17, characterized in that The device also includes: The first transmission module is used for: In a case where the sending end is a network side device and the receiving end is a terminal, the sending end sends the cascade configuration to the receiving end; In a case where the sending end is a terminal and the receiving end is a network side device, the sending end receives the cascade configuration from the receiving end; In a case where both the transmitting end and the receiving end are terminals, the transmitting end sends the cascade configuration to the receiving end; In the case that both the sending end and the receiving end are network-side devices, the sending end sends the cascade configuration to the receiving end, or the sending end receives the cascade configuration from the receiving end.

23. The device according to claim 17, characterized in that The first execution module is specifically used to: The transmitting end performs the cascading operation on the SDU at the PDCP layer or a protocol layer above the PDCP layer according to the cascading configuration.

24. The device according to claim 23, characterized in that In a case where the transmitting end performs the concatenation operation on the SDU according to the concatenation configuration at the PDCP layer, the concatenation configuration is a configuration of RB granularity.

25. A data processing device, characterized in that: The device is applied to a receiving end, and the device includes: An acquisition module, used for the receiving end to acquire a first PDU; A second execution module, configured for the receiving end to perform a second processing operation on the first PDU to obtain an SDU; The second processing operation at least includes a security removal operation and a cascade removal operation performed after the security removal operation; The first PDU includes: N+1 first indication fields, each of which is used to indicate whether there is a pair of the first indication field and the second indication field following itself; N second indication fields, each of which indicates the length of an SDU in the first PDU; Wherein, N is an integer greater than or equal to 0.

26. The device according to claim 25, characterized in that The second execution module is specifically used to: The receiving end performs the de-cascading operation according to the cascade configuration; The cascade configuration includes one or more of the following: The first indication information is used to indicate whether the target bearer has a cascading function enabled, or to indicate whether the cascading function is enabled in the uplink direction of the target bearer, or to indicate whether the cascading function is enabled in the downlink direction of the target bearer, or to indicate whether the cascading function is enabled in the current direction of the target bearer; Data format parameters for cascade operations; The execution parameters of the cascade operation.

27. The device according to claim 26, characterized in that The data format parameters of the cascade operation include: The second indicator field has a length parameter.

28. The device according to claim 26, characterized in that The execution parameters of the cascade operation include one or more of the following: A minimum threshold of the size of the SDUs participating in the cascade operation; A maximum threshold of the size of the SDUs participating in the cascade operation; the maximum number of the SDUs or the maximum number of the second indication fields contained in one of the first PDUs; the minimum number of the SDUs or the minimum number of the second indication fields contained in one of the first PDUs; a maximum size of the first PDU; The minimum size of the first PDU.

29. The device according to claim 25, characterized in that The first PDU also includes: The third indication field is used to indicate the length of the second indication field.

30. The device according to claim 25, characterized in that The device also includes: The second transmission module is used to In a case where the sending end is a network side device and the receiving end is a terminal, the receiving end receives the cascade configuration from the sending end; In a case where the sending end is a terminal and the receiving end is a network side device, the receiving end sends the cascade configuration to the sending end; In a case where both the transmitting end and the receiving end are terminals, the receiving end receives the cascade configuration from the transmitting end; In the case that both the sending end and the receiving end are network-side devices, the receiving end receives the cascade configuration from the sending end, or the receiving end sends the cascade configuration to the sending end.

31. The device according to claim 26, characterized in that The receiving end performs the de-cascading operation according to the cascade configuration, including: The receiving end performs a de-concatenation operation at the PDCP layer or a protocol layer above the PDCP layer according to the cascade configuration.

32. The device according to claim 31, characterized in that In the case where the receiving end performs a de-concatenation operation at the PDCP layer according to the cascade configuration, the cascade configuration is a configuration of RB granularity.

33. A terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data processing method according to any one of claims 1 to 8 are implemented, or the steps of the data processing method according to any one of claims 9 to 16 are implemented.

34. A network side device, characterized in that: The method comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data processing method according to any one of claims 1 to 8 are implemented, or the steps of the data processing method according to any one of claims 9 to 16 are implemented.

35. A readable storage medium, characterized in that: The readable storage medium stores programs or instructions, and when the programs or instructions are executed by the processor, the steps of the data processing method according to any one of claims 1 to 8, or the steps of the data processing method according to any one of claims 9 to 16 are implemented.