CN112069848B - Card selection method, chip, terminal and storage medium for NFC card simulation mode - Google Patents

Card selection method, chip, terminal and storage medium for NFC card simulation mode Download PDF

Info

Publication number
CN112069848B
CN112069848B CN202011263137.8A CN202011263137A CN112069848B CN 112069848 B CN112069848 B CN 112069848B CN 202011263137 A CN202011263137 A CN 202011263137A CN 112069848 B CN112069848 B CN 112069848B
Authority
CN
China
Prior art keywords
card
smart card
smart
candidate
terminal
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.)
Active
Application number
CN202011263137.8A
Other languages
Chinese (zh)
Other versions
CN112069848A (en
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 CN202011263137.8A priority Critical patent/CN112069848B/en
Publication of CN112069848A publication Critical patent/CN112069848A/en
Application granted granted Critical
Publication of CN112069848B publication Critical patent/CN112069848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • G06K19/07749Constructional details, e.g. mounting of circuits in the carrier the record carrier being capable of non-contact communication, e.g. constructional details of the antenna of a non-contact smart card

Abstract

The embodiment of the application relates to the technical field of near field communication, and discloses a card selection method, a chip, electronic equipment and a storage medium for an NFC card simulation mode. The card selecting method comprises the following steps: after detecting that the terminal enters a radio frequency range of a card reader, acquiring a plurality of candidate intelligent card groups obtained by grouping various candidate intelligent cards; acquiring each smart card group to be selected which meets the filtering condition; determining the priority of each smart card group to be selected; traversing each intelligent card group to be selected according to the priority of each intelligent card group to be selected, and trying to establish communication connection with a card reader according to the information of the currently traversed intelligent card group to be selected; if communication connection is successfully established with the card reader according to the information of the currently traversed intelligent card group to be selected, the target intelligent card is determined according to the currently traversed intelligent card group to be selected, and card swiping operation is performed through the target intelligent card and the card reader, so that user operation can be reduced, and card swiping convenience is improved.

Description

Card selection method, chip, terminal and storage medium for NFC card simulation mode
Technical Field
The embodiment of the application relates to the technical field of near field communication, in particular to a card selection method, a chip, a terminal and a storage medium for an NFC card simulation mode.
Background
Near Field Communication (NFC) technology allows contactless point-to-point data transmission between devices. NFC has become more popular and accepted by the general public in recent years because of its high security. The development of terminals having NFC functionality therein is particularly rapid. Currently, a terminal with NFC functionality can generally operate in three modes: card reader mode, card emulation mode, peer-to-peer mode. The card simulation mode is that the terminal can be simulated as a non-contact Integrated Circuit (IC) card, and a user can interact with the card reader by holding the terminal in hand to complete operations such as swiping a bank card, swiping a bus card or swiping an access card, so that great convenience is brought to life. Currently, in the process of simulating a card swiping business of a smart card by using a handheld terminal (such as a mobile phone), a user is required to perform a series of operations before swiping the card, and the operations are as follows: firstly, lightening a mobile phone screen and entering a card selection program; then, selecting one card for the next card swiping; and finally, the mobile phone is close to the card swiping equipment, and the card swiping is carried out by using the selected card.
However, the inventors found that at least the following problems exist in the related art: the series of operations performed by the user before swiping the card causes inconvenience for the user to swipe the card by using the simulated smart card, and the card swiping convenience is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a card selection method, a chip, a terminal and a storage medium for an NFC card simulation mode, so that user operations can be reduced, and convenience in card swiping is improved.
In order to solve the above technical problem, an embodiment of the present application provides a card selection method for an NFC card simulation mode, including: after detecting that a terminal enters a radio frequency range of a card reader, acquiring a plurality of candidate intelligent card groups obtained by grouping each candidate intelligent card in the terminal; judging whether the candidate smart card groups meet the filtering condition or not to obtain each to-be-selected smart card group meeting the filtering condition; determining the priority of each smart card group to be selected; sequentially traversing each to-be-selected smart card group according to the sequence of the priority of each to-be-selected smart card group from high to low, and trying to establish communication connection with the card reader according to the currently traversed information of the to-be-selected smart card group; if communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card group, determining a target smart card according to the currently traversed to-be-selected smart card group, and performing card swiping operation through the target smart card and the card reader.
The embodiment of the application also provides a card selection method for the NFC card simulation mode, which comprises the following steps: after detecting that the terminal enters a radio frequency range of a card reader, judging whether each candidate smart card in the terminal meets a filtering condition, and acquiring each smart card to be selected which meets the filtering condition; determining the priority of each smart card to be selected; sequentially traversing each smart card to be selected according to the sequence of the priority of each smart card to be selected from high to low, and trying to establish communication connection with the card reader according to the information of the currently traversed smart card to be selected; and if communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card, performing card swiping operation with the card reader through the currently traversed to-be-selected smart card.
The embodiment of the application also provides a chip, wherein the chip is located in a terminal and is connected with a memory in the terminal, and the memory stores instructions executable by the chip, and the instructions are executed by the chip, so that the chip can execute the card selection method for the NFC card simulation mode.
An embodiment of the present application further provides a terminal, including: the chip and a memory connected with the chip.
Embodiments of the present application also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the above-described card selection method for the NFC card emulation mode.
In the embodiment of the application, after the terminal is detected to enter the radio frequency range of the card reader, namely, after a user approaches the card reader, the screen of the terminal does not need to be lightened, a card selecting program is entered, and the intelligent card is manually selected to be swiped, so that the user operation is reduced, and the convenience of swiping the card is improved. And whether the candidate smart card groups meet the filtering condition is judged, namely the candidate smart card groups are filtered by taking the groups as units, so that the filtering speed is favorably improved, each to-be-selected smart card group meeting the filtering condition is obtained, the traversal range is favorably reduced, the traversal speed is favorably improved, and the card selecting speed is improved. The intelligent card groups to be selected are sequentially traversed from high to low through the priority of each intelligent card group to be selected, so that communication connection with the card reader is tried according to the information of each intelligent card group to be selected in a reasonable sequence, the number of trying times is reduced, communication connection with the card reader is rapidly and successfully established, and the card selecting speed is further improved.
In addition, the obtaining of the plurality of candidate smart card groups obtained by grouping the candidate smart cards in the terminal includes: grouping the candidate smart cards according to the parameters of the candidate smart cards in the terminal for establishing communication connection to obtain a plurality of candidate smart card groups; wherein there is no conflict in the parameters for establishing communication connection of the candidate smart cards in the same group of candidate smart cards. That is to say, according to whether the parameters for establishing the communication connection of each candidate smart card conflict or not, the candidate smart cards are grouped, and the candidate smart cards with the parameters for establishing the communication connection that do not conflict are grouped into one group, which is beneficial to improving the reasonability of grouping.
In addition, the screening conditions include: the geographical location of the terminal satisfies the geographical location requirements of the candidate smart card and/or the security element to which the candidate smart card belongs is allowed to be activated. That is to say, in the embodiment of the application, the smart cards whose geographic location requirements can be met and/or the smart cards whose security units are allowed to be activated are screened out, and the smart cards whose geographic location requirements are not met and/or the smart cards whose security units are not allowed to be activated are filtered out, so that the number of candidate smart cards is favorably controlled within a reasonable range, and the speed of successfully establishing communication connection with the card reader is increased while the success rate of establishing communication connection with the card reader is not influenced.
In addition, the filtering conditions include: the NFC technology type of at least one candidate smart card in the candidate smart card group belongs to the NFC technology type supported by the card reader, and/or the card type of at least one candidate smart card in the candidate smart card group belongs to the card type supported by the card reader. That is to say, the candidate smart card groups of the candidate smart cards not including the NFC technology type supported by the card reader and/or the candidate smart card groups of the candidate smart cards not including the card type supported by the card reader are filtered, so that the candidate smart card groups are favorably and reasonably filtered, and the possibility that the filtered candidate smart card groups and the card reader can successfully establish communication connection is improved.
In addition, the information of the smart card group to be selected comprises: the parameters of the to-be-selected smart card group for establishing communication connection are as follows: and merging the parameters of the smart cards to be selected in the set of the smart cards to be selected for establishing the communication connection to obtain merged parameters. That is to say, parameters for establishing communication connection of the to-be-selected smart cards in the same to-be-selected smart card group are combined to obtain parameters for establishing communication connection corresponding to the to-be-selected smart card group, then, communication connection establishment with the card reader is attempted according to the parameters for establishing communication connection corresponding to the to-be-selected smart card group, namely the combined parameters, so that the number of times of attempting to establish communication connection is reduced to a certain extent, a process of attempting to establish communication connection based on the parameters for establishing communication connection of each to-be-selected smart card in the to-be-selected smart card group is not required, and the speed of successfully establishing communication connection with the card reader is improved.
In addition, if after traversing each to-be-selected smart card group, the communication connection with the card reader is not successfully established, the method further comprises: sending out notification information of card selection failure; and/or popping up a preset card selection interface for the user to select the smart card. That is to say, if the automatic card selection fails, a notification message can be sent to notify the user, so that the user can conveniently know the result of the current card selection failure, and/or a preset card selection interface for the user to select the smart card is popped up, thereby being beneficial to improving the use experience of the user.
Drawings
One or more embodiments are illustrated by the corresponding figures in the drawings, which are not meant to be limiting.
Fig. 1 is a flowchart of a card selection method for NFC card emulation mode according to a first embodiment of the present application;
fig. 2 is a flow chart of a card selection method for NFC card emulation mode according to a second embodiment of the present application;
fig. 3 is a schematic block diagram of a card selection method for an NFC card emulation mode according to a second embodiment of the present application;
fig. 4 is a flow chart of a card selection method for NFC card emulation mode according to a third embodiment of the present application;
fig. 5 is a flow chart of a card selection method for NFC card emulation mode according to a fourth embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal according to a fifth embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following describes each embodiment of the present application in detail with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in various embodiments of the present application in order to provide a better understanding of the present application. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present application, and the embodiments may be mutually incorporated and referred to without contradiction.
The first embodiment of the application relates to a card selection method for an NFC card simulation mode, which is applied to a contactless near field communication chip, for example, an NFC chip. In concrete realization, the NFC chip can set up in the terminal, and the terminal can be electronic equipment such as smart mobile phone, intelligent bracelet, intelligent wrist-watch. The application scenario of the embodiment of the application may be as follows: the user uses the terminal to simulate the card swiping service of the smart card, and the card swiping service comprises but is not limited to: swiping a bank card, swiping a bus card and swiping an access card. The following describes implementation details of the card selection method for the NFC card simulation mode in this embodiment in a specific manner, and the following description is only provided for the convenience of understanding and is not necessary for implementing this embodiment.
Before the embodiment of the invention is introduced, a mobile phone intelligent terminal simulation card is simply introduced:
in the conventional various smart cards, such as bus cards, bank cards, medical insurance cards and the like, because the cards contain chips, data can be read by various card readers for swiping the cards, and the common chips for the smart cards are in two categories, one category is contact type swiping, such as a common card-inserting POS machine, and the other category is non-contact type swiping, and the card contains a non-contact type data transmission control chip (containing a matched antenna) similar to NFC, such as a common bus card which is close to the card reader for swiping the card. The common entity card functions are simulated through a mobile phone terminal, which is called a mobile phone simulation card, no actual card exists at this time, and only relevant information or programs of the card are added in the mobile phone terminal to simulate an intelligent card, so that the same mobile phone terminal can realize the simulation of multiple cards and multiple cards through the matching of an NFC chip and a safety element, namely, the multiple intelligent cards are installed on the mobile phone, and the same mobile phone terminal can be used for realizing different behaviors of card swiping authentication, card swiping consumption and the like in different occasions. In addition, for the sake of simplicity, the whole chip module capable of implementing NFC communication is denoted by an NFC chip herein, and a specific implementation manner may include a combination of an NFC control chip and an NFC antenna.
A flowchart of a card selection method for NFC card simulation mode in this embodiment may be as shown in fig. 1, and includes:
step 101: after detecting that the terminal enters a radio frequency range of a card reader, obtaining a plurality of candidate intelligent card groups obtained by grouping each candidate intelligent card in the terminal.
The card reader and the terminal have NFC functions, the card reader can emit an NFC radio frequency field, and the terminal can sense the radio frequency field emitted by the card reader after entering a radio frequency range of the card reader. That is, if the terminal senses a radio frequency field emitted by a reader, it can be determined that the terminal enters the radio frequency range of the reader.
In one example, the terminal is a mobile phone, and the user takes a bus, picks up the mobile phone to be close to a card reader configured on the bus, and the mobile phone can detect an NFC radio frequency field of the card reader, so as to determine that the mobile phone enters a radio frequency range of the card reader. In a specific implementation, the NFC chip in the mobile phone may detect the NFC radio frequency field of the card reader, so as to determine that the mobile phone enters a radio frequency range of the card reader.
In specific implementation, a user may install a smart card that may be used in advance in a terminal according to actual needs, where the smart card may be understood as a virtual electronic card, such as a bus card, an access card, a bank card, and the like. Different smart cards can correspond to different applications, and the applications corresponding to the smart cards can be understood as application programs for realizing near field communication, and the applications have an emulation function for emulating a non-contact IC card, namely, a function for emulating a smart card. According to different application scenes, applications corresponding to the smart card can be divided into different types, for example, a bus card, an access control card and a bank card respectively correspond to a bus card application, an access control card application and a bank card application. The smart card installed in the terminal may also be understood as an application corresponding to the smart card installed in the terminal.
In practical applications, the smart card may actually be installed in a Secure Element (SE) in the terminal; the SE may provide a secure execution environment (e.g., authentication, authorization, etc.) for the operation of the smart card, and provide a secure storage environment for the sensitive data of the smart card. The SE may be a SE packaged with an NFC chip, and may have a plurality of smart cards installed in the SE at the same time by means of memory partitioning or the like. Of course, the SE may exist in different forms, for example, an SE in the form of a Subscriber Identity Module (SIM) card, i.e., an SE provided on a SIM card, an SE packaged with an NFC chip, an SE integrated on a Printed Circuit Board (PCB) of a terminal, an SE integrated in a Secure Digital (SD) memory card, i.e., an SE provided on an SD memory card. In this embodiment, the SE may also exist in the terminal in other forms, which is not specifically limited in this embodiment. It should be noted that the SE may exist in different forms in the terminal, that is, the SE may be disposed at different positions in the terminal, and the SE at different positions may have similar functions.
In one example, each candidate smart card may be all smart cards within the terminal, i.e., each candidate smart card includes smart cards installed on all SEs within the terminal.
In another example, each candidate smart card may be a portion of the smart cards selected by the user among all of the smart cards within the terminal. For example, the user may select, as each candidate smart card, a part of the smart cards with a higher frequency of use from all the smart cards in the terminal according to actual needs.
In an example, the implementation manner of the candidate smart card groups obtained by grouping the candidate smart cards in the terminal by the NFC chip may be: and the NFC chip directly groups each candidate smart card in the terminal to obtain a plurality of candidate smart card groups. Optionally, the master control chip in the terminal may group the candidate smart cards in the terminal to obtain a plurality of candidate smart card groups, and then the master control chip sends the grouped result to the NFC chip, so that the NFC chip may obtain the grouped candidate smart card groups. That is to say, the NFC chip only needs to receive the grouping result sent by the master control chip, and does not need to embed more codes in the NFC chip in order to implement the grouping function, which is beneficial to saving the storage space of the NFC chip and reducing the production cost of the NFC chip.
In a specific implementation, information of each candidate smart card may be obtained, and each candidate smart card in the terminal may be grouped according to the information of each candidate smart card to obtain a plurality of candidate smart card groups.
The following illustrates how to obtain information of each candidate smart card in this embodiment:
in one example, the NFC chip may send a command compliant with Global Platform International Standard (GP) specification or International Standard Organization (ISO) 7816 specification to all SEs in the terminal, and request to acquire information of smart cards installed on all SEs. And after receiving the command sent by the NFC chip, the SE returns the information of the smart card installed on the SE to the NFC chip. And the NFC chip acquires the information of each candidate smart card according to the information returned by the SE.
In another example, the main control chip in the terminal may send a command conforming to the GP specification or the ISO7816 specification to all SEs in the terminal, and request to acquire information of the smart cards installed on all SEs, that is, after receiving the command sent by the main control chip, the SE returns information of the smart cards installed on the SE to the main control chip. And the master control chip acquires the information of each candidate smart card according to the information returned by the SE, and then sends the information of each candidate smart card to the NFC chip. That is to say, the NFC chip only needs to receive the information of each candidate smart card sent by the master control chip, and does not need to embed more codes in the NFC chip in order to implement more functions, which is beneficial to saving the storage space of the NFC chip and reducing the production cost of the NFC chip.
In particular implementations, the information of the smart card may include, but is not limited to: an Application Identifier (AID) corresponding to the smart card, non-contact parameters of the smart card, a life cycle of the smart card, a geographical location requirement of the smart card, an NFC technology type of the smart card, information of a security unit to which the smart card belongs, and a card type of the smart card. The geographic location requirement may also be referred to as: global Positioning System (GPS) requirements. The NFC technology type may be: NFC-A technology, NFC-B technology, NFC-F technology and the like, and the card type of the smart card can be public transport type, entrance guard type, bank card type and the like.
Wherein, the non-contact parameters can be understood as: when the NFC chip simulates a smart card, the communication parameters required to be used for establishing an air interface connection with the card reader, that is, the non-contact parameters of the smart card are parameters for establishing a communication connection with the card reader. In particular implementations, the non-contact parameters may include, but are not limited to: user Identification (UID), Request response (ATQ), Select Acknowledge (SAK), and Select response (ATS).
In one example, the candidate smart cards within the terminal may be grouped according to their card types, such as grouping candidate smart cards having the same card type into the same candidate smart card group. Alternatively, the candidate smart cards in the terminal may be grouped according to the NFC technology types supported by the candidate smart cards, for example, the candidate smart cards supporting the same NFC technology type are grouped into the same candidate smart card group.
In another example, the candidate smart cards in the terminal may be grouped according to the parameters of the candidate smart cards for establishing the communication connection, so as to obtain a plurality of candidate smart card groups; and the parameters for establishing communication connection of the candidate smart cards in the same candidate smart card group do not conflict, and the parameters for establishing communication are the non-contact parameters. That is to say, the candidate smart cards with non-contact parameters without conflict can be divided into a group according to whether the non-contact parameters of the candidate smart cards have conflict or not, so as to obtain a plurality of candidate smart card groups, thereby facilitating the subsequent direct merging of the non-contact parameters of the candidate smart cards in the same group without conflict.
In a specific implementation, the non-contact parameters of each candidate smart card may be compared pairwise, whether the non-contact parameters of any two candidate smart cards conflict or not is determined, a conflict list of each candidate smart card is obtained, and the candidate smart cards are grouped according to the conflict list of each candidate smart card, so as to obtain a plurality of candidate smart card groups. For example, the conflict list of the candidate smart card 1 includes candidate smart cards 2, 3, and 4, and the non-contact parameters representing the candidate smart cards 2, 3, and 4 and the non-contact parameters of the candidate smart card 1 conflict and cannot be grouped into a group. The following describes how to determine whether the non-contact parameters of any two candidate smart cards conflict with each other:
in one example, the NFC chip may detect whether there is a conflict between the contactless parameters of any two candidate smart cards using a contactless parameter conflict detection algorithm specified by the GP specification.
In another example, the NFC chip may activate the candidate smart card 1 first, and then try to activate the candidate smart card 2, and if the candidate smart card 2 is successfully activated, it indicates that there is no conflict between the non-contact parameters of the candidate smart card 2 and the candidate smart card 1; if the candidate smart card 2 fails to be activated, it is indicated that there is a conflict between the contactless parameters of the candidate smart card 2 and the candidate smart card 1.
In one example, the manner of grouping the candidate smart cards may be: and sequentially traversing the candidate smart cards according to the sequence of the priority levels of the candidate smart cards from top to bottom, and if the non-contact parameters of the traversed candidate smart cards do not conflict with the non-contact parameters of each smart card in the candidate smart card group, placing the traversed candidate smart cards in the candidate smart card group. The priority determination method of each candidate smart card may refer to the priority determination method mentioned in the first embodiment, which is not repeated herein and is not described herein again.
Step 102: and judging whether the plurality of candidate intelligent card groups meet the filtering condition or not to obtain each intelligent card group to be selected which meets the filtering condition.
Specifically, after the terminal is detected to enter the radio frequency range of the card reader, the NFC chip may respectively determine whether the plurality of candidate smart card groups meet the filtering condition according to the parameters for filtering of the candidate smart cards in each candidate smart card group and the information of the card reader, so as to obtain each smart card group to be selected that meets the filtering condition. It is also understood that a candidate smartcard group satisfying the filter condition among several candidate smartcard groups is referred to as a candidate smartcard group. Wherein, the second filtering condition can be set according to actual needs.
In one example, the parameters of the candidate smart card for filtering include: the NFC technology type of the candidate smart card, the card type of the candidate smart card, and the information of the card reader comprises: NFC technology types supported by the card reader, card types supported by the card reader. The filtering conditions may include: the NFC technology type of at least one candidate smart card in the candidate smart card group belongs to the NFC technology type supported by the card reader, and/or the card type of at least one candidate smart card in the candidate smart card group belongs to the card type supported by the card reader. That is to say, the candidate smart card groups of the candidate smart cards not including the NFC technology type supported by the card reader and/or the candidate smart card groups of the candidate smart cards not including the card type supported by the card reader are filtered, so that the candidate smart card groups are favorably and reasonably filtered, and the possibility that the filtered candidate smart card groups and the card reader can successfully establish communication connection is improved.
In a specific implementation, the NFC technology types of all candidate smart cards in a candidate smart card group may constitute an NFC technology list, and the card types of all candidate smart cards in the candidate smart card group may constitute a card type list. The NFC technology list of the candidate smartcard set is determined by all candidate smartcards in the candidate smartcard set, for example, if there is a candidate smartcard of NFC-a technology in the candidate smartcard set, then the candidate smartcard set has NFC-a technology. The NFC chip can determine the NFC technology type and the card type of the card reader according to the RF frame after detecting the RF frame from the card reader, and then filter out the candidate smart card groups which do not contain the NFC technology type supported by the card reader and/or do not contain the card type supported by the card reader, so that the filtered candidate smart card groups which meet the filtering condition are obtained.
Step 103: and determining the priority of each smart card group to be selected.
In one example, the priority of each to-be-selected smart card in each to-be-selected smart card group may be determined, and then the priority of each to-be-selected smart card group may be determined according to the priority of each to-be-selected smart card in each to-be-selected smart card group. For example, the priority of the smart card to be selected having the highest priority in each group of the smart cards to be selected may be used as the priority of each group of the smart cards to be selected. That is, the priority of a candidate smartcard set may be determined according to the priority of the candidate smartcards within the candidate smartcard set. However, the present embodiment is not limited thereto.
In one example, the information of each candidate smart card may further include a preset priority for each candidate smart card, so that the NFC chip may determine the priority of each candidate smart card in each group of candidate smart cards. The preset priority for each candidate smart card may be set by the user according to actual needs, for example, the user may set a higher priority for a candidate smart card frequently used and a lower priority for a candidate smart card with a lower frequency of use.
In another example, the priority of each candidate smart card in each candidate smart card group is determined by: determining the sorting weight corresponding to each smart card to be selected according to the information of each smart card to be selected in each smart card group to be selected; and determining the priority of each smart card to be selected according to the corresponding sorting weight of each smart card to be selected.
If the sorting weight corresponding to the smart card to be selected is 1, the sorting weight corresponding to the smart card to be selected can be used as the priority. If the sorting weight corresponding to the smart card to be selected is multiple, the priority of the smart card to be selected may be determined by combining the multiple sorting weights, for example, the sum of the multiple sorting weights of the smart card to be selected is used as the priority of the smart card to be selected, or the multiple sorting weights of the smart card to be selected is averaged, and the average is used as the priority of the smart card to be selected, but not limited thereto. The following mainly describes an implementation manner of determining the sorting weight corresponding to each smart card to be selected according to the information of each smart card to be selected:
in an example, the information of each to-be-selected smart card may include a preset sorting weight for each to-be-selected smart card, so that the NFC chip may determine the sorting weight corresponding to each to-be-selected smart card according to the information of each to-be-selected smart card. The preset sorting weight for each smart card to be selected can be set by a user according to actual needs.
In another example, a weight factor corresponding to each smart card to be selected may be determined according to information of each smart card to be selected, and a sorting weight corresponding to each smart card to be selected may be determined according to the weight factor corresponding to each smart card to be selected. When the information of the smart card to be selected comprises the application corresponding to the smart card to be selected, the weight factor comprises: the method comprises the steps of determining a first weight factor based on whether an application corresponding to a to-be-selected smart card is a foreground application operated by a terminal, and/or determining a second weight factor based on whether the application corresponding to the to-be-selected smart card is a default payment application of the terminal. When the information of the smart card to be selected comprises the geographical position requirement of the smart card to be selected, the weight factor comprises: and determining a third weight factor based on whether the geographic position of the terminal meets the geographic position requirement of the smart card to be selected. When the information of the smart card to be selected comprises the historical times of the activation of the smart card to be selected, the weighting factor comprises: a fourth weighting factor determined based on the historical number of times the smart card to be selected has been activated. In particular implementations, the weighting factors may include, but are not limited to, one or more of the four weighting factors described above. Finally, all the weight factors corresponding to the smart cards to be selected can be added to obtain the sorting weight corresponding to the smart cards to be selected, or all the weight factors corresponding to the smart cards to be selected are averaged to obtain the sorting weight corresponding to the smart cards to be selected. The determined weight factors are based on the information of the smart cards to be selected (such as the application corresponding to the smart cards to be selected, the geographic position requirements of the smart cards to be selected, the activated historical times of the smart cards to be selected and the like), so that the reasonable determination of the ranking weights corresponding to the smart cards to be selected is facilitated, and the reasonable determination of the priorities of the smart cards to be selected according to the ranking weights is facilitated.
In an example, in a case that the weighting factor includes the third weighting factor, if the geographic location of the terminal simultaneously satisfies the geographic location requirements of the multiple smart cards to be selected, the third weighting factor corresponding to the smart card to be selected, which has a smaller geographic location requirement range, in the multiple smart cards to be selected is larger. For example, the geographic location of the terminal is in a metropolitan company building a, and the plurality of smart cards to be selected include: a transportation smart card (referred to as a smart card 1) of a metropolis and an entrance guard smart card (referred to as a smart card 2) of a building A of a metropolis company. Therefore, the geographic position of the terminal meets the geographic position requirements of the smart card 1 and the smart card 2 at the same time, and the range of the geographic position requirement of the smart card 2 relative to the smart card 1 is smaller, so that the smart card 2 has a higher third weight factor compared with the smart card 1, that is, a candidate smart card with a smaller geographic position requirement range can generate a larger sorting weight, and the determination of the third weight factor is more reasonable.
For ease of understanding, the implementation of determining the weighting factors and the implementation of determining the ranking weights according to the weighting factors are described below in a specific example:
the first weighting factor is determined in the following manner: if the application corresponding to the smart card to be selected is the foreground application in use by the terminal, the first weight factor of the smart card to be selected is MaxIntValue/10; and if the application corresponding to the smart card to be selected is not the foreground application in use by the terminal, the first weight factor of the smart card to be selected is 0. The maxtintvalue may be a value set according to actual needs.
The second weighting factor is determined in the following manner: if the application corresponding to the smart card to be selected is the default payment application of the terminal, the second weight factor of the smart card to be selected is MaxIntValue/100; and if the application corresponding to the smart card to be selected is not the default payment application of the terminal, the second weight factor of the smart card to be selected is 0. The default payment application of the terminal can be an application selected by the user according to actual needs.
The third weight factor is determined in the following way: if the current geographic position of the terminal, namely the GPS position information, is within the GPS requirement range of the smart card to be selected, the third weight factor of the smart card to be selected is MaxIntValue/100; and if the current GPS position information of the terminal is not in the GPS requirement range of the smart card to be selected, the third weight factor of the smart card to be selected is 0. In a specific implementation, if the current GPS location information of the terminal is within the GPS requirement range of the multiple smart cards to be selected, the third weighting factors corresponding to the multiple smart cards to be selected, respectively, may also be determined as follows:
the third weight factor is MaxIntValue/100/GPS _ rank; the GPS _ rank is used in a scenario where the current GPS location information of the terminal simultaneously meets GPS requirements of a plurality of smart cards to be selected, for example, the current GPS location information of the terminal is in a metro company a building, and simultaneously meets GPS requirements of two smart cards to be selected, which may be a metro traffic smart card (smart card 1 for short) and an access control smart card of the metro company a building (smart card 2 for short). The GPS requirement range of the smart card 2 is smaller, and the GPS requirement range of the smart card 1 is larger, so the GPS _ rank of the two smart cards can be, GPS _ rank =1 for the smart card 2, and GPS _ rank =2 for the smart card 1, respectively. That is, a smaller GPS requirement will result in a larger third weighting factor.
The fourth weighting factor is determined in the following manner: if the number of times that the smart card to be selected is activated historically is obtained, for example, x times, the fourth weighting factor of the smart card to be selected may be x.
In a specific implementation, after the four weighting factors are obtained, the sum of the first weighting factor, the second weighting factor, the third weighting factor and the fourth weighting factor of the smart card to be selected may be used as the sorting weight of the smart card to be selected. It should be noted that, in the above example, the weighting factors include the above four weighting factors at the same time, and the implementation is not limited to this. It is understood that the sorting weight of each smart card to be selected can be determined according to the weight factor of each smart card to be selected, so that the priority of each smart card to be selected is further determined according to the sorting weight, and the higher the sorting weight is, the higher the priority is.
Step 104: and traversing each intelligent card group to be selected in turn according to the sequence of the priority of each intelligent card group to be selected from high to low, and trying to establish communication connection with the card reader according to the information of the currently traversed intelligent card group to be selected.
In one example, the NFC chip may sequentially traverse each of the to-be-selected smart card groups according to the order of priorities of the to-be-selected smart card groups from high to low, and respectively attempt to establish a communication connection with the card reader according to the non-contact parameters of each of the to-be-selected smart cards in the currently traversed to-be-selected smart card group.
In another example, each candidate smart card group is a group obtained according to whether the non-contact parameters of each candidate smart card have conflict or not. The information of the currently traversed to-be-selected smart card group comprises: the parameters for establishing communication connection of the smart cards to be selected in the smart card group to be selected are combined to obtain combined parameters, and the combined parameters can be understood as parameters obtained by combining the non-contact parameters of the smart cards to be selected in the smart card group to be selected. That is to say, the non-contact parameters of the to-be-selected smart cards in the same to-be-selected smart card group are combined to obtain the combined non-contact parameters of the to-be-selected smart card group.
In one example, a non-contact parameter merging algorithm specified by GP specifications may be used to merge non-contact parameters of the to-be-selected smart cards in the same to-be-selected smart card group, so as to obtain merged non-contact parameters corresponding to the to-be-selected smart card group. For example, the non-contact parameters of 3 smart cards to be selected in a group of smart cards to be selected are: the parameter 1, the parameter 2, and the parameter 3, and the combined non-contact parameter corresponding to the to-be-selected smart card group obtained by combining the parameter 1, the parameter 2, and the parameter 3 may be a new parameter 4.
That is to say, the NFC chip may sequentially traverse each of the to-be-selected smart card groups according to the order of the priority of each of the to-be-selected smart card groups from high to low, and attempt to establish a communication connection with the card reader according to the currently traversed merging parameter of the to-be-selected smart card group. It can be understood that, in this embodiment, attempting to establish a communication connection with the card reader according to the currently traversed merging parameter of the candidate smart card group is beneficial to reduce the number of times of attempting to establish a communication connection to a certain extent, and a process of attempting to establish a communication connection based on the non-contact parameter of each of the candidate smart cards is not required, which is beneficial to reduce the number of times of attempting to establish a communication connection and improve the speed of successfully establishing a communication connection with the card reader. For example, the non-contact parameters of 3 smart cards to be selected in a group of smart cards to be selected are: the parameters 1, 2, and 3 are combined to obtain a new parameter 4, and in this embodiment, a process of trying to establish a communication connection is not required to be performed based on the non-contact parameters of the 3 smart cards to be selected, that is, the parameters 1, 2, and 3, but a process of trying to establish a communication connection with the card reader is attempted based on the parameter 4 obtained after combination.
Wherein, according to the currently traversed non-contact parameters (i.e. merged non-contact parameters) of the to-be-selected smart card group, attempting to establish a communication connection with the card reader may be understood as: and the NFC chip uses the traversed non-contact parameters of the to-be-selected smart card group to exchange Radio Frequency (RF) instructions conforming to an NFC forum standard protocol with the card reader, and the currently traversed non-contact parameters of the to-be-selected smart card group are filled in the RF instructions to interact with the card reader, mutually authenticate and attempt to establish communication. If the RF command exchange is successful, the NFC chip may be considered to establish a communication connection with the card reader successfully through the currently traversed non-contact parameter of the candidate smart card group, that is, the NFC chip may communicate with the card reader using the traversed non-contact parameter of the candidate smart card group.
In a specific implementation, the RF command may be a command in a frame format such as an Application Protocol Data Unit (APDU) frame format, a single byte short frame format, and a long frame format. As another example, the RF instructions may be of the TYPE 14443TYPE A, 14443TYPE B, ISO18092, ISO15693, or the like. The RF instructions may be embodied as: ALL _ REQ Command, SENS _ RES Response, SDD _ REQ Command, SEL _ REQ Command, SLP _ REQ Command and the like specified by the NFC Forum standard protocol.
Step 105: if communication connection is successfully established with the card reader according to the information of the currently traversed intelligent card group to be selected, a target intelligent card is determined according to the currently traversed intelligent card group to be selected, and card swiping operation is carried out through the target intelligent card and the card reader.
In one example, if a communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card group, the NFC chip may activate all to-be-selected smart cards in the currently traversed to-be-selected smart card group; then, the NFC chip may receive a card selection instruction from the card reader based on the communication connection successfully established with the card reader, so as to select a to-be-selected smart card corresponding to the card selection instruction from the activated to-be-selected smart cards as a target smart card, and perform a card swiping operation with the card reader through the target smart card. The card selection instruction can carry AID, and the NFC chip can determine the smart card to be selected corresponding to the card selection instruction according to the AID carried in the card selection instruction.
In another example, if after traversing all the smart card groups to be selected, the NFC chip still does not successfully establish a communication connection with the card reader, the NFC chip may send a notification message indicating that card selection has failed; and/or popping up a preset card selection interface for the user to select the smart card. For example, the NFC chip may control a screen of the terminal, so that a notification message of card selection failure is displayed on the screen, and may also control the terminal to start shaking to remind the user. The NFC chip can also control a screen of the terminal, so that a card selection interface preset for a user to select the smart card is popped up on the screen, and the user can conveniently select the smart card. That is to say, if the automatic card selection fails, a notification message can be sent to notify the user, so that the user can conveniently know the result of the current card selection failure, and/or a preset card selection interface for the user to select the smart card is popped up, thereby being beneficial to improving the use experience of the user.
In one example, after traversing all the candidate smart card sets, the communication connection with the card reader is still not successfully established, and the possible reasons are as follows: each candidate smart card in the terminal is a part of all the smart cards in the terminal, for example, a part of the smart cards selected by the user are candidate smart cards, and participate in the card selection method in the embodiment, and after the terminal enters the radio frequency range of the card reader at present, information of other smart cards except the candidate smart cards can be successfully established in communication connection with the card reader. For example, the public transport cards of the metropolis and the Western Ann cities are installed in the terminal, the metropolis are frequently occupied by the users, and the metropolis public transport cards are added into the candidate smart card list by the users. When a user goes to the city of xi 'an and goes out for business and needs to take a bus, the bus card in the city of xi' an is not in the candidate smart card list, so that the NFC chip cannot be successfully communicated with the card reader after traversing each to-be-selected smart card group. At the moment, the NFC chip can control the terminal to pop up a preset card selection interface for the user to select the smart card, so that the user can select the public transportation card in the city of Western Ann, and the card swiping operation is completed.
In another example, after traversing each candidate smart card group, the communication connection with the card reader is not successfully established, for possible reasons: the smart card capable of completing card swiping operation on the card reader is not installed in the terminal, and at the moment, the NFC chip can control the terminal to send notification information of card selection failure so as to remind a user to install the smart card capable of swiping the card on the card reader.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical solutions of the present application.
In the embodiment, after the terminal is detected to enter the radio frequency range of the card reader, namely, after a user approaches the card reader, the user does not need to light the screen of the terminal, enters a card selection program, and manually selects the smart card to swipe the card, so that the reduction of user operation is facilitated, and the convenience of swiping the card is improved. And whether the candidate smart card groups meet the filtering condition is judged, namely the candidate smart card groups are filtered by taking the groups as units, so that the filtering speed is favorably improved, each to-be-selected smart card group meeting the filtering condition is obtained, the traversal range is favorably reduced, the traversal speed is favorably improved, and the card selecting speed is improved. The intelligent card groups to be selected are sequentially traversed from high to low through the priority of each intelligent card group to be selected, so that communication connection with the card reader is tried according to the information of each intelligent card group to be selected in a reasonable sequence, the number of trying times is reduced, communication connection with the card reader is rapidly and successfully established, and the card selecting speed is further improved.
A second embodiment of the present application relates to a card selection method for an NFC card emulation mode. The following describes implementation details of the card selection method for the NFC card simulation mode in this embodiment in a specific manner, and the following description is only provided for the convenience of understanding and is not necessary for implementing this embodiment.
A flowchart of a card selection method for NFC card simulation mode in this embodiment may be as shown in fig. 2, and includes:
step 201: and acquiring each candidate smart card meeting preset screening conditions in the terminal.
Specifically, whether each smart card in the terminal meets the preset screening condition can be judged, and each candidate smart card meeting the preset screening condition is obtained. Wherein, the screening condition can be set according to actual need. That is, each candidate smart card in this embodiment refers to a candidate smart card that is determined whether all the smart cards in the terminal satisfy the preset screening condition, and then the smart cards that do not satisfy the screening condition are eliminated, and the smart cards that satisfy the screening condition are retained.
In one example, the NFC chip may start acquiring each candidate smart card that satisfies a preset screening condition in the terminal when determining that a distance between the location of the terminal and the location of the card reader is smaller than a preset distance. The preset distance can be set according to actual needs and is used for representing the position of the terminal close to the card reader. That is, when the terminal and the card reader are close to each other, each candidate smart card meeting the preset screening condition in the terminal is obtained. In consideration of the fact that when the terminal is close to the card reader, the possibility that a user conducts card swiping to the position where the card reader is arranged is high, and therefore when the terminal is close to the card reader, the candidate smart cards meeting the preset screening conditions in the terminal are obtained more reasonably, the card swiping habits of the user are better met, and convenience is brought to card swiping of the user.
In an example, the main control chip of the terminal may obtain the located geographic position in real time or periodically, and determine that the distance between the location of the terminal and the location of the card reader is smaller than a preset distance, that is, determine whether the card reader is arranged near the geographic position where the terminal is located, if it is determined that the card reader is arranged near the geographic position where the terminal is located, it is indicated that the possibility that the user will swipe the card to the location where the card reader is arranged is high, at this time, the main control chip may notify the NFC chip, so that the NFC chip starts to determine whether all the smart cards in the terminal meet preset screening conditions, and obtain each candidate smart card meeting the preset screening conditions. Or, the main control chip may determine whether all the smart cards in the terminal satisfy the preset screening condition, to obtain each candidate smart card satisfying the preset screening condition, and then the main control chip sends information of each candidate smart card satisfying the preset screening condition to the NFC chip. That is to say, the NFC chip only needs to receive the information of each candidate smart card that satisfies the predetermined screening condition that the master control chip sent, need not to imbed more codes in the NFC chip in order to realize more functions, is favorable to saving the memory space of NFC chip, reduces the manufacturing cost of NFC chip.
In an example, the manner of determining whether the distance between the position of the terminal and the position of the card reader is smaller than the preset distance may be: the position where the card reader is arranged can be preset with an identifier, so that the terminal can determine whether the position where the identifier is preset exists in a preset geographic range according to the current geographic position, and further judge whether the card reader is arranged near the geographic position where the terminal is located, namely whether the distance between the position of the terminal and the position of the card reader is smaller than the preset distance. The preset geographic range can be a circular area range taking the geographic position of the terminal as the center of a circle and r as a preset radius, and the size of the preset radius can be set according to actual needs. It should be noted that the preset geographic range in the present embodiment is only an example of the circular area, and is not limited in the specific implementation.
In another example, when the button for indicating to start the card selection function on the detection terminal is pressed, the determination of whether each smart card in the terminal meets the preset screening condition may be started, so as to obtain each candidate smart card meeting the preset screening condition. The key for representing the function of starting the card selection can be a preset virtual key. In consideration, when a key used for representing the function of starting card selection on the detection terminal is pressed, the fact that the user wishes to start automatic card selection is indicated, and at the moment, each candidate smart card meeting preset screening conditions in the terminal starts to be acquired, so that the actual requirements of the user are met more easily, and the use experience of the user is improved.
In one example, the screening conditions include: the geographical location of the terminal satisfies the geographical location requirements of the candidate smart card and/or the security element to which the candidate smart card belongs is allowed to be activated. That is to say, the smart cards whose geographic location requirements cannot be met are eliminated according to the current geographic location of the terminal, and/or the smart cards whose security units are not allowed to be activated are eliminated, which is beneficial to reasonably screening all the smart cards in the terminal. To facilitate an understanding of the above screening conditions, the following is exemplified:
the candidate smart card is a metropolis traffic smart card, and the GPS requirement of the traffic smart card is located in the metropolis geographic range. If the current geographic position of the terminal is within the metropolis geographic range, the geographic position of the terminal can be determined to meet the geographic position requirement of the traffic intelligent card. If the current geographic position of the terminal is within the geographic range of the city of Western Ann, the geographic position of the terminal can be determined not to meet the geographic position requirement of the traffic smart card, and therefore the Chengdu traffic smart card is directly filtered out and is not taken as a candidate smart card.
Whether the security unit to which the candidate smart card belongs is allowed to be activated or not can be set according to actual needs. For example, the terminal has set at the time of factory which security elements in the terminal are allowed to be activated and which security elements are not allowed to be activated. Or, the terminal reserves an interface for the user to set when leaving the factory, and the user can set which security elements are allowed to be activated and which security elements are not allowed to be activated according to the interface. In a specific implementation, the time and place where the security unit is allowed to be activated can also be set, that is, the security unit in the terminal is allowed to be activated only at a specific time and place.
Step 202: after detecting that the terminal enters a radio frequency range of a card reader, obtaining a plurality of candidate intelligent card groups obtained by grouping each candidate intelligent card in the terminal.
Step 203: and judging whether the plurality of candidate intelligent card groups meet the filtering condition or not to obtain each intelligent card group to be selected which meets the filtering condition.
Step 204: and determining the priority of each smart card group to be selected.
Step 205: and traversing each intelligent card group to be selected in turn according to the sequence of the priority of each intelligent card group to be selected from high to low, and trying to establish communication connection with the card reader according to the information of the currently traversed intelligent card group to be selected.
Step 206: if communication connection is successfully established with the card reader according to the information of the currently traversed intelligent card group to be selected, a target intelligent card is determined according to the currently traversed intelligent card group to be selected, and card swiping operation is carried out through the target intelligent card and the card reader.
Steps 202 to 206 are substantially the same as steps 101 to 105 in the first embodiment, and are not repeated herein to avoid repetition.
It can be understood that, in this embodiment, before the terminal enters the radio frequency range of the card reader, each smart card in the terminal is screened without combining information of the card reader, so as to obtain each candidate smart card that meets the screening condition. After the terminal enters the radio frequency range of the card reader, each filtered smart card group which accords with the filtering condition can be obtained according to the information of each candidate smart card in the terminal and the information of the card reader.
In an example, the card selection method for the NFC card simulation mode in this embodiment may be implemented based on a block diagram as shown in fig. 3, and includes:
and the smart card information acquisition module 301 is configured to acquire information of each smart card in the terminal.
A non-contact parameter conflict detection module 302, configured to detect whether a conflict exists in the non-contact parameters of each smart card. Among them, the non-contact parameters may also be referred to as: non-connection parameters, RF parameters, parameters for establishing a communication connection.
And the smart card screening module 303 is configured to screen each smart card in the terminal to obtain each candidate smart card meeting the screening condition.
The smart card priority determining module 304 is configured to determine a priority of each candidate smart card, and optionally, may also rank the candidate smart cards according to the priority.
A smart card grouping and parameter merging module 305 for grouping all candidate smart cards into a number of groups, ensuring that there is no conflict between the contactless parameters of the candidate smart cards within each group, and merging the contactless parameters of all candidate smart cards within a group into a new set of contactless parameters.
The smart card group information issuing module 306 is configured to issue the information of the grouped candidate smart card group to the NFC chip, and specifically may issue the information to an NFC controller in the NFC chip. The information of the candidate smart card group includes, but is not limited to, the following information:
identification and priority of the candidate smart card group; wherein the priority of the set of candidate smart cards may be determined by the highest priority candidate smart card within the set of candidate smart cards.
The NFC technology list of the candidate smart card group, which may be determined by all candidate smart cards in the candidate smart card group, for example, if there is one candidate smart card with NFC-a technology in the candidate smart card group, the candidate smart card group may have NFC-a technology, that is, the NFC technology list of the candidate smart card group includes NFC-a technology.
The merged non-contact parameters of the NFC-A technology, the merged non-contact parameters of the NFC-B technology and the merged non-contact parameters of the NFC-F technology.
And the smart card group filtering module 307 is configured to filter the candidate smart card groups to obtain each to-be-selected smart card group that meets the filtering condition.
The non-contact parameter selection module 308 is configured to traverse the above-mentioned each smart card group to be selected that satisfies the filtering condition from a high priority to a low priority, perform RF instruction exchange conforming to a protocol of the NFC forum standard using a combined non-contact parameter of the currently traversed smart card group and the card reader, and if the RF instruction exchange is successful, select the currently traversed smart card group to be selected as a target smart card group, where the non-contact parameter corresponding to the target smart card group is a selection result of the non-contact parameter selection module 308.
A smart card activation module 309 for activating all smart cards in the target group of smart cards.
The smart routing module 310 is configured to, after a communication connection is established between the NFC chip and the card reader, and after all smart cards in the target smart card group are activated, the NFC chip may route data from the card reader to a correct security chip, specifically, the NFC chip may receive a card selection instruction of the card reader, so as to select a target smart card from the activated smart cards according to the card selection instruction, where the security chip installed in the target smart card is the correct security chip.
And the smart card selection failure processing module 311 is configured to notify the terminal that smart card selection fails if the RF command still cannot be correctly exchanged with the card reader after all the smart card groups to be selected are determined to be traversed. Optionally, the terminal may notify the user that the smart card selection fails, and pop up a preset card selection interface to allow the user to manually select one smart card.
In an example, the above modules 301 to 305 are all disposed in a main control chip in a terminal independent from the NFC chip, and the main control chip further includes a smart card group information issuing module 306, so that the information of the candidate smart card group is sent to the NFC chip through the smart card group information issuing module 306, for example, the smart card group information issuing module 306 sends the information of the candidate smart card group to a smart card group filtering module 307 in the NFC chip. That is, the modules 301 to 306 are all disposed in the host chip, the modules 307 to 311 are all disposed in the NFC chip, and the host chip is connected to the NFC chip.
In another example, the modules 301 to 305 are all disposed in an NFC chip, and the smart card group information issuing module 306 is not required in the NFC chip. That is, the NFC chip may be provided with modules 301 to 305 and 307 to 311.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, a unit that is not so closely related to solving the technical problem proposed by the present application is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
In the embodiment, when the terminal does not enter the radio frequency range of the card reader, each candidate smart card meeting the screening condition is reasonably screened out first, so that the number of the candidate smart cards is favorably controlled within a reasonable range, the success rate of establishing communication connection with the card reader is not influenced, and the speed of successfully establishing communication connection with the card reader is increased. In addition, after the terminal enters the radio frequency range, part of the candidate smart card sets are filtered to obtain each to-be-selected smart card set meeting the filtering condition, so that the traversal range is further narrowed, the traversal speed is increased, and the card selection speed is increased.
A third embodiment of the present application relates to a card selection method for an NFC card emulation mode. The following describes implementation details of the card selection method for the NFC card simulation mode in this embodiment in a specific manner, and the following description is only provided for the convenience of understanding and is not necessary for implementing this embodiment.
A flowchart of the card selecting method for the NFC card simulation mode of this embodiment may be as shown in fig. 4, and includes:
step 401: and after detecting that the terminal enters the radio frequency range of the card reader, judging whether each candidate smart card in the terminal meets the filtering condition, and acquiring each smart card to be selected which meets the filtering condition.
The card reader and the terminal have NFC functions, the card reader can emit an NFC radio frequency field, and the terminal can sense the radio frequency field emitted by the card reader after entering a radio frequency range of the card reader. That is, if the terminal senses a radio frequency field emitted by a reader, it can be determined that the terminal enters the radio frequency range of the reader.
In one example, the terminal is a mobile phone, and the user takes a bus, picks up the mobile phone to be close to a card reader configured on the bus, and the mobile phone can detect an NFC radio frequency field of the card reader, so as to determine that the mobile phone enters a radio frequency range of the card reader. In a specific implementation, the NFC chip in the mobile phone may detect the NFC radio frequency field of the card reader, so as to determine that the mobile phone enters a radio frequency range of the card reader.
In specific implementation, a user may install a smart card that may be used in advance in a terminal according to actual needs, where the smart card may be understood as a virtual electronic card, such as a bus card, an access card, a bank card, and the like. Different smart cards can correspond to different applications, and the applications corresponding to the smart cards can be understood as application programs for realizing near field communication, and the applications have an emulation function for emulating a non-contact IC card, namely, a function for emulating a smart card. According to different application scenes, applications corresponding to the smart card can be divided into different types, for example, a bus card, an access control card and a bank card respectively correspond to a bus card application, an access control card application and a bank card application. The smart card installed in the terminal may also be understood as an application corresponding to the smart card installed in the terminal.
In practical applications, the smart card may actually be installed in a Secure Element (SE) in the terminal; the SE may provide a secure execution environment (e.g., authentication, authorization, etc.) for the operation of the smart card, and provide a secure storage environment for the sensitive data of the smart card. The SE may be a SE packaged with an NFC chip, and may have a plurality of smart cards installed in the SE at the same time by means of memory partitioning or the like. Of course, the SE may exist in different forms, for example, an SE in the form of a Subscriber Identity Module (SIM) card, i.e., an SE provided on a SIM card, an SE packaged with an NFC chip, an SE integrated on a Printed Circuit Board (PCB) of a terminal, an SE integrated in a Secure Digital (SD) memory card, i.e., an SE provided on an SD memory card. In this embodiment, the SE may also exist in the terminal in other forms, which is not specifically limited in this embodiment. It should be noted that the SE may exist in different forms in the terminal, that is, the SE may be disposed at different positions in the terminal, and the SE at different positions may have similar functions.
In one example, each candidate smart card may be all smart cards within the terminal, i.e., each candidate smart card includes smart cards installed on all SEs within the terminal.
In another example, each candidate smart card may be a portion of the smart cards selected by the user among all of the smart cards within the terminal. For example, the user may select, as each candidate smart card, a part of the smart cards with a higher frequency of use from all the smart cards in the terminal according to actual needs.
In an example, the NFC chip may determine whether each candidate smart card in the terminal satisfies the filtering condition according to information of each candidate smart card in the terminal and information of the card reader, so as to obtain each to-be-selected smart card that meets the filtering condition. The information of the candidate smart card and the information of the card reader, and the content included in the information of the candidate smart card and the information of the card reader may refer to the related description in the first embodiment, and are not repeated here to avoid repetition.
In one example, the filtering conditions include: the NFC technology type of the candidate smart card belongs to the NFC technology type supported by the card reader, and/or the card type of the candidate smart card belongs to the card type supported by the card reader. That is to say, the candidate smart cards which do not belong to the NFC technology type supported by the card reader are eliminated from the candidate smart cards, and/or the candidate smart cards which do not belong to the card type supported by the card reader are eliminated, which is beneficial to reasonably judging whether the candidate smart cards in the terminal meet the filtering condition.
Step 402: and determining the priority of each smart card to be selected.
In this step, the method for determining the priority of each to-be-selected smart card may refer to the method for determining the priority of each to-be-selected smart card in the first embodiment, and is not repeated here to avoid repetition.
Step 403: and traversing each smart card to be selected in turn according to the sequence of the priority of each smart card to be selected from high to low, and trying to establish communication connection with the card reader according to the information of the currently traversed smart card to be selected.
The information of the currently traversed to-be-selected smart card is a parameter of the to-be-selected smart card for establishing communication connection, namely a non-contact parameter of the to-be-selected smart card. The NFC chip attempts to establish communication connection with the card reader according to the currently traversed non-contact parameters of the smart cards to be selected until the smart cards to be selected which can successfully establish communication connection with the card reader are traversed, and the traversal is stopped. It can also be understood that the NFC chip sequentially simulates each smart card to be selected, and tries to establish a communication connection with the card reader when each smart card to be selected is simulated.
In one example, the attempt to establish a communication connection with the card reader according to the currently traversed non-contact parameter of the smart card to be selected may be understood as follows: and the NFC chip uses the traversed non-contact parameters of the smart card to be selected to exchange Radio Frequency (RF) instructions conforming to an NFC forum standard protocol with the card reader, and the currently traversed non-contact parameters of the smart card to be selected are filled in the RF instructions to interact with the card reader, mutually authenticate and attempt to establish communication. If the RF command exchange is successful, the NFC chip may establish a communication connection with the card reader successfully through the currently traversed non-contact parameter of the smart card to be selected, that is, the NFC chip may communicate with the card reader using the traversed non-contact parameter of the smart card to be selected.
In a specific implementation, the RF command may be a command in a frame format such as an Application Protocol Data Unit (APDU) frame format, a single byte short frame format, and a long frame format. As another example, the RF instructions may be of the TYPE 14443TYPE A, 14443TYPE B, ISO18092, ISO15693, or the like. The RF instructions may be embodied as: ALL _ REQ Command, SENS _ RES Response, SDD _ REQ Command, SEL _ REQ Command, SLP _ REQ Command and the like specified by the NFC Forum standard protocol.
Step 404: and if communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card, performing card swiping operation through the currently traversed to-be-selected smart card and the card reader.
In one example, if a communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card, the currently traversed to-be-selected smart card is marked as a target smart card. The manner of the card swiping operation between the target smart card and the card reader may be as follows: and activating the target smart card, transmitting the data from the card reader to the SE for installing the target smart card by the NFC chip, and processing the data by the SE to finish the card swiping operation. For example, when the terminal approaches a card reader of a bank card, the card reader and an NFC chip in the terminal successfully establish a communication connection through a non-contact parameter of a target smart card (e.g., a bank card), and then the NFC chip may activate the target smart card. Then, after receiving the transaction instruction sent by the card reader, the NFC chip may send the transaction instruction to the SE where the target smart card is installed, and complete the transaction by using the secure execution environment provided by the SE, that is, perform the operation of swiping a bank card.
In one example, the manner of activating the target smart card may be: and the NFC chip sends an instruction to the SE for installing the target smart card so that the SE for installing the target smart card activates the target smart card. In another example, the manner of activating the target smart card may be: the NFC chip sends the AID corresponding to the target smart card to an Application Processor (AP) in the terminal, and the AP in the terminal initiates an activation instruction of the target smart card to the SE, so that the target smart card is activated.
In one example, if after traversing each smart card to be selected, the NFC chip still does not successfully establish a communication connection with the card reader, and may send a notification message indicating that card selection has failed; and/or popping up a preset card selection interface for the user to select the smart card. If the processing mode after the communication connection is not successfully established with the card reader after traversing each to-be-selected smart card is completed is similar to the processing mode in the first embodiment after the communication connection is not successfully established with the card reader after traversing each to-be-selected smart card group, reference may be made to the related description in the first embodiment, and details are not repeated here in order to avoid repetition.
The above examples in the present embodiment are only for convenience of understanding, and do not limit the technical solutions of the present application.
In the embodiment, after the terminal is detected to enter the radio frequency range of the card reader, namely, after a user approaches the card reader, the user does not need to light the screen of the terminal, enters a card selection program, and manually selects the smart card to swipe the card, so that the reduction of user operation is facilitated, and the convenience of swiping the card is improved. And whether each candidate smart card in the terminal meets the filtering condition is judged, each smart card to be selected which meets the filtering condition is obtained, and each smart card to be selected which meets the filtering condition is obtained, so that the traversing range is narrowed, the traversing speed is increased, and the card selecting speed is increased. The intelligent cards to be selected are sequentially traversed from high to low through the priority of each intelligent card to be selected, so that communication connection with the card reader is tried according to the information of each intelligent card to be selected in a reasonable sequence, the number of times of trying is reduced, and the communication connection with the card reader is quickly and successfully established, so that the card selecting speed is further improved.
A fourth embodiment of the present application relates to a card selection method for an NFC card emulation mode. The following describes implementation details of the card selection method for the NFC card simulation mode in this embodiment in a specific manner, and the following description is only provided for the convenience of understanding and is not necessary for implementing this embodiment.
A flowchart of the card selecting method for the NFC card simulation mode of this embodiment may be as shown in fig. 5, and includes:
step 501: and acquiring each candidate smart card meeting preset screening conditions in the terminal.
Step 501 is substantially the same as step 201 in the second embodiment, and is not repeated here to avoid repetition.
Step 502: and after detecting that the terminal enters the radio frequency range of the card reader, judging whether each candidate smart card in the terminal meets the filtering condition, and acquiring each smart card to be selected which meets the filtering condition.
Step 503: and determining the priority of each smart card to be selected.
Step 504: and traversing each smart card to be selected in turn according to the sequence of the priority of each smart card to be selected from high to low, and trying to establish communication connection with the card reader according to the information of the currently traversed smart card to be selected.
Step 505: and if communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card, performing card swiping operation through the currently traversed to-be-selected smart card and the card reader.
It can be understood that, in this embodiment, before the terminal enters the radio frequency range of the card reader, each smart card in the terminal is screened without combining information of the card reader, so as to obtain each candidate smart card that meets the screening condition. After the terminal enters the radio frequency range of the card reader, each filtered smart card to be selected which meets the filtering condition can be obtained according to the information of each candidate smart card in the terminal and the information of the card reader.
In the embodiment, when the terminal does not enter the radio frequency range of the card reader, each candidate smart card meeting the screening condition is reasonably screened out first, so that the number of the candidate smart cards is favorably controlled within a reasonable range, the success rate of establishing communication connection with the card reader is not influenced, and the speed of successfully establishing communication connection with the card reader is increased. In addition, after the terminal enters the radio frequency range, part of the candidate smart cards are filtered to obtain each smart card to be selected which meets the filtering condition, so that the traversal range is further narrowed, the traversal speed is increased, and the card selection speed is increased.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fifth embodiment of the present application relates to a chip, and referring to fig. 6, the chip 601 is located in a terminal and connected to a memory 602 in the terminal, and the memory 602 stores instructions executable by the chip 601, where the instructions are executed by the chip 601, so that the chip 601 can execute the card selection method for the NFC card simulation mode according to any of the embodiments.
It should be noted that this embodiment is an example of the apparatus corresponding to the first to fourth embodiments, and may be implemented in cooperation with any one of the first to fourth embodiments. Related technical details mentioned in any of the first to fourth embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first to fourth embodiments.
A sixth embodiment of the present application relates to a terminal, referring to fig. 6, including: a chip 601, and a memory 602 connected to the chip 601.
The memory and the chips are connected by a bus, which may include any number of interconnected buses and bridges, which connect one or more of the chips to various circuits of the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the chip is transmitted over the wireless medium through the antenna, which further receives the data and transmits the data to the chip.
The chip is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. While the memory may be used to store data used by the chip in performing operations.
A seventh embodiment of the present application relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the present application, and that various changes in form and details may be made therein without departing from the spirit and scope of the present application in practice.

Claims (14)

1. A card selection method for an NFC card simulation mode is characterized by comprising the following steps:
after detecting that a terminal enters a radio frequency range of a card reader, acquiring a plurality of candidate intelligent card groups obtained by grouping each candidate intelligent card in the terminal; wherein the number of smart cards in each of the candidate smart card sets is greater than or equal to 2;
judging whether the candidate smart card groups meet the filtering condition or not to obtain each to-be-selected smart card group meeting the filtering condition;
determining the priority of each smart card group to be selected;
sequentially traversing each to-be-selected smart card group according to the sequence of the priority of each to-be-selected smart card group from high to low, and trying to establish communication connection with the card reader according to the currently traversed information of the to-be-selected smart card group;
if communication connection is successfully established with the card reader according to the information of the currently traversed to-be-selected smart card group, determining a target smart card according to the currently traversed to-be-selected smart card group, and performing card swiping operation through the target smart card and the card reader;
the obtaining of the plurality of candidate smart card groups obtained by grouping the candidate smart cards in the terminal includes:
grouping the candidate smart cards according to the parameters of the candidate smart cards in the terminal for establishing communication connection to obtain a plurality of candidate smart card groups; wherein there is no conflict in the parameters for establishing communication connection of the candidate smart cards in the same group of candidate smart cards.
2. A card selection method for an NFC card emulation mode as in claim 1 wherein the filter criteria include: the NFC technology type of at least one candidate smart card in the candidate smart card group belongs to the NFC technology type supported by the card reader, and/or the card type of at least one candidate smart card in the candidate smart card group belongs to the card type supported by the card reader.
3. The card selection method for an NFC card emulation mode as in claim 1 wherein said determining a priority for each of said sets of smart cards to be selected comprises:
determining the priority of each smart card to be selected in each smart card group to be selected;
and determining the priority of each to-be-selected smart card group according to the priority of each to-be-selected smart card in each to-be-selected smart card group.
4. The card selection method for an NFC card emulation mode as recited in claim 3 wherein said determining a priority for each of the candidate smart cards in the respective set of candidate smart cards comprises:
determining the sorting weight corresponding to each smart card to be selected according to the information of each smart card to be selected in each smart card group to be selected;
and determining the priority of each smart card to be selected according to the corresponding sorting weight of each smart card to be selected.
5. The card selection method for the NFC card simulation mode according to claim 4, wherein the determining the sorting weight corresponding to each smart card to be selected according to the information of each smart card to be selected in each smart card group to be selected includes:
determining a weight factor corresponding to each smart card to be selected according to the information of each smart card to be selected;
determining the sorting weight corresponding to each smart card to be selected according to the weight factor corresponding to each smart card to be selected;
when the information of the smart card to be selected includes the application corresponding to the smart card to be selected, the weighting factor includes: determining a first weight factor based on whether the application corresponding to the to-be-selected smart card is a foreground application operated by the terminal, and/or determining a second weight factor based on whether the application corresponding to the to-be-selected smart card is a default payment application of the terminal;
when the information of the smart card to be selected comprises the geographical position requirement of the smart card to be selected, the weighting factor comprises: determining a third weight factor based on whether the geographic position of the terminal meets the geographic position requirement of the smart card to be selected;
when the information of the smart card to be selected includes the historical number of times of activation of the smart card to be selected, the weighting factor includes: a fourth weighting factor determined based on the historical number of times the smart card to be selected was activated.
6. The card selecting method for the NFC card simulation mode according to claim 5, wherein if the weighting factor includes the third weighting factor, the third weighting factor corresponding to a smart card to be selected with a smaller geographic location requirement range in the smart cards to be selected is larger if the geographic location of the terminal simultaneously satisfies the geographic location requirements of the smart cards to be selected.
7. The card selection method for an NFC card emulation mode as recited in claim 1, wherein the information of the to-be-selected smart card group includes: the parameters of the to-be-selected smart card group for establishing communication connection are as follows: and merging the parameters of the smart cards to be selected in the set of the smart cards to be selected for establishing the communication connection to obtain merged parameters.
8. A card selection method for an NFC card emulation mode according to any one of claims 1 to 7, characterised in that the respective candidate smart cards meet a preset screening condition.
9. The card selection method for an NFC card simulation mode according to claim 8, wherein the screening condition includes: the geographical location of the terminal satisfies the geographical location requirements of the candidate smart card and/or the security element to which the candidate smart card belongs is allowed to be activated.
10. The card selection method for the NFC card simulation mode according to any one of claims 1 to 7, wherein the determining a target smart card according to the currently traversed group of smart cards to be selected includes:
activating each smart card to be selected in the currently traversed smart card group to be selected;
receiving a card selection instruction from the card reader;
and determining a target smart card in the activated smart cards to be selected according to the card selection instruction.
11. The card selection method for an NFC card simulation mode according to any of claims 1 to 7, wherein if the smart card to be selected is traversed, a communication connection is not successfully established with the card reader, the method further comprising:
sending out notification information of card selection failure; and/or the presence of a gas in the gas,
and popping up a preset card selection interface for the user to select the smart card.
12. A chip located in a terminal and connected to a memory in said terminal, said memory storing instructions executable by said chip, said instructions being executable by said chip to enable said chip to perform a card selection method for NFC card emulation mode according to any of claims 1 to 11.
13. A terminal, comprising: the chip of claim 12, and a memory coupled to the chip.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, implements the card selection method for NFC card emulation mode of any one of claims 1 to 11.
CN202011263137.8A 2020-11-12 2020-11-12 Card selection method, chip, terminal and storage medium for NFC card simulation mode Active CN112069848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011263137.8A CN112069848B (en) 2020-11-12 2020-11-12 Card selection method, chip, terminal and storage medium for NFC card simulation mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011263137.8A CN112069848B (en) 2020-11-12 2020-11-12 Card selection method, chip, terminal and storage medium for NFC card simulation mode

Publications (2)

Publication Number Publication Date
CN112069848A CN112069848A (en) 2020-12-11
CN112069848B true CN112069848B (en) 2021-04-30

Family

ID=73655952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011263137.8A Active CN112069848B (en) 2020-11-12 2020-11-12 Card selection method, chip, terminal and storage medium for NFC card simulation mode

Country Status (1)

Country Link
CN (1) CN112069848B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4060588A1 (en) * 2021-02-05 2022-09-21 Shenzhen Goodix Technology Co., Ltd. Virtual electronic card management method and system, security chip, terminal, and storage medium
CN113361293A (en) * 2021-06-02 2021-09-07 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium
CN113573239B (en) * 2021-06-15 2022-07-01 荣耀终端有限公司 Virtual card switching method, electronic equipment and wearable equipment
CN114154524A (en) * 2021-12-03 2022-03-08 展讯通信(深圳)有限公司 Near field communication NFC virtual card screening method and device and electronic equipment
CN114519407A (en) * 2022-01-10 2022-05-20 维沃移动通信有限公司 Display control method, display control device, electronic device, and medium
CN116933809A (en) * 2022-04-02 2023-10-24 华为技术有限公司 NFC-based card swiping method, medium and electronic equipment
CN115001540B (en) * 2022-05-19 2023-11-24 深圳市汇顶科技股份有限公司 Card simulation method, NFC chip and electronic equipment
CN115866134B (en) * 2023-02-27 2023-06-06 小米汽车科技有限公司 Near field communication NFC card determination method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016505A (en) * 2012-07-30 2014-02-10 유비벨록스(주) Gift card by using nfc
CN103632264A (en) * 2012-08-24 2014-03-12 三星电子株式会社 Method and apparatus for determining item based on interaction environment
CN106127472A (en) * 2016-06-28 2016-11-16 惠州Tcl移动通信有限公司 Implementation method, system and the terminal of a kind of nfc card pattern self-starting
CN110020569A (en) * 2019-03-11 2019-07-16 华为技术有限公司 Automatically select method, electronic equipment and the communication system of NFC analog card
CN110035180A (en) * 2019-04-11 2019-07-19 Oppo广东移动通信有限公司 Card display methods, device, terminal and storage medium
CN110795949A (en) * 2019-09-25 2020-02-14 维沃移动通信(杭州)有限公司 Card swiping method and device, electronic equipment and medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514643A (en) * 2012-06-25 2014-01-15 上海博腾信息科技有限公司 Patrol system based on wireless radio frequency, and achievement method thereof
CN109844789B (en) * 2017-09-28 2021-04-20 华为技术有限公司 Terminal transaction method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140016505A (en) * 2012-07-30 2014-02-10 유비벨록스(주) Gift card by using nfc
CN103632264A (en) * 2012-08-24 2014-03-12 三星电子株式会社 Method and apparatus for determining item based on interaction environment
CN106127472A (en) * 2016-06-28 2016-11-16 惠州Tcl移动通信有限公司 Implementation method, system and the terminal of a kind of nfc card pattern self-starting
CN110020569A (en) * 2019-03-11 2019-07-16 华为技术有限公司 Automatically select method, electronic equipment and the communication system of NFC analog card
CN110035180A (en) * 2019-04-11 2019-07-19 Oppo广东移动通信有限公司 Card display methods, device, terminal and storage medium
CN110795949A (en) * 2019-09-25 2020-02-14 维沃移动通信(杭州)有限公司 Card swiping method and device, electronic equipment and medium

Also Published As

Publication number Publication date
CN112069848A (en) 2020-12-11

Similar Documents

Publication Publication Date Title
CN112069848B (en) Card selection method, chip, terminal and storage medium for NFC card simulation mode
US11088724B2 (en) Communication device, control method, program and front end
CN102047748B (en) Method and apparatus for automatic application selection in an electronic device using multiple discovery managers
CN109844789B (en) Terminal transaction method and terminal
EP2106107B1 (en) Method and apparatus for automatic near field communication application selection in an electronic device
CN111543041B (en) Selection method of analog card and mobile device
US8606943B2 (en) Method for processing application commands from physical channels using a portable electronic device and corresponding device and system
CN114462560B (en) Analog card switching method, electronic equipment and communication system
CN113361293A (en) Card swiping method, card controller, electronic device and storage medium
KR101455155B1 (en) Method for Mobile Payment Card Priority Auto-Setting in Multi-SE and Mobile Device using the same
US10085268B2 (en) Communications device and communications system
US10931331B2 (en) Communication device and method
WO2022099563A1 (en) Card selection method for nfc card simulation mode, chip, terminal, and storage medium
KR101754398B1 (en) Method for identifying Store by using Resource of Smart Phone
CN113098566B (en) Method for configuring non-contact communication equipment and non-contact communication electronic equipment
CN113098567A (en) Configuration of transactions in contactless electronic devices
CN103684547A (en) Apparatus and method for providing data transmission/reception in a terminal using near field communication
CN106604254A (en) Data processing method for NFC communication and terminal
CN115942290A (en) NFC communication method, device, system and storage medium
CN117376880A (en) Switching method and terminal of security service
KR20130016048A (en) Method for providing safe payment using near filed communication terminal , near field communication terminal, and radio frequency payment apparatus
KR20120008154A (en) Method for loading application of smart phone using multiple status distinction, smart phone and program

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
GR01 Patent grant
GR01 Patent grant