A method, apparatus, device and medium for credential transfer

By establishing a short-range communication connection between the first and second terminals, face-to-face transfer of electronic vouchers is achieved, and the transfer visual effect is displayed on the page. This solves the problem of complex voucher transfer operations in existing technologies and improves user experience and interactive fun.

CN120151787BActive Publication Date: 2025-12-26ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510225879.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-12-26
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

Existing methods for transferring credentials are complex and make it difficult for users to easily transfer electronic credentials to others.

Method used

By establishing a short-range communication connection between the first and second terminals, face-to-face transfer of electronic vouchers is achieved, and the transfer visual effect is displayed on the voucher transfer page, simplifying user operations and enhancing the visual experience.

Benefits of technology

It simplifies user operations, reduces the possibility of accidental operations, improves user experience, and increases the fun of interaction between users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120151787B_ABST
    Figure CN120151787B_ABST
Patent Text Reader

Abstract

Embodiments of the present specification disclose a method, device, equipment and medium for voucher transfer. The scheme comprises: obtaining a transfer-out operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; based on the transfer-out operation, transferring the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal; and displaying a transfer-out visual effect of the target electronic voucher being transferred out by the first terminal on the voucher transfer page.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] The present application is a divisional application of "Method, device, equipment and medium for voucher transfer (Filing date: September 14, 2024, Application number: 202411295628.9)". TECHNICAL FIELD

[0002] The present application relates to the technical field of computers, and in particular to a method, device, equipment and medium for voucher transfer. BACKGROUND

[0003] With the development of computer technology, more and more businesses can be processed through intelligent terminals, such as purchasing goods, paying fees, and querying news information. In actual applications, after purchasing electronic vouchers such as show tickets, event tickets, or tickets, a user may not be able to attend due to some personal reasons or other reasons, and needs to transfer the owned electronic vouchers such as tickets to others.

[0004] Therefore, how to more conveniently transfer electronic vouchers to others is a technical problem to be solved. SUMMARY

[0005] The embodiments of the present specification provide a method, device, equipment and medium for voucher transfer to solve the problem of complex operation existing in the existing voucher transfer method.

[0006] To solve the above technical problems, the embodiments of the present specification are implemented as follows.

[0007] The method for voucher transfer provided by the embodiments of the present specification is applied to a first terminal, and includes: obtaining a transfer-out operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; based on the transfer-out operation, transferring the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal; and displaying a transfer-out visual effect of the target electronic voucher being transferred out by the first terminal on the voucher transfer page.

[0008] The method for voucher transfer provided by the embodiments of the present specification is applied to a first terminal, and includes: obtaining a transfer-out operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; based on the transfer-out operation, transferring the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal; and displaying a transfer-out visual effect of the target electronic voucher being transferred out by the first terminal on the voucher transfer page.

[0009] The method for voucher transfer provided by the embodiments of the present specification is applied to a server, and includes: obtaining a transfer-out request for a target electronic voucher to be transferred out sent by a first terminal; the transfer-out request is generated based on a transfer-out operation of a user of the first terminal on a voucher transfer page for the target electronic voucher; and based on the transfer-out request, transferring the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal.

[0010] The device for transferring a voucher provided by the embodiments of the present specification includes: an operation obtaining module configured to obtain a transfer operation of a user on a voucher transfer page for a target electronic voucher to be transferred out. A transfer module configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with a first terminal based on the transfer operation. An effect display module configured to display a transfer-out visual effect of the target electronic voucher being transferred out by the first terminal on the voucher transfer page.

[0011] The device for obtaining a voucher provided by the embodiments of the present specification includes: a communication module configured to establish a short-distance communication connection with a first terminal; the first terminal is a terminal that transfers out a target electronic voucher based on a transfer operation of a user. A page display module configured to display a voucher transfer-in page, and display a visual effect of the target electronic voucher being transferred into a second terminal in the voucher transfer-in page.

[0012] The device for transferring a voucher provided by the embodiments of the present specification includes: a request obtaining module configured to obtain a transfer request for a target electronic voucher to be transferred out sent by a first terminal; the transfer request is generated based on a transfer operation of a user of the first terminal on a voucher transfer page for the target electronic voucher. A transfer module configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer request.

[0013] The device for transferring a voucher and obtaining a voucher provided by the embodiments of the present specification includes:

[0014] at least one processor; and

[0015] a memory in communication with the at least one processor; wherein

[0016] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the above-mentioned method for transferring a voucher or obtaining a voucher.

[0017] The computer-readable medium provided by the embodiments of the present specification has computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the above-mentioned method for transferring a voucher or obtaining a voucher.

[0018] The at least one embodiment of the present specification can achieve the following beneficial effects:

[0019] The user in the embodiment of the present specification performs the transfer-out operation on the target electronic voucher on the voucher transfer page, so that the target electronic voucher can be transferred to the second terminal which establishes short-distance communication with the first terminal, and the transfer-out visual effect of the target electronic voucher transferred from the first terminal can also be displayed on the voucher transfer page. The user operation can be simplified, the visual effect of the user can be strengthened, the possibility of user misoperation can be reduced, and the user experience can be improved.

[0020] On the other hand, in the embodiment of the present specification, the first terminal can transfer the target electronic voucher to the second terminal which establishes short-distance communication with the first terminal, thereby providing a method capable of transferring electronic vouchers face to face, for example, face-to-face transfer of electronic tickets. From the user's point of view, the user will feel that the physical transfer is performed through the mutual induction between terminals, which is interesting and can effectively increase the interaction between users. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present specification or the prior art, the drawings needed in the embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments described in the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative labor.

[0022] Figure 1 The application scenario of the voucher transfer method provided in the embodiment of the present specification is shown in the figure;

[0023] Figure 2 The flowchart of the voucher transfer method provided in the embodiment of the present specification is shown in the figure;

[0024] Figure 3 The schematic diagram of the voucher transfer page provided in the embodiment of the present specification is shown in the figure;

[0025] Figure 4 The schematic diagram of the transfer-out visual effect provided in the embodiment of the present specification is shown in the figure;

[0026] Figure 5 The voucher list page provided in the embodiment of the present specification is shown in the figure;

[0027] Figure 6 The flowchart of the voucher acquisition method provided in the embodiment of the present specification is shown in the figure;

[0028] Figure 7 The schematic diagram of the voucher transfer-in page provided in the embodiment of the present specification is shown in the figure;

[0029] Figure 8 The schematic diagram of the voucher receiving confirmation page provided in the embodiment of the present specification is shown in the figure;

[0030] Figure 9 A flowchart of a method for transferring a credential provided in an embodiment of the present specification;

[0031] Figure 10 A structural diagram of an apparatus for transferring a credential provided in an embodiment of the present specification corresponding to Figure 2 ;

[0032] Figure 11 A structural diagram of an apparatus for obtaining a credential provided in an embodiment of the present specification corresponding to Figure 6 ;

[0033] Figure 12 A structural diagram of an apparatus for transferring a credential provided in an embodiment of the present specification corresponding to Figure 9 ;

[0034] Figure 13 A structural diagram of an apparatus for transferring and obtaining a credential provided in an embodiment of the present specification. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of one or more embodiments of the present specification clearer, the technical solutions of one or more embodiments of the present specification will be described clearly and completely below in conjunction with specific embodiments of the present specification and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present specification, not all the embodiments. Based on the embodiments in the present specification, all other embodiments obtained by a person of ordinary skill in the art without creative labor fall within the scope of protection of one or more embodiments of the present specification.

[0036] The technical solutions provided by the embodiments of the present specification will be described in detail below in conjunction with the drawings.

[0037] In order to solve the defects in the prior art, the following embodiments are given in the present solution:

[0038] Figure 1 An application scenario diagram of a method for transferring a credential in an embodiment of the present specification. As shown in Figure 1 , the credential transfer page of the first terminal 1 can display the electronic credential A to be transferred out, such as a ticket for a concert, and the user can perform a transfer operation, such as a swiping or dragging operation, on the electronic credential. The first terminal can display a visual effect of moving the electronic credential out of the first terminal. The second terminal 2 in short-range communication with the first terminal 1 can display an effect page of receiving the electronic credential and obtaining the electronic credential.

[0039] Next, a method for transferring a credential provided in an embodiment of the present specification will be described in detail in conjunction with the drawings.

[0040] Figure 2 This is a flowchart illustrating a method for transferring credentials provided in an embodiment of this specification. From a programmatic perspective, the entity executing the process can be a program mounted on a first terminal. From a functional perspective, the program can include system programs, application programs, etc. From a hardware perspective, the entity executing the process can include the first terminal. The first terminal can be a mobile terminal such as a smartphone, tablet computer, smartwatch, or portable game console; it can also be an electronic ticketing terminal, a vending machine, etc.

[0041] like Figure 2 As shown, the process may include the following steps.

[0042] Step 202: Obtain the user's transfer operation on the voucher transfer page for the target electronic voucher to be transferred.

[0043] The voucher transfer page can be a page displaying transferable electronic vouchers, which may contain one or more such vouchers. The target electronic voucher is the transferable electronic voucher that the user wants to transfer. Electronic vouchers can be in electronic form, such as tickets purchased online, or coupons and red envelopes received online. Users can use electronic vouchers to participate in certain activities or process transactions.

[0044] The first terminal may include a display screen and / or associated display screens, which may display a voucher transfer page. The transfer-out operation can be any action performed by the user on this display page. Specifically, the transfer-out operation can be a preset operation that can be recognized by the terminal or server as a method for transferring electronic vouchers, such as a click operation, a selection operation, a long press operation, a swipe operation, a drag operation, or an operation that tilts or rotates the first device in a preset direction, etc. The voucher transfer page may also include prompts for the user to perform the operation, such as "Swipe right to transfer to a friend," etc.

[0045] Step 204: Based on the transfer operation, transfer the target electronic voucher to a second terminal that has established a short-range communication connection with the first terminal.

[0046] The second terminal is a terminal capable of receiving the target electronic credential. The second terminal can be a terminal located near the first terminal, determined through short-range communication. The second terminal can be the same type as or different from the first terminal; for example, it can be a smartphone, tablet, smartwatch, portable game console, etc. In practical applications, when the first and second terminals are close to each other, they can establish a short-range communication connection, such as NFC communication, Bluetooth communication, etc.

[0047] In actual application, the short-distance communication connection between the first terminal and the second terminal can exist throughout the whole process of the credential transfer, or can exist in a certain stage, and does not need to exist all the time. For example, the first terminal can determine the second terminal receiving the credential through the short-distance communication, and the short-distance communication connection between the first terminal and the second terminal can be disconnected after the second terminal receiving the credential is determined. Or, the short-distance communication connection between the first terminal and the second terminal can be disconnected after the first terminal receiving the credential is determined by the second terminal. For another example, the short-distance communication connection between the first terminal and the second terminal can exist throughout the whole process of the credential transfer.

[0048] The second terminal establishing the short-distance communication connection with the first terminal can be the second terminal establishing the short-distance communication connection with the first terminal in the process of the user performing the transfer-out operation in the first terminal, or the second terminal can also be the second terminal establishing the short-distance communication connection with the first terminal before the user performs the transfer-out operation. In actual application, the timing of establishing the short-distance communication connection can be set according to actual needs.

[0049] Step 206: displaying a transfer-out visual effect of transferring the target electronic credential out of the first terminal on the credential transfer page.

[0050] In the embodiment of the present specification, based on the transfer-out operation performed by the user, the transfer-out visual effect of transferring the target electronic credential out of the first terminal can be displayed on the credential transfer page of the first terminal. From the perspective of the user, the user can more intuitively feel that the electronic credential is transferred out of the first terminal. For example, the first terminal can display an animation effect of transferring the target electronic credential out of the first terminal, which can be used to give the user a visual effect of the target electronic credential moving out of the first terminal. For another example, the identification information of the first terminal and the second terminal can also be displayed on the page of the first terminal, and the animation effect of transferring the target electronic credential out of the identification information of the first terminal and moving to the identification information of the second terminal can be displayed in the first terminal. The identification information can be an image conforming to the shape of the terminal or can be identification information of the user logging in the terminal, such as avatar and / or nickname and the like.

[0051] The transfer-out visual effect displayed on the credential transfer page can be displayed after the user performs the transfer-out operation, or the transfer-out visual effect displayed on the credential transfer page can also be displayed in the process of the user performing the transfer-out operation. The display timing of the transfer-out visual effect can be set according to actual needs. In actual application, the first terminal can display the transfer-out visual effect consistent with the operation direction of the transfer-out operation based on the operation direction of the transfer-out operation.

[0052] In actual application, after obtaining the transfer-out operation of the user, the first terminal can send a request to the server, the server generates information for displaying the transfer-out visual effect and feeds back to the first terminal, so that the first terminal displays the visual effect of transferring out the target electronic voucher in the voucher transfer page.

[0053] It should be understood that the order of some steps in the method described in one or more embodiments of the present specification can be exchanged according to actual needs, or some steps can be omitted or deleted.

[0054] Figure 2 In the method, the user performs a transfer-out operation on the voucher transfer page for the target electronic voucher, so as to transfer the target electronic voucher to the second terminal which establishes a short-distance communication connection with the first terminal, and the transfer-out visual effect of transferring the target electronic voucher from the first terminal can also be displayed in the voucher transfer page. This can simplify the user operation, strengthen the visual effect of the user, reduce the possibility of user misoperation, and improve the user experience.

[0055] In addition, in the first terminal of the embodiment of the present specification, the target electronic voucher can be transferred to the second terminal which establishes a short-distance communication connection with the first terminal. The embodiment of the present specification provides a method for face-to-face transfer of electronic vouchers, such as face-to-face transfer of electronic tickets. From the user's perspective, the user will feel that the physical transfer is performed through the mutual induction between terminals, which is interesting and can effectively increase the interaction between users.

[0056] Based on the method, Figure 2 Based on the method,

[0057] In order to improve the user experience and make the user feel that the electronic voucher is transferred to the second terminal through his own operation, the transfer-out operation can include an operation of moving the target electronic voucher. The user can draw a moving track on the voucher transfer page by a joint such as a finger, and the visual effect of the target electronic voucher moving along the moving track generated by the user's operation can be displayed on the page. The visual effect of transferring out the target electronic voucher from the first terminal on the voucher transfer page can specifically include: based on the moving track of the user on the voucher transfer page, displaying the visual effect of the target electronic voucher moving according to the moving track.

[0058] After the user determines the target electronic voucher to be transferred out, the user can perform a drag, a swipe, or the like on the electronic voucher, the first terminal can acquire position information of the user's operation in the voucher transfer page, and the first terminal or the server can determine a movement track of the user's operation based on the position information. Then, the first terminal can display a visual effect of moving the target electronic voucher along the movement track.

[0059] In actual applications, the user can also transfer out the target electronic voucher by tilting the first terminal in a preset direction. The voucher transfer page can display a visual effect of moving the target electronic voucher out of the first terminal along the direction in which the first terminal is tilted. The user can visually feel that the target electronic voucher is poured out of the first terminal. The user can also determine the target electronic voucher to be transferred out by clicking, long pressing, double clicking, circling, or the like. For example, the user clicks a display area of an electronic voucher, and the terminal or the server can determine that the electronic voucher is the electronic voucher confirmed by the user to be transferred out. The voucher transfer page can display a visual effect of transferring out the electronic voucher.

[0060] To facilitate user operation, the voucher transfer page can include identification information of the electronic voucher. Optionally, the voucher transfer page can include voucher identification information of the target electronic voucher. The voucher identification information is at least one of a picture form, a virtual image form, and a text form. The above-mentioned acquiring of the user's transfer operation on the target electronic voucher to be transferred out in the voucher transfer page can include acquiring the user's transfer operation on the voucher identification information of the target electronic voucher to be transferred out in the voucher transfer page.

[0061] The voucher transfer page can include a picture of the electronic voucher. The picture can include main information of the electronic voucher, such as information of a target object, information of a use period, information of a use location, and the like, such as picture information of a singer of a concert, information of a time and a location of holding the concert, and the like.

[0062] The electronic voucher can also be represented in the form of text in the voucher transfer page, such as a text bar, a card, a business card, and the like. And / or, the electronic voucher can also be represented in the form of a virtual image in the form of a regular or irregular shape, such as a star, a raindrop, a sphere, and the like. And / or, the electronic voucher can also be represented in the form of a virtual image corresponding to the features of the electronic voucher in the voucher transfer page, for example, if the electronic voucher is a concert ticket, a virtual image of the concert venue can be displayed in the voucher transfer page, and / or a cartoon virtual image of the performer can also be displayed in the voucher transfer page to represent the electronic voucher. If the electronic voucher is a coupon or the like usable resource, the electronic voucher can be represented in the form of a virtual image such as a red envelope, a card, and the like in the voucher transfer page. In actual applications, the specific form displayed in the voucher transfer page can be set according to actual needs, which is not limited here.

[0063] To facilitate user operation, the voucher display page can also include a transfer-out confirmation area. If the user moves the electronic voucher to this area, it can indicate that the user confirms to transfer out the electronic voucher. The above-mentioned obtaining of the transfer-out operation of the user on the voucher transfer page for the target electronic voucher to be transferred out can specifically include: obtaining the operation of the user moving the target electronic voucher in the direction of the transfer-out determination area.

[0064] Correspondingly, the above-mentioned display of the visual effect of transferring out the target electronic voucher from the first terminal on the voucher transfer page can specifically include: based on the moving track of the user on the voucher transfer page towards the transfer-out determination area, displaying the visual effect of the target electronic voucher moving towards the transfer-out determination area.

[0065] As an implementation manner, the transfer-out determination area can be an area close to the edge of the voucher transfer page. If the area where the target electronic voucher is located intersects with the transfer-out confirmation area or the intersecting area is greater than a preset threshold, it can indicate that the user confirms to transfer out the target electronic voucher. The transfer-out operation or the second terminal based on the communication information obtained from the first terminal through short-distance communication connection can also trigger the second terminal to display the page receiving the target electronic voucher. The transfer-out determination area can also be located at other positions of the voucher transfer page, which can be set according to actual needs, which is not limited here.

[0066] In actual application, the user can drag the target electronic voucher to the transfer determination area, or the user can also drag the target electronic voucher to a position intersecting with the transfer determination area, that is, the user can move the target electronic voucher as a whole into the transfer determination area or move the target electronic voucher to a position completely covering the transfer determination area, or can also not move the target electronic voucher as a whole completely into the transfer determination area or move the target electronic voucher to a position completely covering the transfer determination area, but only need to drag the target electronic voucher to a position intersecting with the transfer determination area. As an implementation manner, if the user drags the target electronic voucher to a position intersecting with the transfer determination area and then does not operate again, or moves the target electronic voucher in a specified direction by a distance greater than or equal to a preset threshold and then does not operate again, the terminal can continue to display the visual effect of moving the target electronic voucher out of the first terminal.

[0067] In actual application, if the user moves the target electronic voucher to the transfer determination area and then moves the target electronic voucher back before the target electronic voucher is moved to the transfer determination area or the intersection area between the display area of the target electronic voucher and the transfer determination area is less than a preset threshold, the voucher transfer page can also display the visual effect of restoring the target electronic voucher. If the target electronic voucher is moved in the first terminal and the animation effect of moving part of the target electronic voucher into the second terminal is displayed in the second terminal, when the user moves the target electronic voucher back in the first terminal, the second terminal can also display the animation effect of withdrawing the electronic voucher.

[0068] To further ensure the accuracy of the voucher transfer, the voucher transfer page can also include the identification information of the user of the second terminal receiving the electronic voucher to be transferred, for example, the identification information can be at least one of a user nickname, a user avatar, a user name and the like. As an implementation manner, the above transfer determination area can also display the user identification information of the terminal user of the second terminal.

[0069] Figure 3 A schematic diagram of a voucher transfer page provided in an embodiment of the present specification is shown in FIG. 1. As shown in FIG. 1, the voucher transfer page includes a plurality of transferable electronic vouchers 302, which can be one or more, such as the voucher A, the voucher B and the voucher C in FIG. 1. Figure 3 The target electronic voucher is one or more of the plurality of transferable electronic vouchers. Figure 3

[0070] ​The voucher transfer page can further include a transfer-out determination area 304. The transfer-out determination area 304 can represent an area to which the electronic voucher is transferred. The user can drag the target electronic voucher to be transferred to the transfer-out determination area 304, or the user can perform a swiping operation in the direction of the transfer-out determination area 304 for the target electronic voucher to be transferred, such as performing a right swiping operation for the voucher A. The voucher transfer page can display an animation effect of the voucher A moving to the right of the transfer-out determination area 304, or can display an animation effect of the voucher A being sucked into the transfer-out determination area 304.

[0071] The transfer-out determination area 304 can further include identification information of the user of the second terminal, such as a nickname, for example, the information of “Xiaoming”. In addition, the transfer-out determination area 304 can further display the avatar and other information of the user of the second terminal, so that the user of the first terminal can confirm the user receiving the voucher.

[0072] In actual application, if the second terminal is within the short distance communication range of the first terminal, the second terminal can be determined as the terminal receiving the voucher, and the user identification of the second terminal can be displayed in the voucher transfer page of the first terminal. The first terminal and the second terminal can be equipped with the same terminal application, such as an APP, a mini program, etc. The target electronic voucher to be transferred is the transferable electronic voucher held by the user account logged in the terminal application of the first terminal, and the user identification of the second terminal can be the user identification of the user account logged in the terminal application of the second terminal.

[0073] The user can transfer one or more vouchers to the second terminal. As shown in FIG. 6A, the user can swipe the voucher A to the transfer-out determination area, and can continue to swipe the voucher C to the transfer-out determination area, so that the first terminal transfers the voucher A and the voucher C to the second terminal. Figure 3 If the first terminal simultaneously or at different times establishes a short distance communication connection with multiple second terminals, the voucher transfer page of the first terminal can display the user identification information of the multiple second terminals. The voucher transfer page can display the user identification information of each second terminal in turn, for example, according to the time sequence of the second terminal establishing a short distance communication connection with the first terminal, and / or the distance sequence between the second terminal and the first terminal. The user can also transfer one or more vouchers to different second terminals, such as swiping the voucher A to the user identification “Xiaohong” of a second terminal M, and swiping the voucher B and the voucher C to the user identification “Xiaoming” of another second terminal N, so that the first terminal can give the voucher A to the user of the second terminal M, and give the voucher B and the voucher C to the user of the second terminal N.

[0074] The position of the transfer determination area can also be determined according to the relative position of the second terminal and the first terminal. As an embodiment, the transfer determination area can be located at the edge of the page of the voucher transfer page close to the second terminal. If the second terminal is located at the right side of the first terminal, the transfer determination area can be located at the right edge of the voucher transfer page; if the second terminal is located at the left side of the first terminal, the transfer determination area can be located at the left edge of the voucher transfer page.

[0075] The voucher transfer page can also include prompt information 306 for prompting the user how to operate to transfer out the voucher, such as the words "right swipe to transfer out". The specific content of the prompt information 306 can also be determined according to the relative position of the second terminal and the first terminal. As an embodiment, the content of the prompt information can be prompt information for prompting the user to swipe in the direction where the second terminal is located. If the second terminal is located at the right side of the first terminal, prompt information for prompting the user to swipe right can be displayed, and the corresponding transfer determination area can be located at the right edge of the voucher transfer page; if the second terminal is located at the left side of the first terminal, prompt information for prompting the user to swipe left can be displayed, and the corresponding transfer determination area can be located at the left edge of the voucher transfer page. In actual application, the second terminal can also be located at the top, bottom, top left corner, or bottom right corner of the first terminal, and corresponding prompt information or transfer determination area can also be generated, which will not be listed one by one here.

[0076] If there are multiple second terminals near the first terminal, the voucher transfer page can also display the user identification information of each second terminal according to the position of each second terminal relative to the first terminal. For example, if the second terminal M is on the left side of the first terminal, and the second terminal N is on the right side of the first terminal at the same time or at different times, the user identification of the second terminal M can be displayed on the left side of the voucher transfer page, and the user identification of the second terminal N can be displayed on the right side of the voucher transfer page. The voucher transfer page can also display prompt information for prompting the user to operate in the direction where each second terminal is located, such as prompt information with the words "swipe the voucher to each friend to transfer".

[0077] Figure 4 A schematic diagram of a transfer visual effect provided in an embodiment of the present specification is shown. As shown in Figure 4 After the user performs a transfer operation, such as swiping the voucher C right or dragging the voucher C to move right, an animation visual effect of moving the voucher C out of the first terminal can be displayed in the voucher transfer page.

[0078] In actual application, one voucher identification information can be used to represent one or more electronic vouchers in the voucher transfer page. Specifically, one voucher identification information can be used to represent one or more electronic vouchers of the same object, and the number information of the electronic vouchers represented by the voucher identification information can also be displayed in the voucher identification information. For example, in the voucher transfer page shown in Figure 3As shown in FIG. 6, assuming that the credential C represents a ticket for a concert, if the user holds multiple tickets for the concert, such as two tickets, the credential transfer page can display one credential identifier for the concert, such as Figure 3 The credential C in FIG. 6 can represent two concert tickets, and the credential transfer page can use one image to represent the two concert tickets. The user can transfer multiple electronic credentials for the same object at one time. As described above Figure 3 and Figure 4 As shown in FIG. 6, assuming that the user needs to transfer the credential C, which represents two tickets for a concert, the user performs a right swipe operation on the displayed credential C, and can transfer two tickets for the concert to the second terminal.

[0079] The user can also transfer one electronic credential at one time, such as performing a right swipe operation on the displayed credential C, and can transfer one ticket for the concert to the second terminal. In the embodiments of the present specification, if the credential identifier displayed in the credential transfer page represents multiple electronic credentials, the credential transfer page can display the credential identifier with a changed number based on the transfer operation of the user on the target electronic credential, for example, the credential transfer page can also display the credential C, but the number of credentials displayed in the credential C changes from two to one.

[0080] In the embodiments of the present specification, the user can also select the number of credentials to be transferred. As an implementation, after the user selects the target electronic credential to be transferred in the credential transfer page, the user performs an operation such as clicking, double-clicking, long-pressing, etc. on the display area of the target electronic credential, which can indicate that the user selects the target electronic credential to be transferred. The credential transfer page can display a number setting area, such as in the display area of the target electronic credential or around the display area or other positions, which can display an area capable of setting the number in the form of a pop-up window, a text bar, a dialog box, etc. The user can fill in or select the number, and after the user determines the number of credentials to be transferred, the user can perform a transfer operation to transfer the determined number of credentials.

[0081] The credential transfer page in the embodiments of the present specification can also display the credential identification information of each credential. If the user holds multiple electronic credentials for the same object, the credential identification information of the multiple electronic credentials can also be displayed in the credential transfer page. One piece of credential identification information can represent one electronic credential. For example, the credential identification information of multiple electronic credentials can be displayed in a stacked manner. The user can perform a transfer-out operation once to transfer out one electronic credential. Continuing the above example, assume that the user holds two tickets for a concert. The credential transfer page can display the credential identification information of two electronic credentials representing the concert tickets. The display contents of the two pieces of credential identification information can be the same or different. The user can select one piece of credential identification information to perform a transfer-out operation, such as swiping right, to transfer one ticket to the second terminal. If the user wants to continue transferring credentials to the second terminal, the user can continue to perform a transfer-out operation, such as transferring another ticket for the concert or another electronic credential to the second terminal.

[0082] To facilitate user operation, the credential transfer page can also include a display style control for displaying transferable electronic credentials in different forms. If the operation of the control by the user is obtained, the electronic credentials can be displayed in different forms. As an implementation manner, if the first operation of the display style control by the user is obtained, each electronic credential can be displayed in the form of a single credential in the credential transfer page. In this case, one piece of credential identification information displayed in the credential transfer page represents one electronic credential. For example, for two tickets for the same concert, one electronic credential can be displayed for each ticket in the credential transfer page. If the second operation of the display style control by the user is obtained, each electronic credential can be displayed in the form of a combined credential in the credential transfer page. In this case, if the user of the first terminal has multiple electronic credentials for the same object, one piece of credential identification information displayed in the credential transfer page can represent multiple electronic credentials for the same object. For example, for two tickets for the same concert, one electronic credential can be displayed.

[0083] In actual applications, to facilitate user operation, the home page or other pages of the terminal application can include a control for displaying the credential transfer page. Optionally, the method in the embodiments of the present specification can also include:

[0084] Obtaining a transfer-out trigger operation performed by the user;

[0085] Displaying the credential transfer page containing a plurality of transferable electronic credentials.

[0086] The transfer-out trigger operation can be an operation of the user on the control for displaying the credential transfer page in the display page of the first terminal, or the transfer-out trigger operation can also be an operation on a pre-defined operation key in the first terminal.

[0087] A transferable electronic voucher is a voucher that can be transferred to other users. The information in the introduction or usage information of the electronic voucher usually includes information such as the validity period, usage location, and precautions. It may also include information indicating whether the voucher can be transferred or given away.

[0088] In one implementation, the first terminal can send a request to the server based on a transfer trigger operation. Based on the request, the server can determine the information of the transferable electronic voucher held by the user of the first terminal. The server can also generate voucher transfer page information and send it to the first terminal, which can then display the voucher transfer page.

[0089] To facilitate users' management of their electronic vouchers, terminal applications typically include a voucher list page that displays all the user's held electronic vouchers, such as a ticket wallet page, card wallet page, or red envelope page. The aforementioned transfer-out trigger operation can be performed on this voucher list page.

[0090] Figure 5 This is a schematic diagram of a voucher list page provided in an embodiment of this specification. Figure 5 As shown, the voucher list page can contain voucher information 502 for each voucher held by the user on the first terminal. The voucher list page can also contain a transfer trigger control 504. The transfer trigger control 504 can also contain information such as the control name to help the user understand its function, such as "Transfer my voucher". If the user clicks the transfer trigger control 504, it indicates that the user has executed a transfer trigger operation, and the first terminal can display the voucher transfer page.

[0091] In practical applications, the voucher list page can display the vouchers held by the user. Vouchers can include those awaiting use, or at least one of the following: historical vouchers, expired vouchers, and used vouchers. The voucher list page should prioritize displaying vouchers awaiting use.

[0092] In the embodiments of this specification, the transferable electronic voucher can be a usable voucher, such as a voucher within its validity period, or an unused voucher, etc. Electronic vouchers can be vouchers usable through electronic devices such as terminals, and can be vouchers in various scenarios, such as concert tickets, sports event tickets, attraction tickets, etc. They can also be vouchers representing resources, such as electronic coupons, electronic red envelopes, etc., or tickets used for travel, such as tickets for riding scenic spot trains, buses, subways, trains, airplanes, etc., or tickets for participating in some activities, etc.

[0093] Optionally, the target electronic voucher in the embodiments of the present specification can include an electronic voucher that is not used and is within a valid period. Specifically, it can include at least one of an electronic voucher for participating in a leisure and entertainment activity, an electronic voucher for participating in a competition activity, an electronic voucher for travel, and an electronic voucher for indicating a discount information enjoyed.

[0094] As shown in Figure 5 The voucher list page can further include at least one of the following information related to the vouchers: quantity information of each voucher, time information of obtaining the voucher, object information of the voucher, use time of the voucher, and use location.

[0095] To improve user experience, the electronic vouchers that can be transferred can be dynamically displayed in the voucher transfer page. As an implementation, the voucher transfer page containing a plurality of transferable electronic vouchers can specifically include: displaying an animation effect of loading a plurality of transferable electronic vouchers into the voucher transfer page in a preset order in the voucher transfer page.

[0096] The preset order includes at least one of the following orders: an order obtained based on the validity period of the voucher; an order obtained based on the time when the user of the first terminal obtains the voucher; an order obtained based on the preference of the user of the first terminal; an order obtained based on the matching degree between the use time of the voucher and the current time; and an order obtained based on the popularity of the object corresponding to the voucher.

[0097] Each transferable electronic voucher can be loaded from the bottom of the page, or from the top, left side, right side, middle, or corner. The actual needs can be set.

[0098] In actual application, the server can determine the validity period, acquisition time and other information of the credential according to the related information of each credential, and can generate an animation effect of loading each credential in order based on the user's preference information and on the basis of user authorization, and send it to the first terminal for display. For example, the server can sort each convertible credential in order of acquisition time according to the information of the credential acquisition, so that the credential transfer page can load the first acquired credential first and the latest acquired credential later, or the credential transfer page can also be loaded in reverse order. For another example, the credential transfer page can load the credential with a distant validity period first and the credential with a close validity period later, or the credential transfer page can also load the credential with a close validity period first and the credential with a distant validity period later. For another example, the credential transfer page can load or load the credential with a high matching degree of user preference first; for another example, the credential transfer page can load or load the credential related to the current popular event first, such as when the user performs the transfer trigger operation, it is during the holding of the sports meeting, if the user holds the ticket of the sports meeting or the ticket of the activity related to the sports meeting, the credential transfer page can load the credential related to the sports meeting first, or the credential transfer page can load the credential related to the sports meeting later, so that the credential can be displayed on the upper layer of other credentials. The specific loading order can be set according to actual needs, which is not limited here.

[0099] To improve user experience, after the user of the first terminal transfers the credential, the first terminal can also display information indicating the transfer result, such as the first terminal can display prompt information in at least one of the application notification, pop-up window, short message and other ways. Optionally, the method in the embodiments of the present specification can also include displaying prompt information containing the transfer result.

[0100] The specific prompt information can include result information indicating successful transfer, or can also be result information indicating failed transfer. In actual application, if the second terminal uses the electronic credential transferred by the first terminal, the first terminal can also acquire prompt information indicating that the credential is used, and / or the first terminal can also acquire thank you information of the user of the second terminal to the user of the first terminal for transferring the credential. Among them, the thank you information can be set by the user of the second terminal, or can be generated by the server on the basis of the authorization of the user of the second terminal.

[0101] Based on the same idea, the present specification also provides a method with the second terminal as the execution subject. Figure 6A flowchart of a method for obtaining a credential according to an embodiment of the present specification is shown. From the perspective of a program, the execution subject of the flowchart can be a program loaded on the second terminal. From the perspective of a function, the program can include a terminal application program, a system software program, and the like. From the perspective of hardware, the execution subject of the flowchart includes the second terminal. The second terminal can be a mobile terminal such as a smartphone, a tablet computer, a smart watch, or a portable game console; or the second terminal can also be an electronic ticket terminal or a commodity selling terminal, and the like.

[0102] As shown in Figure 6 the flowchart can include the following steps.

[0103] Step 602: Establish a short-distance communication connection with the first terminal.

[0104] The first terminal and the second terminal have a short-distance communication module, such as a Bluetooth communication module, an NFC communication module, and the like. When the second terminal is within the short-distance communication distance of the first terminal, a short-distance communication connection can be established.

[0105] The first terminal is a terminal that transfers a target electronic credential based on a user's transfer-out operation, and specifically can be an electronic credential that is transferred in the manner described in the above embodiments. For details, reference can be made to the description in the above embodiments, which will not be repeated here.

[0106] Step 604: Display a credential transfer-in page, and display a visual effect of transferring the target electronic credential into the second terminal in the credential transfer-in page.

[0107] The credential transfer-in page can be displayed by the second terminal based on the short-distance communication connection established with the first terminal. The visual effect of transferring the target electronic credential into the second terminal can be dynamically displayed in the page, and the process of transferring the electronic credential can be vividly displayed.

[0108] According to the present specification, the second terminal can display the credential transfer-in page and display the visual effect of transferring the target electronic credential after establishing the short-distance communication connection with the first terminal. This can enhance the visual effect for the user and improve the user experience.

[0109] In addition, according to the present specification, the second terminal establishes a short-distance communication connection with the first terminal, and the second terminal can obtain the target electronic credential transferred by the first terminal. According to the present specification, a method for transferring electronic credentials face-to-face is provided, for example, electronic tickets can be transferred face-to-face. From the perspective of a user, the user can feel that the electronic credentials are physically transferred through the mutual induction between the terminals, which is interesting and can effectively increase the interaction between users.

[0110] It should be noted that the first terminal can also implement the scheme provided in the specification itself. If the second terminal itself does not support the previous visual effect presentation, for example, the second terminal is not upgraded, or the second terminal can even not have a display screen facing the user, the corresponding visual effect can be presented only on the first terminal. In this way, the user experience is still improved to some extent, and the flexibility and scope of application of the scheme are also improved.

[0111] Figure 7 A schematic diagram of a voucher transfer-in page provided in an embodiment of the present specification is shown in FIG. 1, in which the visual effect of transferring the target electronic voucher into the second terminal can be dynamically displayed. Specifically, the process of moving the target electronic voucher from the specified edge of the display page of the second terminal to the display page can be displayed, and from the user's perspective, it can be felt that the electronic voucher enters the second terminal from a certain direction, such as flying into, jumping into, and appearing into the second terminal, etc. Figure 7

[0112] As an implementation, the second terminal can display the visual effect of being transferred based on the visual effect of the first terminal transferring out the voucher. The visual effect of transferring the target electronic voucher into the second terminal can specifically include: a visual effect of transferring the target electronic voucher from a preset edge of the second terminal; and the preset edge is close to an edge of the first terminal from which the target electronic voucher is transferred out.

[0113] For example, assuming that the placement directions of the first terminal and the second terminal are consistent, the second terminal is located on the right side of the first terminal, and the user transfers out the voucher by right swiping in the first terminal, the second terminal can display the visual effect of swiping the voucher into the second terminal from the left side and moving to the right side. For another example, if the second terminal is located at the bottom of the first terminal, the user transfers out the voucher by swiping down in the first terminal, the first terminal displays the visual effect of transferring the voucher out from the bottom of the first terminal, and the second terminal can display the visual effect of transferring in from the top of the second terminal.

[0114] If the placement directions of the first terminal and the second terminal are inconsistent, for example, the top of the first terminal is close to the top of the second terminal, the user transfers out the voucher by swiping to the top in the first terminal, the first terminal can display the visual effect of transferring the voucher out from the top edge of the first terminal, and the second terminal can display the visual effect of transferring in from the top edge of the second terminal.

[0115] It can be understood that the above are only a few examples, and in actual application, the visual effect can be determined according to the relative positions of the first terminal and the second terminal, which is not limited specifically here, as long as the visual effect of transferring the voucher from the first terminal to the second terminal can be displayed.

[0116] ​The second terminal in the embodiments of the present specification can also display the visual effect of the transfer-in based on the visual effect of the transfer-out displayed in the first terminal, which can further improve the user experience. Optionally, the visual effect of the target electronic voucher transferred into the second terminal in the embodiments of the present specification can be the visual effect of the target electronic voucher transferred out of the first terminal in linkage.

[0117] For example, the visual effect of the target electronic voucher transferred out of the first terminal is dynamically displayed in the voucher transfer page of the first terminal. At a certain moment, part of the information of the target electronic voucher is displayed in the first terminal, such as part of an image or part of a virtual image, and another part of the information has been transferred out of the first terminal. At this time, the second terminal can display another part of the information of the target electronic voucher that has been transferred out of the first terminal. In this way, the visual effect of the target electronic voucher transferred in linkage can be displayed in the first terminal and the second terminal, so that the user can feel that the voucher in the first terminal has been transferred into the second terminal.

[0118] As an implementation manner, the identification information of the first terminal and the second terminal can also be displayed in the page of the second terminal. The second terminal can also display an animation effect of the target electronic voucher transferred out of the identification information of the first terminal and moved to the identification information of the second terminal. The identification information can be an image conforming to the shape of the terminal, or can also be the identification information of the user logged in the terminal, which can be at least one of information in the form of, for example, a head portrait or a nickname.

[0119] In actual application, the first terminal and the second terminal can have the same or different terminal applications. The various page effects displayed above can be generated by the server of the terminal application and fed back to the terminal.

[0120] In order to make the user use the received voucher more conveniently, the second terminal can also display a voucher information page; the voucher information page includes a code image for representing the target electronic voucher.

[0121] Wherein, if the target electronic voucher is completely displayed in the voucher transfer-in page, the second terminal can display the voucher information page. The voucher information page and the voucher transfer-in page can be the same page or different pages, which can be set according to actual needs. The code image can include a two-dimensional code, a bar code, a three-dimensional code and the like. The identification device can identify the information of the target electronic voucher by scanning the code image. For example, the user of the second terminal can participate in a concert or other activities by presenting the code image.

[0122] The voucher information page can include at least one of the object name information, the code image information, the voucher use location information, the voucher use time information, the voucher price information, and the voucher quantity information of the target voucher.

[0123] Figure 7 A schematic diagram of a credential information page provided in an embodiment of the present specification. As shown, the page can include a code image 702 representing a target electronic credential, and can also include encoding information and the like. The page can also include key information 704 of the credential, such as information about an object to which the credential is directed, a use time, a use location, and the like. The page can also include relevant information 706 of a user of the second terminal. The relevant information 706 can be user information of a user logged in to a terminal application in the second terminal, such as information such as a name, a nickname, an identity card number, a phone number, and the like. Figure 7

[0124] If the target electronic credential is a credential purchased by the user of the first terminal or other users who transfer the credential to the user of the first terminal, the credential information page can also include price information 708 of the credential. The specific value of the price information 708 can be the number of resources actually paid by the purchaser, or can be the selling price of the credential. The credential information page can also include information 710 representing the number of credentials, such as information such as 1, 2, and the like, or information such as 1 / 1, 1 / 2, and the like.

[0125] It can be understood that the above is only an example, and the specific display content and display format of the credential information page in actual application can be set according to actual needs, which is not specifically limited here.

[0126] In an embodiment of the present specification, if the second terminal obtains multiple electronic credentials, the second terminal can also display relevant information of each credential. Optionally, in an embodiment of the present specification, if the target electronic credential includes a first electronic credential and a second electronic credential, the above display of the credential information page can specifically include:

[0127] displaying a credential information page including credential information of the first electronic credential;

[0128] if a credential switching operation performed by the user is obtained, displaying a credential information page including credential information of the second electronic credential.

[0129] The credential information page can include an operation control for switching display of each credential, such as the control 712 shown, if the user performs a credential switching operation, such as clicking the control 712, the credential information page can change from displaying credential information of the first electronic credential to displaying credential information of the second electronic credential. Figure 7

[0130] ​​Continuing the above example, assume that the user of the second terminal obtains two electronic tickets for a concert, and the code image of one of the electronic tickets is displayed in the credential information page. If the user clicks the control 712, the code image of the other electronic ticket can be displayed. Of course, the credential information page can also include a control for returning to the previous credential, such as the control displayed as “<”. When the credential information of the second electronic ticket is displayed in the credential information page, a return control for returning to the previous credential can also be displayed. If the user clicks the control for returning to the previous credential, the credential information of the first electronic ticket can be displayed in the credential information page.

[0131] In actual applications, if the first electronic ticket and the second electronic ticket are electronic tickets for the same object, the credential information of the first electronic ticket and the credential information of the second electronic ticket displayed in the credential information page can be partially the same, for example, the background pattern and the related information of the credential object can be the same, and different code images can be displayed. If the credential switching operation performed by the user is obtained, the code image of the second electronic ticket can be displayed in the credential information page.

[0132] If the first electronic ticket and the second electronic ticket are electronic tickets for different objects, the credential information of the first electronic ticket and the credential information of the second electronic ticket can be displayed in the credential information page with different image backgrounds or page structures.

[0133] The credential information page can also display the information of multiple credentials at the same time, such as the code images of multiple credentials. The display mode and specific content of the credential information page can be set according to actual business needs, which are not limited here.

[0134] In actual applications, after the second terminal receives the target electronic ticket, the second terminal can not immediately display the credential information page, but can end the transfer process, for example, the second terminal can display the page displayed in the second terminal before the short-distance communication with the first terminal is established after the target electronic ticket is completely received in the credential transfer-in page. The user of the second terminal can also enter the credential information page by viewing the path of the credential, for example, by viewing the electronic ticket held through the path of ticket folder-my ticket-selecting the target electronic ticket.

[0135] To improve the user experience, after the second terminal displays the page of the transferred-in credential, the second terminal can also display a credential reception confirmation page, and the user can select to receive the credential or to refuse to receive the credential. Optionally, the method in the embodiments of the present specification can further include: displaying a credential reception confirmation page; the credential reception confirmation page includes at least one of a first control for receiving the credential and a second control for refusing to receive the credential.

[0136] The display voucher information page can specifically include: if the user performs a confirmation receiving operation based on the voucher receiving confirmation page, the voucher information page is displayed.

[0137] As an implementation, the cover information of the voucher can be displayed in the voucher transfer-in page, and the specific information of the voucher can be displayed in the voucher receiving confirmation page. For example, after the electronic voucher transmission is completed, the page displayed by the second terminal can be changed from the voucher cover to the electronic voucher display page containing the two-dimensional code. The bottom of the page can contain an operation area, and the user can select to receive or reject according to the prompt.

[0138] Figure 8 A schematic diagram of a voucher receiving confirmation page provided in an embodiment of the present specification is shown in FIG. 8. As shown in the figure, the page can include a first control 802 indicating receiving the voucher, and can also include a second control 804 for rejecting the receiving of the voucher. Figure 8

[0139] In actual application, the voucher receiving confirmation page can also include one of the first control or the second control. If the user clicks the first control within a preset time, or the user does not click the second control within the preset time, the second terminal or the server can determine that the user confirms to receive the target electronic voucher. For example, if the user clicks the second control within a preset time, or does not click the first control within the preset time, the second terminal or the server can determine that the user rejects to receive the target electronic voucher.

[0140] If the user confirms to receive the target electronic voucher, the server can transfer the target electronic voucher to the second terminal. Specifically, the server can record the target electronic voucher as the voucher of the login user of the second terminal, and the second terminal can display the voucher information page.

[0141] If the second terminal obtains a rejection receiving operation performed by the user based on the voucher receiving confirmation page, the second terminal can exit the voucher transfer process. For example, the second terminal can display the page displayed by the terminal before the voucher transfer-in page, can display the home page of the terminal application receiving the voucher, or can display a page without starting any application, etc.

[0142] In actual application, if the second terminal obtains a confirmation receiving operation performed by the user based on the voucher receiving confirmation page, the second terminal can also exit the voucher transfer process. The second terminal can also display the page displayed by the terminal before the voucher transfer-in page, the home page of the terminal application receiving the voucher, a page without starting any application, etc.

[0143] If the second terminal obtains a rejection receiving operation or a confirmation receiving operation performed by the user based on the voucher receiving confirmation page, the second terminal can also display prompt information indicating the rejection or the confirmation. ​

[0144] As Figure 8 shown, the voucher receiving confirmation page can also contain relevant information of the target voucher, such as at least one of the object name information of the target voucher, the code image information, the voucher use location information, the voucher use time information, the voucher price information, the voucher quantity information, and the like. The specific content can be set according to actual needs, which is not specifically limited here.

[0145] In actual application, the voucher receiving confirmation page can also display the information of the target electronic voucher displayed in the voucher transfer-in page, such as picture, text, virtual image, and the like. For example, the voucher receiving confirmation page can also not display the code image, but display the picture or virtual image representing the target electronic voucher displayed in the voucher transfer-in page. Whether the content displayed in the voucher receiving confirmation page is consistent with the page displayed in the voucher transfer-in page can also be set according to actual needs, which is not specifically limited here.

[0146] Based on the same idea, the method for transferring the voucher in the embodiments of the present specification takes the server as the execution subject. Figure 9 A flowchart of a method for transferring a voucher provided in the embodiments of the present specification. The execution subject of the flowchart can be a program loaded on a server.

[0147] As Figure 9 shown, the flowchart can include the following steps.

[0148] Step 902: Obtain a transfer-out request for a target electronic voucher to be transferred out sent by a first terminal.

[0149] The transfer-out request is generated based on a transfer-out operation of a user of the first terminal on a voucher transfer page for the target electronic voucher.

[0150] Step 904: Based on the transfer-out request, transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal.

[0151] In actual application, the second terminal can be loaded with a terminal application, and the server can process the related business of the terminal application. After obtaining the transfer-out request for the target electronic voucher from the first terminal, the server can establish a corresponding relationship between the second terminal and the target electronic voucher, or a corresponding relationship between the target electronic voucher and the login user of the second terminal or the login user of the terminal application, indicating that the target electronic voucher is transferred to the second terminal, and the user of the second terminal has the right to use the target electronic voucher.

[0152] In actual application, the effect page displayed in the first terminal and the second terminal can also be generated by the server. Optionally, the method in the embodiments of the present specification can further include: generating a visual effect of transferring the target electronic voucher out of the first terminal, and sending the visual effect to the first terminal.

[0153] The server can generate the visual effect of transferring the target electronic voucher out of the first terminal based on the transfer request sent by the first terminal, and send the visual effect to the first terminal. For example, after the user selects the target electronic voucher and performs a right swipe operation, the server can generate a visual effect of transferring the voucher to the right based on the operation direction or operation path of the user, and send the visual effect to the first terminal, so that the first terminal can display the visual effect of transferring the voucher.

[0154] Optionally, the method in the embodiments of the present specification can further include: generating a visual effect of transferring the target electronic voucher into the second terminal, and sending the visual effect to the second terminal.

[0155] After the second terminal triggers the process of receiving the voucher, the second terminal can send a request to the server. The server can generate information of the visual effect of transferring the target electronic voucher into the second terminal, and send the information to the second terminal, so that the second terminal can display the page effect of transferring the voucher.

[0156] In actual application, the server can generate the visual effect of transferring the voucher into the second terminal based on the visual effect of transferring the voucher out of the first terminal displayed in the first terminal. For example, the server can determine the display position information of the target electronic voucher in the second terminal based on the display position information of the target electronic voucher in the first terminal, so that the second terminal and the first terminal can display the visual effect of transferring the voucher in linkage. Other related technologies can also be used, which will not be described here.

[0157] The voucher list page, the voucher information page, the voucher receiving confirmation page, and the like displayed in the first terminal and the second terminal described above can also be pages generated by the server in the process of transferring the voucher.

[0158] It can be understood that the embodiments provided in the embodiments of the present specification are based on the same technical concept, and the same or similar parts can be referred to each other.

[0159] In order to more clearly illustrate the method of transferring and receiving the voucher provided in the embodiments of the present specification, the following will take the example of transferring a performance ticket based on NFC communication. It is assumed that a user of a first terminal has purchased a ticket for a concert online, but cannot attend the concert due to some reasons, and wants to transfer the ticket to a friend.

[0160] The user of the first terminal views the ticket held by himself through a corresponding application program, and the first terminal can display a voucher list page, as described aboveFigure 5 If the user clicks "give my ticket", the first terminal obtains the ticket transfer trigger operation performed by the user. Based on the operation, the first terminal sends a ticket transfer trigger request to the server, and the server can generate NFC tag information for triggering the nearby terminal to start the ticket transfer process and feed back to the first terminal. The first terminal can simulate the NFC card mode to identify other NFC communication terminals nearby. The second terminal can be in the card reader mode. When the second terminal is close to the first terminal and within the NFC communication range, the first terminal can identify the second terminal, or the second terminal can identify the first terminal, and the two establish an NFC communication connection. For example, once the other party is detected, the devices can perform a protocol handshake to determine communication parameters such as data transmission rate and protocol type. The second terminal can read the NFC tag information of the first terminal.

[0161] In practical applications, the NFC tag information can include a terminal program or applet or information for triggering a business process, such as URL or other forms of link information. After the second terminal obtains the tag information, it can start the terminal application or applet, or access the server through the browser to trigger the ticket receiving process.

[0162] After the first terminal obtains the ticket transfer trigger operation performed by the user, the server can also determine the ticket information that can be transferred by the first terminal and send it to the first terminal. The first terminal can display a ticket transfer page, such as the above Figure 3 , and the user can select the target electronic ticket to be transferred in the ticket transfer page. For example, after the user clicks "give my ticket", the first terminal can display a ticket transfer page, and an animation can be popped up at the bottom of the page to list the show tickets, and the user can swipe up and down to view the currently supported transferable tickets, and can also select the concert tickets to be transferred.

[0163] The NFC tag information can also include the identification information of the first terminal or the login user of the first terminal. The server can also feed back the identification information of the login user of the second terminal to the first terminal, so that the ticket transfer page displayed by the first terminal can also include the identification information of the second terminal, such as the avatar, nickname, etc.

[0164] The user of the first terminal selects a ticket to be currently transferred and drags the ticket to a region displaying the user identifier of the second terminal. The display region of the ticket to be currently transferred can be automatically highlighted. The user can right swipe to transfer the electronic ticket. The server can generate visual effect page information of the electronic ticket being transferred out of the first terminal and feed back to the first terminal for display. Simultaneously or subsequently, the server can also generate visual effect page information of the electronic ticket being transferred into the second terminal and feed back to the second terminal for display. The second terminal interface can display the electronic ticket being transferred in from the left side. The second terminal can also display information of the ticket being received, and prompt the current ticket transmission status, as shown in FIG. 8. Figure 7 The first terminal and the second terminal can display the process of ticket transfer, which seems to be that the physical ticket is transferred from the first terminal to the second terminal from the perspective of the user.

[0165] After the electronic ticket is transferred, the second terminal can display a ticket transfer confirmation page in which the ticket display page is expanded from the ticket cover to the page containing the two-dimensional code. The bottom of the page can have an operation area, and the user can select to receive or reject according to the prompt. If the user of the second terminal determines to receive, the server can mark the ticket transferred out of the first terminal as belonging to the user of the second terminal. The user of the second terminal can enter the ticket folder to view and confirm the details of the received ticket. The second terminal can display the ticket information page, as shown in FIG. 9. Figure 7 .

[0166] In the above embodiments, the first terminal is taken as an example of the NFC card or tag end, and the second terminal is taken as an example of the card reader end. In actual application, the first terminal can also be taken as the card reader end, and the second terminal can be taken as the card end. The first terminal and the second terminal can also establish short-distance communication in other manners.

[0167] In actual application, the ticket information page can also include a control for payment to facilitate user operation. If the user operates the control, the payment process can be triggered. For example, if the second terminal obtains the payment operation of the user based on the ticket information page, the second terminal can send a payment request for the target electronic ticket to the server. The server can generate order information and feed back to the second terminal. After the user confirms, the server can execute the process of the second terminal paying the required resources for the ticket to the first terminal. In this way, the user of the second terminal can pay the required resources for the ticket to the user of the first terminal, and the operation of the user of the second terminal can be simplified.

[0168] It can be understood that, in the embodiments of the present specification, the credential transfer process can be triggered in the manner of short-distance communication. As an implementation, after the first terminal determines the second terminal nearby, or the server determines that the first terminal is the credential transfer-out party and the second terminal is the credential transfer-in party, the short-distance communication connection between the first terminal and the second terminal can be ended. When the first terminal displays the visual effect of the credential transfer-out in the credential transfer page and the second terminal displays the visual effect of the credential transfer-in in the credential transfer-in page, the short-distance communication connection between the first terminal and the second terminal can be interrupted or ended. The first terminal and the second terminal can be located outside the near field communication range. In this way, the user does not need to stay in the state of terminal proximity for a long time, and the user experience can be improved.

[0169] Of course, in actual application, when the first terminal displays the visual effect of the credential transfer-out in the credential transfer page and the second terminal displays the visual effect of the credential transfer-in in the credential transfer-in page, the short-distance communication between the first terminal and the second terminal can also be connected, and the first terminal and the second terminal can be located within the near field communication range.

[0170] In actual application, the first terminal can be loaded with a terminal application, and the credential transfer is performed through the terminal application. The second terminal can also be loaded with the terminal application, and the user logged in the terminal application in the second terminal can be a friend of the user logged in the terminal application in the first terminal. The first terminal can transfer the credential to the friend. The friend can mean that the first terminal user and the second terminal user are in a friend relationship in the terminal application.

[0171] As an implementation, after the first terminal and the second terminal establish short-distance communication, if the server determines that the logged-in user of the second terminal is not a friend of the user of the first terminal, the server can also generate an add-friend prompt information to the first terminal. The first terminal can display the prompt information, and the user of the first terminal can add the user of the second terminal as a friend based on the prompt information, and then perform the credential transfer.

[0172] In actual application, the first terminal user and the second terminal user do not have a friend relationship, and the credential transfer can also be performed, which is not limited here.

[0173] Based on the same idea, the embodiments of the present specification also provide a device corresponding to the above method. Figure 10 The device corresponding to the credential transfer device provided by the embodiments of the present specification is shown in Figure 2 FIG. 1. As shown in Figure 10 the device can include an operation obtaining module 1002 configured to obtain a transfer-out operation of a user on a credential transfer page for a target electronic credential to be transferred out.

[0174] The transfer module 1004 is configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer operation.

[0175] The effect display module 1006 is configured to display a transfer visual effect of transferring the target electronic voucher from the first terminal on the voucher transfer page.

[0176] Based on the device, Figure 10 The embodiments of the present specification also provide some specific implementations, which are described below.

[0177] Optionally, the transfer operation includes an operation of moving the target electronic voucher; and the effect display module can be specifically configured to display a visual effect of moving the target electronic voucher according to a moving track of a user on the voucher transfer page.

[0178] Optionally, the voucher transfer page includes a transfer determination area; and the operation acquisition module can be specifically configured to acquire an operation of moving the target electronic voucher in a direction of the transfer determination area by a user.

[0179] The effect display module can be specifically configured to display a visual effect of moving the target electronic voucher to the transfer determination area based on a moving track of a user on the voucher transfer page.

[0180] Optionally, the transfer determination area is further configured to display user identification information of a terminal user of the second terminal; and the user identification information includes at least one of a user nickname, a user avatar, and a user name.

[0181] Optionally, the voucher transfer page includes voucher identification information for representing the target electronic voucher; the voucher identification information is at least one of information in a picture form, a virtual image form, and a text form; and the operation acquisition module can be specifically configured to acquire a transfer operation of a user on the voucher transfer page for the voucher identification information of the target electronic voucher to be transferred.

[0182] Optionally, the voucher transfer page includes a plurality of transferable electronic vouchers; the target electronic voucher is one or more of the plurality of transferable electronic vouchers; and the second terminal is one or more terminals that establish a communication connection with the first terminal.

[0183] Optionally, the transfer operation includes at least one of a click operation, a long press operation, a swipe operation, a drag operation, and an operation of tilting or rotating the first device according to a preset direction.

[0184] The device may further include a transfer trigger module, used to: acquire a transfer trigger operation performed by the user; and display the voucher transfer page containing a plurality of transferable electronic vouchers.

[0185] Optionally, the display includes a plurality of transferable electronic vouchers on the voucher transfer page, specifically including: displaying an animation effect on the voucher transfer page showing the loading of a plurality of transferable electronic vouchers into the voucher transfer page in a preset order.

[0186] Optionally, the preset order includes at least one of the following: sorting based on the validity period of the credential; sorting based on the time when the user of the first terminal obtained the credential; sorting based on the user's preferences; sorting based on the matching degree between the usable time of the credential and the current time; and sorting based on the popularity of the object corresponding to the credential.

[0187] Optionally, the target electronic certificate includes unused electronic certificates that are still valid.

[0188] Optionally, the target electronic voucher includes at least one of the following: electronic voucher for participating in leisure and entertainment activities, electronic voucher for participating in competitions, electronic voucher for travel, and electronic voucher for indicating entitlement to preferential information.

[0189] Optionally, the device may further include an information display module for displaying prompt information containing the output result.

[0190] Based on the same idea, embodiments of this specification also provide apparatus corresponding to the above methods. Figure 11 The embodiments provided in this specification correspond to Figure 6 A schematic diagram of the structure of a device for obtaining credentials. (See diagram below.) Figure 11 As shown, the device may include: a communication module 1102 for establishing a short-range communication connection with a first terminal; the first terminal is a terminal that transfers out a target electronic voucher based on a user's transfer operation.

[0191] The page display module 1104 is used to display the voucher transfer page, which displays the visual effect of transferring the target electronic voucher to the second terminal.

[0192] based on Figure 11 The present specification provides some specific implementation methods for the apparatus, which are described below.

[0193] Optionally, the page display module is further configured to: after displaying the received target electronic voucher on the voucher transfer page, display a voucher information page; the voucher information page includes a code image representing the target electronic voucher.

[0194] Optionally, the page display module is further configured to: after receiving the target electronic voucher, display a voucher receiving confirmation page; and the voucher receiving confirmation page comprises at least one of a first control for receiving the voucher and a second control for rejecting the voucher.

[0195] Optionally, the display of the voucher information page comprises: if a confirmation receiving operation performed by the user based on the voucher receiving confirmation page is acquired, displaying a voucher information page.

[0196] Optionally, the voucher information page or the voucher receiving confirmation page comprises at least one of object name information, code image information, voucher use location information, voucher use time information, voucher price information, and voucher quantity information of the target voucher.

[0197] Optionally, the apparatus is further configured to: if a rejection receiving operation performed by the user based on the voucher receiving confirmation page is acquired, exit the voucher transfer process.

[0198] Optionally, if the target electronic voucher comprises a first electronic voucher and a second electronic voucher, the page display module is specifically configured to: display a voucher information page comprising voucher information of the first electronic voucher; and if a voucher switching operation performed by the user is acquired, display a voucher information page comprising voucher information of the second electronic voucher.

[0199] Optionally, the visual effect of transferring the target electronic voucher into the second terminal comprises: a visual effect of transferring the target electronic voucher from a preset edge of the second terminal; and the preset edge is an edge close to the first terminal from which the target electronic voucher is transferred out.

[0200] Optionally, the visual effect of transferring the target electronic voucher into the second terminal and the visual effect of transferring the target electronic voucher out of the first terminal are visual effects of transferring the target electronic voucher in linkage.

[0201] Based on the same idea, the present specification also provides a device corresponding to the above method. Figure 12 The present specification provides a device corresponding to Figure 9 a voucher transfer. As shown in Figure 12 , the device can comprise: a request acquisition module 1202 configured to acquire a transfer-out request for a target electronic voucher to be transferred out sent by a first terminal; and the transfer-out request is generated based on a transfer-out operation performed by a user of the first terminal on a voucher transfer page for the target electronic voucher.

[0202] The transfer module 1204 is configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer-out request.

[0203] Based on Figure 12 the device, some specific embodiments are provided in the present specification, which are described below.

[0204] Optionally, the device can further include a first effect generation module configured to generate a visual effect of transferring the target electronic voucher out of the first terminal and send the visual effect to the first terminal.

[0205] Optionally, the device can further include a second effect generation module configured to generate a visual effect of transferring the target electronic voucher into the second terminal and send the visual effect to the second terminal.

[0206] Based on the same idea, the present specification also provides a device corresponding to the above method.

[0207] Figure 13 A structural schematic diagram of a device for voucher transfer and acquisition is provided for the embodiments of the present specification. As shown in Figure 13 the device 1300 can include:

[0208] at least one processor 1310; and

[0209] a memory 1330 in communication with the at least one processor; wherein the memory 1330 stores instructions 1320 executable by the at least one processor 1310, and the instructions are executed by the at least one processor 1310 to enable the at least one processor 1310 to perform the above-mentioned voucher transfer method and / or voucher acquisition method.

[0210] Based on the same idea, the present specification also provides a computer readable medium corresponding to the above method. The computer readable medium stores computer readable instructions executable by a processor to implement the above-mentioned voucher transfer method and / or voucher acquisition method.

[0211] Each of the embodiments in the present specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the difference from other embodiments. In particular, the device shown in Figure 13 is described relatively simply because it is basically similar to the method embodiments, and the relevant parts can be referred to the part of the method embodiments.

[0212] In the 1990s, it was quite obvious to distinguish whether an improvement in a technology was in hardware (e.g., improvement in circuit structures of diodes, transistors, switches, etc.) or in software (improvement in method flow). However, as technology has evolved, many improvements in method flow today can be considered as direct improvements in hardware circuit structures. Designers almost always obtain the corresponding hardware circuit structures by programming the improved method flow into hardware circuits. Therefore, it cannot be said that an improvement in a method flow cannot be implemented by hardware entity modules. For example, a programmable logic device (PLD) (e.g., a field programmable gate array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. A digital system is "integrated" on a PLD by the designer programming it, rather than by asking a chip manufacturer to design and fabricate a custom integrated circuit chip. Moreover, instead of manually fabricating integrated circuit chips, this programming is now mostly implemented by "logic compiler" software, which is similar to software compilers used in program development, and the original code to be compiled is written in a specific programming language, which is called a hardware description language (HDL), and there are many such languages, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should be aware that, as long as the method flow is logically programmed in the above-mentioned hardware description languages and programmed into an integrated circuit, a hardware circuit implementing the logical method flow can be easily obtained.

[0213] The controller can be implemented in any suitable way, for example, the controller can take the form of a microprocessor or processor and a computer readable medium storing computer readable program code, such as software or firmware, executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, the memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also know that, in addition to being implemented in pure computer readable program code, the controller can also be implemented to perform the same functions in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded microcontrollers, etc. by logically programming the method steps. Therefore, such a controller can be considered as a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can even be considered as both a software module implementing a method and a structure within a hardware component.

[0214] The systems, apparatuses, modules or units illustrated by the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0215] For the sake of description, the above apparatuses are described in various units by functions respectively. Of course, the functions of each unit can be implemented in the same or multiple software and / or hardware in the implementation of the present application.

[0216] Those skilled in the art will understand that the embodiments of the present application can be provided as a method, a system or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.

[0217] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0218] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0219] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof. Figure 1 one or more flowcharts and / or blocks in the flowcharts and / or combination thereof.

[0220] In one typical configuration, the computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0221] The memory can include non-persistent memory and / or volatile memory, such as random access memory (RAM) and / or cache memory, non-volatile memory, such as read-only memory (ROM), EPROM, and / or flash memory. The memory is an example of computer-readable media.

[0222] Computer-readable media includes permanent and non-permanent, movable and non-movable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information accessible to a computing device. According to the definition herein, computer-readable media does not include transitory media such as modulated data signals and carriers.

[0223] It should also be noted that the terms "comprising", "containing", or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or apparatus that comprises a list of elements does not only include those elements, but also other elements not explicitly listed or inherent to such process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0224] Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system or computer program product. Accordingly, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. The present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage devices, etc.) containing computer usable program code.

[0225] The present application can be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform particular tasks or implement particular abstract data types. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

[0226] The above merely provides an example of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the scope of claims of the present application.

Claims

1. A method for transferring a voucher, applied to a first terminal, comprising: obtaining a transfer operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; based on the transfer operation, transferring the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal; the voucher transfer page comprises a transfer determination area for displaying user identification information of a terminal user of the second terminal; the transfer operation is an operation of the user moving the target electronic voucher towards the transfer determination area; the user identification information is fed back to the first terminal by a server; based on the operation direction of the transfer operation, displaying a transfer visual effect of the target electronic voucher being transferred out of the first terminal on the voucher transfer page. 2.The method of claim 1, wherein the transfer operation comprises an operation of moving the target electronic voucher; and the displaying of the transfer visual effect of the target electronic voucher being transferred out of the first terminal on the voucher transfer page comprises: based on a moving track of the user on the voucher transfer page, displaying a visual effect of the target electronic voucher moving according to the moving track. 3.The method of claim 2, wherein the voucher transfer page comprises a transfer determination area; the obtaining of the transfer operation of the user on the voucher transfer page for the target electronic voucher to be transferred out comprises: obtaining an operation of the user moving the target electronic voucher towards the transfer determination area; and the displaying of the visual effect of the target electronic voucher being transferred out of the first terminal on the voucher transfer page comprises: based on a moving track of the user on the voucher transfer page towards the transfer determination area, displaying a visual effect of the target electronic voucher moving towards the transfer determination area. 4.The method of claim 3, wherein the transfer determination area is further used to display user identification information of a terminal user of the second terminal; the user identification information comprises at least one of a user nickname, a user avatar, and a user name; or the transfer determination area is an area of the voucher transfer page close to a page edge; or the transfer determination area is located at a page edge of the voucher transfer page close to the second terminal. 5.The method of claim 1, wherein the voucher transfer page comprises voucher identification information for representing the target electronic voucher; the voucher identification information is at least one of a picture form, a virtual image form, and a text form; and the obtaining of the transfer operation of the user on the voucher transfer page for the voucher identification information of the target electronic voucher to be transferred out. 6.The method of claim 1, wherein the voucher transfer page comprises a plurality of transferable electronic vouchers; the target electronic voucher is one or more of the plurality of transferable electronic vouchers; and the second terminal is one or more terminals that establish a communication connection with the first terminal. ​ ​ ​ ​ ​ The obtaining the transfer-out operation of the user on the credential transfer page for the target electronic credential to be transferred out specifically comprises: ​ ​ 7. The method of claim 1, wherein the transfer-out operation comprises at least one of a click operation, a long press operation, a swipe operation, a drag operation, an operation of tilting or rotating the first terminal in a preset direction. Alternatively, the credential transfer page comprises prompt information prompting the user to perform the transfer-out operation; or the credential transfer page comprises a region for setting the number of transfer-out credentials; or for a plurality of electronic credentials of the same object, the credential transfer page displays the plurality of electronic credentials or displays the plurality of electronic credentials in a stacked manner.

8. The method of claim 1, further comprising: obtaining a transfer-out trigger operation performed by the user; displaying the credential transfer page containing a plurality of transferable electronic credentials.

9. The method of claim 8, wherein the displaying the credential transfer page containing a plurality of transferable electronic credentials comprises: displaying an animation effect of loading a plurality of transferable electronic credentials into the credential transfer page in a preset order in the credential transfer page.

10. The method of claim 9, wherein the preset order comprises at least one of the following orders: an order based on the validity period of the credentials; an order based on the time when the user of the first terminal obtains the credentials; an order based on the preferences of the user of the first terminal; an order based on the matching degree between the available time of the credentials and the current time; an order based on the popularity of the object corresponding to the credentials.

11. The method of claim 1, wherein the target electronic credential comprises an electronic credential that is unused and within a validity period.

12. The method of claim 1, wherein the target electronic credential comprises at least one of an electronic credential for participating in a leisure and entertainment activity, an electronic credential for participating in a competition activity, an electronic credential for travel, an electronic credential for indicating a enjoyed discount information, and an electronic red packet.

13. The method of claim 1, further comprising: displaying prompt information indicating the transfer result; alternatively, obtaining prompt information indicating that the target credential is used; alternatively, obtaining thank-you information indicating that the user of the second terminal thanks the user of the first terminal for transferring the credential.

14. The method of claim 1, wherein the displaying a transfer-out visual effect of transferring the target electronic credential from the first terminal on the credential transfer page comprises: at a certain moment of the transfer process, displaying a part of information of the target electronic credential in the first terminal, and displaying another part of information of the target electronic credential that has been transferred out of the first terminal in the second terminal; alternatively, displaying an animation effect of the target electronic credential being sucked into the credential transfer page.

15. The method of claim 1, wherein the short-distance communication comprises at least one of NFC communication and Bluetooth communication; alternatively, the second terminal is a second terminal that establishes a short-distance communication connection with the first terminal during the process in which the user performs the transfer-out operation in the first terminal; or the second terminal is a second terminal that establishes a short-distance communication connection with the first terminal before the user performs the transfer-out operation. 16.A method for obtaining a voucher, applied to a second terminal, comprising: establishing short-distance communication with a first terminal; the first terminal is a terminal that transfers a target electronic voucher based on a user's transfer-out operation; the first terminal displays a transfer-out visual effect of transferring the target electronic voucher based on an operation direction of the transfer-out operation according to the method of claim 1; displaying a voucher transfer-in page, in which a visual effect of transferring the target electronic voucher into the second terminal is displayed. 17.The method of claim 16, further comprising: displaying a voucher information page; the voucher information page includes a code image for representing the target electronic voucher. 18.The method of claim 17, further comprising: displaying a voucher receiving confirmation page; the voucher receiving confirmation page includes at least one of a first control for receiving a voucher, and a second control for rejecting to receive a voucher; the display of the voucher information page, in particular includes: if a user's confirmation receiving operation based on the voucher receiving confirmation page is obtained, the voucher information page is displayed. 19.The method of claim 18, the voucher information page or the voucher receiving confirmation page includes at least one of object name information, code image information, voucher use location information, voucher use time information, voucher price information, and voucher quantity information of the target electronic voucher; or, cover information of the voucher is displayed in the voucher transfer-in page. 20.The method of claim 17, further comprising: if a user's rejection receiving operation based on the voucher receiving confirmation page is obtained, the voucher transfer process is exited. 21.The method of claim 17, if the target electronic voucher includes a first electronic voucher and a second electronic voucher; the display of the voucher information page, in particular includes: displaying a voucher information page including voucher information of the first electronic voucher; if a user's voucher switching operation is obtained, a voucher information page including voucher information of the second electronic voucher is displayed. 22.The method of claim 16, the visual effect of transferring the target electronic voucher into the second terminal, in particular includes: a visual effect of transferring the target electronic voucher from a preset edge of the second terminal; the preset edge is an edge close to the first terminal where the target electronic voucher is transferred out. 23.The method of claim 16, the visual effect of transferring the target electronic voucher into the second terminal and the visual effect of transferring the target electronic voucher out of the first terminal are visual effects of transferring the target electronic voucher in linkage.

24. The method of claim 16, said visually transferring the target electronic credential into the second terminal specifically comprising: a visual effect of flying, jumping or flashing into the second terminal. 25.A method for transferring a voucher, applied to a server, comprising: obtaining a transfer-out request for a target electronic voucher to be transferred out sent by a first terminal; The transfer-out request is generated based on a transfer-out operation of a user of the first terminal on a voucher transfer page for the target electronic voucher; and the first terminal displays a transfer-out visual effect of transferring out the target electronic voucher based on a direction of the transfer-out operation according to the method of claim 1. The target electronic voucher is transferred to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer-out request.

26. The method of claim 25, further comprising: generating a visual effect of transferring out the target electronic voucher by the first terminal and sending the visual effect to the first terminal; or generating a visual effect of transferring the target electronic voucher into the second terminal and sending the visual effect to the second terminal.

27. An apparatus for voucher transfer, comprising: an operation obtaining module configured to obtain a transfer-out operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; a transfer module configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with a first terminal based on the transfer-out operation; the voucher transfer page includes a transfer-out determination area for displaying user identification information of a terminal user of the second terminal; and the transfer-out operation is an operation of moving the target electronic voucher by the user in a direction of the transfer-out determination area; the user identification information is fed back to the first terminal by a server; an effect display module configured to display a transfer-out visual effect of transferring out the target electronic voucher by the first terminal on the voucher transfer page based on a direction of the transfer-out operation.

28. An apparatus for voucher obtaining, comprising: a communication module configured to establish a short-distance communication connection with a first terminal; the first terminal is a terminal that transfers out a target electronic voucher based on a transfer-out operation of a user; and the first terminal displays a transfer-out visual effect of transferring out the target electronic voucher based on a direction of the transfer-out operation according to the method of claim 1; a page display module configured to display a voucher transfer-in page and display a visual effect of transferring a target electronic voucher into a second terminal on the voucher transfer-in page.

29. An apparatus for voucher transfer, comprising: a request obtaining module configured to obtain a transfer-out request for a target electronic voucher to be transferred out sent by a first terminal; the transfer-out request is generated based on a transfer-out operation of a user of the first terminal on a voucher transfer page for the target electronic voucher; and the first terminal displays a transfer-out visual effect of transferring out the target electronic voucher based on a direction of the transfer-out operation according to the method of claim 1; a transfer module configured to transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer-out request.

30. An apparatus for voucher transfer and obtaining, comprising: at least one processor; and a memory in communication with the at least one processor; wherein, the at least one processor is configured to: obtain a transfer-out operation of a user on a voucher transfer page for a target electronic voucher to be transferred out; transfer the target electronic voucher to a second terminal that establishes a short-distance communication connection with a first terminal based on the transfer-out operation; the voucher transfer page includes a transfer-out determination area for displaying user identification information of a terminal user of the second terminal; and the transfer-out operation is an operation of moving the target electronic voucher by the user in a direction of the transfer-out determination area; the user identification information is fed back to the first terminal by a server; display a transfer-out visual effect of transferring out the target electronic voucher by the first terminal on the voucher transfer page based on a direction of the transfer-out operation. The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the method of credential transfer of any one of claims 1 to 15 or the method of credential acquisition of any one of claims 16 to 24 or the method of credential transfer of any one of claims 25 to 26.

31. A computer readable medium having stored thereon computer readable instructions executable by a processor to implement the method of credential transfer of any one of claims 1 to 15 or the method of credential acquisition of any one of claims 16 to 24 or the method of credential transfer of any one of claims 25 to 26.

Citation Information

Patent Citations

  • Service object information sharing method and device

    CN105871944A

  • Electronic certificate transmission method, device and equipment

    CN108282471A

  • Electronic coupon processing method, computer program product and storage medium

    CN118628174A