# US 2026/0101180 A1 · Direct-communication key generation 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 2026/0101180 A1
- Document ID: US20260101180A1
- Status: Published application
- Kind: A1
- Application number: 19/114,379
- Filed: 2022-09-29
- Published: 2026-04-09
- Earliest claimed: 2022-09-29
- Assignees: Beijing Xiaomi Mobile Software Co., Ltd.
- Applicants: Beijing Xiaomi Mobile Software Co., Ltd.
- Inventors: Wei LU
- Web page: https://patentgrep.com/patent/US20260101180A1

## CPC

- H04W 12/041: Key generation or derivation
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- 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)}
- H04W 12/10: Integrity
- H04W 12/72: Subscriber identity
- H04W 64/00: Locating users or terminals {or network equipment} for network management purposes, e.g. mobility management
- H04W 76/14: Direct-mode setup
- 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

A method for generating a direct communication key, performed by a first user equipment (UE), includes: sending a direct communication request to a second UE, wherein the direct communication request is used for requesting to establish a sidelink (SL) between the first UE and the second UE for an SL positioning service and includes first key related information used for the second UE to obtain a direct communication intermediate key and second key related information from a first positioning key management function (PKMF) of the first UE; receiving the second key related information sent by the second UE; and generating the direct communication intermediate key according to the first key and second key related information; wherein the direct communication intermediate key is generated for at least one of integrity protection or encryption protection of information transmitted between the first UE and the second UE through the SL.

## Claims

### Claim 1

A method for generating a direct communication key, performed by a first user equipment (UE), comprising:
sending a direct communication request to a second UE, wherein the direct communication request is used for requesting to establish a sidelink (SL) between the first UE and the second UE for an SL positioning service, and the direct communication request comprises first key related information, wherein the first key related information is used for the second UE to obtain a direct communication intermediate key and second key related information from a first positioning key management function (PKMF) of the first UE;
receiving the second key related information sent by the second UE; and
generating the direct communication intermediate key according to the first key related information and the second key related information;
wherein the direct communication intermediate key is used to generate a direct communication session key for at least one of integrity protection or encryption protection of information transmitted between the first UE and the second UE through the SL.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first key related information comprises a first random number, root key related information for obtaining a root key, and a positioning service code for indicating a positioning service type, and the second key related information comprises a second random number.

### Claim 3 (depends on 2)

The method of claim 2, wherein the root key related information comprises a valid root key identification (ID) or a subscription concealed identifier (SUCI) of the first UE.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
sending a root key acquisition request to the first PKMF; and
receiving a root key acquisition response sent by the first PKMF, wherein the root key acquisition response comprises the valid root key ID and a root key corresponding to the valid root key ID.

### Claim 5 (depends on 4)

The method of claim 4, wherein the root key acquisition request comprises a local root key ID stored by the first UE, wherein the first PKMF determines the valid root key ID and the root key according to the local root key ID.

### Claim 6 (depends on 1)

The method of claim 1, wherein the direct communication session key comprises a confidentiality key for encrypting and decrypting information and an integrity key for verifying a data integrity.

### Claim 7

A method for generating a direct communication key, performed by a second user equipment (UE), comprising:
receiving a direct communication request sent by a first UE, wherein the direct communication request is used for requesting to establish a sidelink (SL) between the first UE and the second UE for an SL positioning service, and the direct communication request comprises first key related information;
sending the first key related information to a second positioning key management function (PKMF) of the second UE, to enable the second PKMF to obtain a direct communication intermediate key and second key related information from a first PKMF of the first UE according to the first key related information;
receiving the direct communication intermediate key and the second key related information sent by the second PKMF; and
sending the second key related information to the first UE, wherein the first key related information and the second key related information are used for the first UE to generate the direct communication intermediate key;
wherein the direct communication intermediate key is used to generate a direct communication session key for at least one of integrity protection or encryption protection of information transmitted between the first UE and the second UE through the SL for the SL positioning service.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first key related information comprises a first random number, root key related information for obtaining a root key, a positioning service code for indicating a positioning service type, and the second key related information comprises a second random number.

### Claim 9 (depends on 8)

The method of claim 8, wherein the root key related information comprises a valid root key identification (ID) or a subscription concealed identifier (SUCI) of the first UE.

### Claim 10 (depends on 7)

The method of claim 7, wherein the direct communication session key comprises a confidentiality key for encrypting and decrypting information and an integrity key for verifying a data integrity.

### Claim 11

A method for generating a direct communication key, performed by a first positioning key management function (PKMF) of a first user equipment (UE), comprising:
receiving first key related information sent by a second PKMF of a second UE;
generating second key related information;
generating a direct communication intermediate key according to the first key related information and the second key related information; and
sending the second key related information and the direct communication intermediate key to the second PKMF of the second UE;
wherein the direct communication intermediate key is used to generate a direct communication session key for at least one of integrity protection or encryption protection of information transmitted between the first UE and the second UE during an execution of a sidelink (SL) positioning service.

### Claim 12 (depends on 11)

The method of claim 11, wherein the first key related information comprises a first random number, root key related information for obtaining a root key and a positioning service code for indicating a positioning service type, and the second key related information comprises a second random number.

### Claim 13 (depends on 12)

The method of claim 12, wherein the root key related information comprises a valid root key identification (ID) or a subscription concealed identifier (SUCI) of the first UE.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
receiving a root key acquisition request sent by the first UE;
determining whether the first UE is authorized to use the SL positioning service; and
in response to determining that the first UE is authorized to use the SL positioning service, sending a root key acquisition response to the first UE, wherein the root key acquisition response comprises a valid root key identification (ID) and a root key corresponding to the valid root key ID.

### Claim 15 (depends on 14)

The method of claim 14, wherein the root key acquisition request comprises a local root key ID stored by the first UE, and the method further comprises:
determining the valid root key ID and the root key according to the local root key ID.

### Claim 16 (depends on 11)

The method of claim 11, wherein the direct communication session key comprises a confidentiality key for encrypting and decrypting information and an integrity key for verifying a data integrity.

### Claim at position 17

17-24. (canceled)

### Claim 25 (depends on 1)

A communication apparatus, comprising: a processor and a memory for storing a computer program, when the processor executes the computer program, the processor is configured to implement the method of claim 1.

### Claim 26

(canceled)

### Claim 27 (depends on 1)

A non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions, and when the computer executable instructions are executed by a processor, the method of claim 1 is implemented.

### Claim 28 (depends on 7)

A communication apparatus, comprising: a processor and a memory for storing a computer program, when the processor executes the computer program, the processor is configured to implement the method of claim 7.

### Claim 29 (depends on 11)

A communication apparatus, comprising: a processor and a memory for storing a computer program, when the processor executes the computer program, the processor is configured to implement the method of claim 11.
