Data processing method and apparatus, network side device and terminal device

By introducing the X domain indication in the data packet header and encrypting or integrity protecting it, only part of the data packets are integrity protected, which solves the problem of high encryption and integrity protection overhead in terminal equipment and improves the efficiency of data transmission. Safety and efficiency.

WO2024193512A1PCT designated stage expired Publication Date: 2024-09-26VIVO MOBILE COMM CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082242
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-03-18
Publication Date
2024-09-26

AI Technical Summary

Technical Problem

In new air interface and long-term evolution technology networks, the encryption and integrity protection of data packets by terminal equipment is expensive, and existing technology cannot effectively prevent attackers from identifying and tampering with unencrypted data packets, resulting in insufficient data transmission security.

Method used

By introducing the X domain indication in the header of the data packet, it is used to indicate whether the data packet is integrity protected and encrypted or integrity protected. The sender only performs integrity protection on part of the data packet, and the attacker cannot determine the data. Whether the packet is protected increases the difficulty of tampering, and the tampered data packet is identified through decryption and integrity verification at the receiving end.

Benefits of technology

It reduces the encryption and integrity protection calculation overhead of the sender and improves the security of data packets. It is difficult for attackers to tamper with data packets and can identify and process tampered data packets to ensure the security of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082242_26092024_PF_FP
    Figure CN2024082242_26092024_PF_FP
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and discloses a data processing method and apparatus, a network side device and a terminal device. The data processing method in an embodiment of the present application comprises: a sending end sends a first data packet to a receiving end; the first data packet carries a first indication, and the first indication is used for indicating whether the first data packet has undergone integrity protection; and the first indication is a ciphertext, or the first indication is a ciphertext that has undergone integrity protection.
Need to check novelty before this filing date? Find Prior Art

Description

Data processing method, device, network side equipment and terminal equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 202310281375.9 filed in China on March 20, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of communication technology, and specifically relates to a data processing method, apparatus, network-side equipment, and terminal equipment. Background Art

[0004] In New Radio (NR) and Long Term Evolution (LTE) networks, the Packet Data Convergence Protocol (PDCP) layer provides security functions, including integrity protection (authentication) and encryption / decryption. In NR, terminals support very high data rates. Without encryption and / or integrity protection for data packets, transmitted data packets can be easily leaked or tampered with by attackers.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a data processing method, apparatus, network-side device, and terminal device, which can solve the problem of high encryption and / or integrity protection overhead at the sending end.

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

[0008] The transmitting end sends a first data packet to the receiving end; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

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

[0010] The receiving end receives a first data packet; the first data packet carries a first indication, the first indication being used to indicate whether integrity protection is performed on the first data packet; the first indication is ciphertext, or the first indication is ciphertext that has been integrity protected;

[0011] The receiving end determines whether the first data packet is not integrity protected according to the first indication;

[0012] In a case where the first data packet is integrity protected, the receiving end performs integrity protection verification on the first data packet.

[0013] According to a third aspect, a data processing device is provided, comprising:

[0014] A first sending module is used to send a first data packet to a receiving end; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

[0015] According to a fourth aspect, another data processing device is provided, comprising:

[0016] a data packet receiving module, configured to receive a first data packet; the first data packet carries a first indication, the first indication being used to indicate whether integrity protection is performed on the first data packet; the first indication being ciphertext, or the first indication being ciphertext that has undergone integrity protection;

[0017] a first determining module, configured to determine whether the first data packet has not been integrity protected according to the first indication;

[0018] The verification module is used to perform integrity protection verification on the first data packet when the first data packet is integrity protected.

[0019] In a fifth aspect, a terminal 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.

[0020] In the sixth aspect, a network side device is provided, comprising 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.

[0021] In the seventh aspect, a data processing system is provided, comprising: a network side device and a terminal device, wherein the network side device can be used to execute the steps of the data processing method as described in the first aspect above, and the terminal device can be used to execute the steps of the data processing method as described in the second aspect above; or, the network side device can be used to execute the steps of the data processing method as described in the second aspect above, and the terminal device can be used to execute the steps of the data processing method as described in the first aspect above.

[0022] In an eighth 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.

[0023] In the ninth 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 programs or instructions to implement the method described in the first aspect, or to implement the method described in the second aspect.

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

[0025] In an embodiment of the present application, the sending end can indicate the integrity protection status of the data packet to the receiving end through encryption, or an encrypted and integrity-protected first indication, without performing integrity protection on all parts of the data packet; the attacker cannot determine whether the first data packet is integrity protected, nor can he determine the content of the integrity-protected data packet, and can only randomly tamper with the monitored data packet. The embodiment of the present application increases the difficulty of data packet tampering; and, once the attacker tamperes with the data packet, the receiving end can identify the tampered data packet by decrypting the first indication and performing integrity protection verification on the first data packet, thereby reducing the encryption and / or integrity protection computational overhead of the sending end while ensuring data transmission security. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] FIG1 is a block diagram of a wireless communication system applicable to embodiments of the present application;

[0027] FIG2 is a schematic diagram of a user plane protocol stack in a 5G cellular mobile communication system;

[0028] FIG3 is a schematic diagram of a control plane protocol stack in a 5G cellular mobile communication system;

[0029] FIG4 is a schematic diagram of the format of a PDCP data packet;

[0030] FIG5 is a flow chart of a data processing method according to an embodiment of the present application;

[0031] FIG6 is a schematic diagram of a data packet format of a PDCP PDU in an embodiment of the present application;

[0032] FIG7 is a schematic diagram of another PDCP PDU data packet format in an embodiment of the present application;

[0033] FIG8 is a flow chart of another data processing method in an embodiment of the present application;

[0034] FIG9 is a structural block diagram of a data processing device according to an embodiment of the present application;

[0035] FIG10 is a block diagram of another data processing device in an embodiment of the present application;

[0036] FIG11 is a structural block diagram of a communication device in an embodiment of the present application;

[0037] FIG12 is a block diagram of a terminal device according to an embodiment of the present application;

[0038] FIG13 is a structural block diagram of a network-side device in an embodiment of the present application;

[0039] FIG14 is a structural block diagram of another network-side device in an embodiment of the present application. DETAILED DESCRIPTION

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

[0041] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0042] It is worth noting that the technology described in the embodiments of the present application is not limited to the LTE / LTE evolution (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) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the technology described can be used for the systems and radio technologies mentioned above, as well as for other systems and radio technologies. The following description describes the NR system for example purposes, and the NR terminology is used in most of the following description, but these technologies can also be applied to applications other than NR system applications, such as 6th generation (6 th Generation, 6G) communication system.

[0043] FIG1 shows a block diagram of a wireless communication system applicable to embodiments of the present application. The wireless communication system includes a terminal device 11 and a network-side device 12 . The terminal device 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device (Wearable Device), a vehicle-mounted device (VUE), a pedestrian terminal (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 (PC), an ATM 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. It should be noted that the specific type of the terminal device 11 is not limited in the embodiments 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 12 may also be referred to as a radio access network device, a radio access network (RAN), a radio access network function, or a radio access network unit. The access network device 12 may include a base station, a WLAN access point, or a WiFi node, etc. The base station may be referred to as a node B, an evolved node B (eNB), an access point, 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, a home evolved node B, a transmitting and receiving 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 a specific technical vocabulary. It should be noted that in the embodiment 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.The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (MME), access mobility management function (AMF), session management function (SMF), user plane function (UPF), policy control function (PCF), policy and charging rules function unit (PCRF), edge application service discovery function (EASDF), unified data management (UDM), unified data storage (UDR), home user server (HSS), centralized network configuration (CNC), network storage function (NRF), network exposure function (NEF), local NEF (L-NEF), binding support function (BSF), application function ( It should be noted that in the embodiments 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.

[0044] Data encryption refers to the sending end generating a cipher (bit) stream based on encryption input parameters (including: the data packet's serial number, key, sending direction, etc.); using the cipher (bit) stream to operate with the original plaintext data stream (bit stream) (such as performing an XOR operation on the corresponding bits) to obtain an encrypted data stream; after receiving the encrypted data stream, the receiving end performs the inverse operation of the sending end to obtain a decrypted data stream.

[0045] Integrity protection involves generating a bit stream of preset length (e.g., 32 bits), such as a message authentication code (MAC-I), based on input parameters (including the packet sequence number, key, and the data to be integrity-protected). Any change in the input parameters may cause the output MAC-I to change. The sender sends the MAC-I (hereinafter referred to as MAC-IA) along with the integrity-protected data. Upon receipt, the receiver calculates the MAC-I (hereinafter referred to as MAC-IB) based on the integrity-protected data. The receiver compares the received MAC-IA with its calculated MAC-IB. If the two are identical, the integrity-protected data is deemed to have been sent by the intended sender and has not been tampered with (assuming the attacker does not have the key and, therefore, cannot generate a MAC-I that matches the tampered data after tampering with it). This means that the integrity protection check (also known as "integrity protection verification") has passed.

[0046] Referring to Figure 2, the user plane protocol stack in the fifth generation mobile communication technology (5G) cellular mobile communication system is shown; Figure 3 shows the control plane protocol stack in the 5G cellular mobile communication system. As shown in Figures 2 and 3, the PDCP layer of the sending end (terminal device or network side device) is responsible for encrypting and / or integrity protecting the upper layer signaling and data; the PDCP layer of the receiving end (network side device or terminal device) is responsible for decrypting and / or integrity verification of the data received from the lower layer. If the integrity protection (verification) function is enabled, the receiving end PDCP will submit the processed signaling and data that have passed the integrity protection verification to the upper layer; if the integrity protection (verification) function is not enabled, the receiving end PDCP does not perform the integrity protection verification operation, and directly submits the processed signaling and data (at least including the removal of the PDCP header operation, and optionally including the decryption operation (if the sending end performs the encryption operation)) to the upper layer.

[0047] In related technologies, the protocol data unit (PDU) format of the data resource bearer (DRB) PDCP data (Data) (including: header + data (i.e., payload) + trailer (i.e., MAC-I)) is shown in Figure 4. The network configures whether to enable integrity protection for each DRB (i.e., the MAC-I field is optional). If a DRB is configured with integrity protection enabled, the sender carries a MAC-I for each data packet (PDCP PDU) corresponding to the DRB, and the corresponding receiver needs to verify the MAC-I; otherwise, the PDCP PDU sent by the sender does not carry a MAC-I, and the receiver does not verify the MAC-I of the received PDCP PDU.

[0048] Encryption and integrity protection (MAC-I calculation) require a certain amount of computing resources on the sending end; similarly, decryption and integrity protection verification also require a certain amount of computing resources on the receiving end.

[0049] The transmission data rate of 5G and future communication systems is very high. If each data packet is encrypted and integrity protected, it will place a heavy burden on some low-end devices.

[0050] Related technologies propose including an indication of whether the PDCP PDU is encrypted and / or integrity protected (hereinafter referred to as the X field) in the PDCP PDU header. However, the introduction of this indication allows attackers to identify which PDCP PDUs are encrypted and / or integrity protected and which are not. This exposure of information allows attackers to launch attacks against PDCP PDUs that are not encrypted and / or integrity protected, for example, by eavesdropping on unencrypted data or tampering with unintegrity-protected data.

[0051] This scheme also has a flaw: an attacker can create a packet with a specified SN, such as SN=M, and then send it to the receiver, using the X field to indicate that the PDCP PDU is not integrity-protected or encrypted. The receiver will then assume that the PDCP PDU is from the real sender (because it does not carry a MAC-I and cannot verify it), and after processing it, it will pass it to higher layers. Upon receiving this forged packet, if the receiver then receives a PDCP PDU with SN=M from the real sender, it will consider it a duplicate PDCP PDU and discard the PDCP PDU from the real sender. Thus, the attacker completes the attack.

[0052] The present invention provides a data processing method that can reduce the encryption and / or integrity protection computational overhead at the sender. The data processing method provided by the present invention is described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.

[0053] In a first aspect, an embodiment of the present application provides a data processing method. Referring to FIG5 , a flow chart of a data processing method provided by an embodiment of the present application is shown. The method is applied to a terminal device, as shown in FIG5 , and the method may specifically include:

[0054] Step 501: The sending end sends a first data packet; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

[0055] It should be noted that the sending end in this application can be a terminal device or a network-side device. Specifically, when the sending end is a terminal device, the receiving end is a network-side device; when the sending end is a network-side device, the receiving end is a terminal device.

[0056] In an embodiment of the present application, an X field may be introduced into a packet header of a data packet. The X field includes a first indication indicating whether integrity protection is performed on the first data packet. The first indication in the X field may be encrypted, resulting in ciphertext. Alternatively, integrity protection may be performed and the first indication in the X field may be encrypted, resulting in integrity-protected ciphertext.

[0057] Furthermore, the sending end may perform integrity protection on the payload in the first data packet, and inform the receiving end through the first indication whether the payload portion of the data packet has been integrity protected.

[0058] Optionally, the protocol stack / protocol layer of the sending end includes a high-level layer and a target protocol layer, and the target protocol layer is used to set the first indication; the high-level layer is a protocol layer in the protocol stack / protocol layer of the sending end that is located above the target protocol layer.

[0059] The target protocol layer is a protocol layer in the protocol stack / protocol layer of the transmitting end that is used to provide data security-related functions, such as encryption and integrity protection. The target protocol layer can be any one of the PDCP layer, the Radio Resource Control (RRC) layer, and the Media Access Control (MAC) layer.

[0060] As an example, a higher layer notifies the target protocol layer of which higher layer data packets need to be integrity protected and / or encrypted. The higher layer may be an application layer, a non-access stratum (NAS), an RRC layer, or the like.

[0061] Typically, the target protocol layer at the sender sets the first indication and performs integrity protection on the data packet, i.e., generating a first data packet. The payload in the first data packet refers to a higher-layer data packet. As an example, the first data packet includes a header and a payload (high-layer data packet), and the first indication is typically in the header of the first data packet.

[0062] The first data packet in the embodiment of the present application may be a PDCP layer data packet, namely a PDCP PDU. Referring to Figures 6 and 7 , two data packet formats of the PDCP PDU are shown respectively.

[0063] In one possible application scenario, the processing process at the sender and receiver is as follows:

[0064] 1. The sender determines that a PDCP SDU requires integrity protection (hereinafter referred to as "integrity protection"), adds a PDCP header, sets the X field, and generates a MAC-I.

[0065] 2. The sender encrypts the relevant fields in the PDCP PDU; the encrypted parts include: X field, optional, including one or more of the payload / PDCP SDU part (excluding SDAP header / SDAP control PDU), MAC-I, etc., as input plaintext and encrypted.

[0066] 3. The receiving end decrypts the X field and, based on the value of the X field, determines whether the PDCP SDU in the PDCP PDU is intact and performs integrity protection verification (hereinafter referred to as "integrity verification") on the intact portion.

[0067] If the X domain is fully protected, the receiver will be able to detect if the attacker tampers with or generates the X domain himself.

[0068] It is understood that if the sender performs integrity protection on any portion of the first data packet (including the payload or X field), the first data packet will contain a MAC-I. Typically, the MAC-I is located at the end of the first data packet. Without the decryption key, an attacker cannot decrypt the X field and therefore cannot determine whether the payload of the data packet is integrity protected. They can only randomly tamper with the monitored data packets. If they tamper with the integrity protection portion of an already protected data packet, the receiving end will fail the integrity protection check, thereby identifying the attacker and taking appropriate action, such as notifying the sender to retransmit the tampered data packet or reducing the transmission speed to ensure 100% integrity of all transmitted data packets.

[0069] The data processing method provided in the embodiment of the present application can protect data packets from being tampered with by the sender without performing integrity protection on the payload part of all sent data packets, and can facilitate the receiving end to identify tampered data packets. While ensuring the security of data transmission, the encryption and / or integrity protection calculation overhead of the sender is reduced.

[0070] Optionally, before the sending end sends the first data packet to the receiving end, the method further includes: the sending end generating the first data packet according to first configuration information.

[0071] The first configuration information includes at least one of the following:

[0072] a second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in the data packets corresponding to the preset sending window of the sending end;

[0073] a third indication, where the third indication is used to indicate a format of the first data packet;

[0074] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0075] It should be noted that the configuration ratio includes the number ratio and / or data volume ratio. The number ratio = the number of integrity-protected data packets / the number of data packets corresponding to the preset sending window of the sender. The preset sending window can be set by the sender itself or specified by the protocol. The preset sending window indicates a period of time during which the data packets sent by the terminal device within the preset window include both integrity-protected data packets and non-integrity-protected data packets. For example, if the number of integrity-protected data packets in the data packets corresponding to the preset sending window of the sender accounts for 30%, then for every 100 data packets sent by the sender, (at least) 30 data packets need to be integrity protected. The data volume ratio = the sum of the data volume of the integrity-protected data packets / the sum of the data volume of the data packets corresponding to the preset sending window of the sender. For example, if the number of integrity-protected data packets in the data packets corresponding to the preset sending window of the sender accounts for 30%, then for every 100 Mbyte data packets sent by the sender, (at least) 30 Mbyte data packets need to be integrity protected.

[0076] The third indication is used to indicate the format of the first data packet, for example, the PDCP PDU format. For example, the length of the X field is configurable, and different lengths of the X field result in different formats of the data packet.

[0077] It is understandable that the first configuration information can be configured by one of the sending end and the receiving end, or can be configured by negotiation between the sending end and the receiving end. As an example, the terminal device is the sending end, the network-side device is the receiving end, and the network-side device generates the first configuration information and sends it to the terminal device; the terminal device generates a first data packet based on the received first configuration information and sends it. Alternatively, the terminal device is the receiving end, the network-side device is the sending end, and the network-side device generates the first configuration information, then generates a first data packet based on the first configuration information and sends it to the terminal device; after receiving the first configuration information and the first data packet, the terminal device performs integrity protection verification and / or decryption on the received first data packet.

[0078] For example, when negotiation or configuration determines that "X domain requires integrity protection" (i.e., the first indication requires integrity protection), if an attacker generates a forged packet with SN=M and indicates in the X domain that the payload of this data packet does not require integrity protection, the receiving end can verify the integrity of the X domain and identify that the data packet was not generated by the authentic sender or was tampered with after generation, and thus perform corresponding operations.

[0079] Optionally, the first indication is used to indicate that the first data packet is completely protected; before the sending end sends the first data packet to the receiving end, the method further includes:

[0080] Step S11: The sending end generates a first message authentication code according to input parameters of the data packet to be protected;

[0081] Step S12: The sending end generates a second data packet according to the first message authentication code, the first indication, and the data packet;

[0082] Step S13: The sending end encrypts the first parameter of the second data packet to obtain a first data packet.

[0083] The first parameter includes at least one of the following:

[0084] the first instruction;

[0085] a payload of the second data packet;

[0086] The first message authentication code.

[0087] It is understandable that the data packet to be protected usually refers to a high-level data packet, and the input parameters are input parameters of the high-level data packet, which may specifically include the data packet's sequence number, key, data to be integrity protected, etc.

[0088] The second data packet includes a header, a data packet to be protected (ie, a high-layer data packet), and a first message authentication code MAC-I, wherein the first indication is filled into the header of the second data packet, and the first message authentication code is filled into the tail of the second data packet.

[0089] When encrypting the second data packet, at least one of the first indication, payload (ie, high-layer data packet) and first message authentication code in the second data packet may be encrypted to obtain the first data packet in the embodiment of the present application.

[0090] It should be noted that the computational complexity of integrity protection is related to the length of the data being protected. Therefore, in an embodiment of the present application, only integrity protection is performed on the first indication, which can introduce a smaller computational complexity than performing integrity protection on the payload in the second data packet.

[0091] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0092] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0093] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0094] In an embodiment of the present application, the value of the first indication is used to indicate whether the payload in the first data packet has encryption enabled, encryption not enabled, full security enabled, full security not enabled, encryption and full security enabled, encryption not enabled and full security not enabled, and so on.

[0095] Optionally, the data length of the first indication is N bits, and the first indication has M values, where M=2 N , N is a positive integer and N is greater than or equal to 1;

[0096] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0097] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0098] Assuming that the data length of the first instruction is 1 bit, the ciphertext generated after encrypting the first instruction may still be 1 bit. If an attacker tampered with the encrypted first instruction, for example:

[0099] Step 1: The sender sets the first indication to 0, indicating that integrity protection is required, and calculates the MAC-I.

[0100] Step 2: The sending end encrypts the first indication. After encryption, the first indication takes a value of 1.

[0101] Step 3: The attacker tampered with the first instruction and changed the encrypted first instruction to 0;

[0102] Step 4: The receiving end decrypts the tampered first indication and obtains the original value of the tampered first indication as 1.

[0103] At this time, the receiving end will mistakenly think that the sending end has not fully protected the data packet, decrypt the data packet (here it is assumed that the data packet is configured to be encrypted based on the existing mechanism), and directly submit it to the upper layer, that is, the receiving end does not detect the tampered data packet.

[0104] To avoid this situation, the data length of the first indication can be extended to N bits (eg, N=4), wherein only one preset value (eg, 0000) represents an unprotected state, and the other 15 values ​​all represent a fully protected state.

[0105] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N) makes the first indication after tampering just indicate that the data packet is not fully protected, thereby reducing the probability that the receiving end does not detect the tampered data packet.

[0106] If an attacker tampers with the encrypted first indication, the receiving end has a 15 / 16 probability of detecting the tampered first indication as indicating that the data packet is intact. In this way, the receiving end can detect that the data packet has been tampered with.

[0107] Alternatively, the first indication is expanded to N bits (e.g., N=4), wherein only one preset value (e.g., 0000) indicates that the warranty is not complete; only one preset value (e.g., 1111) indicates that the warranty is complete, and the other 14 values ​​all indicate that the device has been tampered with (or is an unexpected value).

[0108] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N ) makes the first indication after tampering just indicate that the data packet is not fully protected, thereby reducing the probability that the receiving end does not detect the tampered data packet.

[0109] If the attacker tampers with the first encrypted instruction, the receiver has 14 / 16 (ie (2 N -2) / 2 N ) with a probability of detecting that the first indication after tampering is an illegal value, which means that the value has been tampered with.

[0110] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N ) makes the first indication after tampering just indicate that the data packet has been fully protected. At this time, the receiving end can determine that the data packet has been tampered with through MAC-I verification.

[0111] If the first indication is integrity protected, even if the first indication is 1 bit, it will be discovered if it is tampered. Therefore, when the first indication is integrity protected, the data length of the first indication does not need to be extended.

[0112] Optionally, before the transmitting end sends the first data packet according to the first configuration information, the method further includes:

[0113] Step S21: The sending end sends second information to the receiving end;

[0114] Step S22: The sending end receives first configuration information sent by the receiving end.

[0115] Wherein, the first configuration information is generated according to the second information;

[0116] The second information includes at least one of the following:

[0117] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0118] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0119] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0120] A fourth parameter is used to indicate the decryption capability of the sending end.

[0121] As an example, a transmitting end and a receiving end can negotiate and configure first configuration information. For example, the terminal device is the transmitting end, and the network device is the receiving end. The terminal device can send second information to the network device to inform it of its transmission capability information, such as at least one of integrity protection capability, integrity protection verification capability, encryption capability, and decryption capability. The network device generates first configuration information based on the second information and sends the first configuration information to the terminal device. The terminal device then generates and sends a first data packet based on the first configuration information.

[0122] Optionally, the method further includes:

[0123] Step S31: The transmitting end receives a first message, where the first message is used to indicate that the integrity protection verification of the first data packet fails or does not pass the integrity protection verification;

[0124] Step S32: the transmitting end resends the first data packet to the receiving end; and / or,

[0125] Step S33: The sending end adjusts the sending speed of the data packets and performs integrity protection on other data packets to be sent.

[0126] In an embodiment of the application, the receiving end performs integrity protection verification on the data packet received by the receiving end, and if the data packet integrity protection verification fails or fails to pass the integrity protection verification, the receiving end sends a first message to the sending end to notify the sending end of the data packet that failed or failed the integrity protection verification. After receiving the first message, the sending end can resend the data packet that failed or failed the integrity protection verification, and / or reduce the sending speed of the data packet, perform integrity protection on all other data packets to be sent, and so on.

[0127] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0128] If the first message does not carry the sequence number of the data packet that failed or did not pass the integrity protection verification, the sender can resend all the data packets that have been sent; if the first message carries the sequence number of the data packet that failed or did not pass the integrity protection verification, the sender can only resend the data packet corresponding to the sequence number, thereby saving data retransmission resources.

[0129] In summary, the embodiments of the present application provide a data processing method, in which the sending end can indicate the integrity protection status of the data packet to the receiving end through encryption, or an encrypted and integrity-protected first indication, without performing integrity protection on all parts of the data packet; the attacker cannot determine whether the first data packet is integrity protected, nor can he determine the content of the integrity-protected data packet, and can only randomly tamper with the monitored data packet. The embodiments of the present application increase the difficulty of tampering with the data packet; and once the attacker tamperes with the data packet, the receiving end can identify the tampered data packet by decrypting and / or integrity protection verification of the first indication, and performing integrity protection verification on the first data packet, thereby reducing the encryption and / or integrity protection computational overhead of the sending end while ensuring the security of data transmission.

[0130] In a second aspect, an embodiment of the present application provides another data processing method. Referring to FIG8 , a flow chart of a data processing method provided by an embodiment of the present application is shown. The method is applied to a terminal device, as shown in FIG8 , and the method may specifically include:

[0131] Step 601: A receiving end receives a first data packet; the first data packet carries a first indication, the first indication being used to indicate whether integrity protection is performed on the first data packet; the first indication is ciphertext, or the first indication is integrity-protected ciphertext;

[0132] Step 602: The receiving end determines whether the first data packet is not integrity protected according to the first indication;

[0133] Step 603: When the first data packet is integrity protected, the receiving end performs integrity protection verification on the first data packet.

[0134] It should be noted that the sending end in this application can be a terminal device or a network-side device. Specifically, when the sending end is a terminal device, the receiving end is a network-side device; when the sending end is a network-side device, the receiving end is a terminal device.

[0135] In an embodiment of the present application, an X field may be introduced into a packet header. The X field may include a first indication indicating whether integrity protection is performed on the first packet. The first indication in the X field may be encrypted, or integrity protection and encryption may be performed on the first indication in the X field.

[0136] Furthermore, the sending end may perform integrity protection on the payload in the first data packet, and inform the receiving end through the first indication whether the payload portion of the data packet has been integrity protected.

[0137] After receiving the first data packet, the receiving end determines whether the first data packet has been integrity protected according to the first indication, and performs integrity protection verification on the first data packet if the first data packet has been integrity protected.

[0138] In one possible application scenario, the processing process at the sender and receiver is as follows:

[0139] 1. The sender determines that a PDCP SDU requires integrity protection (hereinafter referred to as "integrity protection"), adds a PDCP header, sets the X field, and generates a MAC-I.

[0140] 2. The sender encrypts the relevant fields in the PDCP PDU; the encrypted parts include: X field, optional, including one or more of the payload / PDCP SDU part (excluding SDAP header / SDAP control PDU), MAC-I, etc., as input plaintext and encrypted.

[0141] 3. The receiving end decrypts the X field and, based on the value of the X field, determines whether the PDCP SDU in the PDCP PDU is intact and performs integrity protection verification (hereinafter referred to as "integrity verification") on the intact portion.

[0142] If the X domain is fully protected, the receiver will be able to detect if the attacker tampers with or generates the X domain himself.

[0143] It is understood that if the sender performs integrity protection on any portion of the first data packet (including the payload or X field), the first data packet will contain a MAC-I. Typically, the MAC-I is located at the end of the first data packet. Without the decryption key, an attacker cannot decrypt the X field and therefore cannot determine whether the payload of the data packet is integrity protected. The attacker can only randomly tamper with the monitored data packets. If the attacker tampered with the integrity of the intact portion of the data packet, the receiving end would fail the integrity protection check, thereby identifying the attacker and taking appropriate action, such as notifying the sender to retransmit the tampered data packet or reducing the transmission speed to ensure 100% integrity for all data packets.

[0144] The data processing method provided in the embodiment of the present application can protect data packets from being tampered with by the sending end without performing integrity protection on all data packets sent, and can facilitate the receiving end to identify tampered data packets. While ensuring the security of data transmission, the encryption and / or integrity protection computing overhead of the sending end is reduced.

[0145] Optionally, the first data packet is a data packet generated according to first configuration information; the first configuration information includes at least one of the following:

[0146] a second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in the data packets corresponding to the preset sending window of the sending end;

[0147] a third indication, where the third indication is used to indicate a format of the first data packet;

[0148] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0149] It should be noted that the configuration ratio includes the ratio of number and / or the ratio of data volume. Among them, the ratio of number = the number of data packets that are integrity protected / the number of data packets corresponding to the preset sending window of the sender, and the data packets sent by the sender within the preset sending window include data packets that are integrity protected and data packets that are not integrity protected. For example, the ratio of the number of data packets that are integrity protected in the data packets corresponding to the preset sending window is 30%. Then, for every 100 data packets sent by the sender, it is necessary to perform integrity protection on (at least) 30 data packets. The ratio of data volume = the sum of the data volume of the data packets that are integrity protected / the sum of the data volume of the data packets corresponding to the preset sending window. For example, the ratio of the data volume of the data packets that are integrity protected in the data packets corresponding to the preset sending window is 30%. Then, for every 100Mbyte data packets sent by the sender, it is necessary to perform integrity protection on (not less than) 30Mbyte data packets.

[0150] The third indication is used to indicate the format of the first data packet, for example, the PDCP PDU format. For example, the length of the X field is configurable, and different lengths of the X field result in different formats of the data packet.

[0151] It is understandable that the first configuration information can be configured by one of the sending end and the receiving end, or can be configured by negotiation between the sending end and the receiving end. As an example, the terminal device is the sending end, the network-side device is the receiving end, and the network-side device generates the first configuration information and sends it to the terminal device; the terminal device generates a first data packet based on the received first configuration information and sends it. Alternatively, the terminal device is the receiving end, the network-side device is the sending end, and the network-side device generates the first configuration information, then generates a first data packet based on the first configuration information and sends it to the terminal device; after receiving the first configuration information and the first data packet, the terminal device performs integrity protection verification and / or decryption on the received first data packet.

[0152] For example, when negotiation or configuration determines that "X domain requires integrity protection" (i.e., the first indication requires integrity protection), if an attacker generates a forged packet with SN=M and indicates in the X domain that the payload of this data packet does not require integrity protection, the receiving end can verify the integrity of the X domain and identify that the data packet was not generated by the authentic sender or was tampered with after generation, and thus perform corresponding operations.

[0153] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0154] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0155] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0156] In an embodiment of the present application, the value of the first indication is used to indicate whether the payload in the first data packet has encryption enabled, encryption not enabled, full security enabled, full security not enabled, encryption and full security enabled, encryption not enabled and full security not enabled, and so on.

[0157] Optionally, the data length of the first indication is N bits, and the first indication has M values, where M=2 N bit, N is a positive integer and N is greater than or equal to 1;

[0158] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0159] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0160] Assuming that the data length of the first instruction is 1 bit, the ciphertext generated after encrypting the first instruction may still be 1 bit. If an attacker tampered with the encrypted first instruction, for example:

[0161] Step 1: The sender sets the first indication to 0, indicating that integrity protection is required, and calculates the MAC-I.

[0162] Step 2: The sending end encrypts the first indication. After encryption, the first indication takes a value of 1.

[0163] Step 3: The attacker tampered with the first instruction and changed the encrypted first instruction to 0;

[0164] Step 4: The receiving end decrypts the tampered first indication and obtains the original value of the tampered first indication as 1.

[0165] At this time, the receiving end will mistakenly think that the sending end has not fully protected the data packet, decrypt the data packet (here it is assumed that the data packet is configured to be encrypted based on the existing mechanism), and directly submit it to the upper layer, that is, the receiving end does not detect the tampered data packet.

[0166] To avoid this situation, the data length of the first indication can be extended to N bits (eg, N=4), wherein only one preset value (eg, 0000) represents an unprotected state, and the other 15 values ​​all represent a fully protected state.

[0167] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N ) makes the first indication after tampering just indicate that the data packet is not fully protected, thereby reducing the probability that the receiving end does not detect the tampered data packet.

[0168] If an attacker tampers with the encrypted first indication, the receiving end has a 15 / 16 probability of detecting the tampered first indication as indicating that the data packet is intact. In this way, the receiving end can detect that the data packet has been tampered with.

[0169] Alternatively, the first indication is expanded to N bits (e.g., N=4), wherein only one preset value (e.g., 0000) indicates that the warranty is not complete; only one preset value (e.g., 1111) indicates that the warranty is complete, and the other 14 values ​​all indicate that the device has been tampered with (or is an unexpected value).

[0170] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N ) makes the first indication after tampering just indicate that the data packet is not fully protected, thereby reducing the probability that the receiving end does not detect the tampered data packet.

[0171] If the attacker tampers with the first encrypted instruction, the receiver has 14 / 16 (ie (2 N -2) / 2 N ) with a probability of detecting that the first indication after tampering is an illegal value, which means that the value has been tampered with.

[0172] At this point, the attacker tampered with the encrypted first instruction, and only 1 / 16 (ie 1 / 2 N ) makes the first indication after tampering just indicate that the data packet has been fully protected. At this time, the receiving end can determine that the data packet has been tampered with through MAC-I verification.

[0173] If the first indication is integrity protected, even if the first indication is 1 bit, it will be discovered if it is tampered. Therefore, when the first indication is integrity protected, the data length of the first indication does not need to be extended.

[0174] Optionally, before the receiving end receives the first data packet, the method further includes: the receiving end sending second information to the sending end.

[0175] The second information is used to generate the first configuration information; the second information includes at least one of the following:

[0176] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0177] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0178] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0179] A fourth parameter is used to indicate the decryption capability of the sending end.

[0180] In an embodiment of the present application, a transmitting end and a receiving end may negotiate to configure first configuration information. For example, a terminal device is the transmitting end, and a network device is the receiving end. The terminal device may transmit second information to the network device to inform it of its transmission capability information, such as at least one of integrity protection capability, integrity protection verification capability, encryption capability, and decryption capability. The network device generates first configuration information based on the second information and transmits the first configuration information to the terminal device. The terminal device then generates and transmits a first data packet based on the first configuration information.

[0181] Optionally, the method further includes: when the first data packet fails to pass the integrity protection verification, the receiving end sends a first message to the sending end; the first message is used to indicate that the integrity protection verification of the first data packet fails or fails the integrity protection verification.

[0182] In an embodiment of the application, the receiving end performs integrity protection verification on the data packet received by the receiving end, and if the data packet integrity protection verification fails or fails to pass the integrity protection verification, the receiving end sends a first message to the sending end to notify the sending end of the data packet that failed or failed the integrity protection verification. After receiving the first message, the sending end can resend the data packet that failed or failed the integrity protection verification, and / or reduce the sending speed of the data packet, perform integrity protection on all other data packets to be sent, and so on.

[0183] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0184] Optionally, the method further includes: if a first condition is met, the receiving end determining that the first data packet fails integrity protection verification.

[0185] The first condition includes at least one of the following:

[0186] The plaintext obtained by the receiving end from decrypting the first indication is an illegal value;

[0187] The first indication fails the integrity protection verification;

[0188] The target data including the first indication in the first data packet fails to pass the integrity protection verification;

[0189] The plain text obtained by the receiving end through decrypting the first indication indicates that the first data packet has been integrity protected, and the first data packet has failed integrity protection verification.

[0190] The data processing method provided in the embodiment of the present application allows the sending end to protect data packets from being tampered with without performing integrity protection on all data packets to be sent, and facilitates the receiving end to identify tampered data packets. While ensuring the security of data transmission, the encryption and / or integrity protection computational overhead of the sending end is reduced.

[0191] 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.

[0192] In a third aspect, an embodiment of the present application provides a data processing device. Referring to FIG9 , a block diagram of a data transmission device provided by an embodiment of the present application is shown. The device can be applied to a terminal device or a network-side device. As shown in FIG9 , the device may specifically include:

[0193] The first sending module 701 is used to send a first data packet to a receiving end; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

[0194] Optionally, the device further comprises:

[0195] A first generating module, configured to generate the first data packet according to the first configuration information;

[0196] The first configuration information includes at least one of the following:

[0197] a second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in the data packets corresponding to the preset sending window of the sending end;

[0198] a third indication, where the third indication is used to indicate a format of the first data packet;

[0199] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0200] Optionally, the protocol stack / protocol layer of the sending end includes a high-level layer and a target protocol layer, and the target protocol layer is used to set the first indication; the high-level layer is a protocol layer in the protocol stack / protocol layer of the sending end that is located above the target protocol layer.

[0201] Optionally, the device further comprises:

[0202] A second generating module, configured to generate a first message authentication code according to input parameters of the data packet to be protected;

[0203] a third generating module, configured to generate a second data packet according to the first message authentication code, the first indication, and the data packet;

[0204] an encryption module, configured to encrypt the first parameter of the second data packet to obtain a first data packet;

[0205] The first parameter includes at least one of the following:

[0206] the first instruction;

[0207] a payload of the second data packet;

[0208] The first message authentication code.

[0209] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0210] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0211] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0212] Optionally, the data length of the first indication is N bits, and the first indication has M values, M=2^N, N is a positive integer and N is greater than 1;

[0213] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0214] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0215] Optionally, the device further comprises:

[0216] A second sending module, configured to send second information to the receiving end;

[0217] A first receiving module, configured to receive first configuration information sent by the receiving end;

[0218] Wherein, the first configuration information is generated according to the second information;

[0219] The second information includes at least one of the following:

[0220] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0221] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0222] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0223] A fourth parameter is used to indicate the decryption capability of the sending end.

[0224] Optionally, the device further comprises:

[0225] A second receiving module is configured to receive a first message, where the first message is used to indicate that the integrity protection verification of the first data packet fails or does not pass the integrity protection verification;

[0226] A third sending module is configured to resend the first data packet to the receiving end; and / or,

[0227] The adjustment module is used to adjust the sending speed of data packets and perform integrity protection on other data packets to be sent.

[0228] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0229] Fourthly, an embodiment of the present application provides another data processing device. Referring to FIG10 , a structural block diagram of a data transmission device provided by an embodiment of the present application is shown. The device can be applied to a network-side device or a terminal device. As shown in FIG10 , the device may specifically include:

[0230] The data packet receiving module 801 is configured to receive a first data packet; the first data packet carries a first indication, the first indication being used to indicate whether integrity protection is performed on the first data packet; the first indication is ciphertext, or the first indication is integrity-protected ciphertext;

[0231] A first determining module 802 is configured to determine whether the first data packet has not been integrity protected according to the first indication;

[0232] The verification module 803 is configured to perform integrity protection verification on the first data packet when the first data packet is integrity protected.

[0233] Optionally, the first data packet is a data packet generated according to first configuration information; the first configuration information includes at least one of the following:

[0234] a second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in the data packets corresponding to the preset sending window of the sending end;

[0235] a third indication, where the third indication is used to indicate a format of the first data packet;

[0236] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0237] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0238] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0239] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0240] Optionally, the data length of the first indication is N bits, and the first indication has M values, where M=2 N Bit, N is a positive integer and N is greater than 1;

[0241] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0242] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0243] Optionally, the device further comprises:

[0244] An information sending module, configured to send second information to the sending end;

[0245] The second information is used to generate the first configuration information; the second information includes at least one of the following:

[0246] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0247] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0248] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0249] A fourth parameter is used to indicate the decryption capability of the sending end.

[0250] Optionally, the device further comprises:

[0251] A message sending module is used to send a first message to the sending end when the first data packet fails the integrity protection verification; the first message is used to indicate that the integrity protection verification of the first data packet fails or fails the integrity protection verification.

[0252] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0253] Optionally, the device further comprises:

[0254] a second determining module, configured to determine that the first data packet fails the integrity protection verification if a first condition is met;

[0255] The first condition includes at least one of the following:

[0256] The plaintext obtained by the receiving end from decrypting the first indication is an illegal value;

[0257] The first indication fails the integrity protection verification;

[0258] The target data including the first indication in the first data packet fails to pass the integrity protection verification;

[0259] The plain text obtained by the receiving end through decrypting the first indication indicates that the first data packet has been integrity protected, and the first data packet has failed integrity protection verification.

[0260] The data processing device in the embodiments of the present application can be an electronic device, such as an electronic device having an operating system, or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal device. For example, the terminal device can include, but is not limited to, the types of terminal devices 11 listed above.

[0261] The data processing device provided in the embodiment of the present application can implement the various processes implemented by the method embodiment of Figure 5 or Figure 8 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0262] Optionally, as shown in FIG11 , an embodiment of the present application further provides a communication device 900, comprising a processor 901 and a memory 902, wherein 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 network-side device, the program or instruction is executed by the processor 901 to implement the various steps of the data processing method embodiment described in the first aspect above, and can achieve the same technical effect. When the communication device 900 is a terminal device, the program or instruction is executed by the processor 901 to implement the various steps of the data processing method embodiment described in the second aspect above, and can achieve the same technical effect. To avoid repetition, they are not described here.

[0263] As shown in FIG12 , it is a schematic diagram of the hardware structure of a terminal device implementing an embodiment of the present application.

[0264] The terminal device 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 the processor 1010.

[0265] Those skilled in the art will appreciate that the terminal device 1000 may further include a power source (such as a battery) to power various components. The power source may be logically connected to the processor 1010 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal device structure shown in FIG12 does not limit the terminal device. The terminal device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0266] It should be understood that in an 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 a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an 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 an operating stick, which will not be repeated here.

[0267] In the embodiment of the present application, after receiving downlink data from a network-side device, the RF unit 1001 may transmit the data to the processor 1010 for processing. Furthermore, the RF unit 1001 may send uplink data to the network-side device. Typically, the RF unit 1001 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[0268] 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, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), 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.

[0269] Processor 1010 may include one or more processing units. Optionally, processor 1010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1010.

[0270] In an optional embodiment of the present application, the terminal device shown in Figure 12 is a transmitting end, and the radio frequency unit 1001 is used to send a first data packet to the receiving end; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

[0271] Optionally, the processor 1010 is configured to generate the first data packet according to the first configuration information;

[0272] The first configuration information includes at least one of the following:

[0273] A second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in a preset sending window corresponding to the sending end;

[0274] a third indication, where the third indication is used to indicate a format of the first data packet;

[0275] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0276] Optionally, the protocol stack / protocol layer of the sending end includes a high-level layer and a target protocol layer, and the target protocol layer is used to set the first indication; the high-level layer is a protocol layer in the protocol stack / protocol layer of the sending end that is located above the target protocol layer.

[0277] Optionally, the first indication is used to indicate that the first data packet is completely protected; the processor 1010 is further configured to:

[0278] generating a first message authentication code according to input parameters of the data packet to be protected;

[0279] generating a second data packet according to the first message authentication code, the first indication, and the data packet;

[0280] encrypting the first parameter of the second data packet to obtain a first data packet;

[0281] The first parameter includes at least one of the following:

[0282] the first instruction;

[0283] a payload of the second data packet;

[0284] The first message authentication code.

[0285] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0286] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0287] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0288] Optionally, the data length of the first indication is N bits, and the first indication has M values, M=2^N, N is a positive integer and N is greater than 1;

[0289] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0290] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0291] Optionally, the radio frequency unit 1001 is further configured to:

[0292] Sending second information to the receiving end;

[0293] receiving first configuration information sent by the receiving end;

[0294] Wherein, the first configuration information is generated according to the second information;

[0295] The second information includes at least one of the following:

[0296] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0297] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0298] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0299] A fourth parameter is used to indicate the decryption capability of the sending end.

[0300] Optionally, the radio frequency unit 1001 is further configured to:

[0301] receiving a first message, where the first message is used to indicate that integrity protection verification of the first data packet fails or fails integrity protection verification;

[0302] resending the first data packet to the receiving end; and / or,

[0303] The processor 1010 is configured to adjust the sending speed of data packets and perform integrity protection on other data packets to be sent.

[0304] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0305] In another optional embodiment of the present application, the terminal device shown in FIG12 is a receiving end, and the radio frequency unit 1011 is used to receive a first data packet; the first data packet carries a first indication, and the first indication is used to indicate whether the first data packet is integrity protected; the first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected;

[0306] The processor 1010 is configured to determine, based on the first indication, whether the first data packet has not been integrity protected; and if the first data packet has been integrity protected, perform integrity protection verification on the first data packet.

[0307] Optionally, the first data packet is a data packet generated according to first configuration information; the first configuration information includes at least one of the following:

[0308] a second indication, where the second indication is used to indicate a configured proportion of integrity-protected data packets in the data packets corresponding to the preset sending window of the sending end;

[0309] a third indication, where the third indication is used to indicate a format of the first data packet;

[0310] A fourth indication is used to indicate whether to perform integrity protection on the first indication.

[0311] Optionally, the first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following:

[0312] The first indication is used to indicate whether encryption is enabled for the payload of the first data packet;

[0313] The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

[0314] Optionally, the data length of the first indication is N bits, and the first indication has M values, where M=2 N Bit, N is a positive integer and N is greater than 1;

[0315] When the value of the first indication is a first preset value, the first indication is used to indicate that integrity protection is performed on the first data packet, and the first preset value includes any one of (M-1) preset values ​​of the first indication;

[0316] When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

[0317] Optionally, the radio frequency unit 1001 is further configured to:

[0318] Sending second information to the sending end;

[0319] The second information is used to generate the first configuration information; the second information includes at least one of the following:

[0320] A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end;

[0321] A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end;

[0322] A third parameter, the third parameter being used to indicate the encryption capability of the sending end;

[0323] A fourth parameter is used to indicate the decryption capability of the sending end.

[0324] Optionally, the radio frequency unit 1001 is further configured to:

[0325] In a case where the first data packet fails the integrity protection verification, a first message is sent to the sending end; the first message is used to indicate that the integrity protection verification of the first data packet fails or fails the integrity protection verification.

[0326] Optionally, the first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

[0327] Optionally, the processor 1010 is further configured to:

[0328] If the first condition is met, the receiving end determines that the first data packet fails the integrity protection verification;

[0329] The first condition includes at least one of the following:

[0330] The plaintext obtained by the receiving end from decrypting the first indication is an illegal value;

[0331] The first indication fails the integrity protection verification;

[0332] The target data including the first indication in the first data packet fails to pass the integrity protection verification;

[0333] The plain text obtained by the receiving end through decrypting the first indication indicates that the first data packet has been integrity protected, and the first data packet has failed integrity protection verification.

[0334] The present application also provides a network-side device. As shown in FIG13 , 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. Antenna 111 is connected to radio frequency device 112. In the uplink direction, radio frequency device 112 receives information via antenna 111 and sends the received information to baseband device 113 for processing. In the downlink direction, baseband device 113 processes the information to be transmitted and sends it to radio frequency device 112. Radio frequency device 112 processes the received information and then sends it through antenna 111.

[0335] 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.

[0336] The baseband device 113 may include, for example, at least one baseband board, on which multiple chips are arranged, as shown in Figure 11, 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.

[0337] The network side device may further include a network interface 116, which is, for example, a common public radio interface (CPRI).

[0338] Specifically, the network side device 1100 of the embodiment of the present application also includes: instructions or programs stored in the memory 115 and executable on the processor 114. The processor 114 calls the instructions or programs in the memory 115 to execute the methods executed by the modules shown in FIG. 9 or FIG. 10 and achieve the same technical effect. To avoid repetition, they will not be elaborated here.

[0339] The embodiment of the present application further provides a network side device. As shown in FIG14 , the network side device 1200 includes: a processor 1201, a network interface 1202, and a memory 1203. The network interface 1202 is, for example, a common public radio interface (CPRI).

[0340] Specifically, the network side device 1200 of the embodiment of the present application also includes: instructions or programs stored in the memory 1203 and executable on the processor 1201. The processor 1201 calls the instructions or programs in the memory 1203 to execute the methods executed by the modules shown in FIG9 or FIG10 and achieve the same technical effect. To avoid repetition, they will not be elaborated here.

[0341] 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, the various processes of the above-mentioned data processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0342] The processor is the processor in the terminal device 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.

[0343] 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.

[0344] 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.

[0345] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product 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 repeated here.

[0346] An embodiment of the present application also provides a data processing system, including: a terminal device and a network-side device, wherein the network-side device can be used to execute the steps of the data processing method described in the first aspect above, and the terminal device can be used to execute the steps of the data processing method described in the second aspect above; or, the network-side device can be used to execute the steps of the data processing method described in the second aspect above, and the terminal device can be used to execute the steps of the data processing method described in the first aspect above.

[0347] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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 statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments 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 the opposite 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.

[0348] 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 software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to execute the methods described in each embodiment of the present application.

[0349] 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 this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A data processing method, the method comprising: The sending end sends a first data packet to the receiving end; The first data packet carries a first indication, where the first indication is used to indicate whether integrity protection is performed on the first data packet; The first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

2. The method according to claim 1, wherein: Before the transmitting end sends the first data packet to the receiving end, the method further includes: The transmitting end generates the first data packet according to the first configuration information; The first configuration information includes at least one of the following: A second indication, where the second indication is used to indicate a configured proportion of the data packets to be integrity protected in the data packets corresponding to the preset sending window of the sending end; a third indication, wherein the third indication is used to indicate a format of the first data packet; A fourth indication, where the fourth indication is used to indicate whether integrity protection is performed on the first indication.

3. The method according to claim 1, wherein: The protocol stack / protocol layer of the sending end includes a high-level layer and a target protocol layer, and the target protocol layer is used to set the first indication; the high-level layer is a protocol layer located above the target protocol layer in the protocol stack / protocol layer of the sending end.

4. The method according to claim 1, wherein: The first indication is used to indicate that the first data packet is completely protected; Before the transmitting end sends the first data packet to the receiving end, the method further includes: The transmitting end generates a first message authentication code according to input parameters of the data packet to be protected; The sending end generates a second data packet according to the first message authentication code, the first indication and the data packet; The sending end encrypts the first parameter of the second data packet to obtain a first data packet; The first parameter includes at least one of the following: the first instruction; a payload of the second data packet; The first message authentication code.

5. The method according to claim 1, wherein: The first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following: The first indication is used to indicate whether encryption is enabled for the payload of the first data packet; The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

6. The method according to claim 1, wherein: The data length of the first indication is N bits, and the first indication has M values, M=2 N , N is a positive integer and N is greater than 1; In a case where the value of the first indication is a first preset value, the first indication is used to indicate that the first data packet has been integrity protected, and the first preset value includes any one of (M-1) preset values ​​of the first indication; When the value of the first indication is a second preset value, the first indication is used to indicate that integrity protection is not performed on the first data packet, and the second preset value is one of the M values ​​of the first indication.

7. The method according to claim 2, wherein: Before the transmitting end transmits the first data packet according to the first configuration information, the method further includes: The sending end sends second information to the receiving end; The sending end receives first configuration information sent by the receiving end; Wherein, the first configuration information is generated according to the second information; The second information includes at least one of the following: A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end; A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end; A third parameter, the third parameter is used to indicate the encryption capability of the sending end; A fourth parameter, wherein the fourth parameter is used to indicate the decryption capability of the sending end.

8. The method according to claim 1, wherein: The method further comprises: The sending end receives a first message, where the first message is used to indicate that the integrity protection verification of the first data packet fails or does not pass the integrity protection verification; The sending end resends the first data packet to the receiving end; and / or, The sending end adjusts the sending speed of the data packet and performs integrity protection on other data packets to be sent.

9. The method according to claim 8, wherein: The first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

10. A data processing method, the method comprising: The receiving end receives the first data packet; The first data packet carries a first indication, where the first indication is used to indicate whether integrity protection is performed on the first data packet; The first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected; The receiving end determines whether the first data packet is not integrity protected according to the first indication; In a case where integrity protection is performed on the first data packet, the receiving end performs integrity protection verification on the first data packet.

11. The method according to claim 10, wherein: The first data packet is a data packet generated according to first configuration information; the first configuration information includes at least one of the following: A second indication, where the second indication is used to indicate a configured proportion of the data packets to be integrity protected in the data packets corresponding to the preset sending window of the sending end; a third indication, wherein the third indication is used to indicate a format of the first data packet; A fourth indication, where the fourth indication is used to indicate whether integrity protection is performed on the first indication.

12. The method according to claim 10, wherein: The first indication is used to indicate whether integrity protection is performed on the first data packet, and includes at least one of the following: The first indication is used to indicate whether encryption is enabled for the payload of the first data packet; The first indication is used to indicate whether integrity protection is enabled for the payload of the first data packet.

13. The method according to claim 10, wherein: The data length of the first indication is N bits, and the first indication has M values, M=2 N Bit, N is a positive integer and N is greater than 1; In a case where the value of the first indication is a first preset value, the first indication is used to indicate that the first data packet has been integrity protected, and the first preset value includes any one of (M-1) preset values ​​of the first indication; When the value of the first indication is a second preset value, the first indication is used to indicate the first The data packet is not integrity protected, and the second preset value is one of the M values ​​indicated by the first.

14. The method according to claim 11, wherein: Before the receiving end receives the first data packet, the method further includes: The receiving end sends second information to the sending end; The second information is used to generate the first configuration information; the second information includes at least one of the following: A first parameter, where the first parameter is used to indicate the integrity protection capability of the sending end; A second parameter, where the second parameter is used to indicate the integrity protection verification capability of the sending end; A third parameter, the third parameter is used to indicate the encryption capability of the sending end; A fourth parameter, wherein the fourth parameter is used to indicate the decryption capability of the sending end.

15. The method according to claim 10, wherein: The method further comprises: In a case where the first data packet fails to pass the integrity protection verification, the receiving end sends a first message to the sending end; the first message is used to indicate that the integrity protection verification of the first data packet fails or fails to pass the integrity protection verification.

16. The method according to claim 15, wherein: The first message carries the sequence number of the data packet that failed the integrity protection verification or did not pass the integrity protection verification.

17. The method according to claim 15, wherein: The method further comprises: If the first condition is met, the receiving end determines that the first data packet fails the integrity protection verification; The first condition includes at least one of the following: The plain text obtained by the receiving end through decrypting the first indication is an illegal value; The first indication fails the integrity protection verification; The target data including the first indication in the first data packet fails to pass the integrity protection verification; The plain text obtained by the receiving end through decrypting the first indication indicates that the first data packet has been integrity protected, and the first data packet has not passed the integrity protection verification.

18. A data processing device, comprising: A first sending module, used for sending a first data packet to a receiving end; The first data packet carries a first indication, where the first indication is used to indicate whether integrity protection is performed on the first data packet; The first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected.

19. A data processing device, comprising: A data packet receiving module, configured to receive a first data packet; The first data packet carries a first indication, where the first indication is used to indicate whether integrity protection is performed on the first data packet; The first indication is a ciphertext, or the first indication is a ciphertext that has been integrity protected; A first determining module, configured to determine whether the first data packet has not been integrity protected according to the first indication; A verification module is used to perform integrity protection verification on the first data packet when the first data packet is integrity protected.

20. A network side device, comprising 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 program or instructions implement the data processing method as described in any one of claims 1 to 9, or implement the steps of the data processing method as described in any one of claims 10 to 17.

21. A terminal device, comprising 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 program or instructions implement the data processing method as described in any one of claims 1 to 9, or implement the steps of the data processing method as described in any one of claims 10 to 17.

22. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the data processing method according to any one of claims 1 to 9, or implements the steps of the data processing method according to any one of claims 10 to 17.

23. A computer program product, wherein the computer program product is executed by at least one processor to implement the data processing method according to any one of claims 1 to 9, or the data processing method according to any one of claims 10 to 17.

24. An electronic device, comprising: the electronic device being configured to execute the data processing method according to any one of claims 1 to 9, or to implement the data processing method according to any one of claims 10 to 17.

25. A chip, 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 data processing method as described in any one of claims 1 to 9, or to implement the data processing method as described in any one of claims 10 to 17.

Citation Information

Patent Citations

  • Communication method and related device

    CN109640324A

  • Method for selectively encrypting control signal

    WO2010030127A2

  • Integrity protection method and communication apparatus

    WO2021195894A1