# US 2015/0147966 A1 · Near Field Communication Method and Near Field Communication Device

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

- Number: US 2015/0147966 A1
- Document ID: US20150147966A1
- Status: Published application
- Kind: A1
- Application number: 14/574,981
- Filed: 2014-12-18
- Published: 2015-05-28
- Earliest claimed: 2013-01-29
- Assignees: Huawei Device Co., Ltd.
- Applicants: Huawei Device Co., Ltd.
- Inventors: Miao Wang; Xinmiao Chang; Zhihao Jin
- Web page: https://patentgrep.com/patent/US20150147966A1

## CPC

- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04B 5/20: characterised by the transmission technique; characterised by the transmission medium
- H04B 5/77: for interrogation
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04B: TRANSMISSION

## Abstract

A near field communication method and a near field communication device are provided. The near field communication method includes that a second device acquires a near field communication identification (NFCID) of a first device, where the NFCID of the first device carries first device type/device capability (DT) information, and the first DT information is used to indicate a device type/device capability supported by the first device; and the second device extracts the first DT information from the NFCID of the first device. According to the embodiments of the present invention, an NFCID of a near field communication device carries information about a device type/device capability supported by the near field communication device, so that exchanging or searching of a device type/device capability can be implemented by using the NFCID.

## Claims

### Claim 1

A near field communication method, comprising:
acquiring, by a second device, a near field communication identification (NFCID) of a first device, wherein the NFCID of the first device carries first device type/device capability (DT) information, and the first DT information is used to indicate a device type/device capability supported by the first device; and
extracting, by the second device, the first DT information from the NFCID of the first device.

### Claim 2 (depends on 1)

The method according to claim 1, wherein extracting, by the second device, the first DT information from the NFCID of the first device comprises:
detecting, by the second device, a length of the NFCID of the first device; and
extracting, by the second device according to the length of the NFCID of the first device, a corresponding byte or bit in the NFCID of the first device as the first DT information.

### Claim 3 (depends on 1)

The method according to claim 1, wherein extracting, by the second device, the first DT information from the NFCID of the first device comprises extracting, by the second device, a predetermined byte or bit in the NFCID of the first device as the first DT information.

### Claim 4 (depends on 1)

The method according to claim 1, wherein acquiring, by the second device, the NFCID of the first device comprises:
sending, by the second device, a first request message, wherein the first request message carries second DT information, and the second DT information is used to indicate a device type/device capability to be searched for by the second device; and
receiving, by the second device, the NFCID of the first device from the first device which determines that the first DT information matches the second DT information.

### Claim 5 (depends on 4)

The method according to claim 4, wherein receiving, by the second device, the NFCID of the first device from the first device which determines that the first DT information matches the second DT information comprises:
determining an effective collision bit when receiving the NFCID of the first device and the second device detects a collision; and
sending, by the second device, a second request message, wherein the second request message carries the effective collision bit,
wherein the second request message further carries later (m-n) bits of the second DT information when the number n of effective collision bits is less than the number m of bits of the second DT information, wherein m and n are positive integers.

### Claim 6 (depends on 4)

The method according to claim 4, wherein the first request message is a single device detection request SDD_REQ message or a probe request message ATR_REQ.

### Claim 7

A near field communication method, comprising:
generating, by a first device, a near field communication identification (NFCID) of the first device, wherein the NFCID of the first device carries first device type/device capability (DT) information, and the first DT information is used to indicate a device type/device capability supported by the first device; and
sending, by the first device, the NFCID of the first device to a second device.

### Claim 8 (depends on 7)

The method according to claim 7, wherein generating, by the first device, the NFCID of the first device comprises:
filling, by the first device, the first DT information in a predetermined byte or bit in the NFCID of the first device; or
filling, by the first device according to a length of the NFCID of the first device, the first DT information in a corresponding byte or bit in the NFCID of the first device.

### Claim 9 (depends on 7)

The method according to claim 7, wherein before sending, by the first device, the NFCID of the first device to the second device, the method further comprises:
receiving, by the first device, a first request message sent by the second device, wherein the first request message carries second DT information, and the second DT information is used to indicate a device type/device capability to be searched for by the second device;
determining, by the first device, whether the NFCID matches the second DT information,
wherein sending, by the first device, the NFCID of the first device to a second device comprises sending, by the first device, the NFCID of the first device to the second device when the NFCID matches the second DT information.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the method further comprises:
receiving, by the first device, a second request message sent by the second device, wherein the second request message carries an effective collision bit that is determined when the second device detects a collision at the time of receiving the NFCID of the first device; and
determining, by the first device according to a result of matching the effective collision bit and the NFCID of the first device, whether to send the NFCID of the first device to the second device again.

### Claim 11 (depends on 10)

The method according to claim 10, wherein the number of effective collision bits is n, wherein n is a positive integer, and wherein determining, by the first device according to the result of matching the effective collision bit and the NFCID of the first device, whether to send the NFCID of the first device to the second device again comprises:
determining that the NFCID of the first device is no longer to be sent when the effective collision bit is different from the first n bits of the NFCID;
determining that the NFCID of the first device is to be sent again when the effective collision bit is the same as the first n bits of the NFCID and n≧m, wherein m is the number of bits of the second DT information and m is a positive integer;
determining that the NFCID of the first device is to be sent again when (m-n) bits after the effective collision bit are the same as a corresponding bit of the NFCID when the effective collision bit is the same as the first n bits of the NFCID and n<m; and
determining that the NFCID of the first device is no longer to be sent when (m-n) bits after the effective collision bit are different from a corresponding bit of the NFCID when the effective collision bit is the same as the first n bits of the NFCID and n<m.

### Claim 12 (depends on 9)

The method according to claim 9, wherein the first request message is a single device detection request SDD_REQ message or a probe request message ATR_REQ.

### Claim 13

A near field communication device, comprising:
an acquiring unit configured to acquire a near field communication identification (NFCID) of a first device, wherein the NFCID of the first device carries first device type/device capability (DT) information, and the first DT information is used to indicate a device type/device capability supported by the first device; and
an extracting unit configured to extract the first DT information from the NFCID of the first device.

### Claim 14 (depends on 13)

The near field communication device according to claim 13, wherein the extracting unit is configured to:
detect a length of the NFCID of the first device; and
extract, according to the length of the NFCID of the first device, a corresponding byte or bit in the NFCID of the first device as the first DT information.

### Claim 15 (depends on 13)

The near field communication device according to claim 13, wherein the extracting unit is configured to extract a predetermined byte or bit in the NFCID of the first device as the first DT information.

### Claim 16 (depends on 13)

The near field communication device according to claim 13, wherein the acquiring unit is configured to:
send a first request message, wherein the first request message carries second DT information, and the second DT information is used to indicate a device type/device capability to be searched for by the near field communication device; and
receive the NFCID of the first device from the first device which determines that the first DT information matches the second DT information.

### Claim 17 (depends on 16)

The near field communication device according to claim 16, wherein the acquiring unit is configured to:
determine an effective collision bit when a collision is detected when the NFCID of the first device is received; and
send a second request message, wherein the second request message carries the effective collision bit,
wherein the second request message further carries later (m-n) bits of the second DT information when the number n of effective collision bits is less than the number m of bits of the second DT information, wherein m and n are positive integers.

### Claim 18

A near field communication device, comprising:
a generating unit configured to generate a near field communication identification (NFCID) of the near field communication device, wherein the NFCID of the near field communication device carries first device type/device capability (DT) information, and the first DT information is used to indicate a device type/device capability supported by the near field communication device; and
a sending unit configured to send the NFCID of the near field communication device to a second device.

### Claim 19 (depends on 18)

The near field communication device according to claim 18, wherein the generating unit is configured to:
fill the first DT information in a predetermined byte or bit in the NFCID of the near field communication device; or fill, according to a length of the NFCID of the near field communication device, the first DT information in a corresponding byte or bit in the NFCID of the near field communication device.

### Claim 20 (depends on 18)

The near field communication device according to claim 18, wherein the near field communication device further comprises:
a receiving unit configured to receive a first request message sent by the second device, wherein the first request message carries second DT information, and the second DT information is used to indicate a device type/device capability to be searched for by the second device; and
a determining unit configured to determine whether the NFCID matches the second DT information,
wherein the sending unit is configured to send the NFCID of the near field communication device to the second device when the determining unit determines that the NFCID matches the second DT information.

### Claim 21 (depends on 20)

The near field communication device according to claim 20, wherein the receiving unit is further configured to receive a second request message sent by the second device, wherein the second request message carries an effective collision bit that is determined when the second device detects a collision when receiving the NFCID of the near field communication device, and wherein the determining unit is further configured to determine, according to a result of matching the effective collision bit and the NFCID of the first device, whether to send the NFCID of the near field communication device to the second device again.

### Claim 22 (depends on 21)

The near field communication device according to claim 21, wherein the number of effective collision bits is n, wherein n is a positive integer, and wherein the determining unit is configured to:
determine that the NFCID of the near field communication device is no longer to be sent when the effective collision bit is different from the first n bits of the NFCID;
determine that the NFCID of the near field communication device is to be sent again when the effective collision bit is the same as the first n bits of the NFCID and n≧m, wherein m is the number of bits of the second DT information, and m is a positive integer;
determine that the NFCID of the near field communication device is to be sent again when (m-n) bits after the effective collision bit are the same as a corresponding bit of the NFCID when the effective collision bit is the same as the first n bits of the NFCID and n<m; and
determine that the NFCID of the near field communication device is no longer to be sent when (m-n) bits after the effective collision bit are different from a corresponding bit of the NFCID when the effective collision bit is the same as the first n bits of the NFCID and n<m.
