CN115907855A - Virtual card coupon sharing method, device, terminal and medium - Google Patents

Virtual card coupon sharing method, device, terminal and medium Download PDF

Info

Publication number
CN115907855A
CN115907855A CN202211544735.1A CN202211544735A CN115907855A CN 115907855 A CN115907855 A CN 115907855A CN 202211544735 A CN202211544735 A CN 202211544735A CN 115907855 A CN115907855 A CN 115907855A
Authority
CN
China
Prior art keywords
sharing
card
virtual
virtual card
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211544735.1A
Other languages
Chinese (zh)
Inventor
王国云
邱晟
罗晓华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease Zaigu Technology Co Ltd
Original Assignee
Hangzhou Netease Zaigu Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Zaigu Technology Co Ltd filed Critical Hangzhou Netease Zaigu Technology Co Ltd
Priority to CN202211544735.1A priority Critical patent/CN115907855A/en
Publication of CN115907855A publication Critical patent/CN115907855A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the disclosure provides a virtual coupon sharing method, a virtual coupon sharing device, a virtual coupon sharing terminal and a virtual coupon sharing medium. According to the method, the purchased at least one virtual card is displayed through the first terminal, so that a user can select a virtual card to be shared from the virtual card, the sharing operation of the user on any virtual card is responded, the sharing card at least comprising the card number and the sharing code of the virtual card is generated, the sharing card is sent to the second terminal, the sharing of the virtual card is realized, the user can receive the sharing card sent by the first terminal through the second terminal, the card number and the sharing code of the virtual card are displayed in the sharing card, so that the getting interface of the virtual card is displayed based on the card number and the sharing code of the virtual card, so that the user can get the virtual card through the getting interface, the sharing process does not need to expose the password sharing of the card, and the safety of the virtual card process can be improved.

Description

Virtual card coupon sharing method, device, terminal and medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a virtual coupon sharing method, device, terminal and medium.
Background
This section is intended to provide a background or context to the embodiments of the disclosure recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
As is well known, with the rapid development of internet and online shopping, virtual cards are increasingly widely used as a new form of consumption. In daily life, takeaway discount coupons, cash red packages, network consumption coupons, network value cards and the like used by people belong to the category of virtual coupons.
After purchasing the virtual card, the user can use the purchased virtual card by himself or can share the purchased virtual card to other users. In the related art, when the purchased virtual card ticket is shared with other users, the card number and the password of the virtual card ticket may be captured to share the image obtained by capturing the image with other users, or the card number and the password of the virtual card ticket may be directly shared with other users.
However, in any sharing mode, the card number and the password of the shared virtual card are directly visible to the receiver, and if the user carelessly shares the virtual card to the wrong receiver, the receiver can still use the virtual card according to the card number and the password of the virtual card, so that the security of the virtual card sharing process is poor.
Disclosure of Invention
In view of the problem of poor security of the virtual ticket sharing process in the related art, embodiments of the present disclosure at least provide a virtual ticket sharing method, apparatus, terminal, and medium.
In a first aspect of the disclosed embodiments, a virtual card sharing method is provided, which is applied to a first terminal, and includes:
displaying the purchased at least one virtual coupon;
responding to the sharing operation of any virtual card ticket, and generating a sharing card of the virtual card ticket, wherein the sharing card at least comprises the card number and the sharing code of the virtual card ticket;
and sending the sharing card to a second terminal, wherein the second terminal is used for receiving the sharing card and then getting the virtual card coupon based on the card number and the sharing code included in the sharing card.
This is disclosed through showing at least one virtual card coupon purchased by first terminal to the user can select the virtual card that will share from it, and then respond to the sharing operation of user to arbitrary virtual card coupon, generate the card number that includes virtual card coupon at least and share the card of code, thereby send the card of sharing to the second terminal, in order to realize the sharing of virtual card coupon, the user can pass through the second terminal, the card number that includes based on sharing the card and share the code and pick up virtual card coupon, the password of sharing the card need not to expose in the sharing process, thereby can improve the security of virtual card coupon sharing process.
In some embodiments of the present disclosure, in response to a sharing operation for any virtual card, generating a sharing card of the virtual card includes:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating the sharing code of the virtual card ticket;
and adding the card number and the sharing code to a reserved position of the card template to obtain the sharing card.
In some embodiments of the present disclosure, the sharing card further comprises a capture code, one sharing code corresponding to one capture code;
responding to the sharing operation of any virtual card, generating a sharing card of the virtual card, and comprising:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating a sharing code of the virtual card ticket and a pickup code corresponding to the sharing code;
and adding the card number, the sharing code and the sharing code of the virtual card coupon to a reserved position of the card template to obtain a sharing card.
In some embodiments of the present disclosure, the sharing code is provided with a failure time;
after sending the sharing card to the second terminal, the method further includes at least one of:
setting the sharing code to be in a failure state under the condition that the failure time of the sharing code is reached;
and responding to the refreshing operation of the sharing code included in the sharing card, and setting the sharing code to be in a failure state.
In some embodiments of the present disclosure, one sharing code corresponds to one fetching code;
the method further comprises the following steps:
and under the condition that the sharing code is set to be in a failure state, setting the picking code corresponding to the sharing code to be in the failure state.
In some embodiments of the disclosure, after sending the sharing card to the second terminal, the method further includes:
and receiving feedback information returned by the second terminal, wherein the feedback information is used for indicating whether the virtual card ticket is successfully picked up.
In some embodiments of the disclosure, after sending the sharing card to the second terminal, the method further includes at least one of:
sending a first query request to a second terminal, wherein the first query request is used for acquiring the receiving state of the virtual card;
sending a second query request to a second terminal, wherein the second query request is used for acquiring the getting state of at least one sharing code corresponding to the virtual card coupon;
and sending a third query request to the second terminal, wherein the third query request is used for acquiring the use state of the virtual card.
In a second aspect of the embodiments of the present disclosure, a method for sharing a virtual coupon is provided, which is applied to a second terminal, and the method includes:
receiving a sharing card sent by a first terminal, wherein the sharing card at least comprises a card number and a sharing code of a shared virtual card;
displaying the sharing card, and displaying the card number and the sharing code of the virtual card coupon in the sharing card;
and displaying a getting interface of the virtual card based on the card number and the sharing code of the virtual card so as to get the virtual card through the getting interface.
This is disclosed through the sharing card that is sent by the second terminal receipt first terminal to show the sharing card, and show the card number and the sharing code of virtual card coupon in sharing the card, so that based on the card number and the sharing code of virtual card coupon, show the interface of drawing of virtual card coupon, so that the user can draw virtual card coupon through drawing the interface, in order to realize the sharing of virtual card coupon, and whole sharing process need not to expose the password of sharing the card, thereby can improve the security of virtual card coupon sharing process.
In some embodiments of the present disclosure, displaying a pickup interface of a virtual card based on a card number and a sharing code of the virtual card includes:
displaying an information input interface, wherein the information input interface is used for providing the card number of the virtual card coupon and the input function of the sharing code;
and displaying a virtual card coupon getting interface under the condition of acquiring the card number and the sharing code through the information input interface.
In some embodiments of the present disclosure, after displaying a pickup interface of the virtual card based on the card number and the sharing code of the virtual card in response to the scanning operation of the pickup code, the method further includes:
if the user does not log in the user account on the second terminal, responding to the getting operation on the getting interface, and displaying an account binding interface to obtain the user account through the account binding interface;
and binding the virtual card coupon with the user account acquired through the account binding interface.
In some embodiments of the present disclosure, after displaying a pickup interface of the virtual card ticket based on the card number and the sharing code of the virtual card ticket in response to the scanning operation of the pickup code, the method further includes:
and if the user account number is logged in the second terminal, responding to the getting operation on the getting interface, and binding the virtual card coupon and the user account number logged in the second terminal.
In some embodiments of the present disclosure, the sharing card further comprises a get code of the virtual card, one sharing code corresponding to one get code;
the method further comprises the following steps:
displaying the sharing card, and displaying the card number, the sharing code and the picking-up code of the virtual card coupon in the sharing card;
and responding to the scanning operation of the getting code, and displaying a getting interface of the virtual card ticket based on the card number and the sharing code of the virtual card ticket.
In some embodiments of the present disclosure, the sharing code is set to a failure time, and the sharing code is set to a failure state when the failure time of the sharing code is reached; or,
and under the condition that the refreshing operation of the sharing code included in the sharing card is acquired through the first terminal, the sharing code is set to be in a failure state.
In some embodiments of the disclosure, one sharing code corresponds to one getting code, and in a case where the sharing code is set to the disabled state, the getting code corresponding to the sharing code is set to the disabled state.
In some embodiments of the present disclosure, after displaying the virtual ticket picking-up interface based on the card number and the sharing code of the virtual ticket, the method further includes:
and sending feedback information to the first terminal, wherein the feedback information is used for indicating whether the virtual card ticket is successfully picked up.
In some embodiments of the disclosure, the method further comprises at least one of:
under the condition of receiving a first query request sent by a first terminal, sending a virtual card coupon getting state to the first terminal, wherein the first query request is used for obtaining the virtual card coupon getting state;
under the condition that a second query request sent by the first terminal is received, sending a getting state of at least one sharing code corresponding to the virtual coupon to the first terminal, wherein the second query request is used for obtaining the getting state of at least one sharing code corresponding to the virtual coupon;
and under the condition of receiving a third query request sent by the first terminal, sending the use state of the virtual card to the first terminal, wherein the third query request is used for acquiring the use state of the virtual card.
In a third aspect of the embodiments of the present disclosure, there is provided a virtual ticket sharing apparatus, applied to a first terminal, the apparatus including:
a display module for displaying the purchased at least one virtual coupon;
the generation module is used for responding to the sharing operation of any virtual card ticket and generating a sharing card of the virtual card ticket, wherein the sharing card at least comprises a card number and a sharing code of the virtual card ticket;
the sending module is used for sending the sharing card to the second terminal, and the second terminal is used for receiving the sharing card and then getting the virtual card coupon based on the card number and the sharing code included in the sharing card.
In some embodiments of the present disclosure, the generating module, when configured to generate a sharing card of a virtual ticket in response to a sharing operation on any virtual ticket, is configured to:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating the sharing code of the virtual card ticket;
and adding the card number and the sharing code to a reserved position of the card template to obtain the sharing card.
In some embodiments of the present disclosure, the sharing card further comprises a capture code, one sharing code corresponding to one capture code;
the generation module is used for responding to the sharing operation of any virtual card coupon and generating a sharing card of the virtual card coupon, and is used for:
responding to the sharing operation of any virtual card voucher, obtaining the card number of the virtual card voucher, and generating a sharing code of the virtual card voucher and a receiving code corresponding to the sharing code;
and adding the card number, the sharing code and the sharing code of the virtual card coupon to a reserved position of the card template to obtain the sharing card.
In some embodiments of the present disclosure, the sharing code is provided with a failure time;
the device also includes:
the setting module is used for setting the sharing code into a failure state under the condition that the failure time of the sharing code is reached;
the setting module is also used for responding to the refreshing operation of the sharing codes included by the sharing cards and setting the sharing codes to be in a failure state.
In some embodiments of the present disclosure, one sharing code corresponds to one fetching code;
the setting module is further used for setting the picking code corresponding to the sharing code to be in the failure state under the condition that the sharing code is set to be in the failure state.
In some embodiments of the present disclosure, the apparatus further comprises:
and the receiving module is used for receiving feedback information returned by the second terminal, and the feedback information is used for indicating whether the virtual card is successfully picked up.
In some embodiments of the disclosure, the sending module is further configured to at least one of:
sending a first query request to a second terminal, wherein the first query request is used for acquiring the receiving state of the virtual card;
sending a second query request to a second terminal, wherein the second query request is used for acquiring the getting state of at least one sharing code corresponding to the virtual card coupon;
and sending a third query request to the second terminal, wherein the third query request is used for acquiring the use state of the virtual card.
In a fourth aspect of the embodiments of the present disclosure, there is provided a virtual ticket sharing apparatus applied to a second terminal, the apparatus including:
the receiving module is used for receiving a sharing card sent by the first terminal, and the sharing card at least comprises a card number and a sharing code of a shared virtual card and coupon;
the display module is used for displaying the sharing card and displaying the card number and the sharing code of the virtual card coupon in the sharing card;
and the display module is also used for displaying a receiving interface of the virtual card based on the card number and the sharing code of the virtual card so as to receive the virtual card through the receiving interface.
In some embodiments of the present disclosure, the display module, when configured to display the virtual card's pick-up interface based on the virtual card's card number and the sharing code, is configured to:
displaying an information input interface, wherein the information input interface is used for providing the input function of the card number and the sharing code of the virtual card coupon;
and displaying a receiving interface of the virtual card and the virtual ticket under the condition of acquiring the card number and the sharing code through the information input interface.
In some embodiments of the present disclosure, the sharing card further comprises a pickup code of the virtual card, one sharing code corresponding to one pickup code;
the display module is also used for displaying the sharing card and displaying the card number, the sharing code and the picking code of the virtual card coupon in the sharing card;
and the display module is also used for responding to the scanning operation of the picking-up code and displaying a picking-up interface of the virtual card based on the card number and the sharing code of the virtual card.
In some embodiments of the disclosure, the display module is further configured to, if no user account is logged in the second terminal, respond to a pickup operation on the pickup interface, display the account binding interface, and obtain the user account through the account binding interface;
the device also includes:
and the first binding module is used for binding the virtual card coupon with the user account acquired through the account binding interface.
In some embodiments of the disclosure, the apparatus further comprises:
and the second binding module is used for binding the virtual card coupon and the user account number logged in the second terminal in response to the receiving operation on the receiving interface if the user account number is logged in the second terminal.
In some embodiments of the present disclosure, the sharing code is provided with a failure time, and the sharing code is set to a failure state when the failure time of the sharing code is reached; or,
under the condition that the refreshing operation of the sharing code included in the sharing card is acquired through the first terminal, the sharing code is set to be in a failure state.
In some embodiments of the disclosure, one sharing code corresponds to one getting code, and in a case where the sharing code is set to the disabled state, the getting code corresponding to the sharing code is set to the disabled state.
In some embodiments of the disclosure, the apparatus further comprises:
and the first sending module is used for sending feedback information to the first terminal, wherein the feedback information is used for indicating whether the virtual card ticket is successfully picked up.
In some embodiments of the disclosure, the apparatus further comprises:
a second sending module for at least one of:
under the condition of receiving a first query request sent by a first terminal, sending the receiving state of the virtual card ticket to the first terminal, wherein the first query request is used for obtaining the receiving state of the virtual card ticket;
under the condition that a second query request sent by the first terminal is received, sending a getting state of at least one sharing code corresponding to the virtual coupon to the first terminal, wherein the second query request is used for obtaining the getting state of at least one sharing code corresponding to the virtual coupon;
and under the condition of receiving a third query request transmitted by the first terminal, transmitting the use state of the virtual card to the first terminal, wherein the third query request is used for acquiring the use state of the virtual card.
In a fifth aspect of the embodiments of the present disclosure, there is provided a terminal, where the terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the operations performed by the virtual card sharing method provided in the first aspect and any embodiment of the first aspect.
In a sixth aspect of the disclosed embodiments, a terminal is provided, where the terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the operations performed by the virtual ticket sharing method provided in the second aspect and any embodiment of the second aspect.
In a seventh aspect of the disclosed embodiments, a computer-readable storage medium is provided, on which a program is stored, the program being executed by a processor to perform operations performed by the method for sharing a virtual card provided in the first aspect and any embodiment of the first aspect.
In an eighth aspect of embodiments of the present disclosure, a computer-readable storage medium is provided, on which a program is stored, the program being executed by a processor to perform operations performed by the virtual card sharing method provided in the second aspect and any of the embodiments of the second aspect.
In a ninth aspect of the disclosed embodiments, a computer program product is provided, which includes a computer program and when the program is executed by a processor, the program implements the operations performed by the method for sharing a virtual card provided in the first aspect and any embodiment of the first aspect.
In a tenth aspect of embodiments of the present disclosure, a computer program product is provided, which includes a computer program that, when being executed by a processor, implements the operations performed by the virtual card sharing method provided in the second aspect and any embodiment of the second aspect.
According to the method, the purchased at least one virtual card is displayed through the first terminal, so that a user can select a virtual card to be shared from the virtual card, the sharing operation of the user on any virtual card is responded, the sharing card at least comprising the card number and the sharing code of the virtual card is generated, the sharing card is sent to the second terminal, the sharing of the virtual card is realized, the user can receive the sharing card sent by the first terminal through the second terminal, the card number and the sharing code of the virtual card are displayed in the sharing card, so that the getting interface of the virtual card is displayed based on the card number and the sharing code of the virtual card, so that the user can get the virtual card through the getting interface, the password of the sharing card is not required to be exposed in the sharing process, and the safety of the sharing process of the virtual card can be improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a flowchart illustrating a virtual card sharing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a virtual card sharing process according to an embodiment of the disclosure;
FIG. 3 is a flow chart illustrating a process for a first user activating a virtual ticket according to an embodiment of the present disclosure;
fig. 4 is a block diagram illustrating a virtual card sharing apparatus according to an embodiment of the disclosure;
fig. 5 is a block diagram illustrating a virtual card sharing apparatus according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram illustrating a computer-readable storage medium in accordance with an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating a computer-readable storage medium in accordance with an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram illustrating a terminal according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram illustrating a terminal according to an embodiment of the present disclosure;
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present disclosure will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are presented merely to enable those skilled in the art to better understand and to practice the disclosure, and are not intended to limit the scope of the disclosure in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one of skill in the art, embodiments of the present disclosure may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to an embodiment of the disclosure, a virtual coupon sharing method is provided, so that after a user purchases a virtual coupon, the purchased virtual coupon can be shared with other users through the virtual coupon sharing method provided by the disclosure, so that other users can receive the shared virtual coupon, and the purpose of giving the virtual coupon to other users is achieved.
Alternatively, the virtual card ticket may be an electronic gift card, an electronic redemption ticket, a takeaway discount ticket, a cash red package, a network consumption ticket, a network stored value card, a game recharge ticket, etc., and the specific type of the virtual card ticket is not limited by the present disclosure.
It should be noted that the above application scenarios are only shown for the convenience of understanding the spirit and principles of the present disclosure, and the embodiments of the present disclosure are not limited in any way in this respect, but rather, can be applied to any scenario where applicable.
Next, a method of sharing a virtual card provided according to an exemplary embodiment of the present disclosure is described with reference to fig. 1.
Referring to fig. 1, fig. 1 is a flowchart illustrating a virtual card sharing method according to an embodiment of the present disclosure, where the method includes:
s101, displaying at least one purchased virtual card coupon by the first terminal.
The first terminal may be any type of terminal device, for example, the first terminal may be a desktop computer, a portable computer, a notebook computer, a tablet computer, a smart phone, a smart watch, and the like, and the disclosure does not limit the device type of the first terminal.
The user (for the sake of distinction, the user using the first terminal is referred to as the first user, i.e., the sharing party of the virtual card) can access the application program for purchasing the virtual card through the first terminal, so as to purchase the virtual card through the application program. In addition, the application program can also provide an order query interface for the user, and the first user can query the virtual card purchased by the first user through the order query interface.
In a possible implementation manner, the first terminal may send an order obtaining request to a server (or called a server) in response to an order query operation of the first user, the server may return card information (such as a card number, purchase time, effective time, and the like) of a virtual card purchased by the first user to the first terminal, and the first terminal may display an order query interface based on the received card information and display at least one purchased virtual card in the order query interface.
S102, the first terminal responds to the sharing operation of any virtual card ticket, a sharing card of the virtual card ticket is generated, and the sharing card at least comprises the card number and the sharing code of the virtual card ticket.
After the first terminal displays at least one purchased virtual card, the first user can select a virtual card to be shared from the virtual card, so that the virtual card is shared with other users.
In a possible implementation manner, each virtual card ticket may be provided with a sharing control, the first user may trigger a sharing operation on any virtual card ticket by triggering the sharing control corresponding to the virtual card ticket, and the first terminal may respond to the sharing operation on the virtual card ticket to generate a sharing card at least including the card number and the sharing code of the virtual card ticket.
Optionally, the sharing card may be in various forms such as pictures, characters, links, and the like, and the specific form of the sharing card is not limited in the disclosure.
S103, the first terminal sends the sharing card to the second terminal.
Optionally, the first terminal may send a conversation message including the sharing card to the second terminal through any sharing platform, so as to send the sharing card to the second terminal.
The sharing platform may be an instant messaging application, a shopping application, a game application, a payment application, and the like, and the specific type of the sharing platform is not limited in the present disclosure.
S104, the second terminal receives the sharing card sent by the first terminal.
It should be noted that after the first terminal sends the conversation message including the sharing card to the second terminal through the sharing platform, the second terminal can receive the conversation message through the sharing platform, so as to receive the sharing card.
S105, the second terminal displays the sharing card and displays the card number and the sharing code of the virtual card coupon in the sharing card.
The card number is a card ticket identifier which is preset for the virtual card ticket and is used for uniquely identifying the virtual card ticket, and the card numbers of different virtual card tickets are different.
The sharing code may be a string of characters randomly generated for the virtual card, and optionally, the sharing code may be a number, a letter, a special symbol, or a combination of the three, and the like. It should be noted that, a virtual ticket does not necessarily have only one sharing code, but only one sharing code of a virtual ticket is in a valid state at the same time.
S106, the second terminal displays a getting interface of the virtual card based on the card number and the sharing code of the virtual card, so that the virtual card is got through the getting interface.
According to the method, the purchased at least one virtual card is displayed through the first terminal, so that a user can select a virtual card to be shared from the virtual card, the sharing operation of the user on any virtual card is responded, the sharing card at least comprising the card number and the sharing code of the virtual card is generated, the sharing card is sent to the second terminal, the sharing of the virtual card is realized, the user can receive the sharing card sent by the first terminal through the second terminal, the card number and the sharing code of the virtual card are displayed in the sharing card, so that the getting interface of the virtual card is displayed based on the card number and the sharing code of the virtual card, so that the user can get the virtual card through the getting interface, the sharing process does not need to expose the password sharing of the card, and the safety of the virtual card process can be improved.
Having described the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
In some embodiments, for step S102, when the sharing card of the virtual card ticket is generated in response to the sharing operation on any virtual card ticket, the following steps may be implemented:
s102-1-1, responding to the sharing operation of any virtual card, obtaining the card number of the virtual card, and generating the sharing code of the virtual card.
In one possible implementation manner, in response to the sharing operation of the virtual card, the card number of the selected virtual card may be obtained, and any random number generation algorithm may be adopted to generate a sharing code for the virtual card.
S102-1-2, adding the card number and the sharing code to a reserved position of the card template to obtain the sharing card.
The card template can be generated in advance, some blank reserved positions are reserved in the card template, and the card number and the sharing code can be added to the reserved positions of the card template, so that the sharing card comprising the card number and the sharing code can be obtained.
Optionally, the reserved positions in the card template may include a first reserved position and a second reserved position, and the card number may be added to the first reserved position of the card template, and the sharing code may be added to the second reserved position of the card template, so as to generate the sharing card.
The sharing card can be in the forms of pictures, characters, links and the like, and correspondingly, the card template can be a picture template and a character template. Under the condition that the sharing card is in a picture form, the card template is the picture template, the reserved position in the card template can be a blank area in the picture, and when the sharing card is generated, the card number and the sharing code can be added to the blank area in the picture to realize generation of the sharing card; when the sharing card is in a text form, the card template is the text template, the reserved position in the card template can be a blank part of a text, and when the sharing card is generated, the card number and the sharing code can be added to the blank part of the text to generate the sharing card; when the sharing card is in a link form, the card template is also a picture template, the reserved position in the card template can be a blank area in the picture, and when the sharing card is generated, the card number and the sharing code can be added to the blank area in the picture to obtain a complete picture and store the generated picture, so that the storage position is used as a link to realize generation of the sharing card.
After the sharing card including the card number and the sharing code is generated through the above process, the generated sharing card can be sent to the second terminal, so that the user (for convenience of distinguishing, the user using the second terminal is marked as the second user, that is, the shared party of the virtual ticket) can receive the virtual ticket through the second terminal.
In some embodiments, for step S106, when the virtual card pickup interface is displayed based on the card number and the sharing code of the virtual card, the following steps may be implemented:
s106-1-1, displaying an information input interface, wherein the information input interface is used for providing the input function of the card number and the sharing code of the virtual card.
The information input interface may be an interface in a target application platform, and the target application platform may be a designated use website or designated use software of the virtual card, and the specific type of the target application platform is not limited in the present disclosure.
After the second user views the card number and the sharing code of the virtual card displayed by the second terminal, the target application platform can be opened on the second terminal, and the information input interface of the target application platform can be displayed by the second terminal.
The information input interface can be provided with an input control so as to provide the card number and the sharing code input function through the input control, and a second user can input the card number and the sharing code of the virtual card coupon in the input control.
S106-1-2, displaying a virtual card and coupon getting interface under the condition that the card number and the sharing code are obtained through the information input interface.
When the card number and the sharing code are obtained through the information input interface, the second terminal can display a getting interface of the virtual card and ticket, a getting control (such as a getting button) can be arranged in the getting interface, and a second user can get the virtual card and ticket by triggering the getting control.
The above process is described by taking the sharing card including the card number and the sharing code as an example, and in more possible implementation manners, the sharing card may further include a capture code, that is, the sharing card may include the card number, the sharing code, and the capture code.
One sharing code corresponds to one getting code, that is, the sharing code and the getting code are in one-to-one correspondence. Alternatively, the access code may be a graphic code, for example, the access code may be a bar code or a two-dimensional code, and the specific type of the access code is not limited by the present disclosure.
In the case that the sharing card includes the card number, the sharing code, and the access code, for step S102, when the sharing card of the virtual card ticket is generated in response to the sharing operation for any virtual card ticket, the following steps may be included:
s102-2-1, responding to the sharing operation of any virtual card, obtaining the card number of the virtual card, and generating the sharing code of the virtual card and the access code corresponding to the sharing code.
For the implementation process of obtaining the card number of the virtual card and generating the sharing code of the virtual card in response to the sharing operation of any virtual card in this step, reference may be made to the above step S102-1-1, which is not described herein again.
In addition, on the basis of generating the sharing code of the virtual card ticket, a fetching code corresponding to the sharing code can be generated for the virtual card ticket.
S102-2-2, adding the card number, the sharing code and the sharing code of the virtual card coupon to a reserved position of the card template to obtain a sharing card.
For the description of the card template, reference may be made to the step S102-1-2, which is not described herein again.
Optionally, the reserved positions in the card template may include a first reserved position, a second reserved position, and a third reserved position, and the card number may be added to the first reserved position of the card template, the sharing code may be added to the second reserved position of the card template, and the access code may be added to the third reserved position of the card template, so as to generate the sharing card.
Under the condition that the card template is a picture template, the card number, the sharing code and the getting code can be added to a blank area in the picture to realize the generation of the sharing card; under the condition that the card template is a character template, the card number and the sharing code can be added to a blank part of the character in the text, and the fetching code is added to the final blank position of the character, so that the generation of the sharing card is realized.
After the sharing card comprising the card number, the sharing code and the getting code is generated through the process, the generated sharing card can be sent to the second terminal, the second user can receive the sharing card comprising the card number, the sharing code and the getting code through the second terminal, the sharing card is displayed, the card number, the sharing code and the getting code of the virtual card are displayed in the sharing card, and the second user can get the virtual card through the card number, the sharing code and the getting code.
In some embodiments, for step S106, when the virtual card pickup interface is displayed based on the card number and the sharing code of the virtual card, the following steps may be implemented:
and responding to the scanning operation of the picking-up code, and displaying a picking-up interface of the virtual card based on the card number and the sharing code of the virtual card.
In a possible implementation manner, the second user may scan the pickup code through the second terminal, and the second terminal may respond to the scanning operation of the pickup code and display the pickup interface of the virtual card based on the card number and the sharing code of the virtual card.
The card number and the sharing code of the virtual card voucher can be displayed in the getting interface, a getting control (such as a getting button) can be arranged in the getting interface, and the second user can get the virtual card voucher by triggering the getting control.
Optionally, when the second user receives the virtual card and ticket, the second user may receive the virtual card and ticket without login, and may also receive the virtual card and ticket after logging in the account, and whether the second user needs to log in may be determined according to the setting of the virtual card and ticket by the merchant, or may be determined according to an actual service scenario, which is not limited by the present disclosure.
If the second user is allowed to receive the virtual card ticket without login, the second user can complete the virtual card ticket receiving by triggering the receiving control under the condition that the second terminal does not log in the user account, and the second user can see the password of the virtual card ticket after the virtual card ticket is successfully received. Optionally, if no user account is registered on the second terminal, the second terminal may display an account binding interface in response to a pickup operation on the pickup interface (that is, a trigger operation on a pickup control in the pickup interface), where the account binding interface may provide an input function of the user account, so that the second user may input the user account through the account binding interface, so as to bind the virtual card ticket just picked up to an account corresponding to the input user account (for convenience of distinguishing, an account registered on the second terminal by the second user is referred to as a second account).
If the second user is not allowed to receive the virtual card under the login-free condition, after the second user triggers the receiving control to complete receiving the virtual card, the second terminal can detect the login state of the second user, and if the second user logs in a user account on the second terminal, the second terminal can respond to the receiving operation on the receiving interface to bind the virtual card and the user account logged in the second terminal; if the second user does not log in the user account on the second terminal, the second terminal can display a login interface so that the second user can log in the user account through the login interface, and further, under the condition that the second user logs in successfully, the second terminal can respond to the getting operation on the getting interface to bind the virtual card coupon and the user account logged in the second terminal.
Optionally, when the second user has logged in the user account on the second terminal, the second terminal may further display an account binding interface, and display the logged user account in the account binding interface, in addition to binding the virtual card and coupon just picked up to the second account corresponding to the logged user account, the second user may select to bind the virtual card and coupon just picked up to the second account corresponding to the logged user account, and may further modify the logged user account displayed in the account binding interface into another account, so as to bind the virtual card and coupon just picked up to another account.
The user account is bound for the virtual card ticket, so that the virtual card ticket can be found back through the bound user account under the condition that the virtual card ticket is lost, and the use safety of the virtual card ticket can be improved.
It should be noted that, after the second user receives the virtual card, the received virtual card may be saved in a card in the mobile phone electronic package or the payment platform, a mobile phone album, or the like, or the received virtual card may be recorded in a text form. In addition, it should be noted that after the second user successfully receives the virtual ticket, the virtual ticket purchased by the first user no longer has the sharing function, and cannot be used by the first user (i.e. the functions of exchange, recharge, etc. are no longer provided).
In addition, after the second user successfully receives the virtual card ticket, the received virtual card ticket can be activated, so that the virtual card ticket can be used. Optionally, when the virtual card is activated, a mobile phone number may be bound to the virtual card to be activated, so that the virtual card may be subsequently used through the bound mobile phone number, for example, the verification code may be obtained through the mobile phone number, so as to implement the use of the virtual card through the verification code; and under the condition that the activated virtual card is not bound with the mobile phone number, the virtual card can be directly used through the bound user account, and verification information does not need to be acquired.
It should be noted that, under the condition that the virtual ticket is not collected, no matter the purchaser of the virtual ticket or the person who receives the shared card cannot view the password of the virtual ticket, and only after the virtual ticket is collected, the person who receives the virtual ticket can view the password of the virtual ticket, so that decoupling of the propagation link and the use link can be realized, and therefore, the situation that the password of the virtual ticket is leaked in the propagation process due to uncontrollable propagation link can be avoided, the safety of the virtual ticket sharing process is ensured, and the asset loss of a user is reduced.
The above embodiment mainly introduces a way that the first user shares the virtual card and the second user gets the virtual card, optionally, the sharing code may further be provided with expiration time, the first terminal may check the time in real time after sending the sharing card to the second terminal, so that the sharing code is set to an expiration state when the expiration time of the sharing code is reached, and the second user cannot perform the field of the virtual card through the sharing code when the sharing code is set to the expiration state.
If the sharing card further comprises the pickup code, the pickup code corresponding to the sharing code can be set to be in a failure state besides the sharing code is set to be in a failure state under the condition that the failure time of the sharing code is reached.
The failure time may be any time length, and the specific time length of the failure time is not limited in the present disclosure. By setting the expiration time for the sharing code, the second user can not receive the virtual card and ticket through the sharing code under the condition that the expiration time is exceeded, so that the safety of the virtual card and ticket sharing process can be improved.
In addition, the first user can also set the sharing code to be in a failure state actively without being limited by failure time.
In a possible implementation manner, in the order query interface, a refresh control may be provided for the shared virtual coupon that has been shared but has not been received, the first user may trigger the refresh control to trigger a refresh operation of the sharing code included in the sharing coupon, and the first terminal may set the sharing code to a failed state in response to the refresh operation of the sharing code included in the sharing coupon.
If the sharing card further comprises the access code, under the condition that the refreshing operation of the sharing code included in the sharing card is triggered, the access code corresponding to the sharing code is set to be in a failure state besides the sharing code is set to be in the failure state.
The refreshing function is provided for the sharing code in the sharing card, so that when a first user finds that the sharing card is sent to an incorrect receiver, the sharing code can be set to be in an invalid state in a mode of actively refreshing the sharing code, the incorrect receiver can not receive the virtual card and ticket through the sharing code, the sharing effect is cancelled, and the safety of the sharing process can be improved.
Optionally, the first terminal may further provide a query function for the user, such as querying a receiving status of the virtual ticket, querying a receiving status of at least one sharing code corresponding to the virtual ticket, querying a usage status of the virtual ticket, and the like.
For example, the first terminal may provide a plurality of query controls to the user to provide a plurality of types of query functionality to the user. Taking the query function provided by the first terminal to query the receiving state of the virtual card, the receiving state of the at least one sharing code corresponding to the virtual card, and the using state of the virtual card as examples, the first terminal may provide three query controls for a user, such as a first query control, a second query control, and a third query control, the first query control may provide the query function of the receiving state of the virtual card, the second query control may provide the query function of the receiving state of the at least one sharing code corresponding to the virtual card, and the third query control may improve the query function of the using state of the virtual card, so that the user may trigger corresponding controls according to the needs of the user, so as to query different information.
In a possible implementation manner, the first terminal may send a first query request to the second terminal in response to a trigger operation on the first query control, where the first query request is used to obtain a virtual coupon pickup state; the second terminal sends the virtual card coupon picking state to the first terminal under the condition that the second terminal receives the first inquiry request sent by the first terminal, so that the first user can inquire the virtual card coupon picking state through the first terminal.
In another possible implementation manner, the first terminal may send a second query request to the second terminal in response to a triggering operation on the second query control, where the second query request is used to obtain a pickup state of at least one sharing code corresponding to the virtual coupon; the second terminal sends the getting state of the at least one sharing code corresponding to the virtual card ticket to the first terminal under the condition that the second inquiry request sent by the first terminal is received, so that the first user can inquire the getting state of the at least one sharing code corresponding to the virtual card ticket through the first terminal.
In another possible implementation manner, the first terminal may send a third query request to the second terminal in response to a triggering operation of the third query control, where the third query request is used to obtain a usage state of the virtual ticket; the second terminal may transmit the use status of the virtual ticket to the first terminal upon receiving a third inquiry request transmitted by the first terminal, so that the first user can inquire the use status of the virtual ticket through the first terminal.
The receiving state may include an unused state, a receiving failed state, a receiving successful state, and the like, and the using state may include an unused state and a used state, and the like.
It should be noted that, when sharing the virtual card and coupon, the virtual card and coupon can be shared through at least one sharing code, and the second terminal returns the pickup state of each sharing code to the first terminal, where the pickup state may indicate whether the corresponding sharing code is accessed, and whether the second user attempts to pickup the virtual card and coupon through the sharing code, but does not represent that the second user has successfully picked up the virtual card and coupon through the sharing code. For example, after a first user sends a sharing card to a second user, the first user finds that the currently sent second user is not the object that the second user originally wants to send, and can actively set the sharing code in the sent sharing card to be in an invalid state through a refresh operation, and even if the second user who receives the sharing card tries to receive the virtual card through the sharing code, the second user cannot receive the virtual card, the receiving state of the virtual card is still in an unreceived state, but the receiving state of the sharing code is in a receiving failure state.
By providing the first user with the functions of inquiring the receiving state of at least one sharing code corresponding to the virtual card, the receiving state of the virtual card and the use state of the virtual card, the first user (namely, the user who purchases the virtual card) can inquire various states of the virtual card, and therefore user experience can be improved.
In addition, no matter whether the second user successfully obtains the virtual card ticket, the second terminal can send feedback information to the first terminal, and the feedback information can be used for indicating whether the virtual card ticket is successfully obtained or not, so that the user can timely know the obtaining condition of the virtual card ticket through the feedback information received by the first terminal.
It should be noted that, if the second user successfully obtains the virtual ticket, the second terminal may send first feedback information to the first terminal, where the first feedback information is used to indicate that the virtual ticket has been successfully obtained; if the second user does not successfully receive the virtual card, the second terminal may send second feedback information to the first terminal, where the second feedback information is used to indicate that the virtual card is not successfully received.
The first user can timely know the picking-up condition of the virtual card ticket by sending the feedback information to the first terminal.
Referring to fig. 2, fig. 2 is a flowchart illustrating a virtual coupon sharing process according to an embodiment of the present disclosure, and as shown in fig. 2, a first user may query a virtual coupon purchased by the first user from a server through a terminal, and the server may return coupon information to the terminal. Under the condition that the virtual card is not activated, the first user can select to share the purchased virtual card, the terminal can send the virtual card to the sharing platform in the forms of pictures, characters, links and the like, and the sharing platform returns a sharing result to the terminal; under the condition that the first user shares the virtual card, the first user can also choose to cancel the sharing of the virtual card, that is, the first user can refresh the sharing code through the terminal to cancel the sharing of the virtual card, and the server can return the cancellation result to the terminal. The second user can receive the virtual card and the like by scanning the two-dimensional code, and the server side can return a receiving result to the sharing platform under the condition that the second user receives the virtual card and the like from the server side through the sharing platform, so that the second user can know the receiving condition of the second user on the virtual card and the like through the sharing platform. After the second user receives the virtual card ticket, the second user can use the virtual card ticket, for example, the virtual card ticket is exchanged or recharging is performed based on the virtual card ticket, the second user can use the virtual card ticket through the server, and the server can return the use result of the virtual card ticket to the second user.
The above embodiment mainly introduces that the first user shares the virtual card ticket with the second user after purchasing the virtual card ticket, and the second user receives and activates the virtual card ticket, so that the second user can use the virtual card ticket as an example.
Referring to fig. 3, fig. 3 is a flowchart illustrating a process of activating a virtual ticket by a first user according to an embodiment of the present disclosure, as shown in fig. 3, the first user may query a virtual ticket purchased by the first user from a server through a terminal, and the server may return ticket information to the terminal. Under the condition that the virtual card ticket is not activated, the first user can activate the virtual card ticket, that is, the first user can request the server end to activate the virtual card ticket through the terminal, and the server end can return an activation result to the terminal. Under the condition that the virtual card ticket is activated, the first user can use the virtual card ticket, for example, the virtual card ticket is exchanged or recharging is performed based on the virtual card ticket, the second user can request the server to use the virtual card ticket through the terminal, and the server can return the use result of the virtual card ticket to the second user.
By providing the scheme that the first user can activate the virtual card ticket to use, the use mode of the virtual card ticket can be enriched, and the flexibility of the virtual card ticket processing process is improved.
After the description of the virtual card sharing method according to the exemplary embodiment of the present disclosure, the following describes configurations of a virtual card sharing apparatus and a terminal for implementing the virtual card sharing method according to the exemplary embodiment of the present disclosure.
Referring to fig. 4, fig. 4 is a block diagram illustrating a virtual card sharing apparatus according to an embodiment of the present disclosure, where the virtual card sharing apparatus may be applied to a first terminal, and the apparatus includes:
a display module 401 for displaying at least one virtual card purchased;
a generating module 402, configured to generate a sharing card of a virtual card coupon in response to a sharing operation on any virtual card coupon, where the sharing card at least includes a card number and a sharing code of the virtual card coupon;
the sending module 403 is configured to send a sharing card to the second terminal, where the second terminal is configured to receive the virtual card and coupon based on the card number and the sharing code included in the sharing card after receiving the sharing card.
In some embodiments of the present disclosure, the generating module 402, when configured to generate a sharing card of a virtual card in response to a sharing operation on any virtual card, is configured to:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating the sharing code of the virtual card ticket;
and adding the card number and the sharing code to a reserved position of the card template to obtain the sharing card.
In some embodiments of the present disclosure, the sharing card further comprises a get code, one sharing code corresponding to one get code;
a generating module 402, when configured to generate a sharing card of a virtual card in response to a sharing operation on any virtual card, configured to:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating a sharing code of the virtual card ticket and a pickup code corresponding to the sharing code;
and adding the card number, the sharing code and the sharing code of the virtual card coupon to a reserved position of the card template to obtain a sharing card.
In some embodiments of the present disclosure, the sharing code is provided with a failure time;
the device also includes:
the setting module is used for setting the sharing code into a failure state under the condition that the failure time of the sharing code is reached;
the setting module is also used for responding to the refreshing operation of the sharing codes included by the sharing cards and setting the sharing codes to be in a failure state.
In some embodiments of the present disclosure, one sharing code corresponds to one fetching code;
the setting module is further used for setting the picking code corresponding to the sharing code to be in the failure state under the condition that the sharing code is set to be in the failure state.
In some embodiments of the present disclosure, the apparatus further comprises:
and the receiving module is used for receiving feedback information returned by the second terminal, and the feedback information is used for indicating whether the virtual card is successfully picked up.
In some embodiments of the disclosure, the sending module is further configured to at least one of:
sending a first query request to a second terminal, wherein the first query request is used for acquiring the receiving state of the virtual card;
sending a second query request to a second terminal, wherein the second query request is used for acquiring the getting state of at least one sharing code corresponding to the virtual card coupon;
and sending a third query request to the second terminal, wherein the third query request is used for acquiring the use state of the virtual card.
Referring to fig. 5, fig. 5 is a block diagram illustrating a virtual card sharing apparatus according to an embodiment of the present disclosure, where the virtual card sharing apparatus may be applied to a second terminal, and the apparatus includes:
a receiving module 501, configured to receive a sharing card sent by a first terminal, where the sharing card at least includes a card number and a sharing code of a shared virtual card;
the display module 502 is configured to display the sharing card, and display the card number and the sharing code of the virtual card coupon in the sharing card;
the display module 502 is further configured to display a getting interface of the virtual card based on the card number and the sharing code of the virtual card, so as to get the virtual card through the getting interface.
In some embodiments of the present disclosure, the display module 502, when configured to display the virtual card's winning interface based on the virtual card's card number and the sharing code, is configured to:
displaying an information input interface, wherein the information input interface is used for providing the card number of the virtual card coupon and the input function of the sharing code;
and displaying a receiving interface of the virtual card and the virtual ticket under the condition of acquiring the card number and the sharing code through the information input interface.
In some embodiments of the present disclosure, the sharing card further comprises a pickup code of the virtual card, one sharing code corresponding to one pickup code;
the display module 502 is further configured to display the sharing card, and display the card number, the sharing code, and the access code of the virtual card coupon in the sharing card;
the display module 502 is further configured to display a pickup interface of the virtual card based on the card number and the sharing code of the virtual card in response to the scanning operation of the pickup code.
In some embodiments of the present disclosure, the display module 502 is further configured to, if no user account is logged in the second terminal, respond to a pickup operation on the pickup interface, display the account binding interface, so as to obtain the user account through the account binding interface;
the device also includes:
and the first binding module is used for binding the virtual card voucher with the user account acquired through the account binding interface.
In some embodiments of the disclosure, the apparatus further comprises:
and the second binding module is used for binding the virtual card coupon and the user account number logged in the second terminal in response to the receiving operation on the receiving interface if the user account number is logged in the second terminal.
In some embodiments of the present disclosure, the sharing code is set to a failure time, and the sharing code is set to a failure state when the failure time of the sharing code is reached; or,
under the condition that the refreshing operation of the sharing code included in the sharing card is acquired through the first terminal, the sharing code is set to be in a failure state.
In some embodiments of the disclosure, one sharing code corresponds to one getting code, and in a case that the sharing code is set to the disabled state, the getting code corresponding to the sharing code is set to the disabled state.
In some embodiments of the present disclosure, the apparatus further comprises:
and the first sending module is used for sending feedback information to the first terminal, wherein the feedback information is used for indicating whether the virtual card ticket is successfully picked up.
In some embodiments of the disclosure, the apparatus further comprises:
a second sending module for at least one of:
under the condition of receiving a first query request sent by a first terminal, sending the receiving state of the virtual card ticket to the first terminal, wherein the first query request is used for obtaining the receiving state of the virtual card ticket;
under the condition that a second query request sent by the first terminal is received, sending the getting state of at least one sharing code corresponding to the virtual card ticket to the first terminal, wherein the second query request is used for obtaining the getting state of at least one sharing code corresponding to the virtual card ticket;
and under the condition of receiving a third query request sent by the first terminal, sending the use state of the virtual card to the first terminal, wherein the third query request is used for acquiring the use state of the virtual card.
It should be noted that although several modules of the sharing means of the virtual card are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the modules described above may be embodied in one module, according to embodiments of the present disclosure. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules.
The embodiment of the disclosure also provides a computer readable storage medium. Fig. 6 is a schematic diagram of a computer-readable storage medium according to an embodiment of the disclosure, as shown in fig. 6, the storage medium has a computer program 601 stored thereon, and when the computer program 601 is executed by a processor of a first terminal, the method for sharing a virtual card provided in any embodiment of the disclosure may be performed.
The embodiment of the disclosure also provides a computer readable storage medium. Fig. 7 is a schematic diagram of a computer-readable storage medium according to an embodiment of the disclosure, as shown in fig. 7, the storage medium has a computer program 701 stored thereon, and when the computer program 701 is executed by a processor of a second terminal, the method for sharing a virtual card provided in any embodiment of the disclosure may be performed.
The embodiment of the present disclosure further provides a terminal, where the terminal may include a memory and a processor, where the memory is used to store computer instructions that can be executed on the processor, and the processor is used to implement, when executing the computer instructions, an operation performed by a first terminal in the method for sharing a virtual card provided in any embodiment of the present disclosure. Referring to fig. 8, fig. 8 is a schematic structural diagram illustrating a terminal according to an embodiment of the present disclosure, where the terminal 800 may include, but is not limited to: a processor 810, a memory 820, and a bus 830 that connects the various system components, including the memory 820 and the processor 810.
The memory 820 stores computer instructions, which can be executed by the processor 810, so that the processor 810 can perform the operations performed by the first terminal in the virtual card sharing method provided in any embodiment of the present disclosure. The memory 820 may include a random access memory unit RAM821, a cache memory unit 822, and/or a read-only memory unit ROM823. The memory 820 may further include: a program tool 825 having a set of program modules 824, the program modules 824 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, one or more combinations of which may comprise an implementation of a network environment.
The bus 830 may include, for example, a data bus, an address bus, a control bus, and the like. The terminal 800 may also communicate with external devices 850 via the I/O interface 840, the external devices 850 may be, for example, a keyboard, a bluetooth device, etc. The terminal 800 can also communicate with one or more networks, such as a local area network, a wide area network, a public network, etc., through the network adapter 860. The network adapter 860 may also communicate with other modules of the terminal 800 via the bus 830, as shown in fig. 8.
The embodiment of the present disclosure further provides a terminal, where the terminal may include a memory and a processor, where the memory is used to store a computer instruction that can be executed on the processor, and the processor is used to implement, when executing the computer instruction, an operation performed by a second terminal in the method for sharing a virtual card provided in any embodiment of the present disclosure. Referring to fig. 9, fig. 9 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure, where the terminal 900 may include, but is not limited to: a processor 910, a memory 920, and a bus 930 that couples various system components including the memory 920 and the processor 910.
The memory 920 stores computer instructions, which can be executed by the processor 910, so that the processor 910 can perform operations performed by the second terminal in the virtual card sharing method provided in any embodiment of the present disclosure. The memory 920 may include a random access memory unit RAM921, a cache memory unit 922, and/or a read-only memory unit ROM923. The memory 920 may further include: program tool 925 having a set of program modules 924, the program modules 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, one or more combinations of which may comprise an implementation of a network environment.
The bus 930 may include, for example, a data bus, an address bus, a control bus, and the like. The terminal 900 may also communicate with external devices 950, e.g., a keyboard, a bluetooth device, etc., through the I/O interface 940. The terminal 900 can also communicate with one or more networks, such as a local area network, a wide area network, a public network, etc., through the network adapter 960. The network adapter 960 may also communicate with other modules of the terminal 900 via the bus 930 as shown in fig. 9.
An embodiment of the present disclosure further provides a computer program product, where the computer program product includes a computer program, and when the program is executed by the processor 810 of the terminal 800, the method for sharing a virtual card provided in any embodiment of the present disclosure may be implemented.
An embodiment of the present disclosure further provides a computer program product, where the computer program product includes a computer program, and when the program is executed by the processor 910 of the terminal 900, the method for sharing a virtual card provided in any embodiment of the present disclosure may be implemented.
Further, while the operations of the disclosed methods are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the present disclosure have been described with reference to several particular embodiments, it is to be understood that the present disclosure is not limited to the particular embodiments disclosed, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A virtual card coupon sharing method is applied to a first terminal and comprises the following steps:
displaying the purchased at least one virtual coupon;
responding to the sharing operation of any virtual card, and generating a sharing card of the virtual card, wherein the sharing card at least comprises a card number and a sharing code of the virtual card;
and sending the sharing card to a second terminal, wherein the second terminal is used for receiving the sharing card and then getting the virtual card coupon based on the card number and the sharing code included in the sharing card.
2. The method of claim 1, wherein generating a sharing card of any virtual card in response to the sharing operation of the virtual card comprises:
responding to the sharing operation of any virtual card ticket, obtaining the card number of the virtual card ticket, and generating the sharing code of the virtual card ticket;
and adding the card number and the sharing code to a reserved position of a card template to obtain the sharing card.
3. The method of claim 1, wherein the sharing code is provided with a time-to-failure;
after the sharing card is sent to the second terminal, the method further includes at least one of:
setting the sharing code to be in a failure state under the condition that the failure time of the sharing code is reached;
responding to refreshing operation of the sharing code included in the sharing card, and setting the sharing code to be in a failure state.
4. A virtual card coupon sharing method is applied to a second terminal and comprises the following steps:
receiving a sharing card sent by a first terminal, wherein the sharing card at least comprises a card number and a sharing code of a shared virtual card;
displaying the sharing card, and displaying the card number and the sharing code of the virtual card coupon in the sharing card;
and displaying a receiving interface of the virtual card ticket based on the card number and the sharing code of the virtual card ticket so as to receive the virtual card ticket through the receiving interface.
5. The method of claim 4, wherein displaying a pick-up interface of the virtual coupon based on the card number and the sharing code of the virtual coupon comprises:
displaying an information input interface, wherein the information input interface is used for providing the input function of the card number and the sharing code of the virtual card;
and displaying a receiving interface of the virtual card coupon under the condition that the card number and the sharing code are obtained through the information input interface.
6. The method according to claim 4, wherein the sharing code is provided with a failure time, and the sharing code is set to a failure state when the failure time of the sharing code is reached; or,
and under the condition that the refreshing operation of the sharing code included in the sharing card is acquired through the first terminal, the sharing code is set to be in a failure state.
7. The utility model provides a sharing device of virtual card coupon which is applied to first terminal, the device includes:
the display module is used for displaying at least one purchased virtual card;
the generation module is used for responding to the sharing operation of any virtual card coupon, and generating a sharing card of the virtual card coupon, wherein the sharing card at least comprises a card number and a sharing code of the virtual card coupon;
the sending module is used for sending the sharing card to a second terminal, and the second terminal is used for receiving the virtual card and ticket based on the card number and the sharing code included by the sharing card after receiving the sharing card.
8. The utility model provides a sharing device of virtual card voucher which is applied to the second terminal, the device includes:
the receiving module is used for receiving a sharing card sent by a first terminal, and the sharing card at least comprises a card number and a sharing code of a shared virtual card and coupon;
the display module is used for displaying the sharing card and displaying the card number and the sharing code of the virtual card coupon in the sharing card;
the display module is further used for displaying a getting interface of the virtual card based on the card number and the sharing code of the virtual card, so that the virtual card can be got through the getting interface.
9. A terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the operations performed by the method for sharing a virtual card according to any one of claims 1 to 3, or wherein the processor when executing the program performs the operations performed by the method for sharing a virtual card according to any one of claims 4 to 6.
10. A computer-readable storage medium, characterized in that a program is stored thereon, which is executed by a processor for performing an operation performed by the virtual card sharing method according to any one of claims 1 to 3, or an operation performed by a processor for performing a virtual card sharing method according to any one of claims 4 to 6.
CN202211544735.1A 2022-12-02 2022-12-02 Virtual card coupon sharing method, device, terminal and medium Pending CN115907855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211544735.1A CN115907855A (en) 2022-12-02 2022-12-02 Virtual card coupon sharing method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211544735.1A CN115907855A (en) 2022-12-02 2022-12-02 Virtual card coupon sharing method, device, terminal and medium

Publications (1)

Publication Number Publication Date
CN115907855A true CN115907855A (en) 2023-04-04

Family

ID=86476014

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211544735.1A Pending CN115907855A (en) 2022-12-02 2022-12-02 Virtual card coupon sharing method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN115907855A (en)

Similar Documents

Publication Publication Date Title
US20070021969A1 (en) Mobile electronic transaction system, device and method therefor
KR20180049060A (en) An information processing method, a server, a first terminal, and a computer storage medium
US10762498B2 (en) Method and system for secure transactions on a social network platform
CN108200089A (en) Implementation method, device, system and the storage medium of information security
CN102160059A (en) Authorization of server operations
US10594485B2 (en) System, method, program, and recording medium storing program for authentication
CN106557929A (en) Logistics information processing method and processing device
CN106209607B (en) Subscription information display method and device
US10719844B2 (en) Service processing method, terminal and server
WO2013146810A1 (en) Product sales system
CN110945552A (en) Product sales reporting method, payment method and terminal equipment
CN112036882A (en) Account login method and device and electronic equipment
US20150149928A1 (en) Method, system and device for implementing an instant messaging application
CN110302541B (en) Method, system and storage medium for handing over game data between different platforms
CN109872223B (en) Virtual article transaction method, device, equipment and storage medium
JP2021026364A (en) Server, first terminal, information processing method and program
JP2010198505A (en) Authentication system, authentication device, authentication method, and authentication program
JP2023062434A (en) Service providing device, service providing method, and program
CN115907855A (en) Virtual card coupon sharing method, device, terminal and medium
JP2009099080A (en) High-safety settlement system
JP2020187589A (en) Information processing device, information processing method and program
US20140039993A1 (en) Game server device, management method and ticket issuing system
JP2020080091A (en) Authentication server, user terminal, settlement system, settlement method, and program
JP5549088B2 (en) Unauthorized transaction prevention system and unauthorized transaction prevention method
JP2013186561A (en) Settlement device, settlement system, and settlement method

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