EP3576446A1 - Security implementation method, and related apparatus and system - Google Patents
Security implementation method, and related apparatus and system Download PDFInfo
- Publication number
- EP3576446A1 EP3576446A1 EP18838161.0A EP18838161A EP3576446A1 EP 3576446 A1 EP3576446 A1 EP 3576446A1 EP 18838161 A EP18838161 A EP 18838161A EP 3576446 A1 EP3576446 A1 EP 3576446A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- key
- security
- target
- amf
- user equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 203
- 238000004891 communication Methods 0.000 claims abstract description 304
- 238000004422 calculation algorithm Methods 0.000 claims description 132
- 230000006870 function Effects 0.000 claims description 79
- 238000004590 computer program Methods 0.000 claims description 23
- 230000011664 signaling Effects 0.000 claims description 23
- 230000004044 response Effects 0.000 claims description 17
- 238000009795 derivation Methods 0.000 claims description 14
- 238000007726 management method Methods 0.000 description 19
- 238000010295 mobile communication Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 241000760358 Enodes Species 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/041—Key generation or derivation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/009—Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/03—Protecting confidentiality, e.g. by encryption
- H04W12/033—Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0431—Key distribution or pre-distribution; Key agreement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0011—Control or signalling for completing the hand-off for data sessions of end-to-end connection
- H04W36/0033—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
- H04W36/0038—Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information of security context information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/08—Reselecting an access point
Definitions
- This application relates to the field of communications technologies, and in particular, to a security implementation method, a related apparatus, and a system.
- User equipments such as mobile phones
- User equipment may directly establish a communication connection to a base station, to perform communication and provide a user with rich communication experience by using a data transmission service provided by a network.
- a network connection of the user equipment needs to be handed over from the original base station to the current base station before communication can continue to be maintained.
- a network For a future mobile communication architecture (such as a fifth generation communications system 5G), a network also needs to satisfy a handover requirement of user equipment.
- an SA2 architecture group has proposed a rough architecture of a 5G network.
- an access management function AMF of a core network is usually deployed in a location relatively close to a base station. Therefore, when user equipment hands over between base stations for communication, inter-AMF handover may also be caused.
- a current communication security implementation method (an Extensible Authentication Protocol EAP method) is not applicable to security protection for inter-AMF handover in a 5G network. Therefore, how to establish a security mechanism based on a future mobile communication architecture becomes a problem that currently needs to be urgently resolved.
- Embodiments of the present invention provide a security implementation method, a related apparatus, and a system, to implement security protection in an inter-AMF handover scenario, improve security of a future mobile communication architecture, and satisfy a user requirement.
- an embodiment of the present invention discloses a security implementation method.
- the method includes: receiving, by a first network element, a request for handing over user equipment from a source access network device to a target access network device to perform communication; obtaining, by the first network element, a security key, where the security key is used for protecting the communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element; and sending, by the first network element, the security key to the target access network device.
- a second network element is connected to the source access network device, and the second network element and the source access network device are network devices on a source side.
- the first network element is connected to the target access network device, and the first network element and the target access network device are network devices on a target side.
- the second network element may be a network device such as a source AMF, a source SEAF, or a source SMF
- the first network element is a corresponding network device such as a target AMF, a target SEAF, or a target SMF.
- the request may carry a security context of the source side.
- the security context of the source side may include one or more of a key lifetime, a key index, a security capability of UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, and a counter related to key calculation.
- the request may be a handover request, a path switching request, or the like.
- the obtaining, by the first network element, a security key includes: obtaining, by the first network element, a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; and determining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key.
- the security key may include an access stratum AS key and a non-access stratum NAS key.
- the AS key is used for protecting communication between the user equipment and an access network device
- the NAS key is used for protecting communication between the user equipment and a core network device (such as an AMF/SEAF/SMF).
- the first network element may obtain the first intermediate key in various manners.
- the first network element obtains the first intermediate key that is derived by the second network element based on a second intermediate key and a network parameter.
- the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- the second intermediate key is a key Kamf that originally exists in the second network element, and the key Kamf is obtained by the second network element when the authentication succeeds.
- the first network element receives the second intermediate key sent by the second network element; and the first network element derives the first intermediate key based on the second intermediate key and a network parameter.
- the first network element obtains an anchor key Kseaf; and the first network element derives the first intermediate key based on the anchor key and a network parameter.
- the network parameter may include one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a count value Nonce or a counter or a random number or a sequence number.
- the first network element may further obtain a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element; the first network element obtains a pair of ⁇ second NH, second NCC ⁇ based on a pair of ⁇ first NH, first NCC ⁇ .
- the first network element may send the pair of ⁇ second NH, second NCC ⁇ , a second key, and a third key to the target access network device, and the target access network device generates a first key based on the pair of ⁇ second NH, second NCC ⁇ .
- the security key includes the first key, the second key, and the third key, where the first key is an intermediate key for security protection between user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key.
- the determining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key includes: including, by the security protection algorithm, an NAS confidentiality algorithm identifier and an NAS integrity algorithm identifier; deriving, by the first network element, the first key such as a key KgNB based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a counter or a random number or a sequence number; deriving, by the first network element, the second key such as a key Knasenc based on a second parameter, where the second parameter includes one or more of the first intermediate key, the NAS confidentiality algorithm identifier, and a counter or a random number or a sequence number; and deriving, by the first network element, the third key such as Knasint based on a third parameter, where the third parameter includes
- the sending, by the first network element, the security key to the target access network device includes: sending, by the first network element, the first key to the target access network device.
- the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system.
- the request includes a security context of the first communications system, and a third intermediate key.
- the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- the obtaining, by the first network element, a first intermediate key includes: deriving, by the first network element, the first intermediate key based on the security context of the first communications system, a security context of the second communications system, and the third intermediate key.
- the first network element includes a target access and mobility management function AMF
- the second network element includes a source AMF
- the target AMF is connected to the target access network device
- the source AMF is connected to the source access network device
- the first network element includes a target security anchor function SEAF
- the second network element includes a source security anchor function SEAF
- the target SEAF is connected to the target access network device
- the source SEAF is connected to the source access network device.
- the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- MME mobility management entity network element
- the MME receives the request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system; the MME obtains the security key, where the security key is used for protecting the communication between the user equipment and the target access network device after the user equipment is handed over from the source access network device to the target access network device; and the MME sends the security key to the target access network device.
- the MME obtains a third intermediate key, where the third immediate key is derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key; and the MME derives the security key based on the security context of the second communications system and the third intermediate key.
- the MME obtains a first intermediate key sent by an AMF in the second communications system, where the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; the MME derives the third intermediate key based on the first intermediate key; and the MME derives the security key based on the security context of the second communications system and the third intermediate key.
- the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key
- the MME derives the third intermediate key based on the first intermediate key
- the MME derives the security key based on the security context of the second communications system and the third intermediate key.
- an embodiment of the present invention provides a security implementation method, including: receiving, by a target access network device, a request for handing over user equipment from a source wireless node to a target wireless node to perform communication; receiving, by the target access network device, a first key sent by a core network device, where the first key is an intermediate key for security protection between the user equipment and the target access network device; generating, by the target access network device, a second key based on the intermediate key, where the second key is an intermediate key for security protection between the user equipment and the target wireless node; sending, by the target access network device, the second key to the target wireless node, so that the target wireless node generates a security key based on the second key, where the security key is used for protecting the communication between the user equipment and the target wireless node after the user equipment is handed over from the source wireless node to the target wireless node.
- an embodiment of the present invention provides a network element.
- the network element is a first network element.
- the first network element includes a receiver, a transmitter, a memory, and a processor coupled to the memory.
- the receiver, the transmitter, the memory, and the processor may be connected by using a bus or in another manner.
- the transmitter is configured to send data and signaling to an external device.
- the receiver is configured to receive data and signaling from the external device.
- the memory is configured to store program code and related data (such as configuration information, a security context, and a key).
- the processor 1201 is configured to invoke and run the program code stored in the memory, and perform related steps in the method according to the first aspect.
- an embodiment of the present invention provides a target access network device.
- the target access network device includes a receiver, a transmitter, a memory, and a processor coupled to the memory.
- the receiver, the transmitter, the memory, and the processor may be connected by using a bus or in another manner.
- the transmitter is configured to send data and signaling.
- the receiver is configured to receive data and signaling.
- the memory is configured to store program code and related data (such as configuration information, a security context, and a key).
- the processor is configured to invoke and run the program code stored in the memory, and perform related steps in the method according to the second aspect.
- an embodiment of the present invention provides a network element.
- the network element includes a receiving module, a key processing module, and a sending module.
- the network element is configured to implement the method according to the first aspect.
- an embodiment of the present invention provides a computer readable storage medium, configured to store code for implementing the method according to the first aspect or the second aspect.
- an embodiment of the present invention provides a computer software product.
- the computer software product When being run in a computer, the computer software product may be configured to implement the method according to the first aspect or the second aspect.
- a communications system may correspondingly generate a security key, and obtain and transmit a security context and a security key on the target side by using a security network element (an SEAF/AMF).
- SEAF/AMF security network element
- the embodiments of the present invention help implement security protection in an inter-AMF handover scenario in a future mobile communication architecture (such as 5G), improve security of the future mobile communication architecture, and satisfy a user requirement.
- FIG. 1 shows a network architecture of future mobile communication.
- the network architecture includes user equipment, an access network device, and an operator network (for example, a 3GPP 5G network).
- the operator network further includes a core network and a data network, and the user equipment accesses the operator network by using an access network device.
- Detailed descriptions are as follows:
- the UE is a logical entity. Specifically, the UE may be any one of terminal equipment (Terminal Equipment), a communications device (Communication Device), and an Internet of Things (Internet of Things, IoT) device.
- the terminal equipment may be a smartphone (smart phone), a smartwatch (smart watch), a smart tablet (smart tablet), or the like.
- the communications device may be a server, a gateway (Gateway, GW), a controller, or the like.
- the Internet of Things device may be a sensor, an electricity meter, a water meter, or the like.
- the AN may be also referred to as a radio access network (Radio Access Network, RAN) during specific application, and the RAN includes access network devices and is responsible for the user equipment's access.
- the RAN may be a base station (such as an NB, an eNB, or a gNB), a Wi-Fi (Wireless Fidelity, Wi-Fi) access point, a Bluetooth access point, or the like.
- the DN may be an external network of an operator, or may be a network controlled by an operator, and is configured to provide a business service to a user.
- the UE may access the operator network so as to access the DN, and use a service provided by the operator or a third party on the DN.
- Core network As a bearer network, the CN provides an interface to the DN, provides the UE with a communication connection, authentication, management, and policy control, data service bearing, and the like.
- the CN further includes: an access and mobility management function, a session management function, an authentication server function, a policy control function, an application function, a user plane function, and the like. Related descriptions are specifically as follows:
- Access and mobility management function As a control plane network element provided by an operator, the AMF is responsible for access control and mobility management when the UE accesses the operator network, and processes network signaling while serving as an NAS signaling termination.
- AMF Access and Mobility Management Function
- the SEAF is connected to the AMF, and serves as a node of a security authentication function.
- the AMF and the SEAF may be integrated, or the AMF and the SEAF may be separately and independently disposed.
- functions of the AMF and the SEAF may be separately deployed in different network elements, or several functions of the AMF and the SEAF may be disposed in a same network element (for example, the AMF has functions of the SEAF).
- Session management function Session Management Function, SMF: The SMF is a control plane network element provided by the operator, and is responsible for managing a session of a data packet of the UE.
- Authentication server function (Authentication Server Function, AUSF):
- the authentication server function AUSF is a control plane network element provided by the operator, and is used for UE authentication.
- the AUSF may be separately deployed as an independent logical function entity, or may be integrated in a device such as the AMF/SMF.
- Unified data manager (Unified Data Manager, UDM): The UDM is a control plane network element provided by the operator, and is responsible for storing a subscriber permanent identifier (Subscriber Permanent Identifier, SUPI), registration information, a credential (credential), and subscription data of the operator network. The data is used for authentication and authorization when the UE accesses the operator network.
- SUPI Subscriber Permanent Identifier
- credential credential
- subscription data The data is used for authentication and authorization when the UE accesses the operator network.
- the AF is configured to store a service security requirement, and provide information about policy determining.
- the UPF may be a gateway, a server, a controller, a user plane function network element, or the like.
- the UPF may be disposed inside the operator network, or may be disposed outside the operator network.
- the UPF is a user plane network element provided by the operator, and is a gateway for communication between the operator network and the DN.
- Policy control function Policy control Function: A policy control function is deployed in the PCF, and the policy control function is a function of completing negotiation for a user plane protection mechanism based on a security requirement so as to determine the user plane protection mechanism in a network.
- FIG. 1 shows logical relationships between the network elements.
- some network elements may be separately deployed, or two or more network elements may be integrated in a same entity.
- the AMF and the SMF may be deployed in a same entity, or the AMF and the SMF may be separately deployed in different entities.
- FIG. 2 shows an application scenario of communication handover in an LTE communications system.
- the LTE communications system includes three parts: an evolved packet core (Evolved Packet Core, EPC), a base station (Evolved Node B, eNode B), and user equipment.
- the EPC is responsible for a core network part.
- the EPC includes a home subscriber server (Home Subscriber Server, HSS) 141 configured to store user subscription information, and a mobility management entity (Mobility Management Entity, MME) for signaling processing and mobility management.
- the base station is responsible for an access network part.
- the base station is connected to the core network.
- a base station 121 is connected to an MME 131
- a base station 122 is connected to an MME 132.
- Uplink communication or downlink communication is performed between the user equipment and the base station by using an LTE air interface technology (such as a Uu interface).
- LTE air interface technology such as a Uu interface
- the user equipment is in communication connection with the base station 121. If the user equipment moves from a location 111 to a location 112, the user equipment may need to hand over a communication connection from the base station 121 to the base station 122. After a handover process is completed, the user equipment is in communication connection with the base station 122, and then communication can continue to be performed. It can be learned that, in this process, the base station 121 and the base station 122 are respectively connected to different MMEs, and therefore the foregoing communication handover process is also accompanied with communication handover of the MMEs.
- FIG. 3 shows an application scenario of communication handover in a 5G communications system.
- the 5G communications system includes user equipment, an access network, and a core network.
- the access network includes a RAN device 221 and a RAN device 222.
- the core network includes a core network device group 231 and a core network device group 232.
- the access network devices are connected to core network devices.
- the RAN device 221 is connected to an AMF in the core network device 231
- the RAN device group 222 is connected to an AMF in the core network device group 232.
- Uplink communication or downlink communication is performed between the user equipment and the access network device by using a 5G air interface technology.
- the user equipment is in communication connection with the RAN device 221. If the user equipment moves from a location 211 to a location 212, the user equipment may need to hand over a communication connection from the RAN device 221 to the RAN device 222. After a handover process is completed, the user equipment is in communication connection with the RAN device 222, and then communication can continue. It can be learned that, in this process, the RAN device 221 and the RAN device 222 are respectively connected to AMFs in different core network device groups, and therefore the foregoing communication handover process is also accompanied with communication handover of the AMFs.
- an embodiment of the present invention provides a security implementation method. Referring to FIG. 4 , the method includes, but is not limited to, the following steps.
- the security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element.
- the security key may include an access stratum AS key and a non-access stratum NAS key.
- the AS key is used for protecting communication between the user equipment and an access network device
- the NAS key is used for protecting communication between the user equipment and a core network device (such as an AMF/SEAF/SMF).
- That the first network element obtains a security key includes: generating, by the first network element, the security key, or obtaining, by the first network element, the security key sent by another network element.
- the first network element may first obtain a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key.
- the first intermediate key is new Kamf.
- the first network element determines a security protection algorithm, including a specific security algorithm and a security algorithm identifier, where the identifier may be used for indicating the specific protection algorithm.
- the first network element derives the security key based on the security protection algorithm and the first intermediate key.
- the security protection algorithm may include an NAS stratum confidentiality algorithm identifier, an NAS stratum integrity algorithm identifier, an AS stratum confidentiality algorithm identifier, and an AS stratum integrity algorithm identifier.
- the security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, for example, a key KgNB, the second key is an NAS signaling encryption protection key, for example, a key Knasenc, and the third key is an NAS signaling integrity protection key, for example, Knasint.
- first key is an intermediate key for security protection between the user equipment and the target access network device, for example, a key KgNB
- the second key is an NAS signaling encryption protection key, for example, a key Knasenc
- the third key is an NAS signaling integrity protection key, for example, Knasint.
- the first network element may derive the first key based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a count value Nonce or a counter or a random number or a sequence number; derive the second key based on a second parameter, where the second parameter includes one or more of the first intermediate key, an NAS confidentiality algorithm identifier, and a count value Nonce or a counter or a random number or a sequence number; and derive the third key based on a third parameter, where the third parameter includes one or more of the first intermediate key, an NAS integrity algorithm identifier, and a count value Nonce or a counter or a random number or a sequence number.
- the first network element may store the second key and the third key, and send the first key to an access network device in a subsequent step.
- the first network element may obtain the first intermediate key in various manners.
- the first network element obtains the first intermediate key that is derived by the second network element based on a second intermediate key and a network parameter.
- the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- the second intermediate key is a key Kamf that originally exists in the second network element, and the key Kamf is obtained by the second network element when the authentication succeeds.
- the first network element receives the second intermediate key sent by the second network element; and the first network element derives the first intermediate key based on the second intermediate key and a network parameter.
- the first network element obtains an anchor key Kseaf; and the first network element derives the first intermediate key based on the anchor key and a network parameter.
- the network parameter may include one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a count value Nonce or a counter or a random number or a sequence number.
- the first network element may further obtain a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element; the first network element obtains a pair of ⁇ second NH, second NCC ⁇ based on a pair of ⁇ first NH, first NCC ⁇ .
- the first network element may send the pair of ⁇ second NH, second NCC ⁇ , the second key, and the third key to the target access network device, and the target access network device generates the first key based on the pair of ⁇ second NH, second NCC ⁇ .
- a security-related message (such as a security context, an intermediate key, a key request, or a key response) transmitted between the source side and the target side, between the source side and a UE side, or between the target side and the UE side may be transmitted in a form of an independent message, or may be carried in another message (such as a handover-related request or response) for transmission, and this is not limited herein in the present invention.
- an embodiment of the present invention provides another security implementation method.
- an anchor key Kseaf may be configured on a UE side and a network side (such as an SEAF).
- network security may be implemented by using the following method. The method includes, but is not limited to, the following steps.
- the key Kseaf is an anchor key (anchor key).
- the anchor key is a key generated after authentication, and is an upper-layer key on a serving network.
- the anchor key may be used for deriving a lower-layer key on the serving network.
- the SEAF after the UE is authenticated on the network, the SEAF has the key Kseaf.
- the Kseaf may be permanently stored in the SEAF, or may be temporarily stored in the SEAF.
- the Kseaf is deleted after the lower-layer key on the network is generated.
- the SEAF may send a request to an AUSF, and the AUSF generates the Kseaf based on the request, and sends the Kseaf to the SEAF.
- the SEAF generates the new intermediate key Kamf (a first intermediate key) based on the Kseaf and the network parameter, where the Kamf may be used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key.
- the network parameter is a related parameter on the network side.
- the network parameter may be one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, an AMF setting identifier, and a count value Nonce or a counter or a random number or a sequence number.
- the network parameter may further include other parameters. The following briefly describes the network parameter.
- Target side identifier may be an identifier that can uniquely identify target side information, such as a target-side serving network identifier, a target-side specific cell ID, or a target-side base station ID.
- the slice identifier is used for uniquely identifying a network slice ID.
- NAI Network Access Identifier
- Network slice selection assistance information may include various identifiers of a slice, and an identifier of a slice-related entity. By providing the NSSAI, a terminal may select and create an instance related to a network slice. One piece of network slice selection assistance information may correspond to one network slice.
- AMF Region ID is an identifier used for distinguishing a region in which an AMF is located.
- AMF setting identifier (AMF Set ID):
- the AMF Set identifier is an identifier that uniquely identifies an AMF set in an AMF region.
- AMF pointer (AMF Pointer): The AMF pointer is an identifier that uniquely identifies an AMF in an AMF set.
- other network parameters may further be a timestamp, a registration type (registration type), an AMF ID, an SEAF ID, an NAS count (NAS Count), a security algorithm identifier, a security algorithm type name, a sequence number SQN, and an AK, and may further be lengths of these parameters or a foregoing crucial parameter, or the like.
- registration type registration type
- SEAF ID SEAF ID
- NAS count NAS count
- security algorithm identifier a security algorithm type name
- sequence number SQN sequence number
- AK a sequence number
- the security key is used for protecting communication between the UE and the target RAN after the UE is handed over from the source RAN to the target RAN.
- a protocol stack may be divided into an access stratum (Access Stratum, AS) and a non-access stratum (Non-Access Stratum, NAS). Therefore, the security key generated herein needs to include an AS stratum key and an NAS stratum key.
- the target AMF may determine a key protection algorithm based on a preset rule. For example, an algorithm priority list is preset in the target AMF, and the algorithm priority list includes a plurality of algorithm IDs.
- the target AMF searches the algorithm priority list, and selects a new NAS algorithm based on the algorithm priority list, to obtain an NAS confidentiality algorithm ID and an NAS integrity algorithm ID.
- the target AMF may alternatively select a new AS algorithm, to obtain an AS confidentiality algorithm ID and an AS integrity algorithm ID.
- the target AMF first generates an intermediate key KgNB.
- the KgNB is an intermediate key used on a target RAN side, and the KgNB is used for generating, on the target RAN side, a key (such as Krrcenc, Krrcint, Kupenc, or Kupint) related to the AS stratum.
- a key such as Krrcenc, Krrcint, Kupenc, or Kupint
- the KgNB needs to be sent to the target access network device.
- the NAS count (NAS Count) value is a counter of NAS messages transmitted by the NAS or a counter of NAS data packets, and may be specifically an uplink NAS count value or a downlink NAS count value.
- the frequency channel number (EARFCN-DL) indicates a downlink communication frequency of a network.
- the target cell identifier (Target physical cell ID) is used for uniquely identifying a target cell.
- the target AMF For the NAS stratum key, the target AMF needs to generate Knasenc and Knasint.
- the Knasenc herein is an NAS signaling encryption protection key on the network side
- the Knasint herein is an NAS signaling integrity protection key on the network side.
- the target AMF stores the NAS stratum key, and may further send the NAS stratum key to another core network device as required.
- the UE and the target RAN further continue to complete the subsequent handover process. For example, after the UE is successfully synchronized to a target cell, the UE sends a handover acknowledgment message to the target RAN.
- the target RAN sends a handover notification to the target AMF, to notify the target AMF that the UE is already located in the target cell.
- the target AMF sends a path switching completion message to the source AMF.
- the source AMF returns a response to the target AMF.
- the source AMF sends a UE context release message to instruct the source RAN to release a resource related to the UE.
- the source RAN returns a release acknowledgment message to the source AMF, and so on.
- the communication connection of the UE is handed over from the source RAN to the target RAN.
- step 7 when the SEAF generates the Kamf, update of a PDU session key needs to be considered on a target side. Therefore, when the SEAF generates the Kamf, the SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key. Specifically, a key Left K is pre-stored in the AUSF.
- the AUSF sends the Ksmf to the SEAF or the target AMF
- the SEAF or the target AMF forwards the Ksmf to the target SMF and the UE
- the target SMF/the UE uses the Ksmf to update the PDU session key.
- the communications system may correspondingly generate the security key, and obtain and transmit the security context and the security key of the target side by using a security network element SEAF/AMF or the like.
- the security key of the target side is generated by a network element (such as the SEAF/target AMF) on the target side. Therefore, the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- the source RAN cannot obtain the security key used by the target RAN, and cannot decode communication information between the target RAN and the UE, thereby implementing forward security of network communication.
- first Kamf may be configured on a UE side and a network side (such as a source AMF/source SEAF).
- a network side such as a source AMF/source SEAF.
- the security context received on a UE side needs to include only a parameter that the UE side does not have when keys are generated on the network side, for example, a random number, a timestamp, or a security protection algorithm identifier.
- the UE may already have, in the foregoing steps, another parameter used for generating the keys.
- the first Kamf is already configured for the UE, and the UE has further shared the network parameter on the network side in advance. Therefore, it may be understood that, for the UE, the UE may similarly generate a new NAS stratum key and a new AS stratum key based on the first Kamf, the network parameter, and the security context.
- the UE and the target RAN complete a subsequent handover process.
- step 3 may be canceled.
- the source AMF/source SEAF sends the first Kamf to the target AMF/target SEAF, and after step 4, the target AMF/target SEAF generates the second Kamf based on the first Kamf.
- step 7 when the target AMF/target SEAF generates the security key based on the second Kamf, update of a PDU session key needs to be considered on a target side.
- the target AMF/target SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key.
- a key Left K is pre-stored in the AUSF. Therefore, the AUSF may generate the new PDU session key Ksmf based on the Left K, and UE-related information and session information (such as a session ID and slice information) that are sent by the source AMF/source SEAF.
- the communications system may correspondingly generate the security key, and obtain and transmit the security context and the security key of the target side by using a security network element SEAF/AMF or the like.
- Derivation of a lower-layer key comes from derivation of the first intermediate key Kamf by the source AMF/source SEAF, and a source AMF/source SEAF side generates and transmits a security context of the target side.
- the target RAN cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- an embodiment of the present invention provides another security implementation method.
- network security may be implemented by using the following method. The method includes, but is not limited to, the following steps.
- the UE may alternatively generate the security key based on the new Kseaf, the network parameter shared in advance, and the security context.
- the UE may alternatively generate the security key based on the new Kseaf, the network parameter shared in advance, and the security context.
- SMFs corresponding to different AMFs may be different. Therefore, SMF handover may also occur in the foregoing process. In this case, security protection of a PDU session also needs to be considered. Specifically, after the two-way authentication described in step 11 succeeds, the AUSF similarly obtains a new key Left K, and the AUSF may generate a new PDU session key Ksmf, and send the new PDU session key Ksmf to an SMF. Details are not described herein again.
- Authentication is performed again on a target side to obtain a new protection key, and forward security and backward security are satisfied.
- a source side does not need to transmit a key, and a protection key does not need to be generated based on an existing key either.
- the communications system may obtain a new protection key after the two-way authentication is performed again, and the source network side does not need to transmit an intermediate key, and an intermediate key does not need to be generated based on an original key either.
- the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- the source RAN cannot obtain the security key used by the target RAN, and cannot decode communication information between the target RAN and the UE, thereby implementing forward security of network communication.
- an embodiment of the present invention provides another security implementation method.
- a first key Kamf may be configured on a UE side and a source AMF/source SEAF, and first KgNB is configured on a source RAN side.
- network security may be implemented by using the following method. The method includes, but is not limited to, the following steps.
- a target side (such as the target RAN or the target AMF/target SEAF) generates a security key of the target side based on the keys KgNB and Kamf of a source side (such as the source RAN or the source AMF/source SEAF).
- the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- the target AMF/target SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key.
- a key Left K is pre-stored in the AUSF.
- the AUSF sends the Ksmf to the SEAF or the target AMF
- the SEAF or the target AMF forwards the Ksmf to the target SMF and the UE
- the target SMF/the UE uses the Ksmf to update the PDU session key.
- the security implementation method provided in this embodiment of the present invention not only may be applied to a scenario of inter-RAN/inter-AMF handover in a same communications system, but also may be applied to a scenario of handover between NodeBs (an eNB and a gNB) or between access and management network elements (an MME and an AMF) in different communications systems.
- NodeBs an eNB and a gNB
- MME access and management network elements
- an embodiment of the present invention provides another security implementation method. The method may be applied to handover processes in different communications systems.
- the UE originally establishes a communication connection in a first communications system, and later the UE needs to hand over the communication connection to a second communications system (for example, a mobile phone is handed over from an LTE communications system to a 5G communications system) based on a user requirement or a current network status.
- the first communications system includes: an eNB located on an access network, an MME and an HSS located on a core network, and the like.
- the second communications system includes: a gNB located on the access network, a target AMF/target SEAF and an AUSF located on the core network, and the like.
- network security may be implemented by using the following method. The method includes, but is not limited to, the following steps.
- the Kasme may not be transmitted in step 3, and step 4 may be canceled.
- the AUSF generates a new Kseaf of the target side based on a CK/an IK of the target side and a source system security context that is transmitted by the MME, and sends the new Kseaf to the target AMF/target SEAF.
- the target AMF/target SEAF generates a subsequent key, such as the Kamf, based on the new Kseaf and a security protection algorithm of the first communications system (such as 5G).
- the Kasme may not be transmitted in step 3, and step 4 may be canceled.
- the HSS calculates a key Kite based on a parameter of the HSS, for example, a CK/an IK or a NONCE, and transmits the Kite to the AUSF, and then the AUSF generates the Kseaf and Left K based on the Klte.
- Kseaf KDF (Klte, serving network name identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters).
- the AUSF sends the Kseaf to the target AMF/target SEAF, and then the target AMF/target SEAF generates a subsequent key, such as the Kamf, based on the Kseaf and the security protection algorithm of the first communications system (such as 5G).
- a subsequent key such as the Kamf
- a communications system on the target side may correspondingly generate a security key by using an intermediate key and a security context of a communications system on a source side, to perform security protection on the communication in the communications system after the handover.
- the communications system on the target side cannot obtain the security key used by the communications system on the source side, and cannot decode communication information between the communications system on the source side and the UE, thereby implementing backward security of network communication.
- an embodiment of the present invention provides another security implementation method.
- the method may be applied to handover processes in different communications systems.
- UE originally establishes a communication connection in a second communications system, and later the UE needs to hand over the communication connection to a first communications system (for example, a mobile phone is handed over from a 5G communications system to an LTE communications system) based on a user requirement and a current network status.
- the first communications system (the LTE communications system) includes: an eNB located on an access network, an MME and an HSS located on a core network, and the like.
- the second communications system (the 5G communications system) includes: a gNB located on the access network, a target AMF/target SEAF and an AUSF located on the core network, and the like.
- network security may be implemented by using the following method. The method includes, but is not limited to, the following steps.
- step 5 and step 6 may be canceled.
- the HSS may generate the intermediate key Kasme based on the pre-stored CK/IK and the received source system (the second system) security context.
- the MME may generate the KeNB and the NAS key based on the Kasme and the security protection algorithm (such as 5G) of the first system.
- the AMF may send the Kamf to the MME, and the MME may derive the Kasme based on the Kamf in the following manner:
- a communications system on the target side may correspondingly generate a security key by using an intermediate key and a security context of a communications system on a source side, to perform security protection on the communication in the communications system after the handover.
- the communications system on the target side cannot obtain the security key used by the communications system on the source side, and cannot decode information communicated between the communications system on the source side and the UE, thereby implementing backward security of network communication.
- an embodiment of the present invention provides an application scenario of communication handover in a communications system that combines a 5G network and a WLAN network.
- the 5G network includes an access network and a core network.
- the access network includes a RAN device 331 and a RAN device 332, and the core network includes a core network device group 341.
- the access network devices are separately connected to core network devices by using an N2 interface.
- the WLAN network includes a wireless node 321, a wireless node 322, and user equipment that establishes a communication connection to a wireless node (the wireless node may also be considered as a part of the access network).
- the wireless node may be separately connected to the RAN device 331 and the RAN device 332 by using an Xw interface. Uplink communication or downlink communication is performed between the user equipment and the wireless node by using a WLAN technology.
- the user equipment is in communication connection with the wireless node 321. If the user equipment moves from a location 311 to a location 312, the user equipment may need to hand over a communication connection from the wireless node 321 to the wireless node 322. After a handover process is completed, the user equipment is in communication connection with the wireless node 322, and then communication can continue. In this process, a process of the communication handover may be accompanied with communication handover of a RAN device.
- the security implementation method provided in the embodiments of the present invention may also be used to perform security protection on the communication after the handover. Specifically, the following steps may be included.
- an embodiment of the present invention provides an apparatus 1200.
- the apparatus 1200 includes a processor 1201, a memory 1202, a transmitter 1203, and a receiver 1204.
- the processor 1201, the memory 1202, the transmitter 1203, and the receiver 1204 are connected to each other (for example, connected to each other by using a bus).
- the memory 1202 includes, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), or a compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM).
- RAM Random Access Memory
- ROM read-only memory
- EPROM erasable programmable Read Only Memory
- CD-ROM Compact disc read-only memory
- the transmitter 1203 is configured to transmit data
- the receiver 1204 is configured to receive data.
- the processor 1201 may be one or more central processing units 1201 (Central Processing Unit, CPU), and when the processor 1201 is one CPU, the CPU may be a single-core CPU, or may be a multi-core CPU.
- CPU Central Processing Unit
- the processor 1201 is configured to read program code stored in the memory 1202, to implement functions of the authentication network element in the embodiment in FIG. 3 .
- the program code stored in the memory 1202 is specifically used for implementing functions of the first network element in the embodiment in FIG. 4 . Detailed descriptions are as follows:
- the receiver 1204 is configured to receive a request for handing over user equipment from a source access network device to a target access network device to perform communication.
- the processor 1201 is configured to obtain a security key.
- the security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element.
- the transmitter 1203 is configured to send the security key to the target access network device.
- that the processor 1201 is configured to obtain a security key includes:
- that the processor 1201 is configured to obtain a first intermediate key includes: the processor 1201 is configured to obtain, by using the receiver 1204, the first intermediate key, where the first intermediate key is derived by a security anchor function SEAF based on an anchor key and a network parameter.
- that the processor 1201 is configured to obtain a first intermediate key includes: the processor 1201 is configured to obtain, by using the receiver 1204, the first intermediate key, where the first intermediate key is derived by a second network element based on a second intermediate key and a network parameter, and the second intermediate key is an upper-layer key generated after authentication and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- that the processor 1201 is configured to obtain a first intermediate key includes:
- that the processor 1201 is configured to obtain a first intermediate key includes:
- the receiver 1204 is further configured to receive a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element.
- the processor 1201 is further configured to obtain a second NH and a second NCC based on the first NH and the first NCC.
- the transmitter 1203 is further configured to send the second NH and the second NCC to the target access network device.
- the security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key;
- That the processor 1201 is configured to determine a security protection algorithm, and derive the security key based on the security protection algorithm and the first intermediate key includes:
- That the transmitter 1203 is configured to send the security key to the target access network device includes: the transmitter 1203 is configured to send the first key to the target access network device.
- the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system.
- the request includes a security context of the first communications system, and a third intermediate key.
- the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- That the processor 1201 is configured to obtain a first intermediate key includes: the processor 1201 is configured to derive the first intermediate key based on the security context of the first communications system, a security context of the second communications system, and the third intermediate key.
- the first network element includes a target access and mobility management function AMF
- the second network element includes a source AMF
- the target AMF is connected to the target access network device
- the source AMF is connected to the source access network device.
- the first network element includes a target security anchor function SEAF
- the second network element includes a source security anchor function SEAF
- the target SEAF is connected to the target access network device
- the source SEAF is connected to the source access network device.
- the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- MME mobility management entity network element
- the receiver 1204 of the MME is configured to receive a request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system.
- the processor 1201 of the MME is configured to obtain a security key.
- the transmitter 1203 of the MME is configured to send the security key to the target access network device.
- the processor 1201 of the MME is configured to receive, by using the receiver 1204 of the MME, a third intermediate key, where the third intermediate key is derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- the processor 1201 of the MME is configured to derive the security key based on a security context of the second communications system and the third intermediate key.
- that the processor 1201 of the MME is configured to obtain a security key includes:
- the apparatus 1200 is the first network element, for a step performed by the processor 1201 and another technical feature that is provided by the processor 1201, further refer to corresponding descriptions in the method embodiments shown in FIG. 5 to FIG. 10 , and details are not described herein again.
- the program code stored in the memory 1202 is specifically used for implementing functions of the RAN device 332 in the embodiment in FIG. 11 . Detailed descriptions are as follows:
- the receiver 1204 is configured to receive a request for handing over user equipment from a source wireless node to a target wireless node to perform communication.
- the receiver 1204 is further configured to receive a first key (such as KeNB or KgNB) sent by a core network device, where the first key is an intermediate key for security protection between the user equipment and the target access network device.
- a first key such as KeNB or KgNB
- the processor 1201 is configured to generate a second key (a master key) based on the intermediate key, where the second key is an intermediate key for security protection between the user equipment and the target wireless node.
- the transmitter 1203 is configured to send the second key to the target wireless node, so that the target wireless node generates a security key based on the second key, where the security key is used for protecting the communication between the user equipment and the target wireless node after the user equipment is handed over from the source wireless node to the target wireless node.
- the apparatus 1200 is the first network element, for a step performed by the processor 1201 and another technical feature that is provided by the processor 1201, further refer to corresponding descriptions in the method embodiment shown in FIG. 11 , and details are not described herein again.
- an embodiment of the present invention provides another apparatus 1300.
- the apparatus 1300 is a first network element, and specifically includes: a receiving module 1301, a key processing module 1302, and a sending module 1303. Descriptions are as follows:
- the receiving module 1301 is configured to receive a request for handing over user equipment from a source access network device to a target access network device to perform communication.
- the key processing module 1302 is configured to obtain a security key.
- the security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element.
- the sending module 1303 is configured to send the security key to the target access network device.
- the key processing module 1302 obtains a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key.
- the key processing module 1302 determines a security protection algorithm, and derives the security key based on the security protection algorithm and the first intermediate key.
- that the first network element obtains a first intermediate key includes: obtaining, by the key processing module 1302 by using the receiving module 1301, the first intermediate key, where the first immediate key is derived by a security anchor function SEAF based on an anchor key and a network parameter.
- that the key processing module 1302 obtains a first intermediate key includes: obtaining, by the key processing module 1302 by using the receiving module 1301, the first intermediate key, where the first intermediate key is derived by a second network element based on a second intermediate key and a network parameter, and the second intermediate key is an upper-layer key generated after authentication and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- that the key processing module 1302 obtains a first intermediate key includes:
- that the key processing module 1302 obtains a first intermediate key includes:
- the key processing module 1302 further obtains, by using the receiving module 1301, a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by a second network element.
- a next hop key namely, a first NH
- a next hop chaining counter namely, a first NCC
- the key processing module 1302 obtains a second NH and a second NCC based on the first NH and the first NCC.
- the sending module 1303 sends the second NH and the second NCC to the target access network device.
- the security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key.
- That the key processing module 1302 determines a security protection algorithm, and derives the security key based on the security protection algorithm and the first intermediate key includes:
- That the sending module 1303 sends the security key to the target access network device includes: sending, by the sending module, the first key to the target access network device.
- the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system.
- the request includes a security context of the first communications system, and a third intermediate key.
- the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- That the key processing module 1302 obtains a first intermediate key includes: deriving, by the key processing module 1302, the first intermediate key based on the security context of the first communications system, the security context of the second communications system, and the third intermediate key.
- the first network element includes a target access and mobility management function AMF
- the second network element includes a source AMF
- the target AMF is connected to the target access network device
- the source AMF is connected to the source access network device.
- the first network element includes a target security anchor function SEAF
- the second network element includes a source security anchor function SEAF
- the target SEAF is connected to the target access network device
- the source SEAF is connected to the source access network device.
- the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- MME mobility management entity network element
- the key processing module 1302 receives, by using the receiving module 1301, a request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system.
- the key processing module 1302 obtains a security key.
- the security key is used for protecting communication between the user equipment and the target network after the user equipment is handed over from the source access network device to the target access network device.
- the sending module 1303 sends the security key to the target access network device.
- that the MME obtains a security key includes:
- that the key processing module 1302 obtains a security key includes: receiving, by the key processing module 1302 by using the receiving module 1301, a first intermediate key sent by an AMF in the second communications system, where the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; deriving, by the key processing module 1302, the third intermediate key based on the first intermediate key; and deriving, by the key processing module 1302, the security key based on a security context of the second communications system and the third intermediate key.
- All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof.
- the embodiments When implemented by using software, the embodiments may be implemented completely or partially in a form of a computer program product.
- the computer program product includes one or more computer instructions, and when the computer program instructions are loaded and executed on a computer, some or all procedures and functions according to the embodiments of the present invention are generated.
- the computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus.
- the computer instructions may be stored in a computer-readable storage medium, or may be transmitted from a computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared or microwave) manner.
- the computer-readable storage medium may be any usable medium accessible to a computer, or a data storage device, such as a server or a data center, integrating one or more usable media.
- the usable medium may be a magnetic medium (for example, a soft disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid state disk), or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
- This application relates to the field of communications technologies, and in particular, to a security implementation method, a related apparatus, and a system.
- At present, user equipments (such as mobile phones) have been widely used, greatly facilitating people's life. User equipment may directly establish a communication connection to a base station, to perform communication and provide a user with rich communication experience by using a data transmission service provided by a network. In some application scenarios, if user equipment moves from a cell of a base station to a cell of a current base station, a network connection of the user equipment needs to be handed over from the original base station to the current base station before communication can continue to be maintained.
- For a future mobile communication architecture (such as a fifth generation communications system 5G), a network also needs to satisfy a handover requirement of user equipment. Currently, in an existing 3GPP standard for mobile communication, an SA2 architecture group has proposed a rough architecture of a 5G network. In this architecture, an access management function AMF of a core network is usually deployed in a location relatively close to a base station. Therefore, when user equipment hands over between base stations for communication, inter-AMF handover may also be caused.
- However, a current communication security implementation method (an Extensible Authentication Protocol EAP method) is not applicable to security protection for inter-AMF handover in a 5G network. Therefore, how to establish a security mechanism based on a future mobile communication architecture becomes a problem that currently needs to be urgently resolved.
- Embodiments of the present invention provide a security implementation method, a related apparatus, and a system, to implement security protection in an inter-AMF handover scenario, improve security of a future mobile communication architecture, and satisfy a user requirement.
- According to a first aspect, an embodiment of the present invention discloses a security implementation method. The method includes: receiving, by a first network element, a request for handing over user equipment from a source access network device to a target access network device to perform communication; obtaining, by the first network element, a security key, where the security key is used for protecting the communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element; and sending, by the first network element, the security key to the target access network device.
- A second network element is connected to the source access network device, and the second network element and the source access network device are network devices on a source side. The first network element is connected to the target access network device, and the first network element and the target access network device are network devices on a target side.
- During specific implementation, the second network element may be a network device such as a source AMF, a source SEAF, or a source SMF, and the first network element is a corresponding network device such as a target AMF, a target SEAF, or a target SMF.
- The request may carry a security context of the source side. For example, the security context of the source side may include one or more of a key lifetime, a key index, a security capability of UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, and a counter related to key calculation. For example, the request may be a handover request, a path switching request, or the like.
- In this embodiment of the present invention, the obtaining, by the first network element, a security key includes: obtaining, by the first network element, a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; and determining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key.
- The security key may include an access stratum AS key and a non-access stratum NAS key. The AS key is used for protecting communication between the user equipment and an access network device, and the NAS key is used for protecting communication between the user equipment and a core network device (such as an AMF/SEAF/SMF).
- The first network element may obtain the first intermediate key in various manners.
- In a specific embodiment, the first network element obtains the first intermediate key that is derived by the second network element based on a second intermediate key and a network parameter. The second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. For example, the second intermediate key is a key Kamf that originally exists in the second network element, and the key Kamf is obtained by the second network element when the authentication succeeds.
- In a specific embodiment, the first network element receives the second intermediate key sent by the second network element; and the first network element derives the first intermediate key based on the second intermediate key and a network parameter.
- In a specific embodiment, after the user equipment is handed over from the source access network device to the target access network device, and two-way authentication on the user equipment succeeds again, the first network element obtains an anchor key Kseaf; and the first network element derives the first intermediate key based on the anchor key and a network parameter.
- The network parameter may include one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a count value Nonce or a counter or a random number or a sequence number.
- In a specific embodiment of the present invention, the first network element may further obtain a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element; the first network element obtains a pair of {second NH, second NCC} based on a pair of {first NH, first NCC}. In a subsequent step, the first network element may send the pair of {second NH, second NCC}, a second key, and a third key to the target access network device, and the target access network device generates a first key based on the pair of {second NH, second NCC}.
- In a possible embodiment, the security key includes the first key, the second key, and the third key, where the first key is an intermediate key for security protection between user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key.
- The determining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key includes: including, by the security protection algorithm, an NAS confidentiality algorithm identifier and an NAS integrity algorithm identifier; deriving, by the first network element, the first key such as a key KgNB based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a counter or a random number or a sequence number; deriving, by the first network element, the second key such as a key Knasenc based on a second parameter, where the second parameter includes one or more of the first intermediate key, the NAS confidentiality algorithm identifier, and a counter or a random number or a sequence number; and deriving, by the first network element, the third key such as Knasint based on a third parameter, where the third parameter includes one or more of the first intermediate key, the NAS integrity algorithm identifier, and a counter or a random number or a sequence number.
- The sending, by the first network element, the security key to the target access network device includes: sending, by the first network element, the first key to the target access network device.
- In a possible embodiment, the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system. The request includes a security context of the first communications system, and a third intermediate key. The third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- The obtaining, by the first network element, a first intermediate key includes: deriving, by the first network element, the first intermediate key based on the security context of the first communications system, a security context of the second communications system, and the third intermediate key.
- In a possible embodiment, the first network element includes a target access and mobility management function AMF, the second network element includes a source AMF, the target AMF is connected to the target access network device, and the source AMF is connected to the source access network device; or
the first network element includes a target security anchor function SEAF, the second network element includes a source security anchor function SEAF, the target SEAF is connected to the target access network device, and the source SEAF is connected to the source access network device. - In a possible embodiment, the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- In a possible embodiment, the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- Specifically, the MME receives the request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system; the MME obtains the security key, where the security key is used for protecting the communication between the user equipment and the target access network device after the user equipment is handed over from the source access network device to the target access network device; and the MME sends the security key to the target access network device.
- In a possible embodiment, the MME obtains a third intermediate key, where the third immediate key is derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key; and the MME derives the security key based on the security context of the second communications system and the third intermediate key.
- In a possible embodiment, the MME obtains a first intermediate key sent by an AMF in the second communications system, where the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; the MME derives the third intermediate key based on the first intermediate key; and the MME derives the security key based on the security context of the second communications system and the third intermediate key.
- According to a second aspect, an embodiment of the present invention provides a security implementation method, including:
receiving, by a target access network device, a request for handing over user equipment from a source wireless node to a target wireless node to perform communication; receiving, by the target access network device, a first key sent by a core network device, where the first key is an intermediate key for security protection between the user equipment and the target access network device; generating, by the target access network device, a second key based on the intermediate key, where the second key is an intermediate key for security protection between the user equipment and the target wireless node; sending, by the target access network device, the second key to the target wireless node, so that the target wireless node generates a security key based on the second key, where the security key is used for protecting the communication between the user equipment and the target wireless node after the user equipment is handed over from the source wireless node to the target wireless node. - According to a third aspect, an embodiment of the present invention provides a network element. The network element is a first network element. The first network element includes a receiver, a transmitter, a memory, and a processor coupled to the memory. The receiver, the transmitter, the memory, and the processor may be connected by using a bus or in another manner. The transmitter is configured to send data and signaling to an external device. The receiver is configured to receive data and signaling from the external device. The memory is configured to store program code and related data (such as configuration information, a security context, and a key). The
processor 1201 is configured to invoke and run the program code stored in the memory, and perform related steps in the method according to the first aspect. - According to a fourth aspect, an embodiment of the present invention provides a target access network device. The target access network device includes a receiver, a transmitter, a memory, and a processor coupled to the memory. The receiver, the transmitter, the memory, and the processor may be connected by using a bus or in another manner. The transmitter is configured to send data and signaling. The receiver is configured to receive data and signaling. The memory is configured to store program code and related data (such as configuration information, a security context, and a key). The processor is configured to invoke and run the program code stored in the memory, and perform related steps in the method according to the second aspect.
- According to a fifth aspect, an embodiment of the present invention provides a network element. The network element includes a receiving module, a key processing module, and a sending module. The network element is configured to implement the method according to the first aspect.
- According to a sixth aspect, an embodiment of the present invention provides a computer readable storage medium, configured to store code for implementing the method according to the first aspect or the second aspect.
- According to a seventh aspect, an embodiment of the present invention provides a computer software product. When being run in a computer, the computer software product may be configured to implement the method according to the first aspect or the second aspect.
- During implementation of the embodiments of the present invention, in an inter-network-element (for example, inter-AMF handover) implementation process, a communications system may correspondingly generate a security key, and obtain and transmit a security context and a security key on the target side by using a security network element (an SEAF/AMF). The embodiments of the present invention help implement security protection in an inter-AMF handover scenario in a future mobile communication architecture (such as 5G), improve security of the future mobile communication architecture, and satisfy a user requirement.
- The following briefly describes the accompanying drawings required for the background or embodiments.
-
FIG. 1 is a schematic architectural diagram of a mobile communications system according to an embodiment of the present invention; -
FIG. 2 is a schematic diagram of a scenario of an LTE system according to an embodiment of the present invention; -
FIG. 3 is a schematic diagram of a scenario of a 5G system according to an embodiment of the present invention; -
FIG. 4 is a schematic flowchart of a security implementation method according to an embodiment of the present invention; -
FIG. 5 is a schematic flowchart of another security implementation method according to an embodiment of the present invention; -
FIG. 6 is a schematic flowchart of still another security implementation method according to an embodiment of the present invention; -
FIG. 7 is a schematic flowchart of yet another security implementation method according to an embodiment of the present invention; -
FIG. 8 is a schematic flowchart of still yet another security implementation method according to an embodiment of the present invention; -
FIG. 9 is a schematic flowchart of a further security implementation method according to an embodiment of the present invention; -
FIG. 10 is a schematic flowchart of a still further security implementation method according to an embodiment of the present invention; -
FIG. 11 is a schematic diagram of a scenario of a 5G+WLAN system according to an embodiment of the present invention; -
FIG. 12 is a schematic structural diagram of an apparatus according to an embodiment of the present invention; and -
FIG. 13 is a schematic structural diagram of another apparatus according to an embodiment of the present invention. - Technical solutions in the embodiments of the present invention are clearly described in the following with reference to the accompanying drawings.
- For ease of understanding the solutions, a network architecture that may be applied in the solutions in the embodiments of this application is first described as an example with reference to a related accompanying drawing.
FIG. 1 shows a network architecture of future mobile communication. The network architecture includes user equipment, an access network device, and an operator network (for example, a 3GPP 5G network). The operator network further includes a core network and a data network, and the user equipment accesses the operator network by using an access network device. Detailed descriptions are as follows: - User equipment (User Equipment, UE): The UE is a logical entity. Specifically, the UE may be any one of terminal equipment (Terminal Equipment), a communications device (Communication Device), and an Internet of Things (Internet of Things, IoT) device. The terminal equipment may be a smartphone (smart phone), a smartwatch (smart watch), a smart tablet (smart tablet), or the like. The communications device may be a server, a gateway (Gateway, GW), a controller, or the like. The Internet of Things device may be a sensor, an electricity meter, a water meter, or the like.
- Access network (access network, AN): The AN may be also referred to as a radio access network (Radio Access Network, RAN) during specific application, and the RAN includes access network devices and is responsible for the user equipment's access. The RAN may be a base station (such as an NB, an eNB, or a gNB), a Wi-Fi (Wireless Fidelity, Wi-Fi) access point, a Bluetooth access point, or the like.
- Data network (Data network, DN): The DN may be an external network of an operator, or may be a network controlled by an operator, and is configured to provide a business service to a user. The UE may access the operator network so as to access the DN, and use a service provided by the operator or a third party on the DN.
- Core network (core network, CN): As a bearer network, the CN provides an interface to the DN, provides the UE with a communication connection, authentication, management, and policy control, data service bearing, and the like. The CN further includes: an access and mobility management function, a session management function, an authentication server function, a policy control function, an application function, a user plane function, and the like. Related descriptions are specifically as follows:
- Access and mobility management function (Access and Mobility Management Function, AMF): As a control plane network element provided by an operator, the AMF is responsible for access control and mobility management when the UE accesses the operator network, and processes network signaling while serving as an NAS signaling termination.
- Security anchor function (Security Anchor Function, SEAF): The SEAF is connected to the AMF, and serves as a node of a security authentication function. During specific implementation, in terms of physical location, the AMF and the SEAF may be integrated, or the AMF and the SEAF may be separately and independently disposed. In addition, during possible implementation, functions of the AMF and the SEAF may be separately deployed in different network elements, or several functions of the AMF and the SEAF may be disposed in a same network element (for example, the AMF has functions of the SEAF).
- Session management function (Session Management Function, SMF): The SMF is a control plane network element provided by the operator, and is responsible for managing a session of a data packet of the UE.
- Authentication server function (Authentication Server Function, AUSF): The authentication server function AUSF is a control plane network element provided by the operator, and is used for UE authentication. The AUSF may be separately deployed as an independent logical function entity, or may be integrated in a device such as the AMF/SMF.
- Unified data manager (Unified Data Manager, UDM): The UDM is a control plane network element provided by the operator, and is responsible for storing a subscriber permanent identifier (Subscriber Permanent Identifier, SUPI), registration information, a credential (credential), and subscription data of the operator network. The data is used for authentication and authorization when the UE accesses the operator network.
- Application function (Application Function, AF): The AF is configured to store a service security requirement, and provide information about policy determining.
- User plane function (User Plane Function, UPF): The UPF may be a gateway, a server, a controller, a user plane function network element, or the like. The UPF may be disposed inside the operator network, or may be disposed outside the operator network. The UPF is a user plane network element provided by the operator, and is a gateway for communication between the operator network and the DN.
- Policy control function (Policy control Function, PCF): A policy control function is deployed in the PCF, and the policy control function is a function of completing negotiation for a user plane protection mechanism based on a security requirement so as to determine the user plane protection mechanism in a network.
- It needs to be noted that,
FIG. 1 shows logical relationships between the network elements. In practice, some network elements may be separately deployed, or two or more network elements may be integrated in a same entity. For example, the AMF and the SMF may be deployed in a same entity, or the AMF and the SMF may be separately deployed in different entities. -
FIG. 2 shows an application scenario of communication handover in an LTE communications system. The LTE communications system includes three parts: an evolved packet core (Evolved Packet Core, EPC), a base station (Evolved Node B, eNode B), and user equipment. The EPC is responsible for a core network part. The EPC includes a home subscriber server (Home Subscriber Server, HSS) 141 configured to store user subscription information, and a mobility management entity (Mobility Management Entity, MME) for signaling processing and mobility management. The base station is responsible for an access network part. The base station is connected to the core network. As shown in the figure, abase station 121 is connected to anMME 131, and abase station 122 is connected to anMME 132. Uplink communication or downlink communication is performed between the user equipment and the base station by using an LTE air interface technology (such as a Uu interface). - In a specific communication scenario, the user equipment is in communication connection with the
base station 121. If the user equipment moves from alocation 111 to alocation 112, the user equipment may need to hand over a communication connection from thebase station 121 to thebase station 122. After a handover process is completed, the user equipment is in communication connection with thebase station 122, and then communication can continue to be performed. It can be learned that, in this process, thebase station 121 and thebase station 122 are respectively connected to different MMEs, and therefore the foregoing communication handover process is also accompanied with communication handover of the MMEs. -
FIG. 3 shows an application scenario of communication handover in a 5G communications system. The 5G communications system includes user equipment, an access network, and a core network. Refer to the related description of the embodiment inFIG. 1 . The access network includes aRAN device 221 and aRAN device 222. The core network includes a corenetwork device group 231 and a corenetwork device group 232. The access network devices are connected to core network devices. As shown in the figure, theRAN device 221 is connected to an AMF in thecore network device 231, and theRAN device group 222 is connected to an AMF in the corenetwork device group 232. Uplink communication or downlink communication is performed between the user equipment and the access network device by using a 5G air interface technology. - In a specific communication scenario, the user equipment is in communication connection with the
RAN device 221. If the user equipment moves from alocation 211 to alocation 212, the user equipment may need to hand over a communication connection from theRAN device 221 to theRAN device 222. After a handover process is completed, the user equipment is in communication connection with theRAN device 222, and then communication can continue. It can be learned that, in this process, theRAN device 221 and theRAN device 222 are respectively connected to AMFs in different core network device groups, and therefore the foregoing communication handover process is also accompanied with communication handover of the AMFs. - To improve network security of a future mobile communication architecture, and obtain sufficient security assurance on a network side and a user equipment side after inter-AMF handover, an embodiment of the present invention provides a security implementation method. Referring to
FIG. 4 , the method includes, but is not limited to, the following steps. - 1. A source access network device triggers communication handover.
In this embodiment of the present invention, user equipment establishes a communication connection to the source access network device by using an access technology. When the user equipment needs to be handed over from a currently connected source RAN to a target RAN, the source access network device triggers communication handover. The access technology may be a technology such as CDMA2000, wireless local area network (WLAN), fixed access (Fixed access), Worldwide Interoperability for Microwave Access (Worldwide Interoperability for Microwave Access, WiMAX), Long Term Evolution (Long Term Evolution, LTE), or 5G.
In a specific application scenario, when the UE is handed over between AMFs, that is, handed over from a source AMF to a target AMF, a source RAN connected to and managed by the source AMF of the UE also needs to be handed over to a target RAN. There may be a variety of reasons for the handover. For example, there is no Xn interface connection between the source RAN and the target RAN, and when the UE moves from a communication cell of the source RAN to a communication cell of the target RAN, a current communication connection needs to be handed over from the source RAN to the target RAN. For another example, when congestion of a current network causes a communication resource to be insufficient, a currently connected source RAN needs to hand over a communication connection request of the UE to a target RAN whose network status is relatively good. For another example, a current communications system (such as LTE) needs to be handed over to another communications system (such as 5G). - 2. The source access network device sends a first request to a second network element; and the second network element sends a second request to a first network element.
The first request sent by the source access network device to the second network element and the second request sent by the second network element to the first network element may be a same request, or may be different requests. The first request or the second request may carry a security context of a source side. For example, the security context of the source side may include one or more of a key lifetime, a key index, a security capability of UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, and a counter related to key calculation. For example, the first request is a handover request. For example, the second request is a path switching request. For related requests in the following embodiments, refer to the description herein, and details are not described again later.
The second network element is connected to the source access network device, and the second network element and the source access network device are network devices on the source side. The first network element is connected to a target access network device, and the first network element and the target access network device are network devices on a target side.
During specific implementation, the second network element may be a network device such as a source AMF, a source SEAF, or a source SMF, and the first network element is a corresponding network device such as a target AMF, a target SEAF, or a target SMF. - 3. The first network element obtains a security key.
- The security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element. The security key may include an access stratum AS key and a non-access stratum NAS key. The AS key is used for protecting communication between the user equipment and an access network device, and the NAS key is used for protecting communication between the user equipment and a core network device (such as an AMF/SEAF/SMF).
- That the first network element obtains a security key includes: generating, by the first network element, the security key, or obtaining, by the first network element, the security key sent by another network element.
- In this embodiment of the present invention, the first network element may first obtain a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key. For example, the first intermediate key is new Kamf. Then, the first network element determines a security protection algorithm, including a specific security algorithm and a security algorithm identifier, where the identifier may be used for indicating the specific protection algorithm. Then, the first network element derives the security key based on the security protection algorithm and the first intermediate key. The security protection algorithm may include an NAS stratum confidentiality algorithm identifier, an NAS stratum integrity algorithm identifier, an AS stratum confidentiality algorithm identifier, and an AS stratum integrity algorithm identifier.
- The security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, for example, a key KgNB, the second key is an NAS signaling encryption protection key, for example, a key Knasenc, and the third key is an NAS signaling integrity protection key, for example, Knasint.
- Specifically, the first network element may derive the first key based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a count value Nonce or a counter or a random number or a sequence number; derive the second key based on a second parameter, where the second parameter includes one or more of the first intermediate key, an NAS confidentiality algorithm identifier, and a count value Nonce or a counter or a random number or a sequence number; and derive the third key based on a third parameter, where the third parameter includes one or more of the first intermediate key, an NAS integrity algorithm identifier, and a count value Nonce or a counter or a random number or a sequence number. The first network element may store the second key and the third key, and send the first key to an access network device in a subsequent step.
- The first network element may obtain the first intermediate key in various manners.
- In a specific embodiment, the first network element obtains the first intermediate key that is derived by the second network element based on a second intermediate key and a network parameter. The second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. For example, the second intermediate key is a key Kamf that originally exists in the second network element, and the key Kamf is obtained by the second network element when the authentication succeeds.
- In a specific embodiment, the first network element receives the second intermediate key sent by the second network element; and the first network element derives the first intermediate key based on the second intermediate key and a network parameter.
- In a specific embodiment, after the user equipment is handed over from the source access network device to the target access network device, and two-way authentication on the user equipment succeeds again, the first network element obtains an anchor key Kseaf; and the first network element derives the first intermediate key based on the anchor key and a network parameter.
- The network parameter may include one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a count value Nonce or a counter or a random number or a sequence number.
- In a specific embodiment of the present invention, the first network element may further obtain a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element; the first network element obtains a pair of {second NH, second NCC} based on a pair of {first NH, first NCC}. In a subsequent step, the first network element may send the pair of {second NH, second NCC}, the second key, and the third key to the target access network device, and the target access network device generates the first key based on the pair of {second NH, second NCC}.
- 4. The first network element sends the security key to a target access network device, where the sent security key includes a first key.
- 5. The first network element sends a security context to user equipment by using a second network element and an access network device, so that the user equipment may generate the security key based on the security context, where the security context received by the user equipment needs to include only a parameter, for example, a random number RAND, a count value Nonce or a counter, a timestamp, or a related security protection algorithm identifier, that the user equipment side does not have when the network side generates keys related to the security key.
- 6. The user equipment generates the security key based on the security context. In a specific embodiment, the user equipment may generate the security key based on the security context, the network parameter, a locally pre-stored intermediate key, and the like. The security key herein includes an AS key and an NAS key.
- 7. The user equipment and the target access network device complete a subsequent handover process, so that a communication connection of the user equipment is finally handed over from a current source RAN to a target RAN.
- It needs to be noted that, in this embodiment of the present invention and embodiments described later, a security-related message (such as a security context, an intermediate key, a key request, or a key response) transmitted between the source side and the target side, between the source side and a UE side, or between the target side and the UE side may be transmitted in a form of an independent message, or may be carried in another message (such as a handover-related request or response) for transmission, and this is not limited herein in the present invention.
- Referring to
FIG. 5 , an embodiment of the present invention provides another security implementation method. In an application scenario of this method, after UE is authenticated on a network, an anchor key Kseaf may be configured on a UE side and a network side (such as an SEAF). When the UE needs to be handed over from a currently connected source RAN to a target RAN, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The source RAN triggers communication handover.
In this embodiment of the present invention, when the UE is handed over between AMFs, that is, handed over from a source AMF to a target AMF, a source RAN connected to and managed by the source AMF also needs to be handed over to the target RAN. The source RAN can trigger the communication handover. There may be a variety of reasons for the handover. For example, there is no Xn interface connection between the source RAN and the target RAN, and when the UE moves from a communication cell of the source RAN to a communication cell of the target RAN, a current communication connection needs to be handed over from the source RAN to the target RAN. For another example, when congestion of a current network causes a communication resource to be insufficient, a currently connected source RAN needs to hand over a communication connection request of the UE to a target RAN whose network status is relatively good. - 2. The source RAN sends a handover request to a source AMF.
The source RAN sends a Handover Required (Handover Required) message to the source AMF, to notify the source AMF that a user needs to perform handover, where the Handover Required message carries an identifier of the UE. The AMF specifies a bearer used for forwarding data (a message). - 3. The source AMF sends a path switching request to a target AMF.
To implement the communication handover, the source AMF selects a target AMF, and sends a path switching request (Forward Relocation Request) to the target AMF. The path switching request may include a security context of a source side. - 4. The target AMF sends a handover request to the target RAN.
The target AMF sends a Handover Request (Handover Request) message to the target RAN, to request the target RAN to establish a radio network resource, and create, on the target RAN, a context of the UE. After a PDU session (PDU session) is activated, the target AMF may further allocate an identifier of an uplink communication tunnel and an IP address to the PDU session, and sends the PDU session to the target RAN. - 5. The target RAN returns an acknowledgment message of the handover request to the target AMF.
The target RAN sends the acknowledgment message of the handover request to the target AMF. The acknowledgment message includes a PDU session that has been accepted by the target RAN. The target RAN allocates an identifier of a downlink communication tunnel and an IP address of the PDU session, and sends the PDU session to the target AMF. - 6. The target AMF sends a key request to the SEAF.
In this embodiment of the present invention, the SEAF serves as a node for security authentication and key configuration; the AMF and the SEAF may be separately deployed, or may be integrated. When the AMF and the SEAF are separately deployed, there may be one or more SEAFs. To be specific, during the inter-AMF handover, the source AMF and the target AMF may be connected to a same SEAF, or the source AMF and the target AMF may be separately connected to different SEAFs (the source AMF is connected to a source SEAF, and the target AMF is connected to a target SEAF). In this case, the inter-AMF handover is accompanied with inter-SEAF handover. When the AMF and the SEAF are integrated, the AMF and the SEAF may be deployed in a same physical location, but are still two logical entities having different functions; and then the inter-AMF handover is also accompanied with inter-SEAF handover.
In this embodiment of the present invention, to ensure network communication security after the inter-AMF handover, the target AMF sends the key request to the SEAF, to obtain an intermediate key used for generating the security key.
It needs to be noted that, there is no mandatory sequence betweenstep 6 andsteps step 6 may be alternatively placed afterstep 3, or may be placed afterstep 4. This is not limited herein in the present invention.
It needs to be further noted that, in this embodiment of the present invention, the key request is not limited to a separate signaling message; and in a possible implementation, the key request instep 6 may be carried in another interactive message between the target AMF and the SEAF. - 7. The SEAF generates Kamf based on Kseaf and a network parameter.
- The key Kseaf is an anchor key (anchor key). The anchor key is a key generated after authentication, and is an upper-layer key on a serving network. The anchor key may be used for deriving a lower-layer key on the serving network.
- It needs to be noted that, in this embodiment of the present invention, after the UE is authenticated on the network, the SEAF has the key Kseaf. The Kseaf may be permanently stored in the SEAF, or may be temporarily stored in the SEAF. The Kseaf is deleted after the lower-layer key on the network is generated. In the latter case, when the SEAF receives the key request of the target AMF, the SEAF may send a request to an AUSF, and the AUSF generates the Kseaf based on the request, and sends the Kseaf to the SEAF.
- The SEAF generates the new intermediate key Kamf (a first intermediate key) based on the Kseaf and the network parameter, where the Kamf may be used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key.
- The network parameter is a related parameter on the network side. For example, the network parameter may be one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, an AMF setting identifier, and a count value Nonce or a counter or a random number or a sequence number. During specific implementation, the network parameter may further include other parameters. The following briefly describes the network parameter.
- Target side identifier: The target side identifier may be an identifier that can uniquely identify target side information, such as a target-side serving network identifier, a target-side specific cell ID, or a target-side base station ID.
- Slice identifier: The slice identifier is used for uniquely identifying a network slice ID.
- Network access identifier (Network Access Identifier, NAI): The NAI is usually used for uniquely identifying a mobile node.
- Network slice selection assistance information (network slice selection assistance information, NSSAI): The NSSAI may include various identifiers of a slice, and an identifier of a slice-related entity. By providing the NSSAI, a terminal may select and create an instance related to a network slice. One piece of network slice selection assistance information may correspond to one network slice.
- AMF region identifier (AMF Region ID): The AMF Region identifier is an identifier used for distinguishing a region in which an AMF is located.
- AMF setting identifier (AMF Set ID): The AMF Set identifier is an identifier that uniquely identifies an AMF set in an AMF region.
- AMF pointer (AMF Pointer): The AMF pointer is an identifier that uniquely identifies an AMF in an AMF set.
- Globally unique AMF identifier GUAMI: The GUAMI may be used for finally indicating an AMF, and may be specifically: <GUAMI> = <MCC><MNC><AMF region identifier><AMF setting identifier><AMF pointer>, where the MCC indicates a mobile country code (Mobile Country Code), and the MNC indicates a mobile network code (Mobile Network Code).
- Other parameters (Other parameters): In this embodiment of the present invention, other network parameters may further be a timestamp, a registration type (registration type), an AMF ID, an SEAF ID, an NAS count (NAS Count), a security algorithm identifier, a security algorithm type name, a sequence number SQN, and an AK, and may further be lengths of these parameters or a foregoing crucial parameter, or the like. For descriptions of "other parameters" used for generating a related key in the following description, refer to the description herein, and details are not described again later.
- For example, in a specific embodiment, the SEAF derives the intermediate key Kamf based on the Kseaf and the network parameter:
Kamf = KDF (Kseaf, target side ID, slice ID, NAI, NSSAI, AMF region identifier, GUAMI, AMF pointer, AMF setting identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters), where the KDF is a key derivation function. - 8. The SEAF sends the Kamf to the target AMF, and correspondingly, the target AMF obtains the Kamf.
- 9. The target AMF generates a security key based on the Kamf.
- The security key is used for protecting communication between the UE and the target RAN after the UE is handed over from the source RAN to the target RAN. A protocol stack may be divided into an access stratum (Access Stratum, AS) and a non-access stratum (Non-Access Stratum, NAS). Therefore, the security key generated herein needs to include an AS stratum key and an NAS stratum key.
- In a specific embodiment, after receiving the intermediate key Kamf, the target AMF may determine a key protection algorithm based on a preset rule. For example, an algorithm priority list is preset in the target AMF, and the algorithm priority list includes a plurality of algorithm IDs. The target AMF searches the algorithm priority list, and selects a new NAS algorithm based on the algorithm priority list, to obtain an NAS confidentiality algorithm ID and an NAS integrity algorithm ID. The target AMF may alternatively select a new AS algorithm, to obtain an AS confidentiality algorithm ID and an AS integrity algorithm ID.
- For the AS stratum key, the target AMF first generates an intermediate key KgNB. The KgNB is an intermediate key used on a target RAN side, and the KgNB is used for generating, on the target RAN side, a key (such as Krrcenc, Krrcint, Kupenc, or Kupint) related to the AS stratum. In a subsequent step, the KgNB needs to be sent to the target access network device.
- In this embodiment of the present invention, the target AMF specifically derives the KgNB based on the Kamf and a first parameter as follows:
KgNB = KDF (Kamf, target cell identifier, frequency channel number, NAS count value, NAS connection identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). - The NAS count (NAS Count) value is a counter of NAS messages transmitted by the NAS or a counter of NAS data packets, and may be specifically an uplink NAS count value or a downlink NAS count value. The frequency channel number (EARFCN-DL) indicates a downlink communication frequency of a network. The target cell identifier (Target physical cell ID) is used for uniquely identifying a target cell.
- For the NAS stratum key, the target AMF needs to generate Knasenc and Knasint. The Knasenc herein is an NAS signaling encryption protection key on the network side, and the Knasint herein is an NAS signaling integrity protection key on the network side. The target AMF stores the NAS stratum key, and may further send the NAS stratum key to another core network device as required.
- In this embodiment of the present invention, the target AMF specifically derives the Knasenc based on the Kamf, the re-determined key protection algorithm, and a second parameter as follows:
Knasenc = KDF (Kamf, NAS confidentiality algorithm ID, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). - In this embodiment of the present invention, the target AMF specifically derives the Knasint based on the Kamf, the re-determined key protection algorithm, and a third parameter as follows:
Knasint = KDF (Kamf, NAS integrity algorithm ID, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). - 10. The target AMF sends the security key and a security context to the target RAN. Correspondingly, the target RAN obtains the security key and the security context. The security key herein includes the KgNB.
In a specific embodiment, the target AMF also notifies the target RAN of a selected NAS algorithm (which may also include an AS algorithm), so that the target RAN determines a security protection algorithm.
In a possible embodiment, the target AMF may further send the security context to the target RAN. The security context includes information related to network security. Specifically, the security context includes: a key lifetime, a key index, a security capability of the UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, a counter related to key calculation, and the like, and may further include a specific key. The security capability of the UE may be a list of encryption and integrity algorithms supported by the UE, a key length or a key lifetime that is required by the UE, or the like.
After obtaining the security key, the target RAN continues to derive a specific AS stratum key, including the key Krrcenc, the key Krrcint, the key Kupenc, the key Kupint, or the like, based on the security protection algorithm and the intermediate key KgNB. The key Krrcenc is a control plane signaling ciphering key on a radio access side of an air interface. The key Krrcint is a signaling integrity protection key on the radio access side of the air interface. The key Kupenc is a user plane encryption protection key on the radio access side of the air interface. The key Kupint is a user plane integrity protection key on the radio access side of the air interface.
It needs to be noted that, ifstep 6 is placed afterstep 3, in a possible embodiment, the security key and the security context instep 10 may be further placed in the Handover Request message instep 4 during specific implementation. - 11. The target RAN sends a response to the target AMF, to notify the target AMF that the security key is successfully obtained.
- 12. The target AMF sends a path switching response and the security context to the source AMF.
Specifically, to respond to the path switching request instep 3, the target AMF sends an acknowledgment message of the path switching request to the source AMF. The acknowledgment message of the path switching request may carry the security context. - 13. The source AMF sends a handover command and the security context to the source RAN.
Specifically, to respond to the handover request instep 2, the source AMF sends the handover command (HO Command) to the source RAN, to notify the source RAN that a handover preparation is completed. The handover request may carry the security context. - 14. The source RAN sends the handover command and the security context to UE.
Specifically, the source RAN sends the handover command to the UE, to notify the UE that the handover preparation is completed, and to trigger the UE to complete a subsequent handover operation. The handover request may carry the security context. - 15. The UE generates the security key based on the Kseaf and the security context.
It needs to be noted that, the security context received on a UE side needs to include only a parameter that the UE side does not have when keys are generated on the network side, for example, a random number, a timestamp, or a security protection algorithm identifier. The UE may already have, in the foregoing steps, another parameter used for generating the keys.
After the UE is originally authenticated on the network, the Kseaf is already configured for the UE, and the UE further shares the network parameter on the network side in advance. Therefore, for the UE, the UE may similarly generate a new NAS stratum key and a new AS stratum key based on the Kseaf, the network parameter, and the security context. For example, the UE may first generate the Kamf based on the Kseaf, and then generate the AS stratum key (such as the Krrcenc, the Krrcint, the Kupenc, or the Kupint) and the NAS stratum key (such as the Knasenc or the Knasint) based on the Kamf, the network parameter, and the security context. For a specific process, similarly refer to related descriptions instep 7,step 9, and step 10, and details are not described herein again. - 16. The UE and the target RAN complete a subsequent handover process.
- The UE and the target RAN further continue to complete the subsequent handover process. For example, after the UE is successfully synchronized to a target cell, the UE sends a handover acknowledgment message to the target RAN. The target RAN sends a handover notification to the target AMF, to notify the target AMF that the UE is already located in the target cell. The target AMF sends a path switching completion message to the source AMF. Then, the source AMF returns a response to the target AMF. The source AMF sends a UE context release message to instruct the source RAN to release a resource related to the UE. The source RAN returns a release acknowledgment message to the source AMF, and so on. Finally, the communication connection of the UE is handed over from the source RAN to the target RAN.
- It needs to be noted that, in this embodiment of the present invention, when a communications system performs AMF handover, SMFs corresponding to different AMFs may be different. Therefore, SMF handover may also occur in the foregoing process. In this case, security protection of the PDU session also needs to be considered.
- During specific implementation, in
step 7, when the SEAF generates the Kamf, update of a PDU session key needs to be considered on a target side. Therefore, when the SEAF generates the Kamf, the SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key. Specifically, a key Left K is pre-stored in the AUSF. Therefore, the AUSF may specifically generate the new PDU session key Ksmf based on the Left K, and UE-related information and session information (such as a session ID and slice information) that are sent by the source AMF as follows:
Ksmf = KDF (Left K, NAI, NSSAI, slice ID, AMF-related parameter, SMF-related parameter, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). - Then, the AUSF sends the Ksmf to the SEAF or the target AMF, the SEAF or the target AMF forwards the Ksmf to the target SMF and the UE, and the target SMF/the UE uses the Ksmf to update the PDU session key.
- It can be learned that, during implementation of this embodiment of the present invention, in an implementation process of inter-AMF handover, the communications system may correspondingly generate the security key, and obtain and transmit the security context and the security key of the target side by using a security network element SEAF/AMF or the like. For the network, the security key of the target side is generated by a network element (such as the SEAF/target AMF) on the target side. Therefore, the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication. The source RAN cannot obtain the security key used by the target RAN, and cannot decode communication information between the target RAN and the UE, thereby implementing forward security of network communication.
- Referring to
FIG. 6 , an embodiment of the present invention provides another security implementation method. In an application scenario of this method, after UE is authenticated on a network, first Kamf may be configured on a UE side and a network side (such as a source AMF/source SEAF). When the UE needs to be handed over from a currently connected source RAN to a target RAN, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The source RAN triggers communication handover. Refer to the description in
step 1 inFIG. 5 . - 2. The source RAN sends a handover request to the source AMF/source SEAF.
In this embodiment of the present invention, the SEAF serves as a node for security authentication and key configuration; the source AMF and the source SEAF may be separately deployed, or may be integrated. When the source AMF and the source SEAF are separately deployed, the source AMF is connected to the source SEAF. In this case, inter-AMF handover is accompanied with inter-SEAF handover. When the source AMF and the source SEAF are integrated, the source AMF and the source SEAF may be deployed in a same physical location, but are still two logical entities having different functions; and then the inter-AMF handover is also accompanied with the inter-SEAF handover. - 3. The source AMF/source SEAF derives second Kamf based on the first Kamf.
After the source AMF/SEAF receives the handover request sent by the source RAN, the source SEAF/AMF generates a second intermediate key Kamf (the second Kamf for short) based on a pre-stored first intermediate key Kamf (the first Kamf for short) and a network parameter. For example, the network parameter may be one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, a globally unique AMF identifier GUAMI, an AMF pointer, an AMF set identifier, and a count value Nonce or a random number or a sequence number. During specific implementation, the network parameter further includes other parameters.
In a specific embodiment, the source SEAF/AMF specifically derives the second Kamf based on the pre-stored first Kamf and the network parameter as follows:
Second Kamf = KDF (first Kamf, target side ID, slice ID, NAI, NSSAI, AMF region identifier, GUAMI, AMF pointer, AMF setting identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters).
It needs to be noted that, when the source AMF and the source SEAF are separated from each other, that the source AMF/source SEAF derives second Kamf based on the first Kamf may include the following cases:- Case 1: The source AMF derives the second Kamf based on the preset first Kamf.
- Case 2: The source SEAF derives the second Kamf based on the preset first Kamf, and sends the second Kamf to the source AMF.
- 4. The source AMF/source SEAF sends a path switching request and the second Kamf to a target AMF/target SEAF.
In this embodiment of the present invention, the target AMF and the target SEAF may be separately deployed, or may be integrated. When the target AMF and the target SEAF are separately deployed, the target AMF is connected to the target SEAF. In this case, inter-AMF handover is accompanied with inter-SEAF handover. When the target AMF and the target SEAF are integrated, the target AMF and the target SEAF may be deployed in a same physical location, but are still two logical entities having different functions; and then the inter-AMF handover is also accompanied with the inter-SEAF handover.
In a specific embodiment, the source AMF/source SEAF sends a path switching request to the target AMF/target SEAF, where the path switching request carries the second Kamf.
In another specific embodiment, the source AMF/source SEAF respectively sends the path switching request and the second Kamf to the target AMF/target SEAF. - 5. The target AMF/target SEAF sends a handover request to the target RAN.
- 6. The target RAN feeds back an acknowledgment message of the handover request to the target AMF/target SEAF.
- 7. The target AMF/target SEAF generates a security key based on the second Kamf.
The security key is used for protecting communication between the UE and the target RAN after the UE is handed over from the source RAN to the target RAN. The security key generated herein includes an AS stratum key and an NAS stratum key.
In this embodiment of the present invention, after receiving the intermediate key Kamf, the target AMF/target SEAF may determine an NAS confidentiality algorithm ID and an NAS integrity algorithm ID based on a preset rule, and the target AMF/target SEAF derives KgNB based on the first Kamf and a first parameter, derives Knasenc based on the first Kamf, a key protection algorithm, and a second parameter, and derives Knasint based on the first Kamf, the key protection algorithm, and a third parameter. The target AMF/target SEAF may store the Knasenc and the Knasint. For a specific operation, similarly refer to step 9 in the embodiment inFIG. 5 , and details are not described herein again.
It needs to be noted that, there is no mandatory sequence betweenstep 7 andsteps step 6 may be alternatively placed afterstep 4, or may be placed afterstep 5. This is not limited herein in the present invention.
It needs to be further noted that, when the target AMF and the target SEAF are separated from each other, that the target AMF/target SEAF generates a security key based on the second Kamf may include the following cases:- Case 1: The target AMF derives the security key based on the preset second Kamf.
- Case 2: The target SEAF derives the security key based on the preset second Kamf, and sends the security key to the target AMF.
- 8. The target AMF/target SEAF sends the security key and a security context to the target RAN. The sent security key includes the KgNB. For a specific operation, similarly refer to step 10 in the embodiment in
FIG. 5 , and details are not described herein again. - 9. The target RAN feeds back a response to the target AMF/target SEAF, to notify the target AMF/target SEAF that the security key is successfully obtained.
- 10. The target AMF/target SEAF feeds back a path switching response and the security context to the source AMF/source SEAF.
Specifically, to respond to the path switching request instep 4, the target AMF sends an acknowledgment message of the path switching request to the source AMF. The acknowledgment message of the path switching request may carry the security context. - 11. The source AMF/source SEAF feeds back a handover command and the security context to the source RAN. Specifically, to respond to the handover request in
step 2, the source AMF sends the handover command (HO Command) to the source RAN, to notify the source RAN that a handover preparation is completed. The handover request may carry the security context. - 12. The source RAN sends the handover command and the security context to UE.
Specifically, the source RAN sends the handover command to the UE, to notify the UE that the handover preparation is completed, and to trigger the UE to complete a subsequent handover operation. The handover request may carry the security context. - 13. The UE generates the security key based on the first Kamf and the security context.
- It needs to be noted that, the security context received on a UE side needs to include only a parameter that the UE side does not have when keys are generated on the network side, for example, a random number, a timestamp, or a security protection algorithm identifier. The UE may already have, in the foregoing steps, another parameter used for generating the keys.
- After the UE is originally authenticated on the network, the first Kamf is already configured for the UE, and the UE has further shared the network parameter on the network side in advance. Therefore, it may be understood that, for the UE, the UE may similarly generate a new NAS stratum key and a new AS stratum key based on the first Kamf, the network parameter, and the security context. The UE and the target RAN complete a subsequent handover process.
- It needs to be noted that, in the embodiment in
FIG. 6 , in a possible implementation,step 3 may be canceled. Instep 4, the source AMF/source SEAF sends the first Kamf to the target AMF/target SEAF, and afterstep 4, the target AMF/target SEAF generates the second Kamf based on the first Kamf. - It needs to be further noted that, in this embodiment of the present invention, when a communications system performs AMF handover, SMFs corresponding to different AMFs may be different. Therefore, SMF handover may also occur in the foregoing process. In this case, security protection of a PDU session also needs to be considered. During specific implementation, in
step 7, when the target AMF/target SEAF generates the security key based on the second Kamf, update of a PDU session key needs to be considered on a target side. For example, the target AMF/target SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key. Specifically, a key Left K is pre-stored in the AUSF. Therefore, the AUSF may generate the new PDU session key Ksmf based on the Left K, and UE-related information and session information (such as a session ID and slice information) that are sent by the source AMF/source SEAF. - It can be learned that, during implementation of this embodiment of the present invention, in an implementation process of inter-AMF handover, the communications system may correspondingly generate the security key, and obtain and transmit the security context and the security key of the target side by using a security network element SEAF/AMF or the like. Derivation of a lower-layer key comes from derivation of the first intermediate key Kamf by the source AMF/source SEAF, and a source AMF/source SEAF side generates and transmits a security context of the target side. For the network, the target RAN cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- Referring to
FIG. 7 , an embodiment of the present invention provides another security implementation method. When UE needs to be handed over from a currently connected source RAN to a target RAN, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The source RAN triggers communication handover.
- 2. The source RAN sends a handover request to a source AMF/source SEAF.
- 3. The source AMF/source SEAF sends a path switching request to a target AMF/target SEAF.
- 4. The target AMF/target SEAF sends a handover request to the target RAN.
- 5. The target RAN feeds back an acknowledgment message of the handover request to the target AMF/target SEAF.
- 6. The target AMF/target SEAF determines a local security policy.
The security policy may be preset in a local cache, or may be stored in another security network element (such as a PCF, a UDM, or an AUSF). The security policy instructs to determine whether the handover of the UE to the target RAN needs to be authenticated again. The target AMF/target SEAF queries the local cache for the security policy, or queries the another security network element for the security policy.
For example, the security policy may be determined based on the following implementation condition: a key on the source AMF/source SEAF side has expired or is no longer secure, or a security capability of the UE needs to be obtained again, but is not obtained by using a security context transmitted by the source AMF/source SEAF side. Then, when a current status satisfies the implementation condition indicated by the security policy, the target AMF/target SEAF determines that the local security policy indicates that the handover of the UE to the target RAN needs to be authenticated again. Therefore, the target AMF/target SEAF continues to perform a subsequent step. - 7. The target AMF/target SEAF feeds back a path switching response to the source AMF/source SEAF, where the path switching response does not carry a security context.
- 8. The source AMF/source SEAF feeds back a handover command to the source RAN, where the handover command does not carry a security context.
- 9. The source RAN sends the handover command to the UE, where the handover command does not carry a security context.
- 10. The UE and the target RAN complete a subsequent handover process.
- 11. The UE and an AUSF or a UDM perform two-way authentication.
After a communication connection of the UE is handed over from source RAN to the target RAN, the UE and an authentication network element perform two-way authentication, to verify validity of an identity of the UE. The authentication network element may be the AUSF, or may be the UDM. After the two-way authentication succeeds, both a UE side and a target AMF/target SEAF side obtain a new anchor key Kseaf. - 12. The target AMF/target SEAF generates a security key based on new Kseaf.
It may be understood that, the target AMF/target SEAF generates the security key (used for generating KgNB of an AS stratum key, and an NAS stratum key) based on the new Kseaf, a network parameter shared in advance, and a security context, and stores the NAS stratum key. For a detailed process, refer to the related descriptions instep 7,step 9, and step 10 in the embodiment inFIG. 5 , and details are not described herein again.
It needs to be noted that, the security context herein may be a result of obtaining an intersection of the security context transmitted from the source AMF/source SEAF side and a security context of the target AMF/target SEAF side. For example, the finally obtained security context includes: an encryption algorithm ID, an integrity algorithm ID, the security capability of the user equipment, and the like. - 13. The target AMF/target SEAF sends the security key to the target RAN, where the sent security key includes KgNB.
- 14. The UE generates the security key based on the new Kseaf. There is no mandatory sequence between this step and steps 12 and 13.
- It may be understood that, the UE may alternatively generate the security key based on the new Kseaf, the network parameter shared in advance, and the security context. For a detailed process, refer to the related descriptions in
step 7,step 9, and step 10 in the embodiment inFIG. 5 , and details are not described herein again. - It needs to be noted that, for a step not described in detail in the embodiment in
FIG. 7 , similarly refer to the related descriptions in the embodiments inFIG. 5 andFIG. 6 . - It needs to be further noted that, in this embodiment of the present invention, when a communications system performs AMF handover, SMFs corresponding to different AMFs may be different. Therefore, SMF handover may also occur in the foregoing process. In this case, security protection of a PDU session also needs to be considered. Specifically, after the two-way authentication described in
step 11 succeeds, the AUSF similarly obtains a new key Left K, and the AUSF may generate a new PDU session key Ksmf, and send the new PDU session key Ksmf to an SMF. Details are not described herein again. - Authentication is performed again on a target side to obtain a new protection key, and forward security and backward security are satisfied. A source side does not need to transmit a key, and a protection key does not need to be generated based on an existing key either.
- It can be learned that, during implementation of this embodiment of the present invention, after inter-AMF handover ends, the communications system may obtain a new protection key after the two-way authentication is performed again, and the source network side does not need to transmit an intermediate key, and an intermediate key does not need to be generated based on an original key either. For the network, the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication. The source RAN cannot obtain the security key used by the target RAN, and cannot decode communication information between the target RAN and the UE, thereby implementing forward security of network communication.
- Referring to
FIG. 8 , an embodiment of the present invention provides another security implementation method. In an application scenario of this method, after UE is authenticated on a network, a first key Kamf may be configured on a UE side and a source AMF/source SEAF, and first KgNB is configured on a source RAN side. When the UE needs to be handed over from a currently connected source RAN to a target RAN, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The source RAN triggers communication handover.
- 2. The source RAN sends a handover request to the source AMF/source SEAF.
- 3. The source AMF/source SEAF derives second Kamf based on the first Kamf. For a detailed derivation process, refer to the description of
step 3 in the embodiment inFIG. 6 . - 4. The source AMF/source SEAF sends a path switching request, the second Kamf, a first NH, and a first NCC to a target AMF/target SEAF.
In this embodiment of the present invention, a key KeNB is associated with an NH parameter and an NCC parameter, where NH indicates a next hop (Next hop) key, and NCC indicates a next hop chaining counter (Next Chain counter). Both the KeNB and the NH may be derived from another intermediate key (such as Kasme). In an initial establishment process, the KeNB is directly derived from the Kasme, and a value of the NCC is 0. Subsequently, when the KeNB needs to be updated, the KeNB may be updated based on a pair of {NH, NCC}.
In a specific embodiment, the source AMF/source SEAF determines a pair of {first NH, first NCC}, and separately sends {first NH, first NCC, second Kamf} and the path switching request to the target AMF/target SEAF.
In another specific embodiment, the source AMF/source SEAF determines a pair of {first NH, first NCC}, and separately sends the pair of {first NH, first NCC} and the second Kamf to the target AMF/target SEAF by using the path switching request. - 5. The target AMF/target SEAF generates a first security key based on the second Kamf, the first NH, and the first NCC.
During specific implementation, the target AMF/target SEAF stores the received pair of {first NH, first NCC}, and derives a pair of {second NH, second NCC} based on the pair of {first NH, first NCC} and the second Kamf. A specific derivation process is as follows:- second NH = KDF (second Kamf, first NH); and
- second NCC =
first NCC+ 1.
In addition, the target AMF/target SEAF further specifically derives Knasenc based on the second Kamf, a re-determined key protection algorithm, and a second parameter as follows:
Knasenc = KDF (second Kamf, NAS confidentiality algorithm ID, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters).
The target AMF/target SEAF further specifically derives Knasint based on Kamf, the key protection algorithm, and a third parameter as follows:
Knasint = KDF (second Kamf, NAS integrity algorithm ID, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters).
It may be understood that, the first security key includes the pair of {second NH, second NCC}, the key Knasenc, and the key Knasint. Subsequently, the target AMF/target SEAF stores the key Knasenc and the key Knasint, and sends the pair of {second NH, second NCC} to an access network. - 6. The target AMF/target SEAF sends a handover request and a pair of {second NH, second NCC} that is in the first security key to the target RAN, and correspondingly, the target RAN obtains and stores the pair of {second NH, second NCC}.
- 7. The target RAN sends an acknowledgment message of the handover request to the target AMF/target SEAF, to notify the target AMF/target SEAF that the pair of {second NH, second NCC} that is in the first security key has been successfully obtained.
- 8. The target RAN generates a second security key based on the first security key.
During specific implementation, the target RAN specifically generates second KgNB based on the pair of {second NH, second NCC}, and a parameter such as a physical identifier of the target RAN as follows:
second KgNB = KDF (second NH, physical identifier, other parameters).
It may be understood that, after obtaining the second KgNB, the target RAN may continue to derive specific AS stratum keys such as a key Krrcenc, a key Krrcint, a key Kupenc, and a key Kupint based on a security protection algorithm and the second KgNB. - 9. The target AMF/target SEAF feeds back a path switching response and a security context to the source AMF/source SEAF.
- 10. The source AMF/source SEAF feeds back a handover command and the security context to the source RAN.
- 11. The source RAN feeds back the handover command and the security context to UE.
- 12. The UE generates a security key based on the first Kamf and the security context.
It needs to be noted that, the security context received on a UE side needs to include only a parameter that the UE side does not have when keys are generated on a network side, for example, a random number, a timestamp, a security protection algorithm identifier, or {first NH, first NCC}. The UE may already have, in the foregoing steps, another parameter used for generating the keys.
It may be understood that, after the UE is originally authenticated on the network, the first Kamf is already configured for the UE, and the UE has shared a network parameter on the network side in advance. Therefore, the UE may generate an NAS stratum key based on the first Kamf, the network parameter, and the security context. In addition, the UE may further obtain {second NH, second NCC} based on {first NH, first NCC} and the first Kamf, generate the second KgNB based on {second NH, second NCC}, and the parameter such as the physical identifier of the target RAN, and then derive a specific AS stratum key based on the second KgNB. - 13. The UE and the target RAN complete a subsequent handover process.
- It can be learned that, during implementation of this embodiment of the present invention, in an implementation process of inter-AMF handover, a target side (such as the target RAN or the target AMF/target SEAF) generates a security key of the target side based on the keys KgNB and Kamf of a source side (such as the source RAN or the source AMF/source SEAF). For the network, the target RAN cannot obtain the security key used by the source RAN, and cannot decode communication information between the source RAN and the UE, thereby implementing backward security of network communication.
- It needs to be noted that, in some of the foregoing embodiments of the present invention, when a communications system performs AMF handover, SMFs corresponding to different AMFs may be different. Therefore, SMF handover may also occur in the foregoing process. In this case, security protection of a PDU session also needs to be considered.
- In an AMF handover procedure, update of a PDU session key needs to be considered on the target side. During specific implementation, the target AMF/target SEAF sends indication information to the AUSF, to trigger the AUSF to generate a new PDU session key. Specifically, a key Left K is pre-stored in the AUSF. Therefore, the AUSF may specifically generate the new PDU session key Ksmf based on the Left K, and UE-related information and session information (such as a session ID and slice information) that are sent by the target AMF/target SEAF:
Ksmf = KDF (Left K, NAI, NSSAI, slice ID, AMF-related parameter, SMF-related parameter, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). - Then, the AUSF sends the Ksmf to the SEAF or the target AMF, the SEAF or the target AMF forwards the Ksmf to the target SMF and the UE, and the target SMF/the UE uses the Ksmf to update the PDU session key.
- The security implementation method provided in this embodiment of the present invention not only may be applied to a scenario of inter-RAN/inter-AMF handover in a same communications system, but also may be applied to a scenario of handover between NodeBs (an eNB and a gNB) or between access and management network elements (an MME and an AMF) in different communications systems. Referring to
FIG. 9 , an embodiment of the present invention provides another security implementation method. The method may be applied to handover processes in different communications systems. For example, UE originally establishes a communication connection in a first communications system, and later the UE needs to hand over the communication connection to a second communications system (for example, a mobile phone is handed over from an LTE communications system to a 5G communications system) based on a user requirement or a current network status. In a possible implementation, the first communications system (the LTE communications system) includes: an eNB located on an access network, an MME and an HSS located on a core network, and the like. The second communications system (the 5G communications system) includes: a gNB located on the access network, a target AMF/target SEAF and an AUSF located on the core network, and the like. When the UE needs to be handed over from the currently connected eNB to the gNB, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The eNB triggers communication handover.
Specifically, the eNB may trigger the communication handover based on factors such as a requirement of the UE, motion of the UE, and a current network status. - 2. The eNB sends a handover request to the MME.
The eNB sends a Handover Required (Handover Required) message to the MME, to notify the MME that a user needs to perform handover, where the Handover Required message carries an identifier of the UE. - 3. The MME sends a path switching request, a source system security context, and an intermediate key Kasme to the target AMF/target SEAF.
The source system security context is a security context of the first communications system. For example, the security context of the first communications system includes: a lifetime of a security-related key in the first communications system, a key index, a security capability of the UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, and a counter related to key calculation, and may also include a specific key. The security capability of the UE may be a list of encryption and integrity algorithms supported by the UE, a key length or a key lifetime that is required by the UE, or the like.
The intermediate key Kasme is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
In a specific embodiment, the path switching request sent by the MME to the AMF/SEAF on a target side carries the security context of the first communications system and the intermediate key Kasme.
In another specific embodiment, the MME separately sends the path switching request, the security context of the first communications system, and the intermediate key Kasme to the target AMF/SEAF. - 4. The target AMF/target SEAF obtains Kamf based on the Kasme.
In a specific embodiment, the AMF/SEAF derives the Kamf based on the intermediate key Kasme and a network parameter. An example is as follows:
Kamf = KDF (Kamf, target side ID, slice ID, NAI, NSSAI, AMF region identifier, GUAMI, AMF pointer, AMF setting identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters).
In addition, during specific implementation, the AMF/SEAF may further derive the Kamf by using the Kasme, the security context of the first communications system (for example, by using the security capability of the UE), the network parameter, and the like. - 5. The target AMF/target SEAF generates a security key based on the Kamf.
In a specific embodiment, the target AMF/target SEAFF may determine a key protection algorithm of the second communications system based on a preset rule. For example, a 5G algorithm priority list is preset in the target AMF/target SEAF, and the algorithm priority list includes a plurality of algorithm IDs. The target AMF searches the algorithm priority list, and selects a 5G NAS algorithm based on the algorithm priority list, to obtain an NAS confidentiality algorithm ID and an NAS integrity algorithm ID.
It may be understood that, the target AMF/target SEAF may derive an AS stratum key and an NAS stratum-related key, for example, KgNB, Knasenc, and Knasint, based on the Kamf; and the target AMF/target SEAF stores the Knasenc and the Knasint. For a detailed process, refer to the description ofstep 9 inFIG. 5 , and details are not described herein again. - 6. The target AMF/target SEAF sends a handover request and the security key to the gNB, where the security key sent herein includes KgNB. Correspondingly, the gNB obtains the KgNB.
In a specific embodiment, the target AMF/target SEAF sends the handover request to the gNB, where the handover request carries the key KgNB.
It needs to be noted that, if the count value Nonce or the counter is used in the foregoing process of generating the key instep 4 andstep 5, the handover request further carries the count value Nonce or the counter, so that a UE side can correctly generate the key.
In this embodiment of the present invention, when the second communications system supports user plane integrity protection, the gNB needs to determine whether a user plane integrity protection key needs to be generated and enabled. Specifically, the gNB may determine this based on a pre-stored policy, or the gNB may determine this by negotiation with a network element such as an SMF or an AMF, or the gNB may determine this based on a security context of the second communications system, where the security context includes information indicating whether integrity is enabled. When determining that the user plane protection is supported, the gNB continues to generate a subsequent AS stratum key such as the key Krrcenc, the key Krrcint, the key Kupenc, or the key Kupint based on the KgNB. - 7. The gNB sends an acknowledgment message of the handover request to the target AMF/target SEAF.
- 8. The target AMF/target SEAF sends a path switching request and a security context to the MME.
If the count value Nonce or the counter is used in the foregoing process of generating the key, the security context includes the count value Nonce or the counter. - 9. The MME sends a handover command and the security context to the eNB.
- 10. The eNB sends the handover command and the security context to UE.
- 11. The UE generates the security key.
It needs to be noted that, the security context received on a UE side needs to include only a parameter that the UE side does not have when keys are generated on a network side, for example, a random number (the count value Nonce or the counter), a timestamp, or a 5G-related security protection algorithm identifier. The UE may already have, in the foregoing steps, another parameter used for generating the keys.
The UE may obtain the Kasme from the first communications system. Therefore, for the UE, the UE may similarly generate a new NAS stratum key and a new AS stratum key based on the Kasme, the network parameter, the security context, and the like. For example, the UE may first generate the Kamf based on the Kasme, and then generate the AS stratum key (such as the Krrcenc, the Krrcint, the Kupenc, or the Kupint) and the NAS stratum key (such as the Knasenc or the Knasint) based on the Kamf, the network parameter, and the security context. Details are not described herein again. - 12. The UE and the gNB complete a subsequent handover process, so that a communication connection of the UE is finally handed over from the eNB to the gNB.
- It needs to be noted that, in the embodiment in
FIG. 9 , in a possible implementation, the Kasme may not be transmitted instep 3, andstep 4 may be canceled. Then, beforestep 5, the AUSF generates a new Kseaf of the target side based on a CK/an IK of the target side and a source system security context that is transmitted by the MME, and sends the new Kseaf to the target AMF/target SEAF. Then, the target AMF/target SEAF generates a subsequent key, such as the Kamf, based on the new Kseaf and a security protection algorithm of the first communications system (such as 5G). - It needs to be further noted that, in a possible implementation, the Kasme may not be transmitted in
step 3, andstep 4 may be canceled. Then, beforestep 5, the HSS calculates a key Kite based on a parameter of the HSS, for example, a CK/an IK or a NONCE, and transmits the Kite to the AUSF, and then the AUSF generates the Kseaf and Left K based on the Klte. Specifically, Kseaf = KDF (Klte, serving network name identifier, count value Nonce or counter or random number Random or sequence number Sequence number, other parameters). The AUSF sends the Kseaf to the target AMF/target SEAF, and then the target AMF/target SEAF generates a subsequent key, such as the Kamf, based on the Kseaf and the security protection algorithm of the first communications system (such as 5G). - It can be learned that, during implementation of this embodiment of the present invention, in an implementation process of inter-communications-system handover, a communications system on the target side may correspondingly generate a security key by using an intermediate key and a security context of a communications system on a source side, to perform security protection on the communication in the communications system after the handover. For the network, the communications system on the target side cannot obtain the security key used by the communications system on the source side, and cannot decode communication information between the communications system on the source side and the UE, thereby implementing backward security of network communication.
- Referring to
FIG. 10 , an embodiment of the present invention provides another security implementation method. The method may be applied to handover processes in different communications systems. For example, UE originally establishes a communication connection in a second communications system, and later the UE needs to hand over the communication connection to a first communications system (for example, a mobile phone is handed over from a 5G communications system to an LTE communications system) based on a user requirement and a current network status. In a possible implementation, the first communications system (the LTE communications system) includes: an eNB located on an access network, an MME and an HSS located on a core network, and the like. The second communications system (the 5G communications system) includes: a gNB located on the access network, a target AMF/target SEAF and an AUSF located on the core network, and the like. When the UE needs to be handed over from the currently connected gNB to the eNB, network security may be implemented by using the following method. The method includes, but is not limited to, the following steps. - 1. The gNB triggers communication handover.
Specifically, the eNB may trigger the communication handover based on factors such as a requirement of the UE, motion of the UE, and a current network status. - 2. The gNB sends a handover request to a source AMF/source SEAF, to notify the source AMF/source SEAF that a user needs to perform handover.
- 3. The source AMF/source SEAF sends a path switching request and a source system security context to the MME, and the MME sends a handover request and the source system security context to the HSS.
The source system security context is a security context of the second communications system. For example, the security context of the second communications system includes: a lifetime of a security-related key in the second communications system, a key index, a security capability of the UE, an integrity algorithm, an integrity algorithm identifier, an encryption algorithm, an encryption algorithm identifier, and a counter related to key calculation, and may also include a specific key and information indicating whether integrity is enabled.
In a specific embodiment, the path switching request sent by the source AMF/source SEAF to the MME carries the security context. - 4. The HSS feeds back a path switching request response to the MME, and the MME feeds back the path switching request response to the source AMF/source SEAF.
- 5. The AUSF sends a CK and an IK to the HSS.
In a specific embodiment of the present invention, to satisfy a security requirement of an LTE system after the handover, the AUSF may be configured to: generate an integrity key (Integrity Key, IK) and a ciphering key CK (Cipher Key, CK) that are needed by the HSS, and send the CK and the IK to the HSS. - 6. The HSS sends a response to the AUSF, to notify the AUSF that the CK and the IK are successfully received.
- 7. The HSS generates Kasme based on the CK and the IK.
In a specific embodiment, that the HSS further derives the intermediate key Kasme that suits the first communications system based on the obtained CK and IK may be specifically:
Kasme = KDF (CK, IK, serving network name identifier, sequence number SQN, other parameters). - 8. The HSS sends the generated Kasme to the MME, and correspondingly the MME obtains the Kasme.
- 9. The MME generates a security key based on the Kasme and the security context.
In a specific embodiment, the MME may generate the security key (including a key KeNB and an NAS key) based on a parameter, such as the Kasme, the security capability of the UE, and a security capability of a network side, and the MME may store the NAS key. For example, the security capability of the UE may be a list of encryption and integrity algorithms supported by the UE, and a key length or a key lifetime that is required by the UE. For example, the security capability of the network side may be a list of encryption and integrity algorithms that are supported by a network and configured in advance in a network device on the network side, a priority list of encryption and integrity algorithms supported by an operator, a key length or a key lifetime supported by the network device/the operator, or the like.
During specific implementation, a process of generating the key KeNB may be:
KeNB = KDF (new NAS count value, NAS count value length, algorithm identifier, other parameters). - 10. The MME sends an S1 path switching request and the security key to the eNB, where the sent security key includes the KeNB.
An S1 interface is an interface between the eNB and the MME. In a specific embodiment, the MME sends a path switching request to the eNB by using the S1 interface, where the path switching request may carry the KeNB. In another specific embodiment, the MME separately sends a path switching request and the KeNB to the eNB by using the S1 interface. - 11. The eNB feeds back an S1 path response to the MME, to notify the MME that the message has been successfully received.
- 12. The eNB does not calculate a user plane integrity key.
In this embodiment of the present invention, when the first communications system (LTE) does not support user plane integrity protection, the eNB determines that a user plane integrity protection key does not need to be generated and enabled. In this case, if the received security key includes the user plane integrity protection key, the eNB does not enable the key. In addition, in a process in which the eNB generates an AS key based on the received key KeNB, a user plane integrity protection key of an AS is no longer generated. - 13. The source AMF/source SEAF feeds back a handover command and the security context to the gNB.
- 14. The gNB sends the handover command and the security context to the UE.
- 15. The UE generates a security key.
It needs to be noted that, the security context received by a UE side needs to include only a parameter that the UE side does not have when keys are generated on the network side, for example, a random number (the count value Nonce or the counter), a timestamp, or an LTE-related security protection algorithm identifier. The UE may already have, in the foregoing steps, another parameter used for generating the keys. The UE may derive Kasme based on preset Kamf, and obtain a corresponding AS stratum key and a corresponding NAS stratum key based on the Kasme, a network parameter, the security context, and the like. - 16. The UE and the eNB complete a subsequent handover process, so that a communication connection of the UE is finally handed over from the gNB to the eNB.
- It should be noted that, in the embodiment in
FIG. 10 , in a possible implementation,step 5 andstep 6 may be canceled. Instep 7, the HSS may generate the intermediate key Kasme based on the pre-stored CK/IK and the received source system (the second system) security context. Instep 9, the MME may generate the KeNB and the NAS key based on the Kasme and the security protection algorithm (such as 5G) of the first system. - It needs to be further noted that, in another possible implementation, the AMF may send the Kamf to the MME, and the MME may derive the Kasme based on the Kamf in the following manner:
- first derivation: Kasme = KDF (Kamf, target side ID, serving network name identifier, count value Nonce or counter or random number Random or sequence number Sequence number, NAS count); and
- second derivation: Kasme = KDF (Kamf, Kasme in the first derivation, other parameters).
- It can be learned that, during implementation of this embodiment of the present invention, in an implementation process of inter-communications-system handover, a communications system on the target side may correspondingly generate a security key by using an intermediate key and a security context of a communications system on a source side, to perform security protection on the communication in the communications system after the handover. For the network, the communications system on the target side cannot obtain the security key used by the communications system on the source side, and cannot decode information communicated between the communications system on the source side and the UE, thereby implementing backward security of network communication.
- Referring to
FIG. 11 , based on a same invention idea, an embodiment of the present invention provides an application scenario of communication handover in a communications system that combines a 5G network and a WLAN network. The 5G network includes an access network and a core network. The access network includes aRAN device 331 and aRAN device 332, and the core network includes a corenetwork device group 341. The access network devices are separately connected to core network devices by using an N2 interface. The WLAN network includes awireless node 321, awireless node 322, and user equipment that establishes a communication connection to a wireless node (the wireless node may also be considered as a part of the access network). The wireless node may be separately connected to theRAN device 331 and theRAN device 332 by using an Xw interface. Uplink communication or downlink communication is performed between the user equipment and the wireless node by using a WLAN technology. - In a specific communication scenario, the user equipment is in communication connection with the
wireless node 321. If the user equipment moves from alocation 311 to alocation 312, the user equipment may need to hand over a communication connection from thewireless node 321 to thewireless node 322. After a handover process is completed, the user equipment is in communication connection with thewireless node 322, and then communication can continue. In this process, a process of the communication handover may be accompanied with communication handover of a RAN device. - In this scenario, the security implementation method provided in the embodiments of the present invention may also be used to perform security protection on the communication after the handover. Specifically, the following steps may be included.
- 1. The
RAN device 332 receives a request for handing over the user equipment from thewireless node 321 to thewireless node 322 to perform communication.
In this embodiment of the present invention, for example, the wireless node may be a WLAN termination (WLAN Termination), a radio access point AP, a wireless router, or the like. For example, the RAN device may be a base station device such as a gNB. - 2. The
RAN device 332 obtains a master key.
In a specific embodiment, theRAN device 332 may obtain the master key in the following manner:
The corenetwork device group 341 generates an intermediate key KgNB, and sends the KgNB to theRAN device 332.
TheRAN device 332 generates the master key based on the KgNB, for example, when the wireless node is a WLAN termination (WLAN Termination).
The RAN device 332g specifically derives a master key S-Kwt based on the KgNB and the WLAN termination counter (WT counter) as follows: S-Kwt = KDF (KgNB, WT counter, other parameters). - 3. The
RAN device 332 sends the master key to thewireless node 322 by using the Xw interface, where the S-Kwt is an air interface protection key of the WLAN, and thewireless node 322 generates a final security key based on the master key S-Kwt and the IEEE 802.11 standard, where the security key is used for protecting communication between the user equipment and thewireless node 322 after the user equipment is handed over from thewireless node 321 to thewireless node 322. - 4. The
RAN device 332 sends a WLAN termination counter (WT counter) to the user equipment by using an air interface message, such as an RRC signaling message, between theRAN device 332 and the UE, so that the user equipment can also calculate the corresponding S-Kwt, and then generate the security key based on the S-Kwt and the IEEE standard. - The foregoing describes the methods in the embodiments of the present invention in detail. To help better implement the foregoing solutions in the embodiments of the present invention, the following provides related apparatuses in the embodiments of the present invention.
- Referring to
FIG. 12 , an embodiment of the present invention provides anapparatus 1200. Theapparatus 1200 includes aprocessor 1201, amemory 1202, atransmitter 1203, and areceiver 1204. Theprocessor 1201, thememory 1202, thetransmitter 1203, and thereceiver 1204 are connected to each other (for example, connected to each other by using a bus). - The
memory 1202 includes, but is not limited to, a random access memory (Random Access Memory, RAM), a read-only memory (Read-Only Memory, ROM), an erasable programmable read only memory (Erasable Programmable Read Only Memory, EPROM), or a compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM). Thememory 1202 is configured to store a related instruction and related data. - The
transmitter 1203 is configured to transmit data, and thereceiver 1204 is configured to receive data. - The
processor 1201 may be one or more central processing units 1201 (Central Processing Unit, CPU), and when theprocessor 1201 is one CPU, the CPU may be a single-core CPU, or may be a multi-core CPU. - The
processor 1201 is configured to read program code stored in thememory 1202, to implement functions of the authentication network element in the embodiment inFIG. 3 . - When the
apparatus 1200 is a first network element, the program code stored in thememory 1202 is specifically used for implementing functions of the first network element in the embodiment inFIG. 4 . Detailed descriptions are as follows: - The
receiver 1204 is configured to receive a request for handing over user equipment from a source access network device to a target access network device to perform communication. - The
processor 1201 is configured to obtain a security key. The security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element. - The
transmitter 1203 is configured to send the security key to the target access network device. - In a specific embodiment, that the
processor 1201 is configured to obtain a security key includes: - the
processor 1201 is configured to obtain a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; and - the
processor 1201 is configured to determine a security protection algorithm, and derive the security key based on the security protection algorithm and the first intermediate key. - In a specific embodiment, that the
processor 1201 is configured to obtain a first intermediate key includes:
theprocessor 1201 is configured to obtain, by using thereceiver 1204, the first intermediate key, where the first intermediate key is derived by a security anchor function SEAF based on an anchor key and a network parameter. - In a specific embodiment, that the
processor 1201 is configured to obtain a first intermediate key includes:
theprocessor 1201 is configured to obtain, by using thereceiver 1204, the first intermediate key, where the first intermediate key is derived by a second network element based on a second intermediate key and a network parameter, and the second intermediate key is an upper-layer key generated after authentication and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - In a specific embodiment, that the
processor 1201 is configured to obtain a first intermediate key includes: - the
processor 1201 is configured to receive, by using thereceiver 1204, the second intermediate key sent by a second network element; and - the
processor 1201 is configured to derive the first intermediate key based on the second intermediate key and a network parameter, where the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - In a specific embodiment, that the
processor 1201 is configured to obtain a first intermediate key includes: - after the user equipment is handed over from the source access network device to the target access network device, and two-way authentication on the user equipment succeeds again, obtaining, by the
processor 1201, an anchor key; and - the
processor 1201 is configured to derive the first intermediate key based on the anchor key and a network parameter. - In a specific embodiment, the
receiver 1204 is further configured to receive a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by the second network element. Theprocessor 1201 is further configured to obtain a second NH and a second NCC based on the first NH and the first NCC. Thetransmitter 1203 is further configured to send the second NH and the second NCC to the target access network device. - In a specific embodiment, the security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key;
- That the
processor 1201 is configured to determine a security protection algorithm, and derive the security key based on the security protection algorithm and the first intermediate key includes: - including, by the security protection algorithm, an NAS confidentiality algorithm identifier and an NAS integrity algorithm identifier;
- the
processor 1201 is configured to derive the first key based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a counter or a random number or a sequence number; - the
processor 1201 is configured to derive the second key based on a second parameter, where the second parameter includes one or more of the first intermediate key, the NAS confidentiality algorithm identifier, and a counter or a random number or a sequence number; and - the
processor 1201 is configured to derive the third key based on a third parameter, where the third parameter includes one or more of the first intermediate key, the NAS integrity algorithm identifier, and a counter or a random number or a sequence number. - That the
transmitter 1203 is configured to send the security key to the target access network device includes:
thetransmitter 1203 is configured to send the first key to the target access network device. - In a specific embodiment, the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system. The request includes a security context of the first communications system, and a third intermediate key. The third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- That the
processor 1201 is configured to obtain a first intermediate key includes:
theprocessor 1201 is configured to derive the first intermediate key based on the security context of the first communications system, a security context of the second communications system, and the third intermediate key. - In a specific embodiment, the first network element includes a target access and mobility management function AMF, the second network element includes a source AMF, the target AMF is connected to the target access network device, and the source AMF is connected to the source access network device. Alternatively, the first network element includes a target security anchor function SEAF, the second network element includes a source security anchor function SEAF, the target SEAF is connected to the target access network device, and the source SEAF is connected to the source access network device.
- In a specific embodiment, the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- In a specific embodiment, the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- The
receiver 1204 of the MME is configured to receive a request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system. - The
processor 1201 of the MME is configured to obtain a security key. - The
transmitter 1203 of the MME is configured to send the security key to the target access network device. - In a specific embodiment, the
processor 1201 of the MME is configured to receive, by using thereceiver 1204 of the MME, a third intermediate key, where the third intermediate key is derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - The
processor 1201 of the MME is configured to derive the security key based on a security context of the second communications system and the third intermediate key. - In a specific embodiment, that the
processor 1201 of the MME is configured to obtain a security key includes: - the
processor 1201 of the MME is configured to receive, by using thereceiver 1204 of the MME, a first intermediate key sent by an AMF in the second communications system, where the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a non-access stratum NAS key; - the
processor 1201 of the MME is configured to derive the third intermediate key based on the first intermediate key; and - the
processor 1201 of the MME is configured to derive the security key based on a security context of the second communications system and the third intermediate key. - It needs to be noted that, when the
apparatus 1200 is the first network element, for a step performed by theprocessor 1201 and another technical feature that is provided by theprocessor 1201, further refer to corresponding descriptions in the method embodiments shown inFIG. 5 to FIG. 10 , and details are not described herein again. - When the
apparatus 1200 is the target access network device, the program code stored in thememory 1202 is specifically used for implementing functions of theRAN device 332 in the embodiment inFIG. 11 . Detailed descriptions are as follows: - The
receiver 1204 is configured to receive a request for handing over user equipment from a source wireless node to a target wireless node to perform communication. - The
receiver 1204 is further configured to receive a first key (such as KeNB or KgNB) sent by a core network device, where the first key is an intermediate key for security protection between the user equipment and the target access network device. - The
processor 1201 is configured to generate a second key (a master key) based on the intermediate key, where the second key is an intermediate key for security protection between the user equipment and the target wireless node. - The
transmitter 1203 is configured to send the second key to the target wireless node, so that the target wireless node generates a security key based on the second key, where the security key is used for protecting the communication between the user equipment and the target wireless node after the user equipment is handed over from the source wireless node to the target wireless node. - It needs to be noted that, when the
apparatus 1200 is the first network element, for a step performed by theprocessor 1201 and another technical feature that is provided by theprocessor 1201, further refer to corresponding descriptions in the method embodiment shown inFIG. 11 , and details are not described herein again. - Referring to
FIG. 13 , based on a same invention idea, an embodiment of the present invention provides anotherapparatus 1300. Theapparatus 1300 is a first network element, and specifically includes: a receivingmodule 1301, akey processing module 1302, and asending module 1303. Descriptions are as follows: - The
receiving module 1301 is configured to receive a request for handing over user equipment from a source access network device to a target access network device to perform communication. - The
key processing module 1302 is configured to obtain a security key. The security key is used for protecting communication between the user equipment and a target network after the user equipment is handed over from the source access network device to the target access network device, where the target network includes the target access network device and a target core network device, and the target core network device includes the first network element. - The sending
module 1303 is configured to send the security key to the target access network device. - In a specific embodiment, the
key processing module 1302 obtains a first intermediate key, where the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key. - The
key processing module 1302 determines a security protection algorithm, and derives the security key based on the security protection algorithm and the first intermediate key. - In a specific embodiment, that the first network element obtains a first intermediate key includes:
obtaining, by thekey processing module 1302 by using thereceiving module 1301, the first intermediate key, where the first immediate key is derived by a security anchor function SEAF based on an anchor key and a network parameter. - In a specific embodiment, that the
key processing module 1302 obtains a first intermediate key includes:
obtaining, by thekey processing module 1302 by using thereceiving module 1301, the first intermediate key, where the first intermediate key is derived by a second network element based on a second intermediate key and a network parameter, and the second intermediate key is an upper-layer key generated after authentication and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - In a specific embodiment, that the
key processing module 1302 obtains a first intermediate key includes: - receiving, by the
receiving module 1301, the second intermediate key sent by a second network element; and - deriving, by the
key processing module 1302, the first intermediate key based on the second intermediate key and a network parameter, where the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - In a specific embodiment, that the
key processing module 1302 obtains a first intermediate key includes: - after the user equipment is handed over from the source access network device to the target access network device, and two-way authentication on the user equipment succeeds again, obtaining, by the
key processing module 1302, an anchor key; and - deriving, by the
key processing module 1302, the first intermediate key based on the anchor key and a network parameter. - In a specific embodiment, the
key processing module 1302 further obtains, by using thereceiving module 1301, a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC, where the first NH and the first NCC are sent by a second network element. - The
key processing module 1302 obtains a second NH and a second NCC based on the first NH and the first NCC. - The sending
module 1303 sends the second NH and the second NCC to the target access network device. - In a specific embodiment, the security key includes a first key, a second key, and a third key, where the first key is an intermediate key for security protection between the user equipment and the target access network device, the second key is an NAS signaling encryption protection key, and the third key is an NAS signaling integrity protection key.
- That the
key processing module 1302 determines a security protection algorithm, and derives the security key based on the security protection algorithm and the first intermediate key includes: - including, by the security protection algorithm, an NAS confidentiality algorithm identifier and an NAS integrity algorithm identifier;
- deriving, by the
key processing module 1302, the first key based on a first parameter, where the first parameter includes one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a counter or a random number or a sequence number; - deriving, by the
key processing module 1302, the second key based on a second parameter, where the second parameter includes one or more of the first intermediate key, the NAS confidentiality algorithm identifier, and a counter or a random number or a sequence number; and - deriving, by the
key processing module 1302, the third key based on a third parameter, where the third parameter includes one or more of the first intermediate key, the NAS integrity algorithm identifier, and a counter or a random number or a sequence number. - That the sending
module 1303 sends the security key to the target access network device includes:
sending, by the sending module, the first key to the target access network device. - In a specific embodiment, the source access network device is an access network device in a first communications system; the target access network device is an access network device in a second communications system; and the first network element is a network element in the second communications system. The request includes a security context of the first communications system, and a third intermediate key. The third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- That the
key processing module 1302 obtains a first intermediate key includes:
deriving, by thekey processing module 1302, the first intermediate key based on the security context of the first communications system, the security context of the second communications system, and the third intermediate key. - In a specific embodiment, the first network element includes a target access and mobility management function AMF, the second network element includes a source AMF, the target AMF is connected to the target access network device, and the source AMF is connected to the source access network device. Alternatively, the first network element includes a target security anchor function SEAF, the second network element includes a source security anchor function SEAF, the target SEAF is connected to the target access network device, and the source SEAF is connected to the source access network device.
- In a specific embodiment, the network parameter includes one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- In a specific embodiment, the first network element includes a mobility management entity network element MME in a first communications system; the target access network device is an access network device in the first communications system; and the source access network device is an access network device in a second communications system.
- The
key processing module 1302 receives, by using thereceiving module 1301, a request for handing over the user equipment from the source access network device to the target access network device to perform communication, where the request includes a security context of the second communications system. - The
key processing module 1302 obtains a security key. The security key is used for protecting communication between the user equipment and the target network after the user equipment is handed over from the source access network device to the target access network device. - The sending
module 1303 sends the security key to the target access network device. - In a specific embodiment, that the MME obtains a security key includes:
- obtaining, by the
key processing module 1302 by using thereceiving module 1301, a third intermediate key, where the third intermediate key is derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key; and - deriving, by the
key processing module 1302, the security key based on a security context of the second communications system and the third intermediate key. - In a specific embodiment, that the
key processing module 1302 obtains a security key includes: receiving, by thekey processing module 1302 by using thereceiving module 1301, a first intermediate key sent by an AMF in the second communications system, where the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key;
deriving, by thekey processing module 1302, the third intermediate key based on the first intermediate key; and
deriving, by thekey processing module 1302, the security key based on a security context of the second communications system and the third intermediate key. - All or some of the foregoing embodiments may be implemented by using software, hardware, firmware, or any combination thereof. When implemented by using software, the embodiments may be implemented completely or partially in a form of a computer program product. The computer program product includes one or more computer instructions, and when the computer program instructions are loaded and executed on a computer, some or all procedures and functions according to the embodiments of the present invention are generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, a coaxial cable, an optical fiber, or a digital subscriber line (DSL)) or wireless (for example, infrared or microwave) manner. The computer-readable storage medium may be any usable medium accessible to a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a soft disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), a semiconductor medium (for example, a solid state disk), or the like.
- In the foregoing embodiments, the description of each embodiment has respective focuses. For a part that is not described in detail in an embodiment, refer to related descriptions in other embodiments.
Claims (100)
- A security implementation method, wherein the method comprises:receiving, by an access management function AMF in a fifth generation communications system, a path switching request sent by a mobility management entity network element MME in a fourth generation communications system, wherein the path switching request comprises an intermediate key Kasme;obtaining, by the AMF, a key Kamf of the fifth generation communications system based on a network parameter and the Kasme; andgenerating, by the AMF, a security key based on the Kamf.
- The method according to claim 1, wherein the network parameter comprises a counter corresponding to a downlink non-access stratum message; and
the obtaining, by the AMF, a key Kamf of the fifth generation communications system based on a network parameter and the Kasme comprises:
obtaining, by the AMF, the key Kamf of the fifth generation communications system based on the counter corresponding to the downlink non-access stratum message and the Kasme. - The method according to claim 1 or 2, wherein the generating, by the AMF, a security key based on the Kamf comprises:
generating, by the AMF, a base station key KgNB based on the Kamf. - The method according to claim 3, wherein the method further comprises:
sending, by the AMF, a first handover request to a base station gNB, wherein the handover request comprises the KgNB, so that the gNB generates an access stratum key based on the KgNB. - A security implementation method, wherein the method comprises:when receiving a handover request sent by a base station in a fourth generation communications system, obtaining, by user equipment UE, a key Kamf of a fifth generation communications system based on an intermediate key Kasme and a network parameter; andgenerating, by the UE, a security key based on the Kamf.
- The method according to claim 5, wherein the network parameter comprises a counter corresponding to a downlink non-access stratum message.
- The method according to claim 5 or 6, wherein after the generating, by the UE, a security key based on the Kamf, the method further comprises:interacting, by the UE, with a base station in the fifth generation communications system, to complete handover of the UE from the base station in the fourth generation communications system to the base station in the fifth generation communications system.
- The method according to claim 5, wherein the handover request comprises a security context; and
the generating, by the UE, a security key based on the Kamf comprises:
generating, by the UE, an access stratum key and a non-access stratum key based on the network parameter, the received security context, and the Kamf. - An apparatus, wherein the apparatus comprises a processor, a memory, a transmitter, and a receiver; the memory stores program code; and when the program code is run, the processor and the receiver perform the following operations:the receiver is configured to receive a path switching request sent by a mobility management entity network element MME in a fourth generation communications system, wherein the path switching request comprises an intermediate key Kasme; andthe processor is configured to obtain, by the AMF, a key Kamf in a fifth generation communications system based on a network parameter and the Kasme; and generate a security key based on the Kamf.
- The apparatus according to claim 9, wherein the network parameter comprises a counter corresponding to a downlink non-access stratum message.
- The apparatus according to claim 9 or 10, wherein the generating a security key based on the Kamf comprises:
generating a base station key KgNB based on the Kamf. - The apparatus according to claim 9, wherein the apparatus further comprises the transmitter; and
the transmitter is configured to send a first handover request to a base station gNB, wherein the handover request comprises KgNB, so that the gNB generates an access stratum key based on the KgNB. - User equipment, wherein the user equipment comprises a processor, a memory, a transmitter, and a receiver; the memory stores program code; and when the program code is run, the processor performs the following operations:when receiving a handover request sent by a base station in a fourth generation communications system, obtaining a key Kamf of a fifth generation communications system based on an intermediate key Kasme and a network parameter; andgenerating a security key based on the Kamf.
- The user equipment according to claim 13, wherein the network parameter comprises a counter corresponding to a downlink non-access stratum message.
- The user equipment according to claim 13 or 14, wherein the processor is further configured to perform the following operation:
interacting with a base station in the fifth generation communications system, to complete handover of the UE from the base station in the fourth generation communications system to the base station in the fifth generation communications system. - The user equipment according to claim 13, wherein the handover request comprises a security context; and
the generating a security key based on the Kamf comprises:
generating an access stratum key and a non-access stratum key based on the network parameter, the received security context, and the Kamf. - An access management function, wherein the access management function is configured to perform the method according to any one of claims 1 to 4.
- User equipment, wherein the user equipment is configured to perform the method according to any one of claims 5 to 8.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 1 to 4 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 5 to 8 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 1 to 4 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 5 to 8 is performed.
- A key derivation method, wherein the method comprises:receiving, by an access management function AMF in a fifth generation communications system, a first intermediate key Kasme sent by an access management function MME in a fourth generation communications system;generating, by the AMF, a second intermediate key Kamf based on the first intermediate key Kasme;generating, by the AMF, a security key based on the second intermediate key Kamf; andsending, by the AMF, the security key to a base station.
- The method according to claim 23, wherein the generating, by the AMF, a second intermediate key based on the first intermediate key comprises:
deriving, by the AMF, the second intermediate key based on the first intermediate key and a network parameter. - The method according to claim 23, wherein the method further comprises:receiving, by the AMF, a security context of the fourth generation communications system that is sent by the MME; andthe generating, by the AMF, a second intermediate key based on the first intermediate key comprises:
generating, by the AMF, the second intermediate key based on the first intermediate key, the security context of the fourth generation communications system, and a network parameter. - The method according to any one of claims 23 to 25, wherein the security key comprises an access stratum key; and the generating, by the AMF, a security key based on the second intermediate key comprises:
generating, by the AMF, the access stratum key key based on the second intermediate key and an uplink non-access stratum count value. - The method according to any one of claims 23 to 26, wherein the first intermediate key is an upper-layer key generated after authentication in the fourth generation communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key of the fourth generation communications system.
- A key derivation method, wherein the method comprises:receiving, by user equipment, a handover request sent by a radio access network in a fourth generation communications system, wherein the handover request comprises a security context;generating, by the user equipment, a security key based on a first intermediate key Kasme and the security context, wherein the first intermediate key kasme is an upper-layer key generated after authentication in the fourth generation communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key of the fourth generation communications system; andhanding over, by the user equipment, from the radio access network in the fourth generation communications system to a radio access network in a fifth generation communications system.
- The method according to claim 28, wherein the generating, by the user equipment, a security key based on a first intermediate key and the security context comprises:generating, by the user equipment, a second intermediate key Kamf based on the first intermediate key Kasme; andgenerating, by the user equipment, the security key based on the second intermediate key Kamf and the security context.
- The method according to claim 29, wherein the generating, by the user equipment, a second intermediate key Kamf based on the first intermediate key Kasme comprises:
deriving, by the user equipment, the second intermediate key based on the first intermediate key and a network parameter. - The method according to claim 29 or 30, wherein the security key comprises an access stratum key and a non-access stratum key; and
the generating, by the user equipment, the security key based on the second intermediate key and the security context comprises:obtaining, by the user equipment, an access stratum intermediate key KgNB based on the second intermediate key and an uplink non-access stratum count value, and obtaining the access stratum key based on the access stratum intermediate key KgNB; andobtaining, by the user equipment, the non-access stratum key based on the second intermediate key and a non-access stratum algorithm identifier. - The method according to claim 28, wherein the generating, by the user equipment, a security key based on a first intermediate key and the security context comprises:generating, by the AMF, a second intermediate key based on the first intermediate key, the security context, and a network parameter; andgenerating, by the user equipment, the security key based on the second intermediate key Kamf and the security context.
- A key derivation method, wherein the method comprises:receiving, by a source access management function in a fifth generation communications system, a handover request sent by a source radio access network;generating, by the source access management function in response to the handover request, a second intermediate key based on a first intermediate key; andsending, by the source access management function, a next hop key, a next hop chaining counter, and the second intermediate key to a target access management function.
- The method according to claim 33, wherein the generating, by the source access management function, a second intermediate key based on a first intermediate key comprises:
generating, by the source access management function, the second intermediate key based on the first intermediate key and a network parameter. - The method according to claim 34, wherein the network parameter is a downlink non-access stratum count value.
- The method according to any one of claims 33 to 35, wherein the next hop key and the next hop chaining counter are generated based on the second intermediate key.
- The method according to claim 33 or 34, wherein the first intermediate key is a key configured on the source access management function after authentication of user equipment succeeds on a source network.
- A key derivation method, wherein the method comprises:receiving, by user equipment, a handover request sent by a base station gNB in a fifth generation communications system, wherein the handover request comprises a security context;deriving, by the user equipment, an intermediate key Kasme of a fourth generation communications system based on an intermediate key Kamf of the fifth generation communications system; andobtaining, by the user equipment, an access stratum key and a non-access stratum key based on a network parameter, the Kasme, and the security context.
- The method according to claim 38, wherein the security context comprises a security protection algorithm identifier.
- The method according to claim 39, wherein the network parameter comprises a length of the security protection algorithm identifier.
- The method according to any one of claims 38 to 40, wherein after the obtaining, by the user equipment, an access stratum key and a non-access stratum key based on a network parameter, the Kasme, and the security context, the method further comprises:
handing over, by the user equipment, from the the base station gNB to a base station eNB in the fourth generation communications system. - The method according to claim 41, wherein the deriving, by the user equipment, an intermediate key Kasme of a fourth generation communications system based on an intermediate key Kamf of the fifth generation communications system comprises:deriving, by the user equipment, the intermediate key Kasme of the fourth generation communications system based on the intermediate key Kamf of the fifth generation communications system and a non-access stratum downlink count value; andhanding over, by the user equipment, from the the base station gNB to the base station eNB in the fourth generation communications system.
- A key derivation method, wherein the method comprises:receiving, by a source access management function AMF in a fifth generation communications system, a handover request sent by a source radio access network RAN in the fifth generation communications system;generating, by the source AMF, a second intermediate key based on a first intermediate key in response to the handover request, wherein the first intermediate key is a key configured on a source network side after authentication of user equipment succeeds on a source network; andsending, by the source AMF, the second intermediate key to a target AMF in the fifth generation communications system, so that the target AMF generates a security key based on the second intermediate key.
- The method according to claim 43, wherein the generating, by the source AMF, a second intermediate key based on a first intermediate key comprises:
generating, by the source AMF, the second intermediate key based on the first intermediate key and a network parameter. - The method according to claim 44, wherein the network parameter comprises a non-access stratum count value.
- The method according to claim 45, wherein the non-access stratum count value is a downlink non-access stratum count value.
- The method according to claim 46, wherein the network parameter further comprises a length of the non-access stratum count value.
- The method according to any one of claims 43 to 47, wherein the method further comprises:receiving, by the source AMF, a path switching response message sent by the target AMF; andsending, by the source AMF, a handover command to the source RAN, to notify the source RAN that a handover preparation is completed.
- A key derivation method, wherein the method comprises:receiving, by user equipment, a handover request sent by a source radio access network in a fifth generation communications system, wherein the handover request comprises a security context; andgenerating, by the user equipment, a security key based on a first intermediate key and the security context, wherein the first intermediate key is a key configured on the user equipment after authentication of the user equipment succeeds on a source network.
- The method according to claim 49, wherein the generating, by the user equipment, a security key based on a first intermediate key and the security context comprises:generating, by the user equipment, a second intermediate key based on the first intermediate key; andgenerating, by the user equipment, the security key based on the second intermediate key and the security context.
- The method according to claim 50, wherein the generating, by the user equipment, a second intermediate key based on the first intermediate key comprises:
generating, by the user equipment, the second intermediate key based on the first intermediate key and a network parameter. - The method according to claim 51, wherein the network parameter comprises a non-access stratum count value.
- The method according to claim 52, wherein the non-access stratum count value is a downlink non-access stratum count value.
- The method according to claim 53, wherein the network parameter further comprises a length of the downlink non-access stratum count value.
- The method according to any one of claims 49 to 54, wherein the security key comprises a non-access stratum encryption key and a non-access stratum integrity protection key; and the security context comprises a non-access stratum encryption algorithm identifier and a non-access stratum integrity protection algorithm identifier; and
the generating, by the user equipment, the security key based on the second intermediate key and the security context comprises:obtaining, by the user equipment, the non-access stratum encryption key based on the second intermediate key and the non-access stratum encryption algorithm identifier; andobtaining, by the user equipment, the non-access stratum integrity protection key based on the second intermediate key and the non-access stratum integrity protection algorithm identifier. - An access management function, wherein the access management function comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 23 to 27.
- User equipment, wherein the user equipment comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 28 to 32.
- An access management function, wherein the access management function comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 33 to 37.
- User equipment, wherein the user equipment comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 38 to 42.
- An access management function, wherein the access management function comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 43 to 48.
- User equipment, wherein the user equipment comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 49 to 55.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 23 to 27 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 28 to 32 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 33 to 37 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 38 to 42 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 43 to 48 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 49 to 55 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 23 to 27 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 28 to 32 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 33 to 37 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 38 to 42 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 43 to 48 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 49 to 55 is performed.
- An access management function, wherein the access management function is configured to perform the method according to any one of claims 23 to 27.
- User equipment, wherein the user equipment is configured to perform the method according to any one of claims 28 to 32.
- An access management function, wherein the access management function is configured to perform the method according to any one of claims 33 to 37.
- User equipment, wherein the user equipment is configured to perform the method according to any one of claims 38 to 42.
- An access management function, wherein the access management function is configured to perform the method according to any one of claims 43 to 48.
- User equipment, wherein the user equipment is configured to perform the method according to any one of claims 49 to 55.
- A security implementation method, comprising:receiving, by a first network element, a request for handing over user equipment from a source access network device to a target access network device to perform communication;obtaining, by the first network element, a security key, wherein the security key is used for protecting the communication between the user equipment and the target network after the user equipment is handed over from the source access network device to the target access network device, wherein the target network comprises the target access network device and a target core network device, and the target core network device comprises the first network element; andsending, by the first network element, the security key to the target access network device.
- The method according to claim 80, wherein the obtaining, by the first network element, a security key comprises:obtaining, by the first network element, a first intermediate key, wherein the first intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key; anddetermining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key.
- The method according to claim 81, wherein the obtaining, by the first network element, a first intermediate key comprises:
obtaining, by the first network element, the first intermediate key derived by a security anchor SEAF based on an anchor key and a network parameter. - The method according to claim 81, wherein the obtaining, by the first network element, a first intermediate key comprises:
obtaining, by the first network element, the first intermediate key derived by a second network element based on a second intermediate key and a network parameter, wherein the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key. - The method according to claim 81, wherein the obtaining, by the first network element, a first intermediate key comprises:receiving, by the first network element, a second intermediate key sent by a second network element; andderiving, by the first network element, the first intermediate key based on the second intermediate key and a network parameter, wherein the second intermediate key is an upper-layer key generated after authentication, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key.
- The method according to claim 81, wherein the obtaining, by the first network element, a first intermediate key comprises:obtaining, by the first network element, an anchor key after the user equipment is handed over from the source access network device to the target access network device, and two-way authentication of the user equipment succeeds again; andderiving, by the first network element, the first intermediate key based on the anchor key and a network parameter.
- The method according to claim 83, wherein the method further comprises:further obtaining, by the first network element, a next hop key, namely, a first NH, and a next hop chaining counter, namely, a first NCC that are sent by the second network element;obtaining, by the first network element, a second NH and a second NCC based on the first NH and the first NCC; andsending, by the first network element, the second NH and the second NCC to the target access network device.
- The method according to any one of claims 81 to 86, wherein the security key comprises a first key, a second key, and a third key; the first key is an intermediate key for security protection between the user equipment and the target access network device; the second key is an NAS signaling encryption protection key; and the third key is an NAS signaling integrity protection key;
the determining, by the first network element, a security protection algorithm, and deriving the security key based on the security protection algorithm and the first intermediate key comprises:comprising, by the security protection algorithm, an NAS confidentiality algorithm identifier and an NAS integrity algorithm identifier;deriving, by the first network element, the first key based on a first parameter, wherein the first parameter comprises one or more of the first intermediate key, a target cell identifier, a frequency channel number, an NAS count value, an NAS connection identifier, and a counter or a random number or a sequence number;deriving, by the first network element, the second key based on a second parameter, wherein the second parameter comprises one or more of the first intermediate key, the NAS confidentiality algorithm identifier, and a counter or a random number or a sequence number; andderiving, by the first network element, the third key based on a third parameter, wherein the third parameter comprises one or more of the first intermediate key, the NAS integrity algorithm identifier, and a counter or a random number or a sequence number; andthe sending, by the first network element, the security key to the target access network device comprises:
sending, by the first network element, the first key to the target access network device. - The method according to claim 81, wherein the method further comprises: the source access network device is an access network device of a first communications system; the target access network device is an access network device of a second communications system; the first network element is a network element of the second communications system; the request comprises a security context of the first communications system and a third intermediate key; and the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key; and
the obtaining, by the first network element, a first intermediate key comprises:
deriving, by the first network element, the first intermediate key based on the security context of the first communications system, a security context of the second communications system, and the third intermediate key. - The method according to any one of claims 79 to 88, wherein
the first network element comprises a target access and mobility management network element AMF, the second network element comprises a source AMF, the target AMF is connected to the target access network device, and the source AMF is connected to the source access network device; or
the first network element comprises a target security anchor SEAF, the second network element comprises a source security anchor SEAF, the target SEAF is connected to the target access network device, and the source SEAF is connected to the source access network device. - The method according to any one of claims 82 to 89, wherein the network parameter comprises one or more of a target side identifier, a slice identifier, a network access identifier NAI, network slice selection assistance information NSSAI, an AMF region identifier, an AMF setting identifier, a globally unique AMF identifier GUAMI, an AMF pointer pointer, an AMF set identifier, and a counter or a random number or a sequence number.
- The method according to claim 79, wherein the first network element comprises a mobility management entity MME of a first communications system; the target access network device is an access network device of the first communications system; and the source access network device is an access network device of a second communications system; and
the method comprises:receiving, by the MME, a request for handing over user equipment from the source access network device to the target access network device to perform communication, wherein the request comprises a security context of the second communications system;obtaining, by the MME, a security key; andsending, by the MME, the security key to the target access network device. - The method according to claim 91, wherein the obtaining, by the MME, a security key comprises:obtaining, by the MME, a third intermediate key derived by a home subscriber server HSS in the first communications system based on a first ciphering key, a first integrity protection key, a serving network name identifier, and a sequence number SQN, wherein the third intermediate key is an upper-layer key generated after authentication in the first communications system, and is used for deriving a lower-layer access stratum key and a lower-layer non-access stratum key; andderiving, by the MME, the security key based on the security context of the second communications system and the third intermediate key.
- The method according to claim 92, wherein the obtaining, by the MME, a security key comprises:obtaining, by the MME, a first intermediate key sent by an AMF in the second communications system, wherein the first intermediate key is an upper-layer key generated after authentication in the second communications system, and is used for deriving a lower-layer access stratum AS key and a lower-layer non-access stratum NAS key;deriving, by the MME, the third intermediate key based on the first intermediate key; andderiving, by the MME, the security key based on the security context of the second communications system and the third intermediate key.
- A security implementation method, comprising:receiving, by a target access network device, a request for handing over user equipment from a source wireless node to a target wireless node to perform communication;receiving, by the target access network device, a first key sent by a core network device, wherein the first key is an intermediate key for security protection between the user equipment and the target access network device;generating, by the target access network device, a second key based on the intermediate key, wherein the second key is an intermediate key for security protection between the user equipment and the target wireless node; andsending, by the target access network device, the second key to the target wireless node, so that the target wireless node generates a security key based on the second key, wherein the security key is used for protecting the communication between the user equipment and the target wireless node after the user equipment is handed over from the source wireless node to the target wireless node.
- An access management function, wherein the access management function comprises a processor, a memory, a transmitter, and a receiver; and the memory stores program code, and when the program code is executed, the processor performs the method according to any one of claims 79 to 93.
- An access management function, wherein the access management function is configured to perform the method according to claim 94.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to any one of claims 79 to 93 is performed.
- A computer storage medium, wherein the computer storage medium stores a computer software instruction, and when the computer software instruction is executed, the method according to claim 94 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to any one of claims 79 to 93 is performed.
- A computer program product, wherein the computer program product comprises one or more computer instructions, and when the computer instructions are executed, the method according to claim 94 is performed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP21161248.6A EP3917187A1 (en) | 2017-07-28 | 2018-04-26 | Security implementation method and related apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710633559.1A CN109309920B (en) | 2017-07-28 | 2017-07-28 | Security implementation method, related device and system |
PCT/CN2018/084702 WO2019019736A1 (en) | 2017-07-28 | 2018-04-26 | Security implementation method, and related apparatus and system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP21161248.6A Division EP3917187A1 (en) | 2017-07-28 | 2018-04-26 | Security implementation method and related apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
EP3576446A1 true EP3576446A1 (en) | 2019-12-04 |
EP3576446A4 EP3576446A4 (en) | 2020-01-08 |
EP3576446B1 EP3576446B1 (en) | 2021-03-31 |
Family
ID=64481334
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP18838161.0A Active EP3576446B1 (en) | 2017-07-28 | 2018-04-26 | Key derivation method |
EP21161248.6A Pending EP3917187A1 (en) | 2017-07-28 | 2018-04-26 | Security implementation method and related apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP21161248.6A Pending EP3917187A1 (en) | 2017-07-28 | 2018-04-26 | Security implementation method and related apparatus |
Country Status (7)
Country | Link |
---|---|
US (2) | US10728757B2 (en) |
EP (2) | EP3576446B1 (en) |
JP (1) | JP7100115B2 (en) |
KR (1) | KR102264718B1 (en) |
CN (6) | CN109462847B (en) |
BR (1) | BR112020001289B1 (en) |
WO (1) | WO2019019736A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3883280A4 (en) * | 2019-01-21 | 2022-01-05 | Huawei Technologies Co., Ltd. | Communication method and related product |
WO2023012444A1 (en) | 2021-08-05 | 2023-02-09 | Olive Innovations Ltd | Security module and method of scure communication |
Families Citing this family (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11071021B2 (en) * | 2017-07-28 | 2021-07-20 | Qualcomm Incorporated | Security key derivation for handover |
CN111133732B (en) * | 2017-09-26 | 2022-10-04 | 瑞典爱立信有限公司 | Managing security context and performing key derivation at handover in a wireless communication system |
JP6822577B2 (en) * | 2017-09-27 | 2021-01-27 | 日本電気株式会社 | Communication terminals and core network nodes |
WO2019140633A1 (en) * | 2018-01-19 | 2019-07-25 | Oppo广东移动通信有限公司 | Method for instructing user equipment to obtain key, user equipment and network device |
US11722891B2 (en) * | 2018-04-05 | 2023-08-08 | Nokia Technologies Oy | User authentication in first network using subscriber identity module for second legacy network |
CN110351722B (en) * | 2018-04-08 | 2024-04-16 | 华为技术有限公司 | Information sending method, key generation method and device |
WO2020092560A1 (en) * | 2018-11-02 | 2020-05-07 | Intel Corporation | Mobility management in information centric networking |
CN112789896B (en) * | 2019-01-07 | 2022-06-14 | 华为技术有限公司 | Method and device for switching transmission path |
WO2020167211A1 (en) * | 2019-02-14 | 2020-08-20 | Telefonaktiebolaget Lm Ericsson (Publ) | Network node, ue and method for handling handover with parameter for deriving security context |
CN111641947B (en) * | 2019-03-01 | 2021-12-03 | 华为技术有限公司 | Key configuration method, device and terminal |
CN111770492B (en) * | 2019-03-30 | 2022-07-12 | 华为技术有限公司 | Communication method and communication device |
CN111865872B (en) * | 2019-04-26 | 2021-08-27 | 大唐移动通信设备有限公司 | Method and equipment for realizing terminal security policy in network slice |
CN111866867B (en) * | 2019-04-28 | 2022-01-14 | 华为技术有限公司 | Information acquisition method and device |
CN114727290A (en) | 2019-04-28 | 2022-07-08 | 华为技术有限公司 | Communication method and device |
CN111866874B (en) * | 2019-04-29 | 2022-05-10 | 华为技术有限公司 | Registration method and device |
CN111866967B (en) * | 2019-04-29 | 2024-09-17 | 华为技术有限公司 | Handover processing method and device |
CN112423272A (en) * | 2019-08-05 | 2021-02-26 | 华为技术有限公司 | Data transmission method and device |
JP7529769B2 (en) * | 2019-09-16 | 2024-08-06 | 華為技術有限公司 | Air interface information security protection method and apparatus |
US11696128B2 (en) | 2019-10-09 | 2023-07-04 | Cisco Technology, Inc. | Reducing authentication steps during Wi-Fi and 5G handover |
US11197176B2 (en) * | 2019-11-06 | 2021-12-07 | Oracle International Corporation | Methods, systems, and computer readable media for providing for policy-based access and mobility management function (AMF) selection using network slice selection assistance information (NSSAI) availability information |
US11405931B2 (en) | 2019-12-12 | 2022-08-02 | Oracle International Corporation | Methods, systems, and computer readable media for providing for network slice management using feedback mechanism |
US10750366B1 (en) * | 2019-12-19 | 2020-08-18 | Cisco Technology, Inc. | Efficient authentication and secure communications in private communication systems having non-3GPP and 3GPP access |
CN114731563B (en) * | 2020-01-15 | 2024-03-19 | 中兴通讯股份有限公司 | Secure handling of registration in wireless communications |
CN113766498B (en) * | 2020-06-01 | 2023-03-21 | 中国电信股份有限公司 | Key distribution method, device, computer readable storage medium and base station |
CN112838925B (en) * | 2020-06-03 | 2023-04-18 | 中兴通讯股份有限公司 | Data transmission method, device and system, electronic equipment and storage medium |
CN112788594B (en) * | 2020-06-03 | 2023-06-27 | 中兴通讯股份有限公司 | Data transmission method, device and system, electronic equipment and storage medium |
CN114079920B (en) * | 2020-08-11 | 2023-01-20 | 大唐移动通信设备有限公司 | Access network security processing method, device, apparatus and storage medium |
US11716283B2 (en) | 2021-03-05 | 2023-08-01 | Oracle International Corporation | Methods, systems, and computer readable media for selecting a software defined wide area network (SD-WAN) link using network slice information |
CN114286339A (en) * | 2021-12-21 | 2022-04-05 | 中国电信股份有限公司 | Method and system for determining security policy |
CN114205881B (en) * | 2021-12-31 | 2024-02-09 | 中国信息通信研究院 | Method and equipment for switching between base stations |
KR102593167B1 (en) * | 2022-01-19 | 2023-10-24 | 순천향대학교 산학협력단 | Operation method of a communication network system |
Family Cites Families (56)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2454204A (en) | 2007-10-31 | 2009-05-06 | Nec Corp | Core network selecting security algorithms for use between a base station and a user device |
US8179860B2 (en) * | 2008-02-15 | 2012-05-15 | Alcatel Lucent | Systems and method for performing handovers, or key management while performing handovers in a wireless communication system |
CN101257723A (en) * | 2008-04-08 | 2008-09-03 | 中兴通讯股份有限公司 | Method, apparatus and system for generating cipher key |
WO2009157171A1 (en) * | 2008-06-24 | 2009-12-30 | パナソニック株式会社 | Handover processing method, and mobile terminal and connection management device used in the method |
EP2273820A1 (en) * | 2009-06-30 | 2011-01-12 | Panasonic Corporation | Inter-VPLMN handover via a handover proxy node |
JP5164939B2 (en) * | 2009-07-04 | 2013-03-21 | 株式会社エヌ・ティ・ティ・ドコモ | Mobile communication method and radio base station |
US8693367B2 (en) * | 2009-09-26 | 2014-04-08 | Cisco Technology, Inc. | Providing offloads in a communication network |
KR101718164B1 (en) * | 2009-12-17 | 2017-03-20 | 엘지전자 주식회사 | Method and apparatus for performing handover with considering authentication procedure |
CN101742498A (en) * | 2009-12-18 | 2010-06-16 | 中兴通讯股份有限公司 | Management method and system of vent key |
US20110231654A1 (en) | 2010-03-16 | 2011-09-22 | Gurudas Somadder | Method, system and apparatus providing secure infrastructure |
CN101835152A (en) * | 2010-04-16 | 2010-09-15 | 中兴通讯股份有限公司 | Method and system for establishing reinforced secret key when terminal moves to reinforced UTRAN (Universal Terrestrial Radio Access Network) |
CN102244862A (en) * | 2010-05-10 | 2011-11-16 | 北京三星通信技术研究有限公司 | Method for acquiring security key |
US9215220B2 (en) * | 2010-06-21 | 2015-12-15 | Nokia Solutions And Networks Oy | Remote verification of attributes in a communication network |
CN102340772B (en) * | 2010-07-15 | 2014-04-16 | 华为技术有限公司 | Security processing method, device and system in conversion process |
CN102378168B (en) * | 2010-08-17 | 2016-02-10 | 中兴通讯股份有限公司 | The method of multisystem core net notice key and multisystem network |
CN101931953B (en) * | 2010-09-20 | 2015-09-16 | 中兴通讯股份有限公司 | Generate the method and system with the safe key of apparatus bound |
CN103229546B (en) * | 2010-09-28 | 2017-02-15 | 黑莓有限公司 | Method and device for releasing connection with local GW when UE moved out of the residential/enterprise network coverage |
KR101709352B1 (en) * | 2010-12-30 | 2017-02-22 | 에릭슨 엘지 주식회사 | Radio resource allocation apparatus for improving handover and base station for the same |
CN102625300B (en) | 2011-01-28 | 2015-07-08 | 华为技术有限公司 | Generation method and device for key |
US8990554B2 (en) * | 2011-06-30 | 2015-03-24 | Verizon Patent And Licensing Inc. | Network optimization for secure connection establishment or secure messaging |
CN102958052B (en) * | 2011-08-29 | 2017-07-14 | 华为技术有限公司 | A kind of data safe transmission method and relevant device |
US9877139B2 (en) * | 2011-10-03 | 2018-01-23 | Intel Corporation | Device to device (D2D) communication mechanisms |
CN103379490A (en) * | 2012-04-12 | 2013-10-30 | 华为技术有限公司 | Authentication method, device and system of user equipment |
WO2013163815A1 (en) * | 2012-05-04 | 2013-11-07 | 华为技术有限公司 | Secure processing method and system during network switching |
US9204299B2 (en) * | 2012-05-11 | 2015-12-01 | Blackberry Limited | Extended service set transitions in wireless networks |
CN103428787B (en) * | 2012-05-17 | 2016-02-10 | 大唐移动通信设备有限公司 | A kind of base station switch method and device |
US20150304913A1 (en) * | 2012-07-17 | 2015-10-22 | Nokia Technologies Oy | System and method for proactive u-plane handovers |
US8934632B2 (en) * | 2012-09-18 | 2015-01-13 | Futurewei Technologies, Inc. | System and method for device-to-device (D2D) assisted dynamic traffic control for cellular networks |
CN103781069B (en) * | 2012-10-19 | 2017-02-22 | 华为技术有限公司 | Bidirectional-authentication method, device and system |
US20160277445A1 (en) * | 2013-01-30 | 2016-09-22 | Telefonaktiebolaget L M Ericsson (Publ) | Security Activation for Dual Connectivity |
CN104160777B (en) * | 2013-03-13 | 2018-01-23 | 华为技术有限公司 | The transmission method of data, device and system |
EP2854450A1 (en) | 2013-09-27 | 2015-04-01 | Alcatel Lucent | Reducing signaling load to the corenetwork caused by frequent cell changes of an user equipment among small cells |
US9342699B2 (en) * | 2013-11-06 | 2016-05-17 | Blackberry Limited | Method and apparatus for controlling access to encrypted data |
CN103747442B (en) * | 2013-12-27 | 2017-06-30 | 华为技术有限公司 | A kind of security key context distribution, mobile management entity and base station |
CN104980980A (en) * | 2014-04-10 | 2015-10-14 | 电信科学技术研究院 | Method, system and equipment for connection establishment |
CN104010305B (en) * | 2014-05-09 | 2016-10-12 | 中国人民解放军信息工程大学 | Terminal based on physical layer key and the two-way authentication Enhancement Method of access network |
GB2527518A (en) * | 2014-06-23 | 2015-12-30 | Nec Corp | Communication system |
US9918225B2 (en) | 2014-11-03 | 2018-03-13 | Qualcomm Incorporated | Apparatuses and methods for wireless communication |
CN106576107B (en) * | 2014-12-31 | 2020-02-14 | 华为技术有限公司 | Wireless communication method, device and system |
CN104661217A (en) * | 2015-02-09 | 2015-05-27 | 哈尔滨工业大学深圳研究生院 | Authentication and key derivation method and system based on TD-LTE (time division-long term evolution) network |
CN106134231B (en) * | 2015-02-28 | 2019-10-01 | 华为技术有限公司 | Key generation method, equipment and system |
GB2537377B (en) * | 2015-04-13 | 2021-10-13 | Vodafone Ip Licensing Ltd | Security improvements in a cellular network |
KR102304147B1 (en) * | 2015-06-05 | 2021-09-23 | 콘비다 와이어리스, 엘엘씨 | Unified authentication for integrated small cell and wi-fi networks |
CN106658492A (en) * | 2015-07-23 | 2017-05-10 | 中兴通讯股份有限公司 | Cipher key updating method and cipher key updating device |
US9883385B2 (en) * | 2015-09-15 | 2018-01-30 | Qualcomm Incorporated | Apparatus and method for mobility procedure involving mobility management entity relocation |
WO2017078657A1 (en) * | 2015-11-03 | 2017-05-11 | Intel IP Corporation | Apparatus, system and method of cellular-assisted establishing of a secured wlan connection between a ue and a wlan ap |
CN106714152B (en) | 2015-11-13 | 2021-04-09 | 华为技术有限公司 | Key distribution and receiving method, first key management center and first network element |
US10368238B2 (en) * | 2015-12-01 | 2019-07-30 | Htc Corporation | Device and method of handling data transmission/reception for dual connectivity |
WO2017104858A1 (en) * | 2015-12-14 | 2017-06-22 | 엘지전자(주) | Method for performing s1 connection between alternative base station and network entity in wireless communication system and apparatus for supporting same |
CN105515769A (en) * | 2016-01-12 | 2016-04-20 | 汉柏科技有限公司 | Dynamic password generation method and dynamic password generation system for network equipment |
KR102656957B1 (en) * | 2016-12-16 | 2024-04-16 | 삼성전자 주식회사 | Measuring method for highspeed movement and apparatus thereof |
US10299173B2 (en) * | 2017-01-05 | 2019-05-21 | Htc Corporation | Device and method of handling a PDN connection in LTE to NR/5G inter-system mobility |
CN108282836B (en) * | 2017-01-06 | 2020-10-30 | 展讯通信(上海)有限公司 | Auxiliary base station switching method and device and base station |
PT3574669T (en) * | 2017-01-30 | 2021-10-26 | Ericsson Telefon Ab L M | Security context handling in 5g during connected mode |
EP3599784B1 (en) * | 2017-01-30 | 2020-11-18 | Telefonaktiebolaget LM Ericsson (publ) | Methods and apparatuses for re-establishing a radio resource control (rrc) connection |
KR102280004B1 (en) * | 2017-04-20 | 2021-07-22 | 주식회사 케이티 | Methods for performing terminal-based handover and Apparatuses thereof |
-
2017
- 2017-07-28 CN CN201811490324.2A patent/CN109462847B/en active Active
- 2017-07-28 CN CN201811490322.3A patent/CN109511113B/en active Active
- 2017-07-28 CN CN201710633559.1A patent/CN109309920B/en active Active
- 2017-07-28 CN CN201810774989.XA patent/CN109005540B/en active Active
- 2017-07-28 CN CN201810775340.XA patent/CN108966220B/en active Active
-
2018
- 2018-04-26 WO PCT/CN2018/084702 patent/WO2019019736A1/en unknown
- 2018-04-26 BR BR112020001289-0A patent/BR112020001289B1/en active IP Right Grant
- 2018-04-26 EP EP18838161.0A patent/EP3576446B1/en active Active
- 2018-04-26 EP EP21161248.6A patent/EP3917187A1/en active Pending
- 2018-04-26 JP JP2020504242A patent/JP7100115B2/en active Active
- 2018-04-26 KR KR1020207005062A patent/KR102264718B1/en active IP Right Grant
- 2018-04-26 CN CN201880048692.3A patent/CN110945892B/en active Active
-
2019
- 2019-05-10 US US16/409,207 patent/US10728757B2/en active Active
- 2019-12-19 US US16/720,673 patent/US11228905B2/en active Active
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3883280A4 (en) * | 2019-01-21 | 2022-01-05 | Huawei Technologies Co., Ltd. | Communication method and related product |
US12015707B2 (en) | 2019-01-21 | 2024-06-18 | Huawei Technologies Co., Ltd. | Communication method and related product |
WO2023012444A1 (en) | 2021-08-05 | 2023-02-09 | Olive Innovations Ltd | Security module and method of scure communication |
GB2609621A (en) | 2021-08-05 | 2023-02-15 | Olive Innovations Ltd | Communication security module and method of secure communication |
Also Published As
Publication number | Publication date |
---|---|
CN108966220B (en) | 2019-07-23 |
US20200128403A1 (en) | 2020-04-23 |
CN110945892A (en) | 2020-03-31 |
CN108966220A (en) | 2018-12-07 |
CN109005540A (en) | 2018-12-14 |
CN109005540B (en) | 2019-07-23 |
CN109309920B (en) | 2021-09-21 |
CN109462847A (en) | 2019-03-12 |
BR112020001289A2 (en) | 2020-07-28 |
CN109511113B (en) | 2020-04-14 |
KR20200030592A (en) | 2020-03-20 |
CN109462847B (en) | 2019-08-02 |
US20190274038A1 (en) | 2019-09-05 |
US10728757B2 (en) | 2020-07-28 |
CN110945892B (en) | 2021-11-30 |
WO2019019736A1 (en) | 2019-01-31 |
CN109309920A (en) | 2019-02-05 |
US11228905B2 (en) | 2022-01-18 |
EP3576446A4 (en) | 2020-01-08 |
JP7100115B2 (en) | 2022-07-12 |
EP3576446B1 (en) | 2021-03-31 |
EP3917187A1 (en) | 2021-12-01 |
JP2020528249A (en) | 2020-09-17 |
BR112020001289B1 (en) | 2021-08-03 |
CN109511113A (en) | 2019-03-22 |
KR102264718B1 (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11228905B2 (en) | Security implementation method, related apparatus, and system | |
US10999065B2 (en) | Method and apparatus for updating a key in an active state | |
US10911948B2 (en) | Method and system for performing network access authentication based on non-3GPP network, and related device | |
US20200084631A1 (en) | Key Configuration Method, Apparatus, and System | |
US20170359719A1 (en) | Key generation method, device, and system | |
US10798082B2 (en) | Network authentication triggering method and related device | |
WO2019062996A1 (en) | Method, apparatus, and system for security protection | |
KR101481558B1 (en) | Method of establishing security association in Inter-RAT handover | |
US10687213B2 (en) | Secure establishment method, system and device of wireless local area network | |
CN115474247A (en) | Method and apparatus for security context handling in 5G during connected mode | |
JPWO2018079692A1 (en) | System, base station, core network node, and method | |
WO2023213301A1 (en) | Authentication method, communication apparatus, and computer-readable storage medium | |
CN117812574A (en) | Communication method and communication device | |
US11051171B2 (en) | Communication method, related device, and system | |
CN110830996B (en) | Key updating method, network equipment and terminal | |
WO2009051405A2 (en) | Method of establishing security association in inter-rat handover |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE INTERNATIONAL PUBLICATION HAS BEEN MADE |
|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: REQUEST FOR EXAMINATION WAS MADE |
|
17P | Request for examination filed |
Effective date: 20190828 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
AX | Request for extension of the european patent |
Extension state: BA ME |
|
A4 | Supplementary search report drawn up and despatched |
Effective date: 20191210 |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 12/04 20090101ALI20191204BHEP Ipc: H04W 12/00 20090101AFI20191204BHEP |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R079 Ref document number: 602018014926 Country of ref document: DE Free format text: PREVIOUS MAIN CLASS: H04W0012040000 Ipc: H04W0012000000 |
|
GRAP | Despatch of communication of intention to grant a patent |
Free format text: ORIGINAL CODE: EPIDOSNIGR1 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: GRANT OF PATENT IS INTENDED |
|
DAV | Request for validation of the european patent (deleted) | ||
DAX | Request for extension of the european patent (deleted) | ||
RIC1 | Information provided on ipc code assigned before grant |
Ipc: H04W 36/00 20090101ALI20201014BHEP Ipc: H04W 12/04 20090101ALI20201014BHEP Ipc: H04W 12/00 20090101AFI20201014BHEP |
|
INTG | Intention to grant announced |
Effective date: 20201026 |
|
GRAS | Grant fee paid |
Free format text: ORIGINAL CODE: EPIDOSNIGR3 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: GRANT OF PATENT IS INTENDED |
|
GRAA | (expected) grant |
Free format text: ORIGINAL CODE: 0009210 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE PATENT HAS BEEN GRANTED |
|
AK | Designated contracting states |
Kind code of ref document: B1 Designated state(s): AL AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LI LT LU LV MC MK MT NL NO PL PT RO RS SE SI SK SM TR |
|
REG | Reference to a national code |
Ref country code: GB Ref legal event code: FG4D Ref country code: CH Ref legal event code: EP |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R096 Ref document number: 602018014926 Country of ref document: DE Ref country code: AT Ref legal event code: REF Ref document number: 1378351 Country of ref document: AT Kind code of ref document: T Effective date: 20210415 |
|
REG | Reference to a national code |
Ref country code: IE Ref legal event code: FG4D |
|
REG | Reference to a national code |
Ref country code: NL Ref legal event code: FP |
|
REG | Reference to a national code |
Ref country code: LT Ref legal event code: MG9D |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: NO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210630 Ref country code: HR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: FI Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: BG Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210630 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LV Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: RS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: SE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
REG | Reference to a national code |
Ref country code: AT Ref legal event code: MK05 Ref document number: 1378351 Country of ref document: AT Kind code of ref document: T Effective date: 20210331 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: SM Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: AT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: CZ Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: EE Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: LT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210731 Ref country code: PL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: PT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210802 Ref country code: RO Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: SK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: LU Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210426 |
|
REG | Reference to a national code |
Ref country code: DE Ref legal event code: R097 Ref document number: 602018014926 Country of ref document: DE |
|
REG | Reference to a national code |
Ref country code: BE Ref legal event code: MM Effective date: 20210430 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: ES Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: MC Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: CH Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210430 Ref country code: DK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: AL Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 Ref country code: LI Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210430 |
|
PLBE | No opposition filed within time limit |
Free format text: ORIGINAL CODE: 0009261 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT |
|
26N | No opposition filed |
Effective date: 20220104 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210426 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: IS Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210731 Ref country code: FR Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210531 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: BE Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES Effective date: 20210430 |
|
P01 | Opt-out of the competence of the unified patent court (upc) registered |
Effective date: 20230524 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: CY Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: HU Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT; INVALID AB INITIO Effective date: 20180426 Ref country code: GR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: NL Payment date: 20240315 Year of fee payment: 7 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MK Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: GB Payment date: 20240307 Year of fee payment: 7 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: IT Payment date: 20240313 Year of fee payment: 7 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: TR Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |
|
PGFP | Annual fee paid to national office [announced via postgrant information from national office to epo] |
Ref country code: DE Payment date: 20240306 Year of fee payment: 7 |
|
PG25 | Lapsed in a contracting state [announced via postgrant information from national office to epo] |
Ref country code: MT Free format text: LAPSE BECAUSE OF FAILURE TO SUBMIT A TRANSLATION OF THE DESCRIPTION OR TO PAY THE FEE WITHIN THE PRESCRIBED TIME-LIMIT Effective date: 20210331 |