CN114896997A - Card searching method, NFC chip and electronic equipment - Google Patents

Card searching method, NFC chip and electronic equipment Download PDF

Info

Publication number
CN114896997A
CN114896997A CN202210556278.1A CN202210556278A CN114896997A CN 114896997 A CN114896997 A CN 114896997A CN 202210556278 A CN202210556278 A CN 202210556278A CN 114896997 A CN114896997 A CN 114896997A
Authority
CN
China
Prior art keywords
hardware
parameter combination
nfc
hardware feature
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210556278.1A
Other languages
Chinese (zh)
Inventor
王子仪
孔庆尧
胡继云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Goodix Technology Co Ltd
Original Assignee
Shenzhen Goodix Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Goodix Technology Co Ltd filed Critical Shenzhen Goodix Technology Co Ltd
Priority to CN202210556278.1A priority Critical patent/CN114896997A/en
Publication of CN114896997A publication Critical patent/CN114896997A/en
Priority to PCT/CN2022/131936 priority patent/WO2023221427A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10297Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves arrangements for handling protocols designed for non-contact record carriers such as RFIDs NFCs, e.g. ISO/IEC 14443 and 18092
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10118Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step
    • G06K7/10128Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the sensing being preceded by at least one preliminary step the step consisting of detection of the presence of one or more record carriers in the vicinity of the interrogation device
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application provides a card searching method, an NFC chip and electronic equipment, and relates to the field of NFC, wherein the method comprises the following steps: selecting one hardware characteristic parameter combination from a plurality of hardware characteristic parameter combinations as a first hardware characteristic parameter combination; and if the card searching fails after the NFC chip is configured with the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into the second hardware characteristic parameter combination, and searching the card again according to the second hardware characteristic parameter combination. The method provided by the embodiment of the application is beneficial to the compatibility of the NFC equipment working in the RW mode with different NFC cards, so that the stability and the compatibility of the NFC equipment working in the RW mode can be improved.

Description

Card searching method, NFC chip and electronic equipment
Technical Field
The embodiment of the application relates to the field of NFC, in particular to a card searching method, an NFC chip and electronic equipment.
Background
Near Field Communication (NFC) has been widely used in human life as a Communication technology. The working modes of the NFC device mainly include two modes, namely a Card Emulation (CE) mode and a Card reading (Reader/Writer, RW) mode. It can be understood that the NFC device is an electronic device having an NFC chip, and when the NFC device is in the CE mode, the NFC device in the CE mode has a card simulation function, and at this time, the NFC device in the CE mode may be simulated as an NFC chip card, for example, an access card, a transportation card, a bank card, or the like, for being read and written by the NFC device in the RW mode. And when the NFC device is in the RW mode, the NFC device in the RW mode may actively transmit a radio frequency signal to identify and read and write other NFC cards, where the NFC card may be a card simulated by the NFC device in the CE mode or an ordinary NFC chip card, and at this time, the NFC device in the RW mode may be regarded as a card reading device, such as a POS, an access controller, a gate, or the like.
Different NFC devices working in the RW mode can be configured with different card reader hardware characteristic parameters, and the hardware characteristic parameters influence the success rate of NFC instruction interaction. Usually, the NFC card is also pre-configured with a set of chip card hardware feature parameters. Therefore, it is difficult for the NFC device operating in the RW mode to be compatible with different NFC cards, and therefore, the information reading of the NFC device operating in the RW mode to different NFC cards may be incomplete, or even no reaction may occur.
Disclosure of Invention
The embodiment of the application provides a card searching method, an NFC chip and electronic equipment, which are beneficial for the compatibility of NFC equipment working in a RW mode with different NFC cards, so that the stability and compatibility of the NFC equipment working in the RW mode can be improved.
In a first aspect, an embodiment of the present application provides a card searching method, which is applied to an electronic device, where the electronic device has an NFC chip, the NFC chip operates in a RW mode, the electronic device presets a plurality of hardware feature parameter combinations, each hardware feature parameter combination includes a plurality of sets of hardware feature parameters, and the method includes:
selecting one hardware characteristic parameter combination from a plurality of hardware characteristic parameter combinations as a first hardware characteristic parameter combination;
and if the card searching fails after the NFC chip is configured with the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into the second hardware characteristic parameter combination, and searching the card again according to the second hardware characteristic parameter combination.
In the embodiment of the application, a plurality of hardware characteristic parameter combinations are preset in the NFC equipment working in the RW mode, and after the card searching failure of the hardware characteristic parameter combinations, the hardware characteristic parameter combinations are switched and the card is searched again, so that the NFC equipment working in the RW mode can be compatible with different NFC cards, and the stability and the compatibility of the NFC equipment working in the RW mode can be improved.
In one possible implementation, each set of hardware characteristic parameters has a mapping relationship with a combination of the NFC mode, the NFC technology, and the bit rate.
In the embodiment of the application, different hardware characteristic parameters are mapped with the combination of the NFC mode, the NFC technology and the bit rate, so that the electronic equipment can be switched between different NFC technologies and different bit rates to match with the NFC cards configured with different hardware characteristic parameters, and therefore the success rate of card searching can be improved.
In one possible implementation manner, the hardware feature parameters in the first hardware feature parameter combination are the same as the NFC technologies corresponding to the hardware feature parameters in the second hardware feature parameter combination, and the bit rates are different.
The embodiment of the application can realize switching between hardware characteristic parameters with the same technology and different bit rates.
In one possible implementation manner, the NFC technology corresponding to the hardware feature parameter in the first hardware feature parameter combination is the same as the NFC technology corresponding to the hardware feature parameter in the second hardware feature parameter combination, and the different bit rates specifically include:
the first hardware feature parameter combination comprises first hardware feature parameters corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination comprises second hardware feature parameters corresponding to the first NFC technology and a second bit rate; the first bit rate is different from the second bit rate.
In one possible implementation manner, the NFC technology and the bit rate corresponding to the hardware feature parameter in the first hardware feature parameter combination and the hardware feature parameter in the second hardware feature parameter combination are the same, and the parameter values are different.
The embodiment of the application can realize switching between the hardware characteristic parameters with the same technology, the same bit rate and different parameter values.
In one possible implementation manner, the NFC technology and the bit rate corresponding to the hardware feature parameter in the first hardware feature parameter combination and the hardware feature parameter in the second hardware feature parameter combination are the same, and the different parameter values specifically include:
the first hardware feature parameter combination comprises first hardware feature parameters corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination comprises second hardware feature parameters corresponding to the first NFC technology and the first bit rate; the parameter value of the first hardware characteristic parameter is different from the parameter value of the second hardware characteristic parameter.
In one possible implementation, the first hardware characteristic parameter combination is determined by compatibility and/or coverage.
In the embodiment of the application, the first hardware characteristic parameter combination is selected through compatibility and/or coverage rate, and the hardware characteristic parameter combination with higher compatibility and/or coverage rate for the NFC card is preferentially selected, so that the card searching efficiency can be improved.
In one possible implementation manner, if the card search fails after the NFC chip configures the first hardware feature parameter combination, switching the first hardware feature parameter combination to the second hardware feature parameter combination includes:
and when the timer is overtime, if the card searching fails after the NFC chip is configured with the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into the second hardware characteristic parameter combination, and starting the timer after the electronic equipment is in dormancy.
In the embodiment of the application, the timer triggers the switching of the hardware characteristic parameters, so that long-time waiting after card searching failure can be avoided, and the card can enter dormancy as soon as possible, so that the power consumption is saved.
In one possible implementation manner, if the card search fails after the NFC chip configures the first hardware feature parameter combination, the method further includes:
and the NFC chip is sequentially configured with a plurality of sets of hardware characteristic parameters for searching the card, and the card searching fails.
In one possible implementation manner, before switching the first hardware feature parameter combination to the second hardware feature parameter combination, the method further includes:
enabling the NFC chip to enter a sleep mode;
switching the first hardware feature parameter combination to the second hardware feature parameter combination comprises:
and after the dormancy is finished, awakening the NFC chip and switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination.
In the embodiment of the application, the NFC chip enters the sleep state before the hardware characteristic parameters are switched, so that the power consumption of the whole NFC system can be reduced.
In a second aspect, an embodiment of the present application provides an NFC chip, including: the card searching module is used for executing any one of the card searching methods provided by the first aspect.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory for storing a computer program; the processor is used for running a computer program and executing the card searching method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to implement the card searching method according to the first aspect.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a card reading method provided by the present application;
FIG. 2 is a schematic diagram of a TD according to an embodiment of the present application;
fig. 3 is a schematic diagram of hardware feature parameter combination switching between TDs according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an NFC chip provided in the embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In the embodiments of the present application, unless otherwise specified, the character "/" indicates that the former and latter associated objects are in one or the other relationship. For example, A/B may represent A or B. "and/or" describe the association relationship of the associated objects, meaning that three relationships may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone.
It should be noted that the words "first", "second", and the like, referred to in the embodiments of the present application, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicit indication of the number of technical features indicated, nor as indicating or implicit order.
In the embodiments of the present application, "at least one" means one or more, "a plurality" means two or more. Further, "at least one of the following" or similar expressions refer to any combination of these items, and may include any combination of a single item or a plurality of items. For example, at least one (one) of A, B or C, may represent: a, B, C, A and B, A and C, B and C, or A, B and C. Wherein each of A, B, C may itself be an element or a collection of one or more elements.
In the present application embodiments, "exemplary," "in some embodiments," "in another embodiment," and the like are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term using examples is intended to present concepts in a concrete fashion.
In the embodiments of the present application, "of", "corresponding" and "corresponding" may be sometimes used in combination, and it should be noted that the intended meaning is consistent when the difference is not emphasized. In the embodiments of the present application, communication and transmission may be mixed, and it should be noted that the expressions are consistent when the differences are not emphasized. For example, a transmission may include a transmission and/or a reception, either a noun or a verb.
The method can be used with a larger than device and is applicable to the technical scheme adopted when the size is larger than the size, and can also be used with a smaller than device and is applicable to the technical scheme adopted when the size is smaller than the size. It should be noted that, when the ratio is equal to or greater than the ratio, the ratio is not equal to or less than the ratio; when the ratio is equal to or less than the combined ratio, the ratio is not greater than the combined ratio.
Currently, an NFC device operating in RW mode may be configured with multiple sets of hardware feature parameters for communicating with an NFC card. The hardware feature parameters may correspond to different NFC technologies, for example, the NFC technologies such as A, B, F and V. Therefore, the hardware feature parameters may include, according to the NFC technology, the following: RWA hardware feature parameters, RWB hardware feature parameters, RWF hardware feature parameters, RWV hardware feature parameters, and the like. The NFC equipment working in the RW mode can circularly use the hardware characteristic parameters to search the card. For example, card seeking can be sequentially attempted in the order of RWA- > RWB- > RWF- > RWV. It can be understood that the hardware characteristic parameters influence the success rate of NFC instruction interaction. It can be understood that the NFC card may also be preset with hardware characteristic parameters, and when the hardware characteristic parameters in the NFC card are adapted to the hardware characteristic parameters in the NFC device operating in the RW mode, the communication between the NFC card and the NFC device operating in the RW mode may be better completed.
However, in practical applications, although the NFC device operating in the RW mode may pre-configure multiple sets of hardware characteristic parameters, such as RWA, RWB, RWF, RWV, for each NFC technology, for any NFC technology, the hardware characteristic parameters of the technology used by the NFC card may have different bit rates and parameter values, which may make it difficult for the NFC device operating in the RW mode to be compatible with different NFC cards.
For example, if the NFC card is configured with one set of parameters in the CEA hardware feature parameters, the NFC device operating in the RW mode is configured with one set of parameters in the RWA hardware feature parameters. Although the NFC card and the NFC device operating in the RW mode use the same technology, the CEA hardware characteristic parameter is not adapted to the RWA hardware characteristic parameter, that is, the current NFC device operating in the RW mode cannot be compatible with the current NFC card, which may cause a failure in communication between the NFC card and the NFC device operating in the RW mode.
Based on the above problems, an embodiment of the present application provides a card searching method, which is applied to an electronic device, where the electronic device may be a terminal having an NFC card reading function, such as a mobile phone, a tablet computer, a wearable device, an access control device, a POS device, a gate, and the like; the form of the electronic device is not particularly limited in the embodiments of the present application. By the method, the NFC equipment working in the RW mode can be compatible with different NFC cards, and therefore stability and compatibility of the NFC equipment working in the RW mode can be improved. The NFC card may be a card simulated by an NFC device operating in a CE mode, or may be an ordinary NFC chip card, which is not particularly limited in this embodiment of the present application.
The card searching method provided by the embodiment of the present application will now be described with reference to fig. 1.
Fig. 1 is a schematic flowchart of an embodiment of a card searching method provided by the present application, where the card reading method is applied to an electronic device, the electronic device has an NFC chip, the NFC chip operates in a RW mode, the electronic device presets a plurality of hardware feature parameter combinations, each hardware feature parameter combination includes a plurality of sets of hardware feature parameters, and the method specifically includes the following steps:
step 101, selecting one hardware characteristic parameter combination from a plurality of hardware characteristic parameter combinations as a first hardware characteristic parameter combination.
Specifically, a plurality of hardware feature parameter combinations may be pre-stored in the electronic device, each hardware feature parameter combination may include a plurality of sets of hardware feature parameters, and the hardware feature parameters may be used to configure the NFC chip, so that the NFC chip searches for a card based on the configured hardware feature parameters. The above hardware feature parameter combinations may be pre-stored in the NFC chip, may also be stored in a memory or other hardware circuits of the electronic device, and may also be stored in the server, so that a user may remotely update the hardware feature parameters preset in the electronic device. The embodiment of the present application does not particularly limit the storage manner of the above-mentioned multiple hardware characteristic parameter combinations.
It can be understood that, when the plurality of hardware feature parameter combinations are stored in the electronic device, the storage space of the electronic device may be detected, if the storage space of the electronic device is sufficient to store the plurality of hardware feature parameter combinations, the plurality of hardware feature parameter combinations may be directly stored in the electronic device, and if the storage space of the electronic device is insufficient to store the plurality of hardware feature parameter combinations, the user may be prompted to release a part of the storage space in the electronic device so as to store the plurality of hardware feature parameter combinations.
Each set of hardware characteristic parameters may form a mapping relationship with a combination of the NFC mode, the NFC technology, and the bit rate in advance. Each set of hardware characteristic parameters may include M parameters, where M is a positive integer greater than or equal to 1. The NFC mode is used to characterize an operating mode of the NFC chip, and may include, for example, a CE mode and a RW mode; the NFC technology is used to characterize the technology adopted by the NFC chip, and may include A, B, F and V; the bit rate is used to characterize the data rate of the NFC chip. Taking NFC technologies A, B, F and V as examples, table 1 exemplarily shows a composition form of hardware characteristic parameters. It is to be understood that the above examples only exemplarily show the NFC technologies such as A, B, F and V, but do not constitute a limitation to the embodiments of the present application, and in some embodiments, more NFC technologies may be further included.
TABLE 1
Figure BDA0003652387010000051
As shown in Table 1, 14 sets of hardware characterization parameters may be included, including 5 sets of RW-A hardware characterization parameters, 5 sets of RW-B hardware characterization parameters, 2 sets of RW-F hardware characterization parameters, and 2 sets of RW-V hardware characterization parameters. It can be understood that the 14 sets of hardware feature parameters are to-be-selected hardware feature parameters, and a user may perform different combinations on the hardware feature parameters in the 14 sets of hardware feature parameters to obtain a plurality of hardware feature parameter combinations, where each hardware feature parameter combination may include a plurality of sets of hardware feature parameters, and the plurality of hardware feature parameter combinations selected by the user may be stored in the electronic device in advance. The above 14 sets of hardware characteristic parameters are merely illustrative, and do not constitute a limitation to the embodiments of the present application, and in some embodiments, more or less hardware specific parameters to be selected may also be included.
Referring to table 1, "ON" is used to characterize that the parameter is available, at which time, the user may preset a corresponding parameter value for the parameter, and "OFF" is used to characterize that the parameter is disabled, at which time, the user may not preset a corresponding parameter value for the parameter. Through the flag bits such as 'ON' and 'OFF', the integrity of the hardware characteristic parameters can be verified when the user sets the parameter values, and therefore, some parameters in the hardware characteristic parameters are prevented from being null values. In addition, when the user sets the parameter value for the parameter, the value range of the parameter value can be checked, for example, the value range of any parameter is preset, and if the parameter value of any parameter exceeds the preset range, an error can be reported, so that the correctness of the parameter value can be checked, and the setting error of the parameter value due to human negligence can be avoided.
By combining different hardware characteristic parameters, a plurality of hardware characteristic parameter combinations can be obtained. Wherein, the different hardware characteristic parameters may include: for example, the bit rate differs between hardware feature parameters with the same NFC technology between hardware feature parameter combinations; as another example, parameter values are different between hardware feature parameters having the same NFC technology and the same bit rate between hardware feature parameter combinations. It is understood that the NFC mode is RW mode for the electronic device as NFC card reader.
Table 2 is an exemplary diagram showing a plurality of combinations of hardware characteristic parameters selected by a user.
Figure BDA0003652387010000061
Referring to table 2, taking RW-B hardware characteristic parameters with a bit rate of 106k in the hardware characteristic parameter combination of number 1 and RW-B hardware characteristic parameters with a bit rate of 212k in the hardware characteristic parameter combination of number 2 as an example, the RW-B hardware characteristic parameters with a bit rate of 106k in the hardware characteristic parameter combination of number 1 and RW-B hardware characteristic parameters with a bit rate of 212k in the hardware characteristic parameter combination of number 2 are the same in NFC technology and different in bit rate; taking the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 1 and the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 3 as an example, the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 1 and the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 3 are the same in NFC technology, the bit rates are the same, and the parameter values are different. The parameter values may be different parameters, for example, the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 1 has parameter 1, and the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination numbered 3 does not have parameter 1; alternatively, the parameter values may be the same parameter, but the parameter values corresponding to the same parameter are different, for example, the parameter value of parameter 2 in RW-a hardware characterization parameter with bit rate 106k in the hardware characterization parameter combination of number 1 is a 12 And the parameter value of parameter 2 in RW-A hardware characteristic parameter with bit rate of 106k in the hardware characteristic parameter combination of number 3 is a 22 Wherein a is 12 And a 22 Different.
It can be understood that after the NFC chip is powered on or reset, the NFC chip is in an Idle (Idle) state, where the Idle state may correspond to an RFST _ Idle state in an NFC Controller Interface (NCI) specification, and a detailed description of the RFST _ Idle state may refer to the NCI specification and is not described herein again. In an idle state, the NFC chip may consider that the NFC chip is in a sleep state, and a radio frequency field may not be generated, so that power consumption of the entire NFC system in the electronic device may be reduced.
When the NFC chip sleep is finished, a DISCOVERY (Discover) state may be entered, which may correspond to the RFST _ Discover state in the NCI specification. The detailed description of RFST _ discover state may refer to the NCI specification, and is not repeated herein. In the discovery state, the electronic device may turn on the radio frequency field and may select one of a plurality of pre-stored hardware feature parameter combinations as the first hardware feature parameter combination. Then, the electronic device may configure the first hardware feature parameter combination to the current NFC chip, so that the NFC chip may search for a card based on the configured first hardware feature parameter combination, thereby discovering a peripheral NFC card. For example, the order of card seeking may be the order of hardware feature parameters configured by RWA- > RWB- > RWF- > RWV, that is, the electronic device may seek using the hardware feature parameters in sequence, where RWA, RWB, RWF and RWV are the hardware feature parameters in the first hardware feature parameter combination. It is understood that the order of card-seeking may be other orderings, such as RWF- > RWB- > RWA- > RWV, etc.
It should be noted that, because the electronic device is continuously searching for the card, the first hardware characteristic parameter combination may be a hardware characteristic parameter combination selected before the electronic device communicates with the NFC card, or a hardware characteristic parameter combination selected after the electronic device communicates with the NFC card, for example, a hardware characteristic parameter combination selected again after the electronic device fails to successfully communicate with the NFC card, that is, a switched hardware characteristic parameter combination.
The first hardware characteristic parameter combination can be randomly selected from a plurality of hardware characteristic parameter combinations pre-stored in the electronic device. Preferably, the specific selection manner of the first hardware characteristic parameter combination may also be, for example: a first hardware characteristic parameter combination is determined based on compatibility and/or coverage. The compatibility is used for representing the degree that the NFC technology and the bit rate are compatible with the NFC cards on the market, and the coverage rate is used for representing the coverage range of the NFC technology and the bit rate to the NFC cards on the market. It can be understood that, if the coverage rate is higher, it indicates that the NFC technology and the bit rate are covered by more NFC cards, and therefore, the hardware characteristic parameters corresponding to the NFC technology and the bit rate may be selected, so that the probability of successful communication may be increased. For example, taking table 2 as an example, suppose that RW-a hardware feature parameters with bit rate of 106k in the hardware feature parameter combination of number 1 can cover 60% of NFC cards on the market, and the coverage rate is higher than that of the hardware characteristic parameters of the same technology, the RW-B hardware characteristic parameters with the bit rate of 106k in the hardware characteristic parameter combination of the number 1 can cover 20 percent of NFC cards on the market, and the coverage rate is higher than that of the hardware characteristic parameters of the same technology, and similarly, the RW-F, RWV hardware characteristic parameter coverage rate in the hardware characteristic parameter combination with the number 1 is higher than that of the hardware characteristic parameters of the same technology in other combinations, i.e. the compatibility and/or coverage of the hardware feature parameter combination of number 1 is greater than other hardware feature parameter combinations, the hardware feature parameter combination of number 1 may be selected as the first hardware feature parameter combination. That is, the compatibility and/or coverage of the first hardware feature parameter combination is greater than that of the second hardware feature parameter combination after switching. By preferentially selecting the hardware characteristic parameter combination with higher compatibility and/or coverage rate for the NFC card, the success rate of card searching can be improved, and the communication efficiency is improved.
And step 102, if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination, and searching the card again according to the second hardware characteristic parameter combination.
Specifically, after the first hardware characteristic parameter combination is determined, the NFC chip may be sequentially configured based on multiple sets of hardware characteristic parameters in the first hardware characteristic parameter combination, so that the electronic device may search for a card based on the configured hardware characteristic parameters. It can be understood that, if the card search is successful, the electronic device and the NFC card may perform service interaction based on NFC, for example, swiping a gate, performing mobile payment, and the like.
If the card searching fails, that is, the NFC chip cannot use any hardware feature parameter in the first hardware feature parameter combination to successfully communicate with the NFC card, the electronic device may switch the first hardware feature parameter combination to the second hardware feature parameter combination, and may search for the card again according to the switched second hardware feature parameter combination.
In a specific implementation, the triggering manner for switching the hardware feature parameter combination may be, for example: after the timer is overtime, if the card searching fails after the NFC chip configures the first hardware feature parameter combination, the switching of the hardware feature parameter combination may be triggered, where the timer may be started after the electronic device is finished sleeping, or may be started when a discovery period of the electronic device starts, and may be closed after the electronic device and the NFC card successfully communicate with each other. It can be understood that, if the timer is not overtime, and the electronic device is successfully communicated with the NFC card, the NFC chip may perform service interaction with the NFC card based on the hardware feature parameters in the configured first hardware feature parameter combination, and may enter the sleep mode after the communication is completed without performing switching of the hardware feature parameter combination. And if the timer is overtime and the card searching fails, the NFC chip directly enters the dormancy state.
In addition, the specific manner of switching the first hardware feature parameter combination to the second hardware feature parameter combination may include the following:
mode 1 switches a first hardware feature parameter combination to a second hardware feature parameter combination, where bit rates of hardware feature parameters in the second hardware feature parameter combination are different from bit rates of hardware feature parameters in the first hardware feature parameter combination.
Taking table 2 as an example, if the first hardware feature parameter combination is the hardware feature parameter combination with the number 1, after the card search fails, the first hardware feature parameter combination may be switched to the second hardware feature parameter combination, where the second hardware feature parameter is the hardware feature parameter combination with the number 2, and the NFC technology is the same between the RW-B hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination with the number 1 and the RW-B hardware feature parameter with the bit rate of 212k in the hardware feature parameter combination with the number 2, and the bit rates are different.
Mode 2 switches the first hardware characteristic parameter combination to a second hardware characteristic parameter combination, where bit rates of hardware characteristic parameters in the second hardware characteristic parameter combination are the same as bit rates of hardware characteristic parameters in the first hardware characteristic parameter combination, and parameter values are different.
Taking table 2 as an example, if the first hardware feature parameter combination is the hardware feature parameter combination with the number 1, after the card search fails, the first hardware feature parameter combination may be switched to the second hardware feature parameter combination, where the second hardware feature parameter is the hardware feature parameter combination with the number 3, the bit rate of the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination with the number 1 is the same as that of the RW-a hardware feature parameter with the bit rate of 106k in the hardware feature parameter combination with the number 3, and the parameter values are different.
Optionally, before the first hardware feature parameter combination is switched, the NFC chip may also enter into a sleep mode, so that power consumption of the entire NFC system in the electronic device may be saved. It can be understood that, after the sleep is finished, the electronic device may wake up the NFC chip, and may switch the first hardware feature parameter combination after waking up the NFC chip.
In the embodiment of the application, a plurality of hardware characteristic parameter combinations are preset in the NFC equipment working in the RW mode, and after the card searching by using the hardware characteristic parameter combinations fails, the hardware characteristic parameter combinations are switched and the card searching is carried out again, so that the compatibility of the NFC equipment working in the RW mode with different NFC cards can be facilitated, and the stability and the compatibility of the NFC equipment working in the RW mode can be improved.
Next, the card searching method provided in the embodiment of the present application is further described with reference to fig. 2.
Fig. 2 is a schematic diagram of a complete duty cycle (TD) of NFC. As shown in fig. 2, a TD may include an idle period and a discovery period, where in the idle period, the NFC chip may be in an idle state, and at this time, the NFC chip does not generate a radio frequency field, that is, is in a power saving state. During the discovery period, the NFC chip may generate a radio frequency field for card searching.
Referring to fig. 3, an example of an electronic device preset with 5 hardware feature parameter combinations is described, where the 5 hardware feature parameter combinations may be respectively denoted as { RWA1, RWB1, RWF1, RWV1}, { RWA2, RWB2, RWF2, RWV2}, { RWA3, RWB3, RWF3, RWV3}, { RWA4, RWB4, RWF4, RWV4} and { RWA5, RWB5, RWF5, RWV5}, and specific creating manners of the 5 hardware feature parameter combinations may refer to the above embodiments and are not repeated herein.
After the NFC chip is powered on, the NFC chip may be initialized, for example, the NFC chip may be set to operate in a RW mode, and various NFC technologies in the RW mode may be enabled, so that the NFC chip may use the enabled NFC technologies. At this time, the NFC chip is in an idle state. It is understood that the embodiments of the present application are exemplified by the combination of technologies A, B, F and V, but are not limited to the present application, and in some embodiments, more or less other combinations of technologies may be included, for example, the technology a, or the combination of technologies a and F, or the combination of technologies B and F, or the combination of technologies a and B, or the combination of technologies A, B and F, or the combination of A, B, F, V and other technologies, etc.
After the NFC chip enters the first TD, the NFC chip enters the discovery period of the first TD, that is, is in the discovery state. At this time, the electronic device may select one hardware feature parameter combination from a plurality of preset hardware feature parameter combinations as a first hardware feature parameter combination, and may sequentially configure a plurality of sets of hardware feature parameters in the first hardware feature parameter combination to the NFC chip. Next, the NFC chip may initiate a card-seeking process in sequence according to the configured hardware feature parameters in the first hardware feature parameter combination. Taking the example of the first hardware feature parameter combination { RWA1, RWB1, RWF1, RWV1} and the NFC chip first initiating a card-seeking process using a technology a, the NFC chip may seek a card using RWA1 hardware feature parameters. It can be understood that, if the card search of the NFC chip using the a technology fails, another NFC technology (for example, the B technology) may be selected from the first hardware feature parameter combination for performing the card search until the card search is successful or all hardware feature parameters in the first hardware feature parameter combination are tried to be completed. In the process of attempting card searching by using the hardware feature parameters in the first hardware feature parameter combination, if the card searching by using any hardware feature parameter is successful in the discovery period of the first TD, the NFC chip may communicate with the NFC card by using the current hardware feature parameter. If the card searching fails in the discovery period of the first TD, that is, all the hardware feature parameters in the first hardware feature parameter combination cannot be successfully communicated with the NFC card, the NFC chip enters the idle period of the first TD, and thus can enter the sleep mode, so that the power consumption of the whole NFC system of the electronic device can be saved. In a specific implementation, when entering the first TD, it may also be understood that after the sleep is ended, or when the discovery period of the first TD starts, the NFC chip may start a timer, for example, a duration of the timer may be 5ms, or may be other values, which is not specifically limited in this embodiment of the present application. During this timer time, the NFC chip may attempt to use all hardware feature parameters in the first hardware feature parameter combination for card seeking. When the timer is overtime, if the card searching of the electronic equipment still fails, the electronic equipment can directly enter the dormancy state; if the timer is not overtime and the card searching of the electronic equipment is successful, the electronic equipment can communicate with the NFC card and can enter the dormancy after the communication is finished.
And after the dormancy is finished, the NFC chip enters a discovery period of a second TD. It is understood that the end of sleep refers to the end of the idle period. At this time, the electronic device may wake up the NFC chip again, and the NFC chip enters the discovery state again. The electronic device may then switch the first hardware feature parameter combination to, for example, { RWA2, RWB2, RWF2, RWV2 }. Then, the NFC chip may perform configuration based on the switched hardware feature parameter combination, and perform card searching again through the configured hardware feature parameter combination. If the card searching is successful in the discovery period of the second TD, the NFC chip uses the current hardware characteristic parameters to communicate with the NFC card. If the card searching fails in the discovery period of the second TD, that is, all the hardware feature parameters in the switched hardware feature parameter combination cannot be successfully searched, the NFC chip enters an idle period of the second TD and enters the sleep mode again.
And after the dormancy is finished, the NFC chip enters a discovery period of a third TD. At this time, the electronic device may wake up the NFC chip again, and the NFC chip enters the discovery state again. Then, the electronic device may switch the above-mentioned switched hardware feature parameter combination (e.g., { RWA2, RWB2, RWF2, RWV2}) again, for example, may switch to { RWA3, RWB3, RWF3, RWV3 }. Then, the NFC chip may be configured based on the switched hardware feature parameter combination (e.g., { RWA3, RWB3, RWF3, RWV3}), and perform card seeking again through the configured hardware feature parameter combination. And if the card is successfully searched in the discovery period of the third TD, the NFC chip uses the current hardware characteristic parameters to communicate with the NFC card. If the card searching fails in the discovery period of the third TD, that is, all the hardware feature parameters in the switched hardware feature parameter combination cannot be successfully communicated with the NFC card, the NFC chip enters the idle period of the third TD and enters the sleep mode again.
After the sleep is finished, the NFNFC chip enters a discovery period of a fourth TD. At this time, the electronic device may wake up the NFC chip again, and the NFC chip enters the discovery state again. Then, the electronic device may switch the above-mentioned switched hardware feature parameter combination (e.g., { RWA3, RWB3, RWF3, RWV3}) again, for example, may switch to { RWA4, RWB4, RWF4, RWV4 }. Then, the NFC chip may be configured based on the switched hardware feature parameter combination (e.g., { RWA4, RWB4, RWF4, RWV4}), and perform card seeking again through the configured hardware feature parameter combination. If the card searching is successful in the discovery period of the fourth TD, the NFC chip uses the current hardware characteristic parameters to communicate with the NFC card. If the card searching fails in the discovery period of the fourth TD, that is, all the hardware feature parameters in the switched hardware feature parameter combination cannot be successfully communicated with the NFC card, the NFC chip enters an idle period of the fourth TD and enters the sleep mode again.
And after the dormancy is finished, the NFC chip enters a discovery period of a fifth TD. At this time, the electronic device may wake up the NFC chip again, and the NFC chip enters the discovery state again. Then, the electronic device may switch the above-mentioned switched hardware feature parameter combination (e.g., { RWA4, RWB4, RWF4, RWV4}) again, for example, may switch to { RWA5, RWB5, RWF5, RWV5 }. Then, the NFC chip may be configured based on the switched hardware feature parameter combination (e.g., { RWA5, RWB5, RWF5, RWV5}), and perform card seeking again through the configured hardware feature parameter combination. If the card is found successfully in the discovery period of the fifth TD, the NFC chip uses the current hardware characteristic parameters to communicate with the NFC card. If the card searching fails in the discovery period of the fifth TD, that is, all the hardware feature parameters in the switched hardware feature parameter combination cannot be successfully communicated with the NFC card, the NFC chip enters the idle period of the fifth TD and enters the sleep mode again.
It is understood that, when the electronic device still fails to search the card after trying all the preset hardware feature parameter combinations, the above steps of the first TD to the fifth TD may be executed again.
Fig. 4 is a schematic structural diagram of an embodiment of an NFC chip provided in the present application, as shown in fig. 4, where the NFC chip 40 is applied to an electronic device, that is, the electronic device has the NFC chip, the NFC chip operates in a RW mode, the electronic device presets a plurality of hardware feature parameter combinations, each hardware feature parameter combination includes a plurality of sets of hardware feature parameters, and the NFC chip 40 may include: a selecting module 41 and a card searching module 42; wherein,
a selecting module 41, configured to select one hardware feature parameter combination from the multiple hardware feature parameter combinations as a first hardware feature parameter combination;
and the card searching module 42 is configured to, if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination, switch the first hardware characteristic parameter combination to the second hardware characteristic parameter combination, and search for the card again according to the second hardware characteristic parameter combination.
In one possible implementation, each set of hardware characteristic parameters has a mapping relationship with a combination of the NFC mode, the NFC technology, and the bit rate.
In one possible implementation manner, the hardware feature parameters in the first hardware feature parameter combination are the same as the NFC technologies corresponding to the hardware feature parameters in the second hardware feature parameter combination, and the bit rates are different.
In one possible implementation manner, the first hardware feature parameter combination includes a first hardware feature parameter corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination includes a second hardware feature parameter corresponding to the first NFC technology and a second bit rate; the first bit rate is different from the second bit rate.
In one possible implementation manner, the NFC technologies and bit rates corresponding to the hardware characteristic parameters in the first hardware characteristic parameter combination and the hardware characteristic parameters in the second hardware characteristic parameter combination are the same, and parameter values are different.
In one possible implementation manner, the first hardware feature parameter combination includes a first hardware feature parameter corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination includes a second hardware feature parameter corresponding to the first NFC technology and the first bit rate; the parameter value of the first hardware characteristic parameter is different from the parameter value of the second hardware characteristic parameter.
In one possible implementation, the first hardware characteristic parameter combination is determined by compatibility and/or coverage.
In one possible implementation manner, the card searching module 42 is specifically configured to, after the timer is overtime, switch the first hardware characteristic parameter combination to the second hardware characteristic parameter combination if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination, and start the timer after the electronic device is finished sleeping.
In one possible implementation manner, the NFC chip sequentially configures the multiple sets of hardware feature parameters to search for a card.
In one possible implementation manner, the card searching module 42 is further configured to enable the NFC chip to enter a sleep state;
and after the dormancy is finished, awakening the NFC chip and switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination.
Fig. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present application, where the electronic device 500 may include: at least one processor; and at least one memory communicatively coupled to the processor. The electronic device 500 may be an NFC device. The memory stores program instructions executable by the processor, and the processor can call the program instructions to perform actions performed by the NFC device according to the embodiment of the present disclosure.
As shown in fig. 5, the electronic device 500 may take the form of a general purpose computing device. The components of the electronic device 500 may include, but are not limited to: one or more processors 510, a memory 520, a communication bus 540 connecting the various system components (including the memory 520 and the processors 510), and a communication interface 530.
Communication bus 540 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 500 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 520 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) and/or cache Memory. The electronic device 500 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a Compact disk Read Only Memory (CD-ROM), Digital versatile disk Read Only Memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 540 by one or more data media interfaces. Memory 520 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the application.
A program/utility having a set (at least one) of program modules, including but not limited to an operating system, one or more application programs, other program modules, and program data, may be stored in memory 520, each of which examples or some combination may include an implementation of a network environment. The program modules generally perform the functions and/or methodologies of the embodiments described herein.
The electronic device 500 may also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the electronic device 500, and/or any devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur through communication interface 530. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public Network such as the internet) via a Network adapter (not shown in fig. 5) that may communicate with other modules of the electronic device via the communication bus 540. It should be appreciated that although not shown in FIG. 5, other hardware and/or software modules may be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, Redundant processing units, external disk drive Arrays, disk array (RAID) systems, tape Drives, and data backup storage systems, to name a few.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. The card searching method is applied to electronic equipment, the electronic equipment is provided with a Near Field Communication (NFC) chip, the NFC chip works in a card Reading (RW) mode, the electronic equipment presets a plurality of hardware characteristic parameter combinations, and each hardware characteristic parameter combination comprises a plurality of sets of hardware characteristic parameters, and the method comprises the following steps:
selecting one hardware characteristic parameter combination from the plurality of hardware characteristic parameter combinations as a first hardware characteristic parameter combination;
and if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination, and searching the card again according to the second hardware characteristic parameter combination.
2. The method of claim 1, wherein each set of hardware feature parameters has a mapping relationship with a combination of NFC mode, NFC technology, and bit rate.
3. The method of claim 2, wherein the hardware feature parameters in the first hardware feature parameter combination are the same as the NFC technology corresponding to the hardware feature parameters in the second hardware feature parameter combination, and wherein the bit rates are different.
4. The method according to claim 3, wherein the hardware feature parameters in the first hardware feature parameter combination are the same as the NFC technology corresponding to the hardware feature parameters in the second hardware feature parameter combination, and the different bit rates specifically include:
the first hardware feature parameter combination comprises first hardware feature parameters corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination comprises second hardware feature parameters corresponding to the first NFC technology and a second bit rate; the first bit rate is different from the second bit rate.
5. The method of claim 2, wherein the hardware feature parameters in the first hardware feature parameter combination correspond to the same NFC technology and bit rate as the hardware feature parameters in the second hardware feature parameter combination, and wherein the parameter values are different.
6. The method according to claim 5, wherein the NFC technology and the bit rate corresponding to the hardware feature parameters in the first hardware feature parameter combination are the same as the NFC technology and the bit rate corresponding to the hardware feature parameters in the second hardware feature parameter combination, and the parameter values are different specifically includes:
the first hardware feature parameter combination comprises first hardware feature parameters corresponding to a first NFC technology and a first bit rate, and the second hardware feature parameter combination comprises second hardware feature parameters corresponding to the first NFC technology and the first bit rate; the parameter value of the first hardware characteristic parameter is different from the parameter value of the second hardware characteristic parameter.
7. The method of claim 1, wherein the first hardware feature parameter combination is determined by compatibility and/or coverage.
8. The method of claim 1, wherein if the card search fails after the NFC chip configures the first hardware feature parameter combination, switching the first hardware feature parameter combination to a second hardware feature parameter combination comprises:
and after the timer is overtime, if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination, switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination, and starting the timer after the electronic equipment is in dormancy.
9. The method of claim 1, wherein if the card search fails after the NFC chip configures the first hardware feature parameter combination, the method further comprises:
and the NFC chip sequentially configures the plurality of sets of hardware characteristic parameters to search for the card, and the card searching fails.
10. The method according to any of claims 1-9, wherein prior to switching the first hardware feature parameter combination to the second hardware feature parameter combination, the method further comprises:
putting the NFC chip into sleep;
the switching the first hardware feature parameter combination to a second hardware feature parameter combination comprises:
and after the dormancy is finished, awakening the NFC chip and switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination.
11. An NFC chip is applied to an electronic device, the NFC chip works in a card reading RW mode, the electronic device presets a plurality of hardware characteristic parameter combinations, each hardware characteristic parameter combination comprises a plurality of sets of hardware characteristic parameters, and the NFC chip comprises:
a selecting module, configured to select one of the hardware feature parameter combinations as a first hardware feature parameter combination;
and the card searching module is used for switching the first hardware characteristic parameter combination into a second hardware characteristic parameter combination and searching the card again according to the second hardware characteristic parameter combination if the card searching fails after the NFC chip configures the first hardware characteristic parameter combination.
12. An electronic device, comprising: a processor and a memory for storing a computer program; the processor is used for running a computer program and executing the card searching method according to any one of claims 1 to 10.
CN202210556278.1A 2022-05-19 2022-05-19 Card searching method, NFC chip and electronic equipment Pending CN114896997A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210556278.1A CN114896997A (en) 2022-05-19 2022-05-19 Card searching method, NFC chip and electronic equipment
PCT/CN2022/131936 WO2023221427A1 (en) 2022-05-19 2022-11-15 Card searching method, nfc chip, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210556278.1A CN114896997A (en) 2022-05-19 2022-05-19 Card searching method, NFC chip and electronic equipment

Publications (1)

Publication Number Publication Date
CN114896997A true CN114896997A (en) 2022-08-12

Family

ID=82723119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210556278.1A Pending CN114896997A (en) 2022-05-19 2022-05-19 Card searching method, NFC chip and electronic equipment

Country Status (2)

Country Link
CN (1) CN114896997A (en)
WO (1) WO2023221427A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221427A1 (en) * 2022-05-19 2023-11-23 深圳市汇顶科技股份有限公司 Card searching method, nfc chip, and electronic device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8971800B2 (en) * 2011-05-31 2015-03-03 Qualcomm Incorporated Methods and apparatus for improving NFC activation and data exchange reporting mechanisms
US20160174267A1 (en) * 2014-12-15 2016-06-16 Qualcomm Incorporated Proprietary packet exchange for enhanced nfc communication
CN113329379B (en) * 2020-02-29 2023-04-18 华为技术有限公司 Communication method, device and system based on NFC
CN114896997A (en) * 2022-05-19 2022-08-12 深圳市汇顶科技股份有限公司 Card searching method, NFC chip and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023221427A1 (en) * 2022-05-19 2023-11-23 深圳市汇顶科技股份有限公司 Card searching method, nfc chip, and electronic device

Also Published As

Publication number Publication date
WO2023221427A1 (en) 2023-11-23

Similar Documents

Publication Publication Date Title
US10715381B2 (en) Intelligent role selection for dual-role devices
US11057762B2 (en) Electronic device and method for switching electronic device between dual standby mode and single standby mode
US20150065053A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
CN102196021A (en) System for remotely erasing data, method, server, and mobile device thereof
CN102567135B (en) Refreshing/recovering method and electronic equipment
CN104285210B (en) The methods, devices and systems of recovery operation system on the portable communication device
CN101833574B (en) Method and system for locating application programs
CN104205755A (en) Method, device, and system for delaying packets during a network-triggered wake of a computing device
CN113419679B (en) Storage device, system-on-chip, electronic equipment and storage method
CN105975063B (en) A kind of method and apparatus controlling intelligent terminal
CN114896997A (en) Card searching method, NFC chip and electronic equipment
CN103118193B (en) Method and device for switching users by voice based on mobile terminal
US11323880B2 (en) Method for wireless connection and electronic device therefor
CN105159703B (en) The method and system of factory reset
CN115001540A (en) Card simulation method, NFC chip and electronic device
CN105848089A (en) Data processing method, data sending method, and relevant equipment
US20210273741A1 (en) Communication device and communication control method
CN110162389B (en) Application program starting method and device and intelligent interaction equipment
EP2930915A1 (en) Method for setting functional module name of mobile terminal, and mobile terminal
CN102752305B (en) It is capable of the technology of the certification network insertion of high efficiency synchronous
EP3989215A1 (en) Synchronous display blinking
US20170166143A1 (en) Method for implementing automobile control system and electronic device
CN104519598B (en) A kind of information processing method and the first electronic equipment
US20160171043A1 (en) Template generation in electronic device
EP2566259B1 (en) Method and apparatus for configuring ping interval in a portable terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination