Electronic device, and NFC-based communication method and system
By setting up multiple incompletely overlapping NFC tag antenna arrays and different communication protocols in the electronic device, the problem of low card reading success rate in short-range communication is solved, and more efficient NFC communication is achieved.
Patent Information
- Application Number
- PCT/CN2024/128547
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-08
- Filing Date
- 2024-10-30
- Publication Date
- 2025-08-14
AI Technical Summary
The existing NFC devices have low card reading success rate and long response time in close-range communication, which is mainly due to the insufficient coupling degree between the NFC antenna and the card antenna in the mobile phone, resulting in a longer induction time.
A number of NFC tags with the same content are set up in an electronic device. The antennas of any two NFC tags do not overlap completely to form an antenna array, and the induction success rate and efficiency are improved through different communication protocols and polling mechanisms.
The range and sensitivity of electronic devices being sensed by card reader devices are increased, the induction success rate and communication efficiency of NFC tags are improved, and the reliability and efficiency of payment and other scenarios are ensured.
Smart Images

Figure CN2024128547_14082025_PF_FP_ABST
Abstract
Description
Electronic device, NFC-based communication method and system
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on February 8, 2024, with application number 202410177214X and application name “Electronic device, NFC-based communication method and system”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] This specification relates to the field of communication technology, and in particular to an electronic device, and an NFC-based communication method and system. Background Art
[0003] Near field communication (NFC) is an emerging technology that allows devices (such as mobile phones) to exchange data when they are close to each other. For example, a card reader can sense a tag in a tag device and read the tag data.
[0004] Since the communication distance supported by near-field communication is relatively small, the success rate of card reading by the card reader is relatively low and the response time is relatively long.
[0005] It is worth noting that the content of the above-mentioned related technology is only the information known to the inventor personally, and does not mean that the above-mentioned information has entered the public domain before the application date of this disclosure, nor does it mean that it can become the prior art of this disclosure.
[0006] Summary of the Invention
[0007] The present disclosure provides an electronic device, an NFC-based communication method and a system to avoid the above-mentioned technical problems.
[0008] In a first aspect, the present disclosure provides an electronic device, comprising an NFC module, wherein the NFC module comprises a plurality of NFC tags with identical content, and antennas of any two NFC tags do not completely overlap.
[0009] In some embodiments, among the multiple NFC tags with the same content, different NFC tags have different communication protocols.
[0010] In some embodiments, the antennas of any two NFC tags have no overlapping areas.
[0011] In some embodiments, the antennas of the multiple NFC tags with the same content are arranged side by side to form an antenna array.
[0012] In some embodiments, the number of the plurality of NFC tags with the same content is determined based on at least one of the following:
[0013] a preset sensing range of the electronic device;
[0014] a preset sensing range of a card reader device, wherein the card reader device is a device that communicates with the electronic device based on NFC;
[0015] Information about the detuning effect of the NFC module on the card reader.
[0016] In some embodiments, the antennas of the multiple NFC tags with the same content are located in a preset antenna area of the electronic device.
[0017] In a second aspect, the present disclosure provides an NFC-based communication method, which is applied to the electronic device as described in any of the above embodiments, and the communication method includes:
[0018] Upon obtaining a current card search message initiated by a card reader, determining type attributes of multiple NFC tags with identical content, wherein the type attribute is used to indicate whether the multiple NFC tags with identical content are sensed by the card reader, including inductive type and non-inductive type;
[0019] The current round of card search message is responded to according to the induction type, wherein the response is used to read the tag data.
[0020] In some embodiments, among multiple NFC tags with the same content, different NFC tags have different communication protocols;
[0021] The determining of the type attributes of multiple NFC tags with the same content includes:
[0022] Determining a type attribute of a current NFC tag, wherein the current NFC tag is any NFC tag among the multiple NFC tags with the same content;
[0023] And, responding to the current round card search message according to the sensing type, wherein the response is used to read the tag data, including:
[0024] In a case where the type attribute of the current NFC tag is the induction type, responding to the current card search message based on the current NFC tag, wherein the response is used to read tag data of the current NFC tag.
[0025] In some embodiments, the communication protocols of the multiple NFC tags with the same content are the same;
[0026] The determining of the type attributes of multiple NFC tags with the same content includes:
[0027] Obtaining a type attribute corresponding to each of the multiple NFC tags with the same content;
[0028] And, responding to the current round card search message according to the sensing type, wherein the response is used to read the tag data, including:
[0029] The current round of card search message is responded to according to each sensing type, and the response is used to read the tag data of the target NFC tag, wherein the target NFC tag is determined by the card reader device from the NFC tags corresponding to each of the sensing types.
[0030] In a third aspect, the present disclosure provides an NFC-based communication system, characterized in that the communication system includes a card reader device and an electronic device as described in any of the above embodiments, wherein the card reader device is a device that communicates with the electronic device based on NFC;
[0031] The card reader is used to initiate a card-searching polling message to the electronic device;
[0032] The electronic device executes the communication method as described in any of the above embodiments based on the current polling card message, and responds to the card reading device, wherein the polling card message includes the current polling card message;
[0033] The card reading device is further configured to read tag data in the electronic device according to the response.
[0034] It can be seen from the above technical solutions that the electronic device, NFC-based communication method and system provided by the present disclosure include: the electronic device includes an NFC module, the NFC module includes multiple NFC tags with the same content, and the antennas of any two NFC tags do not completely overlap, which can increase the range and sensitivity of the electronic device being sensed by the card reader device, so as to facilitate the card reader device to sense and read the NFC tags in the electronic device, thereby improving the success rate and efficiency of the NFC tags being sensed in the electronic device, and further improving the communication efficiency and reliability of the electronic device, the NFC-based communication method and system in different scenarios.
[0035] Other features of the electronic device, NFC-based communication method, and system provided in this specification are partially listed in the following description. Based on the description, the following figures and examples will be apparent to those skilled in the art. The inventive aspects of the electronic device, NFC-based communication method, and system provided in this specification can be fully explained by practicing or using the methods, devices, and combinations described in the following detailed examples. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0037] FIG1 is a schematic diagram of a scenario based on an NFC communication method according to an embodiment of the present disclosure;
[0038] FIG2 is a schematic diagram of a scenario based on an NFC communication method according to another embodiment of the present disclosure;
[0039] FIG3 is a schematic diagram of an electronic device according to an embodiment of the present disclosure;
[0040] FIG4 is a schematic diagram of antenna deployment of two NFC tags with the same content according to an embodiment of the present disclosure;
[0041] FIG5 is a schematic diagram of antenna deployment of two NFC tags with the same content according to another embodiment of the present disclosure;
[0042] FIG6 is a schematic diagram of a polling card search according to an embodiment of the present disclosure;
[0043] FIG7 is a schematic diagram of a polling card search according to another embodiment of the present disclosure;
[0044] FIG8 is a schematic diagram of an antenna area according to an embodiment of the present disclosure;
[0045] FIG9 is a schematic diagram of an antenna area according to another embodiment of the present disclosure;
[0046] FIG10 is a schematic diagram of an NFC-based communication method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
[0048] It should be understood that the terms "including" and "having" and any variations thereof in the embodiments of the present disclosure are intended to cover but not exclude inclusion. For example, a product or device that includes a series of components is not necessarily limited to those components explicitly listed, but may include other components not explicitly listed or inherent to these products or devices.
[0049] In the embodiments of the present disclosure, the term "and / or" describes the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0050] In the embodiments of the present disclosure, the term "plurality" refers to two or more than two, and other quantifiers are similar thereto.
[0051] The terms "first," "second," "third," and the like in this disclosure are used to distinguish between similar or similar objects or entities and are not necessarily intended to limit a particular order or precedence, unless otherwise indicated. It should be understood that the terms used in this manner are interchangeable under appropriate circumstances, for example, enabling implementation in an order other than that given in the illustrations or descriptions of the embodiments of this disclosure.
[0052] The term "unit / module" as used in this disclosure refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic or combination of hardware and / or software code that is capable of performing the functions associated with that element.
[0053] To facilitate readers' understanding of the present disclosure, at least some of the terms used in the present disclosure are explained as follows:
[0054] Radio Frequency Identification (RFID) is a contactless automatic identification technology that leverages the transmission characteristics of radio frequency signals and their spatial coupling to automatically identify stationary or moving objects. Its principle is to identify objects through contactless data communication between a reader and a tag. RFID has a wide range of applications, including animal chips, automotive chip anti-theft devices, access control, parking lot management, production line automation, and material management.
[0055] Near Field Communication (NFC) is an emerging technology that enables devices using NFC technology (such as mobile phones) to exchange data when they are close to each other. It is an integration of RFID and interconnection technologies. By integrating the functions of inductive card readers, inductive cards and point-to-point communication on a single chip, it can realize mobile payment, electronic ticketing, access control, mobile identity recognition, anti-counterfeiting and other applications using mobile terminals.
[0056] Mobile payment refers to electronic currency payments made by mobile clients using electronic devices such as mobile phones. It effectively connects the internet, terminal devices, and financial institutions to form a new payment system. Mobile payment not only allows for cash payments but also allows for the payment of phone bills, gas, water, and electricity bills, among other living expenses. Mobile payment has pioneered a new payment method and popularized electronic currency.
[0057] A mobile terminal, or mobile communication terminal, refers to a computer device that can be used on the move. Broadly speaking, it includes mobile phones, notebooks, tablet computers, point of sale (POS) terminals, and even in-vehicle computers.
[0058] E-wallets are a common payment tool used in e-commerce shopping activities. They contain electronic money, such as electronic cash, electronic change, and electronic credit cards.
[0059] Wireless network communication technology (Wi-Fi), also known as mobile hotspot, is a wireless local area network and wireless network transmission technology.
[0060] To facilitate readers' understanding of the present disclosure, the application scenarios of the present disclosure are described as follows:
[0061] The present disclosure provides an electronic device, a communication method and system based on NFC. The electronic device is an NFC-enabled electronic device, such as a mobile terminal. Accordingly, combined with the above explanation of the terminology of near-field communication, it can be seen that the electronic device, the communication method and system based on NFC of the present disclosure can be applied to scenarios such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting. Take the scenario where the electronic device provided by the present disclosure is applied to mobile payment as an example:
[0062] The electronic device can be an NFC payment device (which can include forward scanning and reverse scanning payment devices). Figure 1 shows the usage of the NFC reverse scanning payment device under a mobile phone. As shown in Figure 1, when the mobile phone is close to the NFC reverse scanning payment device, it reads the label content in the NFC reverse scanning device, pops up the payment page, and the mobile phone obtains the corresponding payment information and completes the payment.
[0063] Electronic devices can also be NFC code tags that replace the original QR code (such as the ordering code). Figure 2 shows the process of sticking an NFC code tag on a mobile phone to open the ordering mini program. As shown in Figure 2, first unlock the phone, then stick an NFC code tag, and the phone will automatically jump to the corresponding ordering mini program.
[0064] It should be understood that the mobile payment scenario described above is only one of the multiple usage scenarios provided in this specification. The electronic device, NFC-based communication method, and system provided in this specification can be applied not only to mobile payment scenarios, but also to other scenarios that support NFC, such as electronic ticketing, access control, mobile identity recognition, anti-counterfeiting, etc. Those skilled in the art should understand that the application of the electronic device described in this specification to other usage scenarios is also within the scope of protection of this specification.
[0065] To facilitate readers' understanding of the present disclosure, the relevant technologies of the present disclosure are described as follows:
[0066] NFC technology allows two electronic devices to communicate within a relatively close distance (such as a few centimeters). As NFC technology continues to mature, more and more mobile terminals (such as mobile phones and POS machines) have integrated NFC functions.
[0067] For example, NFC technology was initially used more on smart cards, using a card reader to read the information on the smart card to complete mobile payments or identity authentication. As the technology continues to mature, more and more devices (such as mobile phones) have integrated NFC functions, and mobile phones generally support two NFC modes (card reader mode and card emulation mode).
[0068] When the phone is in card reader mode, it can read the tag information, which is often used for Bluetooth and Wi-Fi connection guidance. When the phone is in card emulation mode, the phone simulates a card to simulate a bank card or access card, which can be used for mobile payment or access control by swiping the phone.
[0069] In related technologies, the common mode of NFC in payment scenarios is that the POS machine acts as a card reader, and the mobile phone or bank card acts as an (NFC) tag card (chip). In the present disclosure, the mobile phone can be used as a card reader, and the payment device / code card can be used as a tag card.
[0070] Because when the NFC function of the mobile phone is turned on, the card reading function will be turned on by default after the phone is unlocked. When the card information of the tag card device (such as a POS machine) is read, the mobile phone can pop up an NFC recognition notification or directly pull up the payment page to complete the payment transaction.
[0071] Compared to the currently popular QR code payment method, using a mobile phone to identify an NFC payment link can shorten the payment process and improve the user's payment experience. However, when a mobile phone is used as a card reader to read an NFC payment link, it also faces many challenges.
[0072] For example, compared to traditional card readers, mobile phones are battery-powered and very sensitive to power consumption. Therefore, the card reading function is disabled when the phone's screen is off. Most phones only perform normal card reading a few times after the screen is on and unlocked before switching to low-power card detection (LPCD) mode. Due to the limited internal space of mobile phones, the NFC antenna size is very small. In this mode, the degree of coupling between the phone's NFC antenna and the card antenna greatly affects the card's detectability and sensing time. For users, when the phone is close to the tag card device to read NFC data, the card reading success rate is relatively low and the response time is relatively long.
[0073] It is worth noting that the content of the above-mentioned related technology is only the information known to the inventor personally, and does not mean that the above-mentioned information has entered the public domain before the application date of this disclosure, nor does it mean that it can become the prior art of this disclosure.
[0074] To avoid at least one of the above problems, the present disclosure proposes a technical concept based on creative labor: multiple identical NFC tags are set in an electronic device, and the antennas of any two NFC tags do not completely overlap, so as to increase the range and sensitivity of the electronic device that can be sensed, thereby improving the success rate and efficiency of NFC tag sensing.
[0075] Based on the above technical concept, the present disclosure provides an electronic device, including an NFC module, the NFC module including multiple NFC tags with the same content, and the antennas of any two NFC tags do not completely overlap.
[0076] Please refer to Figure 3, which is a schematic diagram of an electronic device according to an embodiment of the present disclosure. As shown in Figure 3, the electronic device includes an NFC module. The NFC module may include: an NFC control module; n NFC tags, each of which is communicatively connected to the NFC control module; where n is an integer greater than 1; and as shown in Figure 3, the n NFC tags include: NFC Tag 1, NFC Tag 2, and so on.
[0077] The NFC control module can be connected to n NFC tags via a communication bus to be responsible for synchronization of NFC data in each NFC tag, anti-collision control of the n NFC tags, state synchronization, etc.
[0078] Each NFC tag includes an antenna. For example, the antenna of NFC tag 1 can be referred to as antenna 1, the antenna of NFC tag 2 can be referred to as antenna 2, and so on. The antenna of NFC tag n can be referred to as antenna n. However, any two antennas among antenna 1, antenna 2, and antenna n do not completely overlap.
[0079] Taking any two antennas including antenna 1 and antenna 2 as an example, antenna 1 and antenna 2 do not completely overlap. For example, antenna 1 and antenna 2 may partially overlap, or antenna 1 and antenna 2 may not overlap.
[0080] Taking the above-mentioned payment scenario, the electronic device is a POS machine, and the card reader is a mobile phone as an example, in this embodiment, multiple identical NFC tags are set in the POS machine, and the antennas of any two NFC tags do not completely overlap, which can increase the range and sensitivity of the POS machine being sensed by the mobile phone, so as to facilitate the mobile phone to sense and read the NFC tags in the POS machine, thereby improving the success rate and efficiency of the NFC tags in the POS machine being sensed, and thus improving the efficiency and reliability of payment.
[0081] Based on the above analysis, it can be seen that in some embodiments, any two antennas may partially overlap. As shown in Figure 4, any two antennas include antenna 1 and antenna 2, and antenna 1 and antenna 2 partially overlap. By making antenna 1 and antenna 2 partially overlap, the coupling between antenna 1 and antenna 2 effectively expands the sensing range of antenna 1 and antenna 2.
[0082] In other embodiments, any two antennas do not overlap.
[0083] Relatively speaking, if any two antennas do not overlap, the area covered by each antenna can be made wider. Therefore, combined with the above example, the range and sensitivity of POS being sensed by mobile phones can be greatly increased, thereby further improving the success rate and efficiency of NFC tags being sensed in POS machines, thereby improving the efficiency and reliability of payments.
[0084] In some embodiments, antennas of multiple NFC tags with the same content are arranged side by side to form an antenna array.
[0085] Exemplarily, in combination with the above example, if n is 2, that is, multiple NFC tags with the same content are 2 NFC tags with the same content, and the antennas of the 2 NFC tags with the same content include antenna 1 and antenna 2, then as shown in Figure 5, antenna 1 and antenna 2 are arranged side by side to form an antenna array.
[0086] In some embodiments, among multiple NFC tags with the same content, different NFC tags have different communication protocols.
[0087] Continuing to refer to the above example and FIG3 , there is a one-to-one correspondence between NFC tags and communication protocols, such as one NFC tag corresponds to one communication protocol.
[0088] For example, the current mainstream communication protocols supported by NFC include four, namely 14443 Type A, 14443 Type B, Felica, and 15693. Then n can be 4, and an NFC tag supports one of the four communication protocols, and the communication protocols supported by the four NFC tags are different.
[0089] Continuing to refer to the example of the above payment scenario, when the mobile phone is searching for a card, it can also make polling requests in the above order of the four communication protocols. That is to say, when the mobile phone requests a certain communication protocol, only the NFC tags in the POS machine that support this protocol will respond, and other NFC tags will remain silent.
[0090] As shown in FIG6 , some mobile phones will perform multiple rounds of card searching when unlocking. As shown in FIG7 , if the sensing is successful, the mobile phone will perform one round of card searching.
[0091] In this embodiment, the probability of NFC tags responding to card readers is increased through a multi-communication protocol solution. By using different communication protocols for different NFC tags, conflicts between different NFC tags during communication can be isolated, thereby improving the effectiveness and reliability of electronic device communication.
[0092] In some embodiments, the number of the multiple NFC tags with the same content is determined based on at least one of the following:
[0093] Method 1: The preset sensing range of the electronic device.
[0094] Method 2: preset sensing range of the card reader device, wherein the card reader device is a device that communicates with the electronic device based on NFC.
[0095] Method 3: Information about the impact of the NFC module's detuning on the card reader.
[0096] It is understandable that, in conjunction with FIG3 , the above three methods are only used to exemplify possible value methods of n, and should not be understood as limitations on the value methods of n or the value of n.
[0097] Now, we continue to use the above examples and payment scenarios as an example to explain the three methods as follows:
[0098] In method 1, n can be determined based on a preset sensing range of the POS terminal, wherein the preset sensing range can be determined based on demand, application scenario, historical records, and experiments, etc., and this embodiment does not limit this.
[0099] For example, for a scenario where the preset sensing range is relatively large, in order to satisfy the requirement that the NFC tag is sensed within a large range, n can be a relatively large value; for a scenario where the preset sensing range is relatively small, n can be a relatively small value.
[0100] In the second approach, n may be determined based on a preset sensing range of the mobile phone. Similarly, this embodiment does not limit the preset sensing range, and may be determined based on the performance of the mobile phone.
[0101] Correspondingly, for scenarios where the preset sensing range is relatively large, since the mobile phone has a strong sensing capability and can sense the NFC tag within a larger range, n can be a relatively small value; for scenarios where the preset sensing range is relatively small, since the mobile phone has a relatively weak sensing capability, in order to enable the mobile phone to sense the NFC tag efficiently, n can be a relatively large value.
[0102] In method 3, n can be determined based on the detuning effect of the NFC module on the mobile phone. For example, n can be determined based on the maximum possible detuning effect caused by the NFC tag antenna on the NFC tag antenna in the mobile phone.
[0103] In this embodiment, by combining one or more of the above three methods to determine n, the flexibility and diversity of determining n can be improved, and the success rate and efficiency of mobile phone sensing NFC tags in POS machines can be improved without wasting resources.
[0104] In some embodiments, antennas of multiple NFC tags with the same content are located in a preset antenna area of the electronic device.
[0105] In contrast, the preset antenna area is an area that facilitates the card reader to sense the NFC tag. Similarly, the preset antenna area can be determined based on needs, application scenarios, historical records, and experiments, and this embodiment does not limit it.
[0106] Among them, the card reader device may also have a corresponding antenna area. Taking the card reader device as a mobile phone as an example, the antenna area can be located at the position shown in Figure 8 or Figure 9. Of course, the antenna area can also be other areas, which are not listed here one by one.
[0107] In this embodiment, n antennas are deployed in a preset antenna area so that the card reader can sense the NFC tag, thereby improving the effectiveness and reliability of communication between the electronic device and the card reader.
[0108] It is worth noting that the above examples are mostly explained from the perspective of electronic devices as sensed devices and mobile phones as card reading devices, but this cannot be understood as a limitation on electronic devices and card reading devices. In some communication scenarios, electronic devices are sensed devices, that is, they are sensed as cards, while in other scenarios, electronic devices can also be used as card reading devices to sense and read other cards.
[0109] For example, in a scenario where two mobile phones are communicating for payment, the electronic device can be the mobile phone of the payer or the mobile phone of the recipient.
[0110] Based on the above analysis, it can be seen that the above examples mainly increase the sensing area and communication range by the number of NFC tags, that is, the number of antennas. In other embodiments, methods such as improving the shape and size of the antenna can also be used to increase the sensing area and communication range to improve communication performance. However, relatively speaking, antenna improvements have a ceiling. For example, using a larger antenna is limited by the smaller antenna size of the mobile phone. For antennas exceeding a certain size, communication performance will actually decrease.
[0111] Therefore, in some embodiments, n may be determined in combination with the actual product conditions of the electronic device, the shape of the antenna, the size of the antenna, and other dimensions to ensure that the reliability of communication performance is improved by increasing the sensing area and communication range.
[0112] It is worth noting that this embodiment does not limit the material of the antenna or the chip of the NFC tag, and they can be determined based on requirements, application scenarios, historical data, and experiments.
[0113] For example, the antenna can use an empty tuning coil without modulation capabilities. The NFC tag chip can use an NFC tag chip with active load modulation capabilities. This chip can increase the communication distance, while the empty tuning coil can extend the sensing range. Within the communication range of the chip, relatively good communication performance can be achieved.
[0114] Based on the above technical concept, the present disclosure further provides an NFC-based communication method. The communication method is based on the electronic device described in the above embodiment. As shown in FIG10 , the communication method includes the following steps S101 and S102:
[0115] S101: Upon receiving a current card search message initiated by a card reader, the electronic device determines the type attributes of multiple NFC tags with the same content, wherein the type attribute is used to characterize whether the multiple NFC tags with the same content are sensed by the card reader, including the sensing type and the silent type.
[0116] Exemplarily, in conjunction with FIG10 , it can be seen that the default state of the electronic device is the initial state, and the initial state is a tag waiting to be read, that is, multiple NFC tags with the same content are in a waiting to be read state.
[0117] After unlocking, the card reader device maintains the LPCD mode and sends the LPCD signal in the LPCD mode. Correspondingly, the electronic device receives the LPCD signal.
[0118] The card reader determines that a card has been sensed based on the LPCD signal it sends and the monitored signal, and then prepares to start searching for the card, and then starts polling to search for the card.
[0119] 6 , the card reader device polls for cards in multiple rounds, so for the current round of card search, the card reader device sends a current round card search message to the electronic device.
[0120] Among them, the current round of card search message can be initiated by the card reader device based on a certain communication protocol. Therefore, when the electronic device receives the current round of card search message, the NFC tag that supports the communication protocol will respond, and other NFC tags will remain silent. Therefore, the type attribute of the NFC that supports the communication protocol can be called the inductive type, and the type attribute of other NFC tags can be called the non-inductive type (or silent type).
[0121] S102: The electronic device responds to the current card search message according to the sensing type, wherein the response is used to read the tag data.
[0122] Correspondingly, if the electronic device determines that the type attribute of the NFC tag is the inductive type, the electronic device responds to the current card search message so that the card reader reads the tag data according to the response.
[0123] For example, as shown in Figure 10, upon receiving a response, the card reader device begins reading NFC data, and upon complete reading of the NFC data, parses the NFC data and redirects the page. Upon completing the transmission of NFC data to the card reader device and failing to receive an LPCD signal from the card reader device, the electronic device returns to its initial state.
[0124] In some embodiments, if the card reader does not sense the card within a preset time period, it enters the next card search. The specific implementation principle can be found in the above example and will not be repeated here.
[0125] Based on the above analysis, we can see that there are at least two ways to avoid conflicts between multiple NFC tags with the same content: Method 1: Different NFC tags with the same content may have different communication protocols; Method 2: Different NFC tags have the same communication protocol. To facilitate the reader's understanding of these conflict avoidance methods, we will now explain them separately.
[0126] For method 1—multiple NFC tags with the same content, different NFC tags may have different communication protocols:
[0127] The electronic device determining the type attributes of multiple NFC tags with the same content in the above S101 includes: determining the type attribute of the current NFC tag, wherein the current NFC tag is any NFC tag among the multiple NFC tags with the same content.
[0128] In addition, in the above S102, the electronic device responds to the current round-search card message according to the induction type, wherein the response is used to read the tag data, including: when the type attribute of the current NFC tag is the induction type, responding to the current round-search card message based on the current NFC tag, wherein the response is used to read the tag data of the current NFC tag.
[0129] For example, in combination with the above example and FIG3 , the number of NFC tags with the same content is two, including NFC tag 1 and NFC tag 2, and the communication protocol supported by NFC tag 1 is 14443 Type A, and the communication protocol supported by NFC tag 2 is 14443 Type B.
[0130] If the communication protocol corresponding to the current card search message sent by the card reader is 14443 Type A, NFC tag 1 will respond to the card reader, and the type attribute of NFC tag 1 is the inductive type. NFC tag 2 will not respond to the card reader, and the type attribute of NFC tag 2 is the silent type.
[0131] Correspondingly, the card reader receives the response and knows that the response is from NFC tag 1 , so the card reader starts to read the NFC data in NFC tag 1 .
[0132] For method 2—different NFC tags use the same communication protocol:
[0133] In the above S101, the electronic device determines the type attributes of the multiple NFC tags with the same content, including: obtaining the type attribute corresponding to each of the multiple NFC tags with the same content.
[0134] In addition, in the above S102, the electronic device responds to the current round-searching card message according to the sensing type, wherein the response is used to read the tag data, including: responding to the current round-searching card message according to each sensing type, and the response is used to read the tag data of the target NFC tag, wherein the target NFC tag is determined by the card reading device from the NFC tags corresponding to each sensing type.
[0135] For example, in combination with the above example and FIG3 , the number of NFC tags with the same content is 2, including NFC tag 1 and NFC tag 2, and the communication protocols supported by NFC tag 1 and NFC tag 2 are 14443 Type A and 14443 Type B:
[0136] If the communication protocol of the current card search message sent by the card reader is 14443 Type A, and it is determined that the type attributes of NFC tag 1 and NFC tag 2 are both inductive, then NFC tag 1 and NFC tag 2 will both respond to the card reader.
[0137] Correspondingly, the card reader receives the responses corresponding to NFC tag 1 and NFC tag 2, and selects one NFC tag from NFC tag 1 and NFC tag 2 for interaction. If NFC tag 2 is selected for interaction, NFC tag 2 becomes the target NFC tag and NFC tag 2 becomes active. Therefore, the card reader starts to read the NFC data in NFC tag 2.
[0138] In some embodiments, after a card reader finishes reading data from a target NFC tag, the electronic device can disable all NFC tags except the target NFC tag to avoid the problem of the card reader reading multiple NFC tags, which can cause the page to repeatedly open. The electronic device can include a control module to disable all NFC tags except the target NFC tag. When the RF field of the card reader moves away from the device and out of communication range, each NFC tag returns to its default initial state.
[0139] It is worth noting that the above examples are only used to illustrate possible implementations of the NFC-based communication method of the present disclosure, and should not be understood as limiting the implementation of the NFC-based communication method of the present disclosure. For example, based on the above technical concept, some of the above technical features can be combined to obtain new embodiments; new technical features can be added to the above examples to obtain new embodiments; some technical features can be reduced to obtain new embodiments based on the above examples; some technical features in the above examples can be replaced with other technical features; some technical features and their order in the above examples can be adjusted to obtain new embodiments, etc., which will not be listed here one by one.
[0140] According to the above technical concept, the present disclosure also provides an NFC-based communication system, which includes a card reader and an electronic device as described in any of the above embodiments, wherein the card reader is a device that communicates with the electronic device based on NFC.
[0141] The card reading device is used to initiate a card-searching polling message to the electronic device.
[0142] The electronic device is configured to execute the communication method described in any of the above embodiments according to a current polling card message to respond to the card reading device, wherein the polling card message includes the current polling card message.
[0143] The card reading device is further configured to read tag data in the electronic device according to the response.
[0144] According to the above technical concept, the present disclosure further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the NFC-based communication method as described in any of the above embodiments.
[0145] According to the above technical concept, the present disclosure also provides an NFC-based communication system, including:
[0146] at least one memory including at least one set of instructions for communicating based on NFC;
[0147] at least one processor in communication with the at least one memory;
[0148] When the at least one processor executes the at least one set of instructions, the NFC-based communication method as described in any one of the above embodiments is implemented.
[0149] According to the above technical concept, the present disclosure further provides a computer program product, including a computer program, which, when executed by a processor, implements the NFC-based communication method as described in any of the above embodiments.
[0150] According to the above technical concept, the present disclosure further provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0151] The memory stores computer-executable instructions;
[0152] The processor executes the computer-executable instructions stored in the memory to implement the NFC-based communication method as described in any of the above embodiments.
[0153] Based on the above technical concepts, the present disclosure also provides a non-transitory storage medium storing at least one set of executable instructions for performing NFC-based communication. When the executable instructions are executed by a processor, the executable instructions instruct the processor to implement the steps of the NFC-based communication method described in this specification. In some possible implementations, various aspects of this specification may also be implemented in the form of a program product, which includes program code.
[0154] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the particular order or sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0155] In summary, after reading this detailed disclosure, those skilled in the art will appreciate that the foregoing detailed disclosure may be presented by way of example only and may not be limiting. Although not expressly stated herein, those skilled in the art will understand that this specification encompasses various reasonable changes, improvements, and modifications to the embodiments. Such changes, improvements, and modifications are intended to be suggested by this specification and are within the spirit and scope of the exemplary embodiments of this specification.
[0156] Furthermore, certain terms in this specification have been used to describe embodiments of this specification. For example, “one embodiment,” “an embodiment,” and / or “some embodiments” mean that a particular feature, structure, or characteristic described in connection with that embodiment may be included in at least one embodiment of this specification. Therefore, it is emphasized and should be understood that two or more references to “an embodiment,” “one embodiment,” or “an alternative embodiment” in various parts of this specification do not necessarily refer to the same embodiment. Furthermore, particular features, structures, or characteristics may be appropriately combined in one or more embodiments of this specification.
[0157] It should be understood that in the foregoing descriptions of the embodiments of this specification, to facilitate understanding of a feature and to simplify this specification, various features are combined in a single embodiment, figure, or description thereof. However, this does not necessarily mean that these features are combined. When reading this specification, a person skilled in the art may label some of the devices as separate embodiments. In other words, the embodiments of this specification can also be understood as the integration of multiple sub-embodiments. The content of each sub-embodiment is also valid even when it includes fewer than all the features of a single previously disclosed embodiment.
[0158] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, articles, and the like, cited herein, except to the extent that it is inconsistent or conflicting with this document or that it has a limiting effect on the broadest scope of the claims, is hereby incorporated by reference for all purposes now or hereafter connected with this document. In addition, in the event of any inconsistency or conflict between the description, definition, and / or use of a term in any material and the description, definition, and / or use of a term in this document, the term in this document shall control.
[0159] Finally, it should be understood that the embodiments of the application disclosed herein are illustrative of the principles of the embodiments of this specification. Other modified embodiments are also within the scope of this specification. Therefore, the embodiments disclosed in this specification are merely examples and not limitations. Those skilled in the art can adopt alternative configurations based on the embodiments in this specification to implement the application in this specification. Therefore, the embodiments of this specification are not limited to the embodiments precisely described in the application.
Claims
1. An electronic device comprising an NFC module, characterized in that: The NFC module includes multiple NFC tags with the same content, and the antennas of any two NFC tags partially overlap.
2. The electronic device according to claim 1, wherein Among the multiple NFC tags with the same content, different NFC tags have different communication protocols.
3. The electronic device according to claim 1, wherein The number of the plurality of NFC tags with the same content is determined based on at least one of the following: a preset sensing range of the electronic device; a preset sensing range of a card reader device, wherein the card reader device is a device that communicates with the electronic device based on NFC; Information about the detuning effect of the NFC module on the card reader.
4. The electronic device according to claim 1, wherein: The antennas of the multiple NFC tags with the same content are located in a preset antenna area of the electronic device.
5. A communication method based on NFC, characterized in that: The communication method is applied to the electronic device according to any one of claims 1 to 4, and the communication method includes: Upon obtaining a current card search message initiated by a card reader, determining type attributes of multiple NFC tags with identical content, wherein the type attribute is used to indicate whether the multiple NFC tags with identical content are sensed by the card reader, including inductive type and non-inductive type; The current round of card search message is responded to according to the induction type, wherein the response is used to read the tag data. The communication method according to claim 5 , wherein: Among multiple NFC tags with the same content, different NFC tags have different communication protocols, and different rounds of card search messages sent by the card reader device correspond to different communication protocols; The determining of the type attributes of multiple NFC tags with the same content includes: Determining a type attribute of a current NFC tag, wherein the current NFC tag is any NFC tag among the multiple NFC tags with the same content; And, responding to the current round card search message according to the sensing type, wherein the response is used to read the tag data, including: In a case where the type attribute of the current NFC tag is the induction type, responding to the current card search message based on the current NFC tag, wherein the response is used to read tag data of the current NFC tag.
7. The communication method according to claim 5, wherein: The communication protocols of the multiple NFC tags with the same content are the same; The determining of the type attributes of multiple NFC tags with the same content includes: Obtaining a type attribute corresponding to each of the multiple NFC tags with the same content; And, responding to the current round card search message according to the sensing type, wherein the response is used to read the tag data, including: The card reader device responds to the current round of card search message according to each induction type, and the response is used to read the tag data of the target NFC tag, wherein the target NFC tag is the card reader device from the card data of each induction type. Determined by the corresponding NFC tags.
8. A communication system based on NFC, characterized in that: The communication system comprises a card reader device and an electronic device according to any one of claims 1 to 4, wherein the card reader device is a device that communicates with the electronic device based on NFC; The card reading device is used to initiate a card-searching polling message to the electronic device; The electronic device is configured to execute the communication method according to any one of claims 5 to 7 according to the current round-trip card search message to respond to the card reading device, wherein the polling card search message includes the current round-trip card search message; The card reading device is further configured to read tag data in the electronic device according to the response.
Citation Information
Patent Citations
An NFC sensing device and system
CN109886057A
Data interaction method and device based on NFC
CN115442780A
Electronic equipment and communication method and system based on NFC (Near Field Communication)
CN118095331A
NFC (Near Field Communication) label group with relatively large induction range and intelligent household electrical appliance
CN216647392U
Near field communication tag type identification
EP2770755A1