Patent ID: 11863977
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A key generation method, wherein the method comprises, after a session has been established between a terminal device and a communications apparatus implementing a user plane network function, a first key has been generated for the terminal device and a corresponding third key has been generated for the communications apparatus implementing the user plane network function:
receiving, by the terminal device, first key update information from the communications apparatus implementing the user plane network function;
generating, by the terminal device, a second key based on the first key and the first key update information; and
using, by the terminal device, the second key to perform security protection on data transmitted between the communications apparatus implementing the user plane network function and the terminal device, wherein
the first key is the same as the third key; and
the first key and the third key are derived from a permanent key.