WO2018137488A1 - 安全实现方法、设备以及系统 - Google Patents
安全实现方法、设备以及系统 Download PDFInfo
- Publication number
- WO2018137488A1 WO2018137488A1 PCT/CN2018/071818 CN2018071818W WO2018137488A1 WO 2018137488 A1 WO2018137488 A1 WO 2018137488A1 CN 2018071818 W CN2018071818 W CN 2018071818W WO 2018137488 A1 WO2018137488 A1 WO 2018137488A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- key
- security
- identifier
- session
- policy
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
-
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/06—Network architectures or network communication protocols for network security for supporting key management in a packet data network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/20—Network architectures or network communication protocols for network security for managing network security; network security policies in general
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- 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/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
- H04W12/106—Packet or message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/80—Wireless
Definitions
- the present invention relates to the field of communications, and in particular, to a security implementation method, device, and system.
- the data security protection adopts the hop-by-hop method, that is, segmentation for security protection.
- the terminal device-base station-serving gateway-PDN gateway performs a security protection
- the base station-service gateway performs a security protection
- the service gateway-PDN gateway Perform a security protection between them. It can be seen that in the process of data transmission, if there is a problem in the intermediate node, it may lead to leakage of data. Moreover, encrypting and restoring data multiple times during data transmission also leads to waste of resources.
- the technical problem to be solved by the embodiments of the present invention is to provide a security implementation method, device and system, which realize end-to-end protection of data.
- the embodiment of the present invention provides a security implementation method, including: a first device acquiring a session security policy and at least one key; the first device sending protection data to the second device, where the protection data Obtaining, according to the security policy of the session, the security of the session data of the session by using the at least one key, where the second device is configured to use the at least one key pair according to the security policy.
- the protection data is restored to obtain the session data; wherein, when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access When the network node or the user plane node is used, the second device is a terminal device.
- the at least one key includes: a first key and a second key, where the first key is used for the session The first security is protected, and the second key is used to protect the second security of the session.
- the security policy is used to indicate a protection manner of the session data, where the protection mode is A security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- a security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- the security policy is further used to indicate the first security algorithm, the second security algorithm, At least one of a key length and a key update time.
- the key length includes a first key length and/or a second key length, where The first key length is used to characterize the length of the first key, and the second key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where And the first key update time is used to represent an update time of the first key, and the second key update time is used to represent an update time of the second key.
- the first security is cipherability and the second security is integrity.
- the protection data further includes a parameter field, where the parameter field includes a first identifier field, a second identifier field, At least one of the third identifier field, where the first identifier field is used to indicate that the message is a session message, and the second identifier field is used to indicate at least one of a service identifier, a session identifier, a bearer identifier, a flow identifier, and a slice identifier.
- the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length The field is used to indicate the length of the parameter field, the packet field is used to indicate the length of the packet when the packet is encrypted, and the MAC field is used to indicate that the session is integrity protected.
- the first device acquires the security policy Specifically, the first device acquires the security policy from a policy controller.
- the acquiring, by the first device, the security policy to the policy controller is: The access network node sends a first request, where the first request includes a security capability of the first device and a service security requirement; the first device receives the security policy returned by the access network node, The security policy is obtained by the access network node sending a second request to the policy controller, where the second request is generated by the access network node based on the first request, including The security capabilities of the first device, the security requirements of the service, and the security requirements of the access network node.
- the acquiring, by the first device, the security policy to the policy controller is: The access network node sends a first request, where the first request includes a security capability of the first device and a service security requirement; and the first device receives the security policy returned by the access network node
- the security policy is obtained by the access network node forwarding the second request to the policy controller by using at least one network element, where the second request is that the access network node is based on the first
- the request is generated, including the security capability of the first device, the service security requirement, and the security requirement of the access network node.
- the at least one network element includes a session management network element; or the at least one network element includes a session Manage network elements or mobile management entities.
- the acquiring, by the first device, the security policy to the policy controller is: The access network node sends a first request, where the first request includes a security capability of the first device and a service security requirement; and the first device receives the security policy returned by the access network node
- the security policy is generated by the access network node according to a core network security policy and a security capability of the access network node, where the core network security policy is that the policy controller is based on the access network
- the first request forwarded by the node is generated.
- the first device when the second device is an access network node, the first device acquires at least one key specific The first device sends a third request to the authentication node by using the access network node; the first device acquires a basic key based on the third request, where the basic key is the first The device is generated after mutual authentication with the authentication node; the first device derives the at least one key based on the basic key.
- the first device based on the basic key, deriving the at least one key, specifically The first device derives an intermediate key according to the basic key; the first device derives the at least one key according to the intermediate key.
- the first device deriving an intermediate key, specifically: The first device is based on the first parameter, and derives an intermediate key according to the basic key, where the first parameter includes the access network node identifier, a NAS counter, and a serial number for generating the intermediate key. At least one of a sequence number of the data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the first device in conjunction with the fifteenth possible implementation manner of the first aspect, in a seventeenth possible implementation manner of the first aspect, the first device, according to the intermediate key, deriving the at least one key, specifically The first device is based on the second parameter, and deriving the at least one key according to the intermediate key; wherein the second parameter includes an air interface security policy identifier, a security algorithm identifier, a NAS counter, At least one of the nonce2, the air interface resource identifier, the air interface bearer identifier, the slice identifier, and the session identifier, where the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane. At least one of the integrity protection algorithm identifiers.
- the at least one key includes an air interface signaling encryption key and an air interface signaling integrity encryption key. At least one of a user plane key and a user plane integrity encryption key.
- the protection data is header data, load data, or a data packet, where the data packet includes The header data and the load data.
- a security implementation method including: determining, by a second device, a session identifier of a session; the second device acquiring a security policy of the session and at least one key; and the second device according to the session identifier Identifying protection data of the session sent by the first device, and recovering the protection data by using the at least one key according to a security policy of the session to obtain session data, wherein the protection data is the
- the first device is configured to protect the security of the session data by using the at least one key according to the security policy of the session, where the first device is configured to use the at least one key pair according to the security policy.
- the session data is encrypted to obtain the protection data;
- the second device when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access network node or a user plane node, the second device For terminal equipment.
- the at least one key includes: a first key and a second key, where the first key is used for the session The first security is protected, and the second key is used to protect the second security of the session.
- the security policy is used to indicate a protection manner of the session data, where the protection mode is A security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- a security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- the security policy is further used to indicate the first security algorithm, the second security algorithm, At least one of a key length and a key update time.
- the key length includes a first key length and/or a second key length, where The first key length is used to characterize the length of the first key, and the second key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where And the first key update time is used to represent an update time of the first key, and the second key update time is used to represent an update time of the second key.
- the second device determines that the session identifier of the session is specifically: Determining, by the second device, the session identifier of the session by using the encapsulation header of the protection data; or, the second device determines the session identifier of the session by using the tunnel identifier in the encapsulation header of the protection data; or Determining, by the second device, the session identifier of the session by using an external IP packet header where the protection data is located; or, the second device passes the encapsulation header where the protection data is located and an external IP where the protection data is located
- the packet header determines the session identifier of the session; or the second device determines the session identifier of the session by using a protocol data unit header where the protection data is located and an encapsulation header where the protection data is located; or The second device determines a session identifier of the session
- the second device determines that the session identifier of the session is specifically Determining, by the second device, the session identifier of the session by using the air interface resource occupied by the session; or determining, by the second device, the session identifier of the session by using an air interface identifier of the air interface occupied by the session; or The second device determines the session identifier of the session by using an identifier of the data radio bearer occupied by the session; or the second device determines a session identifier of the session by using a parameter field in the protection data.
- the first security is cipherability
- the second security is integrity
- the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field
- the first identifier field is used to indicate that the message is a session message
- the second identifier field is used to indicate at least one of a service identifier, a session identifier, and a slice identifier, where the third identifier is used to indicate the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length The field is used to indicate the length of the parameter field, the packet field is used to indicate the length of the packet when the packet is encrypted, and the MAC field is used to indicate that the session is integrity protected.
- the second device when the second device is an access network node, the second device obtains the security
- the policy is specifically: the second device acquires the security policy from the first network element, where the first network element is any one of an authentication controller, a key management controller, a policy controller, and a key controller.
- the second device when the first network element is a policy controller, the second device is directed to the policy controller
- the obtaining the security policy is: the second device receives the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement; The device sends a second request to the policy controller, where the second request is generated based on the first request, including security capabilities of the first device, service security requirements, and security of the access network node
- the second device receives the security policy returned by the policy controller, wherein the security policy is generated by the policy controller according to the second request.
- the second device when the first network element is a policy controller, the second device is directed to the policy controller
- the obtaining the security policy is: the second device receives the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement; The device sends a second request to the policy controller by using at least one network element, where the second request is generated based on the first request, including a security capability, a service security requirement, and the The security policy of the access network node; the second device receives the security policy returned by the policy controller by the at least one network element, wherein the security policy is that the policy controller is configured according to the second request Generated.
- the at least one network element includes a session management network element; or the at least one network element includes a session Manage network elements or mobile management entities.
- the acquiring, by the second device, the security policy to the policy controller is: the second device Receiving a first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement; and the second device forwards the first request to the policy controller The second device receives the core network security policy returned by the policy controller, and generates the security policy according to the core network security policy and the security capability of the access network node.
- the second device when the second device is an access network node, The acquiring, by the second device, the at least one key is: the second device sends a third request to the key management center; and the second device receives the intermediate key returned by the key management center based on the third request, The intermediate key is derived based on a basic key, and the basic key is sent by the authentication node to the key management center; and the second device is based on the intermediate key Said at least one key.
- the intermediate key is derived according to a first parameter, where the first parameter is And including at least one of the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, a sequence number of a data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the second device in conjunction with the seventeenth possible implementation manner of the second aspect, in the eighteenth possible implementation manner of the second aspect, the second device, according to the intermediate key, deriving the at least one key, specifically The second device is based on the second parameter, and deriving the at least one key according to the intermediate key; wherein the second parameter includes an air interface security policy identifier, a security algorithm identifier, a NAS counter, At least one of the nonce2, the air interface resource identifier, the air interface bearer identifier, the slice identifier, and the session identifier, where the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane. At least one of the integrity protection algorithm identifiers.
- the at least one key includes an air interface signaling encryption key and an air interface signaling integrity encryption key. At least one of a user plane key and a user plane integrity encryption key.
- the second device when the second device is a user plane node, acquires the at least one key, specifically The second device requests the at least one key from the first network element, where the first network element is the first network element: an authentication controller, a key management controller, a policy controller, and a secret Any of the key controllers.
- the protection data is header data, load data, or a data packet, where the data packet is The header data and the load data are included.
- the third aspect provides a security policy generation method, including: the policy controller receives a policy request sent by a target network element, where the policy request includes a security capability of the terminal device, a service security requirement, and a security requirement of the access network node. At least one of the policy controllers generates a security policy according to the target parameter, wherein the target parameter is generated according to the first request, including security capabilities of the terminal device, service security requirements, and security requirements of the access network node. At least one of the policy controllers sends a security policy to the access network node.
- the target parameter further includes: a prefabricated security capability of the terminal device, where the prefabricated security capability of the terminal device is obtained from the authentication service controller AUSF owned.
- the target parameter further includes: a security requirement of the server, wherein the security requirement of the server is a slave server Get it.
- the target network element is an access network node or a session management network element.
- a fourth aspect provides a key generation method, including: the first device sends a third request to an authentication node by using the access network node; and the first device acquires a basic key according to the third request, The base key is generated after mutual authentication between the first device and the authentication node; and the first device derives the at least one key based on the basic key.
- the terminal device deriving the at least one key based on the basic key is specifically: the terminal device is configured according to the basic key Deriving an intermediate key; the terminal device derives the at least one key according to the intermediate key.
- the first device deriving an intermediate key, specifically: the terminal device And determining, according to the first parameter, an intermediate key according to the basic key, where the first parameter includes the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, and a data packet At least one of a sequence number, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the terminal device deriving the at least one key according to the intermediate key is specifically: The terminal device is based on the second parameter, and deriving the at least one key according to the intermediate key; wherein the second parameter includes an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, and an air interface resource.
- the second parameter includes an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, and an air interface resource.
- the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane integrity protection algorithm. At least one of the identifiers.
- the at least one key includes an air interface signaling encryption key, an air interface signaling integrity encryption key, At least one of a user plane key and a user plane integrity encryption key.
- a first device including: an obtaining module and a sending module, where the acquiring module is configured to acquire a security policy of the session and at least one key; and the sending module is configured to send the protection data to the second device, where The protection data is obtained by using the at least one key to protect the security of the session data of the session according to the security policy of the session, where the second device is used according to the security policy. Determining, by the at least one key, the protection data to obtain the session data; wherein, when the first device is a terminal device, the second device is an access network node or a user plane node; When the first device is an access network node or a user plane node, the second device is a terminal device.
- the at least one key includes: a first key and a second key, where the first key is used for the session The first security is protected, and the second key is used to protect the second security of the session.
- the security policy is used to indicate a protection manner of the session data, where the protection mode is A security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- a security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- the security policy is further used to indicate the first security algorithm, the second security algorithm, At least one of a key length and a key update time.
- the key length includes a first key length and/or a second key length, where The first key length is used to characterize the length of the first key, and the second key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where And the first key update time is used to represent an update time of the first key, and the second key update time is used to represent an update time of the second key.
- the first security is cipherability and the second security is integrity.
- the protection data further includes a parameter field, where the parameter field includes a first identifier field, a second identifier field, At least one of the third identifier field, where the first identifier field is used to indicate that the message is a session message, and the second identifier field is used to indicate at least one of a service identifier, a session identifier, a bearer identifier, a flow identifier, and a slice identifier.
- the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length The field is used to indicate the length of the parameter field, the packet field is used to indicate the length of the packet when the packet is encrypted, and the MAC field is used to indicate that the session is integrity protected.
- the acquiring module is specifically configured to acquire the security policy from a policy controller.
- the acquiring module includes a sending unit and a receiving unit, where the sending unit is configured to send to the access network node Sending a first request, where the first request includes a security capability of the first device and a service security requirement; the receiving unit is configured to receive the security policy returned by the access network node, where The security policy is obtained by the access network node sending the second request to the policy controller, where the second request is generated by the access network node based on the first request, including the first device Security capabilities, business security requirements, and security requirements of the access network nodes.
- the acquiring module includes a sending unit and a receiving unit, where the sending unit is used to access the access network
- the node sends a first request, where the first request includes a security capability of the first device and a service security requirement;
- the receiving unit is configured to receive the security policy returned by the access network node, where The security policy is obtained by the access network node forwarding the second request to the policy controller by using at least one network element, where the second request is generated by the access network node based on the first request,
- the security capability of the first device, the service security requirement, and the security requirement of the access network node are included.
- the at least one network element includes a session management network element; or the at least one network element includes a session Manage network elements or mobile management entities.
- the acquiring module includes a sending unit and a receiving unit, where the sending unit is used to access the access network
- the node sends a first request, where the first request includes a security capability of the first device and a service security requirement;
- the receiving unit is configured to receive the security policy returned by the access network node, where
- the security policy is generated by the access network node according to a core network security policy and a security capability of the access network node, where the core network security policy is forwarded by the policy controller according to the access network node.
- a request is generated.
- the acquiring module when the second device is an access network node, the acquiring module includes a sending unit, and acquiring a unit and a derivation unit, the sending unit is configured to send a third request to the authentication node by using the access network node, where the acquiring unit is configured to acquire a basic key according to the third request, where the basic key is The key is generated after mutual authentication between the first device and the authentication node; and the derivation unit is configured to derive the at least one key based on the basic key.
- the performing unit is configured to derive an intermediate key according to the basic key, and Deriving the at least one key according to the intermediate key.
- the performing unit is configured to perform, according to the first parameter, An intermediate key, wherein the first parameter includes the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, a serial number of a data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier. At least one of them.
- the performing unit is configured to use the second parameter, and according to the intermediate key Deriving the at least one key; wherein the second parameter includes at least one of an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier,
- the security algorithm identifier is at least one of an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane integrity protection algorithm identifier.
- the at least one key includes an air interface signaling encryption key and an air interface signaling integrity encryption key. At least one of a user plane key and a user plane integrity encryption key.
- the protection data is header data, load data, or a data packet, where the data packet includes The header data and the load data.
- a second device including: a determining module, an obtaining module, and an identifying module, where the determining module is configured to determine a session identifier of the session; and the obtaining module is configured to acquire a security policy of the session and at least one a key; the identification module is configured to identify, according to the session identifier, protection data of the session sent by the first device, and restore the protection data by using the at least one key according to a security policy of the session Obtaining session data, wherein the protection data is obtained by the first device protecting the security of the session data by using the at least one key according to a security policy of the session, where the first device uses Encrypting the session data to obtain the protection data by using the at least one key according to the security policy; wherein, when the first device is a terminal device, the second device is an access network node Or a user plane node; when the first device is an access network node or a user plane node, the second device is a terminal device.
- the at least one key includes: a first key and a second key, where the first key is used for the session The first security is protected, and the second key is used to protect the second security of the session.
- the security policy is used to indicate a protection manner of the session data, where the protection mode is A security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- a security algorithm protects the first security of the session data by using a first key, or protects a second security of the session data by using a second key by a second security algorithm, or Simultaneously protecting the first security of the session data by using the first key by the first security algorithm and second security of the session data by using the second key by the second security algorithm Protect.
- the security policy is further used to indicate the first security algorithm, the second security algorithm, At least one of a key length and a key update time.
- the key length includes a first key length and/or a second key length, where The first key length is used to characterize the length of the first key, and the second key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where And the first key update time is used to represent an update time of the first key, and the second key update time is used to represent an update time of the second key.
- the determining module is specifically configured to: The encapsulation header of the protection data determines the session identifier of the session; or the session identifier of the session is determined by the tunnel identifier in the encapsulation header of the protection data; or the external IP packet header where the protection data is located Determining the session identifier of the session; or determining the session identifier of the session by using the encapsulation header of the protection data and the external IP packet header of the protection data; or, by using the protocol data of the protection data
- the unit header and the encapsulation header where the protection data is located determine a session identifier of the session; or the session identifier of the session is determined by a parameter field in the protection data.
- the determining module is specifically configured to: The air interface resource occupied by the session determines the session identifier of the session; or the session identifier of the session is determined by the air interface identifier of the air interface occupied by the session; or the identifier of the data radio bearer occupied by the session Determining a session identifier of the session; or determining a session identifier of the session by a parameter field in the protection data.
- the first security is cipherability
- the second security is integrity
- the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field
- the first identifier field is used to indicate that the message is a session message
- the second identifier field is used to indicate at least one of a service identifier, a session identifier, and a slice identifier, where the third identifier is used to indicate the session. The way to protect.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length The field is used to indicate the length of the parameter field, the packet field is used to indicate the length of the packet when the packet is encrypted, and the MAC field is used to indicate that the session is integrity protected.
- the acquiring module when the second device is an access network node, the acquiring module is used to The network element obtains the security policy, where the first network element is any one of an authentication controller, a key management controller, a policy controller, and a key controller.
- the acquiring module includes a receiving unit and sending a unit
- the receiving unit is configured to receive a first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement
- the sending unit is configured to send the The policy controller sends a second request, where the second request is generated based on the first request, including security capabilities of the first device, service security requirements, and security requirements of the access network node
- the receiving unit is configured to receive the security policy returned by the policy controller, where the security policy is generated by the policy controller according to the second request.
- the acquiring module includes a receiving unit and sending a unit, the receiving unit is configured to receive a first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement; and the sending unit is configured to pass at least one
- the network element sends a second request to the policy controller, where the second request is generated based on the first request, including security capabilities, service security requirements, and access network nodes of the first device
- the security unit is configured to receive the security policy returned by the policy controller by the at least one network element, where the security policy is generated by the policy controller according to the second request.
- the at least one network element includes a session management network element; or the at least one network element includes a session Manage network elements or mobile management entities.
- the acquiring module includes a receiving unit and a sending unit, where the receiving unit is configured to receive the first a first request sent by the device, where the first request includes a security capability of the first device and a service security requirement; the sending unit is configured to forward the first request to the policy controller; The unit is configured to receive a core network security policy returned by the policy controller, and generate the security policy according to the core network security policy and the security capability of the access network node.
- the obtaining module includes a sending unit, a receiving unit, and a deriving unit, where the sending unit is configured to send a third request to a key management center, and the receiving unit is configured to receive the key management center based on the third request.
- a returned intermediate key wherein the intermediate key is derived based on a base key, the base key is sent to the key management center by an authentication node; The intermediate key derives the at least one key.
- the intermediate key is derived according to a first parameter, wherein the first parameter And including at least one of the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, a sequence number of a data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the determining unit is configured to perform, according to the second parameter, according to the intermediate key Deriving the at least one key; wherein the second parameter includes at least one of an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier,
- the security algorithm identifier is at least one of an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane integrity protection algorithm identifier.
- the at least one key includes an air interface signaling encryption key and an air interface signaling integrity encryption key. At least one of a user plane key and a user plane integrity encryption key.
- the acquiring module is used to the first network
- the element requests the at least one key, wherein the first network element is the first network element being any one of an authentication controller, a key management controller, a policy controller, and a key controller.
- the protection data is header data, load data, or a data packet, where the data packet The header data and the load data are included.
- the seventh aspect provides a policy controller, including: a receiving module, a generating module, and a sending module, where the receiving module is configured to receive a policy request sent by a target network element, where the policy request includes a security capability of the terminal device, At least one of a service security requirement and an access network node security requirement; the generating module is configured to generate a security policy according to the target parameter, wherein the target parameter is generated according to the first request, including a security capability of the terminal device At least one of a service security requirement and an access network node security requirement; the sending module is configured to send a security policy to the access network node.
- the target parameter further includes: a prefabricated security capability of the terminal device, where the prefabricated security capability of the terminal device is obtained from the authentication service controller AUSF owned.
- the target parameter further includes: a security requirement of the server, wherein the security requirement of the server is a slave server Get it.
- the target network element is an access network node or a session management network element.
- a first device including: a sending module, an obtaining module, and a spoofing module, where the sending module is configured to send a third request to the authentication node by using the access network node; Obtaining a base key based on the third request, where the basic key is generated after mutual authentication between the first device and the authentication node; and the derivation module is configured to be based on the basic key The at least one key is derived.
- the spoofing module is configured to derive an intermediate key according to the basic key, and derive the at least according to the intermediate key A key.
- the spoofing module is configured to perform the intermediate density based on the first parameter Key, wherein the first parameter includes at least the access network node identifier, the NAS counter, the sequence number of the generated intermediate key, the serial number of the data packet, the nonce1, the bearer identifier, the flow identifier, and the slice identifier.
- the first parameter includes at least the access network node identifier, the NAS counter, the sequence number of the generated intermediate key, the serial number of the data packet, the nonce1, the bearer identifier, the flow identifier, and the slice identifier.
- the spoofing module is used to derive the second parameter based on the intermediate key
- the at least one key wherein the second parameter includes at least one of an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier
- the security algorithm identifier is at least one of an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user plane integrity protection algorithm identifier.
- the at least one key includes an air interface signaling encryption key, an air interface signaling integrity encryption key, At least one of a user plane key and a user plane integrity encryption key.
- a first device comprising a memory and a processor, a transmitter and a receiver coupled to the memory, wherein: the transmitter is for transmitting data to the outside, and the receiver is for receiving an external transmission Data for storing the implementation code of the method described in the first aspect, the processor for executing program code stored in the memory, ie performing the method described in the first aspect.
- a second device comprising a memory and a processor, a transmitter and a receiver coupled to the memory, wherein: the transmitter is for transmitting data to the outside, and the receiver is for receiving an external transmission Data for storing the implementation code of the method described in the second aspect, the processor for executing program code stored in the memory, ie performing the method described in the second aspect.
- a policy controller comprising a memory and a processor, a transmitter and a receiver coupled to the memory, wherein: the transmitter is for transmitting data to the outside, the receiver is for receiving Externally transmitted data for storing implementation code of the method described in the third aspect, the processor for executing program code stored in the memory, ie performing the method described in the third aspect.
- a first apparatus comprising a memory and a processor, a transmitter and a receiver coupled to the memory, wherein: the transmitter is for transmitting data to the outside, and the receiver is for receiving an external The transmitted data, the memory for storing implementation code of the method described in the fourth aspect, the processor for executing program code stored in the memory, ie performing the method described in the fourth aspect.
- a storage medium for storing an implementation code of the method of the first aspect described above.
- a storage medium for storing an implementation code of the method of the second aspect described above.
- a storage medium for storing an implementation code of the method described in the third aspect above.
- a storage medium for storing an implementation code of the method described in the fourth aspect above is provided.
- a communication system includes a first device and a second device, wherein the first device is connected to the second device, and the first device is any one of the fifth aspects The device of item 6, wherein the second device is the device of any of the sixth aspects.
- the first device uses the security policy and the at least one key to perform security protection on the session data to obtain the protection data
- the second device restores the protection data according to the same security policy and the at least one key to obtain the protection data.
- Session data The embodiment of the present invention implements end-to-end protection. After the session data is sent from the first device (one end), the session data is always in a security protection state before reaching the second device (the other end), thereby avoiding the transmission. I was illegally stolen on the way. Moreover, in the process of transmission, session data does not need to be encrypted and restored in the intermediate nodes that pass through, which can effectively save resources.
- FIG. 1 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
- FIG. 2 is a schematic flowchart of a security implementation method according to an embodiment of the present invention.
- 3A is a schematic structural diagram of a first data packet according to an embodiment of the present invention.
- 3B is a schematic structural diagram of a second data packet according to an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of a protocol data unit according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a protocol stack and an encapsulation package according to an embodiment of the present invention.
- FIG. 6A is an interaction diagram of a first type of first device and a second device acquiring a security policy from a policy controller according to an embodiment of the present disclosure
- FIG. 6B is an interaction diagram of a second type of first device and a second device acquiring a security policy from a policy controller according to an embodiment of the present disclosure
- FIG. 6C is an interaction diagram of a third first device and a second device acquiring a security policy from a policy controller according to an embodiment of the present disclosure
- FIG. 6D is an interaction diagram of a fourth type of first device and a second device acquiring a security policy from a policy controller according to an embodiment of the present disclosure
- FIG. 7 is an interaction diagram of a method for a first device and a second device to obtain at least one key from an authentication service network element according to an embodiment of the present disclosure
- FIG. 8 is a schematic diagram of a package header according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of an external IP header provided by an embodiment of the present invention.
- FIG. 10 is a schematic diagram of a session occupying air interface resources according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of a session occupying a radio bearer according to an embodiment of the present invention.
- FIG. 12 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of an acquiring module of a first type of first device according to an embodiment of the present disclosure
- FIG. 14 is a schematic structural diagram of an acquiring module of a second type of first device according to an embodiment of the present disclosure.
- FIG. 15 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
- 16 is a schematic structural diagram of an acquiring module of a first type of second device according to an embodiment of the present invention.
- FIG. 17 is a schematic structural diagram of an acquiring module of a second second device according to an embodiment of the present disclosure.
- FIG. 18 is a schematic structural diagram of a policy controller according to an embodiment of the present invention.
- FIG. 19 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
- FIG. 20 is a schematic structural diagram of a first device according to an embodiment of the present disclosure.
- FIG. 21 is a schematic structural diagram of a second device according to an embodiment of the present disclosure.
- FIG. 22 is a schematic structural diagram of a policy controller according to an embodiment of the present invention.
- the network architecture of future mobile communications includes a terminal device 110, an access network node 120, and a user plane node 130.
- the terminal device 110 accesses the operation network through the access network node 120, thereby implementing communication with the user plane node 130.
- the terminal device 110 is a logical entity, and may be any one of a user equipment (User Equipment) and a communication device (Internet of Things (IoT) device).
- the user equipment may be a smart phone, a smart watch, a smart tablet, and the like.
- the communication device can be a server, a gateway (GW), a base station, a controller, and the like.
- IoT devices can be sensors, electricity meters, water meters, and the like.
- the access node may be a wireless access point, such as a base station, a Wi-Fi access point (Wireless Fidelity), a Bluetooth access point, or the like, or may be a wired access. Points, such as: gateway, modem, fiber access, IP access, etc.
- the user plane node 130 can be a gateway, a server, a controller, a user plane function network element, or a terminal device.
- the user plane node 130 may be disposed inside the operation network or may be disposed outside the operation network. It should be understood that setting the user plane node 130 outside the operating network in FIG. 1 is only an example and should not constitute a specific limitation. Meanwhile, in an actual application, the user plane node 130 may be a terminal device, or may be a control network element such as a gateway, a server, a controller, and a user plane function network element. It should be understood that the use of a terminal device to represent the user plane node 130 in FIG. 1 is merely an example and should not be specifically limited.
- the carrier network includes: a Policy Controller Function (PCF), a Key Management System (KMS) 150, and the like. among them,
- PCF Policy Controller Function
- KMS Key Management System
- the policy controller 140 is configured to manage security policies in the network.
- the PCF may be deployed as a separate logical function entity or may be integrated in a Mobility Management (MM) network element or a session management network element (Session Management, SM), Authentication Service Function (AUSF), Policy charging and rules function (PCRF), Mobility Management Entity (MME), Home Subscriber Server (Home Subscriber) Server, HSS), Authentication Center (AuC), Authentication Credential Repository and Processing Function (ARPF), Security Context Management Function (SCMF) Access and Mobility Management Function (AMF), Access Network (AN), User plane function (UPF) and other devices.
- MM Mobility Management
- AUSF Authentication Service Function
- PCRF Policy charging and rules function
- MME Mobility Management Entity
- HSS Home Subscriber Server
- AuC Authentication Center
- ARPF Authentication Credential Repository and Processing Function
- SCMF Security Context Management Function
- AMF Access and Mobility Management Function
- AN User plane function
- UPF User plane function
- the Key Management System (English: Key Management System, KMS for short) is responsible for key generation, management, and negotiation. KMS can be deployed as a separate logical function entity, or it can be integrated into Mobility Management (MM) network elements, Session Management (SM), and Authentication Server Function (AUSF). , Security Anchor Function (SEAF), Mobility Management Entity (MME), Home Subscriber Server (HSS), Authentication Center (AuC), authentication Authentication Credential Repository and Processing Function (ARPF), Security Context Management Function (SCMF), Access and Mobility Management Function (AMF) Access node (Access network, AN), user plane function (UPF), authentication unit (English: Control Plane-Authentication Unit, CP-AU), etc.
- the physical entity of the function of the Management Center is Key management device.
- the mobility management network element is configured to manage terminal device location information, security, and service continuity, and the physical entity that can directly perform the function of the mobility management network element is a mobility management device or an MM.
- the session management network element is used to perform the establishment and management of a session, a slice, a flow flow, or a bearer.
- the physical entity that can be said to perform the function of the session management network element is a session management device or an SM.
- the establishment and management of the slice, flow flow or bearer are handled by the mobility management network element.
- the authentication service controller is responsible for key generation, management, and negotiation.
- the AUSF can be deployed as a separate logical function entity or in a Mobility Management (MM) network element or a Session Management Network (SMS).
- MM Mobility Management
- SMS Session Management Network
- the mobility management entity is used for access control, including security and admission control, mobility management, attach and detach, session management functions, and when a user has a data service request, select a data gateway or service gateway to place the user's data. Forward it and so on.
- the home subscriber network is used to manage and invoke the subscriber database. It contains the user identity, user profile, which includes the user's root key information, and may also include the user's preset security capabilities and parameters.
- the HSS is mainly responsible for managing the user's subscription data and the location information of the mobile user.
- the authentication center is used to store the authentication algorithm and key, ensure the security of various security parameters, and provide authentication parameters to the home user location register (HLR, HSS, ARPF, MME, or AUSF).
- HLR home user location register
- ARPF ARPF
- MME MME
- AUSF home user location register
- the authentication credential storage and processing function network element is used for the management, generation, and authentication of keys.
- Security context management NEs are used for security context management, including key management, generation, and distribution.
- Access and Mobility Management Function responsible for access control and mobility management.
- FIG. 1 the logical relationship between the network elements is embodied.
- some network elements may be deployed separately, or two or two or multiple network elements may be integrated into one entity.
- SM and MM are deployed in one entity; or SM and MM are deployed in different entities respectively; or AMF is deployed with SEAF.
- the embodiment of the present invention provides a security implementation method.
- the security implementation method includes the following steps:
- the first device acquires a security policy of the session and at least one key.
- the second device acquires a security policy of the session and at least one key.
- the session has a unique session identifier, that is, the session identifier is used to identify the identity of the session.
- the session identifier may be generated by any one of a terminal device, an access network node, a mobility management network element, a session management network element, and a policy controller.
- the session identifier is generated when the terminal device prepares to create a new session; and the session identifier is any one of the access network node, the mobility management network element, the session management network element, and the policy controller.
- the session identifier When generating, the session identifier is generated when any one of the access network node, the mobility management network element, the session management network element, and the policy controller receives a request sent by another network element.
- the session identifier may be a newly created identifier, or may be multiplexed with other identifiers, for example, an air interface identifier, a radio bearer identifier, a slice identifier, an air interface resource identifier, a device permanent identifier, a device temporary identifier, a user permanent identifier, a user temporary identifier, and the like. Any of them.
- the security policy is used to indicate the protection mode of the session, for example, indicating which security or security of the session needs to be protected.
- the security policy of the session can also indicate the security algorithm used by each security protection, the key length used, and the key update time. At least one of them.
- the security of the session includes cipherability, integrity, non-repudiation and the like.
- the cipherability of the session refers to the ciphertext that is unreadable after the session is processed by the algorithm, so as to prevent the session data from being illegally stolen and read.
- the integrity of the session means that the session data has not been illegally added, deleted, replaced, etc. during the transmission.
- the unrecognizable nature of a session means that both parties to the conversation cannot deny the behavior of the session and the content of the session.
- the security protection of the session is implemented by the security algorithm using the at least one key to process the session.
- the security algorithm may be any one of null, AES, Snow 3G, ZUC, and the like, where null represents an empty algorithm.
- the key length can be any of 64-bit, 96-bit, 128-bit, 192-bit, and 256-bit, and so on.
- the key update time may be any one of 6 hours, 12 hours, 24 hours, and 48 hours, and the like.
- multiple security protections of a session can be implemented by using the same security algorithm, the same key, and the same key update time, or different security algorithms, different keys, and The session is processed with different key update times.
- the security algorithm adopted for the encryption is Snow 3G algorithm
- the key length is 64 bits
- the key update time is 6.
- the security algorithm adopted for the encryption is Snow 3G algorithm
- the key length is 64 bits
- the key update time is 6 hours.
- the security algorithm used is the ZUC algorithm
- the key length is 128 bits
- the key update time is 12 hours.
- the protection mode of the session includes the following three: protecting the first security of the session data by using the first key by using the first security algorithm, and using the second security algorithm by using the second security algorithm
- the key protects the second security of the session data, and simultaneously protects the first security of the session data by using the first key by the first security algorithm and the second key pair by the second security algorithm
- the second security of session data is protected.
- the key length includes a first key length and/or a second key length.
- the first key length is used to represent the length of the first key
- the second key length is used to represent the length of the second key.
- the first key length and the second key length may be the same or different.
- the key update time includes a first key update time and/or a second key update time.
- the first key update time is used to represent an update time of the first key
- the second key update time is used to represent an update time of the second key.
- the first key update time and the second key update time may be the same or may not be the same.
- the first security of the session refers to the encryption of the session
- the second security of the session refers to the integrity of the session.
- the first security algorithm refers to any one of algorithms such as null, 3DES, AES, snow 3G, Blowfish, Serpent, ZUC, HC-256, and Grain.
- the second security algorithm refers to any one of algorithms such as null, AES, ZUC, Snow 3G, HMAC, OMAC, CBC-MAC, PMAC, UMAC, and VMAC.
- the first security algorithm and the second security algorithm may be the same or different.
- the security policy content possibilities of the session include, but are not limited to, at least one of an algorithm identification, a key length, and a key update time.
- the first algorithm identifier and the second algorithm identifier respectively represent a security algorithm adopted by the first security and a security algorithm adopted by the second security.
- the algorithm identifier includes a first algorithm identifier and a second algorithm identifier, where the first algorithm identifier is used to represent the first security identifier.
- the security algorithm, the second algorithm identifier is used to represent the security algorithm used by the second security algorithm; when the security algorithm adopted by the first security is the same as the security algorithm adopted by the second security, the algorithm identifier may include the first algorithm identifier And the second algorithm identifier, and the first algorithm identifier is the same as the second algorithm identifier, or only one algorithm identifier is used to represent the security algorithm used by the first security and the security algorithm used by the second security.
- the security algorithm adopted by the sex and the security algorithm adopted by the second security adopt the same security algorithm.
- the first key length and the second key length are used to indicate the length of the key used by the first security and the length of the key used by the second security, respectively.
- the key length includes a first key length and a second key length, where A key length is used to indicate the length of the key used by the security algorithm of the first security, and the second key length is used to represent the length of the key adopted by the security algorithm of the second security; when the security of the first security is used
- the key length may include the first key length and the second key length, and the first key length and the second key The length is the same, or only one key length is used to indicate the length of the key used by the first security and the length of the key used by the second security, and the length of the key used by the first security and the second security
- the keys used for sex are the same length.
- the first key update time and the second key update time respectively represent the update time of the key adopted by the security algorithm of the first security and the update time of the key adopted by the security algorithm of the second security. Or, when the key used by the first security security algorithm is different from the update time of the key adopted by the second security algorithm, the key update time includes the first key update time and the second key update time.
- the first key update time is used to indicate the update time of the key adopted by the security algorithm of the first security
- the second key length is used to indicate the update time of the key adopted by the security algorithm of the second security
- the key update time may include the first key update time and the second key update time
- the first key update time is the same as the second key update time, or only one key update time is used to indicate the update time of the key used by the security algorithm of the first security and the second security security algorithm is adopted.
- the update time of the key at which time the update time of the key adopted by the security algorithm of the first security is the same as the update time of the key adopted by the security algorithm of the second security.
- the security policy content of the session may further set the first bit and the second bit, wherein the first bit is used to indicate whether the first security protection is needed, and the second bit is used to indicate whether the second security is needed.
- Sexual protection For example, when the first bit is “0”, it is used to indicate that the first security protection is not required, and when the first bit is “1”, it is used to indicate that the first security protection is required.
- the second bit When the second bit is “0”, it is used to indicate that the second security protection is not required, and when the first bit is “1”, it is used to indicate that the second security protection is required.
- the security policy format includes various forms.
- the first security algorithm identifier is used to represent the first security algorithm used.
- the second security is not required to be protected.
- 2 indicates that the second security needs to be protected, and the second security algorithm identifier is used to represent the second security algorithm used.
- security policy first security algorithm identifier
- second key length
- the security policy may be an air interface security policy or a session security policy.
- the security policy is used to protect the security between the terminal device and the access network node (including the uplink and downlink)
- the security policy is an air interface security policy
- the security policy is used to protect the terminal device from the user plane node (including the uplink).
- the security policy is the session security policy.
- the core network security policy includes a session security policy and an air interface security policy.
- the security policy obtained by the first device and the second device and the at least one key are the same.
- the security policy obtained by the first device is “bit 1
- the security policy obtained by the second device is also "bit 1
- the at least one key obtained by the first device is “0011 0011 1011 1101”
- the at least one key obtained by the second device is “0011 0011 1011 1101”.
- the first device and the second device may obtain the security policy from the policy controller, and the first device and the second device may acquire at least one key from the authentication service network element.
- the method for the first device and the second device to obtain the security policy from the policy controller, and the method for the first device and the second device to obtain the at least one key from the authentication service network element are described in detail below. Expand the description.
- the first device and the second device can obtain the security policy from other network elements in addition to the security policy.
- the policy controller sends the security policy to the third-party network element, and the first device and the second device can obtain the security policy from the third-party network element.
- the policy controller has sent a security policy to the second device, and the first device may directly request the security policy from the second device.
- the first device performs security protection on the session data of the session by using at least one key according to the security policy of the session, thereby obtaining protection data.
- the protection data may be any one of header data, payload data, and a packet.
- the header data is used to record related information of the session data
- the payload data is used to record real session data
- the data packet includes header data and load data. That is, the protection data can be part or all of the data packet.
- the first device only protects the header data or the payload data, and can not only realize the security protection of the session, but also avoid the huge calculation caused by the security protection of the entire data packet.
- the data volume of the header data is much smaller than the data volume of the data packet, and only the security protection of the header data can greatly reduce the calculation amount for security protection.
- the first device protects the entire data packet, which can increase the difficulty of cracking and improve the reliability of security protection. In actual use, you can choose to secure the header data, load data, or data packets as needed.
- the protection data further includes a parameter field, where the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field.
- the first identifier field is used to indicate that the message is a session message.
- the second identifier field is used to indicate at least one of a service identifier, a session identifier, a bearer identifier, a flow identifier, and a slice identifier.
- the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes a counter, and further includes at least one of a length field, a padding field, a MAC field, and an algorithm update time field, wherein the counter is used to indicate a sequence number of the data packet.
- the length field is used to indicate the length of the parameter field, or the length of the entire data packet, or the length of the payload.
- the padding field is used for encryption, the padding field satisfies the requirements of the encryption algorithm for the message length.
- the MAC field is an integrity protection parameter after data integrity protection.
- the algorithm update time field is used to indicate when the algorithm is updated.
- a PDU includes: a PDU header, zero or more Service Data Units (SDUs), zero or more information control elements, and possibly There is padding.
- SDUs Service Data Units
- one PDU header may have one or more subheaders, and one subheader consists of six domains (R/R/E/LCID/F/L) or four domains (R/R/E/). LCID) composition.
- a specific manner of adding a parameter field in the protection data may be as follows:
- the first device may carry the parameter field by using an added information control unit by adding one or more information control units (generated by the protocol layer) in the PDU.
- the parameter fields may be carried in one information control unit or may be carried in different information control units, respectively.
- the first device may pass a parameter field carried in one or more SDUs (generated by an upper layer protocol layer) in the protection data. Since the SDU is from the upper layer, the first device may add the parameter field in an upper layer message. It should be understood that the parameter fields may be carried in one SDU or may be carried in different SDUs respectively. When the parameter field is carried in multiple SDUs, it may be carried in multiple consecutive SDUs or in multiple SDUs that are not consecutive. The above example is described by taking the PDU as an example. In actual use, the IP packet, the Ethernet packet, or other non-IP packets may be used, and the present invention is not limited thereto.
- the counter is a mandatory parameter field
- the length field is an optional parameter field.
- the packet field is an optional parameter field.
- the MAC The field is a mandatory parameter field and the algorithm update time field is an optional parameter field.
- the first device sends the protection data to the second device.
- the first device if the first device is the terminal device and the second device is the access network node, the first device needs to pass the transmission chain of the terminal device-access network node when the protection data is sent to the second device. road. If the first device is a terminal device and the second device is a user plane node, the first device needs to pass the transmission link of the terminal device-access network node-user plane node when transmitting the protection data to the second device.
- a data packet is a basic unit for protecting data for transmission. In order to enable a data packet to be transmitted in a corresponding protocol stack, the data packet needs to be encapsulated into a package conforming to the protocol stack format according to the protocol stack.
- the transport protocol stack may be a protocol stack format in LTE, including MAC (Media Access Control Media Access Control), RLC (Radio Link Control), and PDCP (Packet Data Convergence Protocol). Protocol) layer; may also be the protocol stack format for next-generation mobile communications, and is not limited here.
- MAC Media Access Control Media Access Control
- RLC Radio Link Control
- PDCP Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- Protocol Packet Data Convergence Protocol
- the data packet needs to be encapsulated into a package as shown in
- the data packet In order to enable the data packet to be transmitted on the transmission link of the access network node-user plane node, the data packet needs to be encapsulated into a package as shown in the right side of FIG. 5 according to the protocol stack. As shown on the right side of FIG. 5, the package includes an L1/L2 header, an outer IP header, an encapsulate header, a PDU header, and data inclusion. Among them, the data packet includes a (PDU header) and a PDU payload.
- the second device receives the protection data of the session sent by the first device.
- the second device determines a session identifier of the session, and identifies, according to the session identifier of the session, protection data of the session sent by the first device.
- the manner in which the second device determines the session identifier of the session is different from the manner in which the second device determines the session identifier of the session when the second device is the user node.
- the manner in which the second device determines the session identifier of the session and when the second device is the user node will be specifically described below. Do not expand the description.
- the method for determining the session identifier is related to the format of the package package sent to the second device. For details, refer to the following.
- the second device uses the at least one key to restore the protection data according to the session security policy to obtain session data, and/or perform an integrity check.
- the protection of the end-to-end communication described in the present application includes end-to-end protection of the session, and also includes end-to-end protection based on slices, flow flow or bearing bearer.
- the second device can process the network element for the user plane in the slice.
- the method for the first device and the second device to obtain the security policy from the policy controller includes the following steps. :
- the first device sends a first request to the second device, where the first request includes a first device identifier, a first device security capability, a service security requirement, and the first request may further include a service identifier and the like.
- the second device receives the first request sent by the first device.
- the first device identifier is used to characterize the identity of the first device or user that issued the first request.
- the first device identifier may be a Media Access Control (MAC) address, an Internet Protocol (IP) address, a mobile phone number, an International Mobile Equipment Identity (IMEI), and an international mobile subscriber identity.
- MAC Media Access Control
- IP Internet Protocol
- IMEI International Mobile Equipment Identity
- IMSI International Mobile Subscriber Identity
- IMPI IP Multimedia Private Identity
- TMSI Temporary Mobile Subscriber Identity
- IMPU IP Multimedia Public Identity
- GUI Globally Unique Temporary UE Identity
- the first device security capability is used to represent at least one of a security algorithm that the first device can support, a key length that can be supported, and a key update period that can be supported.
- a security algorithm that the first device can support
- the storage capacity and operation speed of different devices are different. Therefore, the security algorithms supported by different devices, the supported key lengths, and the supported key update periods are different.
- the storage capacity of the IoT device is not large, the computing speed is not high, and the security algorithm with high complexity cannot be supported.
- the storage capacity of the smart phone is large, the computing speed is relatively high, and the security algorithm with high complexity can be supported. . Therefore, the first device needs to notify the policy controller of the first device security capability, so that the policy controller generates the security policy in combination with the first device security capability.
- the service security requirement is used to characterize at least one of a service acceptable security algorithm, an acceptable key length, and an acceptable key update period. It can be understood that different services have different requirements for security algorithms, key lengths, and key update periods. For example, financial services have higher requirements for security algorithms, while video download services have lower requirements for security algorithms. Therefore, the first device needs to notify the policy controller of the service security requirement, so that the policy controller generates a security policy in combination with the service security requirement.
- the first request may be an access request or a session request.
- the access request function includes, but is not limited to, the following description: used to trigger a random access procedure, so that the first device accesses the operating network through a random access procedure.
- the first device Before the random access procedure, the first device is in an RRC idle state (RRC_IDLE). After the initial random access procedure, the first device transitions from the RRC idle state (RRC_IDLE) to the RRC connected state (RRC_CONNECTED).
- the session request is for requesting to establish a session between the first device and the second device. For example, the session is established through a session establishment protocol. At this time, the session request is session establishment request signaling.
- the second device sends a second request to the policy controller.
- the second request includes the first device identifier, the first device security capability, the service security requirement, and the access network node security capability.
- the policy controller receives the second request sent by the second device.
- the second request includes the access device security requirement in addition to the first device identifier, the first device security capability, and the service security requirement in the first request. It can be understood that if the service identifier is also included in the first request, the service identifier is also included in the second request.
- the second request is generated based on the first request, so when the first request is an access request, the second request is also an access request; when the first request is a session request, the second request is also a session request . It is also possible that the first request is an access request and the second request is a session request. It can be understood that the specific naming of the first request and the second request is not limited.
- the access network node security capability is used to represent at least one of a security algorithm that the access network node can provide, a key length that can be provided, and a key update period that can be provided. It can be understood that the storage capacity of different access network nodes and the operation speed are different. Therefore, the security algorithms supported by different access network nodes, the supported key lengths, and the supported key update periods are different. For example, when the access network node is a Wi-Fi hotspot, the Wi-Fi hotspot cannot support a more complex security algorithm. When the access network node is a base station, the base station can support a highly complex security algorithm.
- the policy controller generates an air interface security policy based on the second request.
- the policy controller may generate an air interface security policy according to the first device security capability, the service security requirement, and the access network node security capability; or may be based only on the service security requirement and the access network node security capability.
- An air interface security policy is generated.
- the policy controller may also generate an air interface security policy in conjunction with the pre-made security capabilities.
- the pre-made security capability is returned to the policy controller by the AUSF or the Authentication Credential Repository and Processing Function (ARPF) according to the first device identifier and/or the service identifier sent by the policy controller.
- ARPF Authentication Credential Repository and Processing Function
- the policy controller can also generate an air interface security policy in conjunction with the security requirements of the server.
- the security requirement of the server is that the server returns to the policy controller according to the first device identifier and/or the service identifier sent by the policy controller.
- a server is a device that provides services to terminal devices.
- the server includes, but is not limited to, an application server, a print server, a web server, an FTP server, an e-commerce server, a database server, a real-time communication server, a file server, a mail server, and the like.
- the air interface security policy is determined according to the following preset rules: the security policy is determined according to the content of one or more security requirements. If the security policy is determined based only on the content of a security requirement, the content of the security policy is the same as the content of this security requirement. If you determine your security policy based on the content of multiple security requirements, you can follow these guidelines:
- the protection key length is 64
- the protection key length in the content of security requirement 2 is 128, and the protection key length of the security policy is 128.
- the security policy is determined, that is, the more resource-saving content of the content of multiple security requirements is used as the content of the security policy.
- the content of each security requirement includes an encryption algorithm
- the integrity protection algorithm of the content of some security requirements is null
- the content of the security policy includes an encryption algorithm, and does not include an integrity protection algorithm.
- the security policy is determined by following the priority of security requirements. That is, if the priority of the algorithm is specified in a security requirement, the priority of the algorithm is used as the basis for the negotiation of the security algorithm; the final algorithm selected is an algorithm supported by all security requirements, and the algorithm has the highest priority as the highest priority. The content of the security policy.
- the security policy is negotiated. For example, according to the priority of several encryption algorithms specified in security requirement 2, according to the priority specification, determine which encryption is used in the security policy. algorithm.
- multiple security requirements specify the priority of the algorithm.
- the algorithm priority of a security requirement may be dominant.
- the priority according to security requirement 2 is the primary priority.
- the policy controller returns an air interface security policy to the second device.
- the second device receives the air interface security policy sent by the policy controller.
- the second device returns an air interface security policy to the first device.
- the first device receives the air interface security policy sent by the second device.
- the method for the first device and the second device to obtain the security policy from the policy controller includes the following steps. :
- the first device sends a first request to the second device, where the first request includes a first device identifier, a first device security capability, a service security requirement, and the first request may further include a service identifier and the like.
- the second device receives the first request sent by the first device.
- the first device identifier is used to characterize the identity of the first device or user that issued the first request.
- the first device identifier may be a Media Access Control (MAC) address, an Internet Protocol (IP) address, a mobile phone number, an International Mobile Equipment Identity (IMEI), and an international mobile subscriber identity.
- MAC Media Access Control
- IP Internet Protocol
- IMEI International Mobile Equipment Identity
- IMSI International Mobile Subscriber Identity
- IMPI IP Multimedia Private Identity
- TMSI Temporary Mobile Subscriber Identity
- IMPU IP Multimedia Public Identity
- GUI Globally Unique Temporary UE Identity
- the first device security capability is used to represent at least one of a security algorithm that the first device can support, a key length that can be supported, and a key update period that can be supported.
- a security algorithm that the first device can support
- the storage capacity and operation speed of different devices are different. Therefore, the security algorithms supported by different devices, the supported key lengths, and the supported key update periods are different.
- the storage capacity of the IoT device is not large, the computing speed is not high, and the security algorithm with high complexity cannot be supported.
- the storage capacity of the smart phone is large, the computing speed is relatively high, and the security algorithm with high complexity can be supported. . Therefore, the first device needs to notify the policy controller of the first device security capability, so that the policy controller generates the security policy in combination with the first device security capability.
- the service security requirement is used to characterize at least one of a service acceptable security algorithm, an acceptable key length, and an acceptable key update period. It can be understood that different services have different requirements for security algorithms, key lengths, and key update periods. For example, financial services have higher requirements for security algorithms, while video download services have lower requirements for security algorithms. Therefore, the first device needs to notify the policy controller of the service security requirement, so that the policy controller generates a security policy in combination with the service security requirement.
- the first request may be an access request or a session request.
- the access request function includes, but is not limited to, the following description: used to trigger a random access procedure, so that the first device accesses the operating network through a random access procedure.
- the first device Before the random access procedure, the first device is in an RRC idle state (RRC_IDLE). After the initial random access procedure, the first device transitions from the RRC idle state (RRC_IDLE) to the RRC connected state (RRC_CONNECTED).
- the session request is for requesting to establish a session between the first device and the second device. For example, the session is established through a session establishment protocol. At this time, the session request is session establishment request signaling.
- the second device sends a second request to the session management network element.
- the second request includes the first device identifier, the first device security capability, the service security requirement, and the access network node security capability.
- the session management network element receives the second request sent by the second device.
- the second request is generated based on the first request.
- the first request is an access request
- the second request is also an access request;
- the first request is a session request
- the second request is also a session request.
- the specific naming of the first request and the second request is not limited.
- the second request includes an access network node security requirement in addition to the first device identifier, the first device security capability, and the service security requirement in the first request. It can be understood that if the service identifier is also included in the first request, the service identifier is also included in the second request. It can be understood that the specific naming of the first request and the second request is not limited.
- the access network node security capability is used to represent at least one of a security algorithm that the access network node can provide, a key length that can be provided, and a key update period that can be provided. It can be understood that the storage capacity of different access network nodes and the operation speed are different. Therefore, the security algorithms supported by different access network nodes, the supported key lengths, and the supported key update periods are different. For example, when the access network node is a Wi-Fi hotspot, the Wi-Fi hotspot cannot support a more complex security algorithm. When the access network node is a base station, the base station can support a highly complex security algorithm.
- the session management network element forwards the second request to the policy controller.
- the policy controller receives the second request sent by the session management network element.
- the policy controller generates an air interface security policy based on the second request.
- the policy controller may generate an air interface security policy according to the first device security capability, the service security requirement, and the access network node security capability; or may be based only on the service security requirement and the access network node security capability.
- An air interface security policy is generated.
- the policy controller may also generate an air interface security policy in conjunction with the pre-made security capabilities.
- the pre-made security capability is returned to the policy controller by the AUSF or the Authentication Credential Repository and Processing Function (ARPF) according to the first device identifier and/or the service identifier sent by the policy controller.
- ARPF Authentication Credential Repository and Processing Function
- the policy controller can also generate an air interface security policy in conjunction with the security requirements of the server.
- the security requirement of the server is that the server returns to the policy controller according to the first device identifier and/or the service identifier sent by the policy controller.
- a server is a device that provides services to terminal devices.
- the server includes, but is not limited to, an application server, a print server, a web server, an FTP server, an e-commerce server, a database server, a real-time communication server, a file server, a mail server, and the like.
- the air interface security policy is determined according to the following preset rules: the security policy is determined according to the content of one or more security requirements. If the security policy is determined based only on the content of a security requirement, the content of the security policy is the same as the content of this security requirement. If you determine your security policy based on the content of multiple security requirements, you can follow these guidelines:
- the protection key length is 64
- the protection key length in the content of security requirement 2 is 128, and the protection key length of the security policy is 128.
- the security policy is determined, that is, the more resource-saving content of the content of multiple security requirements is used as the content of the security policy.
- the content of each security requirement includes an encryption algorithm
- the integrity protection algorithm of the content of some security requirements is null
- the content of the security policy includes an encryption algorithm, and does not include an integrity protection algorithm.
- the security policy is determined by following the priority of security requirements. That is, if the priority of the algorithm is specified in a security requirement, the priority of the algorithm is used as the basis for the negotiation of the security algorithm; the final algorithm selected is an algorithm supported by all security requirements, and the algorithm has the highest priority as the highest priority. The content of the security policy.
- the security policy is negotiated. For example, according to the priority of several encryption algorithms specified in security requirement 2, according to the priority specification, determine which encryption is used in the security policy. algorithm.
- multiple security requirements specify the priority of the algorithm.
- the algorithm priority of a security requirement may be dominant.
- the priority according to security requirement 2 is the primary priority.
- the policy controller sends an air interface security policy to the session management network element.
- the session management network element receives the air interface security policy sent by the policy controller.
- the session management network element returns an air interface security policy to the second device.
- the second device receives the air interface security policy sent by the session management network element.
- the second device returns an air interface security policy to the first device.
- the first device receives the air interface security policy returned by the second device.
- the method for the first device and the second device to obtain the security policy from the policy controller includes the following steps. :
- the first device sends a first request to the second device, where the first request includes the first device identifier, the first device security capability, and the service security requirement, and the first request may further include the service identifier and the like.
- the second device receives the first request sent by the first device.
- the first device identifier is used to characterize the identity of the first device or user that issued the first request.
- the first device identifier may be a Media Access Control (MAC) address, an Internet Protocol (IP) address, a mobile phone number, an International Mobile Equipment Identity (IMEI), and an international mobile subscriber identity.
- MAC Media Access Control
- IP Internet Protocol
- IMEI International Mobile Equipment Identity
- IMSI International Mobile Subscriber Identity
- IMPI IP Multimedia Private Identity
- TMSI Temporary Mobile Subscriber Identity
- IMPU IP Multimedia Public Identity
- GUI Globally Unique Temporary UE Identity
- the first device security capability is used to represent at least one of a security algorithm that the first device can support, a key length that can be supported, and a key update period that can be supported.
- a security algorithm that the first device can support
- the storage capacity and operation speed of different devices are different. Therefore, the security algorithms supported by different devices, the supported key lengths, and the supported key update periods are different.
- the storage capacity of the IoT device is not large, the computing speed is not high, and the security algorithm with high complexity cannot be supported.
- the storage capacity of the smart phone is large, the computing speed is relatively high, and the security algorithm with high complexity can be supported. . Therefore, the first device needs to notify the policy controller of the first device security capability, so that the policy controller generates the security policy in combination with the first device security capability.
- the service security requirement is used to characterize at least one of a service acceptable security algorithm, an acceptable key length, and an acceptable key update period. It can be understood that different services have different requirements for security algorithms, key lengths, and key update periods. For example, financial services have higher requirements for security algorithms, while video download services have lower requirements for security algorithms. Therefore, the first device needs to notify the policy controller of the service security requirement, so that the policy controller generates a security policy in combination with the service security requirement.
- the first request may be an access request or a session request.
- the access request function includes, but is not limited to, the following description: used to trigger a random access procedure, so that the first device accesses the operating network through a random access procedure.
- the first device Before the random access procedure, the first device is in an RRC idle state (RRC_IDLE). After the initial random access procedure, the first device transitions from the RRC idle state (RRC_IDLE) to the RRC connected state (RRC_CONNECTED).
- the session request is for requesting to establish a session between the first device and the second device. For example, the session is established through a session establishment protocol. At this time, the session request is session establishment request signaling.
- the second device sends a second request to the mobility management network element.
- the second request includes the first device identifier, the first device security capability, the service security requirement, and the access network node security requirement.
- the mobility management network element receives the second request sent by the second device.
- the second request is generated based on the first request.
- the first request is an access request
- the second request is also an access request
- the first request is a session request
- the second request is also an access request.
- the first request is an access request and the second request is a session request.
- the second request includes an access network node security requirement in addition to the first device identifier, the first device security capability, and the service security requirement in the first request. It can be understood that if the service identifier is also included in the first request, the service identifier is also included in the second request. It can be understood that the specific naming of the first request and the second request is not limited.
- the access network node security capability is used to represent at least one of a security algorithm that the access network node can provide, a key length that can be provided, and a key update period that can be provided. It can be understood that the storage capacity of different access network nodes and the operation speed are different. Therefore, the security algorithms supported by different access network nodes, the supported key lengths, and the supported key update periods are different. For example, when the access network node is a Wi-Fi hotspot, the Wi-Fi hotspot cannot support a more complex security algorithm. When the access network node is a base station, the base station can support a highly complex security algorithm.
- the mobility management network element forwards the second request to the session management network element.
- the session management network element receives the second request sent by the mobility management network element.
- the session management network element forwards the second request to the policy controller.
- the policy controller receives the second request sent by the session management network element.
- the policy controller generates an air interface security policy based on the second request.
- the policy controller may generate an air interface security policy according to the first device security capability, the service security requirement, and the access network node security capability; or may be based only on the service security requirement and the access network node security capability.
- An air interface security policy is generated.
- the policy controller may also generate an air interface security policy in conjunction with the pre-made security capabilities.
- the pre-made security capability is returned to the policy controller by the AUSF or the Authentication Credential Repository and Processing Function (ARPF) according to the first device identifier and/or the service identifier sent by the policy controller.
- ARPF Authentication Credential Repository and Processing Function
- the policy controller can also generate an air interface security policy in conjunction with the security requirements of the server.
- the security requirement of the server is that the server returns to the policy controller according to the first device identifier and/or the service identifier sent by the policy controller.
- a server is a device that provides services to terminal devices.
- the server includes, but is not limited to, an application server, a print server, a web server, an FTP server, an e-commerce server, a database server, a real-time communication server, a file server, a mail server, and the like.
- the air interface security policy is determined according to the following preset rules: the security policy is determined according to the content of one or more security requirements. If the security policy is determined based only on the content of a security requirement, the content of the security policy is the same as the content of this security requirement. If you determine your security policy based on the content of multiple security requirements, you can follow these guidelines:
- the protection key length is 64
- the protection key length in the content of security requirement 2 is 128, and the protection key length of the security policy is 128.
- the security policy is determined, that is, the more resource-saving content of the content of multiple security requirements is used as the content of the security policy.
- the content of each security requirement includes an encryption algorithm
- the integrity protection algorithm of the content of some security requirements is null
- the content of the security policy includes an encryption algorithm, and does not include an integrity protection algorithm.
- the security policy is determined by following the priority of security requirements. That is, if the priority of the algorithm is specified in a security requirement, the priority of the algorithm is used as the basis for the negotiation of the security algorithm; the final algorithm selected is an algorithm supported by all security requirements, and the algorithm has the highest priority as the highest priority. The content of the security policy.
- the security policy is negotiated. For example, according to the priority of several encryption algorithms specified in security requirement 2, according to the priority specification, determine which encryption is used in the security policy. algorithm.
- multiple security requirements specify the priority of the algorithm.
- the algorithm priority of a security requirement may be dominant.
- the priority according to security requirement 2 is the primary priority.
- the policy controller sends an air interface security policy to the session management network element.
- the session management network element receives the air interface security policy sent by the policy controller.
- the session management network element returns an air interface security policy to the mobility management network element.
- the mobility management network element receives the air interface security policy sent by the session management network element.
- the mobility management network element returns an air interface security policy to the second device.
- the second device receives the second device that is sent by the mobility management network element.
- the second device returns an air interface security policy to the first device.
- the first device receives the air interface security policy returned by the second device.
- the method for the first device and the second device to obtain the security policy from the policy controller includes the following steps. :
- the first device sends a first request to the second device, where the first request includes a first device identifier, a first device security capability, a service security requirement, and the first request may further include a service identifier and the like.
- the second device receives the first request sent by the first device.
- the first device identifier is used to characterize the identity of the first device or user that issued the first request.
- the first device identifier may be a Media Access Control (MAC) address, an Internet Protocol (IP) address, a mobile phone number, an International Mobile Equipment Identity (IMEI), and an international mobile subscriber identity.
- MAC Media Access Control
- IP Internet Protocol
- IMEI International Mobile Equipment Identity
- IMSI International Mobile Subscriber Identity
- IMPI IP Multimedia Private Identity
- TMSI Temporary Mobile Subscriber Identity
- IMPU IP Multimedia Public Identity
- GUI Globally Unique Temporary UE Identity
- the first device security capability is used to represent at least one of a security algorithm that the first device can support, a key length that can be supported, and a key update period that can be supported.
- a security algorithm that the first device can support
- the storage capacity and operation speed of different devices are different. Therefore, the security algorithms supported by different devices, the supported key lengths, and the supported key update periods are different.
- the storage capacity of the IoT device is not large, the computing speed is not high, and the security algorithm with high complexity cannot be supported.
- the storage capacity of the smart phone is large, the computing speed is relatively high, and the security algorithm with high complexity can be supported. . Therefore, the first device needs to notify the policy controller of the first device security capability, so that the policy controller generates the security policy in combination with the first device security capability.
- the service security requirement is used to characterize at least one of a service acceptable security algorithm, an acceptable key length, and an acceptable key update period. It can be understood that different services have different requirements for security algorithms, key lengths, and key update periods. For example, financial services have higher requirements for security algorithms, while video download services have lower requirements for security algorithms. Therefore, the first device needs to notify the policy controller of the service security requirement, so that the policy controller generates a security policy in combination with the service security requirement.
- the first request may be an access request or a session request.
- the access request function includes, but is not limited to, the following description: used to trigger a random access procedure, so that the first device accesses the operating network through a random access procedure.
- the first device Before the random access procedure, the first device is in an RRC idle state (RRC_IDLE). After the initial random access procedure, the first device transitions from the RRC idle state (RRC_IDLE) to the RRC connected state (RRC_CONNECTED).
- the session request is for requesting to establish a session between the first device and the second device. For example, a session is established through a Session Initiation Protocol (SIP). In this case, the session request is invoke signaling.
- SIP Session Initiation Protocol
- the second device sends a first request to the policy controller.
- the second request includes a first device identifier, a first device security capability, and a service security requirement.
- the policy controller receives the second request sent by the second device.
- the second request is generated based on the first request.
- the first request is an access request
- the second request is also an access request
- the first request is a session request
- the second request is also an access request. It is also possible that the first request is an access request and the second request is a session request. It can be understood that the specific naming of the first request and the second request is not limited.
- the policy controller generates a core network security policy based on the second request.
- the policy controller may generate an air interface security policy according to the first device security capability and the service security requirement; or may generate the core network security policy only according to the service security requirement.
- the policy controller may also generate a core network security policy in conjunction with the pre-made security capabilities.
- the pre-made security capability is returned to the policy controller by the AUSF or the Authentication Credential Repository and Processing Function (ARPF) according to the first device identifier and/or the service identifier sent by the policy controller.
- ARPF Authentication Credential Repository and Processing Function
- the policy controller can also generate a core network security policy in conjunction with the security requirements of the server.
- the security requirement of the server is that the server returns to the policy controller according to the first device identifier and/or the service identifier sent by the policy controller.
- a server is a device that provides services to terminal devices.
- the server includes, but is not limited to, an application server, a print server, a web server, an FTP server, an e-commerce server, a database server, a real-time communication server, a file server, a mail server, and the like.
- the air interface security policy is determined according to the following preset rules: the security policy is determined according to the content of one or more security requirements. If the security policy is determined based only on the content of a security requirement, the content of the security policy is the same as the content of this security requirement. If you determine your security policy based on the content of multiple security requirements, you can follow these guidelines:
- the protection key length is 64
- the protection key length in the content of security requirement 2 is 128, and the protection key length of the security policy is 128.
- the security policy is determined, that is, the more resource-saving content of the content of multiple security requirements is used as the content of the security policy.
- the content of each security requirement includes an encryption algorithm
- the integrity protection algorithm of the content of some security requirements is null
- the content of the security policy includes an encryption algorithm, and does not include an integrity protection algorithm.
- the security policy is determined by following the priority of security requirements. That is, if the priority of the algorithm is specified in a security requirement, the priority of the algorithm is used as the basis for the negotiation of the security algorithm; the final algorithm selected is an algorithm supported by all security requirements, and the algorithm has the highest priority as the highest priority. The content of the security policy.
- the security policy is negotiated. For example, according to the priority of several encryption algorithms specified in security requirement 2, according to the priority specification, determine which encryption is used in the security policy. algorithm.
- multiple security requirements specify the priority of the algorithm.
- the algorithm priority of a security requirement may be dominant.
- the priority according to security requirement 2 is the primary priority.
- the policy controller returns a core network security policy to the second device.
- the second device receives the core network security policy sent by the policy controller.
- the second device determines the air interface security policy according to the core network security policy and the security capability of the access network node.
- the access network node security capability is used to represent at least one of a security algorithm that the access network node can provide, a key length that can be provided, and a key update period that can be provided. It can be understood that the storage capacity of different access network nodes and the operation speed are different. Therefore, the security algorithms supported by different access network nodes, the supported key lengths, and the supported key update periods are different. For example, when the access network node is a Wi-Fi hotspot, the Wi-Fi hotspot cannot support a more complex security algorithm. When the access network node is a base station, the base station can support a highly complex security algorithm.
- the second device returns an air interface security policy to the first device.
- the first device receives the air interface security policy sent by the second device.
- the method for the first device and the second device to obtain the at least one key from the authentication service network element includes the following steps:
- the first device sends a third request to the second device.
- the second device receives the third request sent by the first device.
- the third request may be sent before the process of the first device accessing the network and the MM establishing the context; the third device may be sent in the process of establishing the context between the first device accessing the network and the MM; The device and AUSF send during the two-way authentication process.
- the third request may be an access request.
- the third request includes a first device or a user identifier, where the first device identifier is used to identify an identity of the first device that sends the first request.
- the first device identifier may be a Media Access Control (MAC) address, an Internet Protocol (IP) address, a mobile phone number, an International Mobile Equipment Identity (IMEI), and an international mobile subscriber identity.
- MAC Media Access Control
- IP Internet Protocol
- IMEI International Mobile Equipment Identity
- IMSI International Mobile Subscriber Identity
- IMPI IP Multimedia Private Identity
- TMSI Temporary Mobile Subscriber Identity
- IMPU IP Multimedia Public Identity
- GUI Globally Unique Temporary UE Identity
- the second device sends a third request to an authentication node (eg, AUSF, or a node such as SEAF).
- an authentication node eg, AUSF, or a node such as SEAF.
- the authentication node receives the third request sent by the second device.
- the authentication node Before authentication, the authentication node can send the first device identifier to the root key storage center (such as ARPF) and obtain the authentication vector from the root key storage center. Based on the authentication vector, the mutual authentication between the first device and the authentication node is complete.
- the root key storage center such as ARPF
- the first device and the authentication node respectively obtain one or more derivations to obtain a basic key.
- the authentication node sends the base key to the KMS.
- the KMS can be deployed independently or deployed with other network elements, such as KMS and Authentication Center, AUSF, ARPF, SEAF, SCMF, AMF, SMF, AN (second device), MME, etc.
- KMS and Authentication Center AUSF, ARPF, SEAF, SCMF, AMF, SMF, AN (second device), MME, etc.
- the first device derives an access key based on the basic key.
- a key may be calculated according to the security policy, which may be used for encryption and/or integrity protection.
- the key used for cryptographic protection and the key used for integrity protection may be calculated separately.
- the key may be used to protect the air interface signaling, or to protect the user plane data, and the key is divided into an air interface signaling encryption key, an air interface information integrity key, and user plane encryption. Key, user plane integrity protection key.
- the first device is based on the first parameter, and derives an intermediate key according to the basic key.
- the first device then generates at least one key based on the second parameter and based on the intermediate key.
- the first parameter includes at least one of an access network node identifier, a NAS counter, a sequence number for generating the intermediate key, a sequence number of the data packet, a nonce1, a bearer identifier, a flow identifier, a policy set, and a slice identifier.
- the second parameter includes at least one of an air interface security policy identifier, a security algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a flow identifier, a slice identifier, a policy set, and a session identifier, where the security algorithm identifier is an air interface.
- the first device is based on the first parameter, and the intermediate key K an is derived according to the basic key:
- K an KDF (Kkms, access network node identifier, NAS counter, sequence number for generating the intermediate key, sequence number of the data packet, nonce1, bearer identifier, flow identifier, policy set, session identifier, and slice identifier at least one).
- the policy set is a security policy
- Kkms is the base key
- nonce1 is a random parameter.
- the first device based on the second parameter, and based on the intermediate key derivation of the encryption key K 1 is specifically:
- K 1 KDF (Kan, (air interface security policy identifies security algorithm identifier, the NAS counter, the nonce2, air interface resource identifier, air interface bearer identifier, and a session identifier identifying the slice in at least one), policy set).
- K 1 KDF(Kan, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 1 KDF (Kan, encryption algorithm ID, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 1 KDF (Kan, encryption identifier, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 1 KDF (Kan, encryption algorithm ID).
- the policy set is the security policy and the Kan is the intermediate key.
- the encryption identifier can be a string that identifies the result of this derivation as an encryption key.
- Nonce2 is a random parameter, which can be selected by the KMS, or carried by the first device in the session request, and the purpose of using the random parameter calculation is to improve the security and randomness of the key.
- the key derivation includes at least one of two nones, one of the nonce comes from the KMS (selected by the KMS, sent directly to the first device, or sent to the first device through the SM), and the other nonce comes from the first device (Holded by the first device in the session request).
- the first device is based on the second parameter, and the integrity key K 2 is derived according to the intermediate key.
- K 2 KDF (Kan, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier), policy set).
- K 2 KDF(Kan, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 2 KDF (Kan, integrity protection algorithm ID, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 2 KDF (Kan, integrity protection identifier, (air interface security policy identifier, security algorithm identifier, NAS counter, nonce2, air interface resource identifier, air interface bearer identifier, slice identifier, and session identifier)).
- K 2 KDF (Kan, integrity protection algorithm ID).
- the integrity protection identifier can be a string that identifies the result of this derivation as an integrity protection key.
- the above KDF is a key derivation function, including but not limited to the following cryptographic derivation functions: HMAC (such as HMAC-SHA256, HMAC-SHA1), NMAC, CMAC, OMAC, CBC-MAC, PMAC, UMAC and VMAC, and HASH algorithm. Wait.
- HMAC such as HMAC-SHA256, HMAC-SHA1
- NMAC such as HMAC-SHA256, HMAC-SHA1
- CMAC CMAC
- OMAC OMAC
- CBC-MAC CBC-MAC
- PMAC UMAC and VMAC
- HASH algorithm HASH algorithm
- the first device can use different keys to derive Algorithms to meet the requirements of different security policies for different protection key lengths (for example, HMAC-SHA1 is used to generate 128-bit protection keys, HMAC-SHA256 is used to generate 256-bit protection keys); in addition, KMS may use only one algorithm. Generate a key, and then use a shortening (truncate) or extension, etc. to generate keys of other lengths.
- the processing of the key length by the first device includes, but is not limited to, the foregoing processing manner.
- the intermediate key may be obtained by performing one or more derivations based on the basic key, and the at least one key may also be obtained by performing one or more derivations based on the intermediate key.
- the KMS derives the intermediate key according to the basic key.
- the AUSF is based on the first parameter, and derives an intermediate key according to the basic key. For details, see step 740. The details are not described here.
- the KMS sends the intermediate key to the second device.
- the second device receives the intermediate key sent by the AUSF.
- the second device derives at least one key based on the intermediate key.
- the second device is based on the second parameter, and derives at least one key according to the intermediate key. For details, see step 740. The details are not described here.
- the at least one key derivation is mainly illustrated by the first device and the second device, and in addition, the at least one key may also be configured by MM, KMS,
- the network elements such as SM, AAA, or Policy control are derived, and are not specifically limited in this application.
- the second device sends a request to the KMS, wherein the air interface security policy is protected, and the encryption key and the integrity protection key are derived by the KMS and then sent to the second device.
- the implementation manner of the session identifier of the session is determined by several major second devices provided by the embodiments of the present invention.
- the manner in which the second device determines the session identifier of the session includes the following:
- the second device determines a session identifier of the session by using an encapsulation header where the protection data is located.
- the mapping between the identifier in the encapsulation header and the session identifier may be determined by the second device according to the identifier in the encapsulation header.
- the identifier in the encapsulation header includes at least one of a QoS identifier, a tunnel identifier, and a MAC identifier. For example, if the encapsulation header is a GTP (GPRS Tunneling Protocol GPRS Tunneling Protocol) encapsulation format, as shown in FIG. 8, the encapsulation header includes a version, a protocol type, a reserved bit, and an extended table.
- GTP GPRS Tunneling Protocol GPRS Tunneling Protocol
- the second device determines the session identifier according to the tunnel identifier in the encapsulation header.
- the second device determines a session identifier of the session by using an external IP header where the protection data is located.
- the external IP header includes Version, Internet Header Length (IHL), Type of Service (TOS), Total Length, Identity, Flag, Segment Offset, and Survival. Period, protocol, header checksum, source address, destination address, options, and data. The source address and/or the destination address are mapped to the session identifier, and the session identifier of the session can be determined according to the source address and/or the destination address in the external IP header.
- the second device determines the session of the session by using an identifier in the encapsulation header where the protection data is located and a source address and/or a destination address in an external IP header where the protection data is located. logo.
- the second device determines the session identifier of the session by using the identifier in the protocol data unit header of the protection data and/or the identifier in the encapsulation header where the protection data is located.
- the identifier in the header of the protocol data unit may be at least one of an IP address, a MAC address, and the like.
- the mapping between the identifier in the header of the protocol data unit and the session identifier, or the mapping between the identifier in the encapsulation header and the session identifier of the session, or the identifier in the header of the protocol data unit and the identifier in the encapsulation header are The session ID has a mapping relationship. Therefore, the session identifier can be determined according to the protocol data unit header and the encapsulation header.
- the protocol data unit header is similar to the format of the external IP header. For details, refer to FIG. 9 and related descriptions.
- the mapping method includes, but is not limited to, the following manner: the second device inputs the identifier in the protocol data unit header into the filter, and the filter outputs the session identifier.
- the filter can represent the mapping relationship between the identifier in the header of the protocol data unit and the session identifier, that is, when the identifier is identified in the header of the input protocol data unit, the filter outputs the session identifier.
- the second device determines a session identifier of the session by using a parameter field in the protection data.
- the parameter field is shown in Figure 3A or Figure 3B.
- the session identifier may be determined according to the content of the second identifier field in the parameter field. For example, if the second identifier field in the parameter field is a session identifier, the second device may directly obtain the session identifier.
- the second identifier field in the parameter field is at least one of a service identifier, a bearer identifier, a flow identifier, and a slice identifier
- the service identifier, the bearer identifier, the flow identifier, and the slice identifier and the session identifier may be used according to the service identifier, the bearer identifier, and the slice identifier.
- the manner in which the second device determines the session identifier of the session includes the following:
- the second device determines a session identifier of the session by using an air interface resource occupied by the session.
- Figure 10 shows the air interface resources occupied by the session.
- the session identifier of the session may be determined by distinguishing the air interface resources occupied by the session. For example, as shown in FIG. 10, the session occupies an air interface resource with a time slot of S1 (shaded in the figure). According to the air interface resource occupied by the session, S1, the session identifier of the session can be determined.
- S1 the time slot of S1
- the second device determines the session identifier of the session by using an air interface identifier of the air interface occupied by the session.
- the air interface identifier may be: an air interface bearer identifier (such as a signaling bearer identifier or a data bearer identifier), an air interface resource identifier, or a cell radio network temporary identification identifier (CRNTI: Cell Radio Network Temmporary Identify).
- the mapping between the air interface identifier and the session identifier is determined by the mapping between the air interface identifier and the session identifier.
- FIG. 11 illustrates a possibility of a data radio bearer occupied by a session, and the session identifier of the session can be determined by distinguishing the identifier of the data radio bearer occupied by the session.
- the session occupies the resource establishment data radio bearer shown by the shaded areas “1”, “2”, and “3” in the figure, and the session identifier of the session can be determined according to the identifier of the radio bearer occupied by the session.
- the examples are merely illustrative of the embodiments of the invention and should not be construed as limiting.
- the second device determines a session identifier of the session by using a parameter field in the protection data.
- the parameter field is shown in Figure 3A or Figure 3B.
- the session identifier may be determined according to the content of the second identifier field in the parameter field. For example, if the second identifier field in the parameter field is a session identifier, the second device may directly obtain the session identifier.
- the second identifier field in the parameter field is at least one of a service identifier, a bearer identifier, a flow identifier, and a slice identifier
- the service identifier, the bearer identifier, the flow identifier, and the slice identifier and the session identifier may be used according to the service identifier, the bearer identifier, and the slice identifier.
- FIG. 12 is a schematic structural diagram of a first device according to an embodiment of the present invention.
- the first device may include an obtaining module 810 and a sending module 820.
- the detailed description of each unit is as follows.
- the obtaining module 810 is configured to acquire a security policy of the session and at least one key
- the sending module 820 is configured to send protection data to the second device, where the protection data is obtained by using the at least one key to protect the security of the session data of the session according to the security policy of the session.
- the second device is configured to use the at least one key to restore the protection data according to the security policy to obtain the session data;
- the second device when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access network node or a user plane node, the second device For terminal equipment.
- the at least one key comprises: a first key and a second key, wherein the first key is used to protect a first security of the session, the second key Used to protect the second security of the session.
- the security policy is used to indicate the protection mode of the session data, where the protection mode is to protect the first security of the session data by using a first key by using a first security algorithm, Or protecting, by the second security algorithm, the second security of the session data by using the second key, or simultaneously using the first key to use the first key to the first of the session data.
- Security is protected and the second security of the session data is protected by the second security algorithm using a second key.
- the security policy is further configured to indicate at least one of the first security algorithm, the second security algorithm, a key length, and a key update time.
- the key length includes a first key length and/or a second key length, wherein the first key length is used to represent a length of the first key, the second secret The key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where the first key update time is used to represent an update time of the first key, The second key update time is used to characterize an update time of the second key.
- the first security is cryptography
- the second security is integrity
- the protection data further includes a parameter field, where the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field, where the first identifier field is used to indicate that the message is a session.
- the message, the second identifier field is used to indicate at least one of a service identifier, a session identifier, a bearer identifier, a flow identifier, and a slice identifier, where the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length field is used to indicate a length of the parameter field, and the packet field is used to indicate when the packet is encrypted.
- the length of the packet, the MAC field is used to indicate that the session is integrity protected.
- the obtaining module 810 is specifically configured to acquire the security policy from a policy controller.
- the obtaining module 810 includes a sending unit 811 and a receiving unit 813.
- the sending unit 811 is configured to send a first request to the access network node, where the first request includes a security capability of the first device and a service security requirement;
- the receiving unit 813 is configured to receive the security policy returned by the access network node, where the security policy is obtained by the access network node sending a second request to the policy controller, where The second request is generated by the access network node based on the first request, and includes a security capability of the first device, a service security requirement, and a security requirement of the access network node.
- the sending unit 811 is configured to send a first request to the access network node, where the first request includes a security capability of the first device and a service security requirement; Receiving the security policy returned by the access network node, where the security policy is obtained by the access network node forwarding the second request to the policy controller by using at least one network element, where the The second request is generated by the access network node based on the first request, and includes a security capability of the first device, a service security requirement, and a security requirement of the access network node.
- the at least one network element includes a session management network element; or the at least one network element includes a session management network element or a mobility management entity.
- the sending unit 811 is configured to send a first request to the access network node, where the first request includes a security capability of the first device and a service security requirement; Receiving the security policy returned by the access network node, where the security policy is generated by the access network node according to a core network security policy and a security capability of the access network node, the core network
- the security policy is that the policy controller is generated according to the first request forwarded by the access network node.
- the acquiring module 810 includes a sending unit 812, an obtaining unit 814, and a deriving unit 816.
- the sending unit 812 is configured to send a third request to the authentication node by using the access network node;
- the obtaining unit 814 is configured to acquire a base key based on the third request, where the basic key is generated after mutual authentication between the first device and the authentication node;
- the derivation unit 816 is configured to derive the at least one key based on the base key.
- the derivation unit 816 is configured to derive an intermediate key according to the basic key, and derive the at least one key according to the intermediate key.
- the derivation unit 816 is configured to: according to the first parameter, and derive an intermediate key according to the basic key, where the first parameter includes the access network node identifier, a NAS counter, Generating at least one of a sequence number of the intermediate key, a sequence number of the data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the derivation unit 816 is configured to derive the at least one key according to the second parameter, and according to the intermediate key, where the second parameter includes an air interface security policy identifier, and security At least one of an algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier, where the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, and a user plane. At least one of an encryption algorithm identifier and a user plane integrity protection algorithm identifier.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- the protection data is header data, load data, or a data packet, where the data packet includes the header data and the payload data.
- each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 15 is a schematic structural diagram of a second device according to an embodiment of the present invention.
- the second device may include a determining module 910, an obtaining module 920, and an identifying module 930.
- the detailed description of each unit is as follows.
- the determining module 910 is configured to determine a session identifier of the session
- the obtaining module 920 is configured to acquire a security policy of the session and at least one key
- the identifying module 930 is configured to identify, according to the session identifier, protection data of the session sent by the first device, and restore the protection data by using the at least one key according to a security policy of the session.
- the session data wherein the protection data is obtained by the first device protecting the security of the session data by using the at least one key according to a security policy of the session, where the first device is configured to The security policy encrypts the session data using the at least one key to obtain the protection data;
- the second device when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access network node or a user plane node, the second device For terminal equipment.
- the at least one key comprises: a first key and a second key, wherein the first key is used to protect a first security of the session, the second key Used to protect the second security of the session.
- the security policy is used to indicate the protection mode of the session data, where the protection mode is to protect the first security of the session data by using a first key by using a first security algorithm, Or protecting, by the second security algorithm, the second security of the session data by using the second key, or simultaneously using the first key to use the first key to the first of the session data.
- Security is protected and the second security of the session data is protected by the second security algorithm using a second key.
- the security policy is further configured to indicate at least one of the first security algorithm, the second security algorithm, a key length, and a key update time.
- the key length includes a first key length and/or a second key length, wherein the first key length is used to represent a length of the first key, the second secret The key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where the first key update time is used to represent an update time of the first key, The second key update time is used to characterize an update time of the second key.
- the determining module 910 is specifically configured to:
- a session identifier of the session is determined by a parameter field in the protection data.
- the determining module 910 is specifically configured to:
- a session identifier of the session is determined by a parameter field in the protection data.
- the first security is cryptography
- the second security is integrity
- the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field, where the first identifier field is used to indicate that the message is a session message, and the second identifier is The field is used to indicate at least one of a service identifier, a session identifier, and a slice identifier, where the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length field is used to indicate a length of the parameter field, and the packet field is used to indicate when the packet is encrypted.
- the length of the packet, the MAC field is used to indicate that the session is integrity protected.
- the acquiring module 920 is configured to obtain the security policy from the first network element, where the first network element is an authentication controller and a key. Manage any of the controller, policy controller, and key controller.
- the acquiring module 920 includes a receiving unit 921 and a sending unit 923.
- the receiving unit 921 is configured to receive the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement;
- the sending unit 923 is configured to send a second request to the policy controller, where the second request is generated based on the first request, and includes a security capability, a service security requirement, and a location of the first device. Said access network node security requirements;
- the receiving unit 921 is configured to receive the security policy returned by the policy controller, where the security policy is generated by the policy controller according to the second request.
- the receiving unit 921 is configured to receive the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement;
- the sending unit 923 is configured to send, by using at least one network element, a second request to the policy controller, where the second request is generated based on the first request, including a security capability of the first device, Business security requirements and security requirements of the access network node;
- the receiving unit 921 is configured to receive the security policy returned by the policy controller by using the at least one network element, where the security policy is generated by the policy controller according to the second request.
- the at least one network element includes a session management network element; or the at least one network element includes a session management network element or a mobility management entity.
- the receiving unit 921 is configured to receive the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement;
- the sending unit 923 is configured to forward the first request to the policy controller
- the receiving unit 921 is configured to receive a core network security policy returned by the policy controller, and generate the security policy according to the core network security policy and the security capability of the access network node.
- the acquiring module 920 includes a sending unit 922, a receiving unit 924, and a deriving unit 926.
- the sending unit 922 is configured to send a third request to the key management center
- the receiving unit 924 is configured to receive, according to the third request, an intermediate key returned by the key management center, where the intermediate key is derived based on a base key, and the basic key is authenticated. Sending to the key management center by the node;
- the derivation unit 923 is configured to derive the at least one key based on the intermediate key.
- the intermediate key is deduced according to the first parameter, where the first parameter includes the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, and a data packet. At least one of a sequence number, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the derivation unit 923 is configured to derive the at least one key according to the second parameter, and according to the intermediate key, where the second parameter includes an air interface security policy identifier, and security At least one of an algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier, where the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, and a user plane. At least one of an encryption algorithm identifier and a user plane integrity protection algorithm identifier.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- the acquiring module 920 is configured to request the at least one key from the first network element, where the first network element is the first network element.
- the element is any one of an authentication controller, a key management controller, a policy controller, and a key controller.
- the protection data is header data, load data, or a data packet, where the data packet includes the header data and the load data.
- each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 18 is a schematic structural diagram of a policy controller according to an embodiment of the present invention.
- the policy controller may include a receiving module 1110, a generating module 1120, and a sending module 1130.
- the detailed description of each unit is as follows.
- the receiving module 1110 is configured to receive a policy request sent by a target network element, where the policy request includes at least one of a security capability, a service security requirement, and an access network node security requirement of the terminal device;
- the generating module 1120 is configured to generate a security policy according to the target parameter, where the target parameter is generated according to the first request, and includes at least a security capability of the terminal device, a service security requirement, and an access network node security requirement.
- the target parameter is generated according to the first request, and includes at least a security capability of the terminal device, a service security requirement, and an access network node security requirement.
- the sending module 1130 is configured to send a security policy to an access network node.
- the target parameter further includes: a pre-made security capability of the terminal device, where the pre-made security capability of the terminal device is obtained from the authentication service controller AUSF.
- the target parameter further includes: a security requirement of the server, wherein the security requirement of the server is obtained from the server.
- the target network element is an access network node or a session management network element.
- each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 19 is a schematic structural diagram of a first device according to an embodiment of the present invention.
- the first device may include a sending module 1210, an obtaining module 1220, and a derivation module 1230.
- the sending module 1210 is configured to send a third request to the authentication node by using the access network node;
- the obtaining module 1220 is configured to acquire a base key based on the third request, where the basic key is generated after mutual authentication between the first device and the authentication node;
- the derivation module 1230 is configured to derive the at least one key based on the base key.
- the derivation module 1230 is configured to derive an intermediate key according to the basic key; and deriving the at least one key according to the intermediate key.
- the derivation module 1230 is configured to derive an intermediate key according to the first parameter, where the first parameter includes the access network node identifier, a NAS counter, Generating at least one of a sequence number of the intermediate key, a sequence number of the data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the derivation module 1230 is configured to: according to the second parameter, deriving the at least one key according to the intermediate key; wherein the second parameter includes an air interface security policy identifier, and security At least one of an algorithm identifier, a NAS counter, a nonce2, an air interface resource identifier, an air interface bearer identifier, a slice identifier, and a session identifier, where the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, and a user plane. At least one of an encryption algorithm identifier and a user plane integrity protection algorithm identifier.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- each unit may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 20 is a first device according to an embodiment of the present invention.
- the first device includes a processor 1301, a memory 1302, and a transceiver 1303.
- the processor 1301, the memory 1302, and the transceiver 1303 pass through a bus. Connected to each other.
- the memory 1302 includes, but is not limited to, a random access memory (English: Random Access Memory, RAM for short), a read-only memory (English: Read-Only Memory, ROM for short), and an erasable programmable read-only memory (English: Erasable Programmable Read Only Memory (EPROM), or Portable Read-Only Memory (CD-ROM), which is used for related commands and data.
- the transceiver 1303 is configured to receive and transmit data.
- the processor 1301 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 1301 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
- CPU Central Processing Unit
- the processor 1301 in the first device is configured to read the program code stored in the memory 1302, and perform the following operations:
- the processor 1301 acquires a security policy of the session and at least one key
- the transceiver 1303 sends the protection data to the second device, where the protection data is obtained by using the at least one key to protect the security of the session data of the session according to the security policy of the session, where the The second device is configured to use the at least one key to restore the protection data according to the security policy to obtain the session data;
- the second device when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access network node or a user plane node, the second device For terminal equipment.
- the at least one key comprises: a first key and a second key, wherein the first key is used to protect a first security of the session, the second key Used to protect the second security of the session.
- the security policy is used to indicate the protection mode of the session data, where the protection mode is to protect the first security of the session data by using a first key by using a first security algorithm, Or protecting, by the second security algorithm, the second security of the session data by using the second key, or simultaneously using the first key to use the first key to the first of the session data.
- Security is protected and the second security of the session data is protected by the second security algorithm using a second key.
- the security policy is further configured to indicate at least one of the first security algorithm, the second security algorithm, a key length, and a key update time.
- the key length includes a first key length and/or a second key length, wherein the first key length is used to represent a length of the first key, the second secret The key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where the first key update time is used to represent an update time of the first key, The second key update time is used to characterize an update time of the second key.
- the first security is cryptography
- the second security is integrity
- the protection data further includes a parameter field, where the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field, where the first identifier field is used to indicate that the message is a session.
- the message, the second identifier field is used to indicate at least one of a service identifier, a session identifier, a bearer identifier, a flow identifier, and a slice identifier, where the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length field is used to indicate a length of the parameter field, and the packet field is used to indicate when the packet is encrypted.
- the length of the packet, the MAC field is used to indicate that the session is integrity protected.
- the transceiver 1303 acquires the security policy from the policy controller.
- the transceiver 1303 sends a first request to the access network node, where the first request includes a security capability and a service security requirement of the first device; and the transceiver 1303 receives the access network node.
- the security policy returned wherein the security policy is obtained by the access network node sending a second request to the policy controller, and the second request is that the access network node is based on the
- the security generated by the request includes the security capabilities of the first device, the security requirements of the service, and the security requirements of the access network node.
- the transceiver 1303 sends a first request to the access network node, where the first request includes a security capability and a service security requirement of the first device; and the transceiver 1303 receives the access network node.
- the security policy that is returned, wherein the security policy is obtained by the access network node forwarding the second request to the policy controller by using at least one network element, where the second request is the access network The node is generated based on the first request, including security capabilities of the first device, service security requirements, and security requirements of the access network node.
- the at least one network element includes a session management network element; or the at least one network element includes a session management network element or a mobility management entity.
- the transceiver 1303 sends a first request to the access network node, where the first request includes a security capability of the first device and a service security requirement; optionally, the transceiver 1303 receives the The security policy returned by the access network node, where the security policy is generated by the access network node according to a core network security policy and a security capability of the access network node, where the core network security policy is The policy controller is generated according to the first request forwarded by the access network node.
- the transceiver 1303 sends a third request to the authentication node by using the access network node; the transceiver 1303 acquires a base key based on the third request, where the basic key is the first device and The authentication nodes are generated after mutual authentication; the processor 1301 derives the at least one key based on the basic key.
- the processor 1301 derives an intermediate key according to the basic key; and, according to the intermediate key, derives the at least one key.
- the processor 1301 is based on the first parameter, and deriving an intermediate key according to the basic key, where the first parameter includes the access network node identifier, a NAS counter, and the intermediate density is generated. At least one of a serial number of the key, a serial number of the data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the processor 1301 derives the at least one key according to the second parameter, and according to the intermediate key, where the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the air interface resource identifier At least one of the nonce2
- the air interface bearer identifier At least one of the air interface bearer identifier, the slice identifier, and the session identifier
- the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user.
- the face integrity protection algorithm identifiers At least one of the face integrity protection algorithm identifiers.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- the protection data is header data, load data, or a data packet, where the data packet includes the header data and the load data.
- the processor 1301 in the first device is configured to read the program code stored in the memory 1302, and may also perform the following operations:
- the transceiver 1303 sends a third request to the authentication node by using the access network node; the processor 1301 acquires a base key based on the third request, where the basic key is the first device and The authentication nodes are generated after mutual authentication; the processor 1301 derives the at least one key based on the basic key.
- the processor 1301 derives an intermediate key according to the basic key; and, according to the intermediate key, derives the at least one key.
- the processor 1301 is based on the first parameter, and deriving an intermediate key according to the basic key, where the first parameter includes the access network node identifier, a NAS counter, and the intermediate density is generated. At least one of a serial number of the key, a serial number of the data packet, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the processor 1301 derives the at least one key according to the second parameter, and according to the intermediate key, where the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the air interface resource identifier At least one of the nonce2
- the air interface bearer identifier At least one of the air interface bearer identifier, the slice identifier, and the session identifier
- the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user.
- the face integrity protection algorithm identifiers At least one of the face integrity protection algorithm identifiers.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- each operation may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 21 is a second device, which includes a processor 1401, a memory 1402, and a transceiver 1403.
- the processor 1401, the memory 1402, and the transceiver 1403 pass through a bus. Connected to each other.
- the memory 1402 includes, but is not limited to, a random access memory (English: Random Access Memory, RAM for short), a read-only memory (English: Read-Only Memory, ROM for short), and an erasable programmable read-only memory (English: Erasable Programmable Read Only Memory (EPROM), or Portable Read-Only Memory (CD-ROM), which is used for related commands and data.
- the transceiver 1403 is configured to receive and transmit data.
- the processor 1401 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case where the processor 1401 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
- CPU Central Processing Unit
- the processor 1401 in the first device is configured to read the program code stored in the memory 1402, and perform the following operations:
- the processor 1401 determines a session identifier of the session
- the processor 1401 acquires a security policy of the session and at least one key
- the processor 1401 identifies, according to the session identifier, protection data of the session sent by the first device, and restores the protection data by using the at least one key according to a security policy of the session to obtain session data, where
- the protection data is obtained by the first device protecting the security of the session data by using the at least one key according to the security policy of the session, where the first device is used according to the security policy. Encrypting the session data using the at least one key to obtain the protection data;
- the second device when the first device is a terminal device, the second device is an access network node or a user plane node; when the first device is an access network node or a user plane node, the second device For terminal equipment.
- the at least one key comprises: a first key and a second key, wherein the first key is used to protect a first security of the session, the second key Used to protect the second security of the session.
- the security policy is used to indicate the protection mode of the session data, where the protection mode is to protect the first security of the session data by using a first key by using a first security algorithm, Or protecting, by the second security algorithm, the second security of the session data by using the second key, or simultaneously using the first key to use the first key to the first of the session data.
- Security is protected and the second security of the session data is protected by the second security algorithm using a second key.
- the security policy is further configured to indicate at least one of the first security algorithm, the second security algorithm, a key length, and a key update time.
- the key length includes a first key length and/or a second key length, wherein the first key length is used to represent a length of the first key, the second secret The key length is used to characterize the length of the second key.
- the key update time includes a first key update time and/or a second key update time, where the first key update time is used to represent an update time of the first key, The second key update time is used to characterize an update time of the second key.
- the processor 1401 is configured to:
- a session identifier of the session is determined by a parameter field in the protection data.
- the processor 1401 is configured to:
- a session identifier of the session is determined by a parameter field in the protection data.
- the first security is cryptography
- the second security is integrity
- the parameter field includes at least one of a first identifier field, a second identifier field, and a third identifier field, where the first identifier field is used to indicate that the message is a session message, and the second identifier is The field is used to indicate at least one of a service identifier, a session identifier, and a slice identifier, where the third identifier is used to indicate a protection mode of the session.
- the parameter field further includes at least one of a length field, a packet field, and a MAC field, where the length field is used to indicate a length of the parameter field, and the packet field is used to indicate when the packet is encrypted.
- the length of the packet, the MAC field is used to indicate that the session is integrity protected.
- the transceiver 1403 acquires the security policy from the first network element, where the first network element is any one of an authentication controller, a key management controller, a policy controller, and a key controller.
- the first network element is a policy controller
- the transceiver 1403 receives the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement;
- the transceiver 1403 sends a second request to the policy controller, where the second request is generated based on the first request, including security capabilities of the first device, service security requirements, and the access network. Node security requirements;
- the transceiver 1403 receives the security policy returned by the policy controller, wherein the security policy is generated by the policy controller according to the second request.
- the first network element is a policy controller
- the transceiver 1403 receives the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement;
- the transceiver 1403 sends a second request to the policy controller by using at least one network element, where the second request is generated based on the first request, including security capabilities, service security requirements, and The access network node security requirements;
- the transceiver 1403 receives the security policy returned by the policy controller by the at least one network element, wherein the security policy is generated by the policy controller according to the second request.
- the at least one network element includes a session management network element; or the at least one network element includes a session management network element or a mobility management entity.
- the transceiver 1403 receives the first request sent by the first device, where the first request includes a security capability of the first device and a service security requirement; and the transceiver 1403 forwards the policy to the policy controller.
- the first request; the transceiver 1403 receives a core network security policy returned by the policy controller, and generates the security policy according to the core network security policy and the security capability of the access network node.
- the second device is an access network node
- the transceiver 1403 sends a third request to the key management center
- the transceiver 1403 receives an intermediate key returned by the key management center based on the third request, where the intermediate key is derived based on a base key, and the basic key is sent to the authentication node by the authentication node.
- Key management center Key management center
- the processor 1401 derives the at least one key based on the intermediate key.
- the intermediate key is deduced according to the first parameter, where the first parameter includes the access network node identifier, a NAS counter, a sequence number for generating the intermediate key, and a data packet. At least one of a sequence number, a nonce1, a bearer identifier, a flow identifier, and a slice identifier.
- the processor 1401 derives the at least one key according to the second parameter, and according to the intermediate key, where the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the second parameter includes an air interface security policy identifier, a security algorithm identifier, and a NAS counter.
- the air interface resource identifier At least one of the nonce2
- the air interface bearer identifier At least one of the air interface bearer identifier, the slice identifier, and the session identifier
- the security algorithm identifier is an air interface signaling encryption algorithm identifier, an air interface information integrity protection algorithm identifier, a user plane encryption algorithm identifier, and a user.
- the face integrity protection algorithm identifiers At least one of the face integrity protection algorithm identifiers.
- the at least one key comprises at least one of an air interface signaling encryption key, an air interface signaling integrity encryption key, a user plane key, and a user plane integrity encryption key.
- the transceiver 1403 requests the at least one key from the first network element, where the first network element is the first network element for authentication control.
- the first network element is the first network element for authentication control.
- the protection data is header data, load data, or a data packet, where the data packet includes the header data and the load data.
- each operation may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- FIG. 22 is a policy controller according to an embodiment of the present invention.
- the policy controller includes a processor 1501, a memory 1502, and a transceiver 1503.
- the processor 1501, the memory 1502, and the transceiver 1503 pass through a bus. Connected to each other.
- the memory 1502 includes, but is not limited to, a random access memory (English: Random Access Memory, RAM for short), a read-only memory (English: Read-Only Memory, ROM for short), and an erasable programmable read-only memory (English: Erasable Programmable Read Only Memory (EPROM), or Portable Read-Only Memory (CD-ROM), which is used for related commands and data.
- the transceiver 1503 is for receiving and transmitting data.
- the processor 1501 may be one or more central processing units (English: Central Processing Unit, CPU for short). In the case that the processor 1501 is a CPU, the CPU may be a single core CPU or a multi-core CPU.
- CPU Central Processing Unit
- the processor 1501 in the first device is configured to read the program code stored in the memory 1402 and perform the following operations:
- the transceiver 1503 receives a policy request sent by the target network element, where the policy request includes at least one of a security capability of the terminal device, a service security requirement, and an access network node security requirement;
- the processor 1501 generates a security policy according to the target parameter, where the target parameter is generated according to the first request, and includes at least one of a security capability of the terminal device, a service security requirement, and an access network node security requirement;
- the transceiver 1503 sends a security policy to the access network node.
- the target parameter further includes: a pre-made security capability of the terminal device, where the pre-made security capability of the terminal device is obtained from the authentication service controller AUSF.
- the target parameter further includes: a security requirement of the server, wherein the security requirement of the server is obtained from the server.
- the target network element is an access network node or a session management network element.
- each operation may also correspond to the corresponding description of the method embodiment shown in FIG. 2 .
- the program can be stored in a computer readable storage medium, when the program is executed
- the flow of the method embodiments as described above may be included.
- the foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (103)
- 一种安全实现方法,其特征在于,包括:第一设备获取会话的安全策略以及至少一个密钥;所述第一设备向第二设备发送保护数据,其中,所述保护数据是根据所述会话的安全策略使用所述至少一个密钥对所述会话的会话数据的安全性进行保护得到的,所述第二设备用于根据所述安全策略使用所述至少一个密钥对所述保护数据进行还原以获得所述会话数据;其中,当所述第一设备为终端设备时,所述第二设备为接入网节点或者用户面节点;当所述第一设备为接入网节点或者用户面节点时,所述第二设备为终端设备。
- 根据权利要求1所述的方法,其特征在于,所述至少一个密钥包括:第一密钥以及第二密钥,其中,所述第一密钥用于对所述会话的第一安全性进行保护,所述第二密钥用于对所述会话的第二安全性进行保护。
- 根据权利要求2所述的方法,其特征在于,所述安全策略用于指示所述会话数据的保护方式,其中,所述保护方式是通过第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护,或者,通过第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护,或者,同时通过所述第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护以及通过所述第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护。
- 根据权利要求3所述的方法,其特征在于,所述安全策略还用于指示所述第一安全性算法、所述第二安全性算法、密钥长度以及密钥更新时间中的至少一个。
- 根据权利要求4所述的方法,其特征在于,所述密钥长度包括第一密钥长度和/或第二密钥长度,其中,所述第一密钥长度用于表征所述第一密钥的长度,所述第二密钥长度用于表征所述第二密钥的长度。
- 根据权利要求4所述的方法,其特征在于,所述密钥更新时间包括第一密钥更新时间和/或第二密钥更新时间,其中,所述第一密钥更新时间用于表征所述第一密钥的更新时间,所述第二密钥更新时间用于表征所述第二密钥的更新时间。
- 根据权利要求1-6任一权利要求所述的方法,其特征在于,所述第一安全性为加密性,所述第二安全性为完整性。
- 根据权利要求7所述的方法,其特征在于,所述保护数据还包括参数字段,所述参数字段包括第一标识字段、第二标识字段、第三标识字段至少一个,其中,所述第一标识 字段用于指示本消息为会话消息,所述第二标识字段用于指示业务标识、会话标识、承载标识、flow标识以及切片标识中的至少一个,所述第三标识用于指示所述会话的保护方式。
- 根据权利要8所述的方法,其特征在于,所述参数字段还包括长度字段、分组字段以及MAC字段中的至少一个,其中,所述长度字段用于指示所述参数字段的长度,所述分组字段用于指示分组进行加密时,分组的长度,所述MAC字段用于指示所述会话进行了完整性保护。
- 根据权利要求1至9任一权利要求所述的方法,其特征在于,当所述第二设备为接入网节点时,所述第一设备获取所述安全策略具体为:所述第一设备向策略控制器获取所述安全策略。
- 根据权利要求10所述的方法,其特征在于,所述第一设备向策略控制器获取所述安全策略具体为:所述第一设备向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第一设备接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述接入网节点向所述策略控制器发送第二请求获取得到的,所述第二请求是所述接入网节点基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求。
- 根据权利要求10所述的方法,其特征在于,所述第一设备向策略控制器获取所述安全策略具体为:所述第一设备向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第一设备接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述接入网节点通过至少一个网元向所述策略控制器转发第二请求获取得到的,所述第二请求是所述接入网节点基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求。
- 根据权利要求12所述的方法,其特征在于,所述至少一个网元包括会话管理网元;或者,所述至少一个网元包括会话管理网元或者移动管理实体。
- 根据权利要求10所述的方法,其特征在于,所述第一设备向策略控制器获取所述安全策略具体为:所述第一设备向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第一设备接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述 接入网节点根据核心网安全策略以及所述接入网节点的安全能力生成的,所述核心网安全策略是所述策略控制器根据所述接入网节点转发的第一请求生成的。
- 根据权利要求1至14任一权利要求所述的方法,其特征在于,当所述第二设备为接入网节点时,第一设备获取至少一个密钥具体为:所述第一设备通过所述接入网节点向认证节点发送第三请求;所述第一设备基于所述第三请求获取基础密钥,其中,所述基础密钥是所述第一设备与所述认证节点之间互相认证后产生的;所述第一设备基于所述基础密钥推衍出所述至少一个密钥。
- 根据权利要求15所述的方法,其特征在于,所述第一设备基于所述基础密钥推衍出所述至少一个密钥具体为:所述第一设备根据所述基础密钥推衍出中间密钥;所述第一设备根据所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求16所述的方法,其特征在于,所述第一设备根据所述基础密钥推衍出中间密钥具体为:所述第一设备基于第一参数,并根据所述基础密钥推衍出中间密钥,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求16所述的方法,其特征在于,所述第一设备根据所述中间密钥推衍出所述至少一个密钥具体为:所述第一设备基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求15所述的方法,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 根据权利要求1至19任一权利要求所述的方法,其特征在于,所述保护数据为表头数据、负载数据或者数据包,其中,所述数据包包括所述表头数据以及所述负载数据。
- 一种安全实现方法,其特征在于,包括:第二设备确定会话的会话标识;所述第二设备获取所述会话的安全策略以及至少一个密钥;所述第二设备根据所述会话标识识别第一设备发送的所述会话的保护数据,并通过根据所述会话的安全策略使用所述至少一个密钥对所述保护数据进行还原以获得会话数据,其中,所述保护数据是所述第一设备根据所述会话的安全策略使用所述至少一个密钥对所述会话数据的安全性进行保护得到的,所述第一设备用于根据所述安全策略使用所述至少一个密钥对所述会话数据进行加密以获得所述保护数据;其中,当所述第一设备为终端设备时,所述第二设备为接入网节点或者用户面节点;当所述第一设备为接入网节点或者用户面节点时,所述第二设备为终端设备。
- 根据权利要求21所述的方法,其特征在于,所述至少一个密钥包括:第一密钥以及第二密钥,其中,所述第一密钥用于对所述会话的第一安全性进行保护,所述第二密钥用于对所述会话的第二安全性进行保护。
- 根据权利要求22所述的方法,其特征在于,所述安全策略用于指示所述会话数据的保护方式,其中,所述保护方式是通过第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护,或者,通过第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护,或者,同时通过所述第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护以及通过所述第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护。
- 根据权利要求23所述的方法,其特征在于,所述安全策略还用于指示所述第一安全性算法、所述第二安全性算法、密钥长度以及密钥更新时间中的至少一个。
- 根据权利要求24所述的方法,其特征在于,所述密钥长度包括第一密钥长度和/或第二密钥长度,其中,所述第一密钥长度用于表征所述第一密钥的长度,所述第二密钥长度用于表征所述第二密钥的长度。
- 根据权利要求24所述的方法,其特征在于,所述密钥更新时间包括第一密钥更新时间和/或第二密钥更新时间,其中,所述第一密钥更新时间用于表征所述第一密钥的更新时间,所述第二密钥更新时间用于表征所述第二密钥的更新时间。
- 根据权利要求21至26任一权利要求所述的方法,其特征在于,当所述第二设备为用户面节点时,第二设备确定会话的会话标识具体为:所述第二设备通过所述保护数据所在的封装表头确定会话的会话标识;或者,所述第二设备通过所述保护数据所在的封装表头中的隧道标识确定会话的会话标识;或者,所述第二设备通过所述保护数据所在的外部IP报文表头确定会话的会话标识;或者,所述第二设备通过所述保护数据所在的封装表头和所述保护数据所在的外部IP报文表头确定所述会话的会话标识;或者,所述第二设备通过所述保护数据所在的协议数据单元表头和所述保护数据所在的封装表头确定所述会话的会话标识;或者,所述第二设备通过所述保护数据中的参数字段确定所述会话的会话标识。
- 根据权利要求21至26任一权利要求所述的方法,其特征在于,当所述第二设备为接入网节点时,第二设备确定会话的会话标识具体为:所述第二设备通过所述会话所占用的空口资源确定所述会话的会话标识;或者,所述第二设备通过所述会话所占用的空口的空口标识确定所述会话的会话标识;或者,所述第二设备通过所述会话所占用的数据无线承载的标识确定所述会话的会话标识;或者,所述第二设备通过所述保护数据中的参数字段确定所述会话的会话标识。
- 根据权利要求27或者28所述的方法,其特征在于,所述第一安全性为加密性,所述第二安全性为完整性。
- 根据权利要求29所述的方法,其特征在于,所述参数字段包括第一标识字段、第二标识字段、第三标识字段中的至少一个,其中,所述第一标识字段用于指示本消息为会话消息,所述第二标识字段用于指示业务标识、会话标识以及切片标识中的至少一个,所述第三标识用于指示所述会话的保护方式。
- 根据权利要30所述的方法,其特征在于,所述参数字段还包括长度字段、分组字段以及MAC字段中的至少一个,其中,所述长度字段用于指示所述参数字段的长度,所述分组字段用于指示分组进行加密时,分组的长度,所述MAC字段用于指示所述会话进行了完整性保护。
- 根据权利要求21至31任一权利要求所述的方法,其特征在于,当所述第二设备为接入网节点时,所述第二设备获取所述安全策略具体为:所述第二设备向第一网元获取所述安全策略,其中,所述第一网元为认证控制器、密钥管理控制器、策略控制器和密钥控制器中的任意一个。
- 根据权利要求32所述的方法,其特征在于,当所述第一网元为策略控制器时,所述第二设备向策略控制器获取所述安全策略具体为:所述第二设备接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第二设备向所述策略控制器发送第二请求,其中,所述第二请求是基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求;所述第二设备接收所述策略控制器返回的所述安全策略,其中,所述安全策略是所述策略控制器根据所述第二请求生成的。
- 根据权利要求32所述的方法,其特征在于,当所述第一网元为策略控制器时,所述第二设备向策略控制器获取所述安全策略具体为:所述第二设备接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第二设备通过至少一个网元向所述策略控制器发送第二请求,其中,所述第二请求是基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求;所述第二设备接收所述策略控制器通过所述至少一个网元返回的所述安全策略,其中,所述安全策略是所述策略控制器根据所述第二请求生成的。
- 根据权利要求34所述的方法,其特征在于,所述至少一个网元包括会话管理网元;或者,所述至少一个网元包括会话管理网元或者移动管理实体。
- 根据权利要求32所述的方法,其特征在于,所述第二设备向策略控制器获取所述安全策略具体为:所述第二设备接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述第二设备向所述策略控制器转发所述第一请求;所述第二设备接收所述策略控制器返回的核心网安全策略,并根据所述核心网安全策略以及所述接入网节点的安全能力生成所述安全策略。
- 根据权利要求28至36任一权利要求所述的方法,其特征在于,当所述第二设备为接入网节点时,第二设备获取至少一个密钥具体为:所述第二设备向密钥管理中心发送第三请求;所述第二设备基于所述第三请求接收所述密钥管理中心返回的中间密钥,其中,所述中间密钥是基于基础密钥推衍得到的,所述基础密钥为认证节点发送给所述密钥管理中心的;所述第二设备基于所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求37所述的方法,其特征在于,所述中间密钥是根据第一参数推衍出来的,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求37所述的方法,其特征在于,所述第二设备根据所述中间密钥推衍出所述至少一个密钥具体为:所述第二设备基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资 源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求37所述的方法,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 根据权利要求21至40任一权利要求所述的方法,其特征在于,当所述第二设备为用户面节点时,第二设备获取至少一个密钥具体为:所述第二设备向第一网元请求所述至少一个密钥,其中,所述第一网元为所述第一网元为认证控制器、密钥管理控制器、策略控制器和密钥控制器中的任意一个。
- 根据权利要求21至41任一权利要求所述的方法,其特征在于,所述保护数据为表头数据、负载数据或者数据包,其中,所述数据包包括所述表头数据以及所述负载数据。
- 一种安全策略生成方法,其特征在于,包括:策略控制器接收目标网元发送的策略请求,其中,所述策略请求包括终端设备的安全能力、业务安全需求以及接入网节点安全需求中的至少一个;所述策略控制器根据目标参数生成安全策略,其中,所述目标参数是根据所述第一请求生成的,包括终端设备的安全能力、业务安全需求以及接入网节点安全需求中的至少一个;所述策略控制器向接入网节点发送安全策略。
- 根据权利要求43所述的方法,其特征在于,所述目标参数还包括:终端设备的预制安全能力,其中,所述终端设备的预制安全能力是从认证服务控制器AUSF获取得到的。
- 根据权利要求43或44所述的方法,其特征在于,所述目标参数还包括:服务器的安全需求,其中,所述服务器的安全需求是从服务器获取得到的。
- 根据权利要求43或44或45所述的方法,其特征在于,所述目标网元为接入网节点或者会话管理网元。
- 一种密钥生成方法,其特征在于,包括:所述第一设备通过所述接入网节点向认证节点发送第三请求;所述第一设备基于所述第三请求获取基础密钥,其中,所述基础密钥是所述第一设备与所述认证节点之间互相认证后产生的;所述第一设备基于所述基础密钥推衍出所述至少一个密钥。
- 根据权利要求47所述的方法,其特征在于,所述终端设备基于所述基础密钥推衍出所述至少一个密钥具体为:所述终端设备根据所述基础密钥推衍出中间密钥;所述终端设备根据所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求48所述的方法,其特征在于,所述第一设备根据所述基础密钥推衍出中间密钥具体为:所述终端设备基于第一参数,并根据所述基础密钥推衍出中间密钥,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求48所述的方法,其特征在于,所述终端设备根据所述中间密钥推衍出所述至少一个密钥具体为:所述终端设备基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求47所述的方法,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 一种第一设备,其特征在于,包括:获取模块以及发送模块,所述获取模块用于获取会话的安全策略以及至少一个密钥;所述发送模块用于向第二设备发送保护数据,其中,所述保护数据是根据所述会话的安全策略使用所述至少一个密钥对所述会话的会话数据的安全性进行保护得到的,所述第二设备用于根据所述安全策略使用所述至少一个密钥对所述保护数据进行还原以获得所述会话数据;其中,当所述第一设备为终端设备时,所述第二设备为接入网节点或者用户面节点;当所述第一设备为接入网节点或者用户面节点时,所述第二设备为终端设备。
- 根据权利要求52所述的设备,其特征在于,所述至少一个密钥包括:第一密钥以及第二密钥,其中,所述第一密钥用于对所述会话的第一安全性进行保护,所述第二密钥用于对所述会话的第二安全性进行保护。
- 根据权利要求53所述的设备,其特征在于,所述安全策略用于指示所述会话数据的保护方式,其中,所述保护方式是通过第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护,或者,通过第二安全性算法使用第二密钥对所述会话数据的第二安 全性进行保护,或者,同时通过所述第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护以及通过所述第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护。
- 根据权利要求54所述的设备,其特征在于,所述安全策略还用于指示所述第一安全性算法、所述第二安全性算法、密钥长度以及密钥更新时间中的至少一个。
- 根据权利要求55所述的设备,其特征在于,所述密钥长度包括第一密钥长度和/或第二密钥长度,其中,所述第一密钥长度用于表征所述第一密钥的长度,所述第二密钥长度用于表征所述第二密钥的长度。
- 根据权利要求55所述的设备,其特征在于,所述密钥更新时间包括第一密钥更新时间和/或第二密钥更新时间,其中,所述第一密钥更新时间用于表征所述第一密钥的更新时间,所述第二密钥更新时间用于表征所述第二密钥的更新时间。
- 根据权利要求52-57任一权利要求所述的设备,其特征在于,所述第一安全性为加密性,所述第二安全性为完整性。
- 根据权利要求58所述的设备,其特征在于,所述保护数据还包括参数字段,所述参数字段包括第一标识字段、第二标识字段、第三标识字段至少一个,其中,所述第一标识字段用于指示本消息为会话消息,所述第二标识字段用于指示业务标识、会话标识、承载标识、flow标识以及切片标识中的至少一个,所述第三标识用于指示所述会话的保护方式。
- 根据权利要59所述的设备,其特征在于,所述参数字段还包括长度字段、分组字段以及MAC字段中的至少一个,其中,所述长度字段用于指示所述参数字段的长度,所述分组字段用于指示分组进行加密时,分组的长度,所述MAC字段用于指示所述会话进行了完整性保护。
- 根据权利要求52至60任一权利要求所述的设备,其特征在于,所述获取模块具体用于向策略控制器获取所述安全策略。
- 根据权利要求61所述的设备,其特征在于,所述获取模块包括发送单元以及接收单元,所述发送单元用于向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述接收单元用于接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述接入网节点向所述策略控制器发送第二请求获取得到的,所述第二请求是所述接入网 节点基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求。
- 根据权利要求61所述的设备,其特征在于,所述获取模块包括发送单元以及接收单元,所述发送单元用于向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述接收单元用于接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述接入网节点通过至少一个网元向所述策略控制器转发第二请求获取得到的,所述第二请求是所述接入网节点基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求。
- 根据权利要求63所述的设备,其特征在于,所述至少一个网元包括会话管理网元;或者,所述至少一个网元包括会话管理网元或者移动管理实体。
- 根据权利要求61所述的设备,其特征在于,所述获取模块包括发送单元以及接收单元,所述发送单元用于向所述接入网节点发送第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述接收单元用于接收所述接入网节点返回的所述安全策略,其中,所述安全策略是所述接入网节点根据核心网安全策略以及所述接入网节点的安全能力生成的,所述核心网安全策略是所述策略控制器根据所述接入网节点转发的第一请求生成的。
- 根据权利要求52至65任一权利要求所述的设备,其特征在于,当所述第二设备为接入网节点时,所述获取模块包括发送单元、获取单元以及推衍单元,所述发送单元用于通过所述接入网节点向认证节点发送第三请求;所述获取单元用于基于所述第三请求获取基础密钥,其中,所述基础密钥是所述第一设备与所述认证节点之间互相认证后产生的;所述推衍单元用于基于所述基础密钥推衍出所述至少一个密钥。
- 根据权利要求66所述的设备,其特征在于,所述推衍单元用于根据所述基础密钥推衍出中间密钥,以及,根据所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求67所述的设备,其特征在于,所述推衍单元用于基于第一参数,并根据所述基础密钥推衍出中间密钥,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求67所述的设备,其特征在于,所述推衍单元用于基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求66所述的设备,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 根据权利要求52至70任一权利要求所述的设备,其特征在于,所述保护数据为表头数据、负载数据或者数据包,其中,所述数据包包括所述表头数据以及所述负载数据。
- 一种第二设备,其特征在于,包括:确定模块、获取模块以及识别模块,所述确定模块用于确定会话的会话标识;所述获取模块用于获取所述会话的安全策略以及至少一个密钥;所述识别模块用于根据所述会话标识识别第一设备发送的所述会话的保护数据,并通过根据所述会话的安全策略使用所述至少一个密钥对所述保护数据进行还原以获得会话数据,其中,所述保护数据是所述第一设备根据所述会话的安全策略使用所述至少一个密钥对所述会话数据的安全性进行保护得到的,所述第一设备用于根据所述安全策略使用所述至少一个密钥对所述会话数据进行加密以获得所述保护数据;其中,当所述第一设备为终端设备时,所述第二设备为接入网节点或者用户面节点;当所述第一设备为接入网节点或者用户面节点时,所述第二设备为终端设备。
- 根据权利要求72所述的设备,其特征在于,所述至少一个密钥包括:第一密钥以及第二密钥,其中,所述第一密钥用于对所述会话的第一安全性进行保护,所述第二密钥用于对所述会话的第二安全性进行保护。
- 根据权利要求73所述的设备,其特征在于,所述安全策略用于指示所述会话数据的保护方式,其中,所述保护方式是通过第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护,或者,通过第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护,或者,同时通过所述第一安全性算法使用第一密钥对所述会话数据的第一安全性进行保护以及通过所述第二安全性算法使用第二密钥对所述会话数据的第二安全性进行保护。
- 根据权利要求74所述的设备,其特征在于,所述安全策略还用于指示所述第一安全性算法、所述第二安全性算法、密钥长度以及密钥更新时间中的至少一个。
- 根据权利要求75所述的设备,其特征在于,所述密钥长度包括第一密钥长度和/ 或第二密钥长度,其中,所述第一密钥长度用于表征所述第一密钥的长度,所述第二密钥长度用于表征所述第二密钥的长度。
- 根据权利要求75所述的设备,其特征在于,所述密钥更新时间包括第一密钥更新时间和/或第二密钥更新时间,其中,所述第一密钥更新时间用于表征所述第一密钥的更新时间,所述第二密钥更新时间用于表征所述第二密钥的更新时间。
- 根据权利要求72至77任一权利要求所述的设备,其特征在于,当所述第二设备为用户面节点时,所述确定模块具体用于:通过所述保护数据所在的封装表头确定会话的会话标识;或者,通过所述保护数据所在的封装表头中的隧道标识确定会话的会话标识;或者,通过所述保护数据所在的外部IP报文表头确定会话的会话标识;或者,通过所述保护数据所在的封装表头和所述保护数据所在的外部IP报文表头确定所述会话的会话标识;或者,通过所述保护数据所在的协议数据单元表头和所述保护数据所在的封装表头确定所述会话的会话标识;或者,通过所述保护数据中的参数字段确定所述会话的会话标识。
- 根据权利要求72至77任一权利要求所述的设备,其特征在于,当所述第二设备为接入网节点时,所述确定模块具体用于:通过所述会话所占用的空口资源确定所述会话的会话标识;或者,通过所述会话所占用的空口的空口标识确定所述会话的会话标识;或者,通过所述会话所占用的数据无线承载的标识确定所述会话的会话标识;或者,通过所述保护数据中的参数字段确定所述会话的会话标识。
- 根据权利要求78或者79所述的设备,其特征在于,所述第一安全性为加密性,所述第二安全性为完整性。
- 根据权利要求80所述的设备,其特征在于,所述参数字段包括第一标识字段、第二标识字段、第三标识字段中的至少一个,其中,所述第一标识字段用于指示本消息为会话消息,所述第二标识字段用于指示业务标识、会话标识以及切片标识中的至少一个,所述第三标识用于指示所述会话的保护方式。
- 根据权利要81所述的设备,其特征在于,所述参数字段还包括长度字段、分组字段以及MAC字段中的至少一个,其中,所述长度字段用于指示所述参数字段的长度,所述分组字段用于指示分组进行加密时,分组的长度,所述MAC字段用于指示所述会话进行了完整性保护。
- 根据权利要求72至82任一权利要求所述的设备,其特征在于,当所述第二设备为接入网节点时,所述获取模块用于向第一网元获取所述安全策略,其中,所述第一网元为认证控制器、密钥管理控制器、策略控制器和密钥控制器中的任意一个。
- 根据权利要求83所述的设备,其特征在于,当所述第一网元为策略控制器时,所述获取模块包括接收单元以及发送单元,所述接收单元用于接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述发送单元用于向所述策略控制器发送第二请求,其中,所述第二请求是基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求;所述接收单元用于接收所述策略控制器返回的所述安全策略,其中,所述安全策略是所述策略控制器根据所述第二请求生成的。
- 根据权利要求83所述的设备,其特征在于,当所述第一网元为策略控制器时,所述获取模块包括接收单元以及发送单元,所述接收单元用于接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述发送单元用于通过至少一个网元向所述策略控制器发送第二请求,其中,所述第二请求是基于所述第一请求生成的,包括所述第一设备的安全能力、业务安全需求以及所述接入网节点安全需求;所述接收单元用于接收所述策略控制器通过所述至少一个网元返回的所述安全策略,其中,所述安全策略是所述策略控制器根据所述第二请求生成的。
- 根据权利要求85所述的设备,其特征在于,所述至少一个网元包括会话管理网元;或者,所述至少一个网元包括会话管理网元或者移动管理实体。
- 根据权利要求83所述的设备,其特征在于,所述获取模块包括接收单元以及发送单元,所述接收单元用于接收所述第一设备发送的第一请求,其中,所述第一请求包括所述第一设备的安全能力以及业务安全需求;所述发送单元用于向所述策略控制器转发所述第一请求;所述接收单元用于接收所述策略控制器返回的核心网安全策略,并根据所述核心网安全策略以及所述接入网节点的安全能力生成所述安全策略。
- 根据权利要求79至87任一权利要求所述的设备,其特征在于,当所述第二设备为接入网节点时,所述获取模块包括发送单元、接收单元以及推衍单元,所述发送单元用于向密钥管理中心发送第三请求;所述接收单元用于基于所述第三请求接收所述密钥管理中心返回的中间密钥,其中,所述中间密钥是基于基础密钥推衍得到的,所述基础密钥为认证节点发送给所述密钥管理中心的;所述推衍单元用于基于所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求88所述的设备,其特征在于,所述中间密钥是根据第一参数推衍出来的,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求88所述的设备,其特征在于,所述推衍单元用于基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求88所述的设备,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 根据权利要求72至91任一权利要求所述的设备,其特征在于,当所述第二设备为用户面节点时,所述获取模块用于向第一网元请求所述至少一个密钥,其中,所述第一网元为所述第一网元为认证控制器、密钥管理控制器、策略控制器和密钥控制器中的任意一个。
- 根据权利要求72至92任一权利要求所述的设备,其特征在于,所述保护数据为表头数据、负载数据或者数据包,其中,所述数据包包括所述表头数据以及所述负载数据。
- 一种策略控制器,其特征在于,包括:接收模块、生成模块以及发送模块,所述接收模块用于接收目标网元发送的策略请求,其中,所述策略请求包括终端设备的安全能力、业务安全需求以及接入网节点安全需求中的至少一个;所述生成模块用于根据目标参数生成安全策略,其中,所述目标参数是根据所述第一请求生成的,包括终端设备的安全能力、业务安全需求以及接入网节点安全需求中的至少一个;所述发送模块用于向接入网节点发送安全策略。
- 根据权利要求94所述的策略控制器,其特征在于,所述目标参数还包括:终端设备的预制安全能力,其中,所述终端设备的预制安全能力是从认证服务控制器AUSF获取得到的。
- 根据权利要求94或95所述的策略控制器,其特征在于,所述目标参数还包括:服务器的安全需求,其中,所述服务器的安全需求是从服务器获取得到的。
- 根据权利要求93或94或95所述的策略控制器,其特征在于,所述目标网元为接入网节点或者会话管理网元。
- 一种第一设备,其特征在于,包括:发送模块、获取模块以及推衍模块,所述发送模块用于通过所述接入网节点向认证节点发送第三请求;所述获取模块用于基于所述第三请求获取基础密钥,其中,所述基础密钥是所述第一设备与所述认证节点之间互相认证后产生的;所述推衍模块用于基于所述基础密钥推衍出所述至少一个密钥。
- 根据权利要求98所述的设备,其特征在于,所述推衍模块用于根据所述基础密钥推衍出中间密钥;根据所述中间密钥推衍出所述至少一个密钥。
- 根据权利要求99所述的设备,其特征在于,所述推衍模块用于基于第一参数,并根据所述基础密钥推衍出中间密钥,其中,所述第一参数包括所述接入网节点标识、NAS计数器、生成所述中间密钥的序列号、数据包的序列号、nonce1、承载标识、flow标识以及切片标识中的至少一个。
- 根据权利要求99所述的设备,其特征在于,所述推衍模块用于基于所述第二参数,并根据所述中间密钥推衍出所述至少一个密钥;其中,所述第二参数包括空口安全策略标识、安全算法标识、NAS计数器、nonce2、空口资源标识、空口承载标识、切片标识以及会话标识中的至少一项,所述安全算法标识为空口信令加密算法标识、空口信息完整性保护算法标识、用户面加密算法标识以及用户面完整性保护算法标识中的至少一项。
- 根据权利要求98所述的设备,其特征在于,所述至少一个密钥包括空口信令加密密钥、空口信令完整性加密密钥、用户面密钥以及用户面完整性加密密钥中的至少一项。
- 一种通信系统,其特征在于,所述通信系统包括第一设备以及第二设备,其中,所述第一设备连接所述第二设备,所述第一设备为如权利要求52至71任一权利要求所述的设备;所述第二设备为如权利要求72至93任一权利要求所述的设备。
Priority Applications (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020197023036A KR102263336B1 (ko) | 2017-01-24 | 2018-01-08 | 보안 구현 방법, 기기 및 시스템 |
| RU2019124118A RU2728893C1 (ru) | 2017-01-24 | 2018-01-08 | Способ реализации безопасности, устройство и система |
| EP18744590.3A EP3557840B1 (en) | 2017-01-24 | 2018-01-08 | Security implementation method, device and system |
| EP21175169.8A EP3934199A1 (en) | 2017-01-24 | 2018-01-08 | Security implementation method, device, and system |
| NZ755869A NZ755869B2 (en) | 2017-01-24 | 2018-01-08 | Security implementation method, device and system |
| MYPI2019004170A MY202763A (en) | 2017-01-24 | 2018-01-08 | Security implementation method, device and system |
| US16/521,171 US11025597B2 (en) | 2017-01-24 | 2019-07-24 | Security implementation method, device, and system |
| US17/321,964 US11695742B2 (en) | 2017-01-24 | 2021-05-17 | Security implementation method, device, and system |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710055275.9 | 2017-01-24 | ||
| CN201710055275.9A CN108347410B (zh) | 2017-01-24 | 2017-01-24 | 安全实现方法、设备以及系统 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/521,171 Continuation US11025597B2 (en) | 2017-01-24 | 2019-07-24 | Security implementation method, device, and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018137488A1 true WO2018137488A1 (zh) | 2018-08-02 |
Family
ID=62962052
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2018/071818 Ceased WO2018137488A1 (zh) | 2017-01-24 | 2018-01-08 | 安全实现方法、设备以及系统 |
Country Status (7)
| Country | Link |
|---|---|
| US (2) | US11025597B2 (zh) |
| EP (2) | EP3557840B1 (zh) |
| KR (1) | KR102263336B1 (zh) |
| CN (2) | CN108347410B (zh) |
| MY (1) | MY202763A (zh) |
| RU (1) | RU2728893C1 (zh) |
| WO (1) | WO2018137488A1 (zh) |
Families Citing this family (39)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018201506A1 (zh) | 2017-05-05 | 2018-11-08 | 华为技术有限公司 | 一种通信方法及相关装置 |
| US11645378B2 (en) * | 2018-05-02 | 2023-05-09 | Hewlett-Packard Development Company, L.P. | Document security keys |
| CN109087100B (zh) * | 2018-08-02 | 2021-01-26 | 中国联合网络通信集团有限公司 | 密钥分发方法、装置、设备及存储介质 |
| CN110831007B (zh) | 2018-08-10 | 2021-09-17 | 华为技术有限公司 | 用户面完整性保护方法、装置及设备 |
| CN114286337B (zh) * | 2018-08-13 | 2025-04-29 | 华为技术有限公司 | 分配ebi的方法和装置 |
| US11224093B2 (en) * | 2018-08-13 | 2022-01-11 | Ofinno, Llc | Network initiated UPF sessions transfer |
| CN110856175A (zh) * | 2018-08-21 | 2020-02-28 | 华为技术有限公司 | 一种用户面安全的授权方法及装置 |
| CN112205024A (zh) * | 2018-08-29 | 2021-01-08 | Oppo广东移动通信有限公司 | 无线通信方法和通信设备 |
| CN110913389B (zh) * | 2018-09-15 | 2022-04-05 | 华为技术有限公司 | 获取安全上下文的方法和装置 |
| US11563536B2 (en) * | 2018-11-30 | 2023-01-24 | Nokia Technologies Oy | Method and apparatus for enabling concurrent transport via control plane |
| CN111464572B (zh) * | 2019-01-18 | 2021-09-07 | 华为技术有限公司 | 一种会话配置方法及装置 |
| CN111641582B (zh) * | 2019-03-01 | 2021-11-09 | 华为技术有限公司 | 一种安全保护方法及装置 |
| WO2020240265A1 (en) * | 2019-05-31 | 2020-12-03 | Telefonaktiebolaget Lm Ericsson (Publ) | Towards robust notification mechanism in 5g sba |
| CN113225176B (zh) * | 2020-02-04 | 2022-09-16 | 华为技术有限公司 | 密钥获取方法及装置 |
| CN120416854A (zh) * | 2020-02-17 | 2025-08-01 | 三星电子株式会社 | 用于在v2x通信系统中处理安全性策略的方法和装置 |
| CN117201014A (zh) * | 2020-02-29 | 2023-12-08 | 华为技术有限公司 | 一种密钥更新方法及相关装置 |
| WO2021196167A1 (zh) * | 2020-04-03 | 2021-10-07 | Oppo广东移动通信有限公司 | 信息处理方法、装置、设备及存储介质 |
| CN113784343B (zh) * | 2020-05-22 | 2023-06-20 | 华为技术有限公司 | 保护通信的方法和装置 |
| EP4184978A4 (en) * | 2020-07-30 | 2023-08-30 | Huawei Technologies Co., Ltd. | COMMUNICATION METHOD AND DEVICE |
| KR102916430B1 (ko) * | 2020-07-30 | 2026-01-21 | 후아웨이 테크놀러지 컴퍼니 리미티드 | 통신 방법 및 장치 |
| CN114301613B (zh) * | 2020-09-22 | 2023-08-22 | 华为技术有限公司 | 安全通信的方法和装置 |
| US11552943B2 (en) * | 2020-11-13 | 2023-01-10 | Cyberark Software Ltd. | Native remote access to target resources using secretless connections |
| US11863535B2 (en) * | 2020-12-21 | 2024-01-02 | U-Blox Ag | Methods, devices, and systems for secure communications over a network |
| CN117083893A (zh) * | 2021-01-15 | 2023-11-17 | 瑞典爱立信有限公司 | 用于处置通信网络中的已加密业务的第一节点、第二节点、第三节点及其执行的方法 |
| JP2022114391A (ja) * | 2021-01-26 | 2022-08-05 | 京セラドキュメントソリューションズ株式会社 | 電子機器 |
| CN114866991A (zh) * | 2021-02-03 | 2022-08-05 | 维沃移动通信有限公司 | 核心网系统 |
| KR20220139638A (ko) * | 2021-04-08 | 2022-10-17 | 삼성전자주식회사 | 전자 장치의 네트워크 보안 정책 처리 방법 |
| US12206695B2 (en) | 2021-04-08 | 2025-01-21 | Samsung Electronics Co., Ltd. | Method of processing network security policy of electronic device |
| EP4075721A1 (en) * | 2021-04-16 | 2022-10-19 | Nokia Technologies Oy | Apparatus, method, and computer program |
| CN113630390B (zh) * | 2021-07-23 | 2023-09-01 | 国网湖北省电力有限公司荆州供电公司 | 基于大数据的终端设备的网络安全通信方法及装置 |
| US11843689B2 (en) | 2021-08-06 | 2023-12-12 | Samsung Electronics Co., Ltd. | Methods and systems for reducing propagation delays in hardware implementation of ZUC cryptographic algorithms |
| CN113872752B (zh) * | 2021-09-07 | 2023-10-13 | 哲库科技(北京)有限公司 | 安全引擎模组、安全引擎装置和通信设备 |
| US11941266B2 (en) | 2021-10-20 | 2024-03-26 | Samsung Electronics Co., Ltd. | Resource isolation in computational storage devices |
| CN116017427A (zh) * | 2021-10-21 | 2023-04-25 | 华为技术有限公司 | 一种通信方法及装置 |
| CN120092414A (zh) * | 2022-10-25 | 2025-06-03 | 华为技术有限公司 | 一种通信方法和通信装置 |
| US12556912B2 (en) * | 2023-06-28 | 2026-02-17 | Verizon Patent And Licensing Inc. | Systems and methods for provisioning security policies for deriving session keys |
| WO2025065970A1 (en) * | 2023-09-29 | 2025-04-03 | Huawei Technologies Co., Ltd. | Method and apparatus for communication |
| CN121367911A (zh) * | 2024-07-19 | 2026-01-20 | 华为技术有限公司 | 一种通信方法、通信装置及通信系统 |
| CN118694614B (zh) * | 2024-08-26 | 2024-12-17 | 深圳市迩立信息科技有限公司 | 通信网络安全管理方法及系统 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101188851A (zh) * | 2006-11-17 | 2008-05-28 | 中兴通讯股份有限公司 | 移动终端准入控制的方法 |
| EP2104270A1 (en) * | 2006-12-31 | 2009-09-23 | Huawei Technologies Co Ltd | Method, device and system for policy control |
| CN103763697A (zh) * | 2013-10-29 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | 一种无线接入点多密钥支持系统及方法 |
| CN104954125A (zh) * | 2014-03-25 | 2015-09-30 | 华为技术有限公司 | 密钥协商方法、用户设备、路由器及位置服务器 |
Family Cites Families (25)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001175606A (ja) * | 1999-12-20 | 2001-06-29 | Sony Corp | データ処理装置、データ処理機器およびその方法 |
| TW514844B (en) * | 2000-01-26 | 2002-12-21 | Sony Corp | Data processing system, storage device, data processing method and program providing media |
| US7213144B2 (en) * | 2001-08-08 | 2007-05-01 | Nokia Corporation | Efficient security association establishment negotiation technique |
| US8910241B2 (en) * | 2002-04-25 | 2014-12-09 | Citrix Systems, Inc. | Computer security system |
| AU2003286146A1 (en) * | 2003-10-31 | 2005-06-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Method and devices for the control of the usage of content |
| US9794237B2 (en) * | 2005-01-31 | 2017-10-17 | Unisys Corporation | Secured networks and endpoints applying internet protocol security |
| US7913289B2 (en) * | 2005-05-23 | 2011-03-22 | Broadcom Corporation | Method and apparatus for security policy and enforcing mechanism for a set-top box security processor |
| US20070248085A1 (en) * | 2005-11-12 | 2007-10-25 | Cranite Systems | Method and apparatus for managing hardware address resolution |
| US20080052539A1 (en) * | 2006-07-29 | 2008-02-28 | Macmillan David M | Inline storage protection and key devices |
| US8948395B2 (en) * | 2006-08-24 | 2015-02-03 | Qualcomm Incorporated | Systems and methods for key management for wireless communications systems |
| US8467527B2 (en) * | 2008-12-03 | 2013-06-18 | Intel Corporation | Efficient key derivation for end-to-end network security with traffic visibility |
| US8699711B2 (en) * | 2007-07-18 | 2014-04-15 | Interdigital Technology Corporation | Method and apparatus to implement security in a long term evolution wireless device |
| FI20075776A7 (fi) * | 2007-10-31 | 2009-05-01 | Cassidian Finland Oy | Päästä-päähän salattu viestintä |
| US8532303B2 (en) * | 2007-12-14 | 2013-09-10 | Intel Corporation | Symmetric key distribution framework for the internet |
| US20090264126A1 (en) * | 2008-04-18 | 2009-10-22 | Amit Khetawat | Method and Apparatus for Support of Closed Subscriber Group Services in a Home Node B System |
| US10454674B1 (en) * | 2009-11-16 | 2019-10-22 | Arm Limited | System, method, and device of authenticated encryption of messages |
| CN102958052B (zh) * | 2011-08-29 | 2017-07-14 | 华为技术有限公司 | 一种数据安全传输方法及相关设备 |
| CN103874059B (zh) * | 2012-12-10 | 2018-06-05 | 华为终端(东莞)有限公司 | 报文处理方法及装置、系统 |
| US9716728B1 (en) | 2013-05-07 | 2017-07-25 | Vormetric, Inc. | Instant data security in untrusted environments |
| JP2016526805A (ja) | 2013-06-28 | 2016-09-05 | 日本電気株式会社 | セキュアシステム、及び、セキュア通信を行う方法 |
| US20150032905A1 (en) | 2013-07-24 | 2015-01-29 | Qualcomm Incorporated | Method and system for associating internet protocol (ip) address, media access control (mac) address and location for a user device |
| JP6850530B2 (ja) * | 2014-10-20 | 2021-03-31 | タタ コンサルタンシー サービシズ リミテッドTATA Consultancy Services Limited | セキュアセッションの確立と暗号化データ交換のためのコンピュータ利用システム及びコンピュータ利用方法 |
| US9942034B2 (en) * | 2015-02-13 | 2018-04-10 | Visa International Service Association | Confidential communication management |
| US10454686B2 (en) * | 2015-04-08 | 2019-10-22 | Telefonaktiebolaget Lm Ericsson (Publ) | Method, apparatus, and system for providing encryption or integrity protection in a wireless network |
| US10341239B2 (en) * | 2015-05-21 | 2019-07-02 | Qualcomm Incorporated | Efficient policy enforcement for downlink traffic using network access tokens—control-plane approach |
-
2017
- 2017-01-24 CN CN201710055275.9A patent/CN108347410B/zh active Active
- 2017-01-24 CN CN202110804755.7A patent/CN113630773B/zh active Active
-
2018
- 2018-01-08 EP EP18744590.3A patent/EP3557840B1/en active Active
- 2018-01-08 KR KR1020197023036A patent/KR102263336B1/ko active Active
- 2018-01-08 RU RU2019124118A patent/RU2728893C1/ru active
- 2018-01-08 MY MYPI2019004170A patent/MY202763A/en unknown
- 2018-01-08 WO PCT/CN2018/071818 patent/WO2018137488A1/zh not_active Ceased
- 2018-01-08 EP EP21175169.8A patent/EP3934199A1/en not_active Withdrawn
-
2019
- 2019-07-24 US US16/521,171 patent/US11025597B2/en active Active
-
2021
- 2021-05-17 US US17/321,964 patent/US11695742B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101188851A (zh) * | 2006-11-17 | 2008-05-28 | 中兴通讯股份有限公司 | 移动终端准入控制的方法 |
| EP2104270A1 (en) * | 2006-12-31 | 2009-09-23 | Huawei Technologies Co Ltd | Method, device and system for policy control |
| CN103763697A (zh) * | 2013-10-29 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | 一种无线接入点多密钥支持系统及方法 |
| CN104954125A (zh) * | 2014-03-25 | 2015-09-30 | 华为技术有限公司 | 密钥协商方法、用户设备、路由器及位置服务器 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP3557840A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113630773A (zh) | 2021-11-09 |
| NZ755869A (en) | 2021-03-26 |
| US11025597B2 (en) | 2021-06-01 |
| US20190349340A1 (en) | 2019-11-14 |
| US11695742B2 (en) | 2023-07-04 |
| EP3934199A1 (en) | 2022-01-05 |
| KR20190102068A (ko) | 2019-09-02 |
| KR102263336B1 (ko) | 2021-06-09 |
| CN108347410A (zh) | 2018-07-31 |
| US20210273923A1 (en) | 2021-09-02 |
| RU2728893C1 (ru) | 2020-08-03 |
| EP3557840A1 (en) | 2019-10-23 |
| CN108347410B (zh) | 2021-08-31 |
| CN113630773B (zh) | 2023-02-14 |
| MY202763A (en) | 2024-05-21 |
| EP3557840A4 (en) | 2019-11-27 |
| EP3557840B1 (en) | 2021-05-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11695742B2 (en) | Security implementation method, device, and system | |
| CN110830991B (zh) | 安全会话方法和装置 | |
| US20200084631A1 (en) | Key Configuration Method, Apparatus, and System | |
| US10455414B2 (en) | User-plane security for next generation cellular networks | |
| US11228908B2 (en) | Data transmission method and related device and system | |
| US8560848B2 (en) | Galois/counter mode encryption in a wireless network | |
| US20200228977A1 (en) | Parameter Protection Method And Device, And System | |
| CN109560929A (zh) | 密钥配置及安全策略确定方法、装置 | |
| WO2019096075A1 (zh) | 一种消息保护的方法及装置 | |
| WO2018000936A1 (zh) | 密钥配置及安全策略确定方法、装置 | |
| CN110891269A (zh) | 一种数据保护方法、设备及系统 | |
| WO2022134089A1 (zh) | 一种安全上下文生成方法、装置及计算机可读存储介质 | |
| WO2012083873A1 (zh) | 一种密钥生成方法、装置及系统 | |
| WO2025139994A1 (zh) | 一种通信方法及装置 | |
| CN107005410A (zh) | 因特网协议安全性隧道建立方法,用户设备及基站 | |
| NZ755869B2 (en) | Security implementation method, device and system | |
| WO2026065317A1 (zh) | 密钥生成方法和设备 | |
| WO2026026541A1 (zh) | 一种数据传输方法和通信装置以及存储介质 | |
| WO2025000304A1 (zh) | 通信方法和设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18744590 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2018744590 Country of ref document: EP Effective date: 20190719 |
|
| ENP | Entry into the national phase |
Ref document number: 20197023036 Country of ref document: KR Kind code of ref document: A |
|
| WWG | Wipo information: grant in national office |
Ref document number: 201917027522 Country of ref document: IN |