An RRC connection re - establishment method, device and storage medium

By performing RRC re-establishment initialization when the base station is non-steady and sending a first RRC reconfiguration message carrying the full configuration identifier to the terminal, the problem of actual following and context saved by the base station is solved, and the success rate of RRC connection re-establishment is improved.

CN115150852BActive Publication Date: 2025-06-27DATANG MOBILE COMM EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110351172.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2025-06-27
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

In the prior art, the actual following of the UE is inconsistent with the context saved by the base station, causing the UE to repeatedly initiate RRC connection re-establishment, reducing the success rate of RRC connection re-establishment.

Method used

When receiving the RRC re-establishment request from the terminal, the current status of the base station is detected. If the base station is in non-steady state, RRC re-establishment initialization is performed, and a first RRC reconfiguration message carrying the full configuration identifier is sent to the terminal, instructing the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters.

Benefits of technology

By responding to the terminal's RRC re-establishment request when the base station is non-steady, the RRC re-establishment failure caused by mismatch between the configuration parameters of the base station and the terminal, the success rate of RRC connection re-establishment is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115150852B_ABST
    Figure CN115150852B_ABST
Patent Text Reader

Abstract

The present invention provides an RRC connection reestablishment method, apparatus, and storage medium, relating to the field of communication technologies. The method is applied to a base station and specifically includes: when receiving an RRC reestablishment request sent by a terminal, detecting the current state of the base station; if the current state of the base station is non-steady state, performing RRC reestablishment initialization on the base station; when the RRC reestablishment initialization is completed, sending a first RRC reconfiguration message to the terminal, where the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters. The present invention can avoid the situation where RRC reestablishment fails due to mismatching of RRC connection configuration parameters between the base station and the terminal, and improves the success rate of RRC connection reestablishment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and particularly to a method, apparatus, and storage medium for re - establishing an RRC connection. Background Art

[0002] In the NR (New Radio) system, during the process of a UE (User Equipment) re - establishing an RRC (Radio Resource Control) connection, when the UE receives an RRC re - configuration message, it will perform RRC re - configuration according to the configuration parameters carried in the RRC re - configuration message, and send an RRC re - configuration complete message to the base station after the configuration is completed. However, due to signal interference or other factors, the base station fails to receive this RRC re - configuration complete message. If the base station does not receive the RRC re - configuration complete message within a preset time, it will consider that the RRC re - configuration of the UE fails, and thus roll back the configuration parameters sent to the UE. However, the terminal is unaware of this situation and will default that the RRC configuration is successful after sending the RRC re - configuration complete message.

[0003] In this case, when the UE re - initiates an RRC establishment request, for example, the context parameters of the UE before re - configuration are a, b, c, and the UE successfully applies all the received re - configuration parameters d, e. Then the actual context parameters of the UE at this time are a, b, c, d, e; while since the base station rolls back the re - configuration parameters d, e, the context parameters of the UE actually saved by the base station at this time are a, b, c. The base station responds to the UE's RRC re - establishment request and sends the saved context parameters a, b, c to the UE. Obviously, the context parameters sent by the base station are inconsistent with the actual context parameters of the UE, and the base station will directly reject the UE's RRC re - establishment request, which causes the UE to continue to initiate an RRC re - establishment request. Thus, it can be seen that the existing RRC re - establishment method is prone to the inconsistency between the actual context of the UE and the context saved by the base station, resulting in the UE repeatedly initiating RRC connection re - establishment and reducing the success rate of RRC connection re - establishment. Summary of the Invention

[0004] The present invention provides a method, apparatus, and storage medium for re - establishing an RRC connection to solve the problem in the prior art that it is easy to have an inconsistency between the actual context of the UE and the context saved by the base station, resulting in the UE repeatedly initiating RRC connection re - establishment and a low success rate of RRC connection re - establishment.

[0005] According to a first aspect of the present invention, there is provided a method for re - establishing an RRC connection, which is applied to a base station, and the method includes:

[0006] When receiving an RRC re - establishment request sent by a terminal, detecting the current state of the base station;

[0007] If the current state of the base station is non-steady state, initialize the RRC re-establishment for the base station;

[0008] When the RRC re-establishment initialization is completed, send a first RRC reconfiguration message to the terminal, where the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters.

[0009] The present invention also provides another RRC connection re-establishment method, which is applied to a terminal, and the method includes:

[0010] Send an RRC re-establishment request to the base station;

[0011] Receive a first RRC reconfiguration message sent by the base station, where the first RRC reconfiguration message is sent by the base station when its current state is non-steady state, and the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier;

[0012] Clear the current RRC connection configuration parameters of the terminal and perform RRC reconfiguration according to the first configuration parameters.

[0013] According to a second aspect of the present invention, there is provided a device, which includes a memory, a transceiver, and a processor: The memory is used to store a computer program; the transceiver is used to transmit and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:

[0014] When receiving an RRC re-establishment request sent by a terminal, detect the current state of the base station;

[0015] If the current state of the base station is non-steady state, initialize the RRC re-establishment for the base station;

[0016] When the RRC re-establishment initialization is completed, send a first RRC reconfiguration message to the terminal, where the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters.

[0017] The present invention also provides another device, which includes a memory, a transceiver, and a processor: The memory is used to store a computer program; the transceiver is used to transmit and receive data under the control of the processor; the processor is used to read the computer program in the memory and perform the following operations:

[0018] Send an RRC re - establishment request to the base station;

[0019] Receive a first RRC re - configuration message sent by the base station. The first RRC re - configuration message is sent by the base station when its current state is non - steady state, and the first RRC re - configuration message carries first configuration parameters and a full configuration identifier;

[0020] Clear the current RRC connection configuration parameters of the terminal and perform RRC re - configuration according to the first configuration parameters.

[0021] According to the third aspect of the present invention, there is provided an RRC connection re - establishment device applied to a base station. The device includes:

[0022] A status detection module, configured to detect the current state of the base station when receiving an RRC re - establishment request sent by a terminal;

[0023] An initialization module, configured to perform RRC re - establishment initialization on the base station if the current state of the base station is non - steady state;

[0024] A first RRC re - configuration message sending module, configured to send a first RRC re - configuration message to the terminal when the RRC re - establishment initialization is completed. The first RRC re - configuration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameters.

[0025] The present invention also provides another RRC connection re - establishment device applied to a terminal. The device includes:

[0026] An RRC re - establishment request sending module, configured to send an RRC re - establishment request to the base station;

[0027] A first RRC re - configuration message receiving module, configured to receive a first RRC re - configuration message sent by the base station. The first RRC re - configuration message is sent by the base station when its current state is non - steady state, and the first RRC re - configuration message carries first configuration parameters and a full configuration identifier;

[0028] A first re - configuration module, configured to clear the current RRC connection configuration parameters of the terminal and perform RRC re - configuration according to the first configuration parameters.

[0029] According to the fourth aspect of the present invention, there is provided a processor - readable storage medium storing a computer program, and the computer program is used to cause a processor to execute the foregoing method.

[0030] The present invention provides an RRC connection re - establishment method, apparatus, and storage medium, relating to the field of communication technologies. The method is applied to a base station and specifically includes: when receiving an RRC re - establishment request sent by a terminal, detecting the current state of the base station; if the current state of the base station is non - steady state, performing RRC re - establishment initialization on the base station; and when the RRC re - establishment initialization is completed, sending a first RRC re - configuration message to the terminal, where the first RRC re - configuration message carries first configuration parameters and a full - configuration identifier, and the full - configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameters. The present invention can, when the base station is in a non - steady state, in response to an RRC re - establishment request sent by a terminal, send a first RRC re - configuration message carrying a full - configuration identifier to the terminal, so as to instruct the terminal to clear the current RRC connection configuration parameters according to the full - configuration identifier and perform RRC re - configuration according to the first configuration parameters, avoiding the situation where RRC re - establishment fails due to mismatching of RRC connection configuration parameters between the base station and the terminal, and improving the success rate of RRC connection re - establishment.

[0031] The above description is only an overview of the technical solution of the present invention. In order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description. And in order to make the above and other purposes, features, and advantages of the present invention more obvious and understandable, the following specifically describes the embodiments of the present invention. Brief Description of the Drawings

[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments of the present invention. Obviously, the following - described drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0033] Figure 1 is a specific step - flow chart of an RRC connection re - establishment method provided by an embodiment of the present invention;

[0034] Figure 2 is a specific step - flow chart of another RRC connection re - establishment method provided by an embodiment of the present invention;

[0035] Figure 3 is an RRC connection re - establishment flow chart provided by an embodiment of the present invention;

[0036] Figure 4 is a structural diagram of an apparatus provided by an embodiment of the present invention;

[0037] Figure 5 is a structural diagram of another apparatus provided by an embodiment of the present invention;

[0038] Figure 6 It is a structural diagram of an RRC connection re - establishment device provided by an embodiment of the present invention;

[0039] Figure 7 It is a structural diagram of another RRC connection re - establishment device provided by an embodiment of the present invention. Detailed implementation manners

[0040] In the embodiments of the present invention, the term "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the front and rear associated objects.

[0041] In the embodiments of the present invention, the term "a plurality of" means two or more, and other quantifiers are similar.

[0042] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0043] Embodiment 1

[0044] Refer to Figure 1 , which shows a specific step flowchart of an RRC connection re - establishment method provided by Embodiment 1 of the present invention. This method is applied to a base station and specifically includes the following steps:

[0045] Step 101, when receiving an RRC re - establishment request sent by a terminal, detect the current state of the base station.

[0046] Step 102, if the current state of the base station is non - steady state, perform RRC re - establishment initialization on the base station.

[0047] Step 103, when the RRC re - establishment initialization is completed, send a first RRC re - configuration message to the terminal. The first RRC re - configuration message carries first configuration parameters and a full - configuration identifier. The full - configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameters.

[0048] Among them, the RRC reestablishment request is sent by the terminal when it detects an abnormal radio link. The abnormal radio link usually includes the following five scenarios: detecting a radio link failure, a synchronization reconfiguration failure, a handover failure, an integrity protection verification failure, and an RRC reconfiguration failure.

[0049] When the terminal detects the above abnormal situations, the network connection between the terminal and the base station is no longer reliable, and it is necessary to re - establish an RRC connection with the base station through random access.

[0050] Among them, the RRC connection re - establishment initiated by the terminal can be divided into three types: re - establishment of the original serving cell of the original serving base station (hereinafter simply referred to as original cell re - establishment), re - establishment of a non - original serving cell of the original serving base station, and re - establishment of a non - original serving cell of a non - original serving base station. It should be noted that the RRC connection re - establishment method provided in the embodiments of the present invention is mainly applied to the scenario of original cell re - establishment. When the terminal initiates an RRC connection re - establishment of the original cell, the original serving base station of the terminal, that is, the source base station, is the same base station as the target base station that receives the RRC re - establishment request sent by the terminal. That is to say, the base station in the embodiments of the present invention is both the source base station and the target base station of the terminal.

[0051] In the embodiments of the present invention, when the base station receives the RRC re - establishment request sent by the terminal, it first judges the current state of the base station. Among them, the current state of the base station includes two situations: steady state and non - steady state. When the current state of the base station is in the steady state, it indicates that the base station is not in the RRC re - configuration process at this time, and the terminal configuration parameters saved by the base station are consistent with the actual configuration parameters of the terminal. If an RRC connection re - establishment is performed at this time, there will be no situation where the RRC connection re - establishment fails due to the mismatch between the configuration parameters of the base station and the terminal. When the current state of the base station is in the non - steady state, it indicates that the base station is in the RRC re - configuration process at this time. In this case, the configuration parameters of the terminal have changed, and the base station needs to interact with the terminal to confirm the parameter changes of the terminal and update the configuration parameters. If the radio link fails at this time, the base station cannot confirm the parameter changes of the terminal in time and update the configuration parameters in time, resulting in a mismatch between the configuration parameters of the base station and the terminal. In this case, if an RRC connection re - establishment is performed, the RRC re - establishment will fail due to the mismatch between the configuration parameters of the base station and the terminal.

[0052] Therefore, in the embodiments of the present invention, when receiving the RRC re - establishment request sent by the terminal, first judge the current state of the base station. If the current state of the base station is in the non - steady state, perform RRC re - establishment initialization on the base station, and send a first RRC connection re - configuration message carrying a full configuration identifier and first configuration parameters to the terminal, instructing the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameters.

[0053] Among them, the first configuration parameter includes the terminal steady-state context saved by the base station. The RRC connection configuration parameters are other configuration parameters related to the RRC connection except for C-RNTI (Cell-Radio Network Temporary Identifier), NCC (nextHop Chaining Count, security parameter), and SRB / DRB (Signaling Radio Bearer / Data RadioBearer). After the terminal receives the first RRC reconfiguration message sent by the base station, it retains C-RNTI, NCC, and SRB / DRB, deletes other RRC connection configuration parameters, and then performs RRC reconfiguration according to the first configuration parameter.

[0054] In another alternative embodiment of the present invention, the current state of the base station is non-steady state, including that the base station did not receive the reconfiguration complete message returned by the terminal after the terminal completed reconfiguration during the last RRC re-establishment process with the terminal.

[0055] Assume that during the last RRC re-establishment process between the base station and the terminal, that is, before the base station received the RRC re-establishment request sent by the terminal, the base station sent a third RRC reconfiguration message to the terminal and has not received the third RRC reconfiguration complete message returned by the terminal yet, indicating that the base station is currently processing the RRC re-establishment process corresponding to the previous RRC re-establishment request. Since the base station received the RRC re-establishment request before receiving the third RRC reconfiguration complete message returned by the terminal, it will default that the terminal fails to execute the reconfiguration process corresponding to the third RRC reconfiguration message, and then the base station will roll back the third configuration parameter carried in the third reconfiguration message. Assume that before sending the third RRC reconfiguration message, the configuration parameter of the terminal saved by the base station is the second configuration parameter, and the configuration parameter of the terminal before receiving the third RRC reconfiguration message is the same as the configuration parameter saved by the base station, which is also the second configuration parameter. During the previous RRC re-establishment process, a third configuration parameter was newly allocated to the terminal. The base station sends the third configuration parameter to the terminal through the third RRC reconfiguration message. After receiving the third RRC reconfiguration message, the terminal performs RRC reconfiguration according to the third configuration parameter, and the previous second configuration parameter is still valid. That is to say, after the terminal performs RRC reconfiguration according to the third RRC reconfiguration message, the actual configuration parameter includes the second configuration parameter and the third configuration parameter.

[0056] After the UE completes the RRC reconfiguration, it will send a third RRC reconfiguration complete message to the base station to inform the base station that the RRC reconfiguration is completed. During the process of the UE sending the third RRC reconfiguration complete message, if the radio link is abnormal and the third RRC reconfiguration complete message fails to be successfully sent to the base station, the UE will re-initiate an RRC re-establishment request.

[0057] Since the base station has not received the third RRC reconfiguration complete message when it receives a new RRC re-establishment request, it will consider that the UE fails to execute the third RRC reconfiguration message and will roll back the third configuration parameter, that is, delete the third configuration parameter from the saved UE configuration parameters. Then, the configuration parameters of the UE actually saved by the base station at this time are the second configuration parameters. However, the UE has executed the third RRC configuration message, and the actual configuration parameters of the UE at this time include the second configuration parameter and the third configuration parameter. Obviously, when the base station receives a new RRC re-establishment request, the saved UE configuration parameters do not match the actual configuration parameters of the UE, which will cause the synchronous reconfiguration between the base station and the UE to fail, and this situation will trigger the UE to initiate an RRC re-establishment request again.

[0058] Therefore, in order to avoid the UE repeatedly initiating an RRC re-establishment request due to the mismatch of the configuration parameters between the base station and the UE, in the embodiment of the present invention, when the base station receives an RRC re-establishment request sent by the UE during the previous RRC re-establishment process, that is, the base station sends a third RRC reconfiguration message to the UE before receiving the RRC re-establishment request sent by the UE and has not received the third RRC reconfiguration complete message returned by the UE, the base station sends a first RRC reconfiguration message carrying a full configuration identifier to the UE, instructing the UE to clear the current RRC connection configuration parameters and directly perform RRC reconfiguration with the first configuration parameters carried in the first RRC reconfiguration message. Among them, the first configuration parameter is the configuration parameter of the UE currently saved by the base station.

[0059] In this way, even if there are reasons such as abnormal radio links that cause the base station to fail to receive the RRC reconfiguration complete message sent by the UE, in the embodiment of the present invention, the UE is reconfigured with the configuration parameters currently saved by the base station, that is, the first configuration parameters. Since the embodiment of the present invention clears the current configuration parameters of the UE according to the full configuration identifier before reconfiguring the UE, after the UE performs RRC reconfiguration, both the configuration parameters of the UE saved by the base station and the actual configuration parameters of the UE are the first configuration parameters, and there will be no failure of RRC connection re-establishment due to the mismatch of the configuration parameters between the base station and the UE, and the UE will not repeatedly initiate an RRC re-establishment request, thereby improving the success rate of RRC connection re-establishment.

[0060] In another alternative embodiment of the present invention, after detecting the current state of the base station in step 101, the method further includes:

[0061] If the current state of the base station is a steady state, send a second RRC reconfiguration message to the terminal, where the second RRC reconfiguration message carries second configuration parameters of the terminal, so that the terminal performs RRC reconfiguration according to the second reconfiguration parameters, and returns a second RRC reconfiguration complete message after the configuration is completed.

[0062] When the current state of the base station is a steady state, it indicates that the base station is not in the RRC reconfiguration process at this time. At this time, the configuration parameters saved by the base station are consistent with the configuration parameters of the terminal. If RRC connection reestablishment is performed at this time, the situation of RRC connection reestablishment failure caused by the mismatch between the configuration parameters of the base station and the terminal will not occur. Therefore, in the embodiment of the present invention, when it is detected that the current state of the base station is a steady state, directly send a second RRC reconfiguration message carrying second configuration parameters to the terminal, trigger the terminal to perform RRC reconfiguration according to the second configuration parameters, and there is no need to clear the current RRC connection configuration parameters of the terminal.

[0063] In practical applications, for the terminal, when the terminal receives the RRC reconfiguration message sent by the base station, it determines whether the received RRC reconfiguration message is the first RRC reconfiguration message or the second RRC reconfiguration message by detecting whether the received RRC reconfiguration message carries a full configuration identifier. If the terminal detects the full configuration identifier in the received RRC reconfiguration message, it determines that the received is the first RRC reconfiguration message, clears the current RRC connection configuration parameters of the terminal, that is, retains the C-RNTI, NCC, SRB / DRB, deletes other RRC connection configuration parameters, and performs RRC reconfiguration according to the first configuration parameters. If the terminal does not detect the full configuration identifier in the received RRC reconfiguration message, it determines that the received is the second RRC reconfiguration message, and there is no need to clear the current RRC connection configuration parameters of the terminal, and directly performs RRC reconfiguration with the second configuration parameters.

[0064] In an alternative embodiment of the present invention, the RRC reestablishment initialization of the base station in step 102 includes:

[0065] Step S11, clear the current RRC connection configuration parameters of the base station, and perform RRC reconfiguration according to the base station configuration parameters matching the first configuration parameters;

[0066] Step S12, delete the current radio link of the terminal, and reestablish a radio link for the terminal;

[0067] Step S13: Suspend the PDCP layer of the base station, and send a PDCP suspension trigger message to the terminal via the re-established radio link to trigger the terminal to suspend the PDCP entity on the terminal side;

[0068] Step S14: Configure keys for integrity protection and encryption for the suspended PDCP layer;

[0069] Step S15: Send an RRC re-establishment request response message to the terminal. The RRC re-establishment request response message carries security parameters and the key, so that the terminal performs integrity protection verification based on the security parameters and the key.

[0070] Among them, the base station includes an RRC layer, a PDCP layer, and a MAC (Media Access Control) layer. During the RRC connection re-establishment process, the RRC layer is responsible for interacting with the terminal, including receiving the RRC re-establishment request sent by the terminal, sending the RRC re-establishment request response message to the terminal, sending the RRC re-configuration message, etc.; the RRC layer is also responsible for scheduling the MAC and PDCP layers during the RRC connection re-establishment process. For example, it triggers the MAC layer to perform security verification on the terminal and suspends the PDCP layer. It should be noted that the PDCP layer supports the following functions: data transmission, header compression and decompression using the robust header compression (ROHC) protocol, encryption and decryption, integrity protection verification, timer-based service data unit (SDU) discard, classification bearer, out-of-order delivery, etc. The terminal includes a PDCP entity corresponding to the PDCP layer of the base station, which is used to cooperate with the PDCP layer of the base station to implement functions such as integrity protection verification. The MAC layer is responsible for allocating RRC re-configuration parameters for the terminal and the base station, including the configuration parameters of the terminal and the base station. Among them, the configuration parameters of the terminal match those of the base station, and only when the two match can the RRC connection re-establishment be successful.

[0071] The MAC layer sends the allocated configuration parameters to the RRC layer. The RRC layer receives and saves the configuration parameters, then performs RRC re-configuration according to the configuration parameters of the base station, and sends the saved configuration parameters of the terminal to the terminal via the RRC re-configuration message to instruct the terminal to perform RRC re-configuration.

[0072] In the embodiment of the present application, when the base station is in an unsteady state, the base station sends a first RRC reconfiguration message carrying a full configuration identifier to the terminal, instructing the terminal to clear the current RRC connection configuration parameters. After receiving the first RRC reconfiguration message, the terminal clears the current RRC connection configuration parameters and performs RRC reconfiguration according to the first configuration parameters. To ensure the success rate of RRC connection reestablishment, it is necessary to ensure that the configuration parameters of the base station itself match the first configuration parameters of the terminal. Therefore, in the embodiment of the present invention, when the base station is in an unsteady state, the current RRC connection configuration parameters of the base station are cleared, and the base station is directly reconfigured for RRC according to the base station configuration parameters that match the first configuration parameters, so as to ensure that the configuration parameters of the base station itself match the first configuration parameters of the terminal and ensure the success rate of RRC connection reestablishment.

[0073] The terminal initiates an RRC reestablishment request in the case of a radio link anomaly. When the base station receives the RRC reestablishment request, it indicates that the current radio link of the terminal is no longer reliable. Therefore, to ensure the normal execution of RRC connection reestablishment, the base station deletes the current radio link of the terminal and establishes a new radio link for the terminal. Then, the PDCP (Packet Data Convergence Protocol) layer of the base station is suspended, and a PDCP suspension trigger message is sent to the terminal through the reestablished radio link, triggering the terminal to also suspend the corresponding PDCP entity. Suspending the PDCP layer means pausing the above functions of the PDCP layer. For the specific suspension process, refer to the specification of the SuspendPDCP related chapter in 3GPP (3rd Generation Partnership Project) 38.323 protocol.

[0074] After suspending the PDCP layer, integrity protection and encryption keys are reconfigured for the PDCP layer, and an RRC reestablishment request response message carrying security parameters and keys is sent to the terminal, triggering the terminal to perform integrity protection verification according to the security parameters and keys.

[0075] In another alternative embodiment of the present invention, after step 103 of sending the first RRC reconfiguration message to the terminal, the method further includes:

[0076] In the case of receiving an RRC reestablishment completion message and a first RRC reconfiguration completion message, the configuration of the PDCP layer of the base station is restored. The RRC reestablishment completion message is sent by the terminal when the integrity protection verification is successful, and the first RRC reconfiguration completion message is sent by the terminal when the RRC reconfiguration is completed according to the first configuration parameters.

[0077] In the embodiment of the present invention, during the initialization of RRC re - establishment for the base station, the PDCP layer of the base station is suspended. Therefore, when the base station receives the RRC re - establishment complete message and the first RRC re - configuration complete message, the configuration of the base station's PDCP layer is restored. After the base station restores the configuration of the PDCP layer, the RRC connection re - establishment for this time is completed.

[0078] Among them, the RRC re - establishment complete message is sent by the terminal when the integrity protection verification is successful. During the initialization of RRC re - establishment for the base station, the base station sends an RRC re - establishment request response message carrying security parameters and the first key to the terminal. After receiving the RRC re - establishment request response message, the terminal performs integrity protection verification according to the security parameters and the key, and sends the RRC re - establishment complete message to the base station when the verification is successful to inform the base station that the integrity protection verification is successful.

[0079] The first RRC re - configuration complete message is sent by the terminal when the RRC re - configuration is completed. After the terminal completes the RRC re - configuration according to the first configuration parameters, it sends the first RRC re - configuration complete message to the base station to inform the base station that the first configuration parameters have taken effect at the terminal. At this time, both the configuration parameters saved by the base station and the actual configuration parameters of the terminal are the first configuration parameters.

[0080] In another optional embodiment of the present invention, before step 101 of detecting the current state of the base station, the method further includes:

[0081] Step S21: Determine whether the terminal meets the RRC re - establishment conditions;

[0082] Step 101 of detecting the current state of the base station;

[0083] Step S22: When it is determined that the terminal meets the RRC re - establishment conditions, detect the current state of the base station.

[0084] In the embodiment of the present invention, after the base station receives the RRC re - establishment request, before detecting the current state of the base station, it also determines whether the terminal meets the RRC re - establishment conditions. When the terminal meets the RRC re - establishment conditions, the base station further detects the current state of the base station and executes the subsequent RRC re - establishment process. If the terminal does not meet the RRC re - establishment conditions, the base station does not need to detect the current state of the base station anymore, and directly returns an RRC connection re - establishment rejection message to the terminal to trigger the terminal to re - initiate an RRC re - establishment request.

[0085] Among them, for the terminal to meet the RRC re - establishment conditions, the following three conditions need to be met simultaneously:

[0086] 1) Reestablishing the RRC connection for the original cell. The RRC connection reestablishment method provided in the embodiment of the present invention is mainly applied to reestablishing the RRC connection for the original cell. Therefore, when the terminal reestablishes the RRC connection, the original serving cell (hereinafter referred to as the original cell) should be consistent with the target cell for requesting to establish the RRC connection.

[0087] 2) The steady-state context of the terminal can be obtained. During the RRC connection re-establishment process, the base station needs to obtain the steady-state context of the terminal from the original cell of the terminal and save it, so as to determine the re-established switching path based on the steady-state context of the terminal. If the steady-state context of the terminal cannot be obtained, the RRC connection of the terminal cannot be switched from the original cell to the target cell normally, which will cause the RRC connection re-establishment to fail. Therefore, when re-establishing the RRC connection, the steady-state context of the terminal must be obtained, that is, the steady-state context of the terminal is saved in the original cell.

[0088] 3) Pass the security check. Perform a security check on the terminal that initiated the RRC re-establishment request to detect whether the terminal's identity is authentic and valid.

[0089] It should be noted that when judging whether the terminal meets the RRC re-establishment conditions, the above three conditions need to be met at the same time, and none of them can be missing.

[0090] In another optional embodiment of the present invention, the RRC re-establishment request carries an original cell identifier and a target cell identifier, and the step S21 of determining whether the terminal meets the RRC re-establishment condition includes:

[0091] Sub-step S211, comparing the original cell identifier with the target cell identifier;

[0092] Sub-step S212: If the original cell identifier is consistent with the target cell identifier, determining whether the target cell has a steady-state context of the terminal according to the target cell identifier;

[0093] Sub-step S213: performing a security check on the terminal when a steady-state context of the terminal exists in the target cell;

[0094] Sub-step S214: If the terminal passes the security check, it is determined that the terminal meets the RRC re-establishment condition.

[0095] According to the three RRC reestablishment conditions that the terminal needs to meet, the RRC reestablishment conditions of the terminal are judged in sequence. Specifically, first, the original cell identifier and the target cell identifier are compared to determine whether the original cell is the same as the target cell. Since the cell identifier PCI (Physical Cell Identifier) is unique, when the original cell identifier and the target cell identifier are the same, it means that the original cell and the target cell are the same cell, that is, the RRC connection reestablishment initiated by the terminal is the original cell reestablishment.

[0096] Then, it is determined whether there is a steady-state context of the terminal according to the cell identifier. Since in the embodiment of the present application, it has been determined that it is the original cell reestablishment, and the original cell is the target cell, therefore, sub-step S212 can determine whether there is a steady-state context of the terminal according to the original cell identifier, or determine whether there is a steady-state context of the terminal in the target cell according to the target cell identifier. Specifically, the resource information of the corresponding cell is queried in the base station according to the cell identifier, and it is determined whether there is a steady-state context of the terminal according to the identity information of the terminal.

[0097] Finally, when it is determined that there is a steady-state context of the terminal, a security check is performed on the terminal. Specifically, the RRC reestablishment request also carries the first media access control identifier and the cell radio network temporary identifier of the terminal. Sub-step S213 performing the security check on the terminal includes:

[0098] M11. Calculate a second media access control identifier according to the cell radio network temporary identifier and the original cell identifier;

[0099] M12. Compare the first media access control identifier and the second media access control identifier;

[0100] M13. If the first media access control identifier is the same as the second media access control identifier, it is determined that the terminal passes the security check.

[0101] Before the terminal sends the RRC reestablishment request, it will first calculate the first media access control identifier MAC-I (Message Authentication Code for Integrity) according to the C-RNTI and the original cell identifier, and send the first media access control identifier to the base station through the RRC reestablishment request. After receiving the first media access control identifier, the base station calculates the second media access control identifier according to the original cell identifier PCI, C-RNTI carried in the RRC reestablishment request, and the security algorithm stored in the retrieved steady-state context of the terminal. If the first media access control identifier received by the base station is the same as the second media access control identifier calculated by the base station, it can be determined that the terminal passes the security check.

[0102] In another alternative embodiment of the present invention, after determining whether the terminal meets the RRC reestablishment condition in step S21, the method further includes:

[0103] If it is determined that the terminal does not meet the RRC reestablishment condition, an RRC reestablishment rejection message is sent to the terminal, so that the terminal reinitiates an RRC reestablishment request.

[0104] In an embodiment of the present invention, if the base station determines that the terminal does not meet the reestablishment condition, an RRC reestablishment rejection message is directly sent to the terminal, the RRC reestablishment process is aborted, and the base station waits for the terminal to reinitiate an RRC reestablishment request.

[0105] In summary, in the embodiment of the present invention, when receiving an RRC reestablishment request sent by a terminal, the current state of the base station is first detected. If the current state of the base station is non-steady state, RRC reestablishment initialization is performed on the base station, and then, when the RRC reestablishment initialization is completed, a first RRC reconfiguration message is sent to the terminal. Among them, the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters. The present invention can, in the case where the base station is in a non-steady state, in response to an RRC reestablishment request sent by a terminal, send a first RRC reconfiguration message carrying a full configuration identifier to the terminal, so as to instruct the terminal to clear the current RRC connection configuration parameters according to the full configuration identifier and perform RRC reconfiguration according to the first configuration parameters, avoiding the situation where RRC reestablishment fails due to mismatch between the RRC connection configuration parameters of the base station and the terminal, and improving the success rate of RRC connection reestablishment.

[0106] Referring to Figure 2 , which shows a specific step flowchart of another RRC connection reestablishment method provided by an embodiment of the present invention. This method is applied to a terminal and specifically includes the following steps:

[0107] Step 201, send an RRC reestablishment request to the base station.

[0108] Step 202, receive a first RRC reconfiguration message sent by the base station. The first RRC reconfiguration message is sent by the base station when its current state is non-steady state, and the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier.

[0109] Step 203, clear the current RRC connection configuration parameters of the terminal and perform RRC reconfiguration according to the first configuration parameters.

[0110] Among them, the RRC re - establishment request is sent by the terminal when it detects an abnormal radio link. The abnormal radio link usually includes the following five scenarios: detecting a radio link failure, synchronization re - configuration failure, handover failure, integrity protection verification failure, and RRC re - configuration failure.

[0111] When the terminal detects the above abnormal situations, the network connection between the terminal and the base station is no longer reliable, and it is necessary to re - establish the RRC connection with the base station through random access.

[0112] Among them, the RRC connection re - establishment initiated by the terminal can be divided into three types: re - establishment of the original serving cell of the original serving base station (hereinafter simply referred to as original cell re - establishment), re - establishment of a non - original serving cell of the original serving base station, and re - establishment of a non - original serving cell of a non - original serving base station. It should be noted that the RRC connection re - establishment method provided in the embodiments of the present invention is mainly applied to the scenario of original cell re - establishment. When the terminal initiates the RRC connection re - establishment of the original cell, the original serving base station of the terminal, that is, the source base station, and the target base station that receives the RRC re - establishment request sent by the terminal are the same base station. That is to say, the base station in the embodiments of the present invention is both the source base station and the target base station of the terminal.

[0113] When the base station receives the RRC re - establishment request sent by the terminal, it will first judge the current state of the base station, and when the current state of the base station is non - steady, it will send a first RRC re - configuration message to the terminal. The first RRC re - configuration message carries a full configuration identifier and first configuration parameters.

[0114] Among them, the current state of the base station includes two situations: steady state and non - steady state. When the current state of the base station is in the steady state, it indicates that the base station is not in the RRC re - configuration process at this time, and the configuration parameters saved by the base station are the same as those of the terminal. If the RRC connection re - establishment is performed at this time, there will be no situation where the RRC connection re - establishment fails due to the mismatch between the configuration parameters of the base station and the terminal. When the current state of the base station is in the non - steady state, it indicates that the base station is in the RRC re - configuration process at this time. In this case, the configuration parameters of the terminal have changed, and the base station needs to interact with the terminal to confirm the parameter change of the terminal and update the configuration parameters. If the radio link appears abnormal at this time and the base station cannot confirm the parameter change of the terminal and update the configuration parameters in time, there will be a mismatch between the configuration parameters of the base station and the terminal. In this case, if the RRC connection re - establishment is performed, it will fail due to the mismatch between the configuration parameters of the base station and the terminal. Therefore, in the embodiments of the present invention, if the base station receives an RRC re - establishment request in the non - steady state, it will send a first RRC re - configuration identifier carrying a full configuration identifier to the terminal. The full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters.

[0115] When the terminal receives the first RRC reconfiguration message, it clears the current RRC connection configuration parameters and performs RRC reconfiguration according to the first configuration parameters. In practical applications, the terminal can determine whether the received RRC reconfiguration identifier is the first RRC reconfiguration message based on whether the received RRC reconfiguration message carries a full configuration identifier. Only when the received RRC reconfiguration message carries a full configuration identifier will the terminal clear the current RRC connection configuration parameters.

[0116] Among them, the first configuration parameters include the terminal steady-state context saved by the base station. The RRC connection configuration parameters are other configuration parameters related to the RRC connection except for C-RNTI, NCC, and SRB / DRB. When the terminal receives the first RRC reconfiguration message sent by the base station, it retains C-RNTI, NCC, and SRB / DRB, deletes other RRC connection configuration parameters, and then performs RRC reconfiguration according to the first configuration parameters.

[0117] In another alternative embodiment of the present invention, the current state of the base station is non-steady state, including that in the previous RRC re-establishment process between the base station and the terminal, after the terminal completes reconfiguration, the base station does not receive the reconfiguration complete message returned by the terminal.

[0118] Assume that in the previous RRC re-establishment process between the base station and the terminal, that is, before the base station receives the RRC re-establishment request sent by the terminal, the base station sends a third RRC reconfiguration message to the terminal and has not received the third RRC reconfiguration complete message returned by the terminal, indicating that the base station is currently processing the RRC re-establishment process corresponding to the previous RRC re-establishment request. Assume that before sending the third RRC reconfiguration message, the configuration parameters of the terminal saved by the base station are the second configuration parameters, and the configuration parameters of the terminal before receiving the third RRC reconfiguration message are the same as the configuration parameters saved by the base station, which are also the second configuration parameters. During the RRC re-establishment process, a third configuration parameter is newly allocated for the terminal. The base station sends the third configuration parameter to the terminal through the third RRC reconfiguration message. After receiving the third RRC reconfiguration message, the terminal performs RRC reconfiguration according to the third configuration parameter, and the previous second configuration parameter is still valid. That is to say, after the terminal performs RRC reconfiguration according to the third RRC reconfiguration message, the actual configuration parameters include the second configuration parameter and the third configuration parameter.

[0119] After the terminal completes RRC reconfiguration, it will return a third RRC reconfiguration complete message to the base station to inform the base station that the RRC reconfiguration is completed. During the process of the terminal sending the third RRC reconfiguration complete message, if the radio link is abnormal and the third RRC reconfiguration complete message fails to be successfully sent to the base station, the terminal will re-initiate an RRC re-establishment request.

[0120] Since the base station still has not received the third RRC reconfiguration complete message when receiving a new RRC re - establishment request, it will consider that the terminal fails to execute the third RRC reconfiguration message, and will roll back the third configuration parameter, that is, delete the third configuration parameter from the saved configuration parameters of the terminal. Then, at this time, the configuration parameters of the terminal actually saved by the base station are the second configuration parameters. However, the terminal has already executed the third RRC configuration message, and the actual configuration parameters of the terminal at this time include the second configuration parameter and the third configuration parameter. Obviously, when the base station receives a new RRC re - establishment request, the saved configuration parameters do not match the actual configuration parameters of the terminal, which will lead to the failure of the synchronous reconfiguration between the base station and the terminal, and this situation will trigger the terminal to initiate an RRC re - establishment request again.

[0121] Therefore, in order to avoid the terminal from repeatedly initiating an RRC re - establishment request due to the mismatch of the configuration parameters between the base station and the terminal, in the embodiment of the present invention, when the base station receives an RRC re - establishment request sent by the terminal during the previous RRC re - establishment process, that is, the base station sends a third RRC reconfiguration message to the terminal before receiving the RRC re - establishment request sent by the terminal and has not received the third RRC reconfiguration complete message returned by the terminal, the base station sends a first RRC reconfiguration message carrying a full - configuration identifier to the terminal, instructing the terminal to clear the current RRC connection configuration parameters and directly perform RRC reconfiguration with the first configuration parameters carried in the first RRC reconfiguration message. The configuration parameters of the terminal saved by the base station are also the first configuration parameters. In this way, even if due to reasons such as abnormal radio links, the base station fails to receive the RRC reconfiguration complete message sent by the terminal, both the configuration parameters saved by the base station and the actual configuration parameters of the terminal are the first configuration parameters, and there will be no failure of the RRC connection re - establishment due to the mismatch of the configuration parameters between the base station and the terminal, and the terminal will no longer repeatedly initiate an RRC re - establishment request, thereby improving the success rate of the RRC connection re - establishment.

[0122] In another optional embodiment of the present invention, after step 201 of sending an RRC re - establishment request to the base station, the method further includes:

[0123] Step P31: Receive a second RRC reconfiguration message sent by the base station. The second RRC reconfiguration message is sent by the base station when its current state is stable, and the second RRC reconfiguration message carries second configuration parameters;

[0124] Step P32: Perform RRC reconfiguration according to the second configuration parameters;

[0125] Step P33: When the RRC reconfiguration is completed, return a second RRC reconfiguration complete message to the base station.

[0126] When the current state of the base station is in a steady state, it indicates that the base station is not in the RRC reconfiguration process at this time. At this time, the configuration parameters saved by the base station are consistent with those of the terminal. If an RRC connection re-establishment is performed at this time, there will be no situation where the RRC connection re-establishment fails due to the mismatch between the configuration parameters of the base station and the terminal. Therefore, in the embodiment of the present invention, when the current state of the base station is in a steady state, the base station directly sends a second RRC reconfiguration message carrying the second configuration parameters to the terminal. The second RRC reconfiguration message does not carry a full configuration identifier. Therefore, after receiving the second RRC reconfiguration message, the terminal directly performs RRC reconfiguration according to the second configuration parameters, without clearing the current RRC connection configuration parameters of the terminal, and sends a second RRC reconfiguration complete message to the base station after the reconfiguration is completed to inform the base station that the RRC reconfiguration is completed.

[0127] In another alternative embodiment of the present invention, before step 202 of receiving the first RRC reconfiguration message sent by the base station, the method further includes:

[0128] Step P11: Receive a PDCP suspension trigger message sent by the base station;

[0129] Step P12: In response to the PDCP suspension trigger message, perform a suspension process on its PDCP entity.

[0130] In the embodiment of the present invention, when the base station receives an RRC re-establishment request sent by the terminal in a non-steady state, it will perform RRC re-establishment initialization, perform a suspension process on the PDCP layer, and send a PDCP suspension trigger message to the terminal. It should be noted that the PDCP layer of the base station supports the following functions: data transmission, header compression and decompression using the ROHC protocol, encryption and decryption, integrity protection verification, timer-based SDU discarding, classification bearer, out-of-order delivery, etc. The terminal includes a PDCP entity corresponding to the PDCP layer of the base station, which is used to cooperate with the PDCP layer of the base station to implement functions such as integrity protection verification.

[0131] After receiving the PDCP suspension trigger message, the terminal performs a suspension process on the PDCP entity, that is, suspends the various functions of the PDCP entity. The specific suspension process refers to the specification of the SuspendPDCP related chapter of 3GPP's 38.323 protocol.

[0132] In another alternative embodiment of the present invention, after step 203 of performing RRC reconfiguration according to the first configuration parameters, the method further includes:

[0133] In the case of determining that the RRC reconfiguration is completed, send a first RRC reconfiguration complete message to the base station and restore the configuration of the PDCP entity.

[0134] After the terminal completes RRC reconfiguration according to the first configuration parameter, it sends a first RRC reconfiguration message to the base station to inform the base station that the first configuration parameter has taken effect at the terminal. At this time, both the configuration parameter saved by the base station and the actual configuration parameter of the terminal are the first configuration parameter.

[0135] Since the terminal suspends the PDCP entity when responding to the PDCP suspension trigger message, after completing the RRC reconfiguration, it is necessary to restore the configuration of the PDCP entity to ensure the normal operation of the terminal.

[0136] In another alternative embodiment of the present invention, after the step P12 of suspending the PDCP entity, the method further includes:

[0137] Step P21, receiving an RRC reestablishment request response message sent by the base station, where the RRC reestablishment request response message carries security parameters and keys for integrity protection and encryption;

[0138] Step P22, performing integrity protection verification according to the security parameters and the keys;

[0139] Step P23, when it is determined that the integrity protection verification is successful, sending an RRC reestablishment complete message to the base station.

[0140] In the embodiment of the present invention, during the process of reestablishment initialization, the base station reconfigures the first key for integrity protection and encryption for the PDCP and sends the first key and security parameters to the terminal through the RRC reestablishment request response message.

[0141] After receiving the RRC reestablishment request response message, the terminal performs integrity protection verification according to the security parameters and the first key. Specifically, calculate the second key for integrity protection and encryption according to the security parameters; compare the first key and the second key; if the first key and the second key are the same, it is determined that the integrity protection verification is successful.

[0142] In another alternative embodiment of the present invention, the RRC reestablishment request carries the original cell identifier and the target cell identifier of the terminal, so that the base station determines whether the terminal meets the RRC reestablishment condition according to the original cell identifier and the target cell identifier.

[0143] When the base station receives the RRC reestablishment request sent by the terminal, it will determine whether the terminal meets the RRC reestablishment condition. Specifically, the base station determines whether the terminal meets the RRC reestablishment condition according to the original cell identifier and the target cell identifier carried in the RRC reestablishment request.

[0144] Among them, the terminal meets the RRC re-establishment conditions and needs to meet the following three conditions at the same time:

[0145] 1) Reestablishing the RRC connection for the original cell. The RRC connection reestablishment method provided in the embodiment of the present invention is mainly applied to reestablishing the RRC connection for the original cell. Therefore, when the terminal reestablishes the RRC connection, the original serving cell (hereinafter referred to as the original cell) should be consistent with the target cell for requesting to establish the RRC connection.

[0146] 2) The steady-state context of the terminal can be obtained. During the RRC connection re-establishment process, the base station needs to obtain the steady-state context of the terminal from the original cell of the terminal and save it, so as to determine the re-established switching path based on the steady-state context of the terminal. If the steady-state context of the terminal cannot be obtained, the RRC connection of the terminal cannot be switched from the original cell to the target cell normally, which will cause the RRC connection re-establishment to fail. Therefore, when re-establishing the RRC connection, the steady-state context of the terminal must be obtained, that is, the steady-state context of the terminal is saved in the original cell.

[0147] 3) Pass the security check. Perform a security check on the terminal that initiated the RRC re-establishment request to detect whether the terminal's identity is authentic and valid.

[0148] It should be noted that when judging whether the terminal meets the RRC re-establishment conditions, the above three conditions need to be met at the same time, and none of them can be missing.

[0149] In another optional embodiment of the present invention, after sending the RRC re-establishment request to the base station, the method further includes:

[0150] If an RRC re-establishment rejection message is received, an RRC re-establishment request is re-sent to the base station, wherein the RRC re-establishment rejection message is sent by the base station when it is determined that the terminal does not meet the RRC re-establishment condition.

[0151] If the base station determines that the terminal does not meet the RRC re-establishment conditions, it will terminate the RRC connection re-establishment process and send an RRC re-establishment rejection message to the terminal. After receiving the RRC re-establishment rejection message, the terminal re-sends an RRC re-establishment request to the base station and initiates a new RRC connection re-establishment process.

[0152] Reference Figure 3 , shows a RRC connection re-establishment flow chart provided by an embodiment of the present invention. Figure 3 The interaction process between the terminal and the base station in the present invention is briefly described.

[0153] First, the terminal sends an RRC re - establishment request to the RRC layer of the base station. After the RRC layer of the base station receives the RRC re - establishment request sent by the terminal, it sends the information carried in the RRC re - establishment request, such as the original cell identifier, target cell identifier, C - RNTI, the first media access control identifier, etc., to the MAC layer of the base station, and the MAC layer determines whether the terminal meets the RRC re - establishment conditions.

[0154] When the MAC layer determines that the terminal meets the RRC re - establishment conditions, the RRC layer performs RRC re - establishment initialization, which specifically includes: clearing the current RRC connection configuration parameters of the base station, and performing RRC re - configuration according to the base station configuration parameters that match the first configuration parameters; deleting the current radio link of the terminal and re - establishing a radio link for the terminal; suspending the PDCP layer of the base station; configuring integrity protection and encryption keys for the suspended PDCP layer; sending an RRC re - establishment request response message to the terminal. This RRC re - establishment request response message carries the security parameter NCC to trigger the terminal to perform integrity protection verification.

[0155] If the terminal receives the RRC re - establishment request response message and the integrity protection verification is successful, the terminal will send an RRC re - establishment complete message to the RRC layer of the base station to inform the base station that the integrity verification is successful.

[0156] Then, the RRC layer triggers the terminal to perform RRC re - configuration by sending a first RRC re - configuration message carrying the full configuration identifier and the first configuration parameter to the terminal. After receiving the first RRC re - configuration message carrying the full configuration identifier, the terminal clears the current RRC connection configuration parameters and performs RRC re - configuration according to the first configuration parameter.

[0157] After the terminal completes the re - configuration, it returns a first RRC re - configuration complete message to the RRC layer to inform the base station that the RRC re - configuration is completed.

[0158] After the RRC layer receives the RRC re - configuration complete message, it restores the configuration of the PDCP layer. Thus, the entire RRC connection re - establishment process is completed.

[0159] It can be seen that during the RRC connection re - establishment process, the base station saves the first configuration parameter and triggers the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameter. Then, even if due to reasons such as abnormal radio links, the base station fails to receive the RRC re - configuration complete message sent by the terminal, the configuration parameters saved by the base station and the actual configuration parameters of the terminal are both the first configuration parameter, and there will be no failure of the RRC connection re - establishment due to mismatched configuration parameters between the base station and the terminal, and the terminal will not repeat the RRC re - establishment request, thereby improving the success rate of the RRC connection re - establishment.

[0160] In summary, after the embodiment of the present invention sends an RRC reestablishment request to the base station, it receives the first RRC reconfiguration message sent by the base station, then clears the current RRC connection configuration parameters of the terminal, and performs RRC reconfiguration according to the first configuration parameters; the first RRC reconfiguration message is sent by the base station when its current state is non-steady state, and the first RRC reconfiguration message carries the first configuration parameters of the terminal and a full configuration identifier. The present invention can, when the base station is in a non-steady state, according to the first RRC reconfiguration message carrying the full configuration identifier sent by the base station, clear the current RRC connection configuration parameters, and perform RRC reconfiguration according to the first configuration parameters, avoiding the situation of RRC reestablishment failure caused by the mismatch between the RRC connection configuration parameters of the base station and the terminal, and improving the success rate of RRC connection reestablishment.

[0161] It should be noted that the technical solution provided by the embodiment of the present invention can be applied to multiple systems, especially 5G systems. For example, the applicable systems can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a Wideband Code Division Multiple Access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, an LTE frequency division duplex (FDD) system, an LTE time division duplex (TDD) system, a long term evolution advanced (LTE-A) system, a universal mobile telecommunication system (UMTS), a worldwide interoperability for microwave access (WiMAX) system, a 5G New Radio (NR) system, etc. Both terminal devices and network devices are included in these multiple systems. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.

[0162] Embodiment 2

[0163] Refer to Figure 4, which shows the structural diagram of a device provided in the second embodiment of the present invention. The device is applied to a base station and specifically includes:

[0164] A memory 300 for storing computer programs.

[0165] A transceiver 310 for receiving and sending data under the control of a processor 320.

[0166] A processor 320 for reading the computer program in the memory 300 and performing the following operations:

[0167] A11. When receiving an RRC reestablishment request sent by a terminal, detecting the current state of the base station;

[0168] A12. If the current state of the base station is non-steady state, performing RRC reestablishment initialization on the base station;

[0169] A13. When the RRC reestablishment initialization is completed, sending a first RRC reconfiguration message to the terminal. The first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters.

[0170] In an optional embodiment of the present invention, the performing RRC reestablishment initialization on the base station in A12 includes:

[0171] Clearing the current RRC connection configuration parameters of the base station and performing RRC reconfiguration according to the base station configuration parameters matching the first configuration parameters;

[0172] Deleting the current radio link of the terminal and reestablishing a radio link for the terminal;

[0173] Suspending the PDCP layer of the base station and sending a PDCP suspension trigger message to the terminal through the reestablished radio link to trigger the terminal to perform suspension processing on the PDCP entity;

[0174] Configuring keys for integrity protection and encryption for the suspended PDCP layer;

[0175] Sending an RRC reestablishment request response message to the terminal. The RRC reestablishment request response message carries security parameters and the key, so that the terminal performs integrity protection verification according to the security parameters and the first key.

[0176] In an alternative embodiment of the present invention, after sending the first RRC reconfiguration message to the terminal, the processor is further configured to read a computer program in the memory and perform the following operations:

[0177] In the case of receiving an RRC reestablishment completion message and a first RRC reconfiguration completion message, restore the configuration of the PDCP layer of the base station. The RRC reestablishment completion message is sent by the terminal when the integrity protection verification is successful, and the first RRC reconfiguration completion message is sent by the terminal when the RRC reconfiguration is completed according to the first configuration parameter.

[0178] In an alternative embodiment of the present invention, after detecting the current state of the base station as described in A11, the processor is further configured to read a computer program in the memory and perform the following operations:

[0179] If the current state of the base station is a steady state, send a second RRC reconfiguration message to the terminal. The second RRC reconfiguration message carries the second configuration parameter of the terminal, so that the terminal performs RRC reconfiguration according to the second reconfiguration parameter and returns a second RRC reconfiguration completion message after the configuration is completed.

[0180] In an alternative embodiment of the present invention, the current state of the base station being a non-steady state includes that during the last RRC reestablishment process between the base station and the terminal, after the terminal completes the reconfiguration, the base station does not receive the reconfiguration completion message returned by the terminal.

[0181] In an alternative embodiment of the present invention, before detecting the current state of the base station as described in A11, the processor is further configured to read a computer program in the memory and perform the following operations:

[0182] Determine whether the terminal meets the RRC reestablishment condition;

[0183] The detection of the current state of the base station as described in A11 includes:

[0184] Detect the current state of the base station when it is determined that the terminal meets the RRC reestablishment condition.

[0185] In an alternative embodiment of the present invention, the RRC reestablishment request carries the original cell identifier and the target cell identifier. The determination of whether the terminal meets the RRC reestablishment condition includes:

[0186] Compare the original cell identifier with the target cell identifier;

[0187] If the original cell identifier is the same as the target cell identifier, determine whether the target cell has the steady-state context of the terminal according to the target cell identifier;

[0188] When the target cell has the steady-state context of the terminal, perform a security check on the terminal;

[0189] If the terminal passes the security check, determine that the terminal meets the RRC re-establishment condition.

[0190] In an alternative embodiment of the present invention, after determining whether the terminal meets the RRC re-establishment condition, the processor is further configured to read a computer program in the memory and perform the following operations:

[0191] If it is determined that the terminal does not meet the RRC re-establishment condition, send an RRC re-establishment rejection message to the terminal, so that the terminal re-initiates an RRC re-establishment request.

[0192] Among them, in Figure 4 The bus interface is an interface of the bus architecture. The bus architecture may include any number of interconnected buses and bridges. Specifically, various circuits represented by one or more processors represented by the processor 320 and the memory represented by the memory 300 are linked together. The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art. Therefore, they will not be further described herein. The bus interface provides an interface. The transceiver 310 may be a plurality of components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, and these transmission mediums include wireless channels, wired channels, optical fiber cables, and other transmission mediums. The processor 320 is responsible for managing the bus architecture and general processing, and the memory 300 may store data used by the processor 320 when performing operations.

[0193] The processor 320 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.

[0194] It should be noted here that the above device provided by the embodiment of the present invention can implement all the method steps implemented by the above method embodiment, and can achieve the same technical effect. The same parts and beneficial effects as those in the method embodiment in this embodiment will not be specifically described herein.

[0195] Embodiment 3

[0196] Refer to Figure 5 , which shows the structural diagram of a device provided in Embodiment 3 of the present invention. The device is applied to a terminal and specifically includes:

[0197] A user interface 400, configured to receive user behavior data.

[0198] A memory 410, configured to store computer programs.

[0199] A transceiver 420, configured to receive and send data under the control of a processor 430.

[0200] A processor 430, configured to read the computer program in the memory 410 and perform the following operations:

[0201] B11. Send an RRC re-establishment request to the base station;

[0202] B12. Receive a first RRC reconfiguration message sent by the base station. The first RRC reconfiguration message is sent by the base station when its current state is non-steady state, and the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier;

[0203] B13. Clear the current RRC connection configuration parameters of the terminal, and perform RRC reconfiguration according to the first configuration parameters.

[0204] In an optional embodiment of the present invention, before B12 receives the first RRC reconfiguration message sent by the base station, the processor is further configured to read the computer program in the memory and perform the following operations:

[0205] Receive a PDCP suspension trigger message sent by the base station;

[0206] In response to the PDCP suspension trigger message, perform a suspension process on its PDCP entity.

[0207] In an optional embodiment of the present invention, after B13 performs RRC reconfiguration according to the first configuration parameters, the processor is further configured to read the computer program in the memory and perform the following operations:

[0208] When it is determined that the RRC reconfiguration is completed, send a first RRC reconfiguration completion message to the base station, and restore the configuration of the PDCP entity.

[0209] In an optional embodiment of the present invention, after performing the suspension process on its PDCP entity, the processor is further configured to read the computer program in the memory and perform the following operations:

[0210] Receive the RRC re - establishment request response message sent by the base station, where the RRC re - establishment request response message carries security parameters and a first key for configured integrity protection and encryption;

[0211] Perform integrity protection verification according to the security parameters and the key;

[0212] When it is determined that the integrity protection verification is successful, send an RRC re - establishment completion message to the base station.

[0213] In an alternative embodiment of the present invention, after B11 sends the RRC re - establishment request to the base station, the processor is further configured to read the computer program in the memory and perform the following operations:

[0214] Receive a second RRC re - configuration message sent by the base station, where the second RRC re - configuration message is sent by the base station when its current state is a steady state, and the second RRC re - configuration message carries second configuration parameters of the terminal;

[0215] Perform RRC re - configuration according to the second configuration parameters;

[0216] When the RRC re - configuration is completed, return a second RRC re - configuration completion message to the base station.

[0217] In an alternative embodiment of the present invention, the current state of the base station is a non - steady state, including that in the last RRC re - establishment process between the base station and the terminal, after the terminal completes the re - configuration, the base station does not receive the re - configuration completion message returned by the terminal.

[0218] In an alternative embodiment of the present invention, the RRC re - establishment request carries the original cell identifier and the target cell identifier of the terminal, so that the base station determines whether the terminal meets the RRC re - establishment conditions according to the original cell identifier and the target cell identifier.

[0219] In an alternative embodiment of the present invention, after B11 sends the RRC re - establishment request to the base station, the processor is further configured to read the computer program in the memory and perform the following operations:

[0220] If an RRC re - establishment rejection message is received, re - send the RRC re - establishment request to the base station, where the RRC re - establishment rejection message is sent by the base station when it determines that the terminal does not meet the RRC re - establishment conditions.

[0221] Wherein, Figure 5Among them, the bus architecture may include any number of interconnected buses and bridges, specifically, various circuits of one or more processors represented by the processor 430 and the memory represented by the memory 410 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art, and thus will not be further described herein. The bus interface provides an interface. The transceiver 420 may be a plurality of components, that is, including a transmitter and a receiver, and provides a unit for communicating with various other devices on a transmission medium, and these transmission media include wireless channels, wired channels, optical fiber cables, and other transmission media. For different user devices, the user interface 400 may also be an interface capable of externally connecting and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, etc.

[0222] The processor 430 is responsible for managing the bus architecture and general processing, and the memory 410 may store data used by the processor 430 when performing operations.

[0223] Optionally, the processor 330 may be a CPU (Central Processing Unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0224] The processor is used to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory. The processor and the memory may also be physically separated.

[0225] It should be noted here that the above device provided in the embodiments of the present invention can implement all the method steps implemented in the above method embodiments, and can achieve the same technical effects, and the same parts and beneficial effects as the method embodiments in this embodiment will not be specifically described herein.

[0226] Embodiment 4

[0227] Referring to Figure 6 , which shows a structural diagram of an RRC connection re-establishment device provided in Embodiment 4 of the present invention. This device is applied to a base station and specifically includes:

[0228] A status detection module 501, configured to detect the current status of the base station when receiving an RRC re-establishment request sent by a terminal;

[0229] An initialization module 502, configured to perform RRC re - establishment initialization on the base station if the current state of the base station is in a non - steady state;

[0230] A first RRC re - configuration message sending module 503, configured to send a first RRC re - configuration message to the terminal when the RRC re - establishment initialization is completed. The first RRC re - configuration message carries first configuration parameters and a full - configuration identifier, and the full - configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC re - configuration according to the first configuration parameters.

[0231] In an optional embodiment of the present invention, the initialization module 502 includes:

[0232] A base - station re - configuration sub - module, configured to clear the current RRC connection configuration parameters of the base station and perform RRC re - configuration according to the base - station configuration parameters that match the first configuration parameters;

[0233] A radio - link re - establishment sub - module, configured to delete the current radio link of the terminal and re - establish a radio link for the terminal;

[0234] A PDCP suspension processing sub - module, configured to perform a suspension process on the PDCP layer of the base station and send a PDCP suspension trigger message to the terminal through the re - established radio link to trigger the terminal to perform a suspension process on the PDCP entity;

[0235] A first key configuration sub - module, configured to configure keys for integrity protection and encryption for the suspended PDCP layer;

[0236] An RRC re - establishment request response message sending sub - module, configured to send an RRC re - establishment request response message to the terminal. The RRC re - establishment request response message carries security parameters and the key, so that the terminal performs integrity protection verification according to the security parameters and the key.

[0237] In an optional embodiment of the present invention, the device further includes:

[0238] A PDCP configuration recovery module, configured to recover the configuration of the PDCP layer of the base station when receiving an RRC re - establishment completion message and a first RRC re - configuration completion message. The RRC re - establishment completion message is sent by the terminal when the integrity protection verification is successful, and the first RRC re - configuration completion message is sent by the terminal when the RRC re - configuration is completed according to the first configuration parameters.

[0239] In an optional embodiment of the present invention, the device further includes:

[0240] A first RRC reconfiguration message sending module, configured to send a second RRC reconfiguration message to the terminal if the current state of the base station is a steady state, where the second RRC reconfiguration message carries second configuration parameters of the terminal, so that the terminal performs RRC reconfiguration according to the second reconfiguration parameters, and returns a second RRC reconfiguration completion message after the configuration is completed.

[0241] In an alternative embodiment of the present invention, the current state of the base station is a non-steady state, including that in the last RRC re-establishment process between the base station and the terminal, after the terminal completes reconfiguration, the base station does not receive the reconfiguration completion message returned by the terminal.

[0242] In an alternative embodiment of the present invention, the apparatus further includes:

[0243] A re-establishment condition judgment module, configured to judge whether the terminal meets the RRC re-establishment condition;

[0244] The state detection module 501 includes:

[0245] A state detection sub-module, configured to detect the current state of the base station when it is determined that the terminal meets the RRC re-establishment condition.

[0246] In an alternative embodiment of the present invention, the RRC re-establishment request carries the original cell identifier and the target cell identifier, and the re-establishment condition judgment module includes:

[0247] A cell identifier comparison sub-module, configured to compare the original cell identifier with the target cell identifier;

[0248] A steady-state context determination sub-module, configured to determine whether there is a steady-state context of the terminal in the target cell according to the target cell identifier if the original cell identifier and the target cell identifier are the same;

[0249] A security verification sub-module, configured to perform security verification on the terminal when there is a steady-state context of the terminal in the target cell;

[0250] A re-establishment condition determination sub-module, configured to determine that the terminal meets the RRC re-establishment condition if the terminal passes the security verification.

[0251] In an alternative embodiment of the present invention, the apparatus further includes:

[0252] An RRC re-establishment rejection message sending module, configured to send an RRC re-establishment rejection message to the terminal if it is determined that the terminal does not meet the RRC re-establishment condition, so that the terminal re-initiates an RRC re-establishment request.

[0253] Reference Figure 7 , which shows the structural diagram of another RRC connection re - establishment device provided in the third embodiment of the present invention. This device is applied to a terminal and specifically includes:

[0254] An RRC re - establishment request sending module 601, configured to send an RRC re - establishment request to a base station;

[0255] A first RRC re - configuration message receiving module 602, configured to receive a first RRC re - configuration message sent by the base station. The first RRC re - configuration message is sent by the base station when its current state is non - steady state, and the first RRC re - configuration message carries first configuration parameters and a full configuration identifier;

[0256] A first re - configuration module 603, configured to clear the current RRC connection configuration parameters of the terminal and perform RRC re - configuration according to the first configuration parameters.

[0257] In another optional embodiment of the present invention, the device further includes:

[0258] A PDCP suspension trigger message receiving module, configured to receive a PDCP suspension trigger message sent by the base station;

[0259] A PDCP suspension processing module, configured to perform a suspension process on its PDCP entity in response to the PDCP suspension trigger message.

[0260] In another optional embodiment of the present invention, the device further includes:

[0261] A first RRC re - configuration completion message sending module, configured to send a first RRC re - configuration completion message to the base station and restore the configuration of the PDCP entity when it is determined that the RRC re - configuration is completed.

[0262] In another optional embodiment of the present invention, the device further includes:

[0263] An RRC re - establishment request response message receiving module, configured to receive an RRC re - establishment request response message sent by the base station. The RRC re - establishment request response message carries security parameters and keys for configured integrity protection and encryption;

[0264] An integrity protection verification module, configured to perform integrity protection verification according to the security parameters and the keys;

[0265] An RRC re - establishment completion message sending module, configured to send an RRC re - establishment completion message to the base station when it is determined that the integrity protection verification is successful.

[0266] In another alternative embodiment of the present invention, the device further comprises:

[0267] A second RRC reconfiguration message receiving module, configured to receive a second RRC reconfiguration message sent by a base station, where the second RRC reconfiguration message is sent by the base station when its current state is a steady state, and the second RRC reconfiguration message carries second configuration parameters of the terminal;

[0268] A second reconfiguration module, configured to perform RRC reconfiguration according to the second configuration parameters;

[0269] A second reconfiguration completion message sending module, configured to return a second RRC reconfiguration completion message to the base station when the RRC reconfiguration is completed.

[0270] In another alternative embodiment of the present invention, the current state of the base station is a non-steady state, including that during the last RRC re-establishment process between the base station and the terminal, after the terminal completes reconfiguration, the base station does not receive a reconfiguration completion message returned by the terminal.

[0271] In another alternative embodiment of the present invention, the RRC re-establishment request carries the original cell identifier and the target cell identifier of the terminal, so that the base station determines whether the terminal meets the RRC re-establishment condition according to the original cell identifier and the target cell identifier.

[0272] In another alternative embodiment of the present invention, the device further comprises:

[0273] An RRC re-establishment request re-sending module, configured to re-send an RRC re-establishment request to the base station if an RRC re-establishment rejection message is received, where the RRC re-establishment rejection message is sent by the base station when it determines that the terminal does not meet the RRC re-establishment condition.

[0274] It should be noted that the division of modules and units in the embodiments of the present invention is illustrative, merely a logical function division. In actual implementation, there may be other division methods. In addition, in each embodiment of the present invention, each functional module and each functional unit may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit. The above integrated units may be implemented in the form of hardware or in the form of software functional units.

[0275] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs that can store program codes.

[0276] It should be noted here that the above-mentioned device provided in the embodiments of the present invention can implement all the method steps implemented in the above-mentioned method embodiments and can achieve the same technical effects. Therefore, the parts and beneficial effects that are the same as those in the method embodiments will not be specifically described in this embodiment.

[0277] The embodiments of the present invention also provide a processor-readable storage medium. The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the aforementioned method.

[0278] The processor-readable storage medium can be any available medium or data storage device accessible by the processor, including but not limited to magnetic memories (such as floppy disks, hard disks, magnetic tapes, magneto-optical discs (MOs), etc.), optical memories (such as CDs, DVDs, BDs, HVDs, etc.), and semiconductor memories (such as ROMs, EPROMs, EEPROMs, non-volatile memories (NANDFLASH), solid-state drives (SSDs), etc.).

[0279] The terminal device (or terminal) involved in the embodiments of the present application can be a device that provides voice and / or data connectivity to users, such as a handheld device with wireless connection capabilities, or other processing devices connected to a wireless modem, etc. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device can be called a User Equipment (UE). The wireless terminal device can communicate with one or more core networks (CNs) via a Radio Access Network (RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it can be a portable, pocket-sized, handheld, computer-integrated, or vehicle-mounted mobile device that exchanges voice and / or data with the wireless access network. For example, devices such as Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA), etc. The wireless terminal device can also be called a system, subscriber unit, subscriber station, mobile station, mobile, remote station, access point, remote terminal, access terminal, user terminal, user agent, user device, which is not limited in the embodiments of the present application.

[0280] The base stations involved in the embodiments of the present invention may include multiple cells that provide services to terminals. Depending on specific application scenarios, a base station may also be referred to as an access point, or may be a device in an access network that communicates with wireless terminal devices through one or more sectors over the air interface, or have other names. A base station can be used to mutually replace received airframes and Internet Protocol (IP) packets, acting as a router between a wireless terminal device and the rest of the access network, where the rest of the access network may include an IP communication network. A base station can also coordinate the management of the attributes of the air interface. For example, the base station involved in the embodiments of this application may be a Base Transceiver Station (BTS) in a Global System for Mobile communications (GSM) or Code Division Multiple Access (CDMA), or a Node B in a Wide-band Code Division Multiple Access (WCDMA), or an evolved Node B (eNB or e-NodeB) in a Long Term Evolution (LTE) system, a gNB in a 5G network architecture (next generation system), or a Home evolved Node B (HeNB), a relay node, a femto, a pico, etc. The embodiments of the present invention do not limit this. In some network architectures, a base station may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be geographically separated.

[0281] The base station and the terminal device may each use one or more antennas for Multi-Input Multi-Output (MIMO) transmission. The MIMO transmission may be Single User MIMO (SU-MIMO) or Multiple User MIMO (MU-MIMO). Depending on the form and number of the combined antennas, the MIMO transmission may be 2D-MIMO, 3D-MIMO, FD-MIMO, or massive-MIMO, or may also be diversity transmission, precoding transmission, beamforming transmission, etc.

[0282] Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0283] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, and the combination of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0284] These processor-executable instructions can also be loaded onto a computer or other programmable data processing devices, so that a series of operation steps are executed on the computer or other programmable devices to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable devices provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0285] It should be noted that in this article, the terms "include", "comprise", or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article, or device. Without more limitations, the element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article, or device including the element.

[0286] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose of the present invention and the scope protected by the claims, and all of them belong to the protection scope of the present invention.

Claims

1. A method for re - establishing an RRC connection, characterized in that, Applied to a base station, the method includes: When receiving an RRC reestablishment request sent by a terminal, detecting the current state of the base station; If the current state of the base station is non-steady state, initializing RRC reestablishment for the base station; When the RRC reestablishment initialization is completed, sending a first RRC reconfiguration message to the terminal, where the first RRC reconfiguration message carries first configuration parameters and a full configuration identifier, and the full configuration identifier is used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters; Clearing the current RRC connection configuration parameters of the base station and performing RRC reconfiguration according to the base station configuration parameters matching the first configuration parameters; Deleting the current radio link of the terminal and reestablishing a radio link for the terminal; Suspending the PDCP layer of the base station and sending a PDCP suspension trigger message to the terminal through the reestablished radio link to trigger the terminal to perform suspension processing on the terminal-side PDCP entity; Configuring keys for integrity protection and encryption for the suspended PDCP layer; Sending an RRC reestablishment request response message to the terminal, where the RRC reestablishment request response message carries security parameters and the key, so that the terminal performs integrity protection verification according to the security parameters and the key; Wherein, before detecting the current state of the base station, the method further includes: Judging whether the terminal meets the RRC reestablishment condition; The detecting the current state of the base station includes: When it is determined that the terminal meets the RRC reestablishment condition, detecting the current state of the base station.

2. The method according to claim 1, wherein After sending the first RRC reconfiguration message to the terminal, the method further includes: When receiving an RRC reestablishment completion message and a first RRC reconfiguration completion message, restoring the configuration of the PDCP layer of the base station, where the RRC reestablishment completion message is sent by the terminal when the integrity protection verification is successful, and the first RRC reconfiguration completion message is sent by the terminal when the RRC reconfiguration is completed according to the first configuration parameters.

3. The method according to claim 1, wherein The current state of the base station being non-steady state includes that in the last RRC reestablishment process between the base station and the terminal, after the terminal completes reconfiguration, the base station does not receive the reconfiguration completion message returned by the terminal.

4. The method according to claim 1, wherein The judging whether the terminal meets the RRC reestablishment condition includes: The RRC reestablishment request carries an original cell identifier and a target cell identifier, comparing the original cell identifier with the target cell identifier; if the original cell identifier and the target cell identifier are the same, determining whether there is a steady-state context of the terminal in the target cell according to the target cell identifier; When there is a steady-state context of the terminal in the target cell, performing a security check on the terminal; If the terminal passes the security check, determining that the terminal meets the RRC reestablishment condition.

5. An RRC connection re-establishment device, characterized in that, Applied to a base station, the device includes a memory, a transceiver, and a processor: The memory is used to store computer programs; A transceiver for transmitting and receiving data under the control of the processor; A processor for reading the computer program in the memory and executing the method according to any one of claims 1 to 4.

6. A device for re - establishing an RRC connection, characterized in that, Applied to a base station, the device includes: A status detection module for detecting the current status of the base station when receiving an RRC reestablishment request sent by a terminal; An initialization module for performing RRC reestablishment initialization on the base station if the current status of the base station is non-steady state; A first RRC reconfiguration message sending module for sending a first RRC reconfiguration message to the terminal when the RRC reestablishment initialization is completed, the first RRC reconfiguration message carrying first configuration parameters and a full configuration identifier, the full configuration identifier being used to instruct the terminal to clear the current RRC connection configuration parameters and perform RRC reconfiguration according to the first configuration parameters; Wherein, the initialization module includes: A base station reconfiguration sub-module for clearing the current RRC connection configuration parameters of the base station and performing RRC reconfiguration according to the base station configuration parameters matching the first configuration parameters; A radio link reestablishment sub-module for deleting the current radio link of the terminal and reestablishing a radio link for the terminal; A PDCP suspension processing sub-module for performing suspension processing on the PDCP layer of the base station and sending a PDCP suspension trigger message to the terminal through the reestablished radio link to trigger the terminal to perform suspension processing on the PDCP entity; A first key configuration sub-module for configuring keys for integrity protection and encryption of the suspended PDCP layer; An RRC reestablishment request response message sending sub-module for sending an RRC reestablishment request response message to the terminal, the RRC reestablishment request response message carrying security parameters and the key, so that the terminal performs integrity protection verification according to the security parameters and the key; Wherein, the device further includes: A reestablishment condition judgment module for judging whether the terminal meets the RRC reestablishment condition; The status detection module includes: A status detection sub-module for detecting the current status of the base station when it is determined that the terminal meets the RRC reestablishment condition.

7. A processor-readable storage medium, characterized in that, The processor-readable storage medium stores a computer program, and the computer program is used to cause the processor to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • RRC (radio resource control) connection reestablishment method, device and system

    CN102340886A

  • Processing method of RRC measurement reconfiguration, UE, eNB and system

    CN105376769A