CN110490285B - Method, device and storage medium for simulating card - Google Patents

Method, device and storage medium for simulating card Download PDF

Info

Publication number
CN110490285B
CN110490285B CN201910792188.0A CN201910792188A CN110490285B CN 110490285 B CN110490285 B CN 110490285B CN 201910792188 A CN201910792188 A CN 201910792188A CN 110490285 B CN110490285 B CN 110490285B
Authority
CN
China
Prior art keywords
card
data
simulated
prompting
simulating
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
CN201910792188.0A
Other languages
Chinese (zh)
Other versions
CN110490285A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201910792188.0A priority Critical patent/CN110490285B/en
Publication of CN110490285A publication Critical patent/CN110490285A/en
Application granted granted Critical
Publication of CN110490285B publication Critical patent/CN110490285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0723Record 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 the record carrier comprising an arrangement for non-contact communication, e.g. wireless communication circuits on transponder cards, non-contact smart cards or RFIDs
    • 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/07701Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction
    • G06K19/07703Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction the interface being visual
    • G06K19/07707Constructional details, e.g. mounting of circuits in the carrier the record carrier comprising an interface suitable for human interaction the interface being visual the visual interface being a display, e.g. LCD or electronic ink

Abstract

The present disclosure relates to a method, apparatus and storage medium for simulating a card. The method for simulating the card comprises the following steps: acquiring first data from a card to be simulated, wherein the first data is acquired by first approaching the card to be simulated; after the first data are acquired, displaying first prompt information, wherein the first prompt information is used for prompting a user to operate the card to be simulated, and the operation comprises removing the card to be simulated; processing the first data, and displaying second prompt information, wherein the second prompt information is used for prompting a user to paste the card again; when the card is pasted again, second data are collected; and processing the second data to generate a simulation card corresponding to the card to be simulated. According to the embodiment of the application, the terminal can simulate the card without keeping the close state of the card and the terminal in the whole simulation process, so that the user experience is improved.

Description

Method, device and storage medium for simulating card
Technical Field
The present disclosure relates to near field communication technology, and in particular, to a method, an apparatus, and a storage medium for simulating a card.
Background
With the development of technology, application functions of the terminal are more and more diversified, for example, the terminal simulates card functions. One application scenario of the terminal analog card function is a MIFARE class 1K card, abbreviated as M1 card, used in an analog access control system. The M1 card is a general contactless smart card, also called a radio frequency card. Through NFC (Near Field Communication, near field communication technology), communication with a radio frequency card is enabled, and simulation of an M1 card on a terminal comprising NFC functions is achieved.
When the terminal simulates a card, the card data needs to be read, and the card data can be read once under the condition that the card data is not encrypted. However, under the condition that the card data is encrypted and protected, the card data cannot be directly read, and the card data needs to be scanned and analyzed first, so that the whole process of simulating the card by the terminal consumes a long time, and the state that the card is close to the terminal needs to be kept in the whole simulated card, which is inconvenient to operate.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method, apparatus, and storage medium for simulating a card.
According to a first aspect of embodiments of the present disclosure, there is provided a method of simulating a card, comprising: acquiring first data from a card to be simulated, wherein the first data is acquired by first approaching the card to be simulated; after the first data are acquired, displaying first prompt information, wherein the first prompt information is used for prompting a user to operate the card to be simulated, and the operation comprises removing the card to be simulated; processing the first data, and displaying second prompt information, wherein the second prompt information is used for prompting a user to paste the card again; when the card is pasted again, second data are collected; and processing the second data to generate a simulation card corresponding to the card to be simulated.
In an embodiment, the processing the first data includes: and processing the first data to obtain data to be verified, wherein the data to be verified is used for obtaining all data of the card to be simulated.
In an embodiment, processing the first data to obtain data to be verified includes: carrying out operation analysis on the first data locally to obtain data to be verified; or the first data is sent to other equipment, and the data to be verified, which is obtained after the operation analysis of the first data by other equipment, is received.
In an embodiment, processing the second data to generate a simulation card corresponding to the card to be simulated includes: verifying the data to be verified by using the second data; and if the data to be verified passes the verification by using the second data, acquiring all the data of the card to be simulated, and generating the simulated card by using all the data.
In an embodiment, the method further comprises: and if the data to be verified passes the verification by utilizing the second data, acquiring the first data from the card to be simulated again.
In an embodiment, after the first data is acquired and the first prompt information is displayed, the method further includes: generating a simulation card to be activated containing the first data, and displaying third prompt information; and the third prompting information is used for prompting the user to activate the analog card to be activated later.
In one embodiment, generating a simulated card using all data includes: and writing all data into the simulation card, activating the simulation card, and generating the simulation card corresponding to the card to be simulated.
In an embodiment, before acquiring the first data from the card to be simulated, the method further includes: and displaying second prompt information, wherein the second prompt information is used for prompting the user to paste the card.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for simulating a card, including an acquisition unit configured to acquire first data from a card to be simulated, where the first data is data acquired by first approaching the card to be simulated, and acquire second data when attaching the card again; the prompting unit is used for displaying first prompting information after the first data are acquired, wherein the first prompting information is used for prompting a user to operate the card to be simulated, the operation comprises removing the card to be simulated, displaying second prompting information, and the second prompting information is used for prompting the user to paste the card again; a processing unit for processing the first data and the first data; and the generating unit is used for generating the simulation card corresponding to the card to be simulated.
In an embodiment, the processing unit processes the first data in the following manner: and processing the first data to obtain data to be verified, wherein the data to be verified is used for obtaining all data of the card to be simulated.
In an embodiment, the processing unit processes the first data to obtain the data to be verified in the following manner: carrying out operation analysis on the first data locally to obtain data to be verified; or the first data is sent to other equipment, and the data to be verified, which is obtained after the operation analysis of the first data by other equipment, is received.
In an embodiment, the generating unit processes the second data in the following manner to generate a simulation card corresponding to the card to be simulated: verifying the data to be verified by using the second data; and if the data to be verified passes the verification by using the second data, acquiring all the data of the card to be simulated, and generating the simulated card by using all the data.
In an embodiment, the collecting unit is further configured to re-obtain the first data from the card to be simulated if the data to be verified passes the verification using the second data.
In an embodiment, the generating unit is further configured to: generating a simulation card to be activated containing first data; the prompting unit is also used for displaying third prompting information, and the third prompting information is used for prompting a user to activate the analog card to be activated subsequently.
In an embodiment, the generating unit generates the analog card using the entire data in the following manner: and writing all data into the simulation card, activating the simulation card, and generating the simulation card corresponding to the card to be simulated.
In an embodiment, the prompting unit is further configured to: and displaying second prompt information, wherein the second prompt information is used for prompting the user to paste the card.
According to a third aspect of embodiments of the present disclosure, there is provided an apparatus for simulating a card, comprising: a processor; a memory for storing processor-executable instructions, wherein the processor is configured to: a method of simulating a card as claimed in any one of the preceding claims.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the method of simulating a card of any one of the preceding claims.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: the first data of the first sticking card and the second data of the second sticking card are collected, the simulation card is generated after processing, the step-by-step processing of the simulation card data is realized, and further, the terminal can be realized in the process of simulating the card without keeping the state that the card is close to the terminal in the whole simulation process, so that the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure:
FIG. 1 is a flow chart illustrating a method of simulating a card according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram illustrating an apparatus for simulating a card according to an exemplary embodiment of the present disclosure;
fig. 6 is a block diagram of an apparatus according to an exemplary embodiment of the present disclosure.
Description of the embodiments
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
FIG. 1 is a flow chart illustrating a method of simulating a card, as shown in FIG. 1, for use in an apparatus for simulating a card, according to an exemplary embodiment. The card-simulating device may be a device with a card-simulating function, such as a terminal configured with an NFC module, and the terminal may be, for example, a smart phone, a tablet computer, a wearable device, a PC, or the like. The embodiments of the present disclosure are not limited in the type of device used to simulate a card. The present disclosure is described below by taking a card simulation device as an example, and referring to fig. 1, the following steps are included.
In step S110, first data is acquired from a card to be simulated.
In the disclosure, the first data is data acquired by first approaching a card to be simulated.
The card to be simulated can be an M1 type card such as an access card, a membership card or a stored value card. In the process of attaching the simulation card and the terminal, the terminal performs initial acquisition of data on the card to be simulated, and the obtained data is first data. It is understood that the first data may be all data of the card to be simulated, or may be part of the data in the card to be simulated.
The approach or fitting in the present disclosure describes that the card to be simulated is close to the terminal, and the two may be in direct contact with each other at zero distance, or may have a certain distance, and is not limited to tightly fitting the card to be simulated to the terminal.
In step S120, after the first data is obtained, a first prompt message is displayed.
In this embodiment, the equipment for simulating the card displays the prompt message, can remind the user to temporarily remove the card to be simulated, can reduce the in-process that the user is simulating the card like this, need remain the laminating state of card throughout, make things convenient for user's operation, promote user experience.
It will be appreciated that the user may choose not to remove the card, as desired, i.e., to continue to maintain the card in a snug fit.
For convenience of description, the prompt information for prompting the user to temporarily take off the analog card will be referred to as first prompt information in this disclosure.
In step S130, the second prompt message is displayed for the first data processing.
And calculating and analyzing the acquired first data, and displaying prompt information. The device for simulating the card can display prompt information to prompt a user to paste the card again, namely, the card to be simulated is attached to the device for simulating the card again, so that the terminal can collect the data of the card to be simulated. In order to distinguish the first prompt information for prompting the user to temporarily take off the analog card, the present disclosure refers to the prompt information for prompting the user to paste the card as the second prompt information.
In step S140, when the card is attached again, second data is collected.
In the embodiment of the disclosure, the terminal may remind the user to paste the card again, collect the data of the card to be simulated again, and the collected data is the second data. It will be appreciated that the second data obtained by re-capturing the card to be simulated may be different from the first data obtained by the initial capturing, for example, the second data may comprise a greater amount of data than the first data.
In step S150, the second data is processed to generate a simulation card corresponding to the card to be simulated.
In the prior art, under the condition of data encryption protection of a card to be simulated, the card is simulated by analyzing and calculating to obtain the reading authority of the card to be simulated, and then all data of the card to be simulated are read. The scanning, calculating and analyzing and reading of the card data to be simulated are carried out data by data, and the scanning, calculating and analyzing and reading are integrated together, so that the whole process of simulating the card by the terminal consumes a long time, and the state that the card is close to the terminal needs to be kept in the whole simulated card.
According to the embodiment of the disclosure, the step-by-step processing of the simulated card data is realized by collecting the first data of the first card sticking and collecting the second data of the second card sticking and generating the simulated card after processing. And through the step-by-step collection of the data of the card to be simulated, the terminal can simulate the card without keeping the close state of the card and the terminal in the whole simulation process, thereby improving the user experience.
In one embodiment of the disclosure, the first data is processed to obtain data to be verified, and the data to be verified is used for acquiring all data of the card to be simulated.
When the first data obtained by carrying out initial acquisition on the data of the card to be simulated is part of the data in the card to be simulated, in order to obtain all the data of the card to be simulated, the acquired first data is calculated and analyzed to obtain the data to be verified of the card to be simulated. The terminal can verify and acquire all data of the card to be simulated by using the data to be verified.
In an embodiment of the present disclosure, the obtaining the data to be verified using the first data may be performing an operation analysis on the first data locally to obtain the data to be verified. The first data may be sent to, for example, a server or other devices, and the other devices may perform operation analysis on the first data to obtain data to be verified, and receive the data to be verified sent by the other devices. The first data is analyzed and checked by other equipment, so that the calculation speed can be improved, the local resource consumption of the terminal can be reduced, and the card simulation time of the terminal can be shortened.
In one embodiment of the present disclosure, the data to be verified is verified using the second data.
And the terminal verifies the data to be verified obtained by calculating the first data by utilizing the data of the card to be simulated acquired again, namely the second data.
And if the data to be verified passes the verification by using the second data, acquiring all the data of the card to be simulated, and generating the simulated card by using all the data.
Fig. 2 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure. As shown in fig. 2, in step S1510, the terminal verifies data to be verified using the second data. In step S1520, if the verification is not passed, all the data of the card to be simulated cannot be read, and at this time, the simulation of the card to be simulated cannot be realized. At this time, the terminal may prompt the user to attach a card, execute step S110, re-collect the first data, and sequentially execute the subsequent process of simulating the card. The manner of the analog card after the first data is collected is the same as that of the foregoing embodiment, and will not be described here again.
Fig. 3 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure. As shown in fig. 3, the method for simulating a card may further include step S160 after the terminal obtains the first data from the card to be simulated, to generate a simulated card to be activated containing the first data.
In the process of operating the simulation card, the user can display third prompt information after the terminal sticks the card. The third prompt may be to prompt the user that a card has been generated at the terminal. Because the first data collected by the terminal at this time may not include all the data of the card to be simulated, the third prompting message may also prompt the user to activate the simulated card to be activated subsequently. That is, the successfully activated analog card is available for normal use by the user. After the card is used for collecting the first data, a first prompt message is displayed at the terminal, so that a user can respond to card-sticking operation in the card-simulating process and prompt a subsequent operation method, convenience can be brought to the user, and user experience is further improved.
In one embodiment of the present disclosure, the terminal generates a simulation card using all data of the card to be simulated, i.e., writes all data into the simulation card to be activated, and activates the simulation card to be activated, resulting in the simulation card. If the card simulated by the terminal does not include all the data of the card to be simulated, the simulated card cannot be normally used at the moment, namely the simulated card fails to be generated. After all data are written, the final simulation card can be obtained by setting operation which needs to be activated, and the occurrence of the condition that the simulation card which cannot be normally used is generated can be avoided.
In addition, the operation of collecting card data to be simulated again can avoid potential safety hazards in the application of the simulation card caused by once collecting card data to be simulated for decryption. For example, without knowledge, the user holds the M1 type card close to the terminal with the card simulation function, and further obtains the card information, which causes unnecessary loss to the user. The simulation card is set to be normally used after the activation operation, for example, the time interval between the first time of prompting the user to read data and the second time of activating the card can be set, so that the safety problem of information theft or property loss possibly occurring in the operation of reading and activating the card once is avoided, and the card is ensured for the user.
It will be appreciated that in the method for simulating a card step by step according to the present disclosure, the number of times of data collection and data processing involved in the process of data collection is not limited. For example, in one embodiment of the present disclosure, a method of simulating a card may be implemented as follows:
the terminal prompts a user to approach the card to be simulated to the terminal, and data are acquired from the card to be simulated. After the card data are obtained, the terminal displays first prompt information for prompting the user to remove the card to be simulated. The terminal may display a prompt prompting message prompting the user that the simulated card has been generated, asking the user to activate the generated simulated card at a later time. The terminal may generate a simulation card using the acquired data, or may store the acquired data without generating the simulation card temporarily.
The terminal analyzes and calculates the acquired data, the analysis and calculation process can be carried out locally or at a server or other terminals, and after the calculation is completed, prompt information is displayed to prompt the user to bring the card to be simulated close to the terminal again. And in the process of re-attaching the card by the user, the terminal acquires the data of the card to be simulated again. The terminal processes the re-acquired data, for example, verifies the first acquired data with the re-acquired data, and after verification is successful, generates all the data into a simulation card, and activates the simulation card. If the verification of the primarily collected data by the re-collected data fails, the terminal can display prompt information to prompt the user to paste the card again, acquire the data from the card to be simulated again, and repeat the card simulation process until the simulated card is generated.
Fig. 4 is a flow chart illustrating a method of simulating a card according to another exemplary embodiment of the present disclosure. As shown in fig. 4, before step S110, step S105 may be further included, where the terminal displays a second prompt message to prompt the user to attach a card, so that the direction for the user to simulate the card operation is more clear.
FIG. 5 is a block diagram illustrating an apparatus for simulating a card according to an exemplary embodiment. Referring to fig. 5, the apparatus 500 includes an acquisition unit 510, a processing unit 520, a generation unit 530, and a presentation unit 540.
The acquisition unit 510 is configured to acquire first data from a card to be simulated, where the first data is data acquired by first attaching to the card to be simulated, and acquire second data when attaching the card again.
The prompting unit 540 is configured to display first prompting information after the first data is acquired, where the first prompting information is used to prompt a user to perform an operation on a card to be simulated, the operation includes removing the card to be simulated, and displaying second prompting information, where the second prompting information is used to prompt the user to paste the card again.
The processing unit 520 is configured to process the first data and the first data.
And the generating unit 530 is configured to generate a simulation card corresponding to the card to be simulated.
In one embodiment of the present disclosure, the processing unit 520 processes the first data in the following manner: and processing the first data to obtain data to be verified, wherein the data to be verified is used for obtaining all data of the card to be simulated.
In one embodiment of the present disclosure, the processing unit 520 processes the first data to obtain the data to be verified in the following manner: carrying out operation analysis on the first data locally to obtain data to be verified; or the first data is sent to other equipment, and the data to be verified, which is obtained after the operation analysis of the first data by other equipment, is received.
In one embodiment of the present disclosure, the generating unit 530 processes the second data in the following manner: verifying the data to be verified by using the second data; and if the data to be verified passes the verification by using the second data, acquiring all the data of the card to be simulated, and generating the simulated card by using all the data.
In one embodiment of the present disclosure, the collecting unit 510 is further configured to re-acquire the first data from the card to be simulated if the data to be verified is not verified by the second data.
In one embodiment of the present disclosure, the generating unit 530 is further configured to generate a simulated card to be activated containing the first data; the prompting unit is also used for displaying third prompting information, and the third prompting information is used for prompting a user to activate the analog card to be activated subsequently.
In one embodiment of the present disclosure, the generation unit 530 generates a simulation card using the entire data in the following manner: and writing all data into the simulation card, activating the simulation card, and generating the simulation card corresponding to the card to be simulated.
In one embodiment of the present disclosure, the prompting unit 540 is further configured to display a second prompting message, where the second prompting message is used to prompt the user to attach a card.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 6 is a block diagram illustrating an apparatus 600 for simulating a card, according to an example embodiment. For example, apparatus 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the apparatus 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on the apparatus 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 606 provides power to the various components of the device 600. The power supply components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen between the device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 600 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor assembly 614 may detect the open/closed state of the device 600, the relative positioning of the components, such as the display and keypad of the device 600, the sensor assembly 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the apparatus 600 and other devices in a wired or wireless manner. The device 600 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of apparatus 600 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform any of the methods of simulating a card as previously described.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method of simulating a card, comprising:
acquiring first data from a card to be simulated, wherein the first data are acquired by being firstly close to the card to be simulated;
after the first data are acquired, first prompt information is displayed, wherein the first prompt information is used for prompting a user to operate the card to be simulated, and the operation comprises removing the card to be simulated;
processing the first data to obtain data to be verified, and displaying second prompt information, wherein the second prompt information is used for prompting a user to paste the card again;
collecting second data when the card is attached again;
processing the second data to generate a simulation card corresponding to the card to be simulated;
the second data is processed to generate a simulation card corresponding to the card to be simulated, and the simulation card comprises:
verifying the data to be verified by using the second data;
if the data to be verified passes the verification by using the second data, acquiring all data of the card to be simulated, and generating a simulation card by using all the data;
and if the data to be verified passes the verification by utilizing the second data, acquiring the first data from the card to be simulated again, and sequentially executing the subsequent process of simulating the card.
2. The method of simulating a card of claim 1, wherein said processing said first data to obtain data to be verified comprises:
carrying out operation analysis on the first data locally to obtain the data to be verified; or alternatively
And sending the first data to other equipment, and receiving the data to be verified, which are obtained after the other equipment performs operation analysis on the first data.
3. The method of simulating a card of claim 1, wherein after the first data is obtained and the first hint information is displayed, the method further comprises:
generating the analog card to be activated containing the first data, and displaying third prompt information;
the third prompting information is used for prompting a user to activate the analog card to be activated later.
4. The method of simulating a card of claim 1, wherein generating a simulated card using the full data comprises:
and writing all the data into the simulation card, activating the simulation card, and generating a simulation card corresponding to the card to be simulated.
5. The method of simulating a card of claim 1, wherein prior to the acquiring the first data from the card to be simulated, the method further comprises:
and displaying second prompt information, wherein the second prompt information is used for prompting a user to paste the card.
6. An apparatus for simulating a card, comprising:
the acquisition unit is used for acquiring first data from the card to be simulated, wherein the first data are acquired by being firstly close to the card to be simulated;
collecting second data when the card is pasted again;
the acquisition unit is also used for: if the data to be verified passes the verification by utilizing the second data, acquiring the first data from the card to be simulated again, and sequentially executing the subsequent process of simulating the card;
the prompting unit is used for displaying first prompting information after the first data are acquired, wherein the first prompting information is used for prompting a user to operate the card to be simulated, the operation comprises moving away the card to be simulated, displaying second prompting information, and the second prompting information is used for prompting the user to paste the card again;
a processing unit, configured to process the second data;
the generation unit is used for generating the simulation card corresponding to the card to be simulated;
the generation unit processes the second data in the following manner to generate a simulation card corresponding to the card to be simulated:
verifying the data to be verified by using the second data;
and if the data to be verified passes the verification by using the second data, acquiring all the data of the card to be simulated, and generating the simulation card by using all the data.
7. The device for simulating a card according to claim 6, wherein the processing unit processes the first data to obtain the data to be verified by:
carrying out operation analysis on the first data locally to obtain the data to be verified; or alternatively
And sending the first data to other equipment, and receiving the data to be verified, which are obtained after the other equipment performs operation analysis on the first data.
8. The apparatus for simulating a card of claim 6, wherein the generating unit is further configured to:
generating the analog card to be activated containing the first data;
the prompting unit is also used for displaying third prompting information, and the third prompting information is used for prompting a user to activate the analog card to be activated subsequently.
9. The apparatus of claim 6, wherein the generation unit generates the analog card using the entire data in such a manner that:
and writing all the data into the simulation card, activating the simulation card, and generating a simulation card corresponding to the card to be simulated.
10. The device for simulating a card of claim 6, wherein the prompting unit is further configured to:
and displaying second prompt information, wherein the second prompt information is used for prompting a user to paste the card.
11. An apparatus for simulating a card, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: a method of performing the analogue card of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium, which when executed by a processor of a mobile terminal, causes the mobile terminal to perform the method of simulating a card of any one of claims 1 to 5.
CN201910792188.0A 2019-08-26 2019-08-26 Method, device and storage medium for simulating card Active CN110490285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910792188.0A CN110490285B (en) 2019-08-26 2019-08-26 Method, device and storage medium for simulating card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910792188.0A CN110490285B (en) 2019-08-26 2019-08-26 Method, device and storage medium for simulating card

Publications (2)

Publication Number Publication Date
CN110490285A CN110490285A (en) 2019-11-22
CN110490285B true CN110490285B (en) 2023-11-28

Family

ID=68554144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910792188.0A Active CN110490285B (en) 2019-08-26 2019-08-26 Method, device and storage medium for simulating card

Country Status (1)

Country Link
CN (1) CN110490285B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111860016A (en) * 2020-07-15 2020-10-30 维沃移动通信有限公司 Information display method and device for Near Field Communication (NFC) and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117208A (en) * 2015-07-27 2015-12-02 阿里巴巴集团控股有限公司 User operation guiding method and device
CN105787719A (en) * 2016-02-24 2016-07-20 努比亚技术有限公司 NFC mobile terminal and method for controlling NFC card swiping authority
WO2016173467A1 (en) * 2015-04-30 2016-11-03 努比亚技术有限公司 Method and system for processing information about virtual card
CN106104601A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Virtual card Activiation method and device
CN106156667A (en) * 2016-06-23 2016-11-23 北京小米移动软件有限公司 Open card method for writing data, Apparatus and system
WO2017012223A1 (en) * 2015-07-17 2017-01-26 百度在线网络技术(北京)有限公司 Nfc-based mobile payment method and device
CN107767133A (en) * 2017-10-31 2018-03-06 北京小米移动软件有限公司 Virtual card opens chucking method, apparatus and system, storage medium
CN108156594A (en) * 2017-12-26 2018-06-12 上海展扬通信技术有限公司 A kind of method and terminal for realizing virtual card

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173467A1 (en) * 2015-04-30 2016-11-03 努比亚技术有限公司 Method and system for processing information about virtual card
WO2017012223A1 (en) * 2015-07-17 2017-01-26 百度在线网络技术(北京)有限公司 Nfc-based mobile payment method and device
CN105117208A (en) * 2015-07-27 2015-12-02 阿里巴巴集团控股有限公司 User operation guiding method and device
CN105787719A (en) * 2016-02-24 2016-07-20 努比亚技术有限公司 NFC mobile terminal and method for controlling NFC card swiping authority
CN106104601A (en) * 2016-06-22 2016-11-09 北京小米移动软件有限公司 Virtual card Activiation method and device
CN106156667A (en) * 2016-06-23 2016-11-23 北京小米移动软件有限公司 Open card method for writing data, Apparatus and system
CN107767133A (en) * 2017-10-31 2018-03-06 北京小米移动软件有限公司 Virtual card opens chucking method, apparatus and system, storage medium
CN108156594A (en) * 2017-12-26 2018-06-12 上海展扬通信技术有限公司 A kind of method and terminal for realizing virtual card

Also Published As

Publication number Publication date
CN110490285A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
EP3133528A1 (en) Method and apparatus for fingerprint identification
US10452890B2 (en) Fingerprint template input method, device and medium
EP3300407B1 (en) Method and device for processing verification code
EP3261037A1 (en) Method and apparatus for activating virtual card
EP3086275A1 (en) Numerical value transfer method, terminal, cloud server, computer program and recording medium
US20160028741A1 (en) Methods and devices for verification using verification code
US10216711B2 (en) Information collection method and apparatus
CN108121631B (en) Screen abnormal state reminding method and device
CN107798309B (en) Fingerprint input method and device and computer readable storage medium
US20180053177A1 (en) Resource transfer method, apparatus and storage medium
CN106454392A (en) Live broadcast processing method, device and terminal
CN107491681B (en) Fingerprint information processing method and device
EP3168755A1 (en) Method and device for adding font
CN112948704A (en) Model training method and device for information recommendation, electronic equipment and medium
CN110852163A (en) Binding method and device
CN107360322B (en) Information prompting method and device
CN110490285B (en) Method, device and storage medium for simulating card
CN107896277B (en) Method and device for setting alarm clock reminding mode and computer readable storage medium
CN108319899B (en) Fingerprint identification method and device
CN114124462B (en) Verification code transmission method and device, electronic equipment and storage medium
CN110708427B (en) Information processing method, device and storage medium
CN106712960B (en) Processing method and device of verification code information
CN109255601B (en) Terminal bus card processing method and device
CN113032627A (en) Video classification method and device, storage medium and terminal equipment
CN113138888A (en) Function detection method and device, electronic equipment and storage medium

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