EP-4149133-B1 - METHOD AND APPARATUS FOR PROCESSING DOWNLINK DATA, AND TERMINAL
Inventors
- WU, Yumin
Dates
- Publication Date
- 20260513
- Application Date
- 20210527
Claims (15)
- A downlink data processing method, performed by a terminal (11), wherein the method comprising: receiving (S210) predetermined downlink data; and verifying (S212) the downlink data and processing the downlink data based on a verification result; characterized in that the verifying (S212) the downlink data and processing the downlink data based on a verification result comprises at least one of following: performing contention resolution verification on the downlink data and processing the downlink data based on a contention resolution verification result; and in a case that the downlink data comprises both signaling radio bearer, SRB, data and data radio bearer, DRB, data, performing verification processing on the SRB data or the DRB data in the downlink data and processing the downlink data based on a verification processing result; wherein the performing the contention resolution verification on the downlink data and processing the downlink data based on the contention resolution verification result comprises: after the contention resolution verification of the downlink data succeeds, sending data content of the downlink data to an upper-layer protocol entity, and processing the data content of the downlink data by the upper-layer protocol entity; or before the performing the contention resolution verification on the downlink data, sending the data content of the downlink data to the upper-layer protocol entity, and processing the data content of the downlink data by the upper-layer protocol entity after the contention resolution verification of the downlink data succeeds; wherein the upper-layer protocol entity is a radio link control, RLC, layer entity and/or a packet data convergence protocol, PDCP, layer entity; or, the performing the verification processing on the SRB data or the DRB data in the downlink data and processing the downlink data based on the verification processing result comprises: in a case that verification processing on a first data type data in the downlink data succeeds, performing verification processing on a second data type data in the downlink data, wherein the first data type data is the SRB data and the second data type data is the DRB data; or, the first data type data is the DRB data and the second data type data is the SRB data.
- The method according to claim 1, wherein the downlink data comprises any of following: a message 4, Msg4, in a 4-step random access process; a message B, MsgB, in a 2-step random access process; and downlink data transmitted on a predetermined downlink feedback resource, wherein the predetermined downlink feedback resource corresponds to a dedicated uplink resource configured by a network.
- The method according to claim 1, wherein a data type of the downlink data comprises at least one of following: data radio bearer, DRB, data; and signaling radio bearer, SRB, data.
- The method according to claim 1, wherein status of the terminal (11) comprises any of following: an idle state; and an inactive state.
- The method according to any one of claim 1, wherein the processing the data content of the downlink data comprises at least one of following: performing integrity protection verification on the data content of the downlink data; decrypting the data content of the downlink data; and decompressing the data content of the downlink data.
- The method according to claim 1, wherein in a case that the verification processing on the first data type data in the downlink data fails, a failure recovery process is performed; the verification processing performed on the first data type data comprises at least one of following: performing integrity protection verification on the first data type data; and decrypting the first data type data.
- The method according to claim 6, wherein performing a failure recovery process comprises at least one of following: the terminal (11) entering the idle state; discarding a data packet of the first data type data on which the discarding processing fails; discarding a data packet of the downlink data; triggering a cell selection or reselection process; triggering a connection re-establishment process or a connection establishment process; and falling back context information or configuration information saved by the terminal (11) to a preset state, wherein the preset state is a state before uplink data corresponding to the downlink data is sent.
- A downlink data processing apparatus (300), comprising: a receiving module (301), configured to receive predetermined downlink data; and a processing module (302), configured to verify the downlink data and process the downlink data based on a verification result; characterized in that the processing module (302) is specifically configured to perform at least one of following: performing contention resolution verification on the downlink data and processing the downlink data based on a contention resolution verification result; and in a case that the downlink data comprises both signaling radio bearer, SRB, data and data radio bearer, DRB, data, performing verification processing on the SRB data or the DRB data in the downlink data and processing the downlink data based on a verification processing result; wherein a transmission module is configured to send data content of the downlink data to an upper-layer protocol entity after the contention resolution verification of the downlink data succeeds, and the processing module (302) is configured to process the data content of the downlink data by the upper-layer protocol entity; or the transmission module is configured to send the data content of the downlink data to the upper-layer protocol entity before the contention resolution verification is performed on the downlink data, and the processing module (302) is configured to process the data content of the downlink data by the upper-layer protocol entity after the contention resolution verification of the downlink data succeeds; wherein the upper-layer protocol entity is a radio link control, RLC, layer entity and/or a packet data convergence protocol, PDCP, layer entity; or, in a case that verification processing on a first data type data in the downlink data succeeds, the processing module (302) is configured to perform verification processing on a second data type data in the downlink data, wherein the first data type data is the SRB data and the second data type data is the DRB data; or, the first data type data is the DRB data and the second data type data is the SRB data.
- The downlink data processing apparatus (300) according to claim 8, wherein the downlink data comprises any of following: a message 4, Msg4, in a 4-step random access process; a message B, MsgB, in a 2-step random access process; and downlink data transmitted on a predetermined downlink feedback resource, wherein the predetermined downlink feedback resource corresponds to a dedicated uplink resource configured by a network.
- The downlink data processing apparatus (300) according to claim 8, wherein a data type of the downlink data comprises at least one of following: data radio bearer, DRB, data; and signaling radio bearer, SRB, data.
- The downlink data processing apparatus (300) according to claim 8, wherein status of the terminal (11) comprises any of following: an idle state; and an inactive state.
- The downlink data processing apparatus (300) according to claim 8, wherein the processing module (302) is specifically configured to perform at least one of following: performing integrity protection verification on the data content of the downlink data; decrypting the data content of the downlink data; and decompressing the data content of the downlink data.
- The downlink data processing apparatus (300) according to claim 8, wherein the processing module (302) is further configured to perform a failure recovery process in a case that the verification processing on the first data type data in the downlink data fails; and the processing module (302) is specifically configured to perform at least one of following: performing integrity protection verification on the first data type data; and decrypting the first data type data.
- A terminal (500), comprising a memory (509), a processor (510), and a program or instructions stored in the memory (509) and executable on the processor (510), wherein when the program or instructions is executed by the processor (510), steps of the method according to any one of claims 1 to 7 are implemented.
- A readable storage medium, storing a program or instructions, wherein when the program or instructions is executed by a processor (510), steps of the method according to any one of claims 1 to 7 are implemented.
Description
TECHNICAL FIELD The present invention relates to the field of communications more particularly to a downlink data processing method and apparatus, and a terminal. BACKGROUND In the related art, based on a resource configured by a network side, in a case that a user equipment (UE) is in an idle (IDLE) state or an inactive (INACTIVE) state, the UE may directly send small data (Small Data Transmission, SDT) to the network side. For example, small data is sent to the network side through a message 3 (Msg3) of a 4-step random access process of initial access, or small data is sent to the network side through a message A (MsgA) of a 2-step random access process of initial access, or a dedicated uplink physical uplink shared information (PUSCH) resource (for example, pre-configured PUSCH; or, a PUR (Preallocated Uplink Resource)) configured in a network. Correspondingly, the network side may directly send small data to the UE in a corresponding method. For example, the network side directly sends small data to the UE through a message 4 (Msg4) of a 4-step random access process of initial access, or the network side directly sends small data to the UE through a message B (MsgB) of a 2-step random access process of initial access, or the network side directly sends small data to the UE through a downlink feedback resource corresponding to a dedicated uplink resource configured by a network. In a case that the network side sends data to the UE in the foregoing scenarios, no effective solution has been provided for how to ensure the security of the data. D1 (US2018227851A1) discloses methods and apparatus for optimizing delivery of a data to and/or from a UE in a connected but inactive state. The method includes: receiving downlink data from a serving base station, while the UE is in a state with no dedicated resources allocated to the UE in a network, determining whether to use a set of new security keys derived for the serving base station or a set of stored security keys derived for another base station to decrypt and verify integrity of the downlink data, and processing the downlink data based on the determination. D2 (WO2019183852A1) discloses an information reporting method and apparatus, a user equipment and a computer-readable storage medium. The information reporting method includes: receiving downlink data of a data radio bearer (DRB), an integrity protection function of which is enabled, and performing an integrity check on the downlink data of the DRB; and if the integrity check fails, triggering reporting integrity check failure related information. The integrity check failure related information includes one or more of the following pieces of information: position information of a UE, a failure indication type being an integrity check failure, indication information of an integrity check failure related information reporting triggering method, and an integrity check failure frequency. D3 (EP2874423A1) discloses a method for transmitting data, an access point and a station. The method includes: generating a key; sending the key to a station; receiving a downlink data request frame; verifying the downlink data request frame according to the key and obtaining a verification result; sending downlink data to the station if the verification result is that the downlink data request frame is correct. In the embodiments of the present invention, the key is generated, the key is sent to the station, and after the downlink data request frame is received, if the downlink data request frame is verified to be correct according to the key, the downlink data is sent to the station. D4 (CN101765214A) discloses a random access method as well as a terminal and a communication system thereof. The technical scheme of the invention includes the following: after a random access request is sent by a RRC layer of the terminal, a RRC connection request is directly sent to a RLC layer of the terminal, and the RLC layer receives and caches the RRC connection request; a MAC layer of the terminal obtains the RRC connection request cached in the RLC layer, sends the obtained RRC connection request to a base station and performs subsequent random access procedures. D5 (CN102857920A) discloses processing method and device for downlink signal messages by a terminal side of an LTE system. The processing method includes receiving a downlink signal message of an RLC sub-layer by a PDCP sub-layer on an LTE terminal side, and judging the type of the message; decoding the message when the type of the message is an order message in a safety mode to acquire safety parameter configuration, performing integrity verification to the order message in the safety mode according to the safety parameter configuration, and activating safety of an access layer after succeed in integrity verification; and decoding and performing integrity verification to subsequent downlink signal messages all coming from the RLC sub-layer according to the PDCP sub-layer ac