Electronic device, NFC-based communication method and system

By setting up a combination of multiple incompletely overlapping NFC tags and different communication protocols in the electronic device, the problem of insufficient communication efficiency and reliability of NFC devices is solved, and a higher induction success rate and payment efficiency are achieved.

CN118095331BActive Publication Date: 2025-07-04ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410177214.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-08
Publication Date
2025-07-04
Estimated Expiration
2044-02-08

AI Technical Summary

Technical Problem

During the communication process of existing NFC devices, the success rate of card reading devices is low and the response time is long. Due to the antenna size and power consumption sensitivity, the communication efficiency and reliability are insufficient.

Method used

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 are distinguished through different communication protocols to increase the sensing range and sensitivity.

Benefits of technology

It improves the success rate and efficiency of NFC tags being sensed, improves the efficiency and reliability of communication, shortens payment paths, and improves the user's payment experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118095331B_ABST
    Figure CN118095331B_ABST
Patent Text Reader

Abstract

The present disclosure provides an electronic device, an NFC-based communication method and system, including: The electronic device includes an NFC module, and the NFC module includes a plurality of NFC tags with the same content. 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 a 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 in the electronic device being sensed, and further improving the communication efficiency and reliability of the electronic device, the NFC-based communication method and system applied to different scenarios.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of communication technologies, and in particular, to an electronic device, an NFC-based communication method, and a system. Background Art

[0002] Near Field Communication (NFC) is an emerging technology. Devices using NFC technology (such as mobile phones, etc.) can exchange data when they are close to each other. For example, a card reading device can sense a tag in a tag card device and read the tag data.

[0003] Since the communication distance supported by NFC is relatively small, the success rate of the card reading device reading the card is relatively low, and the response time is relatively long.

[0004] It should be noted that the content of the above related technologies is only information known to the inventor personally, and does not mean that the above information has entered the public domain before the filing date of this disclosure, nor does it mean that it can become the prior art of this disclosure. Summary of the Invention

[0005] This disclosure provides an electronic device, an NFC-based communication method, and a system to avoid the above technical problems.

[0006] In a first aspect, this disclosure provides an electronic device, the electronic device includes an NFC module, the NFC module includes a plurality of NFC tags with the same content, and the antennas of any two NFC tags do not completely overlap.

[0007] In some embodiments, among the plurality of NFC tags with the same content, the communication protocols of different NFC tags are different.

[0008] In some embodiments, there is no overlapping area between the antennas of any two NFC tags.

[0009] In some embodiments, the antennas of the plurality of NFC tags with the same content are arranged side by side to form an antenna array.

[0010] 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:

[0011] The preset induction range of the electronic device;

[0012] The preset induction range of the card reading device, where the card reading device is a device that communicates with the electronic device based on NFC;

[0013] The detuning influence information of the NFC module on the card reading device.

[0014] 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.

[0015] In a second aspect, the present disclosure provides an NFC-based communication method, which is applied to the electronic device described in any of the foregoing embodiments. The communication method includes:

[0016] When obtaining the current round of card search messages initiated by a card reading device, determining the type attributes of multiple NFC tags with the same content, where the type attributes are used to characterize whether the multiple NFC tags with the same content are sensed by the card reading device, including a sensing type and a non-sensing type;

[0017] Responding to the current round of card search messages according to the sensing type, where the response is used to read tag data.

[0018] In some embodiments, among the multiple NFC tags with the same content, the communication protocols of different NFC tags are different;

[0019] The determining of the type attributes of multiple NFC tags with the same content includes:

[0020] Determining the type attribute of the current NFC tag, where the current NFC tag is any NFC tag among the multiple NFC tags with the same content;

[0021] And the responding to the current round of card search messages according to the sensing type, where the response is used to read tag data, includes:

[0022] When the type attribute of the current NFC tag is the sensing type, responding to the current round of card search messages based on the current NFC tag, where the response is used to read the tag data of the current NFC tag.

[0023] In some embodiments, the communication protocols of the multiple NFC tags with the same content are the same;

[0024] The determining of the type attributes of multiple NFC tags with the same content includes:

[0025] Obtaining the type attributes corresponding to each NFC tag among the multiple NFC tags with the same content;

[0026] And the responding to the current round of card search messages according to the sensing type, where the response is used to read tag data, includes:

[0027] Respond to the current round of card polling messages according to each sensing type, where the response is used to read the tag data of the target NFC tag, and the target NFC tag is determined by the card reading device from the NFC tags corresponding to each sensing type.

[0028] In a third aspect, the present disclosure provides an NFC-based communication system, characterized in that the communication system includes a card reading device and an electronic device as described in any of the above embodiments, and the card reading device is a device that communicates with the electronic device based on NFC;

[0029] The card reading device is used to initiate a polling card message to the electronic device;

[0030] The electronic device executes the communication method as described in any of the above embodiments based on the current round of card polling messages and responds to the card reading device, where the polling card message includes the current round of card polling messages;

[0031] The card reading device is further used to read the tag data in the electronic device according to the response.

[0032] As can be seen from the above technical solutions, the electronic device, NFC-based communication method and system provided by the present disclosure include: The electronic device includes an NFC module, and the NFC module includes multiple NFC tags with the same content. The antennas of any two NFC tags do not completely overlap, which can increase the sensing range and sensitivity of the electronic device by the card reading device, so as to facilitate the card reading device to sense and read the NFC tags in the electronic device, thereby improving the success rate and efficiency of the NFC tags in the electronic device being sensed, and further improving the communication efficiency and reliability of the electronic device, NFC-based communication method and system applied to different scenarios.

[0033] Other functions of the electronic device, NFC-based communication method and system provided in this specification will be partially listed in the following description. According to the description, the content introduced by the following numbers and examples will be obvious to those of ordinary skill in the art. The creative 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. Description of the Drawings

[0034] In order to more clearly illustrate the technical solutions in the embodiments of this specification, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0035] Figure 1Scenario schematic diagram of an NFC communication method according to an embodiment of the present disclosure;

[0036] Figure 2 Scenario schematic diagram of an NFC communication method according to another embodiment of the present disclosure;

[0037] Figure 3 Schematic diagram of an electronic device according to an embodiment of the present disclosure;

[0038] Figure 4 Schematic diagram of antenna deployment of two NFC tags with the same content according to an embodiment of the present disclosure;

[0039] Figure 5 Schematic diagram of antenna deployment of two NFC tags with the same content according to another embodiment of the present disclosure;

[0040] Figure 6 Schematic diagram of polling for a card according to an embodiment of the present disclosure;

[0041] Figure 7 Schematic diagram of polling for a card according to another embodiment of the present disclosure;

[0042] Figure 8 Schematic diagram of an antenna area according to an embodiment of the present disclosure;

[0043] Figure 9 Schematic diagram of an antenna area according to another embodiment of the present disclosure;

[0044] Figure 10 Schematic diagram of an NFC communication method according to an embodiment of the present disclosure. Detailed implementation manners

[0045] Here, exemplary embodiments will be described in detail, and examples thereof are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0046] It should be understood that the terms "include" and "have" 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 including a series of components does not necessarily have to be limited to those components clearly listed, but may include other components not clearly listed or inherent to these products or devices.

[0047] In the embodiments of the present disclosure, the term "and / or" describes the association relationship of associated objects, indicating that there can be three relationships. 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 represents an "or" relationship between the associated objects before and after.

[0048] In the embodiments of the present disclosure, the term "plurality" refers to two or more, and other quantifiers are similar.

[0049] The terms "first", "second", "third", etc. in the present disclosure are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be interchanged under appropriate circumstances, for example, they can be implemented in an order other than those given in the illustrations or descriptions of the embodiments of the present disclosure.

[0050] The term "unit / module" used in the present disclosure refers to any known or later-developed hardware, software, firmware, artificial intelligence, fuzzy logic, or a combination of hardware or / and software code that can perform functions related to the element.

[0051] For the convenience of the reader's understanding of the present disclosure, at least some of the terms in the present disclosure are explained as follows:

[0052] Radio Frequency Identification (RFID) is a non-contact automatic identification technology. It uses the transmission characteristics of radio frequency signals and their spatial coupling to achieve the automatic identification of stationary or moving items. Its principle is non-contact data communication between a reader and a tag to achieve the purpose of identifying the target. The applications of RFID are very extensive, and typical applications include animal microchips, automotive chip anti-theft devices, access control, parking lot control, production line automation, and material management.

[0053] Near Field Communication (NFC) is an emerging technology. Devices using NFC technology (such as mobile phones, etc.) can exchange data when they are close to each other. It is evolved from the integration of RFID and interconnection technologies. By integrating the functions of an inductive card reader, an inductive card, and point-to-point communication on a single chip, it can be used in mobile terminals and other devices to achieve applications such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting.

[0054] Among them, mobile payment refers to the use of electronic products such as mobile clients and mobile terminals (such as mobile phones) to conduct electronic currency payments. Mobile payment effectively combines the Internet, terminal devices, and financial institutions to form a new payment system. Moreover, mobile payment can not only conduct currency payments but also pay for living expenses such as phone bills, gas, water, and electricity. Mobile payment has created a new payment method and popularized electronic currency.

[0055] A mobile terminal, also known as a mobile communication terminal, refers to a computer device that can be used while moving. Generally speaking, it includes mobile phones, laptops, tablet computers, point of sale (POS) terminals, and even in-vehicle computers.

[0056] An electronic wallet is a commonly used payment tool in e-commerce shopping activities. Electronic currency such as electronic cash, electronic change, and electronic credit cards is stored in the electronic wallet.

[0057] Wireless network communication technology (Wi-Fi), also known as a mobile hotspot, is a wireless local area network and wireless network transmission technology.

[0058] For the convenience of readers' understanding of this disclosure, the application scenarios of this disclosure are described as follows:

[0059] This disclosure provides an electronic device, an NFC-based communication method, and a system. The electronic device is an NFC-supported electronic device such as a mobile terminal. Correspondingly, based on the above explanations of near-field communication terms, the electronic device, NFC-based communication method, and system of this disclosure can be applied to scenarios such as mobile payment, electronic ticketing, access control, mobile identity recognition, and anti-counterfeiting. Taking the scenario where the electronic device provided by this disclosure is applied to mobile payment as an example:

[0060] The electronic device can be an NFC payment device (which can include front-scan and back-scan payment collection devices). Figure 1 Shown as the movement route of the NFC back-scan payment collection device when used with a mobile phone. For example, Figure 1 as shown, when the mobile phone is close to the NFC back-scan payment collection device, it reads the label content in the NFC back-scan device, pops up the payment page, and the mobile phone obtains the corresponding payment information and completes the payment.

[0061] The electronic device can also be an NFC code plate that replaces the original two-dimensional code (such as an ordering code). Figure 2 Shown as the movement route of using a mobile phone to scan an NFC code plate to open an ordering mini-program. For example, Figure 2 as shown, first unlock the mobile phone, then scan the NFC code plate, and the mobile phone can automatically jump to the corresponding ordering mini-program.

[0062] It should be understood that the above mobile payment scenario is only one of the multiple usage scenarios provided in this specification. The electronic devices, NFC-based communication methods, and systems 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, and other scenarios. Those skilled in the art should understand that the application of the electronic devices described in this specification to other usage scenarios is also within the scope of protection of this specification.

[0063] For the convenience of readers' understanding of the present disclosure, the related technologies of the present disclosure are described as follows:

[0064] NFC technology enables two electronic devices to communicate within a relatively short distance (such as a few centimeters). With the continuous maturity of NFC technology, more and more mobile terminals (such as mobile phones and POS machines) have also integrated NFC functions.

[0065] For example, NFC technology was initially more used in smart cards, using a card reader to read the information in the smart card to complete mobile payment or identity authentication, etc. With the continuous maturity of technology, more and more devices (such as mobile phones) have also integrated NFC functions. Usually, mobile phones also support two NFC modes (card reader mode and card emulation mode).

[0066] Among them, when the mobile phone is in card reader mode, it can read tag information, which is often used for the connection guidance of Bluetooth and WI-FI. When the mobile phone is in card emulation mode, the mobile phone emulates a card to realize the emulation of a bank card or an access control card, which is used for mobile payment or swiping the mobile phone to enter or exit the access control.

[0067] In the related technologies, the general mode of NFC in the payment scenario is that the POS machine acts as a card reader, and the mobile phone or bank card acts as an (NFC) tag card. In the present disclosure, the mobile phone can be used as a card reader, and the money receiving device / code plate can be used as a tag card.

[0068] Because when the NFC function of the mobile phone is turned on and the mobile phone is unlocked, the card reading function will be enabled by default. 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 and complete the payment transaction.

[0069] Compared with the current popular QR code payment, the method of identifying the NFC payment link through the mobile phone can shorten the payment path of the user and improve the user's payment experience. However, when the mobile phone is used as a card reader to read the NFC payment link, it also faces many challenges.

[0070] For example, compared with traditional card readers, mobile phones are powered by batteries and are very sensitive to power consumption. Therefore, the card reading function is turned off when the mobile phone screen is off. Most mobile phones will only perform normal card reading continuously a few times after unlocking the screen and then switch to the low power card detection (LPCD) mode. Due to the extremely limited internal space of mobile phones, the size of the NFC antenna in the mobile phone is very small. In this mode, the coupling degree between the NFC antenna in the mobile phone and the card antenna greatly affects the detectability of the card and the induction time. For users, when the mobile phone approaches the tag card device to read NFC data, the success rate of card reading is relatively low and the response time is relatively long.

[0071] It should be noted that the content of the above related technologies is only information known to the inventors personally, and does not mean that the above information has entered the public domain before the filing date of this disclosure, nor does it mean that it can become the prior art of this disclosure.

[0072] To avoid at least one of the above problems, the present disclosure proposes a technically creative concept: setting multiple identical NFC tags in the electronic device, and the antennas of any two NFC tags do not completely overlap, so as to increase the range and sensitivity that the electronic device can be sensed, thereby improving the success rate and efficiency of the NFC tag being sensed.

[0073] Based on the above technical concept, the present disclosure provides an electronic device, including an NFC module, and the NFC module includes multiple NFC tags with the same content, and the antennas of any two NFC tags do not completely overlap.

[0074] Please refer to Figure 3 , Figure 3 which is a schematic diagram of the electronic device according to the embodiment of the present disclosure. As Figure 3 shown, the electronic device includes an NFC module, and the NFC module may include: an NFC control module, and n NFC tags respectively communicatively connected to the NFC control module, where n is an integer greater than 1, and as Figure 3 shown, the n NFC tags include: NFC tag 1, NFC tag 2 up to NFC tag n.

[0075] Among them, the NFC control module can be connected to the n NFC tags through a communication bus to be responsible for the synchronization of NFC data in each NFC tag, the anti-collision control of the n NFC tags, status synchronization, etc.

[0076] Each NFC tag includes an antenna. For example, the antenna of NFC tag 1 can be called antenna 1, the antenna of NFC tag 2 can be called antenna 2 up to the antenna of NFC tag n can be called antenna n, and any two of antenna 1, antenna 2 up to antenna n do not completely overlap.

[0077] Taking any two antennas, including antenna 1 and antenna 2, as an example, antenna 1 and antenna 2 do not completely overlap. For example, there may be partial overlap between antenna 1 and antenna 2, or antenna 1 and antenna 2 may have no overlap.

[0078] Taking the above payment scenario, where the electronic device is a POS machine and the card reading device 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, facilitating the sensing and reading of the NFC tags in the POS machine by the mobile phone, thereby improving the success rate and efficiency of the NFC tags in the POS machine being sensed, and further improving the efficiency and reliability of payment.

[0079] Combined with the above analysis, it can be seen that in some embodiments, there may be partial overlap between any two antennas. As Figure 4 shown, any two antennas include antenna 1 and antenna 2, and antenna 1 and antenna 2 partially overlap.

[0080] In some other embodiments, any two antennas have no overlap.

[0081] Relatively speaking, if any two antennas have no overlap, the area jointly covered by each antenna can be made more extensive. Therefore, combined with the above example, the range and sensitivity of the POS being sensed by the mobile phone can be increased more, thereby further improving the success rate and efficiency of the NFC tags in the POS machine being sensed, and further improving the efficiency and reliability of payment.

[0082] In some embodiments, the antennas of multiple NFC tags with the same content are arranged side by side to form an antenna array.

[0083] Exemplarily, combined with the above example, if n is 2, that is, there 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 Figure 5 shown, antenna 1 and antenna 2 are arranged side by side to form an antenna array.

[0084] In some embodiments, among multiple NFC tags with the same content, the communication protocols of different NFC tags are different.

[0085] Continuing to refer to the above example and Figure 3 , the NFC tag and the communication protocol are in a one-to-one correspondence relationship, such as one NCF tag corresponding to one communication protocol.

[0086] For example, there are 4 mainstream communication protocols currently supported by NFC, namely 14443 Type A, 14443 Type B, Felica, and 15693. Then n can be 4, and an NFC tag supports one of the 4 communication protocols, and the communication protocols supported by 4 NFC tags are different from each other.

[0087] Continuing to refer to the example of the above payment scenario, when the mobile phone searches for a card, it can also make polling requests in the above order of the 4 communication protocols. That is to say, when the mobile phone requests with 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.

[0088] As Figure 6 shown, some mobile phones will make multiple rounds of card searches when unlocking. As Figure 7 shown, for the case where the induction is successful, the mobile phone makes one round of card search.

[0089] In this embodiment, through the multi-communication protocol solution, the probability of the NFC tag responding to the card-taking device is increased. By using different communication protocols for different NFC tags, the problem of conflicts generated by different NFC tags during communication can be isolated, so as to improve the effectiveness and reliability of the communication of the electronic device.

[0090] In some embodiments, the number of multiple NFC tags with the same content is determined based on at least one of the following:

[0091] Method 1: The preset induction range of the electronic device.

[0092] Method 2: The preset induction range of the card-reading device, where the card-reading device is a device that communicates with the electronic device based on NFC.

[0093] Method 3: The detuning influence information of the NFC module on the card-reading device.

[0094] It can be understood that in combination with Figure 3 , the above 3 methods are only used to exemplarily illustrate the possible value-taking methods of n, and cannot be understood as a limitation on the value-taking method of n and the value of n.

[0095] Now, continuing to take the above example and payment scenario as an example, the above 3 methods are elaborated as follows:

[0096] In Method 1, n can be determined based on the preset induction range of the POS machine. Among them, the preset induction range can be determined based on methods such as requirements, application scenarios, historical records, and experiments. This embodiment does not make any limitations.

[0097] For example, for a scenario where the preset sensing range is relatively large, in order to ensure that the NFC tag can be 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.

[0098] In Method 2, n can be determined based on the preset sensing range of the mobile phone. Similarly, in this embodiment, the preset sensing range is not limited, for example, it can be determined based on the performance of the mobile phone.

[0099] Correspondingly, for a scenario where the preset sensing range is relatively large, since the sensing ability of the mobile phone is strong and it can sense the NFC tag within a large range, n can be a relatively small value; for a scenario where the preset sensing range is relatively small, since the sensing ability of the mobile phone is relatively weak, in order to enable the mobile phone to efficiently sense the NFC tag, n can be a relatively large value.

[0100] In Method 3, n can be determined based on the detuning effect information of the NFC module on the mobile phone. For example, n can be determined according to the antenna of the NFC tag causing as large a detuning effect as possible on the antenna of the NFC tag in the mobile phone.

[0101] 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 the mobile phone sensing the NFC tag in the POS machine can be increased while avoiding resource waste.

[0102] In some embodiments, the antennas of multiple NFC tags with the same content are located in the preset antenna area of the electronic device.

[0103] Relatively speaking, the preset antenna area is an area where it is convenient for the card reading device to sense the NFC tag. Similarly, the preset antenna area can be determined based on requirements, application scenarios, historical records, and experiments, etc., and this embodiment does not limit it.

[0104] Among them, the card reading device can also have a corresponding antenna area. Taking the card reading 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 will not be listed one by one here.

[0105] In this embodiment, by deploying n antennas in the preset antenna area, it is convenient for the card reading device to perceive the NFC tag, so as to improve the effectiveness and reliability of communication between the electronic device and the card reading device.

[0106] It should be noted that in the above examples, the electronic device is mostly described as the device to be sensed and the mobile phone as the card-reading device. However, it should not be understood as a limitation on the electronic device and the card-reading device. In some communication scenarios, the electronic device is the device to be sensed, that is, it is sensed as the identity of a card. In other scenarios, the electronic device can also be used as a card-reading device to sense and read other cards.

[0107] For example, in the scenario where two mobile phones communicate for payment, the electronic device can be the mobile phone of the paying user or the mobile phone of the receiving user.

[0108] Combined with the above analysis, it can be seen that the above examples mainly increase the sensing area and communication range from the dimension of the number of NFC tags, that is, from the dimension of 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, there is a ceiling for the improvement of the antenna. For example, using a larger-sized antenna, limited by the relatively small antenna size of the mobile phone, for an antenna exceeding a certain size, the communication performance will instead decline.

[0109] Therefore, in some embodiments, n can also be determined in combination with the actual situation of the electronic device product, the shape of the antenna, the size of the antenna, etc., to ensure the reliability of improving communication performance by increasing the sensing area and communication range.

[0110] It should be noted that this embodiment does not limit the material of the antenna and the chip of the NFC tag, which can be determined based on requirements, application scenarios, historical data, and experiments.

[0111] For example, the antenna can adopt an empty tuning coil without modulation ability. The chip of the NFC tag can adopt the chip of the NFC tag with active load modulation ability. Relatively speaking, through this chip, the communication distance can be increased, and the sensing range can be increased with an empty tuning coil. Within the communication distance range of this chip, a relatively better communication effect can be achieved.

[0112] Based on the above technical concept, the present disclosure also provides an NFC-based communication method. This communication method is based on the electronic device described in the above embodiments, such as Figure 10 As shown, this communication method includes the following S101 and S102:

[0113] S101: When the electronic device obtains the current round of card search message initiated by the card-reading device, determine the type attributes of multiple NFC tags with the same content, where the type attributes are used to characterize whether the multiple NFC tags with the same content are sensed by the card-reading device, including the sensing type and the silent type.

[0114] Exemplarily, combined with Figure 10It can be known that the default state of the electronic device is the initial state, and the initial state is that the tag is to be read, that is, multiple NFC tags with the same content are in the to-be-read state.

[0115] After the card reader device is unlocked, it maintains the LPCD mode and sends an LPCD signal in the LPCD mode. Correspondingly, the electronic device receives the LPCD signal.

[0116] When the card reader device determines that a card is sensed based on the LPCD signal it sends and the monitored signal, it prepares to start card searching and then starts polling card searching.

[0117] Combined with the above example and Figure 6 It can be known that the card reader device's polling card searching is multi-round card searching. Therefore, for the current round of card searching, the card reader device sends a current-round card searching message to the electronic device. Correspondingly, the electronic device receives the current-round card searching message.

[0118] Among them, the current-round card searching message can be initiated by the card reader device based on a certain communication protocol. Therefore, when the electronic device receives the current-round card searching message, the NFC tags that support this communication protocol will respond, and other NFC tags will remain silent. Therefore, the type attribute of the NFC tags that support this communication protocol can be called the sensing type, and the type attribute of other NFC tags can be called the non-sensing type (or the silent type).

[0119] S102: The electronic device responds to the current-round card searching message according to the sensing type, where the response is used to read the tag data.

[0120] Correspondingly, if the type attribute determined by the electronic device is the sensing type, the electronic device responds to the current-round card searching message so that the card reader device can read the tag data according to this response.

[0121] Exemplarily, as Figure 10 shown, when the card reader device receives the response, it starts to read NFC data, and when the NFC data is completely read, it parses the NFC data and performs a page jump. Among them, when the electronic device finishes sending NFC data to the card reader device and does not receive the LPCD signal from the card reader device, it returns to the initial state.

[0122] In some embodiments, if the card reader device does not sense a card within a preset time period, it enters the next card search. The specific implementation principle can refer to the above example and will not be elaborated here.

[0123] As can be seen from the above analysis, in order to avoid conflicts among multiple NFC tags with the same content, at least two methods can be adopted. Method 1: Among multiple NFC tags with the same content, the communication protocols of different NFC tags may be different; Method 2: The communication protocols of different NFC tags are the same. For the convenience of readers to understand the above methods for avoiding conflicts, they will be elaborated separately below.

[0124] Regarding Method 1 - Among multiple NFC tags with the same content, the communication protocols of different NFC tags may be different:

[0125] In step S101 above, the electronic device determines the type attributes of multiple NFC tags with the same content, including: determining the type attribute of the current NFC tag, where the current NFC tag is any NFC tag among multiple NFC tags with the same content.

[0126] Also, in step S102 above, the electronic device responds to the current round of card search messages according to the induction type, where 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 of card search messages based on the current NFC tag, where the response is used to read the tag data of the current NFC tag.

[0127] Exemplarily, combining the above example and Figure 3 , taking the number of multiple NFC tags with the same content as 2, including NFC tag 1 and NFC tag 2, and the communication protocol supported by NFC tag 1 being 14443 Type A and the communication protocol supported by NFC tag 2 being 14443 Type B as an example:

[0128] If the communication protocol corresponding to the current round of card search messages sent by the card reading device is 14443 Type A, then NFC tag 1 will respond to the card reading device. The type attribute of NFC tag 1 is the induction type, and NFC tag 2 will not respond to the card reading device. The type attribute of NFC tag 2 is the silent type.

[0129] Correspondingly, the card reading device receives the response and knows that the response is from NFC tag 1, so the card reading device starts to read the NFC data in NFC tag 1.

[0130] Regarding Method 2 - The communication protocols of different NFC tags are the same:

[0131] In step S101 above, the electronic device determines the type attributes of multiple NFC tags with the same content, including: obtaining the respective type attributes corresponding to each NFC tag among multiple NFC tags with the same content.

[0132] In addition, in step S102, the electronic device responds to the current round of card searching messages according to the sensing type, where the response is used to read the tag data, including: responding to the current round of card searching messages according to each sensing type, and the response is used to read the tag data of the target NFC tag, where the target NFC tag is determined by the card reading device from the NFC tags corresponding to each sensing type respectively.

[0133] Exemplarily, combining the above example and Figure 3 , the number of multiple NFC tags with the same content is 2, including NFC tag 1 and NFC tag 2, and the communication protocols supported by both NFC tag 1 and NFC tag 2 are 14443 Type A and 14443 Type B:

[0134] If the communication protocol of the current round of card searching messages sent by the card reading device is 14443 Type A, and it is determined that the type attributes of both NFC tag 1 and NFC tag 2 are sensing types, then both NFC tag 1 and NFC tag 2 will respond to the card reading device.

[0135] Correspondingly, the card reading device receives the responses corresponding to NFC tag 1 and NFC tag 2 respectively, and selects one NFC tag from NFC tag 1 and NFC tag 2 for interaction. For example, if NFC tag 2 is selected for interaction, then NFC tag 2 is the target NFC tag, and NFC tag 2 enters the active state. Therefore, the card reading device starts to read the NFC data in NFC tag 2.

[0136] In some embodiments, when the card reading device finishes reading the data of the target NFC tag, other NFC tags except the target NFC tag are turned off to avoid the problem that the card reading device reads multiple NFC tags, resulting in the page being pulled up repeatedly.

[0137] Among them, when the radio frequency field of the card reading device is far away from the device and exceeds the communication range, each NFC tag returns to the default initial state.

[0138] It should be noted that the above example is only used to exemplarily illustrate the possible implementation manners of the NFC-based communication method of the present disclosure, and should not be construed as a limitation on the implementation manners of the NFC-based communication method of the present disclosure. Exemplarily, based on the above technical concept, some of the above technical features can be combined to obtain a new embodiment; new technical features can also be added based on the above example to obtain a new embodiment; some technical features can also be reduced based on the above example to obtain a new embodiment; some of the technical features in the above example can be replaced with other technical features; some of the technical features and the order in the above example can also be adjusted to obtain a new embodiment, etc., which will not be listed one by one here.

[0139] According to the above technical concept, the present disclosure also provides an NFC-based communication system, which includes a card-reading device and an electronic device as described in any one of the above embodiments. The card-reading device is a device that communicates with the electronic device based on NFC.

[0140] The card-reading device is configured to send a polling card-seeking message to the electronic device.

[0141] The electronic device is configured to execute the communication method as described in any one of the above embodiments according to the current polling card-seeking message and respond to the card-reading device, where the polling card-seeking message includes the current polling card-seeking message.

[0142] The card-reading device is further configured to read the tag data in the electronic device according to the response.

[0143] According to the above technical concept, the present disclosure also provides a processor-readable storage medium storing a computer program for causing the processor to execute the NFC-based communication method as described in any one of the above embodiments.

[0144] According to the above technical concept, the present disclosure also provides an NFC-based communication system, including:

[0145] At least one memory including at least a set of instructions for NFC communication;

[0146] At least one processor communicating with the at least one memory;

[0147] Wherein, 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.

[0148] According to the above technical concept, the present disclosure also provides a computer program product including a computer program, which implements the NFC-based communication method as described in any one of the above embodiments when executed by a processor.

[0149] According to the above technical concept, the present disclosure also provides an electronic device, including: a processor and a memory communicatively connected to the processor;

[0150] The memory stores computer-executable instructions;

[0151] The processor executes the computer-executable instructions stored in the memory to implement the NFC-based communication method as described in any one of the above embodiments.

[0152] Based on the above technical concept, 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 direct the processor to implement the steps of the NFC-based communication method described in this specification. In some possible implementation manners, various aspects of this specification can also be implemented in the form of a program product, which includes program code.

[0153] The above describes specific embodiments of this specification. 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 a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific order or a sequential order to achieve the desired result. In certain implementation manners, multitasking and parallel processing are also possible or may be advantageous.

[0154] In summary, after reading this detailed disclosure, those skilled in the art will understand that the foregoing detailed disclosure may be presented only by way of example and may not be restrictive. Although not explicitly stated herein, those skilled in the art can understand that this specification is intended to encompass various reasonable changes, improvements, and modifications to the embodiments. These changes, improvements, and modifications are intended to be proposed by this specification and are within the spirit and scope of the exemplary embodiments of this specification.

[0155] In addition, certain terms in this specification have been used to describe the embodiments of this specification. For example, "one embodiment", "an embodiment", and / or "some embodiments" mean that the specific features, structures, or characteristics described in connection with the embodiment may be included in at least one embodiment of this specification. Therefore, it should be emphasized and understood that two or more references to "an embodiment" or "one embodiment" or "alternative embodiments" in various parts of this specification do not necessarily all refer to the same embodiment. Additionally, the specific features, structures, or characteristics may be appropriately combined in one or more embodiments of this specification.

[0156] It should be understood that in the foregoing description of the embodiments of this specification, for the purpose of helping to understand a feature, for the purpose of simplifying this specification, this specification combines various features in a single embodiment, drawing, or its description. However, this does not mean that the combination of these features is necessary. Those skilled in the art may very well mark out some of the devices as separate embodiments when reading this specification. That is to say, the embodiments in this specification can also be understood as the integration of multiple sub-embodiments. And the content of each sub-embodiment is also valid when it has fewer features than all the features of a single foregoing disclosed embodiment.

[0157] Each patent, patent application, publication of patent application, and other materials cited herein, such as articles, books, specifications, publications, documents, items, etc., except those that are inconsistent with or conflict with this document, or those that have a limiting effect on the broadest scope of the claims, may be incorporated herein by reference and used for all purposes now or hereafter associated with this document. Further, in the event of any inconsistency or conflict between the description, definition, and / or use of relevant terms in any material and the description, definition, and / or use of relevant terms in this document, the terms in this document shall prevail.

[0158] 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 may 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, which is a mobile terminal. The electronic device includes an NFC module. The NFC module includes multiple NFC tags with the same content. The antennas of any two NFC tags do not completely overlap. The communication protocols of different NFC tags are the same, and the type attributes of different NFC tags are all induction types. Among them, after a card-reading device in a payment scenario reads a target tag among the multiple NFC tags, the mobile terminal turns off the other NFC tags among the multiple NFC tags except the target tag, so that the card-reading device cannot read the other NFC tags, to prevent the card-reading device from repeatedly reading the same content and repeatedly starting the payment process.

2. The electronic device according to claim 1, characterized in that, There is no overlapping area between the antennas of any two NFC tags.

3. The electronic device according to claim 2, wherein The antennas of the multiple NFC tags are arranged side by side to form an antenna array.

4. The electronic device according to claim 1, characterized in that, The number of the multiple NFC tags is determined based on at least one of the following: The preset induction range of the electronic device; The preset induction range of the card-reading device, where the card-reading device is a device that communicates with the electronic device based on NFC; The detuning influence information of the NFC module on the card-reading device.

5. The electronic device according to claim 1, characterized in that, The antennas of the multiple NFC tags are located in the preset antenna area of the electronic device.

6. 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 5. The communication method includes: When obtaining the current round of card search message initiated by the card-reading device, determining the type attributes of multiple NFC tags with the same content, where the type attribute is used to indicate whether the multiple NFC tags are sensed by the card-reading device, including induction type and non-induction type; Responding to the current round of card search message according to the induction type, where the response is used to read the tag data.

7. The communication method according to claim 6, wherein The communication protocols of the multiple NFC tags are the same; The determining the type attributes of multiple NFC tags with the same content includes: Obtaining the respective type attributes corresponding to each NFC tag among the multiple NFC tags; And, the responding to the current round of card search message according to the induction type, where the response is used to read the tag data, includes: Responding 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, where the target NFC tag is determined by the card-reading device from the NFC tags corresponding to each induction type.

8. A communication system based on NFC, characterized in that, The communication system includes a card-reading device and the electronic device according to any one of claims 1 to 5. The card-reading device is a device that communicates with the electronic device based on NFC; The card-reading device is used to initiate a polling card search message to the electronic device; The electronic device is used to execute the communication method according to claim 6 or 7 according to the current round of card search message and respond to the card-reading device, where the polling card search message includes the current round of card search message; The card-reading device is further used to read the tag data in the electronic device according to the response.

Citation Information

Patent Citations

  • Book borrowing and returning method and intelligent bookcase system

    CN110555959A

  • Data interaction method and device based on NFC

    CN115442780A

  • NFC (Near Field Communication) label group with relatively large induction range and intelligent household electrical appliance

    CN216647392U