Method and apparatus for multiple registration
By generating key identifiers and key counts between the user device and the wireless network, the user device can establish security contexts with multiple wireless networks without repeating initial authentication, solving the time-consuming registration process in the prior art. issues, improving registration efficiency and security.
Patent Information
- Application Number
- CN202410441226.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2019-01-11
- Filing Date
- 2019-01-12
- Publication Date
- 2024-09-03
AI Technical Summary
Existing wireless communication systems need to frequently perform full authentication when a user device registers with multiple wireless networks, resulting in a time-consuming registration process and inability to effectively establish and maintain security contexts of multiple wireless networks.
The user device generates a key identifier based on the first key and the network identifier of the second network and forwards it to the second network so that the first network can identify the first key, thereby creating a connection between the user device and the second network. Establish a security context between them to avoid repeated initial authentication processes.
This enables the user device to establish and maintain security contexts with multiple wireless networks without repeating preliminary authentication, improves registration efficiency and security, and reduces authentication time.
Smart Images

Figure CN118590984A_ABST
Abstract
Description
[0001] This application is a divisional application of the invention patent application with the application date of January 12, 2019, application number 201980011163.0, and invention name “Method and device for multiple registrations”.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS
[0003] This application claims priority to and the benefit of Non-Provisional Patent Application No. 16 / 246,349 filed with the U.S. Patent Office on January 11, 2019, and Provisional Patent Application No. 62 / 617,065 filed with the U.S. Patent Office on January 12, 2018, the entire contents of which are incorporated herein by reference as if fully set forth below and for all applicable purposes. Technical Field
[0004] The present disclosure generally relates to establishing a security context between a user device and a wireless network infrastructure. Background Art
[0005] Wireless communication systems are widely deployed to provide various types of communication content, such as voice, video, data, etc. Typical wireless communication systems may be multiple access systems capable of supporting communication with multiple users by sharing available system resources (e.g., bandwidth, transmission power, etc.). In general, wireless multiple access communication systems may support communication for multiple devices simultaneously. Each served device may communicate with one or more radio access stations.
[0006] Prior to accessing a wireless communication network, a device (also referred to as a subscriber device, user device, mobile device, etc.) may be authenticated. In many wireless communication networks, authentication may be performed using certificates provided by a network operator and / or service provider. Therefore, systems and methods for authenticating a device to a wireless communication network by exchanging one or more certificates may be beneficial.
[0007] A user equipment (UE) can register with two or more different types of wireless networks. The user equipment establishes and maintains a security context with each wireless network. However, it is time-consuming to perform a full authentication of the UE each time the UE registers with a new serving network.
[0008] Therefore, there exists a need for techniques to efficiently establish and maintain security contexts between a user device and more than one wireless network. Summary of the invention
[0009] One aspect of the present disclosure may be a method for establishing a security context between a user device / station having a security context with a first network based on a first key and a second network, comprising: generating a key identifier by the user device based on the first key and a network identifier of the second network; forwarding the key identifier to the second network by the user device for forwarding by the second network to the first network so that the first network can identify the first key at the first network; receiving a key count by the user device from the second network, wherein the key count is associated with a second key forwarded from the first network to the second network; and generating the second key by the user device based on the first key and the received key count, thereby establishing a security context between the second network and the user device.
[0010] In a more detailed aspect, when the user device registers with the third network, the user device may establish a first key with the first network. The first key may be established between the user device and the first network as part of performing an authentication and key agreement protocol with the first network. The user device may be a mobile device, the first network may be a first public land mobile network, and the second network may be a second public land mobile network. Moreover, the second network may include a wireless local area network (WLAN) access network or a fixed broadband access network. The third network may include a 3GPP radio access network, such as a 5G radio access network (RAN) or a long term evolution (LTE) RAN.
[0011] In other more detailed aspects, the method may further include: using the second key by the user device to generate at least one of an encryption key or an integrity key for protecting communications between the user device and the second network. Moreover, generating a key identifier may be further based on at least a portion of a user device identifier and / or a function call value.
[0012] Another aspect may be a user device for establishing a security context with a second network, comprising: a component for generating a key identifier based on a first key and a network identifier of the second network, wherein the security context between the first network and the user device is based on the first key; a component for forwarding the key identifier to the second network, for forwarding by the second network to the first network, so that the first network can identify the first key at the first network; a component for receiving a key count from the second network, wherein the key count is associated with a second key forwarded from the first network to the second network; and a component for generating the second key based on the first key and the received key count, thereby establishing a security context between the second network and the user device.
[0013] Another aspect may be a user device for establishing a security context with a second network, the user device comprising: a processor configured to: generate a key identifier based on a first key and a network identifier of the second network, wherein the security context between the first network and the user device is based on the first key; forward the key identifier to the second network for forwarding by the second network to the first network so that the first network can identify the first key at the first network; receive a key count from the second network, wherein the key count is associated with a second key forwarded from the first network to the second network; and generate the second key based on the first key and the received key count, thereby establishing a security context between the second network and the user device.
[0014] Another aspect may be a computer-readable medium comprising: code for causing a computer to generate a key identifier based on a first key and a network identifier of a second network, wherein a security context between the first network and a user device is based on the first key; code for causing the computer to forward the key identifier to the second network, for forwarding by the second network to the first network, so that the first network can identify the first key at the first network; code for causing the computer to receive a key count from the second network, wherein the key count is associated with a second key forwarded from the first network to the second network; and code for causing the computer to generate the second key based on the first key and the received key count, thereby establishing a security context between the computers.
[0015] Another aspect may be a method comprising: receiving, by a first network, a key identifier, wherein the key identifier is based on a first key and a network identifier of a second network; identifying, by the first network, the first key based on the key identifier and the network identifier of the second network; generating, by the first network, a second key based on the first key and a key count; and forwarding, by the first network, the second key and the key count to the second network for establishing a security context between the second network and a user device.
[0016] Another aspect may be a first network comprising: means for receiving a key identifier, wherein the key identifier is based on a first key and a network identifier of a second network; means for identifying the first key based on the key identifier and the network identifier of the second network; means for generating a second key based on the first key and a key count; and means for forwarding the second key and the key count to the second network for establishing a security context between the second network and a user device.
[0017] Another aspect may be a first network, comprising: a processor configured to: receive a key identifier, wherein the key identifier is based on a first key and a network identifier of a second network; identify the first key based on the key identifier and the network identifier of the second network; generate a second key based on the first key and a key count; and forward the second key and the key count to the second network for establishing a security context between the second network and a user device.
[0018] Another aspect may reside in a computer-readable medium comprising: code for causing a computer to receive a key identifier, wherein the key identifier is based on a first key and a network identifier of a second network; code for causing the computer to identify the first key based on the key identifier and the network identifier of the second network; code for causing the computer to generate a second key based on the first key and a key count; and code for causing the computer to forward the second key and the key count to the second network for establishing a security context between the second network and a user device.
[0019] On the one hand, there may be a method for establishing a security context between a user device having a security context with a first network based on a first key and a second network, comprising: generating a key identifier by the user device based on the first key and at least a portion of a user device identifier; forwarding the key identifier to the second network by the user device for forwarding by the second network to the first network so that the first network can identify the first key at the first network; receiving a key count by the user device from the second network, wherein the key count is associated with a second key forwarded from the first network to the second network; and generating the second key by the user device based on the first key and the received key count, thereby establishing a security context between the second network and the user device. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a block diagram illustrating an exemplary wireless network system in which a user device can perform multiple network registrations with multiple serving networks while avoiding preliminary authentication.
[0021] Figure 2A and Figure 2B A flow diagram of an exemplary authentication and registration process for establishing a security context for a user device communicating over one or more networks is illustrated according to one feature.
[0022] Figure 3 is a diagram illustrating an exemplary key hierarchy for a 5G communication system.
[0023] Figure 4 is a block diagram of an exemplary user device configured to perform multiple registrations and establish multiple security contexts.
[0024] Figure 5 is a flow chart of a method for establishing a security context between a user device and a second network according to an exemplary feature.
[0025] Figure 6 is a flow chart of another exemplary method operable on a user device for facilitating efficient security context generation by identifying a first key and providing a key count for establishing another security context according to one aspect.
[0026] Figure 7 is a block diagram of an exemplary network node / device configured to provide services to one or more user devices.
[0027] Figure 8 is a flow chart of an exemplary method operable on a home network device for facilitating efficient security context generation by identifying a first key and providing a key count for establishing another security context according to one aspect.
[0028] Fig. 9 An exemplary network architecture 900 for a next generation wireless network infrastructure is illustrated. DETAILED DESCRIPTION
[0029] In the following description, specific details are given to provide a thorough understanding of the embodiments. However, it will be understood by those skilled in the art that the embodiments may be practiced without these specific details. For example, circuits may be shown in block diagrams so as not to obscure the embodiments with unnecessary details. In other examples, well-known circuits, structures, and techniques may not be shown in detail so as not to confuse the embodiments. The word "exemplary" is used herein to mean "serving as an example, instance, or illustration". Any embodiment described herein as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments.
[0030] Figure 11 is a block diagram illustrating an exemplary wireless network system in which a user device can perform multiple network registrations with multiple service networks while avoiding preliminary authentication. In the wireless network system 100, a user device 102 (e.g., a subscriber device, a mobile phone, a wearable device, a communication device incorporated into a vehicle, a user device, etc.) can communicate with a home network 106 over a first radio access network A (RAN) 104 through a first service provider A (e.g., a first service network) 108, which is used to authenticate the user device 102 and agree on one or more keys with the user device 102. As part of the key agreement (AKA) process between the home network 106 and the user device 102, first keys K1 112a and 112b known to the home network 106 and the user device 102 are generated. The first key K1 (or another key derived from K1) is then used to generate a first security context A 114, which is used to protect communications to / from the user device 102 and / or generate additional keys at the user device 102. The first security context A114 may be generated at both the user device 102 and the first service provider A108.
[0031] Subsequently, if the user device 102 may seek to communicate on the second service provider B 110 (e.g., the second service network) via the second radio access network B 105. Therefore, it may attempt to register with the second service provider 110 to establish a security context with the second service provider B (e.g., the second service network) 110. Instead of performing another AKA process with the home network 106 (which is time consuming), the first key K1 may be reused to establish a second security context B 116 with the second network B 110. The second security context B 116 may be generated at both the user device 102 and the second service provider B 110.
[0032] Note that although both RANs 104 and 105 are Figure 1 108 and B 110 (ie, a serving network), but it is contemplated that in other implementations, both service providers A 108 and / or B 110 may be coupled to a single radio access network.
[0033] Figure 2A and Figure 2BA flow chart of an exemplary authentication and registration process 200 is illustrated, which is used to reuse security keys to establish another security context for a user device 210 communicating on one or more networks. In one example, the user device 210 may initially obtain service via a third (service) network 215. In order to communicate through the third network 215, when the user device 210 registers with the third network 215 (e.g., a radio access network), the user device 210 may establish a first key K1 with a home network 230. In various examples, the user device 210 may be a mobile station, a subscriber device, a wearable device, a communication device incorporated in a vehicle, a client device, a mobile device, a wireless device, etc. The home network 230 may be a public land mobile network (PLMN) and may include a 3GPP radio access network, such as a 5G RAN or an LTE RAN. In some instances, the home network (e.g., also referred to as an authentication network, an authorized network, etc.). Similarly, the third network 215 may be a first public land mobile network and may include a wireless local access network (WLAN) and / or a fixed broadband access network.
[0034] As part of performing an authentication and key agreement (AKA) protocol 202 between the user device 210 and the home network 230, the home network 230 may authenticate the user device 210 (e.g., based on a unique device identifier), and may establish at least one key at the home network 230 and the user device 210. For example, upon successful authentication of the user device, a first key K1 may be established 204 at the user device 210 and the home network 230. The first key K1 may be generated based on, for example, information exchanged in AKA 202, a secret user device key, a unique user device identifier, etc. The first key K1 may be used to generate a third key K3 (e.g., an anchor key) 206b at the home network 230. The third key K3 may be sent 208 by the home network 230 to the third network 215. Note that the first key K1 may be known only to the user device 210 and the first (home) network 230, but not to the third network 215. The third network 215 may then establish a third key K3 (e.g., anchor key K1) based on the third key K3 (e.g., anchor key K1). SEAF ) generates and / or establishes a first security context 212b for the user device 210. It is contemplated that various methods may be used to establish the first key K1, which may also be associated with a unique user device identifier (UID) at the home network 230. Additionally, it is contemplated that various methods may be used to generate or establish the third key K3, wherein the user device 210 may be aware of the methods (e.g., key derivation functions) used by the home network 230 and the third network 215.
[0035] Similarly, upon receiving a successful authentication message / indication from the home network 230, the user device may establish a local instance of the first key K1 204a (e.g., using the same key derivation function as the home network 230), and may then generate a local instance of the third key K3 206a (e.g., using the same key derivation function as the third network 215). The user device may then use its local version of the third key K3 to establish a security context 212a with the third network 215.
[0036] Note that since the third key K3 is derived based on the first key K1, it can also be said that the security contexts 212a and 212b are established based on the first key K1.
[0037] At a subsequent time, the user device 210 may use the second (serving) network 220 for communication. That is, the user device 210 may switch to use the second network 220, or it may use the second network 220 concurrently with the third network 215. The second network 220 may be a second public land mobile network, and may include a wireless local access network (WLAN) or a fixed broadband access network.
[0038] Instead of performing the AKA protocol again through the second network 220, the user device 210 may reuse the first key K1 to establish a second security context with the second network 220. The user device 210 may use a key derivation function (KDF) to generate a key identifier KeyID 235 based on the first key K1, a second network identifier or network name SN-B of the second network 220, and / or a unique user device identifier (UID). In this way, the first key K1 may be used as a basis for establishing multiple security contexts (e.g., the first security context 212 and the second security context 272) with at least two different service networks.
[0039] The user device 210 may forward the key identifier KeyID to the second network 220 as part of the registration request 240. The second network 220 may then send an authentication request 245 including the second network identifier / name SN-B and the unique user device identifier UID to the home network 230. The home network 230 may then identify the user device 210 based on the first key K1. That is, the unique user device identifier UID, the home network 230 is able to ascertain the first key K1. The home network 230 is thus able to authenticate the user device 210 without having to perform the AKA protocol again.
[0040] The home network 230 may generate a second key K2 255 based on the first key K1 and the key count COUNT. The home network 230 may then forward 260 the second key K2 to the second network 220 (e.g., as part of an authentication response that also includes a unique user device identifier UID and a key count COUNT). In turn, the second network 220 may send 265 the key count COUNT to the user device 210 (e.g., as part of a security mode command). After having received the second key K2, the second network 220 may then be able to generate / establish a second security context 272b with the user device 210 based on the second key K2. Likewise, the user device 210 may also generate a local instance of the second key K2 270 based on the first key K1 and the received key count COUNT. The user device 210 may then use its local instance of the second key K2 to establish a second security context 272a with the second network 220.
[0041] Figure 3 300 is a diagram illustrating an exemplary key hierarchy for a 5G communication system. The exemplary key hierarchy 300 can be used to generate various keys to establish and protect communications between a user device (UE) 302 and a network 304. A long-term private key (K) 306 can be provided in a universal subscriber identity module (USIM) for the user device 302. The user device 302 and the network 304 can generate a cipher key (CK) and an integrity key (IK) 308 based on the private key K 306.
[0042] During the authentication and key agreement (AKA) process, the first authentication key K AUSF 310 is derived by the user device and the network (e.g., the authentication credentials repository and processing function or ARPF) from the encryption key CK and the integrity key IK 308. If a 3GPP key K is used for authentication over a radio access technology supporting the Extensible Authentication Protocol EAP, the first authentication key K is derived according to the EAP AKA' specification AUSF 310'.
[0043] After a successful initial authentication between the user device 302 and the network 304, the first authentication key K AUSF 310 derive the serving network specific anchor key (K SEAF )312
[0044] From the anchor key K SEAF In 312, confidentiality and integrity protection keys are derived for NAS signaling, and the access stratum (AS) consisting of the control plane (CP) (i.e., radio resource control (RRC) messages) and the user plane (UP). For example, the anchor key K SEAF312 can be used by the user device and the security anchor function (SEAF) to derive the access and mobility keys K AMF 314. The access and mobility function (AMF) may use the access and mobility key K for non-access stratum (NAS) signalling protection AMF Generate confidentiality integrity key K NASint 316 and the secret encryption key K NASenc 318. The security context may include a confidentiality integrity key K NASint 316 and the secret encryption key K NASenc 318.
[0045] The user device 312 and the AMF can also obtain the access and mobility key K AMF 314 Generate node key K gNB 320. AS integrity and confidentiality key, UP (K UPint and K UPenc ) and RRC(K RRCin t and K RRCenc ), can be obtained from the node key K gNB An intermediate key NH may also be derived to provide forward secrecy during handover.
[0046] Referring again to FIG. 2 , the first key K1 may be equivalent to Figure 3 The first authentication key K in the key hierarchy 300 AUSF 310 or 310'. Then the first anchor key K1 can be generated from the first key K1 SEAF For example, referring to FIG. 2 , after establishing the first key K1 204a and 204b (e.g., at the user device 210 and the AUSF of the home network 230), the user device 210 and the AUSF (at the home network 230) may exchange the first key K1 (e.g., Figure 3 The first authentication key K AUSF 310 or 310'), to generate the first anchor key K1 SEAF Then, the AUSF at the home network 230 may use the first anchor key K1 SEAF Send to the third network 215.
[0047] Subsequently, if / when the user device 210 performs a second registration with the second network, rather than performing another preliminary authentication (which is time consuming), the first key K1 (eg, the authentication key K AUSF 310 or 310') to authenticate the user device and generate a second anchor key K2 SEAF Therefore, subsequent registrations of the user device to other service networks can utilize the first key K1 (eg, the authentication key K AUSF2, after identifying the user device using the first key K1 250, the AUSF of the home network 230 generates a second key K2 255 (e.g., the second anchor key K2 SEAF Then, the second key K2 (eg, the second anchor key K2 SEAF ) is sent 260 by the AUSF of the home network 230 to the second network 220. In addition, after receiving the key count COUNT 265, the user device 210 also generates a local version 270 of the second key K2. Then, both the user device 210 and the second network 220 can generate a local version 270 of the second key K2 based on the second key K2 (e.g., the second anchor key K2 SEAF ) establishes a second security context 272a and 272b.
[0048] Figure 4 4 is a block diagram of an exemplary user device configured to perform multiple registrations and establish multiple security contexts. User device 400 may include processing circuitry 410 coupled to storage device / media 420 (e.g., memory and / or disk drive), display 430, input device 440 (e.g., keypad, microphone, etc.), and / or communication interface / circuitry 445 coupled to one or more wireless antennas 450.
[0049] In a typical device registration, a user device may register in a first service network via a certain access type (e.g., 3GPP) and may register with a second service network via another access type (e.g., non-3GPP). In this case, the user device may independently maintain and use two different (5G) security contexts, one for each service network (i.e., one for each PLMN network).
[0050] When the user device has been registered via the first service network, instead of performing a separate preliminary authentication (e.g., 5G AKA or EAP-AKA') with the second service network, the user device 400 may be configured to reuse the first key previously established with the first service network to bypass / avoid performing preliminary authentication again with the second service network. During the preliminary authentication with the first service network, a first key K1 has been generated and stored at the authentication server function (AUSF) of the home network for the user device 400. For example, the first key K1 may be referred to as the first authentication key K1. AUSF ( Figure 3 310 or 310' in FIG. 310). The first key K1 may be used to create a security context at the second service network without having to perform another preliminary authentication via the second service network.
[0051] The first authentication key K can be obtained by incorporating the serving network identifier / name SN-B of the second serving network and using it for the following operations: AUSF The key identifier KeyID is derived to: a) negotiate the use of an optional feature between the user device 400 and the home network (i.e., reuse of the first key K1 to avoid performing a separate preliminary authentication), and b) identify the context at the AUSF of the home network to establish a security context. More specifically, if the user device 400 has previously registered in a first service network and wants to register with a different second service network and has the first authentication key K1 stored therein available, then the user device 400 may register with the home network to obtain the first authentication key KeyID. AUSF , then it can be obtained from the first authentication key K AUSF A key identifier KeyID_AUSF is derived and may be included in the registration request (240 in FIG. 2). The user device 400 may include the serving network identifier / name of the serving network (PLMN) in the key identifier KeyID_AUSF derivation.
[0052] In one example, the KeyID (or KeyID_AUSF) may be derived as follows:
[0053] KeyID_AUSF = KDF (K_AUSF, SN-ID, FC value derived from KeyID),
[0054] Wherein KeyID_AUSF can be identified by the fixed (e.g., 32) least significant bits of the output of a key derivation function (KDF), such as SHA-256 (which can have a 256-bit output). The length of K_AUSF can be 256 bits. The serving network identifier / name SN-ID can be a serving network identifier / name (e.g., a second network identifier SN-B) and can be equal to the concatenation of a service code set to "5G" and a visiting PLMN (VPLMN ID) according to the construction standard of the serving network identifier / name.
[0055] The user device 400 may forward the KeyID_AUSF and the user device identifier (UID) in a registration request to an access and mobility management function (AMF) (240 in FIG. 2 ). In various examples, the UID may be a subscription hidden identifier (SUCI) or a subscription permanent identifier (SUPI). Upon receiving the registration request with the KeyID_AUSF, a security anchor function (SEAF), which may be located in the AMF, may include the KeyID_AUSF in an authentication initiation request (5G-AIR) message sent to the AUSF (245 in FIG. 2 ).
[0056] In an alternative embodiment, a user device identifier (UID) or a portion of the UID (e.g., the 32 least significant bits of the UID) may be included as an input to the KDF to derive the KeyID in place of the network identifier / name SN-ID. For example, the KeyID may be derived as KeyID_AUSF=KDF(K_AUSF, UID, FC value for KeyID derivation), where the UID is included in its entirety or any portion thereof (e.g., the 32 least significant bits of the UID). When the UID is a privacy-preserving subscription identifier such as a SUCI, the inclusion of at least a portion of the UID ensures that the generated key identifier preserves the privacy of the subscriber identifier. In yet another embodiment, the UID or a portion of the UID may be included as an input to the KDF in addition to the SN-ID.
[0057] Once the authentication initiation request message (245 in FIG. 2 ) is received, if the AUSF (for the home network) has stored K_AUSF (i.e., the first authentication key KAUSF), it may decide to reuse it. If it is decided to reuse it, the AUSF may derive KeyID_AUSF in the same manner as the user device 400 and verify whether the KeyID_AUSF derived by the AUSF matches the received value. If they match, the AUSF may skip the authentication and may derive K_SEAF (i.e., the second key K2 in FIG. 2 ) from K_AUSF (e.g., the first key K1 in FIG. 2 ) and the counter AUSF_KDF_COUNT. A key derivation function KDF such as SHA-256 may be used to derive K_SEAF (e.g., the second key K2 in FIG. 2 ). AUSF_KDF_COUNT (e.g., COUNT in FIG. 2 ) may be a monotonically increasing 32-bit counter with an initial value of zero. After each key derived from K_AUSF, the AUSF increments the AUSF_KDF_COUNT by 1. AUSF can store AUSF_KDF_COUNT together with K_AUSF. Using AUSF_KDF_COUNT ensures that the keys derived from K_AUSF are always up to date.
[0058] The AUSF (for home networks) may send the derived K_SEAF (e.g., the second key K2 in FIG. 2 ) together with the AUSF_KDF_COUNT to the SEAF (260 in FIG. 2 ) in the authentication initiation response (5G-AIA). The AMF may use the K_SEAF to establish a separate 5G security context with the user device 400 by sending a network access stratum (NAS) security mode command (SMC) to the user device 400. The NAS SMC may include an AUSF_KDF_INPUT. The AUSF_KDF_INPUT in the NAS SMC may be integrity protected but not encrypted. The user device 400 will use the AUSF_KDF_COUNT received in the NAS SMC to derive the K_SEAF (the second key K2 in FIG. 2 ) and establish a separate 5G security context with the AMF in the second service network.
[0059] The user device 400 may send a NAS security mode complete command to the AMF (275 in FIG. 2). The AMF (second service network) may respond with an acceptance message (280 in FIG. 2).
[0060] Otherwise, if the AUSF of the home network does not support storage of K_AUSF, or if the AUSF wants to perform preliminary authentication of the user device 400, the AUSF may initiate preliminary authentication by sending an Auth-Info-Req message to the UDM / ARPF. Successful authentication of the UE results in the establishment of a separate 5G security context with the AMF.
[0061] Various examples of user device 400 may include a handheld phone, a subscriber device, a user equipment (UE), a wearable computing device, a communication device incorporated in a vehicle, and / or a laptop computer. The communication interface / circuitry 445 of user device 400 may support any of a variety of multiple access technologies, such as code division multiple access (CDMA), time division multiple access (TDMA), frequency division multiple access (FDMA), space division multiple access (SDMA), pole division multiple access (PDMA), or other modulation technologies known in the art.
[0062] Figure 5 is a flow chart of a method operable at a user device for establishing a security context between the user device and a second network according to an exemplary feature. In one example, the method may be Figure 42 . The user device 400 of FIG. 2 may be implemented. A key identifier KeyID (235 of FIG. 2 ) may be generated 510 based on a first key K1 (previously established for the first network) and a network identifier / name of the second network, wherein the security context between the first network and the user device 400 is based on the first key K1. The key identifier KeyID may be forwarded / sent 520 to the home network so that the home network can identify the first key K1 (250 of FIG. 2 ). A key count COUNT (265 of FIG. 2 ) may be received 530 from the second network, wherein the key count is associated with a second key K2 forwarded from the local network to the second network. At the user device, a second key K2 may be generated 540 based on the first key K1 and the received key count, thereby establishing a security context (270 and 272 in FIG. 2 ) between the second network and the user device 400.
[0063] Reference again Figure 4 According to one aspect, the user device 400 may be configured to establish a security context with the second network 220 (FIG. 2), including: for establishing a security context based on a first key K1 (eg, a first authentication key K AUSF ) and a second network identifier / name SN-B to generate a key identifier KeyID (e.g., processing circuit 410 and / or communication interface / circuit 445), wherein a first security context between the third network 215 and the user device 400 has been previously established based on the first key K1; a component (e.g., processing circuit 410 and / or communication interface / circuit 445) for forwarding the key identifier KeyID (240 in FIG. 2) to the second network, for forwarding to the home network so that the home network can identify the first key K1; a component (e.g., processing circuit 410 and / or communication interface / circuit 445) for receiving a key count COUNT (265 in FIG. 2) from the second network, wherein the key count is associated with a second key K2 forwarded from the home network to the second network; and a component (e.g., processing circuit 410) for generating a second key K2 based on the first key K1 and the received key count COUNT, thereby establishing a security context between the second network and the user device (272 in FIG. 2).
[0064] In another aspect, a computer-readable medium or storage device 420 may be provided, comprising: code for causing the processing circuit 410 to generate a key identifier KeyID based on the first key K1 (previously established by the first service network) and the network identifier / name of the second service network (235 or 236 in FIG. 2 ); Figure 5 510 in FIG. 2 ), wherein the first security context between the first service network and the user device 400 is based on the first key K1; used to prompt the processing circuit 410 to forward the key identifier KeyID (240 or Figure 5520 in FIG. 2 ) to the second service network, code for forwarding to the home network so that the home network can identify the first key K1 at the home network; code for causing the processing circuit 410 to receive a key count COUNT from the second network, wherein the key count is associated with a second key K2 forwarded from the home network to the second network (265 or 266 in FIG. 2 ). Figure 5 and a code (272 or 272 in FIG. 2 ) for causing the processing circuit 410 to generate a second key K2 based on the first key K1 and the received key count, thereby establishing a security context (ie, a second security context) between the second network and the user device 400; Figure 5 540 in the table).
[0065] Figure 6 8 is a flow chart of another exemplary method 800 operable on a user device according to one aspect, the method being used to facilitate efficient security context generation by identifying a first key and providing a key count for establishing another security context. The method 600 may be performed, for example, by a user device 400. The first key K1 may have been previously established between the user device and the first (home) network (e.g., as part of an AKA process). Subsequently, when the user device wishes to establish communication through a different second service network, the user device may generate a key identifier KeyID 610 (235 in FIG. 2) based on the first key and at least a portion of the user device identifier UID. The user device may forward the key identifier 620 to the second network for forwarding to the first (home) network so that the home network can identify the first key at the home network (step 240). The user device may receive a key count COUNT 630 (265 in FIG. 2) from the second network. The key count may be associated with a second key K2 forwarded from the first (home) network to the second network. The user device may generate a second key 640 based on the first key and the received key count, thereby establishing a security context ( 270 in FIG. 2 ) between the second network and the user device.
[0066] Figure 72 is a block diagram of an exemplary network node / device configured to provide services to one or more user devices. The network node / device 700 may include a processing circuit 710, which is coupled to a storage device / medium 720 (e.g., a memory and / or a disk drive), a display 730, an input device 740 (e.g., a keypad, a microphone, etc.), and / or a communication interface / circuitry 745 coupled to one or more wireless antennas 750 and / or a network. In various examples, the network node / device 700 may be the third network 215, the second network 220, and / or the first / home network 230 in FIG. 2, and / or may be configured to perform one or more functions performed by these networks. For example, the network node / device 700 may be configured to perform multiple registrations and establish multiple security contexts for one or more user devices.
[0067] Figure 8 Flowchart of an exemplary method 800 operable on a first (home) network according to one aspect for facilitating efficient security context generation by identifying a first key and providing a key count for establishing another security context. The method 800 may be performed, for example, by a home network node / device (230 in FIG. 2). A key identifier KeyID may be received 810, wherein the key identifier is based on a first key K1 and a network identifier / name SN-B of a second network. The first key may be identified 820 based on the key identifier and the network identifier / name of the second network. That is, the home network node / device may ascertain that the first key has been previously established by a sending user device, but for a different service network. A second key K2 is then generated 830 based on the first key and the key count COUNT. The second key and the key count are then forwarded 840 to the second network for establishing a security context between the second network and the user device.
[0068] Reference again Figure 7 , the network node / device 700 can implement another aspect, including: a component (e.g., processing circuit 710 and / or communication interface / circuit 745) for receiving a key identifier KeyID, wherein the key identifier is based on a first key K1 and a network identifier / name SN-B of a second network; a component (e.g., processing circuit 710) for identifying a first key based on the key identifier and the network identifier / name of the second network; a component (e.g., processing circuit 710) for generating a second key K2 based on the first key and a key count COUNT; and a component (e.g., processing circuit 710 and / or communication interface / circuit 745) for forwarding the second key and the key count to the second network for establishing a security context between the second network and a user device.
[0069] Another aspect may be provided in a computer readable medium or storage device 620, comprising: code for causing a processing circuit 710 to receive a key identifier keyID, wherein the key identifier is based on a first key K1 and a network identifier / name SN-B (245 or 246 in FIG. 2 ) of a second network. Figure 8 810 in FIG. 2 ); code for causing the processing circuit 710 to identify the first key based on the key identifier and the network identifier / name of the second network (250 or Figure 8 820 in FIG. 2 ); a code (255 or 820 in FIG. 2 ) for causing the processing circuit 710 to generate a second key K2 based on the first key and the key count COUNT; Figure 8 and code (260 or 260 in FIG. 2 ) for causing the processing circuit 710 to forward the second key and the key count to the second network to establish a security context between the second network and the user device. Figure 8 840 in ).
[0070] Fig. 9 An exemplary network architecture 900 of a next generation wireless network infrastructure (i.e., 5G) is illustrated. A user device (UE) 902, such as the user device / station 210 in FIG. 2 , may be connected to an access network (AN) or radio AN ((R)AN) 904, and an access and mobility function (AMF) 906. The RAN 904 may represent a base station or access node using, for example, Evolved LTE, and the AN may be a generic base station including, for example, non-3GPP accesses such as Wi-Fi. The core network may typically include an AMF 906, a session management function (SMF) 908, a policy control function (PCF) 910, an application function (AF) 912, an authentication server function (AUSF) 914, a user plane function (UPF) 916, a user data management (UDM) 918, and a data network connection (DN) 920. For more details, see 3GPP TS23.501: “System Architecture for the 5G System”. One or more of the core network components and / or functions may be implemented, for example, at service network 215 and / or 220 and / or home network 230 .
[0071] Those skilled in the art will appreciate that any of a variety of different processes and techniques may be used to represent information and signals. For example, data, instructions, commands, information, signals, bits, symbols, and chips that may be referenced throughout the above specification may be represented by voltages, currents, electromagnetic waves, magnetic fields or particles, optical fields or particles, or any combination thereof.
[0072] Those skilled in the art will further appreciate that various illustrative logic blocks, modules, circuits, and algorithmic steps described in conjunction with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or a combination of the two. In order to clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been generally described above in terms of their functions. Whether this functionality is implemented as hardware or software depends on the specific application and design constraints imposed on the overall system. The technician can implement the described functionality in a variable manner for each specific application, but this realization decision should not be interpreted as causing a break away from the scope described herein.
[0073] The various illustrative logical blocks, modules, and circuits described in conjunction with the embodiments disclosed herein may be implemented or executed using a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. The general purpose processor may be a microprocessor, but alternatively, the processor may be any conventional processor, controller, microcontroller, or state machine. The processor may also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
[0074] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein can be directly implemented in hardware, in a software module executed by a processor, or in a combination of the two. The software module can reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Alternatively, the storage medium can be integrated with the processor. The processor and the storage medium can reside in an ASIC. The ASIC can reside in a user terminal. Alternatively, the processor and the storage medium can reside in a user terminal as discrete components.
[0075] In one or more exemplary embodiments, the described functions can be implemented with hardware, software, firmware, or any combination thereof. If implemented as a computer program product with software, these functions can be stored on a computer-readable medium or transmitted by a computer-readable medium as one or more instructions or codes. Computer-readable media include non-transient computer storage media and communication media, including any media that helps to transfer a computer program from one place to another. Storage media can be any available media that can be accessed by a computer. As an example and not a limitation, such computer-readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage devices, or any other medium, which can be used to carry or store the desired program code components in the form of instructions or data structures, and can be accessed by a computer. Moreover, any connection can be appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server or other remote source using a coaxial cable, an optical cable, a twisted pair, a digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwaves, then coaxial cable, optical cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwaves are included in the definition of the medium. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0076] The previous description of the disclosed embodiments is provided to enable those skilled in the art to make or use the present disclosure. Various modifications to these embodiments will be clear to those skilled in the art, and the general principles defined herein may be applied to other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but should be given the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for establishing a security context with a second network by a user device, the user device having a first key previously established with a first network, comprising: generating, by the user device and using a key derivation function, a key identifier based on the first key; sending, by the user device, the key identifier to the second network for forwarding to the first network with a network identifier associated with the second network, so that the first network can generate a second key based on the network identifier, and forward the second key to the second network; generating, by the user device, a local instance of the second key based on the first key; and The security context is established with the second network based on the second key. 2 . The method of claim 1 , wherein the user device establishes the first key with the first network when the user device registers through a third network.
3. The method of claim 1, wherein the first key is established between the user device and the first network as part of execution of an authentication and key agreement protocol with the first network.
4. The method according to claim 1, further comprising: The second key is used by the user device to generate at least one of an encryption key or an integrity key for protecting communications between the user device and the second network. 5 . The method of claim 1 , wherein the user device is a mobile device, the first network is a first public land mobile network, and the second network is a second public land mobile network.
6. The method of claim 1, wherein the second network comprises a wireless local area network (WLAN) access network.
7. The method of claim 1, wherein the second network comprises a fixed broadband access network.
8. The method of claim 1, wherein said generating said key identifier is further based on at least a portion of a user device identifier.
9. The method of claim 1, wherein said generating said key identifier is further based on a function call value.
10. The method of claim 1, wherein the first key is unknown to the second network.
11. The method of claim 1, wherein the first key is utilized as a basis for establishing multiple security contexts with at least two different serving networks.
12. The method of claim 1, wherein the user device bypasses execution of an authentication and key agreement protocol with the first network when registering with the second network.
13. A user device for establishing a security context with a second network, comprising: a communications interface for communicating with one or more networks; and a processing circuit coupled to the communication interface, the processing circuit being configured to: Generate a key identifier using a key derivation function based on a first key previously established between the user device and the first network; sending the key identifier to the second network for forwarding to the first network with a network identifier associated with the second network to enable the first network to generate a second key based on the network identifier and forward the second key to the second network; generating a local instance of the second key based on the first key; and The security context is established with the second network based on the second key.
14. The user device of claim 13, wherein the user device establishes the first key with the first network when the user device is registered through a third network.
15. The user device of claim 13, wherein the first key is established between the user device and the first network as part of performance of an authentication and key agreement protocol with the first network.
16. The user device of claim 13, wherein when registering through the second network, the user device bypasses execution of an authentication and key agreement protocol with the first network.
17. The user device of claim 13, wherein the first key is utilized as a basis for establishing multiple security contexts with at least two different serving networks.
18. A non-transitory computer-readable medium having stored therein instructions executable by one or more processors of a user device to establish a security context with a second network, the instructions causing the one or more processors to perform the following steps when the user device has a first key previously established with a first network: generating, by the user device and using a key derivation function, a key identifier based on the first key; sending, by the user device, the key identifier to the second network for forwarding to the first network with a network identifier associated with the second network, so that the first network can generate a second key based on the network identifier, and forward the second key to the second network; generating, by the user device, a local instance of the second key based on the first key; and The security context is established with the second network based on the second key.
19. The non-transitory computer-readable medium of claim 18, wherein the user device establishes the first key with the first network when the user device registers through a third network.
20. The non-transitory computer-readable medium of claim 18, wherein the first key is established between the user device and the first network as part of execution of an authentication and key agreement protocol with the first network.
21. The non-transitory computer-readable medium of claim 18, further comprising instructions executable by the one or more processors of the user device to perform the following steps: The second key is used to generate at least one of an encryption key or an integrity key for protecting communications between the user device and the second network.
22. The non-transitory computer-readable medium of claim 18, wherein generating the key identifier is also based on at least a portion of a user device identifier.
23. The non-transitory computer-readable medium of claim 18, wherein the first key is unknown to the second network.
24. The non-transitory computer-readable medium of claim 18, wherein the first key is utilized as a basis for establishing multiple security contexts with at least two different serving networks.
25. The non-transitory computer-readable medium of claim 18, wherein the user device bypasses execution of an authentication and key agreement protocol with the first network when registering through the second network.
26. A user device for establishing a security context with a second network, comprising: means for generating a key identifier using a key derivation function based on a first key previously established between the user device and the first network; means for sending the key identifier to the second network, for forwarding to the first network with a network identifier associated with the second network to enable the first network to generate a second key based on the network identifier, and for forwarding the second key to the second network; means for generating a local instance of the second key based on the first key; and Means for establishing the security context with the second network based on the second key.
