# US 2023/0054157 A1 · Near field communication nfc communication method and apparatus, and electronic device

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

- Number: US 2023/0054157 A1
- Document ID: US20230054157A1
- Status: Published application
- Kind: A1
- Application number: 17/979,856
- Filed: 2022-11-03
- Published: 2023-02-23
- Earliest claimed: 2020-05-06
- Assignees: Vivo Mobile Communication Co., Ltd.
- Applicants: Vivo Mobile Communication Co., Ltd.
- Inventors: Honggen MAO
- Web page: https://patentgrep.com/patent/US20230054157A1

## CPC

- H04B 5/77: for interrogation
- G06Q 20/3278: {RFID or NFC payments by means of M-devices}
- G06Q 20/351: {Virtual cards}
- G06Q 20/352: {Contactless payments by cards}
- H04B 5/20: characterised by the transmission technique; characterised by the transmission medium
- Y02D 30/70: in wireless communication networks
- H04B: TRANSMISSION
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

A near field communication NFC communication method and apparatus, and an electronic device are provided. The method includes: receiving a first signal sent by an NFC card reader; and in response to the first signal, performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state; where the first NFC emulation card is a non-access-control-type NFC emulation card, and the target contactless information carries a target identification code corresponding to an access-control-type target NFC emulation card.

## Claims

### Claim 1

A near field communication (NFC) communication method, comprising:
receiving a first signal sent by an NFC card reader; and
in response to the first signal, performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state; wherein
the first NFC emulation card is a non-access-control-type NFC emulation card, and the target contactless information carries a target identification code corresponding to an access-control-type target NFC emulation card.

### Claim 2 (depends on 1)

The method according to claim 1, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, further comprising:
receiving a first input by a user;
in response to the first input, updating a first identification code in first contactless information corresponding to the first NFC emulation card to the target identification code, wherein the first identification code is a non-access-control-type identification code; and
in the case that the first NFC emulation card is in the active state, determining that the first contactless information updated is the target contactless information.

### Claim 3 (depends on 1)

The method according to claim 1, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, further comprising:
receiving a second input by a user; and
in response to the second input, switching to the first NFC emulation card to make it enter an active state, determining that first contactless information corresponding to the first NFC emulation card is the target contactless information, and updating a first identification code in the target contactless information to the target identification code; wherein
the first identification code is an identification code corresponding to the first emulation card.

### Claim 4 (depends on 1)

The method according to claim 1, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, further comprising:
receiving a third input by a user in a case that a second NFC emulation card is in an active state, wherein second contactless information corresponding to the second NFC emulation card carries the target identification code; and
in response to the third input, switching to the first NFC emulation card to make it enter an active state, updating a second contactless parameter to a first contactless parameter, and determining that the first contactless parameter and the target identification code are the target contactless information; wherein
the second contactless parameter is a contactless parameter other than the target identification code in the second contactless information, the first contactless parameter is a contactless parameter other than a first identification code in first contactless information corresponding to the first NFC emulation card, and the first identification code is an identification code corresponding to the first NFC emulation card.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the performing data interaction with the NFC card reader using target contactless information comprises:
performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction, wherein the first target information carries the target identification code; and
in a case that the interaction count of the first data interaction meets a preset condition, performing second data interaction with the NFC card reader using second target information in the target contactless information, wherein the second target information is contactless information corresponding to the first NFC emulation card.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction comprises:
establishing a handshake-based connection to the NFC card reader using a first contactless parameter in the first target information, wherein the first contactless parameter does not comprise the target identification code;
in a case that the handshake-based connection has been established, sending the target identification code to the NFC card reader; and
disconnecting the handshake-based connection and incrementing the interaction count of the first data interaction by 1.

### Claim 7

An electronic device, comprising a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, wherein when the program or the instruction is executed by the processor, causes the electronic device to perform:
receiving a first signal sent by an NFC card reader; and
in response to the first signal, performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state; wherein
the first NFC emulation card is a non-access-control-type NFC emulation card, and the target contactless information carries a target identification code corresponding to an access-control-type target NFC emulation card.

### Claim 8 (depends on 7)

The electronic device according to claim 7, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by the processor, causes the electronic device to further perform:
receiving a first input by a user;
in response to the first input, updating a first identification code in first contactless information corresponding to the first NFC emulation card to the target identification code, wherein the first identification code is a non-access-control-type identification code; and
in the case that the first NFC emulation card is in the active state, determining that the first contactless information updated is the target contactless information.

### Claim 9 (depends on 7)

The electronic device according to claim 7, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by the processor, causes the electronic device to further perform:
receiving a second input by a user; and
in response to the second input, switching to the first NFC emulation card to make it enter an active state, determining that first contactless information corresponding to the first NFC emulation card is the target contactless information, and updating a first identification code in the target contactless information to the target identification code; wherein
the first identification code is an identification code corresponding to the first emulation card.

### Claim 10 (depends on 7)

The electronic device according to claim 7, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by the processor, causes the electronic device to further perform:
receiving a third input by a user in a case that a second NFC emulation card is in an active state, wherein second contactless information corresponding to the second NFC emulation card carries the target identification code; and
in response to the third input, switching to the first NFC emulation card to make it enter an active state, updating a second contactless parameter to a first contactless parameter, and determining that the first contactless parameter and the target identification code are the target contactless information; wherein
the second contactless parameter is a contactless parameter other than the target identification code in the second contactless information, the first contactless parameter is a contactless parameter other than a first identification code in first contactless information corresponding to the first NFC emulation card, and the first identification code is an identification code corresponding to the first NFC emulation card.

### Claim 11 (depends on 7)

The electronic device according to claim 7, wherein the performing data interaction with the NFC card reader using target contactless information comprises:
performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction, wherein the first target information carries the target identification code; and
in a case that the interaction count of the first data interaction meets a preset condition, performing second data interaction with the NFC card reader using second target information in the target contactless information, wherein the second target information is contactless information corresponding to the first NFC emulation card.

### Claim 12 (depends on 11)

The electronic device according to claim 11, wherein the performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction comprises:
establishing a handshake-based connection to the NFC card reader using a first contactless parameter in the first target information, wherein the first contactless parameter does not comprise the target identification code;
in a case that the handshake-based connection has been established, sending the target identification code to the NFC card reader; and
disconnecting the handshake-based connection and incrementing the interaction count of the first data interaction by 1.

### Claim 13

A readable storage medium, wherein a program or an instruction is stored in the readable storage medium, and when the program or the instruction is executed by a processor, causes the readable storage medium to perform:
receiving a first signal sent by an NFC card reader; and
in response to the first signal, performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state; wherein
the first NFC emulation card is a non-access-control-type NFC emulation card, and the target contactless information carries a target identification code corresponding to an access-control-type target NFC emulation card.

### Claim 14 (depends on 13)

The readable storage medium according to claim 13, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by a processor, causes the readable storage medium to further perform:
receiving a first input by a user;
in response to the first input, updating a first identification code in first contactless information corresponding to the first NFC emulation card to the target identification code, wherein the first identification code is a non-access-control-type identification code; and
in the case that the first NFC emulation card is in the active state, determining that the first contactless information updated is the target contactless information.

### Claim 15 (depends on 13)

The readable storage medium according to claim 13, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by a processor, causes the readable storage medium to further perform:
receiving a second input by a user; and
in response to the second input, switching to the first NFC emulation card to make it enter an active state, determining that first contactless information corresponding to the first NFC emulation card is the target contactless information, and updating a first identification code in the target contactless information to the target identification code; wherein
the first identification code is an identification code corresponding to the first emulation card.

### Claim 16 (depends on 13)

The readable storage medium according to claim 13, before the performing data interaction with the NFC card reader using target contactless information in a case that a first NFC emulation card is in an active state, wherein, when the program or the instruction is executed by a processor, causes the readable storage medium to further perform:
receiving a third input by a user in a case that a second NFC emulation card is in an active state, wherein second contactless information corresponding to the second NFC emulation card carries the target identification code; and
in response to the third input, switching to the first NFC emulation card to make it enter an active state, updating a second contactless parameter to a first contactless parameter, and determining that the first contactless parameter and the target identification code are the target contactless information; wherein
the second contactless parameter is a contactless parameter other than the target identification code in the second contactless information, the first contactless parameter is a contactless parameter other than a first identification code in first contactless information corresponding to the first NFC emulation card, and the first identification code is an identification code corresponding to the first NFC emulation card.

### Claim 17 (depends on 13)

The readable storage medium according to claim 13, wherein the performing data interaction with the NFC card reader using target contactless information comprises:
performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction, wherein the first target information carries the target identification code; and
in a case that the interaction count of the first data interaction meets a preset condition, performing second data interaction with the NFC card reader using second target information in the target contactless information, wherein the second target information is contactless information corresponding to the first NFC emulation card.

### Claim 18 (depends on 17)

The readable storage medium according to claim 17, wherein the performing first data interaction with the NFC card reader using first target information in the target contactless information, and recording an interaction count of the first data interaction comprises:
establishing a handshake-based connection to the NFC card reader using a first contactless parameter in the first target information, wherein the first contactless parameter does not comprise the target identification code;
in a case that the handshake-based connection has been established, sending the target identification code to the NFC card reader; and
disconnecting the handshake-based connection and incrementing the interaction count of the first data interaction by 1.

### Claim 19 (depends on 1)

A chip, wherein the chip comprises a processor and a communications interface, the communications interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the steps of the near field communication (NFC) communication method according to claim 1.

### Claim 20 (depends on 1)

A communications apparatus, wherein the communications apparatus is configured to perform the steps of the near field communication (NFC) communication method according to claim 1.
