# US 2021/0289359 A1 · Key Configuration Method, Security Policy Determining Method, And Apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0289359 A1
- Document ID: US20210289359A1
- Status: Published application
- Kind: A1
- Application number: 17/336,650
- Filed: 2021-06-02
- Published: 2021-09-16
- Earliest claimed: 2016-07-01
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Bo ZHANG; Rong WU; Lu GAN
- Web page: https://patentgrep.com/patent/US20210289359A1

## CPC

- H04W 12/37: Managing security policies for mobile devices or for controlling mobile applications
- H04L 9/08: Key distribution {or management, e.g. generation, sharing or updating, of cryptographic keys or passwords (network architectures or network communication protocols for supporting key management in a packet data network H04L63/06)}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L 63/105: {Multiple levels of security}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L 63/205: {involving negotiation or determination of the one or more network security mechanisms to be used, e.g. by negotiation between the client and the server or between peers or by selection according to the capabilities of the entities involved (negotiation of communication capabilities H04L69/24)}
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/10: Integrity
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

This application provides a key configuration method. A session management network element receives a request for end-to-end communication and obtains a security policy, where the security policy is determined based on at least one of: a user security requirement that is of the user equipment and that is preconfigured on a home subscriber server, a service security requirement from the user equipment, a security capability requirement supported by the user equipment, a security capability requirement from a carrier network, and a security requirement of a device on the other end of the end-to-end communication. The session management network element obtains a protection key used for protecting the end-to-end communication. The session management network element sends the security policy to the devices on two ends of the end-to-end communication.

## Claims

### Claim 1

A method for determining a security policy, comprising:
sending, by a mobility management network device, a session request to a session management network device, wherein the session request comprises a user equipment identity (UE ID) and a session identity (ID);
receiving, by the session management network device, the session request from the mobility management network device;
determining, by the session management network device, a target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network, the user security requirement is obtained from a subscriber repository and the security requirement of the operator network is stored in the session management network device; wherein the determining the target security requirement based on a user security requirement and a security requirement of an operator network comprises:
determining the target security requirement based on a user security requirement when a first priority of the user security requirement is higher that a second priority of the security requirement of the operator network;
determining, by the session management network device, a security policy based on the target security requirement; and
sending, by the session management network device, the security policy to a base station.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the target security requirement is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 3 (depends on 2)

The method according to claim 2, wherein the security policy is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the target security requirement further comprises a key length of a key and the security policy further comprises the key length of the key.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the session request comprises a slice identity (ID).

### Claim 6

A system for determining a security policy, comprising:
a mobility management network device; and
a session management network device in communication with the mobility management network device, wherein the session request comprises a user equipment identity (UE ID) and a session identity (ID);
the mobility management network device configured to: send a session request to the session management network device;
the session management network device is configured to:
receive the session request from the mobility management network device;
determine a target security requirement based on a user security requirement of a terminal device and an operator network security requirement of an operator network, the user security requirement is obtained from a subscriber repository and the operator network security requirement of the operator network is stored in the session management network device; wherein the determining the target security requirement based on the user security requirement and the operator network security requirement comprises:
determine the target security requirement based on the user security requirement when a user security requirement priority of the terminal device is higher than an operator network security requirement priority of the operator network;
determine a security policy based on the target security requirement; and
send the security policy to a base station.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the target security requirement is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the security policy is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the target security requirement comprises a key length of a key and the security policy further comprises the key length of the key.

### Claim 10 (depends on 6)

The method according to claim 6, wherein the session request comprises a slice identity (ID).

### Claim 11

A method for determining a security policy, comprising:
receiving, by a session management network element, a session request from a mobile management network device, wherein the session request comprises a user equipment identity (UE ID) and a session identity (ID);
determining, by the session management network device, a target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network, the user security requirement is obtained from a subscriber repository and the security requirement of the operator network is stored in the session management network device;
determining, by the session management network device, a security policy based on the target security requirement; and
sending, by the session management network device, the security policy to a base station;
wherein the determining the target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network comprises:
determining the target security requirement based on a user security requirement when a first priority of the user security requirement is higher that a second priority of the security requirement of the operator network.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the target security requirement is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the security policy is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 14 (depends on 13)

The method according to claim 13, wherein the target security requirement comprises a key length of a key and the security policy comprises the key length of the key.

### Claim 15 (depends on 11)

The method according to claim 11, wherein the session request comprises a slice identity (ID).

### Claim 16

A session management network device, the session management network device comprising:
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to:
receive a session request from a mobility management network device, wherein the session request comprises a user equipment identity (UE ID) and a session identity (ID);
determine a target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network, the user security requirement is obtained from a subscriber repository and the security requirement of the operator network is stored in the session management network device;
determine a security policy based on the target security requirement, the security policy indicating whether integrity protection is required; and
send the security policy to a base station;
wherein the determine the target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network comprises:
determining the target security requirement based on a user security requirement when a first priority of the user security requirement is higher that a second priority of the security requirement of the operator network.

### Claim 17 (depends on 16)

The session management network device according to claim 16, wherein the target security requirement is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 18 (depends on 17)

The session management network device according to claim 17, wherein the security policy is configured to indicate whether encryption is required and whether integrity protection is required.

### Claim 19 (depends on 18)

The session management network device according to claim 18, wherein the target security requirement comprises a key length of a key and the security policy further comprises the key length of the key.

### Claim 20

A non-transitory computer readable storage medium, the non-transitory computer readable storage medium storing instructions for execution by at least one processor to:
receive a session request from a mobile management network device, wherein the session request comprises a user equipment identity (UE ID) and a session identity (ID);
determine a target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network, the user security requirement is obtained from a subscriber repository and the security requirement of the operator network is stored in the session management network device;
determine a security policy based on the target security requirement; and
send the security policy to a base station;
wherein the determine the target security requirement based on a user security requirement of a terminal device and a security requirement of an operator network comprises:
determine the target security requirement based on a user security requirement when a first priority of the user security requirement is higher that a second priority of the security requirement of the operator network.
