Method and device for updating safety context in user equipment and user equipment
A technology of user equipment and context, applied in the field of communication, can solve problems such as increasing the number of card writes, invalid security context, and shortening the service life of the card
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] Embodiment 1 of the present invention provides a method for updating a security context in a user equipment UE. The UE is provided with a storage unit for storing the security context, where, optionally, the storage unit may be a subscriber identity module, such as a USIM card. Such as figure 1 As shown, the method includes the following steps:
[0051] S101. Send a network attach message to the network, and perform at least one of integrity protection and encryption on the message using a valid security context in a storage unit during the network attach process.
[0052] For example, when the UE receives an instruction to turn on the device initiated by the user, it starts the process of turning on the device. The network is a wireless communication network, which may include GSM (Global System For Mobile Communications, Global System for Mobile Communications), UMTS (Universal At least one of Mobile Telecommunications System, Universal Mobile Communications System)...
Embodiment 2
[0078] In order for those skilled in the art to better understand the technical solution of the method for updating the security context provided by the embodiment of the present invention, in the second embodiment of the present invention, the storage unit is specifically a USIM card and the UE is powered on to access the network as an example. The method for updating the security context in the UE provided by the invention is described in detail.
[0079] Such as figure 2 As shown, the UE includes NAS, RRC, and USIM. In this embodiment of the present invention, the security context may specifically be an EPS security context. Thus, the method for updating the security context includes the following steps:
[0080] In step 201, the NAS receives a user-initiated instruction to activate the UE.
[0081] In step 202, after the NAS receives the instruction to activate the UE, the NAS initiates a network attachment process if the network attachment condition is met.
[0082] ...
Embodiment 3
[0093] Corresponding to Embodiment 1, Embodiment 3 of the present invention provides an apparatus 40 for updating a security context in a UE, wherein the UE is provided with a storage unit for storing the security context. Such as image 3 As shown, the device includes:
[0094] The sending unit 401 is configured to send a network attachment message to the network, and use the effective security context in the storage unit to perform at least one of integrity protection and encryption on the message during the network attachment process;
[0095] An identifying unit 402, configured to identify the security context as invalid information;
[0096] A prohibiting unit 403, configured to prohibit updating the security context identified as invalid information in the storage unit;
[0097] The writing unit 404 is configured to write the currently valid security context into the storage unit to update the security context identified as invalid information when receiving an instruc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 