An interactive method, apparatus, and electronic device based on electronic credentials.
By allowing users to manually input target identifiers on their devices and recognize preset identifiers to obtain electronic credentials, the lack of interactivity and fun in virtual resource allocation methods is solved, thereby improving user experience and the dissemination of electronic credentials.
Patent Information
- Application Number
- CN202211124599.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2041-01-20
AI Technical Summary
The existing methods of allocating virtual resources lack interactivity and fun, resulting in a poor user experience.
By outputting an interactive interface on the user's device, users can hand-draw and input target icons, and the system will identify whether the icon is a preset icon. If it is a preset icon, the system will obtain an electronic credential assigned by the server and display it as an icon. Users can design their own electronic credentials online to obtain virtual resources.
It enhances users' emotional engagement and experience in virtual resource allocation activities, and increases the reach and user participation of electronic vouchers.
Smart Images

Figure CN115454315B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an interactive method, apparatus and electronic device based on electronic credentials. Background Technology
[0002] With the development of internet technology, various methods for distributing virtual resources have emerged. Taking the distribution of virtual resources in the form of "red envelopes" as an example, users can put e-cards, cash gifts, etc., into "red envelopes" and then send them individually to a specific user, or send them to a group for all members to claim. However, as the scenarios for distributing virtual resources become increasingly diverse, improving the interactivity and fun of distributing virtual resources is of great significance for enhancing the user experience. Summary of the Invention
[0003] This application proposes an interactive method based on electronic credentials, the method comprising:
[0004] In response to an interactive action initiated by a user, an interactive interface is displayed to the user; wherein the interactive interface includes a hand-drawn area.
[0005] Obtain the target identifier hand-drawn by the user in the hand-drawn area, and identify whether the target identifier hand-drawn by the user is a preset identifier;
[0006] If the target identifier is a preset identifier, obtain the electronic credential assigned to the user by the server, and display the target identifier as an icon corresponding to the electronic credential to the user; wherein, the electronic credential is used to obtain the right to claim virtual resources in the preset virtual resource set.
[0007] This application also proposes an interactive device based on electronic credentials, the device comprising:
[0008] The output module responds to the interactive operation initiated by the user and outputs an interactive interface to the user; wherein the interactive interface includes a hand-drawn area.
[0009] The acquisition and recognition module acquires the target identifier hand-drawn by the user in the hand-drawn area and identifies whether the target identifier hand-drawn by the user is a preset identifier.
[0010] The first display module, if the target identifier is a preset identifier, obtains the electronic credential assigned to the user by the server, and displays the target identifier as an icon corresponding to the electronic credential to the user; wherein, the electronic credential is used to obtain the right to claim virtual resources in the preset virtual resource set.
[0011] In this application, in response to an interactive operation initiated by a user, an interactive interface including a hand-drawing area is output to the user; then a target mark hand-drawn and input by the user in the hand-drawing area is acquired, and when the target mark is a preset mark, an electronic voucher allocated to the user by the server is acquired, and the target mark is displayed to the user as an icon corresponding to the electronic voucher, so that the user can personally design and draw a dedicated electronic voucher online according to his or her own preferences, thereby allowing the user to integrate more emotions in the process of participating in activities, and improving the user's dissemination degree of the electronic voucher and the user experience sense. Brief Description of the Drawings
[0012] Figure 1 is a method flowchart of an electronic voucher-based interaction method proposed in this application;
[0013] Figure 2 is a schematic diagram of a Fu card display interface shown in this application;
[0014] Figure 3 is a schematic diagram of an activity entry display interface shown in this application;
[0015] Figure 4 is a schematic diagram of a Fu character writing interactive interface shown in this application;
[0016] Figure 5 is a schematic diagram of a decorated Fu character display interface shown in this application;
[0017] Figure 6 is a schematic diagram of a printed Fu card display interface shown in this application;
[0018] Figure 7 is a schematic diagram of a Fu card receiving display interface shown in this application;
[0019] Figure 8 is a schematic diagram of a detail interface shown in this application;
[0020] Figure 9 is a schematic diagram of a fourth display interface shown in this application;
[0021] Figure 10 is a schematic diagram of a gifting interface shown in this application;
[0022] Figure 11 is a schematic diagram of a friend list shown in this application;
[0023] Figure 12 is a schematic structural diagram of an electronic voucher-based interaction apparatus shown in this application;
[0024] Figure 13 is a schematic diagram of a hardware structure of an electronic device shown in this application. Detailed Implementation
[0025] In some scenarios involving the allocation of virtual resources, users can collect various types of electronic credentials, and when the number of collected electronic credentials reaches a first preset threshold, they can obtain the right to allocate virtual resources in a preset set of virtual resources.
[0026] For example, taking the aforementioned virtual resources as virtual red envelopes, in a scenario of distributing a "Five Blessings Grand Prize" red envelope, the electronic voucher can include five types of virtual blessing cards: "Longevity and Health Blessing," "Friendship Blessing," "Prosperity Blessing," "Family Harmony Blessing," and "Wealth and Prosperity Blessing." Users can collect blessing cards through various means, and after collecting these five types of virtual blessing cards, they will gain the corresponding right to receive red envelopes, which will then be distributed to the user by the server.
[0027] In this application, based on the virtual resource allocation scenario shown above, an interactive method based on electronic credentials is proposed.
[0028] With the above interactive methods, users can design and create their own personalized e-vouchers online according to their preferences, allowing them to incorporate more emotion into the activity, increasing the reach of the e-vouchers and enhancing the user experience.
[0029] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of this application.
[0030] Please see Figure 1 , Figure 1 This is a flowchart illustrating an interactive method based on electronic credentials proposed in this application. Figure 1 As shown, the above method may include:
[0031] S102, in response to the interactive operation initiated by the user, an interactive interface is output to the user; wherein, the interactive interface includes a hand-drawn area;
[0032] The aforementioned user can refer to the party extracting the virtual resources. In some cases, this user can extract virtual resources through a client. For example, if the aforementioned client is installed on any electronic device, the user can log in to the client with a registered account and then interact with the corresponding server through the client to extract virtual resources.
[0033] The above target identifier may refer to any identifier drawn by a user. The above identifier may be a graphic, a character, or the like. In some examples, the above identifier may be a preset Chinese character. For example, in the "Five Blessings for a Grand Prize" activity, the above identifier may be the Chinese character "Fu" (blessing) in Chinese.
[0034] The above interactive interface may refer to an operation interface provided by a client for a user. The above interactive interface may include a hand-drawing area for the user to draw the target identifier.
[0035] The above hand-drawing area may display a drawable area to the user. For example, when the target identifier is a Chinese character, the above hand-drawing area may be a grid with crossed horizontal, vertical and diagonal lines.
[0036] The client may, upon detecting a sliding operation of the user in the hand-drawing area, generate a corresponding trajectory to display to the user. In some examples, the above client may detect the pressing force applied by the user to the terminal screen during the sliding process and / or the contact area with the terminal screen, to generate a trajectory of corresponding thickness for display to the user, so as to facilitate the user to draw a more personalized identifier, increase user fun, and improve user experience.
[0037] In some examples, the client may provide the user with some entrances for participating in the hand-drawn identifier activity, and the user may perform related operations on the above entrances to obtain the above interactive interface.
[0038] In some examples, the above entrance may be a hand-drawing option corresponding to a preset identifier. In this example, the above client may display an activity interface corresponding to the above electronic voucher, and the activity interface may include the above hand-drawing option. When the user needs to participate in the hand-drawn identifier activity, the above hand-drawing option may be triggered by, for example, a click operation. After detecting the trigger operation initiated by the user, the above client may, in response to the trigger operation initiated by the user for the above hand-drawing option, output an interactive interface corresponding to the above hand-drawing option to the above user. The user may complete the drawing of the target identifier in the hand-drawing area displayed on the above interactive interface.
[0039] S104: acquiring the target identifier manually drawn and input by the user in the above hand-drawing area, and identifying whether the target identifier manually drawn and input by the user is a preset identifier;
[0040] The above preset identifier may be an identifier preset according to service requirements. The above preset identifier may be stored in a client device or a server device for identifying the target identifier.
[0041] In the present application, whether the target identifier manually drawn and input by the user is a preset identifier may be identified in various manners.
[0042] When the above identifier is a character with certain semantics, the first semantics indicated by the above target identifier may be determined through OCR (Optical Character Recognition) technology. Then it may be further determined whether the above first semantics is the same as the second semantics indicated by the above preset identifier. If they are the same, it is determined that the above target identifier is the above preset identifier; otherwise, it is determined that the above target identifier is not the above preset identifier. For example, when the above identifier is the Chinese character "Fu", the OCR model may be used to detect whether the target identifier drawn by the user is the character "Fu", and if so, it is determined that the above target identifier is the above preset identifier.
[0043] When the above identifier is a graphic, a pre-trained image classification model may be used to determine the first type of the above graphic. The above image classification model is obtained by training based on a plurality of training samples labeled with ground truth of image classification. Then, it may be further determined whether the above first type is the same as the second type indicated by the above preset identifier. If they are the same, it is determined that the above target identifier is the above preset identifier; otherwise, it is determined that the above target identifier is not the above preset identifier.
[0044] It is understandable that the above recognition step may be performed in a client or a server, or may be completed through cooperation between the client and the server. If the above recognition is performed in the server, the recognition result may be returned to the client after the recognition is completed.
[0045] S106: if the above target identifier is a preset identifier, acquire an electronic voucher assigned by the server to the above user, and display the above target identifier to the above user as an icon corresponding to the above electronic voucher; wherein the above electronic voucher is used to obtain the receiving permission for virtual resources in a preset virtual resource set.
[0046] The above virtual resources may include any type of virtual items that can be distributed and issued online; for example, the above virtual resources may be "virtual red envelopes" in a red envelope issuance scenario.
[0047] The above preset virtual resource set may specifically refer to a set of virtual resources. The above virtual resource set may be stored in the server. For example, in a red envelope issuance scenario, the above virtual resource set may be a "red envelope fund pool".
[0048] The above electronic voucher refers to a voucher when the user withdraws virtual resources from the server. In practical applications, a certain number of electronic vouchers of different categories may be pre-configured on the server, and different types of electronic vouchers may be issued to specific user groups according to certain issuance rules; the specific form of the above electronic voucher is not limited, and may be a character string, a number, a character, a password, a virtual card, and so on.
[0049] When a user accumulates a certain number of electronic vouchers of various types, reaching a first preset threshold, the user can obtain the right to claim virtual resources from a preset virtual resource set, thereby completing the claiming of virtual resources. The first preset threshold can be any value preset according to business needs. For example, in the "Five Blessings Grand Prize" activity, the first preset threshold could be 5.
[0050] After receiving the recognition result that the target identifier is the preset identifier, the client can generate a corresponding electronic credential acquisition request and send it to the corresponding server.
[0051] Upon receiving the aforementioned request, the server can respond by allocating an electronic credential to the user from a pre-defined set of electronic credentials. This set of electronic credentials includes multiple categories of electronic credentials, with the number of categories reaching a first pre-defined threshold.
[0052] Then, the server can return the electronic credentials assigned to the user to the client.
[0053] In this application, the target identifier drawn by the user can be displayed to the user as an icon corresponding to the aforementioned electronic credential. It is understood that the step of generating the aforementioned icon can be performed by either the client or the server. The following example demonstrates client-side execution.
[0054] In some examples, after receiving the electronic voucher assigned to the user from the server, the client can generate a corresponding icon based on the target identifier stored locally (in some cases, this icon can be an interface image element). The client can then add this icon to the details page of the electronic voucher, completing the rendering of the details page. Specifically, the details page of the electronic voucher can be used to display detailed information such as the type of the electronic voucher to the user. This details page can be displayed as a pop-up window. Afterwards, the client can output and display the details page to the user, allowing the user to intuitively observe their designed personalized electronic voucher and enhancing user engagement.
[0055] In the above scheme, in response to the user's interactive operation, an interactive interface including a hand-drawn area is output to the user; then, the target identifier hand-drawn by the user in the hand-drawn area is obtained, and when the target identifier is a preset identifier, the electronic voucher assigned to the user by the server is obtained, and the target identifier is displayed to the user as an icon corresponding to the electronic voucher. This allows users to design and draw their own exclusive electronic vouchers online according to their own preferences, thereby enabling users to incorporate more emotion into the process of participating in the activity, improving the dissemination of electronic vouchers and the user experience.
[0056] The following describes the technical solution of this application in detail, using the aforementioned virtual resource as a "virtual red envelope" and the user-drawn identifier as Chinese characters. It should be emphasized that the example of using the aforementioned virtual resource as a "virtual red envelope" is merely illustrative. In practical applications, the aforementioned virtual resource can also be other virtual items that can be distributed and sent online, besides "virtual red envelopes" (hereinafter referred to as red envelopes); for example, electronic shopping vouchers, electronic coupons, electronic points, etc.
[0057] In this application, a certain number of different types of electronic vouchers can be pre-configured on the server side, and the server side can centrally manage the pre-configured electronic vouchers.
[0058] The pre-configured electronic voucher mentioned above is the sole credential for a user to obtain the authority to distribute red envelopes. The number and types of the pre-configured electronic vouchers can be set based on actual needs.
[0059] Users can collect electronic vouchers through the client and obtain the right to distribute red envelopes when the number of collected electronic voucher categories reaches a first preset threshold. The number of categories refers to the number of types of electronic vouchers collected by the user. The specific value of the first preset threshold is not limited in this application and can be determined according to actual needs in practical applications.
[0060] In this application, users can collect electronic credentials through a client in various ways.
[0061] For example, in one of the collection methods shown, users can collect electronic credentials issued proactively by the server when the user meets the issuance conditions through the client, or they can collect electronic credentials given by other users with social relationships.
[0062] In another approach shown, the aforementioned client can be an AR (Augmented Reality) client, which allows users to scan images of specific offline targets to trigger the server to issue electronic credentials to the user.
[0063] For example, users can use an AR client to scan a preset graphic sign deployed offline to trigger the server to issue an electronic credential to the user; or, users can also use an AR client to scan the face of any or a specific person to trigger the server to issue an electronic credential to the user.
[0064] In practical applications, in addition to the collection methods described above, users can also interact with other users with whom they have social relationships to obtain electronic credentials held by other users.
[0065] In some cases, in addition to issuing electronic credentials to users, the server can also issue virtual items to users, which users can use to "steal" electronic credentials held by other users.
[0066] For example, in implementation, these virtual items can be special electronic credentials. After "using" these special electronic credentials, a user can select a specific user from other users with social relationships and randomly draw electronic credentials from the electronic credentials held by that specific user to claim them for themselves.
[0067] In this application, electronic credentials can also be obtained through hand-drawn logos.
[0068] This application provides users with multiple entry points to the interactive interface.
[0069] In some cases, providing a hand-drawn option on the activity page for receiving red envelopes can allow users to access the interactive interface.
[0070] Once a user enters the activity interface corresponding to the electronic voucher provided by the client, they can trigger the hand-drawing option on that interface through clicks or other actions. After detecting the user's actions, the client can output an interactive interface including the hand-drawing area for the user to complete the logo drawing.
[0071] In some cases, a hand-drawn option can be provided on the screen indicating that today's electronic vouchers have been collected, allowing users to interact with the interface.
[0072] After a user completes the collection of today's electronic voucher through scanning or other methods, the client can display an interface indicating that today's electronic voucher collection is complete. The user can trigger a hand-drawing option on this interface by clicking or other actions. Once the client detects this action, it can output an interactive interface including a hand-drawing area for the user to complete the drawing.
[0073] It should be noted that this application does not impose any special restrictions on the style of the hand-drawn option or its position in the interface.
[0074] In some cases, the aforementioned client may display instructions on how to draw the logo and obtain the electronic voucher when first presenting the interactive interface to the user, making it easier for the user to understand how to draw the logo and how to obtain the electronic voucher.
[0075] In some examples, the interactive interface described above provides users with a grid-like area for drawing. Users can slide across the screen of their client device to complete the drawing of the logo.
[0076] In some examples, the interactive interface may include multiple font options. For instance, the interactive interface described above may include preset font options such as free creation, SimSun, KaiTi, and YanTi. Optionally, the font option corresponding to each font may display an example of a preset logo drawn in that font.
[0077] In the example above, users can choose various font options to complete the logo design. For instance, if a user selects the "create your own font" option, they can draw the target logo without being constrained by any font, according to their own drawing habits. This can enhance the user experience and increase their willingness to create logos.
[0078] For example, when a user selects the SimSun font option, the client can render the target identifier drawn by the user to obtain a SimSun font target identifier that is closest to the actual target identifier drawn by the user. This can assist the user in drawing and improve the convenience of drawing identifiers.
[0079] In some examples, the aforementioned client can detect the pressure applied by the user to the terminal screen during swiping, and / or the contact area with the terminal screen, and generate a trajectory of corresponding thickness to display to the user in the hand-drawing area, so that the user can draw more personalized marks, increase user interest, and improve the user experience.
[0080] In some examples, the client can save logos drawn by the user under different font options. This allows the user to compare logos drawn in different fonts and choose the one they prefer.
[0081] In some examples, the interactive interface may also include rewrite and / or undo options. When a user is not satisfied with the currently drawn logo, they can trigger the rewrite option by clicking or other actions to redraw the logo, or trigger the undo option to undo the most recently drawn step. This makes it easier for users to draw satisfactory logos and improves the user experience.
[0082] In some examples, the client can also provide decorative elements for users to enhance their hand-drawn logo. In some examples, the interactive interface also includes several decoration options corresponding to the hand-drawn area. Users can trigger actions on each of these decoration options through clicks or other operations. In response to the user's trigger action on any of the decoration options, the client executes the corresponding decoration function to decorate the target logo entered by the user's hand-drawn input.
[0083] In some examples, the above decorative options include one or more combinations shown below:
[0084] Decoration options corresponding to the decoration functions for modifying fonts;
[0085] Decoration options corresponding to the decoration function that adds decorative components to the target logo entered by hand;
[0086] Decoration options corresponding to the decoration function that adds the user's digital signature to the target identifier entered by hand.
[0087] In some examples, the dropdown menu corresponding to the decoration options for modifying fonts may include multiple font options.
[0088] After the user completes the logo design, they can change the logo's font by selecting any font option under the decoration options. This makes it easier for users to choose the right font.
[0089] The decoration options corresponding to the decoration function for adding decorative components to the target logo entered in hand-drawn text can include various types of decoration sub-options. Optionally, these types can include popular types, types representing a certain custom, types representing blessings, etc. The popular types can include several decoration sub-options that have been selected multiple times by users within a certain period of time. Optionally, the display position in the interactive interface corresponding to the decoration sub-options can display the image elements corresponding to each decoration sub-option. This allows users to intuitively select satisfactory image elements.
[0090] After a user completes drawing their logo, the client can display the completed logo on a third display page. When the user triggers any decoration sub-option, the client can add the corresponding image element to the third display page. Optionally, the client can provide users with options to mirror, delete, zoom in, and rotate image elements, allowing users to manipulate them. Users can drag image elements to move them to suitable positions. This allows users to obtain satisfactory image elements, create more personalized logos, increase user engagement, and enhance the user experience.
[0091] The decorative options corresponding to the aforementioned decorative function of adding a user's digital signature to the target logo for hand-drawn input can include a character input box. Optionally, this character input box can be pre-displayed on the aforementioned third display page. When the user needs to make a digital signature, they can trigger the input function of the character input box by clicking or other operations. Optionally, an input interface for the user to input characters can pop up. The user can enter the characters they want in the input interface. Optionally, to avoid the user entering too many characters and affecting the user's drawing logo, the number of characters the user can enter can be limited. Optionally, the user can add a new character input box on the aforementioned third display page by long-pressing the screen or other operations.
[0092] In some examples, the number of decorative elements added by the user can be detected in real time while the logo is being decorated. These decorative elements can include image elements and character input boxes. When the number of decorative elements added by the user reaches a preset limit, an over-decoration warning can be issued, prompting the user to stop decorating or replace existing decorative elements. This prevents the aesthetics of the drawn logo from being negatively impacted by adding too many decorative elements.
[0093] In some examples, after the user completes the logo drawing (including any decorations), the interactive interface can display the completed logo through a fifth display interface. This fifth display interface also includes generation options corresponding to the preset logo. When the user triggers these generation options through clicks or other actions, the client can respond to the user's trigger action and identify whether the target logo drawn by the user is a preset logo.
[0094] In some examples, the client may include a preset identifier. During the recognition process, the client can first remove user-added decorative elements to obtain an initial identifier drawn by the user. Then, an OCR model is used to detect this initial identifier, obtaining the first Chinese character represented by the initial identifier. If the first Chinese character is the same as the second Chinese character represented by the preset identifier, then the target identifier is determined to be the preset identifier; otherwise, the target identifier is determined not to be the preset identifier.
[0095] In some examples, if the target identifier is a preset identifier, it can be displayed to the user through a second display interface corresponding to that identifier. In other examples, the client can display the user's hand-drawn input of the target identifier's drawing process, and / or the user's decoration process based on the hand-drawn input, through the second display interface corresponding to the target identifier. This provides feedback on the user's drawing or decoration process, enhancing the user experience.
[0096] The second display interface described above is specifically used to display the target icon that the user has completed drawing. In some examples, the client can record the drawing process of the user when drawing the icon, and / or the decoration process of the icon. When the client detects that the user's turn-based target icon is a preset icon, it can generate a corresponding animation based on the recorded drawing process and / or decoration process, and display the animation through the second display interface.
[0097] In some examples, the second display interface described above may also include options to change the logo and save the logo. Users can redraw the logo by triggering the change logo option. Users can save the final effect of the drawn logo and / or the animation of the drawn logo locally or in the cloud by triggering the save logo option. This allows for the recording of the user's drawing results, facilitating the sharing of the drawn logo with other users through various sharing channels.
[0098] In some cases, before displaying the target identifier through the second display interface, illegal content detection can be performed on the user-drawn target identifier, and the second display interface can be output after the illegal content detection passes.
[0099] In some cases, it can be identified whether the ratio of the size of the target identifier hand-drawn by the user to the size of the hand-drawn area reaches a second preset threshold; if yes, the second display interface is further output to the user; if no, the content hand-drawn by the user in the hand-drawn area is cleared, and the user is prompted to re-hand-draw in the hand-drawn area.
[0100] By determining the ratio of the size of the user-inputted identifier to the size of the hand-drawn area, and outputting a second display when the ratio reaches a second preset threshold, it is possible to avoid outputting identifiers with smaller font sizes input by the user, which are currently often used to spread illegal content. This is how illegal character detection can be completed.
[0101] In some cases, it can be identified whether the user has also manually entered an illegal symbol in the hand-drawn area; if so, the content manually entered by the user in the hand-drawn area is cleared, and the user is prompted to manually enter it again in the hand-drawn area; if not, the second display interface is further displayed to the user.
[0102] In some cases, an illegal identifier database can be maintained in advance. During illegal identifier detection, the identifiers input by the user can be identified using an object detection model. Then, it is determined whether each identified identifier matches an identifier in the illegal identifier database. If none of the identifiers match, it is determined that the user-drawn identifier is not illegal. In any case, it can be confirmed that the user has drawn an illegal identifier. This avoids the generation of illegal identifiers and thus prevents their propagation.
[0103] In some examples, the second display interface described above may include a second collection option corresponding to the aforementioned electronic voucher.
[0104] The second option mentioned above is used to trigger the client to send a request to the server to obtain electronic credentials.
[0105] When a user wants to obtain an electronic voucher, they can trigger the second claim option through an action such as clicking. The client can respond to the user's trigger action corresponding to the second claim option by sending an electronic voucher claim request to the server. Optionally, the electronic voucher claim request includes indication information indicating that the target identifier is a preset identifier.
[0106] Upon receiving the aforementioned request, the server can respond to the request by verifying the content of the instruction information and, if the verification passes, allocate an electronic credential to the user from a pre-set set of electronic credentials.
[0107] In some examples, the electronic vouchers in the aforementioned electronic voucher set are each configured with an allocation probability; wherein, the allocation probability represents the probability that a user will obtain the aforementioned electronic voucher. The electronic vouchers allocated by the server to the user from the aforementioned electronic voucher set include the electronic voucher with the lowest allocation probability in the aforementioned electronic voucher set.
[0108] For example, the server maintains the allocation probability of electronic vouchers obtained by users through non-drawing identification methods such as scanning, with the first electronic voucher having the lowest allocation probability. When a user obtains an electronic voucher through drawing identification, the first electronic voucher can be returned to the user first, thereby increasing the user's interest in obtaining electronic vouchers through drawing identification and facilitating the promotion of the drawing identification feature.
[0109] In some examples, when the server returns the electronic voucher assigned to the user to the client, it can also return a type tag corresponding to that electronic voucher. After receiving the type tag, the client can generate a details interface corresponding to that electronic voucher based on the type of electronic voucher indicated by the type tag and the target identifier drawn by the user.
[0110] The details screen may include a first collection option corresponding to the aforementioned electronic voucher.
[0111] Triggering the first claim option will add the electronic voucher returned by the server to the user's collection of electronic vouchers.
[0112] If a user needs the electronic voucher, they can trigger the first claim option by clicking or other actions. The client can respond to the user's triggering of the first claim option by switching to the first display interface corresponding to the electronic voucher; wherein the first display interface includes multiple display positions corresponding to different types of electronic vouchers.
[0113] Then, the client can add the target identifier as an icon corresponding to the electronic certificate to the target display position in the first display interface corresponding to the category of the electronic certificate.
[0114] In some cases, it can be determined whether an icon is displayed in the target display position corresponding to the category of the electronic voucher in the first display interface. If so, the displayed icon is replaced with the target identifier. If not, the target identifier is added as the icon corresponding to the electronic voucher and displayed in the target display position.
[0115] For example, the electronic voucher returned by the server is of type 1. The aforementioned first display interface includes multiple display positions corresponding to electronic vouchers of types 1 to N. The upper right corner of the icon in each display position indicates the quantity of that type of electronic voucher. When displaying the electronic vouchers returned by the server, it can be determined whether an icon is displayed in the target display position corresponding to the aforementioned type 1 electronic voucher. If yes, the displayed icon is replaced with the aforementioned target identifier. If no, the aforementioned target identifier is added as the icon corresponding to the aforementioned electronic voucher to the aforementioned target display position for display. The quantity in the upper right corner of this display position can then be increased.
[0116] This allows users to see their own customized electronic vouchers, thereby increasing their interest in participation.
[0117] In some cases, the client can also replace the icons of electronic credentials displayed in other locations besides the target display location on the first display interface with the target icon. This allows for a more intuitive presentation of the user-drawn icon, enhancing the user experience.
[0118] In some examples, users can trigger a display image added to a designated area to gift an electronic voucher corresponding to that image to other users. This enables the gifting of electronic vouchers.
[0119] In some examples, users can share their custom-drawn logos. In some examples, the second display interface described above may include sharing options corresponding to the target logo entered by the user's hand-drawn input.
[0120] When a user needs to share this unique identifier, they can trigger the sharing option mentioned above. The client can then respond to the user's triggering of the sharing option and output a sharing interface corresponding to the target identifier.
[0121] The sharing interface described above can include multiple sharing channels. Users can select any of these channels and choose the target user with the unique identifier to share with from among the users provided by that channel, thus completing the sharing operation on the sharing interface.
[0122] The aforementioned client can respond to the user's sharing action on the aforementioned sharing interface, sharing the aforementioned target identifier with the target user. This completes the sharing of the user-drawn unique identifier, further enhancing the user experience and increasing the fun of the red envelope activity.
[0123] In some examples, after the target user obtains the target identifier, the client corresponding to the target user can construct an electronic credential acquisition request and send the request to the corresponding server. The server can allocate the electronic credential to the target user from a preset set of electronic credentials and display the target identifier as an icon corresponding to the electronic credential to the target user. The specific display process can refer to the foregoing embodiments and is not limited here.
[0124] This not only enables the sharing of user-specific identifiers but also rewards target users who receive the sharing with electronic vouchers, thereby increasing users' interest in participating in the interaction.
[0125] In some cases, in response to a user completing the collection of a unique electronic voucher, the client may display a fourth display interface corresponding to the aforementioned target identifier to the user; wherein, the aforementioned fourth display interface includes a gifting option.
[0126] When a user needs to give a unique electronic voucher with a special identifier to a target user, the user can trigger the gifting option through an operation such as clicking. The client can respond to the user's triggering operation on the gifting option and obtain the additional electronic voucher assigned to the user by the server for gifting.
[0127] In some examples, in response to a user's triggering action on the aforementioned gifting option, the server retrieves the additional electronic voucher assigned to the user and displays a gifting interface corresponding to the additional electronic voucher to the user; wherein the gifting interface includes an icon corresponding to the aforementioned target identifier.
[0128] The aforementioned supplementary electronic voucher can be used for gifting. In some cases, this supplementary electronic voucher can only be used for gifting and cannot be used for other purposes. The client can construct a gifting request and send it to the server. The server can respond to the gifting request by selecting a type of electronic voucher from a stored set of electronic vouchers as the supplementary electronic voucher and returning it to the client. The client can generate the gifting interface based on the type of the received supplementary electronic voucher and the image elements of the target identifier, allowing the user to perform the gifting operation.
[0129] In some examples, the gifting interface described above may include multiple gifting channels. Users can select any of these channels and choose the target user from among several users provided by that channel to complete the gifting operation on the gifting interface.
[0130] The aforementioned client can respond to the sending operation initiated by the aforementioned user and send the aforementioned additional electronic voucher to the target user. When the target user receives the aforementioned additional electronic voucher through the target client, the target client will display the aforementioned target identifier as an icon corresponding to the aforementioned additional electronic voucher to the target user.
[0131] In some examples, the aforementioned client can send the supplementary electronic credential to the target client corresponding to the target user. Upon receiving the supplementary electronic credential, the target client can display a details interface corresponding to the supplementary electronic credential, showing an animation of the user drawing and decorating the target logo. After the animation finishes playing, the icon corresponding to the target logo can be displayed to the target user in the details interface as the icon corresponding to the electronic credential.
[0132] The target users can click the "Confirm Claim" option on the details page to complete the process of obtaining the additional electronic voucher. This increases user engagement and facilitates the dissemination of the exclusive electronic voucher, increasing its reach.
[0133] In some cases, during the process of a user completing the logo drawing and displaying the logo, different display interfaces can be triggered at different times to provide different services to the user.
[0134] Once the user completes the drawing of the identifier, the aforementioned client can determine whether the current time has reached the preset time.
[0135] The aforementioned preset time can be set according to business requirements. This time serves as a dividing line; users who complete the drawing of the identifier before or after this preset time will enjoy different services.
[0136] In some examples, if the current time reaches a preset time, the client can output and display the drawing process of the target logo input by the user's hand-drawn input, and / or the decoration process of the target logo input by the user's hand-drawn input, to the user through a second display interface corresponding to the target logo, and provide the user with the aforementioned services such as obtaining electronic vouchers and sharing electronic vouchers.
[0137] In some examples, if the current time has not reached the preset time, the client can output and display the drawing process of the target logo that the user hand-draws and inputs, and / or the decoration process of the target logo that the user hand-draws and inputs, to the user through a third display interface corresponding to the target logo; wherein the third display interface includes a print option corresponding to the target logo.
[0138] As can be seen, the third display interface includes a printing option that can trigger the label printing service, thereby providing the label printing service to users.
[0139] In some cases, the print option can be triggered when the target logo needs to be printed. The client can then respond to the user's triggering of the print option by displaying a service exchange interface corresponding to the interactive interface.
[0140] In some examples, the service redemption interface may include the redemption details and a confirmation option. The redemption details may indicate the virtual assets (e.g., points) a user needs to pay to redeem the printing service. If the user agrees to the redemption, the confirmation option will be triggered to complete the redemption.
[0141] The client application can respond to the user's completion of the printing service redemption by displaying a payment interface. The user can complete the payment for the printing service through this interface. After payment, the client application can generate a print request and send it to the server. The server can then generate a service order corresponding to the printing service and send it to the merchant providing the printing service to complete the printing of the target identifier.
[0142] In some examples, the service order may include the mailing address of the user to receive the printed target label, thereby enabling the merchant to send the printed target label to the user.
[0143] In this application, after a user collects electronic vouchers through the collection methods described above, the client can also determine in the background in real time whether the number of categories of locally stored electronic vouchers has reached a first preset threshold; if the first preset threshold is reached, the user can then obtain the right to distribute red envelopes.
[0144] In this scenario, the client can send a red packet distribution request (equivalent to the aforementioned virtual resource distribution request) to the server, and include several electronic credentials in the red packet distribution request.
[0145] In some examples, the number and types of electronic vouchers carried in the red envelope distribution request can both be the aforementioned first preset threshold, so that after receiving the red envelope distribution request, the server can obtain the electronic vouchers carried in the red envelope distribution request and then verify them.
[0146] It should be noted that the operation of the client sending a red envelope distribution request to the server can be triggered manually by the user, or it can be automatically triggered by the client when it determines that the number of collected electronic voucher categories has reached a first quantity.
[0147] For example, in one scenario, when the client determines in the background that the collected electronic vouchers have reached a first quantity, it can automatically initiate the aforementioned red packet distribution request to the server. In another scenario, a trigger button can be provided at the display location corresponding to each electronic voucher to trigger the client to initiate an object distribution request to the server. When the client determines in the background that the collected electronic vouchers have reached a first preset threshold, it can output a prompt to the user (e.g., output relevant animation effects to prompt the user) to indicate that the user has now obtained the permission to distribute red packets. Then, the client can respond to the user's trigger operation on the trigger button and send the aforementioned red packet distribution request to the server.
[0148] After receiving a red envelope distribution request from the client, the server can verify the number of categories of electronic vouchers carried in the request. If, after verifying the electronic vouchers in the red envelope distribution request, the server determines that the number of categories of electronic vouchers carried in the request reaches a first preset threshold, then the server can grant the user the authority to distribute red envelopes and immediately distribute a certain amount of red envelopes to the user from the preset "red envelope fund pool" (equivalent to the aforementioned preset virtual resource set) based on preset distribution rules, or distribute a certain amount of red envelopes to the user from the preset "red envelope fund pool" based on preset distribution rules after the specified red envelope distribution time arrives.
[0149] It should be noted that the allocation rules used by the server when distributing red envelopes to the user from the preset "red envelope fund pool" can be formulated based on actual business needs.
[0150] In some examples, the server can count the number of users granted red packet distribution permissions and calculate the average distribution amount of the total amount of red packets to be distributed in the "red packet fund pool" based on the counted number of users. In this case, the calculated average distribution amount is the number of red packets to be distributed to each user. The server can then distribute the corresponding amount of red packets to each user from the "red packet fund pool" based on the calculated average distribution amount.
[0151] In another illustrated embodiment, when the server distributes a red envelope to the user, it may also randomly draw a red envelope of a certain amount for the user from the "red envelope fund pool"; for example, the server may calculate a random number for the user based on a preset random algorithm in combination with the total amount of red envelopes to be distributed in the "red envelope fund pool", and then distribute a red envelope of a corresponding amount to the user according to the random number.
[0152] Of course, in addition to the distribution rules illustrated above, other distribution rules may be adopted in practical applications, which will not be enumerated one by one in this application.
[0153] The technical solutions in the above embodiments will be described in detail below in conjunction with a red envelope distribution scenario of "dividing a grand prize by collecting five Fu cards".
[0154] In the above distribution scenario, the above client may be an Alipay client (referred to as the client for short). The above server may be a payment platform interfaced with the Alipay client. The above virtual resource set may refer to a capital account of an operator of the payment platform or an enterprise cooperating with the operator of the payment platform. The capital in the capital account is the total amount of capital used to distribute red envelopes to users.
[0155] The above electronic vouchers may include 5 types of virtual Fu cards such as "Longevity and Health Fu", "Friendship Fu", "Prosperity Fu", "Harmonious Family Fu" and "Wealth Fu". After a user collects the above 5 types of virtual Fu cards, the user can automatically obtain the permission to receive a red envelope.
[0156] In addition to the above 5 types of virtual Fu cards (hereinafter referred to as Fu cards for short), the server may also issue some special virtual Fu cards to users as virtual props; for example, the special virtual Fu card may be a "Fu Stealing Card"; by "using" the Fu Stealing Card, the user can interact with other users with social relationships, and randomly "copy" and obtain a Fu card held by the other user on the premise that the Fu card held by the other user does not decrease.
[0157] Please refer to Figure 2 , Figure 2 which is a schematic diagram of a Fu card display interface illustrated in this application.
[0158] As shown in Figure 2 the above Fu card display interface (i.e., the aforementioned first display interface) may specifically be a "My Fu Cards" interface; in this interface, corresponding display positions may be provided for the above 5 types of Fu cards and the Fu Stealing Card held by the user. Icons of the Chinese character "Fu" corresponding to each type of Fu card are arranged at the display position corresponding to each type of Fu card. Optionally, if the user does not have a certain type of Fu card, no icon may be displayed at the display position corresponding to the Fu card, or an icon indicating that the user lacks this type of Fu card may be displayed.
[0159] Please continue to refer to Figure 2, in practical applications, the special virtual fortune cards distributed by the server to users may also include special fortune cards such as "All-in-one Fortune Card" and "Huahua Card"; that is, the operator of the payment platform can flexibly customize virtual props with various corresponding functions for users based on actual demands, which will not be enumerated one by one in this application.
[0160] Please refer to Figure 3 , Figure 3 which is a schematic diagram of an activity entry display interface shown in this application.
[0161] As shown in Figure 3 , when a user participates in the "Five Fortunes for a Big Prize" activity, the aforementioned client may display the activity entry display interface (i.e., the aforementioned activity interface) to the user. The interface may include options of "My Fortune Cards", "Scan the Fortune Character", and "Write the Fortune Character" (i.e., the aforementioned hand-drawing option, where the identifier drawn by the user is the Chinese character "Fu"). It should be noted that Figure 3 the background image and page layout illustrated therein are only schematic, and do not limit the solution recorded in this application. In addition, in practical applications, the display interface may also include other options, which will not be enumerated one by one herein.
[0162] After the user triggers the "Write the Fortune Character" option by means such as touch, the aforementioned client may determine whether the user triggers this option for the first time. If the user enters the "Write the Fortune Character" interface for the first time, relevant instructions for "Write the Fortune Character" may be displayed to the user; otherwise, the interactive interface for writing the fortune character may be directly displayed to the user.
[0163] Please refer to Figure 4 , Figure 4 which is a schematic diagram of an interactive interface for writing the fortune character shown in this application.
[0164] As shown in Figure 4 , the aforementioned interactive interface for writing the fortune character (i.e., the aforementioned interactive interface, hereinafter referred to as the interactive interface for short) may include a hand-drawing area for the user to write the fortune character, as well as several font options. Illustratively, Figure 4 font options such as "Free Style", "Official Script", and "YouYuan" are shown therein.
[0165] The user may select "Free Style", then write the fortune character in the aforementioned hand-drawing area according to his own writing habit. Here, the aforementioned hand-drawing area may display writing trajectories of different thicknesses according to factors such as the pressing force of the user's finger on the terminal screen and the contact area between the finger and the terminal device.
[0166] After the user finishes writing the fortune character, the user may trigger Figure 4the Decorate My Fu option in the interface. In response to a user triggering this option, the client may use an OCR model to recognize the identifier written by the user, determine whether the identifier is the Chinese character "Fu", and if so, provide the user with a display interface corresponding to the decorated Fu character (i.e., the aforementioned fifth display interface); otherwise, the user may be prompted to rewrite the Fu character.
[0167] Please refer to Figure 5 , Figure 5 which is a schematic diagram of a display interface for decorating a Fu character shown in the present application.
[0168] As shown in Figure 5 , the above display interface for decorating a Fu character may include a display area for the decoration effect of the user's Fu character, as well as a plurality of decoration options. Illustratively, Figure 5 shows decoration options such as "Popular", "New Year Atmosphere", "Blessing" and digital signature. When the user clicks a decoration option such as "Popular", the display interface for decorating a Fu character may further display a plurality of sub-decoration options under the clicked decoration option to the user, and the user may select any one from the plurality of sub-decoration options.
[0169] As shown in Figure 5 , the user selects the "Ox Horn" sub-option under the "New Year Atmosphere" option, and the client may add the image element corresponding to the "Ox Horn" sub-option to the above display area. The user may perform operations such as dragging, zooming in, rotating, and deleting on the above image element in the display area until a satisfactory decoration effect is obtained.
[0170] Please continue to refer to Figure 5 , the user may also click the digital signature decoration option corresponding to "Good Luck in the Year of the Ox", and then input personalized characters in the pop-up input window. For example, characters such as "Made by XXX" may be input.
[0171] After the user finishes decorating the Fu character, the user may trigger Figure 5 the Generate My Fu option in the interface. In response to the user triggering this option, the client may recognize the identifier written by the user, determine whether the identifier is the Chinese character "Fu", and if so, further identify whether the ratio of the size of the identifier written by the user to the size of the above hand-drawing area reaches a second preset threshold (for example, 0.6), and provide subsequent services to the user when the ratio of the size of the written identifier to the size of the above hand-drawing area reaches the above second preset threshold. As a result, on the one hand, the identifier written by the user can be recognized to ensure that what the user writes is the Chinese character "Fu"; on the other hand, the possibility of the user spreading "illegal characters" can be ruled out.
[0172] After the recognition result of the identifier written by the user meets expectations, the current moment when the user clicks the Generate My Fu option may be determined, and whether the above current moment reaches a preset moment may be determined.
[0173] If the preset time is reached, an animation of the user writing and decorating the fu character can be displayed to the user through the display interface corresponding to receiving the fu card (i.e., the aforementioned second interface); if the preset time is not reached, an animation of the user writing and decorating the fu character can be displayed to the user through the display interface corresponding to printing the fu card (i.e., the aforementioned third interface). Accordingly, on the one hand, different services can be provided to the user at different time points; on the other hand, the user's sense of participation can be improved, thereby promoting the user to participate in the fu writing activity.
[0174] The following describes the above two cases respectively.
[0175] (1) The current time has not reached the above preset time
[0176] Please refer to Figure 6 , Figure 6 which is a schematic diagram of a print fu card display interface shown in the present application.
[0177] As shown in Figure 6 , the display interface corresponding to the above print fu card may include a display area for showing the decoration effect of decorating the written fu character, and a plurality of function options. Illustratively, Figure 6 the illustrated third interface may include the options of "Write Another One", "Save" and "Print My Fu".
[0178] If the user selects the "Write Another One" option, the user can re-enter the fu writing process. If the user selects the "Save" option, the decorated fu character can be stored in the terminal device or the cloud, so that the fu character can be shared through various channels such as "Moments", thereby improving the participation in fu writing.
[0179] If the user selects the "Print My Fu" option, the client can output a print service redemption interface to the user, and the user can complete the redemption in the redemption interface. After that, the client can provide the user with a payment interface. After the user completes the payment on the payment interface, the client can send the payment success result and the user's corresponding receiving address to the above payment platform. The above payment platform can generate a service order corresponding to the above print service, and send the service order to the merchant providing the print service to complete the printing.
[0180] (2) The current time has reached the above preset time
[0181] Please refer to Figure 7 , Figure 7 which is a schematic diagram of a receive fu card display interface shown in the present application.
[0182] As shown in Figure 7As shown, the interface for claiming the "Fu" card may include a display area showcasing decorative effects for the written "Fu" character, as well as several function options. (Illustrative example) Figure 7 The illustrated second interface may include options such as "Change the 'Fu' character", "Save", and "Claim your exclusive 'Fu' card now".
[0183] Assuming the client stores multiple "Fu" characters decorated by users, if a user selects the "Change Fu Card" option, they can change the "Fu" character they have already decorated in the above display area.
[0184] If the user selects the "Claim Your Exclusive Lucky Card Now" option, the aforementioned client responds by sending a lucky card retrieval request to the aforementioned payment platform. Upon receiving this request, the payment platform selects the lucky card with the lowest configured allocation probability from its saved lucky card set as the lucky card to be allocated to the user. The payment platform then returns the type identifier (let's say "Prosperous Fortune Lucky Card") corresponding to the allocated lucky card to the aforementioned client. The client, based on the received type identifier and the image element corresponding to the currently displayed "Lucky" character in the aforementioned display area, generates a details interface corresponding to the "Prosperous Fortune Lucky Card" and displays this details interface to the user as a pop-up window.
[0185] Please see Figure 8 , Figure 8 This is a schematic diagram of a details interface shown in this application.
[0186] like Figure 8 As shown, the details interface may include a display area showing the electronic voucher as "Wangcai Fu" and the user's decorative "Fu" character, as well as several function options. (Illustrative example) Figure 8 The details screen shown may include the "Receive the Lucky Card" option.
[0187] After the user clicks this option, the aforementioned client can save the exclusive lucky card locally. Here, the client can display to the user, as follows: Figure 2 The interface shown depicts a "Fu" card. The icon corresponding to the "Wangcai Fu" card is replaced with a user-written "Fu" character. Optionally, users can also choose to replace icons in other display positions on the Fu card interface with the same user-written "Fu" character. This allows users to see their own "Fu" character, encouraging them to participate in writing their own "Fu" characters.
[0188] In response to the user claiming the exclusive lucky card, the aforementioned client can also display a fourth display interface to the user.
[0189] Please see Figure 9 , Figure 9 This is a schematic diagram of a fourth display interface shown in this application.
[0190] like Figure 9As shown, the above-mentioned fourth display interface may include a display area for showing the user's exclusive character of blessing, and several function options. For illustration, Figure 9 The fourth display interface shown may include an option of "Get another one to send to a friend".
[0191] If the user triggers the above option, the above client may interact with the above payment platform to obtain the exclusive blessing card gifted by the user, and render the user's handwritten exclusive character of blessing into the above exclusive blessing card. Then, the above client may display a gifting interface to the user.
[0192] Please refer to Figure 10 , Figure 10 which is a schematic diagram of a gifting interface shown in the present application.
[0193] As shown in Figure 10 , the above-mentioned gifting interface may include a display area for showing the exclusive blessing card, and several gifting channel options. For illustration, Figure 10 The gifting interface shown may include gifting channel options such as gifting to a friend, third-party channel 1, and third-party channel 2.
[0194] The user may select any gifting channel. Assuming that the user selects the option of gifting to a friend, the Alipay friend list may be displayed to the user, for the user to select the target user to whom the exclusive blessing card is to be gifted.
[0195] Please refer to Figure 11 , Figure 11 which is a schematic diagram of a friend list shown in the present application.
[0196] For illustration, as shown in Figure 11 , the above-mentioned friend list may show the friend status of the above user, and the number of blessing cards of each friend user. If the number of users is too large, the user may also locate the target user through a search window.
[0197] After the user determines the target user, the user may click the gifting button behind the target user to complete the gifting operation. In response to the user completing the gifting operation, the above client may gift the above exclusive blessing card to the target client corresponding to the above target user. After receiving the above exclusive blessing card, the above target client may display to the above target user an animation of the above user hand-writing and decorating the exclusive character of blessing, and display the exclusive blessing card to the above target user after the animation is played. The above target user may complete the collection of the blessing card by clicking the collect blessing card option. In this way, the spread of the exclusive blessing card can be completed, and user entertainment can be improved.
[0198] When the number of Fu card categories collected by the client reaches 5, the user can obtain the permission for red envelope allocation. The client may send a "red envelope allocation request" (i.e., the aforementioned virtual resource allocation request) to the server, to request the server to allocate a red envelope to the user, and the specific implementation process will not be repeated here.
[0199] In the above solution, by providing services such as writing the Fu character by hand, printing the Fu character, collecting and gifting exclusive Fu cards, users can be guided to invest more emotions in the process of participating in the "Five Blessings for Grand Prize" activity, which improves user interest, the spread of Fu cards and user experience.
[0200] Corresponding to any one of the above embodiments, the present application further proposes an interaction apparatus based on electronic vouchers.
[0201] Please refer to Figure 12 , Figure 12 which is a schematic structural diagram of an interaction apparatus based on electronic vouchers shown in the present application.
[0202] As shown in Figure 12 , the above apparatus 1200 may include:
[0203] an output module 1210, configured to output an interaction interface to the user in response to an interaction operation initiated by the user; wherein the interaction interface includes a hand-drawing area;
[0204] an acquisition and recognition module 1220, configured to acquire a target identifier hand-drawn and input by the user in the hand-drawing area, and recognize whether the target identifier hand-drawn and input by the user is a preset identifier;
[0205] a first display module 1230, configured to, if the target identifier is the preset identifier, acquire an electronic voucher allocated to the user by the server, and display the target identifier to the user as an icon corresponding to the electronic voucher; wherein the electronic voucher is used to obtain the collection permission for virtual resources in a preset virtual resource set.
[0206] In some illustrated embodiments, when the number of categories of the acquired electronic vouchers reaches a first preset threshold, the user obtains the collection permission for the virtual resources in the preset virtual resource set.
[0207] In some illustrated embodiments, the identifier includes a character.
[0208] In some illustrated embodiments, the virtual resource includes a virtual red envelope; the character includes the Chinese character representing Fu (blessing).
[0209] In some illustrated embodiments, the first display module 1230 is specifically configured to:
[0210] The system outputs a details interface corresponding to the aforementioned electronic voucher to the aforementioned user, and displays the aforementioned target identifier as an icon corresponding to the aforementioned electronic voucher in the details interface.
[0211] In some of the embodiments shown, the details interface includes a first collection option corresponding to the electronic voucher; the first display module 1230 is specifically used for:
[0212] In response to the user's triggering operation on the first claim option, the system switches to the first display interface corresponding to the electronic voucher; wherein the first display interface includes multiple display positions corresponding to different types of electronic vouchers.
[0213] The aforementioned target identifier is used as an icon corresponding to the aforementioned electronic voucher and added to the target display position in the first display interface corresponding to the category of the aforementioned electronic voucher for display.
[0214] In some of the embodiments shown, the first display module 1230 described above is specifically used for:
[0215] Determine whether an icon is displayed at the target display position corresponding to the category of the electronic voucher in the first display interface described above;
[0216] If so, replace the displayed icon with the target identifier.
[0217] If not, add the target identifier as the icon corresponding to the electronic voucher to the target display location for display.
[0218] In some of the embodiments shown, the device 1200 further includes:
[0219] The replacement module replaces the icons of electronic vouchers displayed in the first display interface in locations other than the target display location with the target identifier.
[0220] In some of the embodiments shown, the activity interface corresponding to the above-mentioned electronic voucher includes a hand-drawn option corresponding to the above-mentioned preset identifier;
[0221] The above-mentioned output module 1210 is specifically used for:
[0222] In response to a user-initiated action targeting the aforementioned hand-drawn option, an interactive interface corresponding to the hand-drawn option is displayed to the user.
[0223] In some of the embodiments shown, the interactive interface further includes several decorative options corresponding to the hand-drawn area; the device 1200 also includes:
[0224] The decoration module, in response to a user's trigger operation on any of the above decoration options, executes the decoration function corresponding to the above decoration option to decorate the target identifier that the user hand-draws.
[0225] In some of the embodiments shown, the above-described decorative options include one or more combinations of the following:
[0226] Decoration options corresponding to the decoration functions for modifying fonts;
[0227] Decoration options corresponding to the decoration function that adds decorative components to the target logo entered by hand;
[0228] Decoration options corresponding to the decoration function that adds the user's digital signature to the target identifier entered by hand.
[0229] In some of the embodiments shown, the interactive interface further includes generation options corresponding to the preset identifier; the acquisition and recognition module 1220 is specifically used for:
[0230] In response to the user's triggering action on the above-mentioned generation options, identify whether the target identifier hand-drawn by the user is a preset identifier.
[0231] In some of the embodiments shown, the device 1200 further includes:
[0232] The second display module, if the target identifier is a preset identifier, outputs and displays the drawing process of the target identifier hand-drawn by the user and / or the decoration process of the target identifier hand-drawn by the user to the user through the second display interface corresponding to the target identifier.
[0233] In some of the embodiments shown, the device 1200 further includes:
[0234] The further identification module, if the target identifier is a preset identifier, further identifies whether the ratio of the size of the target identifier input by the user to the size of the hand-drawn area reaches a second preset threshold; if yes, it further outputs the second display interface to the user; if no, it clears the content input by the user in the hand-drawn area and prompts the user to re-enter the hand-drawn input in the hand-drawn area.
[0235] or,
[0236] If the target identifier is a preset identifier, further identify whether the user has also manually entered an illegal identifier in the hand-drawn area; if so, clear the content manually entered by the user in the hand-drawn area and prompt the user to manually enter it again in the hand-drawn area; if not, further output the second display interface to the user.
[0237] In some of the embodiments shown, the second display interface includes a second collection option corresponding to the electronic voucher.
[0238] The aforementioned acquisition and identification module 1220 is specifically used for:
[0239] In response to the user's trigger operation corresponding to the second claim option, an electronic voucher acquisition request is sent to the server, so that the server responds to the electronic voucher acquisition request and allocates an electronic voucher to the user from a preset set of electronic vouchers; wherein, the set of electronic vouchers includes multiple types of electronic vouchers with a number of categories equal to a first preset threshold.
[0240] Obtain the electronic credentials assigned to the user by the server from the aforementioned set of electronic credentials.
[0241] In some of the embodiments shown, the acquisition and identification module 1220 described above is specifically used for:
[0242] Send an electronic credential retrieval request to the aforementioned server; wherein the electronic credential retrieval request includes indication information indicating that the target identifier is the recognition result of a preset identifier, so that the aforementioned server responds to the electronic credential retrieval request, performs content verification on the aforementioned indication information, and allocates an electronic credential to the aforementioned user from a preset set of electronic credentials when the verification is successful.
[0243] In some of the embodiments shown, the electronic credentials in the aforementioned electronic credential set are each configured with an allocation probability; wherein, the allocation probability represents the probability that a user obtains the aforementioned electronic credential; the electronic credential allocated by the server to the user from the aforementioned electronic credential set includes the electronic credential with the lowest allocation probability in the aforementioned electronic credential set.
[0244] In some of the embodiments shown, the device 1200 further includes:
[0245] The module determines whether the current time has reached the preset time.
[0246] The second display module is specifically used to: if the current time reaches a preset time, output and display the drawing process of the target logo input by the user's hand-drawn input, and / or the decoration process of the target logo input by the user's hand-drawn input to the user through the second display interface corresponding to the target logo.
[0247] In some of the embodiments shown, the device 1200 further includes:
[0248] The third display module, if the current time has not reached the preset time, outputs and displays the drawing process of the target logo input by the user's hand-drawn input, and / or the decoration process of the target logo input by the user's hand-drawn input, to the user through the third display interface corresponding to the target logo; wherein, the third display interface includes a printing option corresponding to the target logo;
[0249] The aforementioned device 1200 also includes:
[0250] The printing module, in response to the user's trigger operation on the above printing option, outputs a service redemption interface corresponding to the above interactive interface to the user, so that the user can redeem the printing service corresponding to the above target identifier in the above service redemption interface.
[0251] In response to the user completing the redemption of the printing service, a payment interface is displayed to the user so that the user can complete the payment corresponding to the printing service in the payment interface. After the payment is completed, the server generates a service order corresponding to the printing service. The service order includes the mailing address used by the user to receive the printed target identifier.
[0252] In some of the embodiments shown, the device 1200 further includes:
[0253] The gifting module, in response to the user's receipt of the electronic voucher, outputs a fourth display interface corresponding to the target identifier to the user; wherein the fourth display interface includes a gifting option.
[0254] In response to the user's triggering action on the gifting option, obtain the additional electronic voucher assigned to the user by the server for gifting.
[0255] In response to the sending operation initiated by the aforementioned user, the aforementioned additional electronic voucher is sent to the target user, so that when the target user receives the aforementioned additional electronic voucher through the target client, the target client displays the aforementioned target identifier as an icon corresponding to the aforementioned additional electronic voucher to the target user.
[0256] The embodiments of the interactive devices illustrated in this application can be applied to electronic devices. Accordingly, this application discloses an electronic device that may include a processor.
[0257] Memory used to store processor-executable instructions.
[0258] The processor is configured to invoke executable instructions stored in the memory to implement the interactive method as shown in any of the above embodiments.
[0259] Please see Figure 13 , Figure 13 This is a schematic diagram of the hardware structure of an electronic device shown in this application.
[0260] like Figure 13 As shown, the electronic device may include a processor for executing instructions, a network interface for network connectivity, memory for storing operational data for the processor, and non-volatile memory for storing instructions corresponding to the interactive device.
[0261] The interactive device can be implemented through software, hardware, or a combination of both. Taking software implementation as an example, as a logical device, it is formed by the processor of the electronic device loading corresponding computer program instructions from non-volatile memory into memory for execution. From a hardware perspective, besides... Figure 13 In addition to the processor, memory, network interface, and non-volatile memory shown, the electronic device in which the device is located in the embodiment may also include other hardware depending on the actual function of the electronic device, which will not be described in detail here.
[0262] Understandably, in order to improve processing speed, the corresponding instructions for interactive devices can also be stored directly in memory, and this is not a limitation here.
[0263] This application proposes a computer-readable storage medium storing a computer program for performing the interactive method shown in any of the above embodiments.
[0264] Those skilled in the art will understand that one or more embodiments of this application can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this application can take the form of a computer program product implemented above on one or more computer-usable storage media (which may include, but are not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0265] In this application, “and / or” means having at least one of two options. For example, “A and / or B” can include three options: A, B, and “A and B”.
[0266] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the data processing device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0267] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0268] The embodiments of the subject matter and functional operation described in this application can be implemented in the following ways: digital electronic circuits, tangibly embodied computer software or firmware, computer hardware that may include the structures disclosed in this application and their structural equivalents, or combinations thereof. Embodiments of the subject matter described in this application can be implemented as one or more computer programs, i.e., one or more modules of computer program instructions encoded in a tangible, non-transitory program carrier for execution by or control of the operation of a data processing device. Alternatively or additionally, the program instructions may be encoded in artificially generated propagation signals, such as machine-generated electrical, optical, or electromagnetic signals, which are generated to encode information and transmit it to a suitable receiving device for execution by the data processing device. The computer storage medium may be a machine-readable storage device, a machine-readable storage substrate, a random or serial access memory device, or combinations thereof.
[0269] The processing and logic flow described in this application can be executed by one or more programmable computers that execute one or more computer programs to perform corresponding functions by operating on input data and generating output. The aforementioned processing and logic flow can also be executed by dedicated logic circuits—such as FPGAs (Field-Programmable Gate Arrays) or ASICs (Application-Specific Integrated Circuits), and the device can also be implemented as a dedicated logic circuit.
[0270] A computer suitable for executing computer programs may include, for example, a general-purpose and / or special-purpose microprocessor, or any other type of central processing unit. Typically, the central processing unit receives instructions and data from read-only memory and / or random access memory. The basic components of a computer may include a central processing unit for implementing or executing instructions and one or more memory devices for storing instructions and data. Typically, a computer may also include one or more mass storage devices for storing data, such as disks, magneto-optical disks, or optical disks, or the computer may be operatively coupled to such mass storage devices to receive data from or transfer data to them, or both. However, a computer is not required to have such devices. Furthermore, a computer may be embedded in another device, such as a mobile phone, a personal digital assistant (PDA), a mobile audio or video player, a game console, a global positioning system (GPS) receiver, or a portable storage device such as a universal serial bus (USB) flash drive, to name just a few.
[0271] Computer-readable media suitable for storing computer program instructions and data can include all forms of non-volatile memory, media, and memory devices, such as semiconductor memory devices (e.g., EPROM, EEPROM, and flash memory devices), magnetic disks (e.g., internal hard disks or removable disks), magneto-optical disks, and CD-ROMs and DVD-ROMs. Processors and memory may be supplemented by or incorporated into dedicated logic circuitry.
[0272] While this application contains numerous specific implementation details, these should not be construed as limiting any scope of disclosure or claim, but rather are primarily intended to describe the features of specific embodiments of a particular disclosure. Certain features described in the multiple embodiments of this application may also be implemented in combination in a single embodiment. Conversely, various features described in a single embodiment may also be implemented separately in multiple embodiments or in any suitable sub-combination. Furthermore, while features may function in certain combinations as described above and even initially claimed in this way, one or more features from a claimed combination may be removed from that combination in some cases, and a claimed combination may refer to a sub-combination or a variation thereof.
[0273] Similarly, although the operations are depicted in a specific order in the accompanying drawings, this should not be construed as requiring these operations to be performed in the specific order shown or sequentially, or requiring all illustrated operations to be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. Furthermore, the separation of various system modules and components in the above embodiments should not be construed as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product or packaged into multiple software products.
[0274] Thus, specific embodiments of the subject matter have been described. Other embodiments are within the scope of the appended claims. In some cases, the actions recited in the claims may be performed in a different order and still achieve the desired result. Furthermore, the processes depicted in the drawings are not necessarily shown in a specific order or sequence to achieve the desired result. In some implementations, multitasking and parallel processing may be advantageous.
[0275] The above are merely preferred embodiments of one or more embodiments of this application and are not intended to limit the scope of one or more embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this application should be included within the scope of protection of one or more embodiments of this application.
Claims
1. An interaction method based on electronic vouchers, the method comprising: In response to an interaction operation initiated by a user, output an interaction interface to the user; wherein the interaction interface includes a hand-drawing area; Acquire a target identifier hand-drawn and input by the user in the hand-drawing area, and identify whether the target identifier hand-drawn and input by the user is a preset identifier; If the target identifier is a preset identifier, acquire the electronic voucher assigned to the user by the server; wherein the electronic voucher is used to obtain the collection permission of virtual resources in a preset virtual resource set; Display the target identifier to the user as an icon corresponding to the electronic voucher; The acquiring the electronic voucher assigned to the user by the server comprises: Sending an electronic voucher acquisition request to the server, wherein the electronic voucher acquisition request includes indication information indicating the identification result that the target identifier is a preset identifier, so that the server responds to the electronic voucher acquisition request, performs content verification on the indication information, and assigns an electronic voucher to the user from a preset electronic voucher set when the verification is passed; wherein the electronic voucher set includes multiple types of electronic vouchers of which the number of types is a first preset threshold; Acquire the electronic voucher assigned to the user from the electronic voucher set by the server.
2. The method according to claim 1, wherein, When the number of types of the acquired electronic vouchers reaches the first preset threshold, the user obtains the collection permission of the virtual resources in the preset virtual resource set.
3. The method according to claim 1, wherein the identifier comprises a character or a graphic.
4. The method according to claim 3, wherein the virtual resource comprises a virtual red envelope; the character includes the Chinese character "Fu".
5. The method according to claim 1, wherein the displaying the target identifier to the user as an icon corresponding to the electronic voucher comprises: Outputting a detail interface corresponding to the electronic voucher to the user, and outputting and displaying the target identifier in the detail interface as an icon corresponding to the electronic voucher.
6. The method according to claim 5, wherein the detail interface includes a first collection option corresponding to the electronic voucher; The method further comprises: In response to a trigger operation of the user for the first collection option, switching to a first display interface corresponding to the electronic voucher; wherein the first display interface includes a plurality of display positions corresponding to different types of electronic vouchers; Adding the target identifier as an icon corresponding to the electronic voucher to the target display position corresponding to the type of the electronic voucher in the first display interface for display.
7. The method according to claim 6, wherein the adding the target identifier as an icon corresponding to the electronic voucher to the target display position corresponding to the type of the electronic voucher in the first display interface for display comprises: Determining whether an icon is displayed at the target display position corresponding to the type of the electronic voucher in the first display interface; If yes, replacing the displayed icon with the target identifier; If not, the target identifier will be added as an icon corresponding to the electronic credential and displayed in the target display position.
8. The method according to claim 7, further comprising: Replace the icons of electronic credentials displayed in the first display interface in other display locations besides the target display location with the target identifier.
9. The method according to claim 1, wherein the activity interface corresponding to the electronic voucher includes a hand-drawn option corresponding to the preset identifier; The step of responding to an interactive operation initiated by the user and outputting an interactive interface to the user includes: In response to a user-initiated action targeting the hand-drawing option, an interactive interface corresponding to the hand-drawing option is displayed to the user.
10. The method according to claim 9, wherein the interactive interface further includes a plurality of decorative options corresponding to the hand-drawn area; The method further includes: In response to a user's trigger operation on any of the several decoration options, the decoration function corresponding to the decoration option is executed to decorate the target identifier hand-drawn by the user.
11. The method of claim 10, wherein the decorative options comprise one or more combinations of the following: Decoration options corresponding to the decoration functions for modifying fonts; Decoration options corresponding to the decoration function that adds decorative components to the target logo entered by hand; Decoration options corresponding to the decoration function that adds the user's digital signature to the target identifier entered by hand.
12. The method according to claim 9, wherein the interactive interface further includes a generation option corresponding to the preset identifier; The step of identifying whether the target identifier input by the user's hand-drawn gesture is a preset identifier includes: In response to a user's triggering action on the generated option, the system identifies whether the target identifier entered by the user's hand is a preset identifier.
13. The method according to claim 12, further comprising: If the target identifier is a preset identifier, a second display interface corresponding to the target identifier is output to the user; wherein, the second display interface is used to display the drawing process of the target identifier hand-drawn by the user, and / or the decoration process of the target identifier hand-drawn by the user.
14. The method according to claim 12, further comprising, before outputting the second display interface corresponding to the target identifier to the user: If the target identifier is a preset identifier, further identify whether the ratio of the size of the target identifier input by the user to the size of the hand-drawn area reaches a second preset threshold; If yes, the second display interface is then displayed to the user; if no, the content hand-drawn by the user in the hand-drawn area is cleared, and the user is prompted to re-hand-draw in the hand-drawn area. or, If the target identifier is a preset identifier, further identify whether the user has also manually entered an illegal identifier in the hand-drawn area; If yes, clear the content hand-drawn by the user in the hand-drawn area and prompt the user to re-hand-draw in the hand-drawn area; if no, further output the second display interface to the user.
15. The method according to claim 14, wherein the second display interface includes a second collection option corresponding to the electronic voucher; Sending the electronic credential retrieval request to the server includes: In response to the user's triggered operation corresponding to the second claim option, an electronic credential retrieval request is sent to the server.
16. The method according to claim 1, wherein the electronic vouchers in the electronic voucher set are each configured with an allocation probability; wherein, The allocation probability represents the probability that a user obtains the electronic credential; the electronic credential allocated by the server to the user from the set of electronic credentials includes the electronic credential with the lowest allocation probability in the set of electronic credentials.
17. The method of claim 13, further comprising, before outputting a second display interface corresponding to the target identifier to the user: Determine whether the current time has reached the preset time; If the current time reaches the preset time, the drawing process of the target logo input by the user's hand-drawn input, and / or the decoration process of the target logo input by the user's hand-drawn input, will be output and displayed to the user through the second display interface corresponding to the target logo.
18. The method of claim 17, further comprising: If the current time has not reached the preset time, the drawing process of the target logo input by the user's hand-drawn input will be displayed to the user through a third display interface corresponding to the target logo; wherein, the third display interface includes a print option corresponding to the target logo; The method further includes: In response to the user's triggering operation on the printing option, a service redemption interface corresponding to the interactive interface is output to the user, so that the user can redeem the printing service corresponding to the target identifier in the service redemption interface; In response to the user completing the redemption of the printing service, a payment interface is displayed to the user, allowing the user to complete the payment corresponding to the printing service on the payment interface. After the payment is completed, the server generates a service order corresponding to the printing service. The service order includes the user's mailing address for receiving the printed target identifier.
19. The method according to claim 1, further comprising: In response to the user's receipt of the electronic voucher, a fourth display interface corresponding to the target identifier is displayed to the user; wherein, the fourth display interface includes a gift option; In response to the user's triggering operation for the gifting option, obtain the additional electronic voucher assigned to the user by the server for gifting; In response to the sending operation initiated by the user, the additional electronic voucher is sent to the target user, so that when the target user receives the additional electronic voucher through the target client, the target client displays the target identifier as an icon corresponding to the additional electronic voucher to the target user.
20. An interactive device based on electronic credentials, the device comprising: The output module, in response to an interactive operation initiated by the user, outputs an interactive interface to the user; wherein, the interactive interface includes a hand-drawn area; The acquisition and recognition module acquires the target identifier hand-drawn by the user in the hand-drawn area and identifies whether the target identifier hand-drawn by the user is a preset identifier; The first display module, if the target identifier is a preset identifier, obtains the electronic credential assigned to the user by the server; wherein, the electronic credential is used to obtain the right to claim virtual resources in a preset virtual resource set; and displays the target identifier as an icon corresponding to the electronic credential to the user; The step of obtaining the electronic credential assigned to the user by the server includes: An electronic credential retrieval request is sent to the server. The electronic credential retrieval request includes indication information indicating that the target identifier is a preset identifier. The server responds to the electronic credential retrieval request by performing content verification on the indication information. If the verification passes, the server allocates an electronic credential to the user from a preset set of electronic credentials. The set of electronic credentials includes multiple types of electronic credentials with a number of categories equal to a first preset threshold. Obtain the electronic credentials assigned to the user by the server from the electronic credential set.
21. An electronic device, comprising: processor; Memory used to store the processor's executable instructions; The processor is configured to invoke executable instructions stored in the memory to implement the interactive method as described in any one of claims 1-19.
Citation Information
Patent Citations
Method and system for playing back handwriting
CN104750413A
AR-based virtual object allocation method and device
CN106888203A
