# US 2020/0403967 A1 · Method, Device, Apparatus for MAC Address Conflict Detection and Computer Readable Storage Medium

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

- Number: US 2020/0403967 A1
- Document ID: US20200403967A1
- Status: Published application
- Kind: A1
- Application number: 16/892,437
- Filed: 2020-06-04
- Published: 2020-12-24
- Earliest claimed: 2019-06-20
- Assignees: Nokia Solutions and Networks Oy
- Applicants: Nokia Solutions and Networks Oy
- Inventors: Zhiyuan HU; Duan Chen; Yueming Yin; Zhigang Luo
- Web page: https://patentgrep.com/patent/US20200403967A1

## CPC

- 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
- H04W 76/10: Connection setup
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 63/0414: {during transmission, i.e. party's identity is protected against eavesdropping, e.g. by using temporary identifiers, but is known to the other party or parties involved in the communication}
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04W 84/12: WLAN [Wireless Local Area Networks]
- 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

A method, a device, an apparatus and a computer-readable storage medium for MAC address conflict detection. The method includes: in response to detecting a wireless local area network, transmitting, at a first device, a dummy MAC address of the first device to a second device in the wireless local area network, the dummy MAC address being different from a real MAC address of the first device; transmitting an address conflict detection request for the dummy MAC address to the second device; and in response to an address conflict detection response from the second device indicating that there is no conflict for the dummy MAC address, establishing a connection with the wireless local area network. The method may effectively protect privacy information for a user of a terminal device, while avoiding a MAC address conflict, such that the user can communicate in a secure network environment.

## Claims

### Claim 1

A first device, comprising:
at least one processor; and
at least one non-transitory memory comprising computer program codes,
the at least one memory and the computer program codes are configured to, with the at least one processor, cause the first device to:
in response to detecting a wireless local area network, transmit a dummy media access control address of the first device to a second device in the wireless local area network, the dummy media access control address being different from a real media access control address of the first device;
transmit an address conflict detection request for the dummy media access control address to the second device; and
in response to an address conflict detection response from the second device indicating that there is no conflict for the dummy media access control address, establish a connection with the wireless local area network.

### Claim 2 (depends on 1)

The first device of claim 1, wherein the first device is further caused to:
in response to the address conflict detection response indicating that there is a conflict for the dummy media access control address, generate another dummy media access control address different from the real media access control address of the first device and the dummy media access control address; and
transmit an address conflict detection request for the other dummy media access control address to the second device.

### Claim 3 (depends on 1)

The first device of claim 1, wherein the first device is caused to transmit the address conflict detection request with:
transmitting the address conflict detection request via a dynamic host configuration protocol discovery message, and
the first device is further caused to:
receive the address conflict detection response via a dynamic host configuration protocol offer message.

### Claim 4 (depends on 3)

The first device of claim 3, wherein the first device is caused to establish the connection with the wireless local area network with:
obtaining, from the dynamic host configuration protocol offer message, an internet protocol address for the first device allocated with the second device.

### Claim 5 (depends on 1)

The first device of claim 1, wherein the first device is further caused to:
transmit a dynamic host configuration protocol discovery message to the second device before transmitting the address conflict detection request; and
receive an internet protocol address for the first device allocated with the second device based on the dynamic host configuration protocol discovery message.

### Claim 6 (depends on 4)

The first device of claim 4, wherein the first device is caused to establish the connection with the wireless local area network with:
determining whether there is a conflict for the allocated internet protocol address; and
in response to determining that there is no conflict for the internet protocol address, establishing the connection with the internet protocol address.

### Claim 7 (depends on 1)

The first device of claim 1, wherein the first device is further caused to:
generate the dummy media access control address, the dummy media access control address comprising at least one of:
a media access control address randomly generated; or
a media access control address selected from a set of pre-configured media access control addresses.

### Claim 8

(canceled)

### Claim 9

A second device, comprising:
at least one processor; and
at least one non-transitory memory comprising computer program codes,
the at least one memory and the computer program codes are configured to, with the at least one processor, cause the second device to:
receive a dummy media access control address from a first device, the dummy media access control address being different from a real media access control address of the first device;
receive an address conflict detection request for the dummy media access control address from the first device; and
transmit an address conflict detection response to the first device to indicate whether there is a conflict for the dummy media access control address.

### Claim 10 (depends on 9)

The second device of claim 9, wherein the second device is further caused to:
compare the dummy media access control address with a set of media access control addresses stored at the second device;
in accordance with a determination that the dummy media access control address does not match all of the set of the media access control addresses, generate the address conflict detection response indicating that there is no conflict for the dummy media access control address; and
in accordance with a determination that the dummy media access control address matches one of the media access control addresses in the set of the media access control addresses, generate the address conflict detection response indicating that there is a conflict for the dummy media access control address.

### Claim 11 (depends on 9)

The second device of claim 9, wherein the second device is caused to receive the address conflict detection request with:
receiving the address conflict detection request via a dynamic host configuration protocol discovery message; and
wherein the second device is caused to transmit the address conflict detection response with transmitting the address conflict detection response via a dynamic host configuration protocol offer message,
wherein the second device is further caused to:
allocate an internet protocol address for the first device; and
transmit the address conflict detection response and the internet protocol address via the dynamic host configuration protocol offer message.

### Claim 12

(canceled)

### Claim 13 (depends on 9)

The second device of claim 9, wherein the second device is further caused to:
before transmitting the address conflict detection response,
allocate an internet protocol address for the first device; and
transmit the internet protocol address to the first device via a dynamic host configuration protocol offer message.

### Claim 14 (depends on 9)

The second device of claim 9, wherein the second device is an access device in the wireless local area network, and the first device is a terminal device.

### Claim 15

A method of detecting a media access control address conflict, comprising:
in response to detecting a wireless local area network, transmitting, at a first device, a dummy media access control address of the first device to a second device in the wireless local area network, the dummy media access control address being different from a real media access control address of the first device;
transmitting an address conflict detection request for the dummy media access control address to the second device; and
in response to an address conflict detection response from the second device indicating that there is no conflict for the dummy media access control address, establishing a connection with the wireless local area network.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
in response to the address conflict detection response indicating that there is a conflict for the dummy media access control address, generating another dummy media access control address different from the real media access control address of the first device and the dummy media access control address; and
transmitting an address conflict detection request for the other dummy media access control address to the second device.

### Claim 17 (depends on 15)

The method of claim 15, wherein transmitting the address conflict detection request comprises:
transmitting the address conflict detection request via a dynamic host configuration protocol discovery message, and
wherein the method further comprises:
receiving the address conflict detection response via a dynamic host configuration protocol offer message,
wherein establishing the connection with the wireless local area network comprises obtaining, from the dynamic host configuration protocol offer message, an internet protocol address for the first device allocated with the second device.

### Claim 18

(canceled)

### Claim 19 (depends on 15)

The method of claim 15, further comprising:
transmitting a dynamic host configuration protocol discovery message to the second device before transmitting the address conflict detection request; and
receiving an internet protocol address for the first device allocated with the second device based on the dynamic host configuration protocol discovery message.

### Claim 20 (depends on 17)

The method of claim 17, wherein establishing the connection with the wireless local area network comprises:
determining whether there is a conflict for the allocated internet protocol address; and
in response to determining that there is no conflict for the internet protocol address, establishing the connection with the internet protocol address.

### Claim 21 (depends on 15)

The method of claim 15, further comprising:
generating the dummy media access control address, the dummy media access control address comprising at least one of:
a media access control address randomly generated; or
a media access control address selected from a set of pre-configured media access control addresses.

### Claim 22

(canceled)

### Claim 23

A method of detecting a media access control address conflict, comprising:
receiving, at a second device, a dummy MAC address from a first device, the dummy media access control address being different from a real media access control address of the first device;
receiving an address conflict detection request for the dummy media access control address from the first device; and
transmitting an address conflict detection response to the first device to indicate whether there is a conflict for the dummy media access control address.

### Claim 24 (depends on 23)

The method of claim 23, further comprising:
comparing the dummy media access control address with a set of media access control addresses stored at the second device;
in accordance with a determination that the dummy media access control address does not match all of the set of the media access control addresses, generating the address conflict detection response indicating that there is no conflict for the dummy media access control address; and
in accordance with a determination that the dummy media access control address matches one of the media access control addresses in the set of the media access control addresses, generating the address conflict detection response indicating that there is a conflict for the dummy media access control address.

### Claim 25 (depends on 23)

The method of claim 23, wherein receiving the address conflict detection request comprises:
receiving the address conflict detection request via a dynamic host configuration protocol discovery message; and
wherein transmitting the address conflict detection response comprises:
transmitting the address conflict detection response via a dynamic host configuration protocol offer message,
wherein the transmitting of the address conflict detection response via the dynamic host configuration protocol offer message further comprises:
allocating an internet protocol address for the first device; and
transmitting the address conflict detection response and the internet protocol address via the dynamic host configuration protocol offer message.

### Claim 26

(canceled)

### Claim 27 (depends on 23)

The method of claim 23, further comprising:
before transmitting the address conflict detection response,
allocating an Internet protocol address for the first device; and
transmitting the Internet protocol address to the first device via a dynamic host configuration protocol offer message.

### Claim at position 28

28-30. (canceled)

### Claim 31 (depends on 15)

A computer-readable storage medium having a computer program stored thereon, the computer program comprising instructions which, when executed with a processor on a device, cause the device to perform the method according to claim 15.

### Claim 32 (depends on 23)

A computer-readable storage medium having a computer program stored thereon, the computer program comprising instructions which, when executed with a processor on a device, cause the device to perform the method according to claim 23.
