NFC polling method, NFC system and related device

By alternately sending card search requests using multiple NFC protocols in an NFC card reader and prioritizing the first NFC protocol for interaction, the problem of rapid discovery and efficient communication under multiple NFC protocol environments is solved, thus achieving efficient communication for NFC devices.

CN121397496APending Publication Date: 2026-01-23HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411489258.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-07-23
Filing Date
2024-10-23
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

How to quickly discover NFC devices that support multiple NFC protocols in NFC card reader devices, especially how to effectively poll between multiple NFC protocols to achieve efficient communication.

Method used

NFC card reader devices send card search requests using multiple NFC protocols alternately, including first NFC protocol and second NFC protocol, prioritizing the first NFC protocol for interaction, and NFC devices prioritize responding to card search responses using the first NFC protocol.

Benefits of technology

It enables efficient communication between NFC card readers and NFC devices, ensuring that compatible communication protocols are selected first in various NFC protocol environments, thereby improving the efficiency of discovery and interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121397496A_ABST
    Figure CN121397496A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an NFC polling method, an NFC system and a related device. When the NFC card reading equipment supports a first NFC protocol and a second NFC protocol, the NFC card reading equipment can search a card according to a sequence of a card searching request of the first NFC protocol, a card searching request of the second NFC protocol, a card searching request of the first NFC protocol and a card searching request of the second NFC protocol in each of a plurality of polling duration periods. And sending the card searching request of the first NFC protocol and the card searching request of the second NFC protocol. When the NFC device supports the first NFC protocol and the second NFC protocol, after entering the radio frequency field, the NFC device can preferentially select to reply the card searching response of the first NFC protocol to the NFC card reading equipment, so that the NFC card reading equipment and the NFC device preferentially select the first NFC protocol to carry out NFC interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of near-field communication technology, and in particular to an NFC polling method, an NFC system, and related devices. Background Technology

[0002] With the development of wireless communication technology, near field communication (NFC) technology has been widely used. NFC technology evolved from contactless radio frequency identification (RFID) and interconnection technology. In NFC technology, NFC-enabled devices can operate in three modes when communicating via NFC: proximity coupling device (PCD) mode (also known as reader mode), proximity integrated circuit card (PICC) mode (also known as card emulation mode), and point-to-point (P2P) mode.

[0003] NFC card readers in PCD mode can generate a radio frequency field. When an NFC device in PICC mode enters the radio frequency field generated by the NFC card reader, the NFC card reader can perform polling: the NFC card reader can periodically send a card search request and wait for a response from the NFC device in PICC mode. If the NFC protocol supported by the NFC device in PICC mode can recognize the card search request sent by the NFC card reader, it indicates that both the NFC card reader and the NFC device in PICC mode support the same NFC protocol. Therefore, the NFC device in PICC mode will reply to the NFC card reader with a card search response corresponding to the request. If the NFC card reader supports multiple NFC protocols, since different NFC protocols correspond to different card search requests, how to perform polling for multiple NFC protocols to allow the NFC card reader to quickly discover a suitable NFC device in PICC mode has become a problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0004] This application provides an NFC polling method, an NFC system, and related devices. It enables an NFC card reader to send a card search request using the first NFC protocol and a card search request using the second NFC protocol within each of multiple polling durations, in the following order: a card search request using the first NFC protocol, a card search request using the second NFC protocol, and a card search request using the first NFC protocol followed by a card search request using the second NFC protocol. When the NFC device supports both the first and second NFC protocols, upon entering the radio frequency field, it can preferentially respond to the card search request using the first NFC protocol with the NFC card reader, thereby allowing the NFC card reader and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0005] In a first aspect, embodiments of this application provide an NFC polling method applied to an NFC card reader device. The method includes: continuously sending a card search request using a first NFC protocol and a card search request using a second NFC protocol, wherein the first NFC protocol is different from the second NFC protocol, and one or more card search requests using the first NFC protocol are sent between two adjacent card search requests using the second NFC protocol; if a card search response using the first NFC protocol or the second NFC protocol is received from an NFC device, the sending of the card search requests using the first NFC protocol and the second NFC protocol is stopped.

[0006] According to the NFC polling method provided in this application embodiment, when the NFC card reader supports a first NFC protocol and a second NFC protocol, the NFC card reader can send a card search request for the first NFC protocol and a card search request for the second NFC protocol in the order of first NFC protocol card search request, second NFC protocol card search request, and then first NFC protocol card search request and second NFC protocol card search request within each of multiple polling duration periods. When the NFC device supports both the first and second NFC protocols, after entering the radio frequency field, the NFC device can preferentially choose to reply with a card search response of the first NFC protocol to the NFC card reader, thereby allowing the NFC card reader and the NFC device to preferentially choose the first NFC protocol for NFC interaction.

[0007] In one possible implementation, the card search request of the first NFC protocol is a probe frame, and the card search response of the first NFC protocol is a probe ACK frame.

[0008] In one possible implementation, the second NFC protocol includes a Class A NFC protocol and / or a Class B NFC protocol and / or a Class F NFC protocol.

[0009] In one possible implementation, where the second NFC protocol includes the Class A NFC protocol but excludes the Class B and Class F NFC protocols, the card search request of the second NFC protocol includes a Class A request command REQ_A, and the card search response of the second NFC protocol includes a Class A request response ATQ_A. The continuous transmission of the card search requests of the first NFC protocol and the second NFC protocol specifically includes: first transmitting one or more Probe frames in each polling time period within one or more polling duration periods, and then transmitting one REQ_A.

[0010] In this way, when an NFC card reader supports both the first NFC protocol and the Class A NFC protocol, it can alternately send card search requests using the first NFC protocol and the Class A NFC protocol, thus allowing NFC devices that support both the first NFC protocol and / or the Class A NFC protocol to interact with the NFC card reader via NFC.

[0011] In one possible implementation, where the second NFC protocol includes the Class B NFC protocol but excludes the Class A and Class F NFC protocols, the card search request of the second NFC protocol includes a Class B request command REQ_B, and the card search response of the second NFC protocol includes a Class B request response ATQ_B. The continuous transmission of the card search requests of the first and second NFC protocols specifically includes: first transmitting one or more Probe frames in each polling time period within one or more polling duration periods, and then transmitting one REQ_B.

[0012] In this way, when an NFC card reader supports both the first NFC protocol and the Class B NFC protocol, it can alternately send card search requests using the first NFC protocol and the Class B NFC protocol, thus allowing NFC devices that support both the first NFC protocol and / or the Class B NFC protocol to interact with the NFC card reader via NFC.

[0013] In one possible implementation, where the second NFC protocol includes the F-type NFC protocol but excludes the A-type and B-type NFC protocols, the card search request of the second NFC protocol includes a sensing request command SENS_REQ, and the card search response of the second NFC protocol includes a sensing response SENS_RES; the continuous transmission of the card search request of the first NFC protocol and the card search request of the second NFC protocol specifically includes: first sending one or more Probe frames in each polling time period within one or more polling duration periods, and then sending one SENS_REQ.

[0014] In this way, when an NFC card reader supports both the first NFC protocol and the F-type NFC protocol, it can alternately send card search requests using the first NFC protocol and the F-type NFC protocol, thus allowing NFC devices that support both the first NFC protocol and / or the F-type NFC protocol to interact with the NFC card reader via NFC.

[0015] In one possible implementation, where the second NFC protocol includes the Class A NFC protocol and the Class B NFC protocol but excludes the Class F NFC protocol, the card search request of the second NFC protocol includes REQ_A and REQ_B, and the card search response of the second NFC protocol includes ATQ_A or ATQ_B; the continuous transmission of the card search request of the first NFC protocol and the card search request of the second NFC protocol specifically includes: in each polling time period within one or more polling duration periods, first sending one or more Probe frames, then sending one REQ_A, then sending one or more Probe frames, and then sending one REQ_B.

[0016] In this way, when an NFC card reader supports the first NFC protocol, the Class A NFC protocol, and the Class B NFC protocol, the NFC card reader can send card search requests for multiple NFC protocols in the order of the first NFC protocol, the Class A NFC protocol, the first NFC protocol, and the Class B NFC protocol within each polling duration. This allows NFC devices that support the first NFC protocol and / or the Class A NFC protocol and / or the Class B NFC protocol to have the opportunity to communicate with the NFC card reader, and allows the NFC device to prioritize the first NFC protocol for NFC interaction.

[0017] In one possible implementation, where the second NFC protocol includes the Class A NFC protocol and the Class F NFC protocol but excludes the Class B NFC protocol, the card search request of the second NFC protocol includes REQ_A and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A or SENS_RES; the continuous transmission of the card search request of the first NFC protocol and the card search request of the second NFC protocol specifically includes: in each polling time period within one or more polling duration periods, first sending one or more Probe frames, then sending one REQ_A, then sending one or more Probe frames, and then sending one SENS_REQ.

[0018] In this way, when an NFC card reader supports the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol, the NFC card reader can send card search requests for multiple NFC protocols in the order of the first NFC protocol, the Class A NFC protocol, the first NFC protocol, and the Class F NFC protocol within each polling duration. This allows NFC devices that support the first NFC protocol and / or the Class A NFC protocol and / or the Class F NFC protocol to have the opportunity to communicate with the NFC card reader, and allows the NFC device to prioritize the first NFC protocol for NFC interaction.

[0019] In one possible implementation, where the second NFC protocol includes the Class B NFC protocol and the Class F NFC protocol but not the Class A NFC protocol, the card search request of the second NFC protocol includes REQ_B and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_B or SENS_RES; the continuous transmission of the card search request of the first NFC protocol and the card search request of the second NFC protocol specifically includes: in each polling time period within one or more polling duration periods, first sending one or more of the Probe frames, then sending one of the REQ_B, then sending one or more of the Probe frames, and then sending one of the SENS_REQ.

[0020] In this way, when an NFC card reader supports the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol, the NFC card reader can send card search requests for multiple NFC protocols in the order of the first NFC protocol, the Class B NFC protocol, the first NFC protocol, and the Class F NFC protocol within each polling duration. This allows NFC devices that support the first NFC protocol and / or the Class B NFC protocol and / or the Class F NFC protocol to have the opportunity to communicate with the NFC card reader, and allows the NFC device to prioritize the first NFC protocol for NFC interaction.

[0021] In one possible implementation, when the second NFC protocol includes the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol, the card search request of the second NFC protocol includes REQ_B, REQ_B, and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A, ATQ_B, or SENS_RES; the continuous transmission of the card search request of the first NFC protocol and the card search request of the second NFC protocol specifically includes: in each polling time period within one or more polling duration periods, first sending one or more Probe frames, then sending one REQ_A, then sending one or more Probe frames, then sending one REQ_B, then sending one or more Probe frames, and then sending one SENS_REQ.

[0022] In this way, when an NFC card reader supports the first NFC protocol, the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol, the NFC card reader can send card search requests for multiple NFC protocols in the following order within each polling duration: card search request for the first NFC protocol, card search request for the Class A NFC protocol, card search request for the first NFC protocol, card search request for the Class B NFC protocol, card search request for the first NFC protocol, and card search request for the Class F NFC protocol. This allows NFC devices that support the first NFC protocol and / or the Class A NFC protocol and / or the Class B NFC protocol and / or the Class F NFC protocol to have the opportunity to communicate with the NFC card reader, and allows NFC devices to preferentially select the first NFC protocol for NFC interaction.

[0023] In one possible implementation, the method further includes: adjusting the number of card search requests sent between two adjacent card search requests sent using the second NFC protocol, based on the proportion of card search responses received using the first NFC protocol over a historical period.

[0024] In this way, the number of card search requests sent using the first NFC protocol between two adjacent card search requests using the second NFC protocol can be adjusted based on the proportion of card search responses using the first NFC protocol in the historical records, thereby adjusting the speed at which the NFC reader discovers NFC devices.

[0025] In one possible implementation, the greater the proportion of card search responses received under the first NFC protocol within a certain historical period, the more card search requests under the first NFC protocol are sent between two adjacent card search requests under the second NFC protocol.

[0026] In this way, the frequency of sending card search requests for the first NFC protocol can be increased based on the proportion of card search responses in the historical records, thereby enabling NFC card readers to quickly discover NFC devices that support the first NFC protocol.

[0027] In one possible implementation, the method further includes: sending a first geographical location information of the NFC card reader to a server; receiving a first instruction sent by the server, the first instruction instructing the NFC card reader to send a first number of first NFC protocol card search requests between two adjacent second NFC protocol card search requests; and, after receiving the first instruction, sending the first number of first NFC protocol card search requests between two adjacent second NFC protocol card search requests.

[0028] In this way, the server can adjust the number of card search requests sent with the first NFC protocol between two adjacent card search requests sent with the second NFC protocol, based on the proportion of a large number of NFC card readers using the first NFC protocol in a certain geographical area in the historical record, so that NFC card readers can quickly discover NFC devices.

[0029] In one possible implementation, the method further includes: if a card search response of the first NFC protocol is received from the NFC device, interacting with the NFC device based on the first NFC protocol.

[0030] In one possible implementation, the method further includes: if a card search response of the second NFC protocol is received from the NFC device, interacting with the NFC device based on the second NFC protocol.

[0031] Secondly, embodiments of this application provide another NFC polling method applied to an NFC device. The method includes: if the first card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the first NFC protocol, in response to the first card search request, sending a card search response of the first NFC protocol to the NFC card reader; if the first card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the second NFC protocol, continuing to receive a second card search request; if the second card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the first NFC protocol, in response to the second card search request, sending a card search response of the first NFC protocol to the NFC card reader.

[0032] According to the NFC polling method provided in this application embodiment, when the NFC device supports a first NFC protocol and a second NFC protocol, after the NFC device enters the radio frequency field of the NFC card reader, it can preferentially choose to reply with a card search response of the first NFC protocol to the NFC card reader, thereby allowing the NFC card reader and the NFC device to preferentially choose the first NFC protocol for NFC interaction.

[0033] In one possible implementation, the method further includes: if the second card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the second NFC protocol, in response to the second card search request, sending a card search response of the second NFC protocol to the NFC card reader.

[0034] In one possible implementation, the card search request of the first NFC protocol is a Probe frame, and the card search response of the first NFC protocol is a Probe ACK frame.

[0035] In one possible implementation, the card search request of the second NFC protocol includes REQ_A, REQ_B, or SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A, ATQ_B, or SENS_RES.

[0036] Thirdly, embodiments of this application provide an NFC system, including: an NFC card reader and an NFC device; wherein the NFC card reader is used to execute the NFC polling method in the first aspect and any possible implementation thereof; and the NFC device is used to execute the NFC polling method in the second aspect and any possible implementation thereof.

[0037] Fourthly, embodiments of this application provide an NFC card reader device, including: one or more processors, one or more memories, and a transceiver. The transceiver, the one or more memories, and the one or more memories are coupled to the one or more processors. The one or more memories are used to store a computer program. When the one or more processors execute the computer program, the NFC card reader device performs the NFC polling method described in the first aspect and any possible implementation thereof.

[0038] Fifthly, embodiments of this application provide an NFC device, including: one or more processors, one or more memories, and a transceiver. The transceiver, the one or more memories, and the one or more memories are coupled to the one or more processors. The one or more memories are used to store a computer program, which, when executed by the one or more processors, causes the NFC device to perform the NFC polling method described in the second aspect and any possible implementation thereof.

[0039] In a sixth aspect, embodiments of this application provide a computer storage medium storing a computer program that, when executed by a processor, implements the NFC polling method described in the first aspect and any possible implementation thereof.

[0040] In a seventh aspect, embodiments of this application provide a computer storage medium storing a computer program that, when executed by a processor, implements the NFC polling method in the second aspect and any possible implementation thereof.

[0041] Eighthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the NFC polling method in the first aspect and any possible implementation thereof.

[0042] Ninthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the NFC polling method in the second aspect and any possible implementation thereof.

[0043] The beneficial effects of the third to ninth aspects and any of the possible implementations of the third to ninth aspects can be referred to the beneficial effects of the first aspect and any of the possible implementations of the first aspect or the second aspect and any of the possible implementations of the second aspect, and will not be repeated here. Attached Figure Description

[0044] Figure 1 A schematic diagram illustrating the working principle of NFC provided in an embodiment of this application;

[0045] Figure 2 This application provides a schematic diagram of the architecture of an NFC system.

[0046] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0047] Figure 4 A schematic diagram of an NFC protocol stack provided in an embodiment of this application;

[0048] Figure 5 A schematic diagram of a polling mechanism for a single NFC protocol provided in an embodiment of this application;

[0049] Figure 6 A schematic diagram of a multi-NFC protocol polling mechanism for the first NFC protocol and the Class A NFC protocol provided in this application embodiment;

[0050] Figure 7A schematic diagram of a multi-NFC protocol polling mechanism for the first NFC protocol and the Class B NFC protocol provided in the embodiments of this application;

[0051] Figure 8 A schematic diagram of a multi-NFC protocol polling mechanism for the first NFC protocol and the F-type NFC protocol provided in the embodiments of this application;

[0052] Figure 9 A schematic diagram of a multi-NFC protocol polling mechanism, including a first NFC protocol, a Class A NFC protocol, and a Class B NFC protocol, provided for embodiments of this application;

[0053] Figure 10 A schematic diagram of a multi-NFC protocol polling mechanism, including the first NFC protocol, Class A NFC protocol, and Class F NFC protocol, provided for embodiments of this application;

[0054] Figure 11 A schematic diagram of a multi-NFC protocol polling mechanism, including the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol, provided for embodiments of this application;

[0055] Figure 12 A schematic diagram of a multi-NFC protocol polling mechanism for a first NFC protocol, a Class A NFC protocol, a Class B NFC protocol, and a Class F NFC protocol provided for embodiments of this application;

[0056] Figure 13 A flowchart illustrating the NFC polling method provided in this application embodiment;

[0057] Figure 14A A polling diagram of the first NFC protocol and the Class A NFC protocol provided for embodiments of this application;

[0058] Figure 14B A polling diagram of the first NFC protocol and the Class B NFC protocol provided for embodiments of this application;

[0059] Figure 14C A polling diagram of the first NFC protocol and the F-type NFC protocol provided for embodiments of this application;

[0060] Figure 14D A polling diagram of the first NFC protocol and the Class A and Class B NFC protocols provided for embodiments of this application;

[0061] Figure 14E A polling diagram of the first NFC protocol and the Class A and Class F NFC protocols provided for embodiments of this application;

[0062] Figure 14F A polling diagram of the first NFC protocol and the Class B and Class F NFC protocols provided for embodiments of this application;

[0063] Figure 14G A polling diagram of the first NFC protocol and the Class A, Class B, and Class F NFC protocols provided for embodiments of this application;

[0064] Figure 15 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;

[0065] Figure 16 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0066] Figure 17 This is a schematic diagram of another communication device provided in an embodiment of this application;

[0067] Figure 18 This is a schematic diagram of another communication device provided in an embodiment of this application;

[0068] Figure 19 This is a schematic diagram of another communication device provided in an embodiment of this application. Detailed Implementation

[0069] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0070] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.

[0071] The working principle of NFC in the embodiments of this application is described below.

[0072] Figure 1 A schematic diagram illustrating the working principle of NFC provided in an embodiment of this application is shown.

[0073] like Figure 1The two parties communicating using NFC technology can include a proximity coupling device (PCD) (also known as an NFC reader) and a proximity smart card (PICC). The PCD can achieve contactless communication with the PICC in close proximity. The PCD and PICC can allow near-field communication at specific data rates (e.g., 106kbps, 212kbps, 424kbps, or 848kbps) and specific frequencies (e.g., 13.56MHz). Communication between the PCD and PICC can occur at close range, for example, within a range of approximately 2 to 4 centimeters.

[0074] The PCD (Polymer Capacitor) can generate high-frequency alternating current to produce a radio frequency (RF) field of a specified frequency (e.g., 13.56 MHz), and transmit data to the PICC (Peripherally Input Cell) via this RF field. When the PICC is near the PCD, it can sense the RF field emitted by the PCD. Upon entering the RF field, the PICC can obtain energy from the PCD's RF field through electromagnetic induction, and use this energy to generate electricity to drive the internal circuitry of the PICC, thus enabling data transmission from the PCD to the PICC. Alternatively, the PICC can also transmit data to the PCD by modulating the RF field with a load, achieving data transmission from the PICC to the PCD.

[0075] In the embodiments of this application, PICC can be a physical NFC tag card. Some electronic devices (e.g., mobile phones, tablets, smartwatches, etc.) can also simulate themselves as PICCs that conform to NFC-related standards through the data of NFC emulation cards to realize the functions of PICC and interact with PCD via NFC.

[0076] The following describes an NFC system provided in an embodiment of this application.

[0077] Figure 2 A schematic diagram of the architecture of an NFC system 10 provided in an embodiment of this application is shown.

[0078] like Figure 2 As shown, the NFC system 10 may include an electronic device 100 and an NFC card reader 200. The electronic device 100 can simulate itself as a PICC conforming to NFC standards by using data information from an NFC emulation card to achieve PICC functionality. The NFC card reader 200 can act as a PCD to interact with the electronic device 100 in PICC mode via NFC.

[0079] In one possible scenario, electronic device 100 can support both PICC mode and PCD mode. In PCD mode, electronic device 100 can act as a PCD transmitter to communicate with the PICC. In PICC mode, electronic device 100 can use data from an NFC emulation card to emulate itself as a PICC conforming to NFC standards, passively receiving the RF field transmitted by the PCD, and interacting with the PCD via load modulation technology.

[0080] In this embodiment of the application, the device type of electronic device 100 can be any of the following: mobile phone, tablet computer, handheld computer, desktop computer, laptop computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), as well as smart home devices such as smart screens and smart speakers, wearable devices such as smart bracelets, smartwatches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices, or smart city devices.

[0081] The NFC card reader device 200 can be any of the following: mobile phone, tablet computer, handheld computer, desktop computer, laptop computer, super mobile personal computer, netbook, cellular phone, personal digital assistant, as well as smart home devices such as smart screens and smart speakers, wearable devices such as smart bracelets, smartwatches, and smart glasses, extended reality devices such as augmented reality, virtual reality, and mixed reality, vehicles, gates, smart locks, card readers, point of sale (POS) terminals, ticketing and / or ticket verification terminals, bank service terminals, and document card reading devices.

[0082] The following is a schematic diagram of the structure of an electronic device 100 provided in the embodiments of this application.

[0083] Figure 3 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of this application is shown.

[0084] like Figure 3As shown, the electronic device 100 may include a processor 101 and an NFC module 102. The processor 101 may run one or more applications. These applications may include one or more of the following: a wallet application, one or more host-based card emulation (HCE) applications, etc. Optionally, the electronic device 100 may also include a secure element (SE) 103 and / or a subscriber identity module (SIM) card. The processor 101 may be connected to the NFC module 102, the SE 103, and the SIM card 104, respectively. The NFC module 102 may also be connected to the SE 103 and the SIM card 104.

[0085] NFC module 102 may include an NFC controller ( Figure 3 (not shown in the image), NFC transceiver ( Figure 3 (not shown in the image) and NFC memory ( Figure 3 (Not shown in the image). The NFC controller can be connected to the processor 101, and can also be connected to the NFC transceiver and the NFC memory respectively.

[0086] The NFC controller is primarily used for modulation and demodulation of contactless communication signals, controlling the input and output of data in the NFC memory, and interacting with the processor 101. The NFC transceiver is used to transmit and receive NFC signals (e.g., 13.56MHz radio frequency signals), and may include an electromagnetic compatibility (EMC) filter circuit, a matching circuit, a receiving circuit, and an NFC antenna, where the NFC antenna may be a loop antenna, used to enable proximity-based contactless communication capabilities of the NFC module 102. The NFC memory can be used to store data sent by the NFC module 102 to the NFC reader device 200, as well as data received from the NFC reader device 200. In some embodiments, the NFC memory can be a shared memory that can be used by the various components in the NFC module 102; for example, some data in the NFC memory can be accessed by the NFC controller, while other data can be accessed by the SE 103.

[0087] In other embodiments, the NFC memory may be a collection of multiple memories. For example, the NFC controller may include a first memory among these multiple memories. The first memory may include instructions or data that the NFC controller has used or reused. If the NFC controller needs to use the instruction or data again, it can directly retrieve it from the first memory, thus reducing the waiting time of the NFC controller. SE103 may include a second memory among these multiple memories. The second memory may include card information such as that of the NFC emulator based on the secure element. Thus, if SE103 needs to read the card information of the NFC emulator, it can read the card information of the NFC emulator from the second memory in SE103. SIM card 104 may include a third memory among these multiple memories. The third memory may include card information such as that of the NFC emulator based on the SIM card. Thus, if SIM card 104 needs to read the card information of the NFC emulator, it can read the card information of the NFC emulator from the third memory in SIM card 104.

[0088] In some embodiments, the NFC memory described above may also store routing information. In some embodiments, this routing information may be controlled or managed by the NFC controller, and may include a routing table consisting of a list of routing rules. Each routing rule contains an applet identifier (AID) and a destination; the destination is the location where the applet used to implement the business logic of the NFC emulator card runs. The destination may include an HCE application running in the processor 101 of the electronic device 100, or an SE 103 or SIM card 104 connected to the NFC controller.

[0089] The SE103 and NFC module 102 can be two separate chips. Alternatively, the SE103 and NFC module 102 can be packaged into a single chip.

[0090] Electronic device 100 can activate one or more NFC emulator cards in an application based on user input, thereby enabling electronic device 100 to support one or more NFC services. The service processing logic for the NFC emulator card within electronic device 100 is specifically implemented by an applet. The applet can be stored and run in the corresponding hardware device or software module (e.g., HCE application, SIM card, SE, etc.) of the NFC emulator card.

[0091] The card emulation modes of electronic device 100 can be divided into hardware-based virtual card mode and software-based HCE mode.

[0092] 1. In hardware-based virtual card mode, electronic device 100 can provide the operating environment for the Applet corresponding to the NFC emulator card, as well as the storage and processing of the NFC emulator card's business data, through SE103 or SIM card 104. NFC module 102, as the front end of contactless communication, receives commands from the external PCD and forwards them to SE103 or SIM card 104. The Applet in SE103 or SIM card 104 then processes the commands and sends response data to the external PCD via NFC module 102. Users can activate one or more NFC emulator cards in a wallet application, which can write the Applets and card data of one or more NFC emulator cards into SE103. Alternatively, users can activate one or more NFC emulator cards in a SIM card application, which can write the Applets and card data of one or more NFC emulator cards into SIM card 104 for storage.

[0093] 2. In software-based HCE mode, the HCE application running in processor 101 can provide the operating environment for the Applet corresponding to the NFC emulator card, as well as the storage and processing of the NFC emulator card's business data. After receiving a command from an external PCD, NFC module 102 can send the command to the HCE application. The HCE application can process the command received by the NFC module through the Applet running in the HCE application or a cloud server, and generate response data for the PCD. The HCE application can then send the response data to NFC module 102. NFC module 102 can then send the response data to the external PCD. Users can activate one or more NFC emulator cards in the HCE application. The HCE application can run one or more NFC emulator card Applets and store the NFC emulator card data on the local memory of electronic device 100 or on a cloud server.

[0094] Optionally, the processor 101 can also run an NFC basic service module. The NFC basic service module can be used to provide common management functions for one or more NFC services. These common management functions may include file management, card activation, security management, service routing management, and other functions.

[0095] For example, in the card emulation scenario described above, the electronic device 100 has a native NFC-related application installed, and users can also download and install third-party applications from app stores. Generally, the native application can use a hardware-based virtual card solution, while the third-party application can use an HCE solution. The native application can be a wallet application, etc. The above examples are merely for explaining this application and should not be construed as limiting it.

[0096] The following describes an NFC protocol stack provided in an embodiment of this application.

[0097] Figure 4 An NFC protocol stack provided in an embodiment of this application is shown.

[0098] like Figure 4 As shown, the NFC protocol stack can include a physical layer, a radio frequency layer, an access layer, a transport layer, and an application layer.

[0099] The physical layer can be used to implement the physical characteristics of NFC technology communication.

[0100] The radio frequency (RF) layer can be used to implement RF specifications for NFC technology communication, such as data rate and RF signal frequency.

[0101] The access layer can be used to implement functions such as polling and device discovery, service result notification, card conflict management, transmission protocol negotiation, timeout and retransmission mechanism, PICC / PCD mode switching, and converged card selection.

[0102] The transport layer includes a high-speed data transmission protocol, which enables data transmission between the PCD and PICC at the application layer.

[0103] The application layer can be used to implement one or more NFC services and one or more service management policies. The one or more NFC services may include codeless payment, electronic tickets, access control, digital ID cards, all-scenario contactless payment, and short-range data transmission. The one or more service management policies may include any one or more of the following: file management, card long-term activation, security management, and service routing management. The processing logic of the NFC services can be executed by Applets. In one possible implementation, the processing logic of the service management policies can be executed by the NFC basic service module.

[0104] The polling mechanism of a single NFC protocol provided in the embodiments of this application is described below.

[0105] Figure 5 This application illustrates a polling mechanism for a single NFC protocol provided in an embodiment.

[0106] like Figure 5As shown, the NFC card reader 200 can support a single NFC protocol. During the polling process, the NFC card reader 200 can periodically send a card search request for the NFC protocol until it receives a card search response for the NFC protocol and then stops sending the card search request for the NFC protocol.

[0107] If the NFC protocol is the first NFC protocol, the card search request of the first NFC protocol can be a probe frame, and the card search response of the first NFC protocol can be a probe ACK frame.

[0108] If the NFC protocol is a Type A NFC protocol, the card search request of the Type A NFC protocol can be a Type A request command (requestcommandtype A, REQ_A), and the card search response of the Type A NFC protocol can be a Type A request response (answertorequesttype A, ATQ_A).

[0109] If the NFC protocol is a Type B NFC protocol, the card search request of the Type B NFC protocol can be a Type B request command (requestcommandtype B, REQ_B), and the card search response of the Type B NFC protocol can be a Type B request response (answertorequesttype B.ATQ_B).

[0110] If the NFC protocol is a Type F NFC protocol, the card search request of the Type F NFC protocol can be a sense request command (SENS_REQ), and the card search response of the Type F NFC protocol can be a sense response (SENSF_RES).

[0111] The polling mechanism for a single NFC protocol is as follows:

[0112] 5.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send a card search request according to a polling cycle. Each polling cycle includes a polling phase and a listening phase. Within a polling cycle, the listening phase follows the polling phase. During the polling phase, the NFC card reader 200 can send a card search request, and during the listening phase, it can wait for a card search response from the NFC device.

[0113] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 may send a card search request 1. During the listening phase of the i-th polling cycle, since the NFC card reader 200 does not receive a card search response, it continues to send a card search request 2 during the polling phase of the (i+1)-th polling cycle. During the listening phase of the (i+1)-th polling cycle, since the NFC card reader 200 does not receive a card search response, it continues to send a card search request 3 during the polling phase of the (i+2)-th polling cycle.

[0114] 5.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200, and send a card search response to the NFC card reader 200 after receiving the card search request.

[0115] The duration of the listening phase within each polling cycle can be referred to as the frame guard time. Since the end time of the NFC reader 200 sending the card search request may differ within each polling cycle, the duration of the listening phase will vary across different polling cycles. To ensure that the card search response sent by the NFC device can be received by the NFC reader 200 within the duration of the listening phase, the timing of the NFC device sending the card search response must meet the following requirements:

[0116] T min-fggt >T transfer +T f-req +T f-res +T ack-timeout +ΔT req +ΔT res Formula (1)

[0117] In formula (1), T min-fgt This is the minimum value of the frame protection interval, i.e., the minimum duration of the listening phase. T transfer The transmission time from the NFC card reader 200 to the NFC device for a card search request can also be referred to as the card search request transmission time. f-req T represents the duration of the card retrieval request. f-res T represents the time required for the card search response. ack-timeout The maximum time interval between the moment an NFC device receives a card search request and the moment it responds with a card search reply, also known as the acknowledgment timeout (ACK_Timeout). ΔT req ΔT represents the time it takes for the NFC device to parse the card search request after receiving it. res This refers to the time it takes for the NFC card reader device 200 to parse the card search response after receiving it.

[0118] As can be seen from the above formula (1), the NFC device needs to start sending a card search response to the NFC card reader 200 within the confirmation time after receiving the card search request in order to ensure that the NFC card reader 200 can receive the card search response during the listening phase.

[0119] For example, an NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+1)th polling cycle. If, after entering the radio frequency field, the NFC device successfully receives the card search request 3 sent by the NFC reader 200 during the polling phase of the (i+2)th polling cycle, it indicates that the NFC device supports the NFC protocol supported by the NFC reader 200. Therefore, the NFC device can start sending a card search response to the NFC reader 200 within the confirmation period after successfully receiving the card search request 3. After receiving the card search response from the NFC device, the NFC reader 200 can determine that the NFC device and the NFC reader 200 support the same NFC protocol, and therefore, the NFC reader 200 can stop polling. If the NFC device does not support the NFC protocol supported by the NFC reader 200, the NFC device may not send a card search response, and the NFC reader 200 will continue polling if it does not receive a card search response during the listening phase of the (i+2)th polling cycle.

[0120] The polling mechanisms of the two NFC protocols provided in the embodiments of this application are described below.

[0121] Figure 6 This illustrates a multi-NFC protocol polling mechanism for the first NFC protocol and the Class A NFC protocol provided in an embodiment of this application.

[0122] like Figure 6 As shown, the NFC card reader 200 can support both the first NFC protocol and the Class A NFC protocol. During the polling process, the NFC card reader 200 can periodically and alternately send card search requests using the first NFC protocol and the Class A NFC protocol. Specifically, the card search request using the first NFC protocol can be a probe frame, and the card search response using the first NFC protocol can be a probe ACK frame. The card search request using the Class A NFC protocol can be a Class A request command (REQ_A), and the card search response using the Class A NFC protocol can be a Class A request response (ATQ_A).

[0123] The polling mechanisms for the first NFC protocol and the Class A NFC protocol can be as follows:

[0124] 6.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol and the Class A NFC protocol according to a polling cycle. Specifically, one NFC protocol card search request is sent in each polling cycle, and card search requests for different NFC protocols are sent in adjacent polling cycles. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of the polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase of the polling cycle, it can wait for a card search response from the NFC device.

[0125] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 can send Probe frame 1. If the NFC card reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Type A request command 1 (REQ_A1) during the polling phase of the (i+1)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a Type A request command 2 (REQ_A2) during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase in the (i+3)th polling cycle, the NFC card reader 200 sends Probe frame 3 during the polling phase in the (i+4)th polling cycle.

[0126] 6.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0127] Case 6.2.1: If the NFC device supports the first NFC protocol and the Class A NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0128] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+3)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 3 sent by the NFC reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 3. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0129] Case 6.2.2: If the NFC device supports the first NFC protocol and the Class A NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_A, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_A, the NFC device sends an ATQ_A frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0130] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_A2 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving REQ_A2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0131] Case 6.2.3: If the NFC device supports the first NFC protocol but not the Class A NFC protocol, the NFC device will not be able to successfully receive the card search request of the Class A NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives the Probe frame, it will send a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the Probe frame.

[0132] Case 6.2.4: If the NFC device supports Class A NFC protocol but not the first NFC protocol, the NFC device will not be able to successfully receive the card search request of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives REQ_A, it will send ATQ_A to the NFC card reader 200 within the confirmation time after successfully receiving REQ_A.

[0133] In the embodiments of this application, the relationship between the confirmation duration and the frame protection interval can be referred to the above formula (1), which will not be repeated here.

[0134] According to the NFC polling method provided in this application embodiment, when the NFC card reader 200 supports both the first NFC protocol and the Class A NFC protocol, it can alternately send card search requests using the first NFC protocol and the Class A NFC protocol. When the NFC device supports both the first NFC protocol and the Class A NFC protocol, after entering the radio frequency field, the NFC device can preferentially choose to reply with a card search response using the first NFC protocol to the NFC card reader 200, thereby allowing the NFC card reader 200 and the NFC device to preferentially choose the first NFC protocol for NFC interaction.

[0135] Figure 7 This application illustrates a multi-NFC protocol polling mechanism for the first NFC protocol and the Class B NFC protocol provided in an embodiment of the present application.

[0136] like Figure 7 As shown, the NFC card reader 200 can support both the first NFC protocol and the Class B NFC protocol. During the polling process, the NFC card reader 200 can periodically and alternately send card search requests using the first NFC protocol and the Class B NFC protocol. Specifically, the card search request using the first NFC protocol can be a probe frame, and the card search response using the first NFC protocol can be a probe ACK frame. The card search request using the Class B NFC protocol can be a Class B request command (REQ_B), and the card search response using the Class B NFC protocol can be a Class B request response (ATQ_B).

[0137] The polling mechanisms for the first NFC protocol and the Class B NFC protocol are as follows:

[0138] 7.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol and the Class B NFC protocol according to a polling cycle. Specifically, one NFC protocol card search request is sent in each polling cycle, and card search requests for different NFC protocols are sent in adjacent polling cycles. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of the polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase of the polling cycle, it can wait for a card search response from the NFC device.

[0139] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 can send Probe frame 1. If the NFC card reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Type B request command 1 (REQ_B1) during the polling phase of the (i+1)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a Type B request command 2 (REQ_B2) during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase in the (i+3)th polling cycle, the NFC card reader 200 may send Probe frame 3 during the polling phase in the (i+4)th polling cycle.

[0140] 7.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0141] Case 7.2.1: If the NFC device supports the first NFC protocol and the Class B NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0142] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+3)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 3 sent by the NFC reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 3. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0143] Case 7.2.2: If the NFC device supports both the first NFC protocol and the Class B NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_B, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_B, the NFC device sends an ATQ_B frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0144] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_B2 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving REQ_B2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0145] Case 7.2.3: If the NFC device supports the first NFC protocol but not the Class B NFC protocol, the NFC device cannot successfully receive the card search request of the Class B NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives the Probe frame, it will send a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the Probe frame.

[0146] Case 7.2.4: If the NFC device supports the Class B NFC protocol but not the first NFC protocol, the NFC device cannot successfully receive the card search request of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives REQ_B, it will send ATQ_B to the NFC card reader 200 within the confirmation time after successfully receiving REQ_B.

[0147] In the embodiments of this application, the relationship between the confirmation duration and the frame protection interval can be referred to the above formula (1), which will not be repeated here.

[0148] Through the above Figure 7 The NFC polling method shown allows the NFC reader 200 to alternately send card search requests using both the first NFC protocol and the Class B NFC protocol when the NFC reader 200 supports both. When the NFC device supports both the first NFC protocol and the Class B NFC protocol, upon entering the radio frequency field, the NFC device can preferentially respond with a card search response using the first NFC protocol to the NFC reader 200, thus enabling the NFC reader 200 and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0149] Figure 8 This application illustrates a multi-NFC protocol polling mechanism for the first NFC protocol and the F-type NFC protocol provided in an embodiment of the present application.

[0150] like Figure 8 As shown, the NFC card reader 200 can support both the first NFC protocol and the Class F NFC protocol. During the polling process, the NFC card reader 200 can periodically and alternately send card search requests using the first NFC protocol and the Class F NFC protocol. Specifically, the card search request using the first NFC protocol can be a probe frame, and the card search response using the first NFC protocol can be a probe ACK frame. The card search request using the Class F NFC protocol can be a sensing request command (SENS_REQ), and the card search response using the Class F NFC protocol can be a sensing response (SENSF_RES).

[0151] The polling mechanisms for the first NFC protocol and the F-type NFC protocol are as follows:

[0152] 8.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol and the F-type NFC protocol according to a polling cycle. Specifically, one NFC protocol card search request is sent in each polling cycle, and card search requests for different NFC protocols are sent in adjacent polling cycles. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of a polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase of a polling cycle, it can wait for a card search response from the NFC device.

[0153] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 can send Probe frame 1. If the NFC card reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Sensing Request Command 1 (SENS_REQ1) during the polling phase of the (i+1)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a Sensing Request Command 1 (SENS_REQ2) during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase in the (i+3)th polling cycle, the NFC card reader 200 may send Probe frame 3 during the polling phase in the (i+4)th polling cycle.

[0154] 8.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0155] Case 8.2.1: If the NFC device supports the first NFC protocol and the F-type NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0156] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+3)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 3 sent by the NFC reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 3. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0157] Case 8.2.2: If the NFC device supports the first NFC protocol and the Class F NFC protocol, and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is SENS_REQ, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is SENS_REQ, the NFC device sends SENS_RES to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0158] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is SENS_REQ2 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving SENS_REQ2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0159] Case 8.2.3: If the NFC device supports the first NFC protocol but not the Class F NFC protocol, the NFC device will not be able to successfully receive the card search request of the Class F NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives the Probe frame, it will send a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the Probe frame.

[0160] Case 8.2.4: If the NFC device supports the Class F NFC protocol but not the first NFC protocol, the NFC device will not be able to successfully receive the card search request of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives SENS_REQ, it will send SENS_RES to the NFC card reader 200 within the confirmation time after successfully receiving SENS_REQ.

[0161] In the embodiments of this application, the relationship between the confirmation duration and the frame protection interval can be referred to the above formula (1), which will not be repeated here.

[0162] Through the above Figure 8 The NFC polling method shown allows the NFC reader 200 to alternately send card search requests using both the first NFC protocol and the Class F NFC protocol when the NFC reader 200 supports both. When the NFC device supports both the first NFC protocol and the Class F NFC protocol, upon entering the radio frequency field, the NFC device can preferentially respond with a card search response using the first NFC protocol to the NFC reader 200, thus enabling the NFC reader 200 and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0163] The polling mechanisms of the three NFC protocols provided in the embodiments of this application are described below.

[0164] Figure 9 This application illustrates a multi-NFC protocol polling mechanism provided in the embodiments of the first NFC protocol and the Class A and Class B NFC protocols.

[0165] like Figure 9As shown, the NFC card reader 200 can support a first NFC protocol, a Type A NFC protocol, and a Type B NFC protocol. Specifically, the card search request for the first NFC protocol can be a probe frame, and the card search response can be a probe ACK frame. The card search request for the Type A NFC protocol can be a Type A request command (REQ_A), and the card search response can be a Type A request response (ATQ_A). The card search request for the Type B NFC protocol can be a Type B request command (REQ_B), and the card search response can be a Type A request response (ATQ_B).

[0166] The polling mechanisms for the first NFC protocol, the Class A NFC protocol, and the Class B NFC protocol are as follows:

[0167] 9.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol, the Type A NFC protocol, and the Type B NFC protocol according to a polling cycle. Within each polling cycle, one NFC protocol card search request is sent. The NFC card reader 200 can send the card search requests in the order of Probe frame, REQ_A, Probe frame, REQ_B. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of a polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase, it can wait for a card search response from the NFC device.

[0168] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 can send Probe frame 1. If the NFC card reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Type A request command 1 (REQ_A1) during the polling phase of the (i+1)-th polling cycle. If the NFC card reader 200 does not receive a request response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a Type B request command 1 (REQ_B1) during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+3)th polling cycle, the NFC card reader 200 may send Probe frame 3 during the polling phase of the (i+4)th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+4)th polling cycle, the NFC card reader 200 may send a Type A request command 2 (REQ_A2) during the polling phase of the (i+5)th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+5)th polling cycle, the NFC card reader 200 may send Probe frame 4 during the polling phase of the (i+6)th polling cycle.

[0169] 9.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0170] Case 9.2.1: If the NFC device supports the first NFC protocol (regardless of whether it supports Class A NFC protocol and / or Class B NFC protocol) and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a ProbeACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0171] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+5)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 4 sent by the NFC reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 4. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0172] Case 9.2.2: If the NFC device supports the first NFC protocol and the Class A NFC protocol (regardless of whether it supports the Class B NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_A, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_A, then the NFC device sends an ATQ_A frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0173] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+4)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_A2 sent by the NFC card reader 200 during the polling phase of the (i+5)th polling cycle. Therefore, after successfully receiving REQ_A2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 4 sent by the NFC card reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 4.

[0174] Case 9.2.3: If the NFC device supports the first NFC protocol and the Class B NFC protocol (regardless of whether it supports the Class A NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_B, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_B, then the NFC device sends an ATQ_B to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0175] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_B1 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving REQ_B1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0176] Case 9.2.4: If the NFC device supports Class A NFC protocol but not Class 1 or Class B NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of Class 1 NFC protocol and the card search request (REQ_B) of Class B NFC protocol. Therefore, after entering the radio frequency field of NFC card reader 200, if the NFC device successfully receives REQ_A, it will send ATQ_A to NFC card reader 200 within the confirmation time after successfully receiving REQ_A.

[0177] Case 9.2.5: If the NFC device supports the Class B NFC protocol but not the first NFC protocol or the Class A NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of the first NFC protocol and the card search request (REQ_A) of the Class A NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives REQ_B, it will send ATQ_B to the NFC card reader 200 within the confirmation time after successfully receiving REQ_B.

[0178] Case 9.2.6: If the NFC device supports both Type A and Type B NFC protocols but not the first NFC protocol, the NFC device cannot successfully receive the probe frame of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC reader 200, if the first probe request successfully received is REQ_A, the NFC device will send ATQ_A to the NFC reader 200 within the confirmation period after successfully receiving the first probe request. If the first probe request successfully received is REQ_B, the NFC device will send ATQ_B to the NFC reader 200 within the confirmation period after successfully receiving the first probe request.

[0179] Through the above Figure 9 The NFC polling method shown allows the NFC reader 200 to send card search requests for multiple NFC protocols in the following order during each polling duration: card search request for the first NFC protocol, card search request for the Class A NFC protocol, card search request for the first NFC protocol, and card search request for the Class B NFC protocol. When the NFC device supports the first NFC protocol, Class A NFC protocol, and Class B NFC protocol, after entering the radio frequency field, the NFC device can preferentially respond with a card search response using the first NFC protocol to the NFC reader 200, thus allowing the NFC reader 200 and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0180] Figure 10 This application illustrates a multi-NFC protocol polling mechanism provided in the embodiments of the first NFC protocol and the Class A and Class F NFC protocols.

[0181] like Figure 10 As shown, the NFC card reader 200 can support the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol. Specifically, the card search request for the first NFC protocol can be a probe frame, and the card search response can be a probe ACK frame. The card search request for the Class A NFC protocol can be a Class A request command (REQ_A), and the card search response can be a Class A request response (ATQ_A). The card search request for the Class F NFC protocol can be a sensing request (SENS_REQ), and the card search response can be a sensing response (SENS_RES).

[0182] The polling mechanisms for the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol are as follows:

[0183] 10.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol according to a polling cycle. Within each polling cycle, one NFC protocol card search request is sent. The NFC card reader 200 can send the card search requests in the order of Probe frame, REQ_A, Probe frame, and SENS_REQ. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of a polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase, it can wait for a card search response from the NFC device.

[0184] For example, during the polling phase of the i-th polling cycle, the NFC reader 200 can send Probe frame 1. If the NFC reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Type A request command 1 (REQ_A1) during the polling phase of the (i+1)-th polling cycle. If the NFC reader 200 does not receive a request response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a sensing request 1 (SENS_REQ1) during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+3)th polling cycle, the NFC card reader 200 may send Probe frame 3 during the polling phase of the (i+4)th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+4)th polling cycle, the NFC card reader 200 may send a Type A request command 2 (REQ_A2) during the polling phase of the (i+5)th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+5)th polling cycle, the NFC card reader 200 may send Probe frame 4 during the polling phase of the (i+6)th polling cycle.

[0185] 10.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0186] Case 10.2.1: If the NFC device supports the first NFC protocol (regardless of whether it supports Class A NFC protocol and / or Class F NFC protocol) and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a ProbeACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0187] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+5)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 4 sent by the NFC reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 4. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0188] Case 10.2.2: If the NFC device supports the first NFC protocol and the Class A NFC protocol (regardless of whether it supports the Class F NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_A, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_A, then the NFC device sends an ATQ_A frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0189] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+4)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_A2 sent by the NFC card reader 200 during the polling phase of the (i+5)th polling cycle. Therefore, after successfully receiving REQ_A2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 4 sent by the NFC card reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 4.

[0190] Case 10.2.3: If the NFC device supports the first NFC protocol and the Class F NFC protocol (regardless of whether it supports the Class A NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is SENS_REQ, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is SENS_REQ, then the NFC device sends SENS_RES to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0191] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is SENS_REQ1 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving SENS_REQ1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0192] Case 10.2.4: If the NFC device supports Class A NFC protocol but not the first NFC protocol or the Class F NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of the first NFC protocol and the card search request (SENS_REQ) of the Class F NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives REQ_A, it will send ATQ_A to the NFC card reader 200 within the confirmation time after successfully receiving REQ_A.

[0193] Case 10.2.5: If the NFC device supports the Class F NFC protocol but not the first NFC protocol or the Class A NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of the first NFC protocol and the card search request (REQ_A) of the Class A NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives the SENS_REQ, it will send the SENS_REQ to the NFC card reader 200 within the confirmation time after successfully receiving the SENS_REQ.

[0194] Case 10.2.6: If the NFC device supports both Class A and Class F NFC protocols but not the first NFC protocol, the NFC device cannot successfully receive the probe frame of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC reader 200, if the first probe request successfully received is REQ_A, the NFC device will send ATQ_A to the NFC reader 200 within the confirmation period after successfully receiving the first probe request. If the first probe request successfully received is SENS_REQ, the NFC device will send SENS_RES to the NFC reader 200 within the confirmation period after successfully receiving the first probe request.

[0195] Through the above Figure 10 The NFC polling method shown allows the NFC reader 200 to send card search requests for multiple NFC protocols in the following order during each polling duration: card search request for the first NFC protocol, card search request for the Class A NFC protocol, card search request for the first NFC protocol again, and card search request for the Class F NFC protocol again. When the NFC device supports the first NFC protocol, Class A NFC protocol, and Class F NFC protocol, after entering the radio frequency field, the NFC device can preferentially respond to the card search response of the first NFC protocol to the NFC reader 200, thus allowing the NFC reader 200 and the NFC device to preferentially choose the first NFC protocol for NFC interaction.

[0196] Figure 11 This application illustrates a multi-NFC protocol polling mechanism involving the first NFC protocol and Class B and Class F NFC protocols provided in an embodiment of the present application.

[0197] like Figure 11 As shown, the NFC card reader 200 can support the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol. Specifically, the card search request for the first NFC protocol can be a probe frame, and the card search response can be a probe ACK frame. The card search request for the Class B NFC protocol can be a Class B request command (REQ_B), and the card search response can be a Class B request response (ATQ_A). The card search request for the Class F NFC protocol can be a sensing request (SENS_REQ), and the card search response can be a sensing response (SENS_RES).

[0198] The polling mechanisms for the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol are as follows:

[0199] 11.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol according to a polling cycle. Within each polling cycle, one NFC protocol card search request is sent. The NFC card reader 200 can send the card search requests in the order of Probe frame, REQ_B, Probe frame, and SENS_REQ. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase. During the polling phase of a polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase, it can wait for a card search response from the NFC device.

[0200] For example, during the polling phase of the i-th polling cycle, the NFC reader 200 can send Probe frame 1. If the NFC reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it can send a Type B request command 1 (REQ_B1) during the polling phase of the (i+1)-th polling cycle. If the NFC reader 200 does not receive a request response during the listening phase of the (i+1)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+2)-th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a sensing request 1 (SENS_REQ1) during the polling phase of the (i+3)-th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+3)th polling cycle, the NFC reader 200 may send Probe frame 3 during the polling phase of the (i+4)th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+4)th polling cycle, the NFC reader 200 may send a Type B request command 2 (REQ_B2) during the polling phase of the (i+5)th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+5)th polling cycle, the NFC reader 200 may send Probe frame 4 during the polling phase of the (i+6)th polling cycle.

[0201] 11.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0202] Case 11.2.1: If the NFC device supports the first NFC protocol (regardless of whether it supports the Class B NFC protocol and / or the Class F NFC protocol) and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a ProbeACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0203] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+5)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 4 sent by the NFC reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 4. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0204] Case 11.2.2: If the NFC device supports the first NFC protocol and the Class B NFC protocol (regardless of whether it supports the Class F NFC protocol) and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_B, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_B, then the NFC device sends an ATQ_B to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0205] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+4)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_B2 sent by the NFC card reader 200 during the polling phase of the (i+5)th polling cycle. Therefore, after successfully receiving REQ_B2, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 4 sent by the NFC card reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 4.

[0206] Case 11.2.3: If the NFC device supports the first NFC protocol and the Class F NFC protocol (regardless of whether it supports the Class B NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is SENS_REQ, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is SENS_REQ, then the NFC device sends SENS_RES to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0207] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is SENS_REQ1 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving SENS_REQ1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0208] Case 11.2.4: If the NFC device supports the Class B NFC protocol but not the first NFC protocol or the Class F NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of the first NFC protocol and the card search request (SENS_REQ) of the Class F NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives REQ_B, it will send ATQ_B to the NFC card reader 200 within the confirmation time after successfully receiving REQ_B.

[0209] Case 11.2.5: If the NFC device supports the Class F NFC protocol but not the first NFC protocol or the Class B NFC protocol, the NFC device cannot successfully receive the card search request (Probe frame) of the first NFC protocol and the card search request (REQ_B) of the Class B NFC protocol. Therefore, after entering the radio frequency field of the NFC card reader 200, if the NFC device successfully receives the SENS_REQ, it will send the SENS_REQ to the NFC card reader 200 within the confirmation time after successfully receiving the SENS_REQ.

[0210] Case 11.2.6: If the NFC device supports both Class B and Class F NFC protocols but not the first NFC protocol, the NFC device cannot successfully receive the first NFC protocol's probe request (probe frame). Therefore, after entering the RF field of the NFC reader 200, if the first successfully received probe request is REQ_B, the NFC device will send ATQ_B to the NFC reader 200 within the confirmation period following the successful receipt of the first probe request. If the first successfully received probe request is SENS_REQ, the NFC device will send SENS_RES to the NFC reader 200 within the confirmation period following the successful receipt of the first probe request.

[0211] Through the above Figure 11 The NFC polling method shown allows the NFC reader 200 to send card search requests for multiple NFC protocols in the following order during each polling duration: card search request for the first NFC protocol, card search request for the Class B NFC protocol, card search request for the first NFC protocol again, and card search request for the Class F NFC protocol again. When the NFC device supports the first NFC protocol, Class B NFC protocol, and Class F NFC protocol, after entering the radio frequency field, the NFC device can preferentially respond with a card search response using the first NFC protocol to the NFC reader 200, thus allowing the NFC reader 200 and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0212] The polling mechanisms of the four NFC protocols provided in the embodiments of this application are described below.

[0213] Figure 12 This application illustrates a multi-NFC protocol polling mechanism for the first NFC protocol, Class A NFC protocol, Class B NFC protocol, and Class F NFC protocol provided in the embodiments of this application.

[0214] like Figure 12As shown, the NFC card reader 200 can support the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol. Specifically, the card search request for the first NFC protocol can be a probe frame, and the card search response can be a probe ACK frame. The card search request for the Class B NFC protocol can be a Class B request command (REQ_B), and the card search response can be a Class B request response (ATQ_A). The card search request for the Class F NFC protocol can be a sensing request (SENS_REQ), and the card search response can be a sensing response (SENS_RES).

[0215] The polling mechanisms for the first NFC protocol, Class A NFC protocol, Class B NFC protocol, and Class F NFC protocol are as follows:

[0216] 12.1 When the NFC card reader 200 is in PCD mode, it can generate a radio frequency field and send card search requests for the first NFC protocol, the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol according to a polling cycle. Within each polling cycle, one NFC protocol card search request is sent. The NFC card reader 200 can send the card search requests in the order of Probe frame, REQ_A, Probe frame, REQ_B, Probe frame, and SENS_REQ. Each polling cycle includes a polling phase and a listening phase, with the listening phase following the polling phase within the polling cycle. During the polling phase of the polling cycle, the NFC card reader 200 can send a card search request, and during the listening phase of the polling cycle, it can wait for a card search response from the NFC device.

[0217] For example, during the polling phase of the i-th polling cycle, the NFC card reader 200 can send Probe frame 1. If the NFC card reader 200 does not receive a card search response during the listening phase of the i-th polling cycle, it sends a Type A request command 1 (REQ_A1) during the polling phase of the (i+1)-th polling cycle. If the NFC card reader 200 does not receive a request response during the listening phase of the (i+2)-th polling cycle, it can send Probe frame 2 during the polling phase of the (i+3)-th polling cycle. If the NFC card reader 200 does not receive a card search response during the listening phase of the (i+2)-th polling cycle, it can send a Type B request command 1 (REQ_B1) during the polling phase of the (i+3)-th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+3)th polling cycle, the NFC reader 200 may send Probe frame 3 during the polling phase of the (i+4)th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+4)th polling cycle, the NFC reader 200 may send a Class F request command 1 (SENS_REQ1) during the polling phase of the (i+5)th polling cycle. If the NFC reader 200 does not receive a card search response during the listening phase of the (i+5)th polling cycle, the NFC reader 200 may send Probe frame 4 during the polling phase of the (i+6)th polling cycle.

[0218] 12.2 When the NFC device is in PICC mode and enters the radio frequency field generated by the NFC card reader 200, the NFC device can receive the card search request sent by the NFC card reader 200.

[0219] Case 12.2.1: If the NFC device supports the first NFC protocol (regardless of whether it supports Class A NFC protocol and / or Class B NFC protocol and / or Class F NFC protocol) and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC card reader 200 is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0220] For example, the NFC device can enter the radio frequency field generated by the NFC reader 200 during the listening phase of the (i+5)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is Probe frame 4 sent by the NFC reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC reader 200 within the acknowledgment time after successfully receiving Probe frame 4. After successfully receiving the Probe ACK frame sent by the NFC device, the NFC reader 200 stops polling and executes the NFC interaction process of the first NFC protocol with the NFC device.

[0221] Case 12.2.2: If the NFC device supports the first NFC protocol and the Class A NFC protocol (regardless of whether it supports the Class B NFC protocol and / or / or Class F NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_A, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_A, then the NFC device sends an ATQ_A frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0222] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the i-th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_A1 sent by the NFC card reader 200 during the polling phase of the (i+1)-th polling cycle. Therefore, after successfully receiving REQ_A1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 2 sent by the NFC card reader 200 during the polling phase of the (i+2)-th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 2.

[0223] Case 12.2.3: If the NFC device supports the first NFC protocol and the Class B NFC protocol (regardless of whether it supports the Class A NFC protocol and / or / or Class F NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is REQ_B, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is REQ_B, then the NFC device sends an ATQ_B to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0224] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+2)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is REQ_B1 sent by the NFC card reader 200 during the polling phase of the (i+3)th polling cycle. Therefore, after successfully receiving REQ_B1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 3 sent by the NFC card reader 200 during the polling phase of the (i+4)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 3.

[0225] Case 12.2.4: If the NFC device supports the first NFC protocol and the Class F NFC protocol (regardless of whether it supports the Class A NFC protocol and / or / or Class B NFC protocol), and the first card search request successfully received by the NFC device after entering the radio frequency field of the NFC reader 200 is SENS_REQ, then the NFC device continues to receive the second card search request after entering the radio frequency field of the NFC reader 200. If the second card search request is a Probe frame, then the NFC device sends a Probe ACK frame to the NFC reader 200 within the confirmation time after successfully receiving the second card search request. If the second card search request is SENS_REQ, then the NFC device sends SENS_RES to the NFC reader 200 within the confirmation time after successfully receiving the second card search request.

[0226] For example, the NFC device can enter the radio frequency field generated by the NFC card reader 200 during the listening phase of the (i+4)th polling cycle. After entering the radio frequency field, the first card search request successfully received by the NFC device is SENS_REQ1 sent by the NFC card reader 200 during the polling phase of the (i+5)th polling cycle. Therefore, after successfully receiving SENS_REQ1, the NFC device can continue to receive the second card search request. The second card search request successfully received by the NFC device after entering the radio frequency field is Probe frame 4 sent by the NFC card reader 200 during the polling phase of the (i+6)th polling cycle. Therefore, the NFC device can start sending a Probe ACK frame to the NFC card reader 200 within the acknowledgment time after successfully receiving Probe frame 4.

[0227] Case 12.2.5: If the NFC device does not support the first NFC protocol but supports Class A and / or Class B and / or Class F NFC protocols, the NFC device cannot successfully receive the card probe request (Probe frame) of the first NFC protocol. Therefore, after entering the radio frequency field of the NFC reader 200, if the first successfully received card probe request is REQ_A, the NFC device sends ATQ_A to the NFC reader 200 within the confirmation period after successfully receiving the first card probe request. If the first successfully received card probe request is REQ_B, the NFC device sends ATQ_B to the NFC reader 200 within the confirmation period after successfully receiving the first card probe request. If the first successfully received card probe request is SENS_REQ, the NFC device sends SENS_RES to the NFC reader 200 within the confirmation period after successfully receiving the first card probe request.

[0228] Through the above Figure 12 The NFC polling method shown allows the NFC reader 200 to send card search requests for multiple NFC protocols in the following order during each polling duration: card search request for the first NFC protocol, card search request for the Class A NFC protocol, card search request for the first NFC protocol, card search request for the Class B NFC protocol, card search request for the first NFC protocol, and card search request for the Class F NFC protocol. When the NFC device supports the first NFC protocol, Class A NFC protocol, Class B NFC protocol, and Class F NFC protocol, after entering the radio frequency field, the NFC device can preferentially respond to the card search response of the first NFC protocol to the NFC reader 200, thus allowing the NFC reader 200 and the NFC device to preferentially choose the first NFC protocol for NFC interaction.

[0229] The NFC polling method provided in the embodiments of this application is described below.

[0230] Figure 13 This is a flowchart illustrating the NFC polling method provided in an embodiment of this application.

[0231] like Figure 13 As shown, this NFC polling method can be applied to an NFC system of an NFC card reader 200 and an NFC device, wherein the NFC card reader 200 can be in PCD mode and the NFC device can be in PICC mode.

[0232] The NFC polling method may include the following steps:

[0233] S1301. The NFC card reader 200 continuously sends a card search request using a first NFC protocol and a card search request using a second NFC protocol, wherein the first NFC protocol is different from the second NFC protocol, and one or more card search requests using the first NFC protocol are sent between two adjacent card search requests using the second NFC protocol.

[0234] Among them, the card search request of the first NFC protocol can be a Probe frame, and the card search response of the first NFC protocol can be a Probe ACK frame.

[0235] In one possible implementation, the second NFC protocol may include a Class A NFC protocol and / or a Class B NFC protocol and / or a Class F NFC protocol. The Class A NFC protocol's card search request is REQ_A, and its card search response is ATQ_A. The Class B NFC protocol's card search request is REQ_B, and its card search response is ATQ_B. The Class F NFC protocol's card search request is SENS_REQ, and its card search response is SENS_RES.

[0236] The NFC card reader 200 can send a card search request during the polling phase of each polling cycle and wait to receive a card search response during the listening phase of each polling cycle. The listening phase follows the polling phase within the polling cycle.

[0237] 1. If the NFC reader 200 supports the first NFC protocol and the Class A NFC protocol but not the Class B or Class F NFC protocols, the aforementioned second NFC protocol can be the Class A NFC protocol. The second NFC card search request may include REQ_A, and the second NFC protocol card search response may include ATQ_A. The NFC reader 200 may send one or more Probe frames and then send one REQ_A frame within each of one or more polling duration periods. The number of Probe frames sent within different polling duration periods may be the same or different.

[0238] For example, such as Figure 14A As shown, the card search request sent by the NFC card reader 200 during the polling process may include a Probe frame and a REQ_A. The NFC card reader 200 may send X1 Probe frames followed by one REQ_A within polling duration segment 1; send X2 Probe frames followed by one REQ_A within polling duration segment 2; and send Xn Probe frames followed by one REQ_A within polling duration segment n. Where X1, X2…Xn are all positive integers, and X1, X2…Xn may or may not be all the same.

[0239] The polling process when one Probe frame is sent between two adjacent REQ_A transmissions can be referred to the above. Figure 6 The embodiments shown are not described in detail here.

[0240] 2. If the NFC reader 200 supports the first NFC protocol and the Class B NFC protocol but not the Class A and Class F NFC protocols, the aforementioned second NFC protocol can be the Class B NFC protocol. The card search request of the aforementioned second NFC protocol may include REQ_B, and the card search response of the second NFC protocol may include ATQ_B. The NFC reader 200 may send one or more Probe frames and then send one REQ_B in each of one or more polling duration periods. The number of Probe frames sent in different polling duration periods may be the same or different.

[0241] For example, such as Figure 14BAs shown, the card search request sent by the NFC card reader 200 during the polling process may include a Probe frame and a REQ_B. The NFC card reader 200 may send X1 Probe frames followed by one REQ_B within polling duration segment 1; send X2 Probe frames followed by one REQ_B within polling duration segment 2; and send Xn Probe frames followed by one REQ_B within polling duration segment n. Where X1, X2…Xn are all positive integers, and X1, X2…Xn may or may not be all the same.

[0242] The polling process when one Probe frame is sent between two adjacent REQ_B transmissions can be referred to the above. Figure 7 The embodiments shown are not described in detail here.

[0243] 3. If the NFC reader 200 supports the first NFC protocol and the Class F NFC protocol but not the Class A and Class B NFC protocols, the aforementioned second NFC protocol can be the Class F NFC protocol. The card search request of the aforementioned second NFC protocol may include SENS_REQ, and the card search response of the second NFC protocol may include SENS_RES. The NFC reader 200 may send one or more Probe frames and then send one SENS_REQ within each of one or more polling duration periods. The number of Probe frames sent within different polling duration periods can be the same or different.

[0244] For example, such as Figure 14C As shown, the NFC card reader 200 may send a probe frame and a SENS_REQ during the polling process. The NFC card reader 200 may send X1 probe frames followed by one SENS_REQ during polling duration segment 1; send X2 probe frames followed by one SENS_REQ during polling duration segment 2; and send Xn probe frames followed by one SENS_REQ during polling duration segment n. Where X1, X2…Xn are all positive integers, and X1, X2…Xn may or may not be all the same.

[0245] The polling process when one Probe frame is sent between two adjacent SENS_REQ transmissions can be referred to the above. Figure 8 The embodiments shown are not described in detail here.

[0246] 4. If the NFC reader 200 supports the first NFC protocol, the Class A NFC protocol, and the Class B NFC protocol but does not support the Class F NFC protocol, the aforementioned second NFC protocol may include the Class A NFC protocol and the Class B NFC protocol. The card search request of the aforementioned second NFC protocol may include REQ_A and REQ_B, and the card search response of the second NFC protocol may include ATQ_A or ATQ_B. The NFC reader 200 may send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, and then send one REQ_B within each of one or more polling duration periods. The number of Probe frames sent in different polling duration periods may be the same or different. The number of Probe frames before REQ_A in a polling duration period may be the same or different from the number of Probe frames between REQ_A and REQ_B.

[0247] For example, such as Figure 14D As shown, the card search request sent by the NFC card reader 200 during the polling process may include Probe frames, REQ_A, and REQ_B. The NFC card reader 200 may send X1 Probe frames, then one REQ_A, then Y1 Probe frames, and then one REQ_B within polling duration segment 1. Alternatively, within polling duration segment n, it may send Xn Probe frames, then one REQ_A, then Yn Probe frames, and then one REQ_B. Here, X1, X2…Xn and Y1, Y2…Yn are all positive integers, and X1, X2…Xn and Y1, Y2…Yn may or may not be all the same.

[0248] The polling process when one Probe frame is sent between adjacent REQ_A and REQ_B frames can be referred to the above. Figure 9 The embodiments shown are not described in detail here.

[0249] In one possible implementation, there can be multiple REQ_A transmissions within each polling duration, and / or multiple REQ_B transmissions.

[0250] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A again, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one REQ_B again.

[0251] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B.

[0252] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, and then send one REQ_B again within each of one or more polling duration periods.

[0253] The above examples are merely for explaining the embodiments of this application and are not intended to be limiting.

[0254] 5. If the NFC reader 200 supports the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol but does not support the Class B NFC protocol, the aforementioned second NFC protocol may include the Class A NFC protocol and the Class F NFC protocol. The card search request of the aforementioned second NFC protocol may include REQ_A and SENS_REQ, and the card search response of the second NFC protocol may include ATQ_A or SENS_RES. The NFC reader 200 may, within each of one or more polling duration segments, first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, and then send one SENS_REQ. The number of Probe frames sent in different polling duration segments may be the same or different. The number of Probe frames before REQ_A in a polling duration segment may be the same or different from the number of Probe frames between REQ_A and SENS_REQ.

[0255] For example, such as Figure 14E As shown, the card search request sent by the NFC card reader 200 during the polling process may include Probe frames, REQ_A, and SENS_REQ. The NFC card reader 200 may send X1 Probe frames, then one REQ_A, then Y1 Probe frames, and then one SENS_REQ within polling duration segment 1. Alternatively, within polling duration segment n, it may send Xn Probe frames, then one REQ_A, then Yn Probe frames, and then one SENS_REQ. Here, X1, X2…Xn and Y1, Y2…Yn are all positive integers, and X1, X2…Xn and Y1, Y2…Yn may or may not be all the same.

[0256] The polling process when one Probe frame is sent between adjacent REQ_A and SENS_REQ frames can be referred to the above. Figure 10 The embodiments shown are not described in detail here.

[0257] In one possible implementation, there can be multiple REQ_A transmissions within each polling duration, and / or multiple SENS_REQ transmissions.

[0258] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ.

[0259] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, and then send one SENS_REQ.

[0260] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, and then send one SENS_REQ again within each of one or more polling duration periods.

[0261] The above examples are merely for explaining the embodiments of this application and are not intended to be limiting.

[0262] 6. If the NFC reader 200 supports the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol but does not support the Class A NFC protocol, the aforementioned second NFC protocol may include the Class B NFC protocol and the Class F NFC protocol. The card search request of the aforementioned second NFC protocol may include REQ_B and SENS_REQ, and the card search response of the second NFC protocol may include ATQ_B or SENS_RES. The NFC reader 200 may, within each of one or more polling duration segments, first send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, and then send one SENS_REQ. The number of Probe frames sent in different polling duration segments may be the same or different. The number of Probe frames before REQ_B in a polling duration segment may be the same or different from the number of Probe frames between REQ_B and SENS_REQ.

[0263] For example, such as Figure 14F As shown, the card search request sent by the NFC card reader 200 during the polling process may include Probe frames, REQ_B, and SENS_REQ. The NFC card reader 200 may send X1 Probe frames, then one REQ_B, then Y1 Probe frames, and then one SENS_REQ within polling duration segment 1. Alternatively, within polling duration segment n, it may send Xn Probe frames, then one REQ_B, then Yn Probe frames, and then one SENS_REQ. Here, X1, X2…Xn and Y1, Y2…Yn are all positive integers, and X1, X2…Xn and Y1, Y2…Yn may or may not be all the same.

[0264] The polling process when one Probe frame is sent between adjacent REQ_B and SENS_REQ frames can be referred to the above. Figure 11 The embodiments shown are not described in detail here.

[0265] In one possible implementation, there can be multiple REQ_B transmissions within each polling duration, and / or multiple SENS_REQ transmissions.

[0266] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ.

[0267] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, and then send one SENS_REQ.

[0268] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, and then send one SENS_REQ again within each of one or more polling duration periods.

[0269] The above examples are merely for explaining the embodiments of this application and are not intended to be limiting.

[0270] 7. If the NFC reader 200 supports the first NFC protocol, the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol, the aforementioned second NFC protocol may include the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol. The card search request of the aforementioned second NFC protocol may include REQ_A, REQ_B, and SENS_REQ, and the card search response of the second NFC protocol may include ATQ_A, ATQ_B, or SENS_RES. The NFC reader 200 may, within each of one or more polling duration segments, first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, and then send one SENS_REQ. The number of Probe frames sent in different polling duration segments may be the same or different. The number of Probe frames before REQ_A, the number of Probe frames between REQ_A and REQ_B, and the number of Probe frames between REQ_B and SENS_REQ in the polling duration segment may all be the same or not all be the same.

[0271] For example, such as Figure 14GAs shown, the card search request sent by the NFC card reader 200 during the polling process may include Probe frames, REQ_A, REQ_B, and SENS_REQ. Within polling duration segment 1, the NFC card reader 200 may first send X1 Probe frames, then send 1 REQ_A, then Y1 Probe frames, then 1 REQ_B, then Z1 Probe frames, and then send 1 SENS_REQ. Within polling duration segment n, it may first send Xn Probe frames, then send 1 REQ_B, then Yn Probe frames, then 1 SENS_REQ, then Zn Probe frames, and then send 1 SENS_REQ. Where X1, X2…Xn, Y1, Y2…Yn, and Z1, Z2…Zn are all positive integers, and X1, X2…Xn, Y1, Y2…Yn, and Z1, Z2…Zn can all be the same or not all be the same.

[0272] The polling process, where one probe frame is sent between adjacent REQ_A and REQ_B, and another probe frame is sent between adjacent REQ_B and SENS_REQ, can be referred to the above. Figure 12 The embodiments shown are not described in detail here.

[0273] In this embodiment of the application, the sending positions of REQ_A, REQ_B, and SENS_REQ can be interchanged during the polling duration.

[0274] In one possible implementation, there can be multiple REQ_A transmissions within each polling duration, and / or multiple REQ_B transmissions within each polling duration, and / or multiple SENS_REQ transmissions.

[0275] For example, the NFC reader device 200 may also send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ.

[0276] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_A again, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ.

[0277] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ.

[0278] For example, the NFC card reader 200 may first send one or more Probe frames, then send one REQ_A, then send one or more Probe frames, then send one REQ_B, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ, then send one or more Probe frames, then send one SENS_REQ.

[0279] The above examples are merely for explaining the embodiments of this application and are not intended to be limiting.

[0280] In one possible implementation, the NFC card reader 200 can adjust the number of first NFC protocol card search requests sent between two adjacent second NFC protocol card search requests based on the proportion of first NFC protocol card search responses received within a historical period. Specifically, the higher the proportion of first NFC protocol card search responses received within a historical period, the more first NFC protocol card search requests will be sent between two adjacent second NFC protocol card search requests. Thus, by adjusting the number of first NFC protocol card search requests sent between two adjacent second NFC protocol card search requests based on the historical proportion of NFC interactions performed by the NFC card reader 200 using the first NFC protocol, the NFC card reader 200 can quickly discover NFC devices.

[0281] In one possible implementation, the server can receive card swipe records sent by one or more NFC card reader devices within each geographical area. These card swipe records include the number and time of when the NFC card reader device received a card search response using a first NFC protocol, and the number and time of when it received a card search response using a second NFC protocol. Based on the card swipe records sent by one or more NFC card reader devices within each geographical area, the server can determine the number of first NFC protocol card search requests sent between two adjacent second NFC protocol card search requests within each geographical area. Therefore, the server can determine a first correspondence between each geographical area and the number of first NFC protocol card search requests sent between two adjacent second NFC protocol card search requests. The NFC card reader device 200 can send first geographical location information of its location to the server. The server can determine a first quantity corresponding to the first geographical location information based on the first geographical location information and the first correspondence. The server can send a first instruction to the NFC card reader device 200. This first instruction can be used to instruct the NFC card reader device 200 to send a first quantity of first NFC protocol card search requests between two adjacent second NFC protocol card search requests, where the first quantity is a positive integer. After receiving the first instruction, the NFC card reader 200 can send a first number of first NFC protocol card search requests between two adjacent second NFC protocol card search requests. In this way, the server can adjust the number of first NFC protocol card search requests sent between two adjacent second NFC protocol card search requests based on the proportion of NFC card readers using the first NFC protocol in a certain geographical area according to historical records, allowing the NFC card reader 200 to quickly discover NFC devices.

[0282] S1302. The NFC device enters the radio frequency field generated by the NFC card reader 200.

[0283] S1303. If the first card search request successfully received after the NFC device enters the radio frequency field generated by the NFC card reader 200 is a card search request of the first NFC protocol, in response to the first card search request, a card search response of the first NFC protocol is sent to the NFC card reader 200.

[0284] In one possible implementation, if the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is a card search request of the first NFC protocol, the NFC device can send a card search response of the first NFC protocol to the NFC card reader 200 within the confirmation time after successfully receiving the first card search request.

[0285] S1304. If the first card search request successfully received after the NFC device enters the radio frequency field generated by the NFC card reader 200 is a card search request of the second NFC protocol, the device continues to receive the second card search request.

[0286] S1305. If the second card search request successfully received after the NFC device enters the radio frequency field generated by the NFC card reader 200 is a card search request of the first NFC protocol, in response to the second card search request, a card search response of the first NFC protocol is sent to the NFC card reader 200.

[0287] In one possible implementation, if the second card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is a card search request of the first NFC protocol, the NFC device can send a card search response of the first NFC protocol to the NFC card reader 200 within the confirmation time after successfully receiving the second card search request.

[0288] S1306. If the second card search request successfully received after the NFC device enters the radio frequency field generated by the NFC card reader 200 is a card search request of the second NFC protocol, in response to the second card search request, a card search response of the second NFC protocol is sent to the NFC card reader 200.

[0289] In one possible implementation, if the second card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is a card search request of the second NFC protocol, the NFC device can send a card search response of the second NFC protocol to the NFC card reader 200 within the confirmation time after successfully receiving the second card search request.

[0290] S1307. If the NFC card reader 200 receives a card search response in the first NFC protocol sent by the NFC device, it stops sending the card search request in the first NFC protocol and the card search request in the second NFC protocol, and performs NFC interaction with the NFC device based on the first NFC protocol.

[0291] S1308. If the NFC card reader 200 receives a card search response in the second NFC protocol sent by the NFC device, it stops sending the card search request in the first NFC protocol and the card search request in the second NFC protocol, and performs NFC interaction with the NFC device based on the second NFC protocol.

[0292] For details, please refer to the above. Figures 6-12 The embodiments shown are not described in detail here.

[0293] In some embodiments, the NFC device may support a first NFC protocol and a second NFC protocol, and the NFC device may have an NFC emulator card enabled with the first NFC protocol and / or an NFC emulator card enabled with the second NFC protocol.

[0294] In scenario A, the NFC device has an NFC simulation card with the second NFC protocol enabled, but not an NFC simulation card with the first NFC protocol enabled.

[0295] In scenario A, if the NFC device successfully receives a first card search request using the second NFC protocol after entering the radio frequency field generated by the NFC card reader 200, in response to the first card search request, the NFC device can send a second NFC protocol card search response to the NFC card reader 200. If the NFC device successfully receives a first card search request using the first NFC protocol after entering the radio frequency field generated by the NFC card reader 200, it can continue to receive a second card search request. If the NFC device successfully receives a second card search request using the second NFC protocol after entering the radio frequency field generated by the NFC card reader 200, in response to the second card search request, the NFC device can send a second NFC protocol card search response to the NFC card reader 200. If the NFC device successfully receives a second card search request after entering the radio frequency field generated by the NFC card reader 200, and the second card search request is a card search request of the first NFC protocol, the NFC device can continue to receive subsequent card search requests until it receives a card search request of the second NFC protocol. In response to the card search request of the second NFC protocol, the NFC device sends a card search response of the second NFC protocol to the NFC card reader 200.

[0296] In this way, when the NFC device supports both the first and second NFC protocols, and an NFC emulator card with the second NFC protocol activated but not the first NFC protocol activated, if the NFC device receives a card search request using the second NFC protocol from the NFC card reader 200, it can immediately send a card search response using the second NFC protocol to the NFC card reader. This eliminates the need to wait for the first NFC protocol card search request before sending a response. This speeds up the card swiping process between the NFC card reader 200 and the NFC device using the second NFC protocol.

[0297] For example, the NFC device supports both the first NFC protocol and the Class A NFC protocol. The NFC device has activated an NFC emulator card using the Class A NFC protocol but has not activated an NFC emulator card using the first NFC protocol.

[0298] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is REQ_A, the NFC device can respond to the first card search request by sending ATQ_A to the NFC card reader 200.

[0299] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is not REQ_A, the NFC device can continue to receive subsequent card search requests until it receives REQ_A. At that time, the NFC device can send ATQ_A to the NFC card reader 200.

[0300] For example, the NFC device supports both the first NFC protocol and the Class B NFC protocol. The NFC device has activated an NFC emulator card using the Class B NFC protocol but has not activated an NFC emulator card using the first NFC protocol.

[0301] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is REQ_B, the NFC device can respond to the first card search request by sending ATQ_B to the NFC card reader 200.

[0302] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is not REQ_B, the NFC device can continue to receive subsequent card search requests until it receives REQ_B. At that time, the NFC device can send ATQ_B to the NFC card reader 200.

[0303] For example, the NFC device supports both the first NFC protocol and the F-type NFC protocol. The NFC device has activated an NFC emulator card using the F-type NFC protocol but has not activated an NFC emulator card using the first NFC protocol.

[0304] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is SENS_REQ, the NFC device can respond to the first card search request by sending SENS_RES to the NFC card reader 200.

[0305] If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is not SENS_REQ, the NFC device can continue to receive subsequent card search requests until it receives SENS_REQ. At that time, the NFC device can send SENS_RES to the NFC card reader 200.

[0306] For example, the NFC device supports the first NFC protocol, the Class A NFC protocol, and the Class B NFC protocol.

[0307] If the NFC device has activated an NFC emulator card using the Class A NFC protocol but not the Class B or the first NFC protocol, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, the NFC device can respond to this first card search request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is not REQ_A, the NFC device can continue to receive subsequent card search requests until it receives REQ_A, at which point it can send ATQ_A to the NFC reader 200.

[0308] If an NFC device has activated both a Type A NFC protocol emulator and a Type B NFC protocol emulator but not an NFC protocol emulator, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, the NFC device can respond to this first card search request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_B, the NFC device can respond to this first card search request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is not REQ_A or REQ_B, the NFC device can continue to receive subsequent card search requests until it receives REQ_A or REQ_B, at which point it stops receiving card search requests. If the NFC device receives REQ_A, it can send ATQ_A to the NFC reader 200. If the NFC device receives REQ_B, the NFC device can send ATQ_B to the NFC card reader 200.

[0309] For example, the NFC device supports the first NFC protocol, the Class A NFC protocol, and the Class F NFC protocol.

[0310] If the NFC device has activated an NFC emulator for Class A NFC protocol but not for Class F or Class 1 NFC protocol, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, the NFC device can respond to this request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is not REQ_A, the NFC device can continue to receive subsequent card search requests until it receives REQ_A, at which point it can send ATQ_A to the NFC reader 200.

[0311] If the NFC device has activated NFC emulator cards for both Class A and Class F NFC protocols but not for the first NFC protocol, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, the NFC device can respond to this request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is SENS_REQ, the NFC device can respond to this request by sending SENS_RES to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is neither REQ_A nor SENS_REQ, the NFC device can continue to receive subsequent card search requests until it receives REQ_A or SENS_REQ, at which point it stops receiving card search requests. If the NFC device receives REQ_A, it can send ATQ_A to the NFC reader 200. If the NFC device receives SENS_REQ, the NFC device can send SENS_RES to the NFC card reader 200.

[0312] For example, the NFC device supports the first NFC protocol, the Class B NFC protocol, and the Class F NFC protocol.

[0313] If the NFC device has activated a Class B NFC protocol NFC emulator but not a Class F NFC protocol NFC emulator or a Class 1 NFC protocol NFC emulator, and the first card search request successfully received after entering the radio frequency field generated by the NFC card reader 200 is REQ_B, the NFC device can respond to this first card search request by sending ATQ_B to the NFC card reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC card reader 200 is not REQ_B, the NFC device can continue to receive subsequent card search requests until it receives REQ_B, at which point the NFC device can send ATQ_B to the NFC card reader 200.

[0314] If the NFC device has activated NFC emulator cards with both Class B and Class F NFC protocols but not with the first NFC protocol, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_B, the NFC device can respond to this request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is SENS_REQ, the NFC device can respond to this request by sending SENS_RES to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is neither REQ_B nor SENS_REQ, the NFC device can continue to receive subsequent card search requests. If the NFC device receives REQ_B, it can send ATQ_B to the NFC reader 200. If the NFC device receives SENS_REQ, the NFC device can send SENS_RES to the NFC card reader 200.

[0315] For example, the NFC device supports the first NFC protocol, the Class A NFC protocol, the Class B NFC protocol, and the Class F NFC protocol.

[0316] If an NFC device has activated an NFC emulator for Class A NFC protocol but not for Class B, Class F, or the first NFC protocol, and the first card search request is successfully received by the NFC reader 200 after entering its radio frequency field, the NFC device can respond to this request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received by the NFC device after entering its radio frequency field is not REQ_A, the NFC device can continue to receive subsequent card search requests until it receives REQ_A, at which point it can send ATQ_A to the NFC reader 200.

[0317] If an NFC device has activated a Class B NFC protocol NFC emulator but not a Class A, Class F, or first NFC protocol NFC emulator, and the first NFC protocol NFC emulator is activated, then if the first card search request successfully received after the NFC device enters the radio frequency field generated by the NFC reader 200 is REQ_B, the NFC device can respond to this first card search request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after the NFC device enters the radio frequency field generated by the NFC reader 200 is not REQ_B, the NFC device can continue to receive subsequent card search requests until it receives REQ_B, at which point the NFC device can send ATQ_B to the NFC reader 200.

[0318] If an NFC device has activated an NFC emulator for the F-class NFC protocol but not for the A-class, B-class, or first-class NFC protocols, and the first card search request is successfully received by the NFC reader 200 after entering its radio frequency field, the NFC device can respond to this request by sending a SENS_RES to the NFC reader 200. If the first card search request successfully received by the NFC device after entering its radio frequency field is not a SENS_REQ, the NFC device can continue to receive subsequent card search requests until it receives a SENS_REQ, at which point it can send a SENS_RES to the NFC reader 200.

[0319] If the NFC device has activated NFC emulator cards with Class A and Class B NFC protocols but not Class F or Class I NFC protocols, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, then the NFC device can respond to this first card search request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_B, then the NFC device can respond to this first card search request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is neither REQ_A nor REQ_B, then the NFC device can continue to receive subsequent card search requests until it receives REQ_A or REQ_B, at which point it stops receiving card search requests. If the NFC device receives REQ_A, it can send ATQ_A to the NFC card reader 200. If the NFC device receives REQ_B, it can send ATQ_B to the NFC card reader 200.

[0320] If the NFC device has activated NFC emulator cards with Class A and Class F NFC protocols but not Class B or Class I NFC protocols, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, then the NFC device can respond to this first card search request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is SENS_REQ, then the NFC device can respond to this first card search request by sending SENS_RES to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is not REQ_A or SENS_REQ, then the NFC device can continue to receive subsequent card search requests until it receives REQ_A or SENS_REQ and then stops receiving card search requests. If the NFC device receives REQ_A, it can send ATQ_A to the NFC card reader 200. If the NFC device receives SENS_REQ, it can send SENS_RES to the NFC card reader 200.

[0321] If the NFC device has activated NFC emulator cards with Class B and Class F protocols but not Class A or Class I protocols, and the first NFC protocol is not activated, then if the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_B, the NFC device can respond to this request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is SENS_REQ, the NFC device can respond to this request by sending SENS_RES to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is neither REQ_B nor SENS_REQ, the NFC device can continue to receive subsequent card search requests. If the NFC device receives REQ_B, it can send ATQ_B to the NFC reader 200. If the NFC device receives SENS_REQ, the NFC device can send SENS_RES to the NFC card reader 200.

[0322] If an NFC device has activated NFC emulator cards of type A, type B, and type F protocols but not the first NFC protocol, and the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_A, then the NFC device can respond to this first card search request by sending ATQ_A to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is REQ_B, then the NFC device can respond to this first card search request by sending ATQ_B to the NFC reader 200. If the first card search request successfully received after entering the radio frequency field generated by the NFC reader 200 is SENS_REQ, then the NFC device can respond to this first card search request by sending SENS_RES to the NFC reader 200. If the first card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is not REQ_A, REQ_B, or SENS_REQ, the NFC device can continue to receive subsequent card search requests until it receives REQ_A, REQ_B, or SENS_REQ, at which point it stops receiving card search requests. If the NFC device receives REQ_A, it can send ATQ_A to the NFC card reader 200. If the NFC device receives REQ_B, it can send ATQ_B to the NFC card reader 200. If the NFC device receives SENS_REQ, it can send SENS_RES to the NFC card reader 200.

[0323] Scenario B: The NFC device has an NFC emulator card with the first NFC protocol enabled, but no NFC emulator card with the second NFC protocol enabled.

[0324] In scenario B, if the NFC device successfully receives a first card search request after entering the radio frequency field generated by the NFC card reader 200, and that request is a card search request using the first NFC protocol, the NFC device can send a card search response using the first NFC protocol to the NFC card reader 200 in response to the first card search request. If the NFC device successfully receives a first card search request after entering the radio frequency field generated by the NFC card reader 200, and that request is a card search request using the second NFC protocol, the NFC device can continue to receive a second card search request. If the NFC device successfully receives a second card search request after entering the radio frequency field generated by the NFC card reader 200, and that request is a card search response using the first NFC protocol, the NFC device can send a card search response using the first NFC protocol to the NFC card reader 200 in response to the second card search request. If the second card search request successfully received by the NFC device after entering the radio frequency field generated by the NFC card reader 200 is the second NFC protocol, the NFC device can continue to receive subsequent card search requests until it receives a card search request of the first NFC protocol. In response to the card search request of the first NFC protocol, the NFC device sends a card search response of the first NFC protocol to the NFC card reader 200.

[0325] In this way, when the NFC device supports both the first and second NFC protocols, and an NFC analog card with the first NFC protocol enabled but not the second NFC protocol enabled, if the NFC device receives a card search request using the first NFC protocol from the NFC card reader 200, it can immediately send a card search response using the first NFC protocol to the NFC card reader. This eliminates the need to wait for a card search request using the second NFC protocol before sending a card search response using the first NFC protocol back to the NFC card reader. This speeds up the card swiping process between the NFC card reader 200 and the NFC device using the first NFC protocol.

[0326] Through the above Figure 13 The NFC polling method shown allows the NFC reader 200 to send card search requests for both the first and second NFC protocols within each of multiple polling durations, in the order of the first NFC protocol's card search request, the second NFC protocol's card search request, and so on. When the NFC device supports both the first and second NFC protocols, upon entering the radio frequency field, it can preferentially respond to the first NFC protocol's card search response to the NFC reader 200, thus allowing the NFC reader 200 and the NFC device to prioritize the first NFC protocol for NFC interaction.

[0327] The following describes another hardware structure of an electronic device 100 provided in the embodiments of this application.

[0328] Figure 15 This illustration shows a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application.

[0329] The following description uses electronic device 100 as an example to illustrate the embodiment. It should be understood that... Figure 15 The electronic device 100 shown is merely an example, and the electronic device 100 may have more than Figure 15 The more or fewer components shown can be combined into two or more components, or they can have different component configurations. Figure 15 The various components shown can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0330] Electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (USB) interface 130, charging management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include one or more of the following: pressure sensor 180A, gyroscope sensor 180B, barometric pressure sensor 180C, magnetic sensor 180D, accelerometer sensor 180E, distance sensor 180F, proximity sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M, etc.

[0331] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0332] Processor 110 may include one or more processing units, such as an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. Processor 110 may also include memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that processor 110 has just used or is recurring. If processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This avoids repeated access, reduces the waiting time of processor 110, and thus improves system efficiency.

[0333] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0334] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0335] The charging management module 140 receives charging input from the charger. The power management module 141 connects to the battery 142, and the charging management module 140 connects to the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to power the processor 110, internal memory 121, external memory, display 194, camera 193, and wireless communication module 160, etc.

[0336] The wireless communication function of electronic device 100 can be implemented through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor, and baseband processor. Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.

[0337] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.

[0338] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0339] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0340] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0341] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD). The display panel can also be manufactured using organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), miniled, microled, micro-OLEDs, quantum dot light-emitting diodes (QLEDs), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0342] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.

[0343] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The internal memory 121 can be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.). Furthermore, the internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0344] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.

[0345] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. Gyroscope sensor 180B can be used to determine the motion posture of electronic device 100. Barometric pressure sensor 180C is used to measure air pressure. Magnetic sensor 180D includes a Hall sensor. Accelerometer sensor 180E can detect the magnitude of acceleration of electronic device 100 in various directions (generally three axes). Distance sensor 180F is used to measure distance. Proximity sensor 180G may include, for example, a light-emitting diode (LED) and a photodetector, such as a photodiode. Ambient light sensor 180L is used to sense ambient light intensity. Fingerprint sensor 180H is used to collect fingerprints. Temperature sensor 180J is used to detect temperature. Touch sensor 180K, also called a "touch panel". Touch sensor 180K can be set on display screen 194, and touch sensor 180K and display screen 194 form a touch screen, also called a "touch screen". Touch sensor 180K is used to detect touch operations applied to or near it. A touch sensor can transmit detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operation can be provided via display screen 194. In some embodiments, touch sensor 180K may also be located on the surface of electronic device 100, in a different position than display screen 194. Bone conduction sensor 180M can acquire vibration signals. Buttons 190 include a power button, volume buttons, etc. Motor 191 can generate vibration cues. Indicator 192 may be an indicator light, used to indicate charging status, battery level changes, or to indicate messages, missed calls, notifications, etc.

[0346] The SIM card interface 195 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to make contact with and separate from the electronic device 100. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 195 is also compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0347] In some embodiments, the wireless communication module 160 can specifically be used to establish a short-range wireless communication link with the NFC card reader 200, so that the two can perform short-range wireless data transmission with each other. Exemplarily, the aforementioned short-range wireless communication link can be a Bluetooth link, a Wi-Fi link, an NFC link, a UWB link, etc. Therefore, the wireless communication module 160 can specifically include one or more of a Bluetooth communication module, a Wi-Fi communication module, an NFC module, and a UWB module. The NFC module can include any suitable components for enabling proximity-based contactless communication between the electronic device 100 and the NFC card reader 200, thereby providing NFC functionality to the electronic device 100. A description of the NFC module can be found above. Figure 3 The embodiments shown are not described in detail here.

[0348] The foregoing details the method provided in this application. In order to facilitate better implementation of the above-described solutions in the embodiments of this application, the embodiments of this application also provide corresponding devices or equipment.

[0349] This application embodiment can divide the electronic device 100 and NFC card reader 200 into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0350] The following will combine Figures 16 to 19 The communication device of the embodiments of this application is described in detail.

[0351] In the case of using integrated units, see Figure 16 , Figure 16 This is a schematic diagram of the structure of the communication device 1600 provided in an embodiment of this application. The communication device 1600 can be the NFC device described in the above embodiments. Optionally, the communication device 1600 can be a chip / chip system, such as an NFC chip. Figure 16 As shown, the communication device 1600 may include a transceiver unit 1610 and a processing unit 1620.

[0352] The transceiver unit 1610 can also be used to perform NFC sending and NFC receiving functions performed by the NFC device in the above embodiments of this application.

[0353] Optionally, the processing unit 1620 can also be used to perform functional steps related to NFC protocol parsing and encapsulation, NFC service processing flow, and display, which are performed by the NFC device in the above embodiments of this application.

[0354] It should be understood that the communication device 1600 in this design can perform the method steps performed by the NFC device in the aforementioned embodiments, and for the sake of brevity, it will not be described again here.

[0355] In the case of using integrated units, see Figure 17 , Figure 17 This is a schematic diagram of the communication device 1700 provided in an embodiment of this application. The communication device 1700 can be the NFC card reader 200 in the above embodiments. Figure 17 As shown, the communication device 1700 may include a transceiver unit 1710 and a processing unit 1720.

[0356] Optionally, the transceiver unit 1710 can also be used to perform the NFC sending and NFC receiving functions performed by the NFC card reader 200 in the above embodiments of this application.

[0357] Optionally, the processing unit 1720 can also be used to execute the functional steps related to NFC protocol parsing and encapsulation and NFC service processing flow executed by the NFC card reader 200 in the above embodiments of this application.

[0358] It should be understood that the communication device 1700 in this design can perform the method steps executed by the NFC card reader 200 in the aforementioned embodiment, and for the sake of brevity, it will not be described again here.

[0359] The above describes the NFC device and NFC card reader 200 according to embodiments of this application. It should be understood that any device possessing the above-described features... Figure 16 Any product in any form that possesses the aforementioned NFC device functionality Figure 17 Any form of product that incorporates the functionality of the NFC card reader 200 falls within the protection scope of this application's embodiments.

[0360] As a possible product form, the NFC device described in this application embodiment can be implemented using a general bus architecture.

[0361] See Figure 18 , Figure 18 This is a schematic diagram of the structure of the communication device 1800 provided in an embodiment of this application. The communication device 1800 can be an NFC device, or a component within an NFC device. Figure 18As shown, the communication device 1800 includes a processor 1801 and a transceiver 1802 internally connected and communicating with the processor 1801. The processor 1801 can be a general-purpose processor or a dedicated processor, such as a central processing unit and / or an NFC controller. The transceiver 1802, also known as a transceiver unit, transceiver, or transceiver circuit, is used to implement transceiver functions. The transceiver 1802 may include a receiver and a transmitter. The receiver, also known as a receiver circuit, is used to implement a receiving function, such as an NFC receiving function; the transmitter, also known as a transmitter circuit, is used to implement a transmitting function, such as an NFC transmitting function. Optionally, the communication device 1800 may also include an antenna 1803 and / or a radio frequency unit (RF unit). Figure 18 (Not shown in the image), for example, an NFC antenna, where the NFC antenna can be a coil-type antenna. The antenna 1803 and / or the radio frequency unit can be located inside the communication device 1800 or separate from the communication device 1800, that is, the antenna 1803 and / or the radio frequency unit can be remotely or distributedly deployed.

[0362] Optionally, the communication device 1800 may include one or more memories 1804, which may store instructions, which may be computer programs, that can be executed on the communication device 1800 to cause the communication device 1800 to perform the method steps described in the above embodiments of this application. Optionally, the memory 1804 may also store data. The communication device 1800 and the memory 1804 may be provided separately or integrated together.

[0363] The processor 1801, transceiver 1802, and memory 1804 can be connected via a communication bus.

[0364] In one design, the communication device 1800 can be used to perform the functions of the NFC device in the foregoing embodiments: the processor 1801 can be used to perform the functional steps related to NFC protocol parsing and encapsulation, NFC service processing flow and display performed by the NFC device in the above method embodiments of this application and / or other processes used in the technology described herein; the transceiver 1802 can be used to perform the functional steps related to NFC sending and NFC receiving performed by the NFC device in the above method embodiments of this application and / or other processes used in the technology described herein.

[0365] In any of the above designs, the processor 1801 may include a transceiver for implementing receive and transmit functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receive and transmit functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or it may be used for transmitting or relaying signals.

[0366] In any of the above designs, the processor 1801 may store instructions, which may be computer programs. These computer programs, running on the processor 1801, cause the communication device 1800 to execute the method steps performed by the NFC device in the above embodiments of this application. The computer program may be embedded in the processor 1801; in this case, the processor 1801 may be implemented in hardware.

[0367] In one implementation, the communication device 1800 may include circuitry capable of performing the functions of transmitting, receiving, or communicating as described in the foregoing method embodiments. The processor and transceiver described in this application can be implemented on integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed-signal ICs, application-specific integrated circuits (ASICs), printed circuit boards (PCBs), electronic devices, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductors (CMOS), n-metal-oxide-semiconductor (NMOS), positive channel metal oxide semiconductors (PMOS), bipolar junction transistors (BJTs), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0368] The scope of the communication device described in this application is not limited thereto, and the structure of the communication device may vary. Figure 18 The communication device 1800 may be a standalone device or part of a larger device. For example, the communication device 1800 may be:

[0369] (1) A standalone integrated circuit IC, or chip, or chip system or subsystem; (2) A collection of one or more ICs, optionally including storage components for storing data or computer programs; (3) An ASIC, such as an NFC chip; (4) A module that can be embedded in other devices; (5) A receiver, terminal, smart terminal, cellular phone, wireless device, handheld device, mobile unit, vehicle device, network device, cloud device, artificial intelligence device, etc.; (6) Others, etc.

[0370] As a possible product form, the NFC card reader 200 described in this application embodiment can be implemented using a general bus architecture.

[0371] See Figure 19 , Figure 19 This is a schematic diagram of the communication device 1900 provided in an embodiment of this application. The communication device 1900 may be an NFC card reader 200, or a device thereof. Figure 19 As shown, the communication device 1900 includes a processor 1901 and a transceiver 1902 internally connected and communicating with the processor 1901. The processor 1901 can be a general-purpose processor or a dedicated processor, such as an NFC controller. The transceiver 1902, also known as a transceiver unit, transceiver, or transceiver circuit, is used to implement transceiver functions. The transceiver 1902 may include a receiver and a transmitter. The receiver, also known as a receiver circuit, is used to implement a receiving function; the transmitter, also known as a transmitter or transmitting circuit, is used to implement a transmitting function. Optionally, the communication device 1900 may also include an antenna 1903 and / or a radio frequency unit (not shown in the figure). The antenna 1903 and / or the radio frequency unit may be located inside the communication device 1900 or separate from it; that is, the antenna 1903 and / or the radio frequency unit may be remotely or distributedly deployed.

[0372] Optionally, the communication device 1900 may include one or more memories 1904, which may store instructions, which may be computer programs, that can be executed on the communication device 1900 to cause the communication device 1900 to perform the method steps described in the above embodiments of this application. Optionally, the memory 1904 may also store data. The communication device 1900 and the memory 1904 may be provided separately or integrated together.

[0373] The processor 1901, transceiver 1902, and memory 1904 can be connected via a communication bus.

[0374] In one design, the communication device 1900 can be used to perform the functions of the NFC card reader 200 in the foregoing embodiments: the processor 1901 can be used to perform the functional steps related to NFC protocol parsing and encapsulation, NFC service processing flow and / or other processes used in the technology described herein, performed by the NFC card reader 200 in the above method embodiments; the transceiver 1902 can be used to perform the functional steps related to NFC sending and NFC receiving performed by the NFC card reader 200 in the above method embodiments and / or other processes used in the technology described herein.

[0375] In any of the above designs, the processor 1901 may include a transceiver for implementing receive and transmit functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receive and transmit functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or it may be used for transmitting or relaying signals.

[0376] In any of the above designs, the processor 1901 may store instructions, which may be computer programs. These computer programs, running on the processor 1901, cause the communication device 1900 to execute the method steps performed by the NFC card reader 200 in the above method embodiments. The computer program may be embedded in the processor 1901; in this case, the processor 1901 may be implemented in hardware.

[0377] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps performed by the NFC device in the above-described method embodiments.

[0378] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it can implement the steps performed by the NFC card reader 200 in the above-described method embodiments.

[0379] This application also provides a computer program product, including a computing program, which, when run on a computer, enables the computer to perform the steps executed by the NFC device in the above-described method embodiments.

[0380] This application also provides a computer program product, including a computing program, which, when run on a computer, enables the computer to perform the steps executed by the NFC card reader 200 in the above-described method embodiments.

[0381] This application also provides a chip system, which includes a processing circuit interface circuit. The interface circuit receives code instructions and transmits them to the processing circuit. The processing circuit executes the code instructions to enable the chip system to perform the steps executed by the NFC device in any of the method embodiments of this application. The chip system can be a single chip or a chip module composed of multiple chips.

[0382] This application also provides a chip system, which includes a processing circuit interface circuit. The interface circuit receives code instructions and transmits them to the processing circuit. The processing circuit executes the code instructions to enable the chip system to perform the steps executed by the NFC card reader 200 in any method embodiment of this application. The chip system can be a single chip or a chip module composed of multiple chips.

[0383] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A near-field communication (NFC) polling method, applied to NFC card reader devices, characterized in that, The method includes: The card search request of the first NFC protocol and the card search request of the second NFC protocol are continuously sent, wherein the first NFC protocol is different from the second NFC protocol, and one or more card search requests of the first NFC protocol are sent between two adjacent card search requests of the second NFC protocol. If a card search response of the first NFC protocol or the second NFC protocol is received from an NFC device, the sending of card search requests of the first NFC protocol and the second NFC protocol shall be stopped.

2. The method according to claim 1, characterized in that, The first NFC protocol's card search request is a Probe frame, and the first NFC protocol's card search response is a Probe ACK frame.

3. The method according to claim 2, characterized in that, The second NFC protocol includes Class A NFC protocol and / or Class B NFC protocol and / or Class F NFC protocol.

4. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the Class A NFC protocol but does not include the Class B NFC protocol and the Class F NFC protocol, the card search request of the second NFC protocol includes the Class A request command REQ_A, and the card search response of the second NFC protocol includes the Class A request response ATQ_A. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: In each polling time period within one or more polling duration periods, one or more Probe frames are sent first, followed by one REQ_A.

5. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the Class B NFC protocol but does not include the Class A NFC protocol and the Class F NFC protocol, the card search request of the second NFC protocol includes the Class B request command REQ_B, and the card search response of the second NFC protocol includes the Class B request response ATQ_B. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: In each polling time period within one or more polling duration periods, one or more of the Probe frames are sent first, followed by one of the REQ_B frames.

6. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the F-type NFC protocol but does not include the A-type NFC protocol and the B-type NFC protocol, the card search request of the second NFC protocol includes the sensing request command SENS_REQ, and the card search response of the second NFC protocol includes the sensing response SENS_RES. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: In each polling time period within one or more polling duration periods, one or more of the Probe frames are sent first, followed by one of the SENS_REQ frames.

7. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the Class A NFC protocol and the Class B NFC protocol but does not include the Class F NFC protocol, the card search request of the second NFC protocol includes REQ_A and REQ_B, and the card search response of the second NFC protocol includes ATQ_A or ATQ_B. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: Within each polling time period in one or more polling duration periods, one or more of the Probe frames are sent first, followed by one REQ_A frame, then one or more of the Probe frames, and finally one REQ_B frame.

8. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the Class A NFC protocol and the Class F NFC protocol but does not include the Class B NFC protocol, the card search request of the second NFC protocol includes REQ_A and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A or SENS_RES; The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: Within each polling time period in one or more polling duration periods, one or more of the Probe frames are sent first, followed by a REQ_A, then one or more of the Probe frames are sent again, and then a SENS_REQ is sent.

9. The method according to claim 3, characterized in that, In the case where the second NFC protocol includes the Class B NFC protocol and the Class F NFC protocol but does not include the Class A NFC protocol, the card search request of the second NFC protocol includes REQ_B and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_B or SENS_RES. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: Within each polling time period of one or more polling duration periods, one or more of the Probe frames are sent first, followed by a REQ_B, then one or more of the Probe frames are sent again, and then a SENS_REQ is sent.

10. The method according to claim 3, characterized in that, When the second NFC protocol includes the Class A NFC protocol, the Class B NFC protocol and the Class F NFC protocol, the card search request of the second NFC protocol includes REQ_B, REQ_B and SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A or ATQ_B or SENS_RES. The continuous transmission of card search requests using the first NFC protocol and the second NFC protocol specifically includes: Within each polling time period in one or more polling duration periods, one or more of the Probe frames are sent first, followed by one REQ_A, then one or more of the Probe frames, then one REQ_B, then one or more of the Probe frames, and finally one SENS_REQ.

11. The method according to any one of claims 1-10, characterized in that, The method further includes: Based on the proportion of card search responses received using the first NFC protocol over a historical period, the number of card search requests sent using the first NFC protocol between two adjacent card search requests using the second NFC protocol is adjusted.

12. The method according to claim 11, characterized in that, The higher the proportion of card search responses received under the first NFC protocol within a certain historical period, the more card search requests under the first NFC protocol will be sent between two adjacent card search requests under the second NFC protocol.

13. The method according to any one of claims 1-10, characterized in that, The method further includes: Send the first geographical location information of the NFC card reader to the server; The device receives a first instruction from the server, which instructs the NFC card reader to send a first number of first NFC protocol card search requests between two adjacent second NFC protocol card search requests. Upon receiving the first instruction, the first number of first NFC protocol card search requests are sent between two adjacent second NFC protocol card search requests.

14. The method according to any one of claims 1-13, characterized in that, The method further includes: If a card search response based on the first NFC protocol is received from the NFC device, the device will interact with the NFC device based on the first NFC protocol.

15. The method according to any one of claims 1-14, characterized in that, The method further includes: If a card search response based on the second NFC protocol is received from the NFC device, the device will interact with the NFC device based on the second NFC protocol.

16. An NFC polling method, applied to an NFC device, characterized in that, The method includes: If the first card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the first NFC protocol, in response to the first card search request, a card search response of the first NFC protocol is sent to the NFC card reader. If the first card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the second NFC protocol, then continue to receive the second card search request; If the second card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the first NFC protocol, in response to the second card search request, a card search response of the first NFC protocol is sent to the NFC card reader.

17. The method according to claim 16, characterized in that, The method further includes: If the second card search request successfully received after entering the radio frequency field generated by the NFC card reader is a card search request of the second NFC protocol, in response to the second card search request, a card search response of the second NFC protocol is sent to the NFC card reader.

18. The method according to claim 16 or 17, characterized in that, The first NFC protocol's card search request is a Probe frame, and the first NFC protocol's card search response is a Probe ACK frame.

19. The method according to claim 18, characterized in that, The card search request of the second NFC protocol includes REQ_A, REQ_B, or SENS_REQ, and the card search response of the second NFC protocol includes ATQ_A, ATQ_B, or SENS_RES.

20. An NFC system, characterized in that, This includes NFC card readers and NFC devices; among which, The NFC card reader is used to perform the NFC polling method as described in any one of claims 1-15; The NFC device is used to perform the NFC polling method as described in any one of claims 16-19.

21. An NFC card reader device, characterized in that, include: One or more processors, one or more memories, and a transceiver, wherein the transceiver, the one or more memories, and the one or more processors are coupled together, the one or more memories being used to store a computer program that, when the one or more processors execute the computer program, implements the NFC polling method as described in any one of claims 1-15.

22. An NFC device, characterized in that, include: One or more processors, one or more memories, and a transceiver, wherein the transceiver, the one or more memories, and the one or more processors are coupled together, the one or more memories being used to store a computer program that, when the one or more processors execute the computer program, implements the NFC polling method as described in any one of claims 16-19.

23. A computer-readable storage medium, characterized in that, The device stores a computer program that, when executed by a processor, implements the NFC polling method as described in any one of claims 1-15.

24. A computer-readable storage medium, characterized in that, The device stores a computer program that, when executed by a processor, implements the NFC polling method as described in any one of claims 16-19.

25. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the NFC polling method as described in any one of claims 1-15.

26. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the NFC polling method as described in any one of claims 16-19.

27. A chip system, characterized in that, It includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the NFC polling method as described in any one of claims 1-15.

28. A chip system, characterized in that, It includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the NFC polling method as described in any one of claims 16-19.