CN112347802A - Card swiping method, system and device - Google Patents

Card swiping method, system and device Download PDF

Info

Publication number
CN112347802A
CN112347802A CN202011209658.5A CN202011209658A CN112347802A CN 112347802 A CN112347802 A CN 112347802A CN 202011209658 A CN202011209658 A CN 202011209658A CN 112347802 A CN112347802 A CN 112347802A
Authority
CN
China
Prior art keywords
card
information
virtual
calling
virtual card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011209658.5A
Other languages
Chinese (zh)
Other versions
CN112347802B (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202011209658.5A priority Critical patent/CN112347802B/en
Publication of CN112347802A publication Critical patent/CN112347802A/en
Application granted granted Critical
Publication of CN112347802B publication Critical patent/CN112347802B/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/10366Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications
    • G06K7/10376Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being adapted for being moveable
    • G06K7/10386Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being adapted for being moveable the interrogation device being of the portable or hand-handheld type, e.g. incorporated in ubiquitous hand-held devices such as PDA or mobile phone, or in the form of a portable dedicated RFID reader
    • 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/10237Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the reader and the record carrier being capable of selectively switching between reader and record carrier appearance, e.g. in near field communication [NFC] devices where the NFC device may function as an RFID reader or as an RFID tag
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a card swiping method, a card swiping system and a card swiping device. According to the method and the device, the card information can be automatically sent to the card reader after the card reader is identified, a user does not need to light the screen of the electronic equipment to select the virtual card, automatic card swiping can be achieved, the user operation is convenient, and meanwhile the power consumption of the electronic equipment is reduced.

Description

Card swiping method, system and device
Technical Field
The present invention relates to the field of wireless communications, and in particular, to a card swiping method, system and device.
Background
At present, along with the development of scientific technology, the functions of electronic equipment are more and more, and the electronic equipment is more and more perfect. Most electronic devices have an NFC (Near Field Communication) card copy function. Specifically, after the user opens the NFC function of the electronic device, the entity card is brought close to the electronic device, and the electronic device reads information of the entity card and stores the information of the entity card in a virtual card in the electronic device. It can be seen that a virtual card in the electronic device can replace a physical card. A plurality of virtual cards can be stored in the electronic equipment, so that a user does not need to take a bus card, an entrance guard card, a meal card and the like of an entity when going out, and a portable mode that the equipment is in hand and walks along with the user in the world is really realized.
However, in the prior art, when a user swipes a card through a virtual card in an electronic device, the user needs to first light up a screen, find the corresponding virtual card, and trigger the electronic device to call information of the found virtual card to swipe the card, which is complicated in user operation and increases energy consumption.
Disclosure of Invention
The invention aims to provide a card swiping method, a card swiping system and a card swiping device, which can automatically send card information to a card reader after the card reader is identified, do not need a user to light a screen of electronic equipment to select a virtual card, can realize automatic card swiping, are convenient for the user to operate, and simultaneously reduce the power consumption of the electronic equipment.
In order to solve the above technical problem, the present invention provides a card swiping method applied to an electronic device, including:
judging whether a card reader is identified;
if so, calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader to realize card swiping processing.
Preferably, the invoking information of the virtual card stored in the electronic device and sending the information to the card reader includes:
determining the calling sequence of the information of each virtual card based on a first preset calling rule;
and calling the information of the virtual cards according to the calling sequence of the information of the virtual cards and sending the information to the card reader to realize card swiping processing.
Preferably, the determining the calling order of the information of each virtual card based on the first preset calling rule includes:
and sequencing the virtual cards in a sequence from a plurality of times to a plurality of times according to the total times of successful card swiping of each virtual card in historical time with the current time as a reference to obtain the calling sequence of the information of each virtual card.
Preferably, the determining the calling order of the information of each virtual card based on the first preset calling rule includes:
dividing one day into N time periods, wherein N is an integer not less than 1;
sorting the virtual cards in a sequence from a plurality of times to a few times according to the total number of times of card swiping success of each virtual card in each historical time period based on the current time to obtain the calling sequence of the information of each virtual card in each time period in one day;
and taking the calling sequence of the information of each virtual card in the time period of the current time as the calling sequence of the information of each virtual card in the current time.
Preferably, the invoking the information of the virtual card according to the invoking sequence of the information of each virtual card and sending the information of the virtual card to the card reader includes:
s21: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s22: calling the information of the current virtual card and sending the information to the card reader;
s23: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S24, and if so, entering S27;
s24: judging whether the calling times of the current virtual card are not less than preset calling times, if so, entering S25, and if not, returning to S22;
s25: judging whether a virtual card with information not called exists, if so, entering S26, and if not, entering S27;
s26: taking the next virtual card of the current virtual card as the current virtual card and returning to S22;
s27: and stopping calling the information of the virtual card.
Preferably, before the S21, the method further includes:
s31: judging whether the number of the virtual cards is not greater than the preset number of cards, if so, entering step S21, otherwise, entering step S32;
s32: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s33: calling the information of the current virtual card and sending the information to the card reader;
s34: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S35, and if so, entering S37;
s35: judging whether a virtual card with information not called exists, if so, entering S36, and if not, entering S37;
s36: taking the next virtual card of the current virtual card as the current virtual card and returning to S33;
s37: and stopping calling the information of the virtual card.
Preferably, after determining that there is no virtual card that does not call information and stopping calling information of the virtual card, the method further includes:
and the control prompt module sends prompt information of card swiping failure to the user.
Preferably, the control prompt module sends a prompt message of card swiping failure to the user, including:
and controlling the electronic equipment to light a screen and/or vibrate so as to send prompt information of card swiping failure to a user.
In order to solve the above technical problem, the present invention provides a card swiping system applied to an electronic device, comprising:
the judging unit is used for judging whether a card reader is identified or not and triggering the information calling unit after the card reader is judged to be identified;
the information calling unit is used for calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader so as to realize card swiping processing.
In order to solve the technical problem, the invention provides a card swiping device, which comprises:
a memory for storing a computer program;
and the processor is used for realizing the steps of the card swiping method when the computer program is executed.
The invention provides a card swiping method, a card swiping system and a card swiping device. According to the method and the device, the card information can be automatically sent to the card reader after the card reader is identified, a user does not need to light the screen of the electronic equipment to select the virtual card, automatic card swiping can be achieved, the user operation is convenient, and meanwhile the power consumption of the electronic equipment is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic flow chart of a card swiping method according to the present invention;
FIG. 2 is a schematic view illustrating a process of calling information of a virtual card according to the present invention;
FIG. 3 is a schematic diagram of a flow chart of specifically invoking information of a virtual card according to the present invention;
FIG. 4 is a schematic structural diagram of a card swiping system provided by the present invention;
fig. 5 is a schematic structural diagram of a card swiping device provided by the invention.
Detailed Description
The core of the invention is to provide a card swiping method, a card swiping system and a card swiping device, which can automatically send card information to a card reader after identifying the card reader, do not need a user to light a screen of electronic equipment to select a virtual card, can realize automatic card swiping, are convenient for the user to operate, and simultaneously reduce the power consumption of the electronic equipment.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a card swiping method provided by the present invention, where the method is applied to an electronic device, and includes:
s11: judging whether the card reader is identified, if so, entering S12;
in the application, the electronic equipment can automatically identify the card reader, and particularly, when the distance between an NFC coil in the electronic equipment and the card reader is long, the NFC coil in the electronic equipment and the card reader cannot interact with each other; when the distance between the NFC coil in the electronic equipment and the card reader is short, the NFC coil in the electronic equipment can interact with the card reader. In practical application, when a user presses the electronic device close to the card reader, the NFC coil in the electronic device interacts with the card reader, and the electronic device can judge and identify the card reader based on the NFC coil, so that subsequent processing is automatically performed, the user does not need to open the electronic device, a screen of the electronic device is lightened, and certain energy consumption is saved.
It should be noted that the card reader in the present application may be, but is not limited to, an entrance guard card reader, a meal card reader, or a bus card reader.
S12: and calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader to realize card swiping processing.
In order to avoid the situation that a user manually selects the information of the virtual card, in the application, after the card reader is identified, the electronic equipment can automatically call the information of the virtual card stored in advance and send the information of the virtual card to the card reader so as to realize the processing of swiping the card.
To implement the above process, it is necessary to store the information of the virtual card in the electronic device in advance. Specifically, when the electronic device stores information of an entity card as information of a virtual card inside the electronic device, the electronic device serves as a card reader, that is, an NFC coil in the electronic device is equivalent to a primary coil of a transformer and supplies power to an inductance coil in the entity card, and the inductance coil in the entity card is equivalent to a secondary coil of the transformer.
In addition, the electronic device may also perform data interaction with other electronic devices to acquire information of the virtual card stored in the other electronic devices and store the information in the memory of the electronic device. It should be noted that the electronic devices may transmit information of the virtual card through NFC or other communication methods.
In addition, when the information of the virtual card stored in the electronic equipment is called to swipe the card, the electronic equipment modulates the information of the virtual card on the NFC coil, so that the card reader can read the information in the virtual card in the electronic equipment, and the card swiping process is further realized.
It should be noted that, when a plurality of virtual cards are stored in the electronic device, the information of each virtual card may be called based on a certain calling sequence, and the calling sequence may be, but is not limited to, a calling sequence set by the user or a storage sequence of each virtual card. After the information of the virtual card is sent to the card reader, when the information of the successful card swiping sent by the card reader is received, the information of the virtual card does not need to be called. When the information of the virtual cards is called, but the information of the virtual cards is not received, the information of the virtual cards is not called any more.
The virtual card in the present application may be, but is not limited to, an entrance guard card, a meal card, or a bus card. In addition, the electronic device in the present application may be, but is not limited to, a mobile phone with an NFC function or a bracelet with an NFC function.
In conclusion, the card information can be automatically sent to the card reader after the card reader is identified by the electronic equipment, and the user does not need to light the screen to select the virtual card, so that the user operation is facilitated, and meanwhile, the power consumption is reduced.
On the basis of the above-described embodiment:
as a preferred embodiment, the method for calling and sending the information of the virtual card stored in the electronic device to the card reader includes:
determining the calling sequence of the information of each virtual card based on a first preset calling rule;
and calling the information of the virtual cards according to the calling sequence of the information of each virtual card and sending the information to the card reader to realize card swiping processing.
In this embodiment, it is considered that the electronic device may store information of a plurality of virtual cards, and therefore, when the information of the virtual cards stored in the electronic device is called, the calling order of the information of the plurality of virtual cards stored in the electronic device is determined based on the first calling rule, and then the information of the virtual cards is sequentially called based on the determined calling order and sent to the card reader, so as to implement the card swiping process.
The first preset calling rule may be, but is not limited to, determining the calling order of the information of each virtual card from a greater number to a smaller number of times that the virtual card is successfully swiped.
It should be noted that, when the information of the virtual cards is sequentially called based on the determined sequence, the information of the virtual cards is sent to the card reader, and after the information which is sent by the card reader and successfully identified is received, the information of the virtual cards is not called any more; if the information which is sent by the card reader and successfully identified is not received, the information of the virtual cards is continuously called in sequence until the information which is sent by the card reader and successfully identified is received, or all the information of the virtual cards is called.
In summary, the method of the application can be sequentially called based on the information of the plurality of virtual cards stored in the electronic device, and is convenient for user operation.
As a preferred embodiment, determining the calling order of the information of each virtual card based on a first preset calling rule includes:
and sequencing the virtual cards in a sequence from the maximum to the minimum according to the total times of successful card swiping of each virtual card in historical time with the current time as a reference to obtain the calling sequence of the information of each virtual card.
In this embodiment, when determining the calling order of the information of the virtual cards in the electronic device based on the first preset calling rule, all the virtual cards are sorted from most to least according to the total number of times of card swiping success based on the current time in the historical time. And the virtual card with the largest card swiping success frequency in the historical time is used as the virtual card of the first called information, and the virtual card with the smallest card swiping success frequency is used as the virtual card of the last called information. Based on the method, the probability of successful card swiping of the virtual card of the first called message is higher, and the total time consumed is shorter.
In addition, the first preset calling rule may also be used for manually ordering the virtual cards in the electronic device in advance for the user, and the order of the virtual cards is set by the user.
As a preferred embodiment, determining the calling order of the information of each virtual card based on a first preset calling rule includes:
dividing one day into N time periods, wherein N is an integer not less than 1;
sorting the virtual cards in a sequence from a plurality of times to a few times according to the total number of times of card swiping success of each virtual card in each historical time period based on the current time to obtain the calling sequence of the information of each virtual card in each time period in one day;
and taking the calling sequence of the information of each virtual card in the time period of the current time as the calling sequence of the information of each virtual card at the current time.
In this embodiment, when determining the order of the virtual cards in the electronic device, a day is first divided into N time periods, for example, every two hours between 0 hour and 24 hours in the day is divided into one time period, and then, based on the historical time based on the current time, the calling order of the information of the virtual cards is determined from the most to the least of the times of successful card swiping of the information of each virtual card in each time period. For example, in the historical time, in the time period from 6 hours to 8 hours of each day, the virtual card with the largest card swiping success frequency is taken as the first called information virtual card in the time period from 6 hours to 8 hours. Based on the information, determining the time period of the current time in the current day, and taking the calling sequence of the information of each virtual card in the time period of the current time as the calling sequence of the information of each virtual card in the current time. The probability of successful card swiping of the virtual card of the first called information is improved, and the time is saved.
In addition, the method and the device do not limit the basis of virtual card sequencing and can realize automatic card swiping.
As a preferred embodiment, the calling of the information of the virtual cards and the sending of the information of the virtual cards to the card reader according to the calling sequence of the information of the virtual cards comprises:
s21: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s22: calling information of the current virtual card and sending the information to the card reader;
s23: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S24, and if so, entering S27;
s24: judging whether the calling times of the current virtual card are not less than the preset calling times, if so, entering S25, otherwise, returning to S22;
s25: judging whether a virtual card with information not called exists, if so, entering S26, and if not, entering S27;
s26: taking the next virtual card of the current virtual card as the current virtual card and returning to the step S22;
s27: and stopping calling the information of the virtual card.
In this embodiment, it is considered that after the information of the virtual card is called and sent to the card reader, some interference factors may cause that the virtual card matched with the card reader cannot be successfully swiped, for example, the card reader identifies the information inaccurately and/or the distance between the electronic device and the card reader is unstable, so when the information of each virtual card is called based on the second preset calling rule, the information of each virtual card is called for a preset calling number of times, and if the information that the card swiping success sent by the card reader is not received after the preset calling number of times is called, the information of the next virtual card is called and is continuously sent to the card reader until the card swiping is successful or all the information of the virtual cards is called. Referring to fig. 2, fig. 2 is a schematic view illustrating a process of calling information of a virtual card according to the present invention. Therefore, the card swiping success rate is improved.
As a preferred embodiment, before S21, the method further includes:
s31: judging whether the number of the virtual cards is not greater than the preset number of cards, if so, entering step S21, otherwise, entering step S32;
s32: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s33: calling information of the current virtual card and sending the information to the card reader;
s34: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S35, and if so, entering S37;
s35: judging whether a virtual card with information not called exists, if so, entering S36, and if not, entering S37;
s36: taking the next virtual card of the current virtual card as the current virtual card and returning to the step S33;
s37: and stopping calling the information of the virtual card.
In this embodiment, it is considered that when the number of the virtual cards is large, if all the virtual cards call the preset call times, the time consumed is long. In order to solve the problems, before the information of the virtual cards is called and sent to the card reader, whether the number of the virtual cards is not larger than the preset number of cards is judged, if the number of the virtual cards is smaller than the preset number of cards, the information of the virtual cards is called according to the calling sequence of the information of the virtual cards, and when the information of successful card swiping sent by the card reader is not received, the information of the virtual cards is called for preset calling times, so that the success probability is improved. The preset number of calls may be, but is not limited to, two.
However, if the number of the virtual cards is large and the number of the virtual cards is larger than the preset number of cards, the information of each virtual card is called according to the calling sequence of the information of each virtual card, and the information of each virtual card is called only once. Referring to fig. 3, fig. 3 is a schematic view of a flow chart specifically calling information of a virtual card according to the present invention.
It should be noted that when the information of all the virtual cards is called, but the information that the card swiping is successful is not received yet, the user is prompted to fail to swipe the card by calling the information of the virtual card in the electronic device, and the user can select the physical card swiping or other methods by himself, so that the user can perform subsequent processing conveniently.
In addition, after the card swiping success is confirmed, the judgment of whether the card reader is identified is restarted, so that a new card swiping process is started.
As a preferred embodiment, after determining that there is no virtual card with the information not called and stopping calling the information of the virtual card, the method further includes:
and the control prompt module sends prompt information of card swiping failure to the user.
In this embodiment, it is considered that the calling of the information of the virtual card is stopped after the information that the card swiping of the card reader is successful is not received and there is no virtual card that does not call the information, but the user cannot judge whether the card swiping is successful at this time. In order to solve the problems, after the calling of the information of the virtual card is stopped due to the fact that the virtual card without the information is not called, the method and the device further control the prompt module to send prompt information of card swiping failure to the user so as to prompt the user to select an entity card or perform subsequent processing in other modes, and operation of the user is facilitated.
As a preferred embodiment, the control prompting module sends a prompt message of card swiping failure to the user, and the prompt message comprises:
and controlling the electronic equipment to be lightened and/or vibrated so as to give out prompt information of card swiping failure to the user.
In this embodiment, the electronic device may be controlled to light up to prompt the user that the card swiping failure occurs, or the electronic device may be controlled to vibrate to prompt the user that the card swiping failure occurs. When the user is in a darker environment, the bright screen of the control screen can enable the user to receive prompt of card swiping failure more timely, and when the environment where the user is located is brighter, the vibration module vibrates to enable the user to receive prompt of card swiping failure more timely.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a card swiping system provided by the present invention.
The system is applied to the electronic equipment and comprises:
the judging unit 1 is used for judging whether the card reader is identified or not and triggering the information calling unit 2 after judging that the card reader is identified;
and the information calling unit 2 is used for calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader so as to realize card swiping processing.
For the introduction of the card swiping system provided by the present invention, please refer to the above method embodiment, and the present invention is not described herein again.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a card swiping device provided by the invention.
This device of punching card includes:
a memory 3 for storing a computer program;
and the processor 4 is used for realizing the steps of the card swiping method when executing the computer program.
For the introduction of the card swiping device provided by the present invention, please refer to the above method embodiment, and the present invention is not described herein again.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A card swiping method is applied to electronic equipment and is characterized by comprising the following steps:
judging whether a card reader is identified;
if so, calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader to realize card swiping processing.
2. The card swiping method of claim 1, wherein the invoking information of the virtual card stored in the electronic device and sending to the card reader comprises:
determining the calling sequence of the information of each virtual card based on a first preset calling rule;
and calling the information of the virtual cards according to the calling sequence of the information of the virtual cards and sending the information to the card reader to realize card swiping processing.
3. The card swiping method of claim 2, wherein the determining the calling order of the information of each virtual card based on the first preset calling rule comprises:
and sequencing the virtual cards in a sequence from a plurality of times to a plurality of times according to the total times of successful card swiping of each virtual card in historical time with the current time as a reference to obtain the calling sequence of the information of each virtual card.
4. The card swiping method of claim 2, wherein the determining the calling order of the information of each virtual card based on the first preset calling rule comprises:
dividing one day into N time periods, wherein N is an integer not less than 1;
sorting the virtual cards in a sequence from a plurality of times to a few times according to the total number of times of card swiping success of each virtual card in each historical time period based on the current time to obtain the calling sequence of the information of each virtual card in each time period in one day;
and taking the calling sequence of the information of each virtual card in the time period of the current time as the calling sequence of the information of each virtual card in the current time.
5. The card swiping method according to any one of claims 2 to 4, wherein the calling the information of the virtual cards and sending the information of the virtual cards to the card reader according to the calling sequence of the information of each virtual card comprises:
s21: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s22: calling the information of the current virtual card and sending the information to the card reader;
s23: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S24, and if so, entering S27;
s24: judging whether the calling times of the current virtual card are not less than preset calling times, if so, entering S25, and if not, returning to S22;
s25: judging whether a virtual card with information not called exists, if so, entering S26, and if not, entering S27;
s26: taking the next virtual card of the current virtual card as the current virtual card and returning to S22;
s27: and stopping calling the information of the virtual card.
6. The card swiping method of claim 5, prior to said S21, further comprising:
s31: judging whether the number of the virtual cards is not greater than the preset number of cards, if so, entering step S21, otherwise, entering step S32;
s32: determining a first called virtual card according to the calling sequence of the information of each virtual card, and taking the first virtual card as a current virtual card;
s33: calling the information of the current virtual card and sending the information to the card reader;
s34: judging whether the information of successful card swiping sent by the card reader is received, if not, entering S35, and if so, entering S37;
s35: judging whether a virtual card with information not called exists, if so, entering S36, and if not, entering S37;
s36: taking the next virtual card of the current virtual card as the current virtual card and returning to S33;
s37: and stopping calling the information of the virtual card.
7. The card swiping method according to claim 5, wherein after determining that there is no virtual card without the information being called and stopping calling the information of the virtual card, further comprising:
and the control prompt module sends prompt information of card swiping failure to the user.
8. The card swiping method of claim 7, wherein the controlling and prompting module sends a prompt message of card swiping failure to the user, comprising:
and controlling the electronic equipment to light a screen and/or vibrate so as to send prompt information of card swiping failure to a user.
9. A card swiping system applied to electronic equipment is characterized by comprising:
the judging unit is used for judging whether a card reader is identified or not and triggering the information calling unit after the card reader is judged to be identified;
the information calling unit is used for calling the information of the virtual card stored in the electronic equipment and sending the information to the card reader so as to realize card swiping processing.
10. A card swiping device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the card swiping method according to any one of claims 1 to 8 when executing said computer program.
CN202011209658.5A 2020-11-03 2020-11-03 Card swiping method, system and device Active CN112347802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011209658.5A CN112347802B (en) 2020-11-03 2020-11-03 Card swiping method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011209658.5A CN112347802B (en) 2020-11-03 2020-11-03 Card swiping method, system and device

Publications (2)

Publication Number Publication Date
CN112347802A true CN112347802A (en) 2021-02-09
CN112347802B CN112347802B (en) 2023-05-02

Family

ID=74356199

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011209658.5A Active CN112347802B (en) 2020-11-03 2020-11-03 Card swiping method, system and device

Country Status (1)

Country Link
CN (1) CN112347802B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361293A (en) * 2021-06-02 2021-09-07 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7413113B1 (en) * 2004-07-28 2008-08-19 Sprint Communications Company L.P. Context-based card selection device
US20090037326A1 (en) * 2007-07-30 2009-02-05 Sriram Chitti Virtual Card Selector for a Portable Electronic Device
CN104883657A (en) * 2015-04-30 2015-09-02 努比亚技术有限公司 Virtual card management method and apparatus
CN108665265A (en) * 2018-05-21 2018-10-16 北京小米移动软件有限公司 Virtual card display methods and device
CN109146472A (en) * 2017-06-16 2019-01-04 北京橙鑫数据科技有限公司 Recommended method, device and the mobile terminal of card
CN111241856A (en) * 2020-01-09 2020-06-05 广东小天才科技有限公司 Method for selecting NFC analog card and watch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7413113B1 (en) * 2004-07-28 2008-08-19 Sprint Communications Company L.P. Context-based card selection device
US20090037326A1 (en) * 2007-07-30 2009-02-05 Sriram Chitti Virtual Card Selector for a Portable Electronic Device
CN104883657A (en) * 2015-04-30 2015-09-02 努比亚技术有限公司 Virtual card management method and apparatus
CN109146472A (en) * 2017-06-16 2019-01-04 北京橙鑫数据科技有限公司 Recommended method, device and the mobile terminal of card
CN108665265A (en) * 2018-05-21 2018-10-16 北京小米移动软件有限公司 Virtual card display methods and device
CN111241856A (en) * 2020-01-09 2020-06-05 广东小天才科技有限公司 Method for selecting NFC analog card and watch

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113361293A (en) * 2021-06-02 2021-09-07 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium
WO2022252561A1 (en) * 2021-06-02 2022-12-08 深圳市汇顶科技股份有限公司 Card swiping method, card controller, electronic device and storage medium

Also Published As

Publication number Publication date
CN112347802B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US9652133B2 (en) Method and apparatus for designating entire area using partial area touch in a portable equipment
CN109901920A (en) Method for scheduling task and device, electric terminal
US7407107B2 (en) Apparatus, system, method and computer program product for creating shortcuts to functions in a personal communication device
CN107783803A (en) System optimization method, device, storage medium and the intelligent terminal of intelligent terminal
CN109376811A (en) A kind of intelligence changes chucking method, device, terminal and computer-readable medium
WO2022252561A1 (en) Card swiping method, card controller, electronic device and storage medium
CN110876077B (en) Control method of smart television, mobile terminal and computer readable storage medium
EP2033095B1 (en) A thread controller for simultaneous process of data transfer sessions in a personal token
CN111581994A (en) Near Field Communication (NFC) communication method and device and electronic equipment
US9059747B2 (en) Method for rapid information synchronization using near field communication
CN112347802A (en) Card swiping method, system and device
CN109035451A (en) Parking Fee calculation method, device and computer readable storage medium
US20150327179A1 (en) Portable terminal device
CN104394258A (en) Method and device for processing contact change of communication object
CN112511974A (en) NFC card selection method and device and electronic equipment
CN111475870B (en) Reset method and device, electronic equipment and computer storage medium
CN106789746B (en) Method and device for managing software data flow
CN105681610A (en) Customer service telephone interaction method and system and mobile terminal
CN106576389B (en) Terminal setting adjusting method and device
CN101778470A (en) Application method and device of terminal equipment
CN110648131A (en) Near field communication-based card swiping method and device, electronic equipment and storage medium
CN107426388B (en) Intelligent calling device, system and method
CN113780018A (en) Data input method, electronic device, device and readable storage medium
CN115243207A (en) Recharging method and device based on near field communication, electronic equipment and storage medium
CN110910131A (en) Interactive control method and system for Bluetooth recharging

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