# US 2024/0406722 A1 · Communication System, Method for Generating Network Layer Address, and Related Device

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

- Number: US 2024/0406722 A1
- Document ID: US20240406722A1
- Status: Published application
- Kind: A1
- Application number: 18/807,052
- Filed: 2024-08-16
- Published: 2024-12-05
- Earliest claimed: 2022-02-17
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yinghui Li; Weiyu Jiang; Bingyang Liu; Fei Yang; Xinyi Song; Xinggui Wu
- Web page: https://patentgrep.com/patent/US20240406722A1

## CPC

- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04W 12/043: using a trusted network node as an anchor
- 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 9/40: Network security protocols
- H04L 61/00: Network arrangements, protocols or services for addressing or naming
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 61/5038: for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]
- H04L 61/5046: Resolving address allocation conflicts; Testing of addresses (testing when self-assigning an address H04L61/5092)
- H04L 61/5092: by self-assignment, e.g. picking addresses at random and testing if they are already in use
- H04L 63/0407: {wherein the identity of one or more communicating identities is hidden (cryptographic mechanisms or cryptographic arrangements for anonymous credentials or for identity based cryptographic systems H04L9/00)}
- H04L 63/0435: {wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption (cryptographic mechanisms or cryptographic arrangements for symmetric key encryption H04L9/06)}
- H04W 12/02: Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
- H04W 12/03: Protecting confidentiality, e.g. by encryption
- H04W 12/041: Key generation or derivation
- H04W 12/71: Hardware identity
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L 2101/659: Internet protocol version 6 [IPv6] addresses
- H04W 80/02: Data link layer protocols
- H04W 84/12: WLAN [Wireless Local Area Networks]
- H04W 92/10: between terminal device and access point, i.e. wireless air interface
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Disclosed are a communication system. All nodes in the communication system belong to a same layer 2 network. Well-known information of the layer 2 network can be obtained by the node. The node obtains the well-known information and forms a well-known key based on the well-known information and a preset key derivation algorithm; obtains a local MAC address of a first node and forms a first random number; forms first plaintext data based on the local MAC address and the first random number; and encrypts the first plaintext data based on the well-known key and a symmetric encryption algorithm, to form a first network layer address. Each node forms the well-known key based on the well-known information and the key derivation algorithm, and forms the network layer address based on the well-known key, the local MAC address, and the symmetric encryption algorithm.

## Claims

### Claim 1

A communication system comprising:
at least two nodes belonging to a layer 2 network, configured to communicate with each other, and comprising a first node, wherein the at least two nodes are configured to obtain the well-known information, and wherein the first node is configured to:
obtain well-known information of the communication system;
form a well-known key based on the well-known information and a preset key derivation algorithm;
obtain a first media access control (MAC) address of the first node;
form a first random number;
form first plaintext data based on the first MAC address and the first random number;
encrypt the first plaintext data based on the well-known key and a preset symmetric encryption algorithm to obtain first encrypted data; and
form a first network layer address based on the first encrypted data.

### Claim 2 (depends on 1)

The communication system of claim 1, further comprising a subnet center coupled to the at least two nodes and configured to send a first broadcast message to the at least two nodes, wherein the first broadcast message carries the well-known information, and wherein the first node is further configured to:
receive the first broadcast message from the subnet center; and
further obtain the well-known information by parsing the first broadcast message.

### Claim 3 (depends on 2)

The communication system of claim 2, wherein the subnet center is further configured to:
form a second random number; and
send a second broadcast message to the at least two nodes, wherein the second broadcast message carries the second random number, and
wherein the first node is further configured to further form the well-known key by:
receiving the second broadcast message from the subnet center;
setting the second random number as a salt of the preset key derivation algorithm; and
forming the well-known key based on the salt.

### Claim 4 (depends on 1)

The communication system of claim 1, wherein the first node is further configured to:
obtain first information about a routing table, wherein the first information comprises globally unique identifiers of the at least two nodes and target network layer addresses corresponding to the globally unique identifiers; and
when the routing table comprises a first target network layer address that is the same as the first network layer address:
form a second random number;
form second plaintext data based on the first MAC address and the second random number;
encrypt the second plaintext data based on the well-known key and the preset symmetric encryption algorithm to obtain second encrypted data; and
form a second network layer address based on the second encrypted data.

### Claim 5 (depends on 1)

The communication system of claim 1, wherein the at least two nodes further comprise a target node, and wherein the first node is further configured to:
obtain a second network layer address of the target node; and
decrypt the second network layer address based on the well-known key and the preset symmetric encryption algorithm to obtain a second MAC address of the target node.

### Claim 6 (depends on 5)

The communication system of claim 5, wherein the first node is further configured to form a correspondence between the second MAC address and the second network layer address.

### Claim 7 (depends on 1)

The communication system of claim 1, wherein the at least two nodes further comprise a target node, and wherein the first node is further configured to:
obtain a second MAC address of a target node, wherein the target node is a primary node; and
set the second MAC address as the well-known information.

### Claim 8 (depends on 7)

The communication system of claim 7, wherein the target node is a communication initiator, and wherein the first node is further configured to further set the target node as the primary node in response to the target node being the communication initiator.

### Claim 9 (depends on 2)

The communication system of claim 2, wherein the well-known information is a second MAC address of the subnet center.

### Claim 10 (depends on 2)

The communication system of claim 2, wherein the subnet center is a WI-FI access point, and wherein the at least two nodes are stations.

### Claim 11

A method implemented by a first node of a layer 2 network, and wherein the method comprises:
obtaining well-known information of the layer 2 network;
forming a well-known key based on the well-known information and a preset key derivation algorithm;
obtaining a first media access control (MAC) address of the first node, and;
forming a first random number;
forming first plaintext data based on the first MAC address of the node and the first random number;
encrypting the first plaintext data based on the well-known key and a preset symmetric encryption algorithm to obtain first encrypted data; and
forming a first network layer address based on the first encrypted data.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
receiving a first broadcast message from a subnet center in the layer 2 network, wherein the first broadcast message carries the well-known information; and
further obtaining the well-known information by parsing the first broadcast message.

### Claim 13 (depends on 12)

The method of claim 12, wherein forming the well-known key comprises:
receiving a second broadcast message from the subnet center, wherein the second broadcast message carries a second random number of the subnet center;
setting the second random number as a salt of the preset key derivation algorithm; and
forming the well-known key based on the salt.

### Claim 14 (depends on 11)

The method of claim 11, further comprising:
obtaining first information about a routing table, wherein the first information comprises globally unique identifiers of nodes on the layer 2 network and target network layer addresses corresponding to the globally unique identifiers; and
when the routing table comprises a first target network layer address that is the same as the first network layer address:
forming a second random number;
forming second plaintext data based on the first MAC address and the second random number;
encrypting the second plaintext data based on the well-known key and the preset symmetric encryption algorithm to obtain second encrypted data; and
forming a second network layer address based on the second encrypted data.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
obtaining a second network layer address of a target node on the layer 2 network; and
decrypting the second network layer address based on the well-known key and the preset symmetric encryption algorithm to obtain a second MAC address of the target node.

### Claim 16 (depends on 15)

The method of claim 15, further comprising forming a correspondence between the second MAC address and the second network layer address.

### Claim 17 (depends on 11)

The method of claim 11, further comprising:
obtaining a second MAC address of a target node, wherein the target node is a primary node; and
setting the second MAC address as the well-known information.

### Claim 18 (depends on 17)

The method of claim 17, wherein the target node is a communication initiator, and wherein setting the target node as the primary node comprises setting the target node as the primary node in response to the target node being the communication initiator.

### Claim 19 (depends on 11)

The method of claim 11, wherein the first network layer address is an Internet Protocol (IP) version 6 (IPv6) local link address, and wherein forming the first network layer address comprises:
setting high 64 bits of the IPV6 local link address;
setting low 64 bits of the IPV6 local link address based on the first encrypted data; and
forming the IPV6 local link address based on the high 64 bits and the low 64 bits.

### Claim 20

An electronic device comprising:
a memory configured to store instructions; and
one or more processors coupled to the memory and configured to execute the instructions to cause the electronic device to:
obtain well-known information of a layer 2 network;
form a well-known key based on the well-known information and a preset key derivation algorithm;
obtain a media access control (MAC) address of the electronic device;
form a random number;
form plaintext data based on the MAC address and the first random number;
encrypt the plaintext data based on the well-known key and a preset symmetric encryption algorithm to obtain encrypted data; and
form a network layer address based on the encrypted data.
