Method, device, equipment and medium for transferring certificate

By acquiring the user's transfer operation on the first terminal and transferring the target electronic credentials to the second terminal using short-distance communication, the problem of complex credential transfer operations in the prior art is solved, and convenient electronic credential transfer and improved user experience are achieved.

CN118843083BActive Publication Date: 2025-03-18ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411295628.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2025-03-18
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

In the prior art, the voucher transfer method is complex in operation and it is difficult to achieve convenient electronic voucher transfer.

Method used

By acquiring the user's transfer operation on the first terminal, the target electronic credentials are transferred to the second terminal that establishes a connection with the first terminal based on short-distance communication, and the transfer visual effect is displayed on the transfer page.

Benefits of technology

It simplifies user operations, strengthens visual effects, reduces the possibility of user misoperation, improves user experience, and provides a method of transferring electronic credentials in-person.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118843083B_ABST
    Figure CN118843083B_ABST
Patent Text Reader

Abstract

The embodiments of this specification disclose a method, apparatus, device and medium for transferring a certificate. The scheme includes: obtaining a transfer operation of a user on a certificate transfer page for a target electronic certificate to be transferred out; based on the transfer operation, transferring the target electronic certificate to a second terminal that has established a short-distance communication connection with the first terminal; and displaying a transfer visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and medium for transferring credentials. Background Art

[0002] With the development of computer technology, more and more businesses can be processed through smart terminals, such as purchasing goods, paying bills, and checking news information. In actual applications, after purchasing electronic vouchers such as performance tickets, event tickets, or tickets, users may be unable to attend the event due to personal reasons or other reasons, and need to transfer the electronic vouchers such as tickets to others.

[0003] Therefore, how to transfer electronic certificates to others more conveniently is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present specification provide a method, apparatus, device and medium for transferring credentials to solve the problem of complex operation in existing credential transfer methods.

[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0006] A method for transferring credentials provided in an embodiment of the present specification is applied to a first terminal, including:

[0007] Obtain the user's transfer operation on the certificate transfer page for the target electronic certificate to be transferred out;

[0008] Based on the transfer-out operation, transferring the target electronic certificate to a second terminal that establishes a short-range communication connection with the first terminal;

[0009] A transfer visual effect of transferring the target electronic certificate from the first terminal is displayed on the certificate transfer page.

[0010] A method for obtaining a credential provided in an embodiment of the present specification is applied to a second terminal, including:

[0011] Establishing a short-distance communication connection with a first terminal; the first terminal is a terminal for transferring out a target electronic certificate based on a transfer-out operation of a user;

[0012] A credential transfer page is displayed, in which a visual effect of transferring the target electronic credential to the second terminal is displayed.

[0013] A method for transferring credentials provided in an embodiment of the present specification is applied to a server, including:

[0014] Acquire a transfer request for a target electronic certificate to be transferred out, sent by the first terminal; the transfer request is generated based on a transfer operation of the user of the first terminal on a certificate transfer page for the target electronic certificate;

[0015] Based on the transfer-out request, the target electronic certificate is transferred to a second terminal that establishes a short-range communication connection with the first terminal.

[0016] An embodiment of the present specification provides a device for transferring a credential, including:

[0017] The operation acquisition module is used to obtain the transfer operation of the user on the certificate transfer page for the target electronic certificate to be transferred out.

[0018] The transfer module is used to transfer the target electronic certificate to a second terminal that establishes a short-range communication connection with the first terminal based on the transfer-out operation.

[0019] The effect display module is used to display the transfer visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page.

[0020] An embodiment of the present specification provides a device for obtaining a credential, including:

[0021] The communication module is used to establish a short-distance communication connection with a first terminal; the first terminal is a terminal for transferring out a target electronic certificate based on a transfer-out operation of a user.

[0022] The page display module is used to display a credential transfer page, in which a visual effect of transferring a target electronic credential into a second terminal is displayed.

[0023] An embodiment of the present specification provides a device for transferring a credential, including:

[0024] The request acquisition module is used to acquire a transfer request for a target electronic certificate to be transferred out sent by the first terminal; the transfer request is generated based on a transfer operation of the user of the first terminal on a certificate transfer page for the target electronic certificate.

[0025] A transfer module is used to transfer the target electronic certificate to a second terminal that establishes a short-range communication connection with the first terminal based on the transfer-out request.

[0026] An embodiment of the present specification provides a device for transferring and obtaining credentials, including:

[0027] at least one processor; and,

[0028] a memory communicatively connected to the at least one processor; wherein,

[0029] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the above-mentioned method of credential transfer or credential acquisition.

[0030] An embodiment of the present specification provides a computer-readable medium on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the above-mentioned method of transferring or acquiring a credential.

[0031] At least one embodiment of this specification can achieve the following beneficial effects:

[0032] In the embodiment of the present specification, when a user performs a transfer operation on a target electronic certificate on a certificate transfer page, the target electronic certificate can be transferred to a second terminal that establishes short-distance communication with the first terminal, and a transfer visual effect of transferring the target electronic certificate from the first terminal can also be displayed on the certificate transfer page. This can simplify user operations, enhance user visual effects, reduce the possibility of user misoperation, and improve user experience.

[0033] On the other hand, in the embodiment of the present specification, the first terminal can transfer the target electronic certificate to the second terminal that establishes short-range communication with the first terminal, providing a method for face-to-face transfer of electronic certificates. For example, electronic tickets can be transferred face-to-face. From the user's perspective, the user will feel that the physical transfer is carried out through mutual induction between terminals, which is interesting and can effectively increase interaction between users. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0035] Figure 1 This is a schematic diagram of an application scenario of a method for transferring credentials in an embodiment of this specification;

[0036] Figure 2 A flowchart of a method for transferring a certificate provided in an embodiment of this specification;

[0037] Figure 3 A schematic diagram of a credential transfer page provided in an embodiment of this specification;

[0038] Figure 4 A schematic diagram of a roll-out visual effect provided in an embodiment of this specification;

[0039] Figure 5 A schematic diagram of a voucher list page provided in an embodiment of this specification;

[0040] Figure 6 A flowchart of a method for obtaining a credential provided in an embodiment of this specification;

[0041] Figure 7 A schematic diagram of a voucher transfer page provided in an embodiment of this specification;

[0042] Figure 8 A schematic diagram of a credential receiving confirmation page provided in an embodiment of this specification;

[0043] Fig. 9 A flowchart of a method for transferring a certificate provided in an embodiment of this specification;

[0044] Fig.10 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of the structure of a device for transferring a credential;

[0045] Fig.11 The embodiments of this specification provide corresponding to Figure 6 A schematic diagram of the structure of a device for obtaining a credential;

[0046] Fig.12 The embodiments of this specification provide corresponding to Fig. 9 A schematic diagram of the structure of a device for transferring a credential;

[0047] Fig.13 A schematic diagram of the structure of a device for transferring and obtaining a credential is provided for an embodiment of the present specification. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical solutions and advantages of one or more embodiments of this specification clearer, the technical solutions of one or more embodiments of this specification will be clearly and completely described below in combination with the specific embodiments of this specification and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of one or more embodiments of this specification.

[0049] The technical solutions provided by the embodiments of this specification are described in detail below in conjunction with the accompanying drawings.

[0050] In order to solve the defects in the prior art, this solution provides the following embodiments:

[0051] Figure 1Schematic diagram of an application scenario of a method for transferring credentials in an embodiment of this specification. Figure 1 As shown, the electronic certificate A to be transferred, such as a ticket for a concert, can be displayed in the certificate transfer page of the first terminal 1. The user can perform a transfer operation on the electronic certificate, such as swiping or dragging the electronic certificate. The first terminal can display the visual effect of moving the electronic certificate out of the first terminal, and the second terminal 2 that establishes short-distance communication with the first terminal 1 can display the effect page of receiving the electronic certificate to obtain the electronic certificate.

[0052] Next, a method for transferring credentials provided in an embodiment of the specification will be described in detail with reference to the accompanying drawings.

[0053] Figure 2 A flowchart of a method for transferring a credential provided in an embodiment of the present specification. From a program perspective, the execution subject of the process may be a program installed on a first terminal. From a functional perspective, the program may include a system program, an application program, and the like. From a hardware perspective, the execution subject of the process may include a first terminal. The first terminal may be a mobile terminal such as a smart phone, a tablet computer, a smart watch, a portable game console, etc.; it may also be an electronic ticketing terminal, a commodity selling terminal, and the like.

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

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

[0056] The voucher transfer page may be a page showing transferable electronic vouchers, which may include one or more transferable electronic vouchers. The target electronic voucher is the transferable electronic voucher that the user wants to transfer. The electronic voucher may be an electronic voucher, such as a ticket purchased online by the user, or a coupon or red envelope received online by the user. The user may participate in certain activities or handle business through the electronic voucher.

[0057] The first terminal may include a display screen and / or an associated display screen, and a credential transfer page may be displayed on the screen, and the transfer-out operation may be an operation performed by the user in the display page. Specifically, the transfer-out operation may be a preset operation that can be recognized by the terminal or the server as an operation for transferring out the electronic credential, such as a click operation, a selection operation, a long press operation, a swipe operation, a drag operation, an operation of tilting or rotating the first device in a preset direction, etc. The credential transfer page may also include prompt information prompting the user to perform an operation, such as a prompt information such as "swipe right to transfer to a friend".

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

[0059] The second terminal is a terminal capable of receiving the target electronic certificate, and the second terminal may be a terminal located near the first terminal determined by short-range communication. The second terminal may be of the same type as the first terminal or may be of a different type, such as a smart phone, a tablet computer, a smart watch, a portable game console, etc. In actual applications, when the first terminal and the second terminal are close to each other, the two parties may establish a short-range communication connection, such as NFC communication, Bluetooth communication, etc.

[0060] In actual applications, during the entire process of credential transfer, the short-distance communication connection between the first terminal and the second terminal may exist all the time, or may exist at a certain stage, and need not exist all the time. For example, the first terminal may determine the second terminal that receives the credential through short-distance communication, and after determining the second terminal that receives the credential, the short-distance communication connection between the first terminal and the second terminal may be disconnected; or after the second terminal determines that the first terminal is the one that sends the credential, the short-distance communication connection between the first terminal and the second terminal may be disconnected; for another example, the short-distance communication connection between the first terminal and the second terminal may also exist throughout the entire process of credential transfer.

[0061] The second terminal that establishes a short-distance communication connection with the first terminal may be a second terminal that establishes a short-distance communication connection with the first terminal during the process of the user performing a transfer-out operation in the first terminal, or the second terminal may be a second terminal that has established a short-distance communication connection with the first terminal before the user performs the transfer-out operation. In practical applications, the timing of establishing a short-distance communication connection may be set according to actual needs.

[0062] Step 206: Displaying a transfer-out visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page.

[0063] In the embodiments of this specification, based on the transfer operation performed by the user, the transfer visual effect of transferring the target electronic certificate can be displayed in the certificate transfer page of the first terminal. From the user's perspective, the user can more intuitively feel that the electronic certificate has been transferred out of the first terminal. For example, the first terminal can display an animation effect of transferring the target electronic certificate, which can be used to give the user a visual effect of the target electronic certificate moving out of the first terminal. For another example, the page of the first terminal can also display identification information representing the first terminal and the second terminal. The first terminal can display an animation effect of transferring the target electronic certificate from the identification information of the first terminal to the identification information of the second terminal. The identification information can be an image that conforms to the shape of the terminal or it can be identification information of the terminal login user, such as information in the form of an avatar and / or nickname.

[0064] The roll-out visual effect displayed in the credential transfer page may be displayed after the user performs the roll-out operation, or the roll-out visual effect displayed in the credential transfer page may be displayed during the user's roll-out operation. The display timing of the roll-out visual effect may be set according to actual needs. In actual applications, the first terminal may display a roll-out visual effect consistent with the direction of the roll-out operation based on the operation direction of the roll-out operation.

[0065] In actual applications, after obtaining the user's transfer operation, the first terminal can send a request to the server, and the server generates information for displaying the transfer visual effect and feeds it back to the first terminal, so that the first terminal displays the visual effect of transferring the target electronic certificate in the certificate transfer page.

[0066] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some steps can be omitted or deleted.

[0067] Figure 2 In the method, the user performs a transfer operation on the target electronic certificate on the certificate transfer page, and the target electronic certificate can be transferred to the second terminal that establishes a short-distance communication connection with the first terminal, and the certificate transfer page can also display a transfer visual effect of transferring the target electronic certificate from the first terminal. This can simplify user operations, enhance user visual effects, reduce the possibility of user misoperation, and improve user experience.

[0068] In addition, in the embodiment of the present specification, the first terminal can transfer the target electronic certificate to the second terminal that establishes a short-range communication connection with the first terminal. The embodiment of the present specification provides a method for face-to-face transfer of electronic certificates. For example, electronic tickets can be transferred face-to-face. From the user's perspective, the user will feel that the physical transfer is carried out through the mutual induction between the terminals, which is interesting and can effectively increase the interaction between users.

[0069] based on Figure 2 The method, the examples of this specification also provide some specific implementation plans of the method, which are described below.

[0070] In order to improve the user experience and make the user feel that the electronic certificate is transferred to the second terminal through his own operation, the above transfer operation may include the operation of moving the target electronic certificate. The user can draw a moving track with the fingers or other joints on the certificate transfer page, and the page can display the visual effect of the target electronic certificate moving along the moving track generated by the user operation. The above transfer visual effect of displaying the transfer of the target electronic certificate from the first terminal on the certificate transfer page may specifically include:

[0071] Based on the movement track of the user on the credential transfer page, a visual effect of the target electronic credential moving along the movement track is displayed.

[0072] After the user determines the target electronic certificate to be transferred, the user can perform operations such as dragging and swiping on the electronic certificate. The first terminal can obtain the location information of the user's operation in the certificate transfer page. The first terminal or the server can determine the movement trajectory generated by the user's operation based on the location information, and then the first terminal can display the visual effect of moving the target electronic certificate along the movement trajectory.

[0073] In actual applications, the user can also transfer the target electronic certificate by tilting the first terminal in a preset direction, and the certificate transfer page can display the visual effect of moving the target electronic certificate out of the first terminal along the tilted direction of the first terminal. The user can visually feel that the target electronic certificate is dumped out of the first terminal. The user can also determine the target electronic certificate to be transferred out by clicking, long pressing, double-clicking, drawing a circle, etc. For example, when the user clicks on the display area of ​​a certain electronic certificate, the terminal or server can determine that the electronic certificate is the electronic certificate confirmed to be transferred by the user, and the certificate transfer page can display the visual effect of transferring the electronic certificate.

[0074] In order to facilitate user operations, the credential transfer page may include identification information representing the electronic credential. Optionally, the credential transfer page may include credential identification information for representing the target electronic credential; the credential identification information is information in at least one of a picture form, a virtual image form, and a text form; the above-mentioned obtaining the user's transfer-out operation on the credential transfer page for the target electronic credential to be transferred out may specifically include: obtaining the user's transfer-out operation on the credential transfer page for the credential identification information of the target electronic credential to be transferred out.

[0075] The voucher transfer page may include a picture representing the electronic voucher, which may include the main information of the electronic voucher, such as information about the target object, validity period information, usage location information, etc., such as picture information of the singers at the concert, time and location information of the concert, etc.

[0076] The electronic voucher can also be represented in the form of text in the voucher transfer page, such as text bars, cards, business cards, etc. And / or, the electronic voucher can also be represented in the form of a virtual image in a regular or irregular shape such as a star, raindrop, or sphere in the voucher transfer page. And / or, the electronic voucher can also be represented in the form of a virtual image corresponding to the characteristics of the electronic voucher in the voucher transfer page. For example, if the electronic voucher is a concert ticket, the voucher transfer page can display a virtual image of the concert venue, and / or, the voucher transfer page can also display a cartoon virtual image of the singer, etc. to represent the electronic voucher. If the electronic voucher is a usable resource such as a coupon, the electronic voucher can be represented in the voucher transfer page with virtual images such as red envelopes and cards. In actual applications, the specific form displayed on the voucher transfer page can be set according to actual needs, and no specific limitation is made here.

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

[0078] Correspondingly, the above-mentioned visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page may specifically include: based on the movement trajectory of the user toward the transfer-out determination area on the certificate transfer page, displaying the visual effect of the target electronic certificate moving toward the transfer-out determination area.

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

[0080] In actual applications, the user can drag the target electronic certificate to the transfer-out determination area, or the user can also drag the target electronic certificate to a position intersecting with the transfer-out determination area, that is, the user can move the target electronic certificate as a whole to the transfer-out determination area or move the target electronic certificate to a position that completely covers the transfer-out determination area, or there is no need to move the target electronic certificate as a whole to the inside of the transfer-out determination area or move the target electronic certificate to a position that completely covers the transfer-out determination area, and only needs to drag the target electronic certificate to a position intersecting with the transfer-out determination area. As an implementation method, if the user does not operate after dragging the target electronic certificate to a position intersecting with the transfer-out determination area, or does not operate after moving the target electronic certificate in a specified direction for a distance greater than or equal to a preset threshold, the terminal can continue to display the visual effect of moving the target electronic certificate out of the first terminal.

[0081] In actual applications, if the user moves the target electronic certificate to the transfer-out determination area, before the target electronic certificate moves to the transfer-out determination area or when the intersection area between the display area of ​​the target electronic certificate and the transfer-out determination area is less than a preset threshold, the user moves the target electronic certificate back, and the certificate transfer page can also display a visual effect of restoring the target electronic certificate. If the animation effect of transferring part of the target electronic certificate to the second terminal has been displayed in the second terminal as the target electronic certificate moves in the first terminal, when the user of the first terminal moves the target electronic certificate back, the animation effect of withdrawing the electronic certificate can also be displayed in the second terminal.

[0082] To further ensure the accuracy of the credential transfer, the credential transfer page may also include identification information of the user of the second terminal that receives the electronic credential to be transferred, for example, the identification information may be at least one of a user nickname, a user avatar, a user name, etc. As an implementation, the transfer confirmation area may also display the user identification information of the terminal user of the second terminal.

[0083] Figure 3 Schematic diagram of a credential transfer page provided in an embodiment of this specification. Figure 3 As shown, the certificate transfer page includes several transferable electronic certificates 302. The transferable electronic certificates 302 may be one or more. Figure 3 The target electronic certificate is one or more of several transferable electronic certificates.

[0084] The voucher transfer page may also include a transfer-out determination area 304. The transfer-out determination area 304 may indicate the area to which the electronic voucher is transferred. The user may drag the target electronic voucher to be transferred to the transfer-out determination area 304, or the user may swipe the target electronic voucher to be transferred in the direction of the transfer-out determination area 304, such as swiping right on voucher A. The voucher transfer page may display an animation effect of voucher A moving to the right transfer-out determination area 304, or may display an animation effect of voucher A being sucked into the transfer-out determination area 304.

[0085] The transfer-out determination area 304 may also include identification information of the user of the second terminal, for example, the identification information may be a nickname, such as information of "Xiao Ming". And / or, the transfer-out determination area 304 may also display information such as an avatar of the user of the second terminal, so that the user of the first terminal can confirm the user who receives the voucher.

[0086] In actual applications, 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 credential, and the user identification of the second terminal can be displayed in the credential transfer page of the first terminal. The first terminal and the second terminal can be equipped with the same terminal application, such as APP, applet, etc. The target electronic credential to be transferred is a transferable electronic credential held by a user account logged in to 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 to the terminal application in the second terminal.

[0087] The user can transfer one or more credentials to a second terminal. Figure 3 As shown, the user can draw voucher A into the transfer-out determination area, and can also continue to draw voucher C into the transfer-out determination area, so that the first terminal transfers both voucher A and voucher C to the second terminal. If the first terminal establishes a short-distance communication connection with multiple second terminals at the same time or at different times, the user identification information of multiple second terminals can be displayed in the voucher transfer page of the first terminal. The user identification information of each second terminal can be gradually displayed in the voucher transfer page, for example, the user identification information of each second terminal can be displayed according to the time sequence of the establishment of the short-distance communication connection between the second terminal and 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 respectively, such as the user can draw voucher A to the user identification "Xiaohong" of a second terminal M, and draw voucher B and voucher C to the user identification "Xiaoming" of another second terminal N, and then the first terminal can give voucher A to the user of the second terminal M, and voucher B and voucher C to the user of the second terminal N.

[0088] The position of the transfer-out determination area can also be determined according to the relative position of the second terminal and the first terminal. As an implementation method, the transfer-out determination area can be located at the edge of the page close to the second terminal in the credential transfer page. If the second terminal is located on the right side of the first terminal, the transfer-out determination area can be located at the right edge of the credential transfer page; if the second terminal is located on the left side of the first terminal, the transfer-out determination area can be located at the left edge of the credential transfer page.

[0089] The credential transfer page may also include a prompt message 306 to prompt the user how to transfer out the credential, such as the words "swipe right to transfer out". The specific content of the prompt message 306 can also be determined according to the relative position of the second terminal and the first terminal. As an implementation method, the content of the prompt message may be a prompt message prompting the user to swipe in the direction of the second terminal. If the second terminal is located on the right side of the first terminal, a prompt message prompting the user to swipe right may be displayed, and the corresponding transfer determination area may be located at the right edge of the credential transfer page; if the second terminal is located on the left side of the first terminal, a prompt message prompting the user to swipe left may be displayed, and the corresponding transfer determination area may be located at the left edge of the credential transfer page. In actual applications, the second terminal may also be located above, below, in the upper left corner, or in the lower right corner of the first terminal, and may also generate corresponding prompt messages or transfer determination areas, which are not listed here one by one.

[0090] If there are multiple second terminals near the first terminal, the credential 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. If the left side of the first terminal is the second terminal M, and the second terminal N appears 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 credential transfer page, and the user identification of the second terminal N can be displayed on the right side of the credential transfer page. The credential transfer page can also display prompt information prompting the user to operate in the direction of each second terminal, such as a prompt information that says "Swipe the credential to each friend to transfer it."

[0091] Figure 4 Schematic diagram of a roll-out visual effect provided in the embodiments of this specification. Figure 4 As shown, after the user performs a transfer-out operation, such as swiping right on voucher C, or dragging voucher C to the right, an animated visual effect of moving voucher C out of the first terminal may be displayed in the voucher transfer page.

[0092] In actual applications, a voucher identification information can be used to represent one or more electronic vouchers in the voucher transfer page. Specifically, a voucher identification information can be used to represent one or more electronic vouchers of the same object, and the number of electronic vouchers represented by the voucher identification information can also be displayed in the voucher identification information. Figure 3As shown, assuming that voucher C represents a ticket for a concert, if the user holds multiple tickets for the concert, such as 2 tickets, a voucher identification information for the concert can be displayed in the voucher transfer page, such as Figure 3 The voucher C in the example can represent two concert tickets, and a picture can be used to represent two concert tickets on the voucher transfer page. Users can transfer multiple electronic vouchers for the same object at one time. Figure 3 as well as Figure 4 As shown, assuming that the user needs to transfer voucher C, voucher C represents two tickets for a concert. The user swipes right on the displayed voucher C to transfer the two tickets for the concert to the second terminal.

[0093] The user can also transfer out one electronic voucher at a time, for example, the user can transfer one concert ticket to the second terminal by swiping right on the displayed voucher C. In the embodiments of this specification, if the voucher identification information displayed on the voucher transfer page represents multiple electronic vouchers, the voucher transfer page can display the voucher identification information after the quantity changes based on the user's transfer operation on the target electronic voucher. For example, the voucher C can still be displayed on the voucher transfer page, but the number of vouchers displayed in voucher C changes from 2 to 1.

[0094] In the embodiments of this specification, the user can also select the number of vouchers to be transferred out. As an implementation method, after the user selects the target electronic voucher to be transferred out in the voucher transfer page, the user performs operations such as clicking, double-clicking, and long pressing on the display area of ​​the target electronic voucher, which can indicate that the user has selected the target electronic voucher to be transferred out. The voucher transfer page can display a quantity setting area, such as in the display area of ​​the target electronic voucher or around the display area or other locations, and the area where the quantity can be set can be displayed in the form of a pop-up window, a text bar, a dialog box, etc. The user can fill in or select the quantity. After the user determines the number of vouchers to be transferred out, the user can perform the transfer operation to transfer out the determined number of vouchers.

[0095] In the embodiments of this specification, the voucher transfer page can also display the voucher identification information of each voucher. If the user holds multiple electronic vouchers for the same object, the voucher identification information of the multiple electronic vouchers can also be displayed in the voucher transfer page. One voucher identification information can represent one electronic voucher, such as the voucher identification information of multiple electronic vouchers can be displayed in a stacked manner. A user can transfer out one electronic voucher by performing a transfer operation. Continuing with the above example, assuming that the user holds two tickets for a concert, the voucher transfer page can display the voucher identification information of two electronic vouchers representing the concert tickets. The displayed content of the two voucher identification information can be the same or different. The user can select one voucher identification information to perform a transfer operation, such as swiping right to transfer a ticket to the second terminal. If the user wants to continue to transfer the voucher to the second terminal, he can continue to perform the transfer operation, such as transferring another ticket for the concert or other electronic vouchers to the second terminal.

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

[0097] In actual applications, to facilitate user operation, the homepage or other pages of the terminal application may include a control for displaying the credential transfer page. Optionally, the method in the embodiment of this specification may also include:

[0098] Get the roll-out trigger operation performed by the user;

[0099] The certificate transfer page containing several transferable electronic certificates is displayed.

[0100] The transfer-out triggering operation may be an operation by a user on a control for displaying a credential transfer page in a display page of the first terminal, or the transfer-out triggering operation may be an operation on a predefined operation button in the first terminal.

[0101] A transferable electronic certificate is a certificate that is allowed to be transferred to other users for use. The introduction information or usage information of the electronic certificate usually includes information such as the validity period, usage location, precautions, etc. of the electronic certificate, which may include information indicating whether the certificate can be transferred or donated.

[0102] As an implementation mode, the first terminal can send a request to the server based on the transfer trigger operation. The server can determine the information of the transferable electronic certificate held by the user of the first terminal based on the request. The server can also generate the certificate transfer page information and send it to the first terminal. The first terminal can display the certificate transfer page.

[0103] To facilitate users to manage their electronic certificates, terminal applications usually have a certificate list page that can display the electronic certificates held by the user, such as a wallet page, a card package page, a red envelope page, etc. The above transfer trigger operation can be an operation performed on the certificate list page.

[0104] Figure 5 This is a schematic diagram of a credential list page provided in an embodiment of this specification. Figure 5 As shown, the voucher list page may include voucher information 502 of each voucher held by the user of the first terminal, and the voucher list page may also include a transfer trigger control 504. The transfer trigger control 504 may also include information such as the control name so that the user can understand the function of the control, such as words such as "transfer my ticket". If the user clicks the transfer trigger control 504, it may indicate that the user has performed a transfer trigger operation, and the first terminal may display a voucher transfer page.

[0105] In actual applications, the credential list page can display the credentials held by the user, and the credentials can include credentials to be used, or can also include information such as historical credentials, expired credentials, and at least one of used credentials. The credential list page can give priority to displaying credentials to be used.

[0106] In the embodiments of this specification, the transferable electronic voucher may be a voucher that can be used, such as a voucher within the validity period, or an unused voucher, etc. The electronic voucher may be a voucher that can be used through electronic devices such as terminals, and may be a voucher in various scenarios, such as concert tickets, sports event tickets, scenic spot tickets, etc. It may also be a voucher representing resources such as an electronic coupon or an electronic red envelope, or a ticket for travel, such as a ticket for taking a scenic train, bus, subway, train, airplane, or other transportation means, or a ticket for participating in some activities.

[0107] Optionally, in the embodiments of this specification, the target electronic certificate may include an unused and valid electronic certificate, which may include at least one of an electronic certificate for participating in leisure and entertainment activities, an electronic certificate for participating in competition activities, an electronic certificate for travel, and an electronic certificate for indicating preferential information enjoyed.

[0108] like Figure 5 As shown, the voucher list page may also include at least one voucher-related information of the quantity information of each voucher, the time information of obtaining the voucher, the voucher object information, the voucher usage time, and the usage location.

[0109] To improve the user experience, the credential transfer page can dynamically display the transferable electronic credentials. As an implementation, the credential transfer page containing a plurality of transferable electronic credentials can specifically include: displaying an animation effect of loading a plurality of transferable electronic credentials into the credential transfer page in a preset order on the credential transfer page.

[0110] Among them, the preset order includes at least one of the following orders: an order obtained based on the validity period of the certificate; an order obtained based on the time when the user of the first terminal obtains the certificate; an order obtained based on the preference of the user of the first terminal; an order obtained based on the matching degree between the usable time of the certificate and the current time; and an order obtained based on the popularity of the object corresponding to the certificate.

[0111] Each transferable electronic certificate can be loaded from the bottom of the page, or from the top, left, right, middle or corner, and can be set according to actual needs.

[0112] In actual applications, the server can determine the validity period, acquisition time and other information of the certificate based on the relevant information of each certificate, and can also generate an animation effect of loading each certificate in order based on the user's authorization and the user's preference information, and send it to the first terminal for display. For example, the server can sort the various transferable certificates in the order of acquisition time according to the information obtained by the certificate, so that the certificate transfer page can first load the first obtained certificate and then load the latest obtained certificate, or the certificate transfer page can also be loaded in the opposite order. For example, the certificate transfer page can first load the certificate with a longer validity period at the current time, and then load the certificate with a closer validity period, or the certificate transfer page can also load the certificate with a closer validity period first and then the certificate with a longer validity period. For another example, the voucher transfer page can first load or later load vouchers that have a high degree of match with the user's preference; for another example, the voucher transfer page can first load or later load vouchers related to the current hot event, such as when the user performs the transfer trigger operation, it is during the period of a sports meeting, if the user holds a ticket for the sports meeting or a ticket for an event related to the sports meeting, the voucher transfer page can first load the voucher related to the sports meeting, or the voucher transfer page can load the voucher related to the sports meeting later, so that the voucher can be displayed on the upper layer of other vouchers. The specific loading order can be set according to actual needs and is not specifically limited here.

[0113] To improve user experience, after the user of the first terminal transfers the voucher, the first terminal may also display information indicating the transfer result, such as the first terminal may display prompt information in at least one of application notification, pop-up window, SMS, etc. Optionally, the method in the embodiment of this specification may further include: displaying prompt information including the transfer result.

[0114] The specific prompt information may include result information indicating that the transfer is successful, or may also be result information indicating that the transfer is unsuccessful. In actual applications, if the second terminal uses the electronic certificate transferred by the first terminal, the first terminal may also obtain prompt information indicating that the certificate is used, and / or the first terminal may also obtain thank you information from the user of the second terminal to the user of the first terminal for transferring the certificate. The thank you information may be set by the user of the second terminal, or may be generated by the server based on the authorization of the user of the second terminal.

[0115] Based on the same idea, the embodiments of this specification also provide a method in which the second terminal is the execution subject. Figure 6The flowchart of a method for obtaining a credential provided in an embodiment of this specification is shown in FIG. From a program perspective, the execution subject of the process may be a program installed on a second terminal. From a functional perspective, the program may include a terminal application, a system software program, etc. From a hardware perspective, the execution subject of the process includes a second terminal. The second terminal may be a mobile terminal such as a smart phone, a tablet computer, a smart watch, or a portable game console; or the second terminal may also be an electronic ticketing terminal or a commodity sales terminal, etc.

[0116] like Figure 6 As shown, the process may include the following steps.

[0117] Step 602: Establish a short-range communication connection with a first terminal.

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

[0119] Among them, the first terminal is a terminal that transfers out the target electronic certificate based on the user's transfer-out operation. Specifically, the electronic certificate can be transferred out in the manner described in the above embodiment. For details, please refer to the description in the above embodiment, which will not be repeated here.

[0120] Step 604: Displaying a credential transfer page, in which a visual effect of transferring the target electronic credential to the second terminal is displayed.

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

[0122] In the embodiment of the present specification, after the second terminal establishes a short-distance communication connection with the first terminal, a credential transfer page can be displayed, and the visual effect of the target electronic credential transfer can be displayed on the credential transfer page, which can enhance the user's visual effect and improve the user experience.

[0123] In addition, in the embodiment of 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 certificate transferred by the first terminal. The embodiment of the present specification provides a method for face-to-face transfer of electronic certificates, for example, face-to-face transfer of electronic tickets. From the user's perspective, the user will feel that the physical transfer is carried out through mutual induction between the terminals, which is interesting and can effectively increase interaction between users.

[0124] It should be noted that the first terminal can also implement the solution provided in this specification by itself. If the second terminal itself does not support the previous visual effect presentation, for example, the second terminal has not been upgraded accordingly, or the second terminal may not even have a display screen facing the user, then the corresponding visual effects can be presented only on the first terminal. In this way, it still helps to improve the user experience to a certain extent, while also improving the flexibility and scope of application of the solution.

[0125] Figure 7 A schematic diagram of a voucher transfer page provided in an embodiment of this specification, such as Figure 7 As shown, the page can dynamically display the visual effect of the target electronic certificate being transferred to the second terminal. Specifically, the page can display the process of moving the target electronic certificate from the designated edge of the display page of the second terminal to the display page, and from the user's perspective, it can feel as if the electronic certificate enters the second terminal from a certain direction. For example, it flies in, jumps in, flashes into the second terminal, etc.

[0126] As an implementation mode, the second terminal can display the visual effect of the transferred-in credential based on the visual effect of the transferred-out credential of the first terminal. The visual effect of transferring the target electronic credential into the second terminal may specifically include: the visual effect of transferring the target electronic credential from a preset edge of the second terminal; the preset edge is close to the edge of the first terminal from which the target electronic credential is transferred out.

[0127] For example, assuming that the first terminal and the second terminal are placed in the same direction, the second terminal is located on the right side of the first terminal, and the user transfers the voucher out by swiping right in the first terminal, the second terminal can display a visual effect of the voucher being swiped in from the left side of the second terminal and moving to the right. For another example, if the second terminal is located at the bottom of the first terminal, and the user transfers the voucher out by swiping downward in the first terminal, the first terminal displays a visual effect of the voucher being transferred out from the bottom of the first terminal, and the second terminal can display a visual effect of the voucher being transferred in from the top of the second terminal.

[0128] If the placement directions of the first terminal and the second terminal are inconsistent, such as the top of the first terminal is close to the top of the second terminal, the user transfers the credential out by swiping toward the top in the first terminal, and the first terminal can display a visual effect of the credential transferring out from the top edge of the first terminal, and the second terminal can display a visual effect of the credential entering from the top edge of the second terminal.

[0129] It can be understood that the above are only a few examples. In actual applications, the visual effect of the display can be determined according to the relative positions of the first terminal and the second terminal. There is no specific limitation here, as long as the visual effect of showing that the credential is transmitted from the first terminal to the second terminal can be displayed.

[0130] In the embodiment of this specification, the second terminal can also synchronously display the transfer-in visual effect based on the transfer-out visual effect displayed in the first terminal, which can further improve the user experience. Optionally, in the embodiment of this specification, the visual effect of transferring the target electronic certificate to the second terminal can be linked with the visual effect of transferring the target electronic certificate out of the first terminal to transfer the visual effect of the target electronic certificate.

[0131] For example, the first terminal's credential transfer page dynamically displays the visual effect of the target electronic credential being transferred out of the first terminal. At a certain moment, the first terminal displays part of the target electronic credential information, such as part of an image or part of a virtual image, and the other part of the information has been transferred out of the first terminal. At this time, the second terminal can display the other part of the target electronic credential that has been transferred out of the first terminal. In this way, the first terminal and the second terminal can display the visual effect of the linked transfer of the target electronic credential, so that the user can feel that the credential in the first terminal is transferred to the second terminal.

[0132] As an implementation mode, the page of the second terminal may also display the identification information of the first terminal and the second terminal, and the second terminal may also display an animation effect of transferring the target electronic certificate from the identification information of the first terminal to the identification information of the second terminal. The identification information may be an image that conforms to the shape of the terminal, or may be the identification information of the user logged in to the terminal, and the identification information of the logged in user may be at least one of the information in the form of an avatar, a nickname, etc.

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

[0134] In order to allow the user to use the received certificate more conveniently, the second terminal may further display a certificate information page; the certificate information page includes a code image for representing the target electronic certificate.

[0135] Among them, if the target electronic certificate is fully displayed in the certificate transfer page, the second terminal can display the certificate information page. The certificate information page and the certificate transfer page can be the same page or different pages, which can be set according to actual needs. The code image can include a code image in the form of a QR code, a barcode, a 3D code, etc. The recognition device can identify the information of the target electronic certificate by scanning the code image. For example, the second terminal user can participate in activities such as concerts by presenting the code image.

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

[0137] Figure 7 FIG. 1 is a schematic diagram of a credential information page provided in an embodiment of this specification. Figure 7 As shown, the page may include a code image 702 representing the target electronic certificate, and may also include coding information, etc. The page may also include key information 704 of the certificate, such as the object, usage time, and usage location of the certificate. The page may also include relevant information 706 of the user of the second terminal. The relevant information 706 may be user information of the user who logs in to the terminal application in the second terminal, such as name, nickname, ID number, phone number, and other information.

[0138] If the target electronic voucher is a voucher purchased by the user of the first terminal or another user who transfers the voucher to the user of the first terminal, the voucher information page may also include voucher price information 708. The specific value of the price information 708 may be the amount of resources actually paid by the purchaser or the selling price of the voucher. The voucher information page may also include information 710 indicating the voucher quantity, such as information such as 1 piece, 2 pieces, and information such as 1 / 1, 1 / 2, etc.

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

[0140] In the embodiment of this specification, if the second terminal obtains multiple electronic certificates, the second terminal can also display the relevant information of each certificate. Optionally, in the embodiment of this specification, if the target electronic certificate includes the first electronic certificate and the second electronic certificate, the above-mentioned display certificate information page can specifically include:

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

[0142] If a credential switching operation performed by the user is acquired, a credential information page including credential information of the second electronic credential is displayed.

[0143] The credential information page can contain operation controls for switching the display of various credentials, such as Figure 7 As shown in the control 712, if the user performs a credential switching operation, such as clicking the control 712, the credential information page may change from displaying the credential information of the first electronic credential to displaying the credential information of the second electronic credential.

[0144] Continuing with the above example, assuming that the user of the second terminal obtains two electronic tickets for a concert, the code image of one electronic ticket can be displayed first in the voucher information page, and if the user clicks on the control 712, the code image of the other electronic ticket can be displayed. Of course, the voucher information page can also include a control indicating a return to the previous voucher, such as a control displayed by "<". When the voucher information of the second electronic voucher is displayed in the voucher information page, a return control for returning to the previous voucher can also be displayed. If the user clicks on the control indicating a return to the previous voucher, the voucher information page can also display the voucher information of the first electronic voucher.

[0145] In actual applications, if the first electronic certificate and the second electronic certificate are electronic certificates for the same object, the certificate information of the first electronic certificate and the certificate information of the second electronic certificate displayed in the certificate information page may be partially the same, for example, the background pattern and the relevant information of the certificate object may be the same, and different code images may be displayed. If the certificate switching operation performed by the user is obtained, the code image of the second electronic certificate may be displayed in the certificate information page.

[0146] If the first electronic certificate and the second electronic certificate are electronic certificates for different objects, the certificate information page may display the certificate information of the first electronic certificate and the certificate information of the second electronic certificate with different image backgrounds or page structures.

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

[0148] In actual applications, after receiving the target electronic certificate, the second terminal may not immediately display the certificate information page, but end the transfer process, such as after the second terminal receives the target electronic certificate, it may display the page displayed in the second terminal before establishing short-distance communication with the first terminal. The user of the second terminal can also enter the certificate information page by viewing the certificate path, for example, through the ticket folder-my ticket-select the path of the target electronic certificate to view the electronic certificate held.

[0149] To improve the user experience, after displaying the page for transferring the voucher, the second terminal may also display a voucher reception confirmation page, where the user may choose to receive the voucher or refuse to receive the voucher. Optionally, the method in the embodiment of this specification may further include: displaying a voucher reception confirmation page; the voucher reception confirmation page includes at least one of a first control for receiving the voucher and a second control for refusing to receive the voucher.

[0150] The displaying of the credential information page may specifically include: if a confirmation reception operation performed by the user based on the credential reception confirmation page is obtained, then displaying the credential information page.

[0151] As an implementation method, the cover information of the certificate can be displayed in the certificate transfer page, and the specific information of the certificate can be displayed in the certificate reception confirmation page. For example, after the electronic certificate transmission is completed, the page displayed on the second terminal can be expanded from the certificate cover to an electronic certificate display page containing a QR code. The bottom of the page can include an operation area, and the user can choose to accept or reject according to the prompt.

[0152] Figure 8 Schematic diagram of a credential receiving confirmation page provided in an embodiment of this specification. Figure 8 As shown, the page may include a first control 802 for receiving a credential, and may also include a second control 804 for refusing to receive a credential.

[0153] In actual applications, the credential reception confirmation page may 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 a preset time, the second terminal or the server may determine that the user confirms to receive the target electronic credential. For another example, if the user clicks the second control within a preset time, or does not click the first control within a preset time, the second terminal or the server may determine that the user refuses to receive the target electronic credential.

[0154] If the user confirms receiving the target electronic certificate, the server may transfer the target electronic certificate to the second terminal. Specifically, the server may record the target electronic certificate as the certificate of the logged-in user of the second terminal, and the second terminal may display the certificate information page.

[0155] If the second terminal obtains the user's rejection operation based on the credential reception confirmation page, the second terminal can exit the credential transfer process. For example, the second terminal can display the page that the terminal was displaying before the credential was transferred, or the homepage of the terminal application that received the credential, or a page without any application started, etc.

[0156] In actual applications, if the second terminal obtains the confirmation reception operation performed by the user based on the credential reception confirmation page, the second terminal can also exit the credential transfer process. The second terminal can also display the page displayed by the terminal before the credential transfer page, the homepage of the terminal application receiving the credential, and the page without starting any application.

[0157] If the second terminal obtains a rejection or confirmation operation performed by the user based on the credential reception confirmation page, the second terminal may also display prompt information indicating rejection or confirmation.

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

[0159] In actual applications, the voucher reception confirmation page may also display information of the target electronic voucher displayed on the voucher transfer page, such as pictures, text, virtual images, and other types of information. For example, the voucher reception confirmation page may not display the code image, but may display information such as a picture or virtual image representing the target electronic voucher displayed on the voucher transfer page. Whether the content displayed on the voucher reception confirmation page is consistent with the page displayed on the voucher transfer page can also be set according to actual needs, and is not specifically limited here.

[0160] Based on the same idea, the method of credential transfer in the embodiments of this specification uses the server as the execution entity. Fig. 9 The flowchart of a method for transferring a certificate provided in an embodiment of this specification is shown in FIG. The execution subject of the flowchart may be a program installed on a server.

[0161] like Fig. 9 As shown, the process may include the following steps.

[0162] Step 902: Obtain a transfer request for a target electronic certificate to be transferred sent by the first terminal.

[0163] The transfer-out request is generated based on a transfer-out operation performed by a user of the first terminal on a certificate transfer page for the target electronic certificate.

[0164] Step 904: Based on the transfer-out request, the target electronic certificate is transferred to a second terminal that has established a short-range communication connection with the first terminal.

[0165] In actual applications, the second terminal can be equipped with a terminal application, and the server can handle related services of the terminal application. After the server obtains the transfer request of the first terminal for the target electronic certificate, the server can establish a correspondence between the second terminal and the target electronic certificate, and can also establish a correspondence between the target electronic certificate and the login user of the second terminal or the login user of the terminal application, indicating that the target electronic certificate has been transferred to the second terminal, and the user of the second terminal has the authority to use the target electronic certificate.

[0166] In actual applications, the effect pages displayed in the first terminal and the second terminal may also be generated by the server. Optionally, the method in the embodiment of this specification may further include:

[0167] A visual effect of transferring the target electronic certificate from the first terminal is generated and sent to the first terminal.

[0168] The server may generate a visual effect of transferring the target electronic certificate from 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 certificate and swipes right, the server may generate a visual effect of transferring the certificate to the right based on the user's operation direction or operation path, and send the visual effect to the first terminal, so that the first terminal can display the visual effect of transferring the certificate.

[0169] Optionally, the method in the embodiments of this specification may further include:

[0170] A visual effect of transferring the target electronic certificate to the second terminal is generated and sent to the second terminal.

[0171] After the second terminal triggers the process of receiving the certificate, it can send a request to the server. The server can generate information about the visual effect of transferring the target electronic certificate to the second terminal and send it to the second terminal, so that the second terminal can display the page effect of the certificate transfer.

[0172] In actual applications, the server can generate a visual effect of a voucher transfer-in displayed in the second terminal based on the visual effect of the voucher transfer-out 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 the linked transfer voucher. Other related technologies can also be used for implementation, which will not be repeated here.

[0173] The credential list page, credential information page, credential receipt confirmation page, and other pages displayed in the first terminal and the second terminal may also be pages generated by the server executing the credential transfer process.

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

[0175] In order to more clearly illustrate the method of transferring and receiving credentials provided in the embodiments of this specification, the following is an example of transferring performance tickets based on NFC communication. Assume that the user of the first terminal purchases a ticket for a concert online, but cannot attend for some reason and wants to transfer the ticket to a friend.

[0176] The user of the first terminal checks the tickets he holds through the corresponding application, and the first terminal can display the voucher list page, as described above. Figure 5. If the user clicks "Transfer my ticket", the first terminal obtains the credential transfer trigger operation performed by the user. Based on this operation, the first terminal sends a credential transfer trigger request to the server. The server can generate NFC tag information for triggering nearby terminals to start the credential transfer process, and feed it back to the first terminal. The first terminal can simulate the NFC card mode to identify other nearby NFC communication terminals. The second terminal can be in reader mode. When the second terminal is close to the first terminal and is 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, a protocol handshake can be performed between the devices to determine communication parameters, such as the data transmission rate and protocol type used. The second terminal can read the NFC tag information of the first terminal.

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

[0178] After the first terminal obtains the credential 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 the credential transfer page, as described above. Figure 3 , the user can select the target electronic certificate to be transferred on the certificate transfer page. For example, after the user clicks "Transfer my ticket", the first terminal can display the certificate transfer page, and an animation can pop up at the bottom of the page, and the performance tickets will be listed. The user can swipe up and down to view the tickets currently supported for transfer, and can also select the concert tickets to be transferred.

[0179] The NFC tag information may also include identification information of the first terminal or the logged-in user of the first terminal. The server may also feed back the identification information of the logged-in user of the second terminal to the first terminal based on the identification information, so that the credential transfer page displayed by the first terminal may also include the identification information of the second terminal, such as avatar, nickname, etc.

[0180] After the user of the first terminal selects the ticket to be transferred and drags it to the area where the user logo of the second terminal is displayed for identification, the display area of ​​the ticket to be transferred can be automatically highlighted. At this time, the user can swipe right to transfer the electronic ticket remotely. Among them, the server can generate a visual effect page information for transferring the electronic ticket out of the first terminal and feed it back to the first terminal for display. At the same time or afterwards, the server can also generate a visual effect page information for transferring the electronic ticket into the second terminal and feed it back to the second terminal for display. For example, the second terminal interface can display the electronic ticket swiped in from the left to be transferred, and can also display information that the ticket is in the process of being received, and prompt the current ticket transmission status, as above. Figure 7 In this way, the process of ticket transfer can be displayed in the first terminal and the second terminal, and from the user's visual perspective, it seems that the physical certificate has entered the second terminal from the first terminal.

[0181] After the electronic ticket transmission is completed, if the electronic ticket transferred from the first terminal is fully displayed in the second terminal, the second terminal can display a voucher transfer confirmation page that expands from the ticket performance cover to the electronic ticket display page containing a QR code. There can be an operation area at the bottom of the page, and the user can choose to accept or reject according to the prompt. If the user of the second terminal confirms to accept, the server can mark the performance ticket transferred from the first terminal as owned by the user of the second terminal. The user of the second terminal can enter his or her ticket folder to view and confirm the details of the ticket just received. The second terminal can display the voucher information page, as mentioned above. Figure 7 .

[0182] The above embodiments are described by taking the first terminal as an NFC card or tag terminal and the second terminal as a card reader terminal as an example. In practical applications, the first terminal can also be used as a card reader terminal and the second terminal can be simulated as a card terminal. The first terminal and the second terminal can also establish short-distance communication in other ways.

[0183] In actual applications, in order to facilitate user operations, the credential information page may also include a control for payment. If the user operates the control, the payment process can be triggered. For example, if the second terminal obtains the payment operation performed by the user based on the credential information page, the second terminal can send a payment request for the target electronic credential to the server, and the server can generate order information and feedback to the second terminal. After the user confirms, the server can execute the process of the second terminal paying the first terminal for the resources required for the credential. This makes it easier for the user of the second terminal to pay the first terminal user who transferred the credential for the resources required for the credential, and can also simplify the operation of the second terminal user.

[0184] It is understandable that in the embodiments of this specification, the credential transfer process can be triggered by short-distance communication. As an implementation method, after the first terminal determines the nearby second terminal, or the server determines that the first terminal is the credential transferor and the second terminal is the credential receiver, 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, and 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 a state close to the terminal for a long time, which can also improve the user experience.

[0185] Of course, in actual applications, when the first terminal displays the visual effect of credential transfer-out in the credential transfer page and the second terminal displays the visual effect of 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.

[0186] In actual applications, the first terminal may be equipped with a terminal application, and the credentials may be transferred through the terminal application. The second terminal may also be equipped with the terminal application, and the user who logs into the terminal application in the second terminal may be a friend of the user who logs into the terminal application in the first terminal, and the first terminal may transfer the credentials to the friend. The friend may indicate that the first terminal user and the second terminal user are friends in the terminal application.

[0187] As an implementation method, after the first terminal establishes short-range communication with the second terminal, if the server determines that the logged-in user of the second terminal is not a user friend of the first terminal, the server can also generate a prompt message for adding a friend to the first terminal. The prompt message can be displayed in the first terminal, and the user of the first terminal can add the user of the second terminal as a friend based on the prompt message, and then transfer the credentials.

[0188] In actual applications, even if the first terminal user and the second terminal user do not have a friend relationship, the credentials can still be transferred, which is not specifically limited here.

[0189] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Fig.10 The embodiments of this specification provide corresponding to Figure 2 A schematic diagram of a device for transferring a certificate. Fig.10 As shown, the device may include:

[0190] The operation acquisition module 1002 is used to acquire the transfer operation of the user on the certificate transfer page for the target electronic certificate to be transferred out.

[0191] The transfer module 1004 is configured to transfer the target electronic certificate to a second terminal that has established a short-range communication connection with the first terminal based on the transfer-out operation.

[0192] The effect display module 1006 is used to display the transfer visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page.

[0193] based on Fig.10 The present specification also provides some specific implementation plans, which are described below.

[0194] The optional transfer-out operation includes an operation of moving the target electronic certificate; the effect display module can be specifically used to: based on the movement trajectory of the user on the certificate transfer page, display the visual effect of the target electronic certificate moving along the movement trajectory.

[0195] Optionally, the credential transfer page includes a transfer-out determination area; the operation acquisition module can be specifically used to: acquire the user's operation of moving the target electronic credential toward the transfer-out determination area.

[0196] The effect display module can be specifically used to: display the visual effect of the target electronic voucher moving toward the transfer-out determination area based on the movement trajectory of the user toward the transfer-out determination area on the voucher transfer page.

[0197] Optionally, the transfer-out determination area is also used to display user identification information of the terminal user of the second terminal; the user identification information includes at least one of a user nickname, a user avatar, and a user name.

[0198] Optionally, the credential transfer page includes credential identification information for representing the target electronic credential; the credential identification information is information in at least one form of picture, virtual image, and text; the operation acquisition module can specifically be used to: obtain the user's transfer operation on the credential transfer page for the credential identification information of the target electronic credential to be transferred.

[0199] Optionally, the credential transfer page includes several transferable electronic credentials; the target electronic credential is one or more of the several transferable electronic credentials; and the second terminal is one or more terminals that establish a communication connection with the first terminal.

[0200] Optionally, the roll-out 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 in a preset direction.

[0201] The device may also include a transfer trigger module, which is used to: obtain a transfer trigger operation performed by a user; and display the certificate transfer page containing a plurality of transferable electronic certificates.

[0202] Optionally, the display of the credential transfer page including a plurality of transferable electronic credentials may specifically include: 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.

[0203] Optionally, the preset order includes at least one of the following orders: an order based on the validity period of the credential; an order based on the time when the user of the first terminal obtains the credential; an order based on the preference of the user of the first terminal; an order based on the matching degree between the usable time of the credential and the current time; an order based on the popularity of the object corresponding to the credential.

[0204] Optionally, the target electronic certificate includes an electronic certificate that has not been used and is within the validity period.

[0205] Optionally, the target electronic certificate includes at least one of an electronic certificate for participating in leisure and entertainment activities, an electronic certificate for participating in competition activities, an electronic certificate for travel, and an electronic certificate for indicating preferential information enjoyed.

[0206] Optionally, the device may further include an information display module, configured to display prompt information including the transfer result.

[0207] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Fig.11 The embodiments of this specification provide corresponding to Figure 6 A schematic diagram of a device for obtaining a credential. Fig.11 As shown, the device may include:

[0208] The communication module 1102 is used to establish a short-distance communication connection with a first terminal; the first terminal is a terminal that transfers out a target electronic certificate based on a transfer-out operation of a user.

[0209] The page display module 1104 is used to display a credential transfer page, in which a visual effect of transferring a target electronic credential to the second terminal is displayed.

[0210] based on Fig.11 The present specification also provides some specific implementation plans, which are described below.

[0211] Optionally, the page display module is further used to: after displaying the received target electronic certificate in the certificate transfer page, display a certificate information page; the certificate information page includes a code image for representing the target electronic certificate.

[0212] Optionally, the page display module is also used to: after the credential transfer page displays the received target electronic credential, display 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.

[0213] Optionally, the displaying of the credential information page may specifically include: if a confirmation reception operation performed by the user based on the credential reception confirmation page is obtained, then displaying the credential information page.

[0214] Optionally, the voucher information page or the voucher reception confirmation page includes at least one of the object name information, code image information, voucher usage location information, voucher usage time information, voucher price information, and voucher quantity information of the target voucher.

[0215] Optionally, the device is also used to: exit the credential transfer process if a rejection reception operation performed by the user based on the credential reception confirmation page is obtained.

[0216] Optionally, if the target electronic credential includes a first electronic credential and a second electronic credential; the page display module can be specifically used to: display a credential information page containing the credential information of the first electronic credential; if a credential switching operation performed by the user is obtained, display a credential information page containing the credential information of the second electronic credential.

[0217] Optionally, the visual effect of transferring the target electronic certificate to the second terminal specifically includes: the visual effect of transferring the target electronic certificate from a preset edge of the second terminal; the preset edge is close to the edge of the first terminal from which the target electronic certificate is transferred out.

[0218] Optionally, the visual effect of transferring the target electronic certificate into the second terminal and the visual effect of transferring the target electronic certificate out of the first terminal are visual effects of linked transfer of the target electronic certificate.

[0219] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Fig.12 The embodiments of this specification provide corresponding to Fig. 9 A schematic diagram of a device for transferring a certificate. Fig.12 As shown, the device may include:

[0220] The request acquisition module 1202 is used to acquire a transfer request for a target electronic certificate to be transferred out sent by the first terminal; the transfer request is generated based on a transfer operation of the user of the first terminal on the certificate transfer page for the target electronic certificate.

[0221] The transfer module 1204 is configured to transfer the target electronic certificate to a second terminal that has established a short-range communication connection with the first terminal based on the transfer-out request.

[0222] based on Fig.12 The present specification also provides some specific implementation plans, which are described below.

[0223] Optionally, the device may further include a first effect generating module, configured to generate a visual effect of transferring the target electronic certificate from the first terminal, and send the visual effect to the first terminal.

[0224] Optionally, the device may further include a second effect generating module, configured to generate a visual effect of transferring the target electronic certificate to the second terminal, and send the visual effect to the second terminal.

[0225] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method.

[0226] Fig.13 A schematic diagram of a device for transferring and obtaining a credential is provided for the embodiment of this specification. Fig.13 As shown, the device 1300 may include:

[0227] at least one processor 1310; and,

[0228] A memory 1330 communicatively connected to 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 execute the above-mentioned method of credential transfer and / or method of credential acquisition.

[0229] Based on the same idea, the embodiment of this specification also provides a computer-readable medium corresponding to the above method. The computer-readable medium stores computer-readable instructions, which can be executed by a processor to implement the above credential transfer method and / or credential acquisition method.

[0230] Each embodiment in this specification is described in a progressive manner. The same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. Fig.13As for the device shown, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0231] In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with hardware entity modules. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, 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. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0232] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, 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, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.

[0233] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, 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.

[0234] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0235] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may 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-ROM, optical storage, etc.) containing computer-usable program code.

[0236] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0237] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0238] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0239] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0240] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0241] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. 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 technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0242] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0243] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. The present application may 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-ROM, optical storage, etc.) containing computer-usable program code.

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

[0245] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for transferring a credential, applied to a first terminal, comprising: Obtain the user's transfer operation on the certificate transfer page for the target electronic certificate to be transferred out; Based on the transfer-out operation, transferring the target electronic certificate to a second terminal that establishes a short-range communication connection with the first terminal; The visual effect of transferring the target electronic certificate from the first terminal is displayed on the certificate transfer page; wherein, the first terminal displays a transfer effect consistent with the direction of the transfer operation based on the direction of the transfer operation; at a certain moment in the transfer process, part of the information of the target electronic certificate is displayed in the first terminal, and another part of the information that the target electronic certificate has been transferred out of the first terminal is displayed in the second terminal.

2. The method according to claim 1, wherein the transfer operation includes an operation of moving the target electronic certificate; and the displaying of a transfer visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page specifically includes: Based on the movement track of the user on the credential transfer page, a visual effect of the target electronic credential moving along the movement track is displayed.

3. The method according to claim 2, wherein the credential transfer page includes a transfer determination area; and obtaining the transfer operation of the user on the credential transfer page for the target electronic credential to be transferred specifically includes: Acquiring an operation of a user moving the target electronic voucher toward the direction of the transfer-out determination area; The step of displaying the visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page specifically includes: Based on a movement track of the user on the credential transfer page toward the transfer-out determination area, a visual effect of the target electronic credential moving toward the transfer-out determination area is displayed.

4. According to the method of claim 3, the transfer-out determination area is also used to display user identification information of the terminal user of the second terminal; the user identification information includes at least one of a user nickname, a user avatar, and a user name.

5. The method according to claim 1, wherein the credential transfer page includes credential identification information for representing the target electronic credential; the credential identification information is information in at least one of a picture form, a virtual image form, and a text form; The obtaining of the transfer operation of the user on the credential transfer page for the target electronic credential to be transferred specifically includes: Obtain the user's transfer operation on the credential transfer page for the credential identification information of the target electronic credential to be transferred.

6. According to the method according to claim 1, the credential transfer page includes several transferable electronic credentials; the target electronic credential is one or more of the several transferable electronic credentials; the second terminal is one or more terminals that establish a communication connection with the first terminal.

7. The method according to claim 1, wherein the roll-out operation comprises 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 terminal in a preset direction.

8. The method according to claim 1, further comprising: Get the roll-out trigger operation performed by the user; The certificate transfer page containing several transferable electronic certificates is displayed.

9. The method according to claim 8, wherein the displaying of the certificate transfer page including a plurality of transferable electronic certificates specifically comprises: The credential transfer page displays an animation effect of loading a plurality of transferable electronic credentials into the credential transfer page in a preset order.

10. The method according to claim 9, wherein the preset sequence comprises at least one of the following sequences: Sort based on the validity period of the credential; A ranking based on the time when the user of the first terminal obtains the credential; A ranking based on preferences of a user of the first terminal; The ranking is based on the matching degree between the usable time of the voucher and the current time; The ranking is based on the popularity of the object corresponding to the credential. The method according to claim 1 , wherein the target electronic credential comprises an electronic credential that has not been used and is within a validity period.

12. According to the method of claim 1, the target electronic certificate includes at least one of an electronic certificate for participating in leisure and entertainment activities, an electronic certificate for participating in competition activities, an electronic certificate for travel, and an electronic certificate for indicating preferential information enjoyed.

13. The method according to claim 1, further comprising: Displays a prompt message containing the export results.

14. A method for obtaining a credential, applied to a second terminal, comprising: establishing short-range communication with the first terminal; The first terminal is a terminal for transferring out the target electronic certificate based on a transfer-out operation of the user; wherein the first terminal is used to display a transfer-out effect consistent with the direction of the transfer-out operation based on the direction of the transfer-out operation; A credential transfer page is displayed, in which a visual effect of transferring a target electronic credential to the second terminal is displayed; at a certain moment in the transfer process, a portion of information of the target electronic credential is displayed in the first terminal, and another portion of information indicating that the target electronic credential has been transferred out of the first terminal is displayed in the second terminal.

15. The method according to claim 14, further comprising: A credential information page is displayed; the credential information page includes a code image for representing the target electronic credential.

16. The method according to claim 15, further comprising: Displaying a credential receiving confirmation page; the credential receiving confirmation page includes at least one of a first control for receiving a credential and a second control for refusing to receive a credential; The page displaying credential information specifically includes: If a confirmation reception operation performed by the user based on the credential reception confirmation page is obtained, the credential information page is displayed.

17. According to the method of claim 16, the voucher information page or the voucher reception confirmation page includes at least one of the object name information, code image information, voucher usage location information, voucher usage time information, voucher price information, and voucher quantity information of the target electronic voucher.

18. The method according to claim 15, further comprising: If a rejection operation performed by the user based on the credential reception confirmation page is obtained, the credential transfer process is exited.

19. The method according to claim 15, if the target electronic credential includes a first electronic credential and a second electronic credential; the displaying the credential information page specifically includes: displaying a credential information page including credential information of the first electronic credential; If a credential switching operation performed by the user is acquired, a credential information page including credential information of the second electronic credential is displayed.

20. The method according to claim 14, wherein the visual effect of transferring the target electronic certificate to the second terminal specifically comprises: A visual effect of transferring the target electronic certificate from a preset edge of the second terminal; The preset edge is an edge close to the first terminal where the target electronic certificate is transferred out.

21. The method according to claim 14, wherein the visual effect of transferring the target electronic certificate into the second terminal and the visual effect of transferring the target electronic certificate out of the first terminal are visual effects of linked transfer of the target electronic certificate.

22. A method for transferring credentials, applied to a server, comprising: Obtaining a transfer request for a target electronic certificate to be transferred sent by the first terminal; The transfer request is generated based on a transfer operation performed by a user of the first terminal on a credential transfer page for the target electronic credential; the first terminal is used to display a transfer effect consistent with the direction of the transfer operation based on the direction of the transfer operation; Based on the transfer request, the target electronic certificate is transferred to a second terminal that establishes a short-distance communication connection with the first terminal; at a certain moment in the transfer process, part of the information of the target electronic certificate is displayed in the first terminal, and another part of the information that the target electronic certificate has been transferred out of the first terminal is displayed in the second terminal.

23. The method according to claim 22, further comprising: A visual effect of transferring the target electronic certificate from the first terminal is generated and sent to the first terminal.

24. The method according to claim 22, further comprising: A visual effect of transferring the target electronic certificate to the second terminal is generated and sent to the second terminal.

25. A device for transferring a certificate, comprising: An operation acquisition module, used to acquire a user's transfer operation on a certificate transfer page for a target electronic certificate to be transferred out; A transfer module, configured to transfer the target electronic certificate to a second terminal that has established a short-range communication connection with the first terminal based on the transfer-out operation; An effect display module is used to display a transfer visual effect of transferring the target electronic certificate from the first terminal on the certificate transfer page; wherein the first terminal is used to display a transfer effect consistent with the direction of the transfer operation based on the direction of the transfer operation; at a certain moment in the transfer process, a part of the information of the target electronic certificate is displayed in the first terminal, and another part of the information that the target electronic certificate has been transferred out of the first terminal is displayed in the second terminal.

26. A device for obtaining a credential, comprising: A communication module, used to establish a short-distance communication connection with the first terminal; The first terminal is a terminal for transferring out the target electronic certificate based on a transfer-out operation of the user; wherein the first terminal is used to display a transfer-out effect consistent with the direction of the transfer-out operation based on the direction of the transfer-out operation; The page display module is used to display a credential transfer page, in which the visual effect of transferring the target electronic credential to the second terminal is displayed; at a certain moment in the transfer process, part of the information of the target electronic credential is displayed in the first terminal, and another part of the information that the target electronic credential has been transferred out of the first terminal is displayed in the second terminal.

27. A device for transferring a certificate, comprising: A request acquisition module, used to acquire a transfer request for a target electronic certificate to be transferred out, sent by the first terminal; The transfer request is generated based on a transfer operation of the target electronic certificate by a user of the first terminal on a certificate transfer page; wherein the first terminal is used to display a transfer effect consistent with the direction of the transfer operation based on the direction of the transfer operation; A transfer module is used to transfer the target electronic certificate to a second terminal that establishes a short-distance communication connection with the first terminal based on the transfer request; at a certain moment in the transfer process, a part of the information of the target electronic certificate is displayed in the first terminal, and another part of the information that the target electronic certificate has been transferred out of the first terminal is displayed in the second terminal.

28. A device for transferring and obtaining credentials, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, 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 execute the method for credential transfer described in any one of claims 1 to 13, the method for credential acquisition described in any one of claims 14 to 21, or the method for credential transfer described in any one of claims 22 to 24.

29. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method for transferring credentials described in any one of claims 1 to 13, or the method for obtaining credentials described in any one of claims 14 to 21, or the method for transferring credentials described in any one of claims 22 to 24.

Citation Information

Patent Citations

  • Method and system for achieving exchange of paperless visiting cards with mobile device

    CN101902696A

  • Service object information sharing method and device

    CN105871944A

  • Electronic certificate transmission method, device and equipment

    CN108282471A

  • Interaction method and device based on electronic certificate and electronic equipment

    CN116664127A

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

    CN118628174A