CN108665265B - Virtual card display method and device - Google Patents

Virtual card display method and device Download PDF

Info

Publication number
CN108665265B
CN108665265B CN201810490656.4A CN201810490656A CN108665265B CN 108665265 B CN108665265 B CN 108665265B CN 201810490656 A CN201810490656 A CN 201810490656A CN 108665265 B CN108665265 B CN 108665265B
Authority
CN
China
Prior art keywords
card
virtual
trigger signal
terminal
card surface
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
CN201810490656.4A
Other languages
Chinese (zh)
Other versions
CN108665265A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810490656.4A priority Critical patent/CN108665265B/en
Publication of CN108665265A publication Critical patent/CN108665265A/en
Application granted granted Critical
Publication of CN108665265B publication Critical patent/CN108665265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units

Abstract

The disclosure relates to a virtual card display method and device, and belongs to the technical field of short-distance communication. The method comprises the following steps: when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal; receiving a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, and the card reader is used for realizing the card swiping operation of the virtual card; and displaying the second card surface of the virtual card according to the trigger signal. The card swiping progress of the virtual card can be represented through the change of the displayed card surface, and the problem that a user cannot know the card swiping progress of the virtual card is solved.

Description

Virtual card display method and device
Technical Field
The present disclosure relates to the field of short-distance communication technologies, and in particular, to a method and an apparatus for displaying a virtual card.
Background
More and more terminals support the NFC (Near Field Communication ) technology, and when an eSE (embedded Security Element) is configured in a terminal supporting the NFC technology, a virtual card of an entity card can be created in the eSE for a user to use, thereby avoiding the trouble that the user carries the entity card with him. The card can be a bus card, a bank card, an entrance guard card, a membership card and the like.
When the virtual card is used, the terminal enters a card swiping mode under the operation of a user, and when the distance between the terminal and the card reader is smaller than a preset threshold value, the card reader operates the virtual card in the terminal, so that the card swiping function is realized.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a virtual card display method and apparatus.
According to a first aspect of the embodiments of the present disclosure, there is provided a virtual card display method, the method including:
when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal;
receiving a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, and the card reader is used for realizing the card swiping operation of the virtual card;
and displaying the second card surface of the virtual card according to the trigger signal.
According to a second aspect of the embodiments of the present disclosure, there is provided a virtual card display apparatus, the apparatus including:
the terminal comprises a first display module, a second display module and a third display module, wherein the first display module is configured to display a first card surface of a virtual card to be swiped in the terminal when the terminal is in a card swiping mode;
the receiving module is configured to receive a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, and the card reader is used for realizing the card swiping operation of the virtual card;
the second display module is configured to display a second card surface of the virtual card according to the trigger signal received by the receiving module.
According to a third aspect of the embodiments of the present disclosure, there is provided a virtual card display apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal;
receiving a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, and the card reader is used for realizing the card swiping operation of the virtual card;
and displaying the second card surface of the virtual card according to the trigger signal.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the virtual card display method according to the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method comprises the steps of receiving a trigger signal generated when the distance between a terminal and a card reader is smaller than a preset threshold value, and updating the display content of the terminal into a second card from a first card surface before card swiping according to the trigger signal, so that the card swiping progress of a virtual card can be represented through the change of the displayed card surface, and the problem that a user cannot know the card swiping progress of the virtual card is solved.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
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 diagram illustrating a method of virtual card display in accordance with an exemplary embodiment.
Fig. 2 is a flowchart illustrating a virtual card display method according to another exemplary embodiment.
Fig. 3 is a schematic diagram illustrating a first card face according to another exemplary embodiment.
FIG. 4 is a block diagram illustrating a virtual card display device in accordance with an exemplary embodiment.
FIG. 5 is a block diagram illustrating a virtual card display device in accordance with an exemplary embodiment.
FIG. 6 is a block diagram illustrating an apparatus for virtual card display in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to facilitate understanding of the content of the embodiment, the following describes a process in which the terminal creates a virtual card and the card reader implements a card swiping operation on the virtual card.
1) The process of creating the virtual card by the terminal comprises the following steps:
when the eSE is configured in the NFC module of the terminal, the terminal may create a virtual card in the eSE and write card data in the virtual card. For example, when the virtual card is a bus card, the terminal may write card data such as card balance, user identity information, and the like in the eSE; when the virtual card is a bank card, the terminal can write card information such as the balance in the card, the validity period of the card, user identity information and the like into the eSE; when the virtual card is an access card, the terminal can write card data such as user identity information in the eSE.
2) The card reader realizes the process of the card swiping operation of the virtual card:
the card swiping equipment is provided with a card reader, and the card reader is used for realizing card swiping operation of the virtual card. When the card reader is used, a coil in the card reader generates an electromagnetic field around the coil, and when the terminal is close to the card reader, the NFC module generates induced voltage under the action of the electromagnetic field, so that the NFC module is activated, and the activation of the NFC module is equivalent to the activation of a virtual card. In this way, the card reader can read data of the virtual card from the eSE based on the NFC module, and then send an operation instruction to the eSE to instruct the eSE to operate the virtual card according to the operation instruction. For example, when the virtual card is a bus card, the operation instruction may be a fee deduction instruction, and the eSE subtracts a certain value from the card balance in the virtual card, and then feeds back a fee deduction success signal to the card reader to complete the fee deduction operation of the virtual card.
Fig. 1 is a flowchart illustrating a virtual card display method applied to a terminal according to an exemplary embodiment, where the virtual card display method includes the following steps, as shown in fig. 1.
In step 101, when the terminal is in a card swiping mode, a first card surface of a virtual card to be swiped in the terminal is displayed.
In step 102, a trigger signal is received, where the trigger signal is generated when a distance between the terminal and a card reader is smaller than a preset threshold, and the card reader is used to implement a card swiping operation on a virtual card.
In step 103, the second card surface of the virtual card is displayed according to the trigger signal.
In summary, according to the virtual card display method provided by the disclosure, the trigger signal generated when the distance between the terminal and the card reader is smaller than the preset threshold is received, and the display content of the terminal is updated from the first card surface before card swiping to the second card according to the trigger signal, so that the card swiping progress of the virtual card can be represented through the change of the displayed card surface, and the problem that a user cannot know the card swiping progress of the virtual card is solved.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
Fig. 2 is a flowchart illustrating a virtual card display method applied to a terminal according to another exemplary embodiment, and the virtual card display method includes the following steps, as shown in fig. 2.
In step 201, when the terminal is in a card swiping mode, a first card surface of a virtual card to be swiped in the terminal is displayed.
The card swiping mode refers to a mode in which the terminal interacts with a card swiping device comprising a card reader. The terminal may be in a swipe mode in a variety of trigger modes. For example, a shortcut key for entering a card swiping mode is preset, and when a user triggers the shortcut key, the terminal enters the card swiping mode, where the shortcut key may be an entity key or a virtual key. Or, an icon entering the card swiping mode is preset, when the user clicks the icon, the terminal enters the card swiping mode, where the icon may be displayed on a desktop or on a negative screen, and this embodiment is not limited. Alternatively, the terminal may be arranged to enter a swipe mode upon receiving an electromagnetic field signal transmitted by a reader.
When a virtual card is established in the terminal, the terminal takes the virtual card as a virtual card to be swiped; when at least two virtual cards are established in the terminal and a default virtual card exists, the terminal takes the default virtual card as a virtual card to be swiped; when at least two virtual cards are created in the terminal and a default virtual card does not exist, the terminal instructs a user to select a virtual card to be swiped.
The first card surface is display content including a style of a virtual card, may include only the style of the virtual card, or may include not only the style of the virtual card but also at least prompt information for card swiping operation, and the first card surface is not limited in this embodiment. The style of the virtual card may include information such as a background picture, a name, a card number, a card issuer, and the like of the virtual card.
Referring to fig. 3, the virtual card in fig. 3 is illustrated as a "traffic all-purpose card", and the first card surface may only include the style of the virtual card, i.e., the display interface in the upper half of fig. 3; alternatively, the first card surface may include not only the style of the virtual card, but also at least prompt information of the card swiping operation, that is, the whole display interface in fig. 3, where the prompt information includes a text of "please bring the back of the mobile phone close to the designated area of the card reader", and an indication of the mobile phone and the designated area.
In this embodiment, the style of the virtual card may be preset. For example, the physical card can be used as a virtual card to increase the reality of the virtual card; or, the style of the virtual card may be set according to a theme, where the theme may be a theme of the terminal, or a theme unrelated to the theme of the terminal, and the embodiment is not limited. Taking the theme of the terminal as an example, if the theme of the terminal is a HelloKitty theme, the background picture in the style of the virtual card may be a picture including HelloKitty.
In step 202, a trigger signal is received, where the trigger signal is generated when a distance between the terminal and a card reader is smaller than a preset threshold, and the card reader is used to implement a card swiping operation on a virtual card.
When the distance between the terminal and the card reader is smaller than the preset threshold, the terminal may receive the electromagnetic field signal transmitted by the card reader, so as to implement the card swiping operation according to the electromagnetic field signal, which is not described herein.
In this embodiment, the receiving of the trigger signal may be implemented in a plurality of ways, and two ways of the implementation are illustrated below.
In a first implementation manner, a feedback signal sent after the virtual card is successfully swiped is received, and the feedback signal is used as a trigger signal.
The developer may develop an interface in the terminal, and when the eSE feeds back the fee deduction success signal to the card reader, the developer may also send a feedback signal to the terminal through the interface, and after receiving the feedback signal through the interface, the terminal determines the feedback signal as a trigger signal.
In a second implementation manner, an electromagnetic field signal emitted outwards by the card reader is received and used as a trigger signal, and the electromagnetic field signal is used for activating the virtual card.
When the trigger signal is a feedback signal, the card swiping success is indicated; when the trigger signal is an electromagnetic field signal, the card is about to be swiped. Therefore, when the terminal receives the trigger signal, the display content can be replaced by the second card surface from the first card surface, and the user is informed of the card swiping progress at the moment through the change of the card surface.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
The terminal may have a plurality of implementation manners when replacing the first card surface with the second card surface, and four implementation manners of the first card surface and the second card surface are described below in detail in steps 203-206.
In step 203, the first card surface is subjected to special effect processing according to the trigger signal to obtain a second card surface of the virtual card, the second card surface is displayed, and the process is ended.
In this implementation manner, a special effect on the first card surface may be preset, and when the terminal receives the trigger signal, the terminal performs special effect processing on the first card surface according to the special effect, and displays the card surface after the special effect processing as the second card surface.
And when a special effect exists, the terminal carries out special effect processing on the first card surface according to the special effect. When multiple special effects exist, a default special effect can be specified by the terminal or a user, and when the terminal receives a trigger signal, the first card surface is subjected to special effect processing according to the default special effect.
The special effect comprises a lighting special effect or a flashing special effect. The lighting special effect refers to that the lighting effect after lighting is added at a specific position of the card surface, the specific position can be the same as or different from the position of the indicator lamp arranged in the entity card, and the specific position, the color, the intensity, the lighting time length and the like of the light are not limited in the embodiment. The special flashing effect refers to the effect of alternately turning on and off the light at a certain frequency, and the embodiment does not limit the flashing frequency, the intensity of the light, the flashing duration and the like.
When the special effect is a lighting special effect, the application scene is as follows: and displaying the card surface without the lighting effect before the card swiping is successful, and displaying the card surface with the lighting effect after the card swiping is successful. When the special effect is a flash special effect, the application scene is as follows: and displaying the card surface without the flash effect before the card swiping success, and displaying the card surface with the flash effect after the card swiping success.
It should be noted that the terminal may stop displaying the second card surface when the user manually exits the card swiping mode, or the terminal may stop displaying the second card surface when a distance between the terminal and the card reader is greater than a preset threshold, which is not limited in this embodiment.
In step 204, the card surface after the special effect processing, which is stored corresponding to the first card surface, is obtained according to the trigger signal, the card surface after the special effect processing is used as the second card surface of the virtual card to be displayed, and the process is ended.
Because the terminal needs to consume a certain time when performing special effect processing on the first card surface according to the special effect, in order to save time consumption and occupied resources of the special effect processing, the terminal can perform special effect processing on the first card surface in advance, store the obtained card surface, and the subsequent terminal can directly read the card surface stored corresponding to the first card surface. The card surface is displayed as a second card surface.
The flow of performing special effect processing on the first card surface is described in step 203, and is not described herein again.
In step 205, a card surface belonging to the same theme as the first card surface is obtained according to the trigger signal, and a second card surface of the virtual card is obtained; and displaying the second card surface and ending the flow.
When the first card surface is a card surface set by a theme, the terminal can also determine the theme to which the first card surface belongs, select another card surface from the theme, and display the card surface as a second card surface.
For example, the theme is a HelloKitty theme, the first card surface is a card surface including one HelloKitty, and the second card surface is a card surface including two HelloKitty.
It should be noted that this implementation may also be combined with the implementation of step 203 or step 204. When the special effect is a lighting special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface has no lighting effect; and displaying another card surface in the theme after the card swiping is successful, wherein the card surface has a lighting effect. When the special effect is a flash special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface has no flash effect; after the card swiping is successful, another card surface in the theme is displayed, and the card surface has a flashing effect.
In step 206, card data in the virtual card is obtained according to the trigger signal; adding the card data to the first card surface to obtain a second card surface of the virtual card; and displaying the second card surface and ending the flow.
In this implementation manner, the eSE sends a feedback signal to the terminal through the interface, and may also feed back card data, where the card data includes at least one of a card internal balance, a current consumption amount, and a card validity period. And after receiving the card data through the interface, the terminal adds the card data to the first card surface and displays the obtained second card surface.
This implementation may also be combined with the implementation of step 203 or step 204. When the special effect is a lighting special effect, the application scene is as follows: displaying a card surface without a lighting effect and containing no card data before the card swiping is successful; and displaying the card surface with a lighting effect and containing the card data after the card swiping is successful. When the special effect is a flash special effect, the application scene is as follows: displaying a card surface without a flash effect and containing no card data before the card swiping is successful; and displaying the card surface with the flash effect and containing the card data after the card swiping is successful.
This implementation may also be combined with the implementation of step 205. When the special effect is a lighting special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface does not contain card data; and displaying another card surface in the theme after the card swiping is successful, wherein the card surface contains the card data. When the special effect is a flash special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface does not contain card data; and displaying another card surface in the theme after the card swiping is successful, wherein the card surface contains the card data.
This implementation may also be combined with the implementation of step 205 and one of step 203 and step 204. When the special effect is a lighting special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface has no lighting effect and does not contain card data; and after the card swiping is successful, displaying another card surface in the theme, wherein the card surface has a lighting effect and contains card data. When the special effect is a flash special effect, the application scene is as follows: displaying a card surface in the theme before the card swiping is successful, wherein the card surface has no flash effect and does not contain card data; after the card swiping is successful, another card surface in the theme is displayed, wherein the card surface has a flashing effect and contains card data.
Optionally, the method provided in this embodiment further includes: and playing a prompt tone when the second card surface is displayed.
The alert tone here may be a default alert tone. When the first card surface and the second card surface belong to the same theme, the prompt tone may also be related to the theme, and the embodiment is not limited.
It should be noted that, in this embodiment, the first card surface and the second card surface may be static card surfaces, or may be dynamic card surfaces, such as gif dynamic diagrams, animations, and the like, and this embodiment is not limited thereto.
In summary, according to the virtual card display method provided by the disclosure, the trigger signal generated when the distance between the terminal and the card reader is smaller than the preset threshold is received, and the display content of the terminal is updated from the first card surface before card swiping to the second card according to the trigger signal, so that the card swiping progress of the virtual card can be represented through the change of the displayed card surface, and the problem that a user cannot know the card swiping progress of the virtual card is solved.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
By providing multiple second card surfaces, the variety of card surfaces displayed during card swiping can be expanded.
Fig. 4 is a block diagram illustrating a virtual card display apparatus applied to a terminal according to an exemplary embodiment, as shown in fig. 4, the virtual card display apparatus including: a first display module 410, a receiving module 420, and a second display module 430.
The first display module 410 is configured to display a first card surface of a virtual card to be swiped in the terminal when the terminal is in a card swiping mode;
the receiving module 420 is configured to receive a trigger signal, where the trigger signal is generated when a distance between the terminal and a card reader is smaller than a preset threshold, and the card reader is used to implement a card swiping operation on a virtual card;
the second display module 430 is configured to display the second card surface of the virtual card according to the trigger signal received by the receiving module 420.
In summary, the virtual card display device provided by the present disclosure updates the display content of the terminal from the first card surface before swiping the card to the second card according to the trigger signal by receiving the trigger signal generated when the distance between the terminal and the card reader is smaller than the preset threshold value, so that the card swiping progress of the virtual card can be represented by the change of the displayed card surface, and the problem that the user cannot know the card swiping progress of the virtual card is solved.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
Fig. 5 is a block diagram illustrating a virtual card display apparatus applied to a terminal according to an exemplary embodiment, as shown in fig. 5, the virtual card display apparatus including: a first display module 510, a receiving module 520, and a second display module 530.
The first display module 510 is configured to display a first card surface of a virtual card to be swiped in the terminal when the terminal is in a card swiping mode;
the receiving module 520 is configured to receive a trigger signal, where the trigger signal is generated when a distance between the terminal and a card reader is smaller than a preset threshold, and the card reader is used to implement a card swiping operation on a virtual card;
the second display module 530 is configured to display the second card surface of the virtual card according to the trigger signal received by the receiving module 520.
Optionally, the second display module 530 is further configured to:
carrying out special effect processing on the first card surface according to the trigger signal to obtain a second card surface of the virtual card, and displaying the second card surface; alternatively, the first and second electrodes may be,
and acquiring the card surface after special effect processing, which is stored corresponding to the first card surface, according to the trigger signal, and displaying the card surface after special effect processing as a second card surface of the virtual card.
Optionally, the special effect includes a lighting special effect or a flashing special effect.
Optionally, the special lighting effect is that a lighting effect is added at a specific position of the card surface, and the specific position may be the same as a position of an indicator lamp arranged in the entity card.
Optionally, the second display module 530 is further configured to:
obtaining a card surface belonging to the same theme as the first card surface according to the trigger signal to obtain a second card surface of the virtual card;
and displaying the second card surface.
Optionally, the second display module 530 is further configured to:
acquiring card data in the virtual card according to the trigger signal;
adding the card data to the first card surface to obtain a second card surface of the virtual card;
and displaying the second card surface.
Optionally, the apparatus further comprises: a play module 540;
the playing module 540 is configured to play the alert tone when the second display module 530 displays the second card surface.
Optionally, the receiving module 520 is further configured to:
receiving a feedback signal sent after the virtual card is successfully swiped, and taking the feedback signal as a trigger signal; alternatively, the first and second electrodes may be,
and receiving an electromagnetic field signal emitted outwards by the card reader, and taking the electromagnetic field signal as a trigger signal, wherein the electromagnetic field signal is used for activating the virtual card.
In summary, the virtual card display device provided by the present disclosure updates the display content of the terminal from the first card surface before swiping the card to the second card according to the trigger signal by receiving the trigger signal generated when the distance between the terminal and the card reader is smaller than the preset threshold value, so that the card swiping progress of the virtual card can be represented by the change of the displayed card surface, and the problem that the user cannot know the card swiping progress of the virtual card is solved.
Because the second card face is different with first card face, so, the terminal shows that the second card face not only can indicate the progress of punching the card, can also avoid when punching the card the terminal only shows a card face, leads to the problem that the process of punching the card is single and uninteresting to increased the interest of punching the card, promoted user's the experience of punching the card.
By providing multiple second card surfaces, the variety of card surfaces displayed during card swiping can be expanded.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An exemplary embodiment of the present disclosure provides a virtual card display apparatus, which can implement the virtual card display method provided by the present disclosure, and the virtual card display apparatus includes: a processor, a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal;
receiving a trigger signal, wherein the trigger signal is generated when the distance between a terminal and a card reader is smaller than a preset threshold value, and the card reader is used for realizing the card swiping operation of a virtual card;
and displaying the second card surface of the virtual card according to the trigger signal.
FIG. 6 is a block diagram illustrating an apparatus 600 for virtual card display in accordance with an exemplary embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion 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 can 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 operation at the device 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions when executed by a processor of a mobile terminal enable the mobile terminal to perform the above virtual card display method.
An exemplary embodiment of the present disclosure provides a computer readable storage medium having at least one instruction, at least one program, set of codes, or set of instructions stored therein, loaded and executed by the processor to implement the virtual card display method as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, 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 will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (16)

1. A method of virtual card display, the method comprising:
when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal;
receiving a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, the card reader is used for realizing card swiping operation on the virtual card, the trigger signal is an electromagnetic field signal, and the trigger signal is used for indicating the terminal to replace the display content from a first card surface to a second card surface; the electromagnetic field signal is induced voltage generated by the terminal under the action of an electromagnetic field when the terminal approaches a card reader; the electromagnetic field signal is used for activating the virtual card;
carrying out special effect processing on the first card surface according to the trigger signal to obtain a second card surface of the virtual card, and displaying the second card surface; alternatively, the first and second electrodes may be,
and acquiring a card surface which is stored correspondingly to the first card surface and is subjected to special effect processing according to the trigger signal, and displaying the card surface which is subjected to special effect processing as a second card surface of the virtual card.
2. The method of claim 1, wherein the effect comprises a light-up effect or a flashing effect.
3. The method according to claim 2, wherein the lighting effect is a lighting effect after lighting is added at a specific position of the card surface, and the specific position is the same as a position of an indicator lamp arranged in a physical card of the virtual card.
4. The method of claim 1, wherein displaying the second card face of the virtual card according to the trigger signal comprises:
obtaining a card surface belonging to the same theme with the first card surface according to the trigger signal to obtain a second card surface of the virtual card;
and displaying the second card surface.
5. The method of claim 1, wherein displaying the second card face of the virtual card according to the trigger signal comprises:
acquiring card data in the virtual card according to the trigger signal;
adding the card data to the first card surface to obtain a second card surface of the virtual card;
and displaying the second card surface.
6. The method of claim 1, further comprising:
and playing a prompt tone when the second card surface is displayed.
7. The method of any of claims 1 to 6, wherein receiving the trigger signal comprises:
receiving a feedback signal sent after the virtual card is successfully swiped, and taking the feedback signal as the trigger signal; alternatively, the first and second electrodes may be,
and receiving an electromagnetic field signal emitted outwards by the card reader, and taking the electromagnetic field signal as the trigger signal, wherein the electromagnetic field signal is used for activating the virtual card.
8. A virtual card display apparatus, the apparatus comprising:
the terminal comprises a first display module, a second display module and a third display module, wherein the first display module is configured to display a first card surface of a virtual card to be swiped in the terminal when the terminal is in a card swiping mode;
the receiving module is configured to receive a trigger signal, the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, the card reader is used for realizing card swiping operation of the virtual card, the trigger signal is an electromagnetic field signal, and the trigger signal is used for indicating the terminal to replace display content from a first card surface to a second card surface; the electromagnetic field signal is induced voltage generated by the terminal under the action of an electromagnetic field when the terminal approaches a card reader; the electromagnetic field signal is used for activating the virtual card;
the second display module is configured to perform special effect processing on the first card surface according to the trigger signal to obtain a second card surface of the virtual card, and the second card surface is displayed; alternatively, the first and second electrodes may be,
and acquiring a card surface which is stored correspondingly to the first card surface and is subjected to special effect processing according to the trigger signal, and displaying the card surface which is subjected to special effect processing as a second card surface of the virtual card.
9. The apparatus of claim 8, wherein the effect comprises a light-up effect or a flashing effect.
10. The device of claim 9, wherein the lighting effect is a lighting effect after lighting is added at a specific position of the card surface, and the specific position is the same as a position of an indicator lamp arranged in a physical card of the virtual card.
11. The apparatus of claim 8, wherein the second display module is further configured to:
obtaining a card surface belonging to the same theme with the first card surface according to the trigger signal to obtain a second card surface of the virtual card;
and displaying the second card surface.
12. The apparatus of claim 8, wherein the second display module is further configured to:
acquiring card data in the virtual card according to the trigger signal;
adding the card data to the first card surface to obtain a second card surface of the virtual card;
and displaying the second card surface.
13. The apparatus of claim 8, further comprising:
a playing module configured to play a warning tone when the second display module displays the second card surface.
14. The apparatus of any of claims 8 to 13, wherein the receiving module is further configured to:
receiving a feedback signal sent after the virtual card is successfully swiped, and taking the feedback signal as the trigger signal; alternatively, the first and second electrodes may be,
and receiving an electromagnetic field signal emitted outwards by the card reader, and taking the electromagnetic field signal as the trigger signal, wherein the electromagnetic field signal is used for activating the virtual card.
15. A virtual card display apparatus, the apparatus comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the terminal is in a card swiping mode, displaying a first card surface of a virtual card to be swiped in the terminal;
receiving a trigger signal, wherein the trigger signal is generated when the distance between the terminal and a card reader is smaller than a preset threshold value, the card reader is used for realizing card swiping operation on the virtual card, the trigger signal is an electromagnetic field signal, and the trigger signal is used for indicating the terminal to replace the display content from a first card surface to a second card surface; the electromagnetic field signal is induced voltage generated by the terminal under the action of an electromagnetic field when the terminal approaches a card reader; the electromagnetic field signal is used for activating the virtual card;
carrying out special effect processing on the first card surface according to the trigger signal to obtain a second card surface of the virtual card, and displaying the second card surface; alternatively, the first and second electrodes may be,
and acquiring a card surface which is stored correspondingly to the first card surface and is subjected to special effect processing according to the trigger signal, and displaying the card surface which is subjected to special effect processing as a second card surface of the virtual card.
16. A computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by a processor to implement the virtual card display method of any of claims 1 to 7.
CN201810490656.4A 2018-05-21 2018-05-21 Virtual card display method and device Active CN108665265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810490656.4A CN108665265B (en) 2018-05-21 2018-05-21 Virtual card display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810490656.4A CN108665265B (en) 2018-05-21 2018-05-21 Virtual card display method and device

Publications (2)

Publication Number Publication Date
CN108665265A CN108665265A (en) 2018-10-16
CN108665265B true CN108665265B (en) 2021-08-31

Family

ID=63777309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810490656.4A Active CN108665265B (en) 2018-05-21 2018-05-21 Virtual card display method and device

Country Status (1)

Country Link
CN (1) CN108665265B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109407927B (en) * 2018-10-23 2022-10-25 努比亚技术有限公司 Electronic card processing method, mobile terminal and readable storage medium
CN112347802B (en) * 2020-11-03 2023-05-02 歌尔科技有限公司 Card swiping method, system and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370052A (en) * 2008-09-17 2009-02-18 中兴通讯股份有限公司 Multi-reminding tone implementing method based on NFC and mobile terminal
CN101656548A (en) * 2009-08-04 2010-02-24 中兴通讯股份有限公司 Wireless terminal and method for implementing voice broadcasting function for short-range communication
CN204409894U (en) * 2015-01-31 2015-06-24 林远镜 A kind of NFC signal prompt cutting ferrule
CN206975655U (en) * 2017-05-27 2018-02-06 智嘉通讯科技(东莞)有限公司 The NFC brushing card devices of electric-field intensity change can be shown
CN108040177A (en) * 2017-12-10 2018-05-15 谭希韬 A kind of NFC financial payments mobile phone and application method based on two key scramblers

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105225082A (en) * 2015-09-06 2016-01-06 浪潮软件股份有限公司 The application technology of a kind of NFC smart card in deliver goods process
GB201608070D0 (en) * 2016-05-09 2016-06-22 Polar Oled Ltd Substrate with OLED display
CN106170809B (en) * 2016-06-22 2020-09-01 北京小米支付技术有限公司 Virtual card display method and device
WO2017219267A1 (en) * 2016-06-22 2017-12-28 北京小米移动软件有限公司 Card display method and device
KR20180037473A (en) * 2016-10-04 2018-04-12 삼성전자주식회사 Mobile payment method, electronic device and external payment device therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370052A (en) * 2008-09-17 2009-02-18 中兴通讯股份有限公司 Multi-reminding tone implementing method based on NFC and mobile terminal
CN101656548A (en) * 2009-08-04 2010-02-24 中兴通讯股份有限公司 Wireless terminal and method for implementing voice broadcasting function for short-range communication
CN204409894U (en) * 2015-01-31 2015-06-24 林远镜 A kind of NFC signal prompt cutting ferrule
CN206975655U (en) * 2017-05-27 2018-02-06 智嘉通讯科技(东莞)有限公司 The NFC brushing card devices of electric-field intensity change can be shown
CN108040177A (en) * 2017-12-10 2018-05-15 谭希韬 A kind of NFC financial payments mobile phone and application method based on two key scramblers

Also Published As

Publication number Publication date
CN108665265A (en) 2018-10-16

Similar Documents

Publication Publication Date Title
CN107908351B (en) Application interface display method and device and storage medium
EP3188066B1 (en) A method and an apparatus for managing an application
EP3454192B1 (en) Method and device for displaying page
CN107315609B (en) Switching method and device of card simulation function
CN110231901B (en) Application interface display method and device
CN106354504B (en) Message display method and device
CN107798309B (en) Fingerprint input method and device and computer readable storage medium
CN109862169B (en) Electronic equipment control method, device and storage medium
CN105979062B (en) Communication event processing method and device
CN105912204B (en) Method and device for starting application interface
CN112434338A (en) Picture sharing method and device, electronic equipment and storage medium
CN108174269B (en) Visual audio playing method and device
CN108665265B (en) Virtual card display method and device
CN110618783A (en) Text broadcasting method, device and medium
CN107656616B (en) Input interface display method and device and electronic equipment
CN107295167B (en) Information display method and device
CN107132908B (en) Image updating method and device
CN106506808B (en) Method and device for prompting communication message
EP3190555A1 (en) Method for operating a display device and display
CN108874450B (en) Method and device for waking up voice assistant
CN112423092A (en) Video recording method and video recording device
US11347988B2 (en) Method and device for configuring NFC smart card
CN109743441B (en) Read-write permission setting method and device
CN108037875B (en) Method, device and storage medium for switching input modes
CN106791200B (en) Information display method and device

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