Interactive method, device and electronic equipment based on electronic certificate

Through the interactive method based on electronic credentials, users obtain interactive task permissions and perform operations after obtaining a certain number of electronic credential categories, solving the problem of insufficient interactiveness of virtual resource allocation and improving user experience and resource acquisition.

CN115358744BActive Publication Date: 2025-08-26ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210950520.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2025-08-26
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

The existing virtual resource allocation methods have shortcomings in terms of interactivity, which affects the user experience.

Method used

Through the interactive method based on electronic credentials, after obtaining a certain number of electronic credential categories, users obtain interactive task permissions and perform operations in the interactive interface to obtain more virtual resources. The allocation of virtual resources is completed by the server and the client.

Benefits of technology

It improves the user experience in the virtual resource allocation process, enables users to obtain more virtual resources through interactive tasks, and enhances interactivity and sense of participation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115358744B_ABST
    Figure CN115358744B_ABST
Patent Text Reader

Abstract

One or more embodiments of the present specification provide an electronic credential-based interactive method, device, and electronic device, which are applied to a client, the method comprising: determining whether the number of categories of electronic credentials obtained by a user reaches a threshold; if so, sending a permission acquisition request to a server, so that the server responds to the permission acquisition request, authorizes the user with task permissions corresponding to a preset interactive task, and permissions to collect virtual resources in a preset virtual resource set, and returns a permission authorization result; in response to the permission authorization result, outputs an interactive interface corresponding to the interactive task to the user, and allocates a first quantity of virtual resources to the user based on the interactive operations performed by the user in the interactive interface; wherein, the first quantity of virtual resources, when the virtual resources in the virtual resource set meet the allocation conditions, are added to the second quantity of virtual resources allocated to the user from the virtual resource set by the server, and distributed to the user account corresponding to the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments of this specification relate to the field of computer application technology, and more particularly, to an electronic credential-based interaction method, device, and electronic device. Background Art

[0002] With the development of network technology, a variety of virtual resource distribution methods have emerged. For example, in the form of "red envelopes," users can place e-cards, cash gifts, and other items into a red envelope, which can then be distributed to individual users or distributed to a group for members to claim. However, as the scenarios for distributing virtual resources become increasingly diverse, enhancing interactivity in this process is crucial for improving user experience. Summary of the Invention

[0003] This specification proposes an interactive method based on an electronic certificate, which is applied to a client and includes:

[0004] Determining whether the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0005] If the number of categories of electronic credentials obtained by the user reaches a preset threshold, a permission acquisition request is sent to the server, so that the server responds to the permission acquisition request, authorizes the corresponding user permissions for the user, and returns the corresponding permission authorization result; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0006] In response to the permission authorization result, outputting an interactive interface corresponding to the interactive task to the user, and allocating a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface;

[0007] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0008] This specification also proposes an interactive method based on electronic credentials, which is applied to the server, and the method includes:

[0009] receiving a permission acquisition request sent by the client when it is determined that the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0010] In response to the permission acquisition request, authorizing corresponding user permissions for the user; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0011] Returning a corresponding permission authorization result to the client, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the permission authorization result, and allocates a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface;

[0012] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0013] This specification also proposes an interactive device based on an electronic certificate, which is applied to a client and includes:

[0014] A first determination module determines whether the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0015] The authorization module sends a permission acquisition request to the server if the number of categories of electronic credentials obtained by the user reaches a preset threshold, so that the server responds to the permission acquisition request, authorizes the corresponding user permissions for the user, and returns a corresponding permission authorization result; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0016] a first allocation module, which, in response to the permission authorization result, outputs an interactive interface corresponding to the interactive task to the user, and allocates a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface;

[0017] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0018] This specification also proposes an interactive device based on an electronic certificate, which is applied to a server, and the device includes:

[0019] A first receiving module receives a permission acquisition request sent by the client when it is determined that the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0020] an authorization module, in response to the permission acquisition request, authorizing corresponding user permissions for the user; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0021] a return module, configured to return a corresponding permission authorization result to the client, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the permission authorization result, and allocates a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface;

[0022] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0023] This specification also provides an electronic device, comprising:

[0024] processor;

[0025] a memory for storing processor-executable instructions;

[0026] The processor implements the steps of the above method by running the executable instructions.

[0027] This specification also proposes a computer-readable storage medium having computer instructions stored thereon, which implement the steps of the above method when executed by a processor.

[0028] In the above technical solution, when the number of categories of electronic vouchers obtained by a user reaches a threshold, the user can obtain the task authority corresponding to the preset interactive task and the authority to collect virtual resources in the preset virtual resource set, so that the client can output an interactive interface corresponding to the interactive task to the user and allocate a first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources can be accumulated to the second amount of virtual resources allocated to the user by the server from the virtual resource set, and distributed to the user. In this way, interactive tasks can be provided to users, so that users can obtain more virtual resources by performing interactive operations in the interactive interface corresponding to the interactive task, thereby improving the user experience in the virtual resource allocation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 is a schematic diagram of a virtual resource allocation system shown in an exemplary embodiment of this specification;

[0030] Figure 2 is a flow chart of an interactive method based on an electronic credential, shown in an exemplary embodiment of this specification;

[0031] Figure 3A and 3B is a schematic diagram of a display interface shown in an exemplary embodiment of this specification;

[0032] Figure 4 is a schematic diagram of another display interface shown in an exemplary embodiment of this specification;

[0033] Figure 5A and 5B is a schematic diagram of another display interface shown in an exemplary embodiment of this specification;

[0034] Figure 6A and 6B is a schematic diagram of an interactive interface shown in an exemplary embodiment of this specification;

[0035] Figure 7A and 7B is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification;

[0036] Figure 8A and 8B is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification;

[0037] Figure 9 is a schematic diagram of another display interface shown in an exemplary embodiment of this specification;

[0038] Figure 10 is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification;

[0039] Figure 11 is a flow chart of another interactive method based on electronic credentials shown in an exemplary embodiment of this specification;

[0040] Figure 12 This is a hardware structure diagram of an electronic device in which an interactive device based on an electronic credential is located, as shown in an exemplary embodiment of this specification;

[0041] Figure 13 is a block diagram of an interactive device based on an electronic certificate, shown in an exemplary embodiment of this specification;

[0042] Figure 14 It is a block diagram of another interactive device based on electronic credentials shown as an exemplary embodiment of this specification. DETAILED DESCRIPTION

[0043] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The implementations described in the following exemplary embodiments are not intended to represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with certain aspects of one or more embodiments of this specification, as detailed in the appended claims.

[0044] It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than those described in this specification. In addition, a single step described in this specification may be broken down into multiple steps for description in other embodiments, and multiple steps described in this specification may be combined into a single step for description in other embodiments.

[0045] In actual applications, in addition to users configuring a certain number of virtual resources (for example, a virtual red envelope including a certain amount of gift money) and distributing the configured virtual resources to other users, it is also possible to pre-configure a virtual resource collection including a certain number of virtual resources in the server (for example, a virtual red envelope pool including a certain amount of bonus money), and the server will allocate virtual resources to users from the virtual resource collection.

[0046] In some virtual resource allocation scenarios, users can collect electronic credentials of multiple categories. When the number of collected electronic credentials reaches a preset threshold, they obtain access to virtual resources in a preset virtual resource set. For users with this access, the server allocates virtual resources from the virtual resource set to them, allowing them to claim the virtual resources in the virtual resource set.

[0047] For example, the virtual resource can be a virtual red envelope, and the collection of virtual resources can be a virtual red envelope pool. In the illustrated "Five Blessings Grand Prize" red envelope distribution scenario, the electronic voucher can include five types of virtual blessing cards: "Longevity and Health Blessing," "Friendship Blessing," "Prosperity and Strength Blessing," "Family Harmony Blessing," and "Prosperity and Wealth Blessing." Users can collect virtual blessing cards through various channels. After collecting these five types of virtual blessing cards, they obtain the right to receive virtual red envelopes. The server then distributes virtual red envelopes from the virtual red envelope pool to users with this right.

[0048] In this specification, based on the virtual resource allocation scenario shown above, a new interaction mode is proposed.

[0049] In this new interactive mode, when the number of categories of electronic vouchers obtained by a user reaches a threshold, the user can obtain the task authority corresponding to the preset interactive task and the authority to collect virtual resources in the preset virtual resource set, so that the client can output the interactive interface corresponding to the interactive task to the user and allocate a first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources can be accumulated to the second amount of virtual resources allocated to the user by the server from the virtual resource set, and distributed to the user. In this way, interactive tasks can be provided to users, so that users can obtain more virtual resources by performing interactive operations in the interactive interface corresponding to the interactive task, thereby improving the user experience in the virtual resource allocation process.

[0050] Please refer to Figure 1 , Figure 1 This is a schematic diagram of a virtual resource allocation system shown in an exemplary embodiment of this specification.

[0051] like Figure 1 As shown, in this virtual resource allocation system, users can collect various types of electronic credentials through the client. The client can maintain the various electronic credentials collected by the user; alternatively, the client can send the various electronic credentials collected by the user to the server, which will maintain the various electronic credentials collected by the user. The server can maintain a preset virtual resource set and allocate virtual resources to users from this virtual resource set. The virtual resource set can include a certain number of virtual resources, which can be pre-set by technical personnel based on actual needs. For example, the virtual resource set can be a virtual red envelope pool including a certain amount of bonus.

[0052] Among them, the electronic device deployed with the client can be a computer, mobile phone, tablet device, laptop computer, PDA (Personal Digital Assistants) and other electronic devices; the electronic device deployed with the server can be a server and other electronic devices; this manual does not limit this.

[0053] Please refer to Figure 2 , Figure 2 This is a flow chart of an interactive method based on electronic credentials shown as an exemplary embodiment of this specification.

[0054] Combined with Figure 1 The virtual resource allocation system shown in FIG. 1 , wherein the electronic credential-based interaction method can be applied to a client in the virtual resource allocation system. The electronic credential-based interaction method can include the following steps:

[0055] Step 202: Determine whether the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0056] Step 204: If the number of categories of electronic credentials obtained by the user reaches a preset threshold, a permission acquisition request is sent to the server, so that the server responds to the permission acquisition request, authorizes the corresponding user permissions for the user, and returns the corresponding permission authorization result; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0057] Step 206: In response to the permission authorization result, an interactive interface corresponding to the interactive task is output to the user, and a first amount of virtual resources is allocated to the user based on the interactive operations performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated to the user from the virtual resource set by the server, and distributed to the user account corresponding to the user.

[0058] The above-mentioned virtual resources may include any type of electronic resources that can be distributed and issued online. For example, virtual resources may include electronic funds (such as "red envelopes"), electronic items, electronic resources, electronic prizes, etc.

[0059] The aforementioned electronic credentials include any type of electronic credentials used to obtain access to virtual resources within a pre-defined set of virtual resources. In other words, these electronic credentials can serve as credentials for users to access virtual resources from a server. The specific form of the electronic credentials may be a string of characters, numbers, characters, a password, a virtual card, or the like, and this specification does not limit this.

[0060] For example, a certain number of different types of electronic credentials can be pre-configured on the server, and the server can issue different types of electronic credentials to specific user groups according to certain issuance rules. Users can collect electronic credentials of multiple categories and, when the number of collected electronic credentials reaches a preset threshold, obtain access to virtual resources from a preset virtual resource set on the server.

[0061] Users can collect various types of electronic credentials through the client. When the client determines that the number of electronic credentials collected by the user reaches a preset threshold (which can be pre-set by technical personnel), it will consider the user's electronic credentials collection complete and send a permission request to the server.

[0062] Specifically, the client can detect in real time whether the number of categories of electronic credentials obtained by the user maintained by the client has reached the above threshold. If so, the client can display a user option (referred to as a first user option) available for user operation in the display interface corresponding to the above electronic credentials, and upon detecting a user trigger operation for the first user option, the client can send a permission acquisition request corresponding to the user to the server in response to the trigger operation.

[0063] Alternatively, the client can detect in real time whether the number of categories of electronic credentials obtained by the user maintained by the client reaches the above threshold. If so, the client can directly send a permission acquisition request corresponding to the user to the server.

[0064] Furthermore, the client can output user options available for user operation in the display interface corresponding to the above-mentioned electronic credentials, and upon detecting a user trigger operation for the user option, in response to the trigger operation, send an electronic credential query request corresponding to the user to the server. Upon receiving the electronic credential query request, the server can respond to the electronic query request and determine whether the number of categories of electronic credentials obtained by the user maintained by the server has reached the above-mentioned threshold. If so, the server can return query confirmation information to the client, so that upon receiving the query confirmation information, the client can determine that the number of categories of electronic credentials obtained by the user has reached the threshold and send a permission acquisition request corresponding to the user to the server.

[0065] It should be noted that the aforementioned permission acquisition request is used to request corresponding user permissions for users whose acquired electronic credentials reach the aforementioned threshold. Such user permissions may include: task permissions corresponding to interactive tasks (which can be pre-set by technical personnel based on actual needs); and permissions to collect virtual resources from the aforementioned virtual resource set, etc.

[0066] For a user with the user authority, on the one hand, the user can perform the interactive task; on the other hand, the server can allocate virtual resources to the user from the virtual resource set, that is, the user can receive the virtual resources in the virtual resource set.

[0067] Please refer to Figure 3A and 3B , Figure 3A and 3B It is a schematic diagram of a display interface shown in an exemplary embodiment of this specification.

[0068] Continuing with the above-mentioned “Five Blessings Grand Prize” red envelope distribution scenario as an example, Figure 3A and 3B As shown, the display interface corresponding to the above-mentioned electronic certificate can specifically be the "My Fu Card" interface.

[0069] In the "My Fortune Cards" interface, on the one hand, the client can provide display positions corresponding to the five types of virtual fortune cards obtained by the user, namely "Longevity and Health Fortune", "Friendship Fortune", "Prosperity and Strength Fortune", "Family Harmony Fortune" and "Prosperity Fortune" (for example, the bottom of the interface, 5 positions arranged horizontally); on the other hand, the client can mark the number of virtual fortune cards obtained by the user in any category at the preset position corresponding to the display position (for example, the upper right corner of the display position) and update the marked number when the number of virtual fortune cards of this type changes.

[0070] like Figure 3A As shown, the number of "Longevity and Health Blessings" obtained by the user is 16, the number of "Friendship Blessings" is 11, the number of "Prosperity and Strength Blessings" is 4, the number of "Family Harmony Blessings" is 8, and the number of "Prosperity and Wealth Blessings" is 13.

[0071] Since there are five types of virtual lucky cards, a threshold for determining whether a user has completed collecting virtual lucky cards can be pre-set to 5. That is, when a user successfully collects the five types of virtual lucky cards, namely, "Longevity and Health," "Friendship," "Prosperity and Strength," "Family Harmony," and "Prosperity and Wealth," it can be determined that the number of virtual lucky cards of that user's category has reached the threshold. Accordingly, if a user fails to collect any one or more of these five types of virtual lucky cards, it can be determined that the number of virtual lucky cards of that user's category has not reached the threshold. For example, if a user has collected 16 "Longevity and Health," 11 "Friendship," 0 "Prosperity and Strength," 8 "Family Harmony," and 13 "Prosperity and Wealth," then since the user has not yet collected "Prosperity and Strength," it can be determined that the number of virtual lucky cards of that user's category has not reached the threshold.

[0072] In this case, the client can detect in real time whether the number of categories of virtual lucky cards obtained by the user has reached 5. If so, the client can output a "Synthesize" button (i.e., the first user option mentioned above) for the user to click at a preset location in the "My Lucky Cards" interface (e.g., in the center of the interface). The user can click on the "Synthesize" button; when the client detects the user's click on the "Synthesize" button, it can respond to the click by sending a permission request corresponding to the user to the server.

[0073] like Figure 3BAs shown, in response to this click, the client can also update the number of virtual blessing cards in each of the five categories marked in the "My Blessing Cards" interface. That is, the number of virtual blessing cards in each category is reduced by 1 to indicate that 5 virtual blessing cards were consumed during the synthesis, and the 5 consumed virtual blessing cards are one for each of the five categories. At this time, the number of "Longevity and Health Blessings" obtained by the user is 15, the number of "Friendship Blessings" is 10, the number of "Prosperity and Strength Blessings" is 3, the number of "Family Harmony Blessings" is 7, and the number of "Prosperity and Prosperity Blessings" is 12.

[0074] In addition, the client can also switch the "Synthesize" button to an unclickable state in the "My Fu Card" interface (the unclickable state is indicated by a gray background color), and update the text in the "Synthesize" button to "Synthesizing..." to indicate that the above-mentioned user permissions are currently being requested from the server.

[0075] When the server receives the permission acquisition request sent by the client, it can respond to the permission acquisition request, authorize the user permission for the user, and return the permission authorization result corresponding to the task permission and the collection permission.

[0076] Specifically, upon completing the authorization of the user rights for the user, the server may return a rights authorization result indicating that the user is authorized with the task rights corresponding to the interactive task and the rights to collect virtual resources in the virtual resource set.

[0077] When the client receives the permission authorization result returned by the server, it can output an interactive interface corresponding to the interactive task to the user in response to the permission authorization result.

[0078] In actual applications, the client can respond to the above-mentioned permission authorization result and output a user option (called the second user option) that can be operated by the user corresponding to the above-mentioned interactive task in the display interface corresponding to the above-mentioned electronic certificate, and when a trigger operation of the user for the second user option is detected, the client can respond to the trigger operation and output the interactive interface corresponding to the interactive task to the user.

[0079] Please refer to Figure 4 , Figure 4 It is a schematic diagram of another display interface shown in an exemplary embodiment of this specification.

[0080] Combined with Figure 3B The "My Fu Card" interface shown in the figure is as follows: Figure 4 As shown, the above interactive task can specifically be a "beat the Nian beast" task.

[0081] In the "My Fortune Card" interface, on the one hand, in response to the above-mentioned permission authorization result returned by the server, the client can output an "Open" button for the user to click at a preset position (for example, the center of the interface), and output a text option at a preset position corresponding to the position (for example, above the "Open" button) to prompt the user that the user is authorized to receive the virtual red envelope (that is, the virtual resource) in the above-mentioned virtual red envelope pool (that is, the virtual resource collection). For example, the text "The five fortunes have been collected and you can receive the five fortune red envelopes" is displayed in the text option. Among them, by clicking the "Open" button, the user can cause the server to allocate a red envelope to the user from the virtual red envelope pool.

[0082] On the other hand, in response to the above-mentioned permission authorization result returned by the server, the client can output a "Go and beat the Nian beast" button (i.e., the above-mentioned second user option) for the user to click at another preset position (e.g., above the above-mentioned text option), and output a text option at a preset position corresponding to the position (e.g., to the left of the "Go and beat the Nian beast" button) to prompt the user to click the "Go and beat the Nian beast" button, for example, the text "Beat the Nian beast and receive more benefits!" is displayed in the text option. The user can click on the "Go and beat the Nian beast" button to view the interactive interface corresponding to the "Beat the Nian beast" task. When the client detects the user's click operation on the "Go and beat the Nian beast" button, it can output the interactive interface corresponding to the "Beat the Nian beast" task to the user in response to the click operation.

[0083] After outputting the interactive interface corresponding to the interactive task to the user, the client may allocate a first amount of virtual resources to the user based on the interactive operation performed by the user in the interactive interface.

[0084] Specifically, the client may directly allocate the first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface. Alternatively, the client may send the interactive operations performed by the user in the interactive interface to the server, and the server may allocate the first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface.

[0085] It should be noted that the first amount of virtual resources may be added to the second amount of virtual resources allocated by the server to the user from the virtual resource set when the virtual resources in the virtual resource set meet the allocation conditions, thereby enabling the server to distribute the accumulated amount of virtual resources to the user account corresponding to the user. Specifically, the user account corresponding to the user may be a user account used by the user to log in to the client.

[0086] With respect to virtual resources allocated to a user, on the one hand, the server can associate and store the first amount of virtual resources allocated to the user with the user account corresponding to the user; on the other hand, when the virtual resources in the virtual resource set meet the allocation conditions, the server can allocate the second amount of virtual resources to the user from the virtual resource set, and add the first amount of virtual resources to the second amount of virtual resources to distribute the total amount of virtual resources accumulated to the user account corresponding to the user. That is, the total amount of virtual resources ultimately distributed to the user account corresponding to the user = the second amount + the first amount.

[0087] Specifically, the server can detect in real time whether the virtual resources in the above virtual resource set meet the allocation conditions. For example, a release time can be set for the virtual resource set. When the current time reaches the release time, the virtual resources in the virtual resource set can be considered to meet the allocation conditions.

[0088] Continuing with the above-mentioned "Five Fortune Points Grand Prize" red envelope distribution scenario as an example, assuming that the prize drawing time set for the above-mentioned virtual red envelope pool (that is, the above-mentioned distribution time) is 22:18 on February 11, 2021, then at the current time of 22:18 on February 11, 2021, it can be determined that the virtual red envelopes in the virtual red envelope pool meet the distribution conditions.

[0089] In actual applications, after allocating the first amount of virtual resources to the user, the client may send a resource allocation request corresponding to the user to the server; wherein the resource allocation request may include the first amount. Upon receiving the resource allocation request, the server may respond to the resource allocation request and associate the first amount in the resource allocation request with the user account corresponding to the user and store it.

[0090] The user may obtain a certain amount (referred to as the first amount) of virtual resources multiple times by performing interactive operations in the interactive interface corresponding to the interactive task. That is, the client may allocate the first amount of virtual resources to the user multiple times based on the interactive operations performed by the user in the interactive interface.

[0091] For example, multiple levels can be set in the interactive task, and the user can complete each level of the interactive task by performing interactive operations in the interactive interface. Each time the user completes a level, the client can execute an operation to allocate a first amount of virtual resources to the user. The first amount of virtual resources allocated to the user by the client each time can be the same or different, and this specification does not limit this.

[0092] In this case, the server can associate and store the multiple first quantities allocated to the user with the user account corresponding to the user, and when the virtual resources in the virtual resource set meet the allocation conditions, add the multiple first quantities of virtual resources to the second quantity of virtual resources allocated to the user from the virtual resource set, so as to distribute the accumulated total number of virtual resources to the user account corresponding to the user. In other words, the total number of virtual resources ultimately distributed to the user account corresponding to the user = the second quantity + the sum of the first quantities of virtual resources allocated to the user each time.

[0093] In addition, the client may also output a text option in the display interface corresponding to the above-mentioned electronic certificate; wherein the text displayed in the text option may include the sum of the first quantity allocated to the user each time, for the user to view.

[0094] Continuing with the above-mentioned “Five Blessings Grand Prize” red envelope distribution scenario as an example, the above-mentioned second amount of virtual resources can be called a Five Blessings Red Envelope, and the above-mentioned first amount of virtual resources can be called an Additional Blessings Red Envelope.

[0095] Assume that user A performs interactive operations in the interactive interface corresponding to the interactive task, causing the client to allocate a red envelope to user A three times; wherein the amount of the first red envelope allocated to user A is 1.88 yuan, the amount of the second red envelope allocated to user A is 2.88 yuan, and the amount of the third red envelope allocated to user A is 3.88 yuan. The server can associate the amounts of these three red envelopes with the user account corresponding to user A and store them as shown in Table 1 below:

[0096]

[0097] Table 1

[0098] In this case, the total amount of the Tianfu red envelope allocated to user A can be calculated as 1.88+2.88+3.88=8.64 yuan.

[0099] In order to facilitate users to view the obtained Tianfu red envelope, the client can output a text option in the above display interface, and display the text "Has obtained a Tianfu red envelope of 8.64 yuan" in the text option for users to view.

[0100] When the virtual red envelopes in the above virtual red envelope pool meet the allocation conditions, the server can allocate the five-blessing red envelope to user A from the virtual red envelope pool.

[0101] Assuming that the amount of the Five Blessings red envelope allocated to user A is 4.68 yuan, the server can add the total amount of the Add Blessings red envelope received by the user, which is 8.64 yuan, to the total amount of the Five Blessings red envelope, which is 4.68 yuan, and distribute the added red envelope to the user account corresponding to user A. In other words, the total amount of the red envelopes distributed to the user account corresponding to user A = 4.68 + 8.64 = 13.32 yuan.

[0102] Please refer to Figure 5A and 5B , Figure 5A and 5B This is a schematic diagram of another display interface shown in an exemplary embodiment of this specification.

[0103] Combined with Figure 4 The "My Fu Card" interface shown in the figure is as follows: Figure 5A and 5B As shown, the second amount of virtual resources can be specifically a five-blessing red envelope; the first amount of virtual resources can be specifically a multi-blessing red envelope.

[0104] In the "My Fortune Card" interface, on the one hand, the client can output an "Open" button for the user to click at a preset position (for example, the center of the interface), and output a text option at a preset position corresponding to the position (for example, above the "Open" button) to prompt the user that the virtual red envelope in the above-mentioned virtual red envelope pool has been authorized to receive the virtual red envelope. For example, the text "The five fortunes have been collected and you can receive the five fortune red envelope" is displayed in the text option. Among them, by clicking the "Open" button, the user can cause the server to allocate the five fortune red envelope to the user from the virtual red envelope pool when the virtual red envelope in the virtual red envelope pool meets the allocation conditions.

[0105] On the other hand, the client can output a text option at another preset location (for example, below the "Turn on" button) and display the total amount of the Tianfu red envelope obtained by the user in the text option for the user to view. For example, the text "Obtained Tianfu red envelope of 8.64 yuan" can be displayed in the text option.

[0106] like Figure 5B As shown, the client can also output a "View" button for the user to click at the location corresponding to the text option (for example, after the text option). The user can click the "View" button to view the red envelopes allocated to the user each time. When the client detects the user's click operation on the "View" button, it can jump to the "Red Envelopes" interface and display relevant information such as the amount of the red envelopes allocated to the user each time, the allocation time, and the allocation reason (for example, completing the first level of the interactive task) in the "Red Envelopes" interface.

[0107] To increase user engagement in these interactive tasks and further enhance the user experience, the interactive interface corresponding to these interactive tasks may include an invitation option. Upon detecting a user triggering this invitation option, the client may display a user list to the user. This user list may include a number of users whose electronic credentials have been obtained for a number of categories that meet the aforementioned threshold. For example, the user list may display relevant information such as account avatars and account names corresponding to these users.

[0108] Specifically, the client can determine the friend accounts bound to the user account based on the user account corresponding to the user, and respectively determine whether the number of categories of electronic credentials associated with the friend account (i.e., electronic credentials obtained by the user corresponding to the friend account) reaches the above threshold. If so, the user corresponding to the friend account can be added to the above user list.

[0109] The user who is the inviter can select the user who is to be invited (called the target user) from the user list. After obtaining the target user selected by the user, the client can send an interactive invitation request to the client corresponding to the target user through the server.

[0110] When the client corresponding to the target user receives the interactive invitation request, it can respond to the interactive invitation request and synchronously output the above-mentioned interactive interface corresponding to the above-mentioned interactive task to the target user, so that the inviting user and the target user can perform multi-person interactive operations in the interactive interface.

[0111] Please refer to Figure 6A and 6B , Figure 6A and 6B It is a schematic diagram of an interactive interface shown in an exemplary embodiment of this specification.

[0112] Combined with Figure 4 In the “My Fortune Card” interface shown, the above-mentioned interactive task may specifically be the “Fight the Nian Beast” task; and the above-mentioned interactive interface corresponding to the “Fight the Nian Beast” task may specifically be the “Fight the Nian Beast” interface.

[0113] The client detects that the user is targeting Figure 4 When the "Go Fight Nian Beast" button in the "My Fortune Card" interface shown in FIG. 1 is clicked, the following output can be given to the user in response to the click operation: Figure 6A The “Fight the Nian Beast” interface shown.

[0114] In the "beat the Nian Beast" interface, users can perform interactive operations corresponding to the "beat the Nian Beast" task, so that the client or server can allocate virtual points to the user based on the interactive operations performed by the user.

[0115] Specifically, a user can click on the "Kill the Nian Beast" button in the "Kill the Nian Beast" interface; upon detecting the click, the client can trigger a "cannon vehicle" corresponding to the "Kill the Nian Beast" button to fire "firecrackers" at the "Nian Beast." When the "firecrackers" hit the "Nian Beast," virtual points can be allocated to the user; and subsequently, the user can be allocated the first amount of virtual resources based on the virtual points allocated to the user.

[0116] like Figure 6A As shown, in the "Fight the Nian Beast" interface, the client can output a "Fight Together" button (i.e., the invitation option mentioned above) at a preset position (e.g., to the right of the "Fight the Nian Beast" button) for the user to click. The user can click on the "Fight Together" button; when the client detects the click operation, it can output the following to the user: Figure 6B The user list shown in FIG. 4 may include a number of users (eg, friend A, friend B, friend C) whose virtual lucky cards are of 5 categories.

[0117] The user can click on the "Invite" button corresponding to friend A in the user list; when the client detects the click, it can send an interactive invitation request to the client corresponding to friend A through the server. When the client corresponding to friend A receives the interactive invitation request, it can respond to the interactive invitation request and synchronously output the following to friend A: Figure 6A The “Fight the Nian Beast” interface shown.

[0118] In order to increase user participation in the above-mentioned interactive tasks and further enhance user experience, an upper limit on the number of interactions can be configured for the above-mentioned interactive tasks (the upper limit on the number of interactions can be pre-set by technical personnel based on actual needs); users can use the above-mentioned electronic vouchers to redeem the number of interactions corresponding to the interactive task.

[0119] In this case, the client can send a redemption request corresponding to the user to the server in response to the redemption operation initiated by the user, wherein the redemption request can include an electronic certificate (referred to as a target electronic certificate) for redeeming the number of interactions corresponding to the interactive task.

[0120] Specifically, the interactive interface corresponding to the interactive task may include a times redemption option. Upon detecting a user triggering an operation for the times redemption option, the client may, in response to the triggering operation, output an electronic voucher list to the user and display the electronic voucher obtained by the user in the electronic voucher list.

[0121] The user can select a target electronic certificate from the electronic certificate list. After obtaining the target electronic certificate selected by the user, the client can generate an exchange request corresponding to the user based on the target electronic certificate and send the exchange request to the server.

[0122] When the server receives the redemption request, it can respond to the redemption request, redeem the number of interactions corresponding to the above-mentioned interactive task for the user based on the target electronic certificate, and update the upper limit of the number of interactions corresponding to the interactive task. For example: the current upper limit of the number of interactions corresponding to the interactive task can be added to the number of interactions corresponding to the interactive task obtained by redemption, and the resulting value can be used as the updated upper limit of the number of interactions corresponding to the interactive task.

[0123] It should be noted that after completing the redemption of the number of interactions corresponding to the interactive task for the user based on the target electronic certificate, the target electronic certificate can be deleted from the electronic certificates obtained by the user maintained by the server and / or client.

[0124] In actual applications, each time a user completes an interactive operation in the interactive interface corresponding to the interactive task, the upper limit of the number of interactions corresponding to the interactive task can be reduced by 1. When the upper limit of the number of interactions corresponding to the interactive task is reduced to 0, the client can output a text option to the user to indicate that the upper limit of the number of interactions corresponding to the interactive task is 0, for example, displaying the text "The number of interactions has been used up, please redeem the number of interactions" in the text option.

[0125] For example, the task execution duration can be configured for the interactive task; when the duration for which the user performs an interactive operation in the interactive interface reaches the task execution duration, the user is deemed to have completed an interactive operation in the interactive interface; or, when the user completes a level in the interactive task by performing an interactive operation in the interactive interface, the user is deemed to have completed an interactive operation in the interactive interface.

[0126] Please refer to Figure 7A and 7B , Figure 7A and 7B It is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification.

[0127] Combined with Figure 6A The "beat the Nian beast" interface shown is as follows Figure 7A As shown, in the "Beat the Nian Beast" interface, the client can mark the upper limit of the number of interactions corresponding to the "Beat the Nian Beast" task at a preset position corresponding to the display position of the "Beat the Nian Beast" button (for example: the upper right corner of the display position), and update the marked upper limit of the number of interactions when the upper limit of the number of interactions changes.

[0128] In the "beat the Nian beast" interface, the client can output a "redeem times" button (i.e., the above-mentioned times redemption option) at a preset position (e.g., to the left of the "beat the Nian beast" button). The user can click on the "redeem times" button; when the client detects the click, it can output the following to the user: Figure 7B The virtual lucky card list shown in FIG. The virtual lucky card list may include virtual lucky cards obtained by the user.

[0129] The user can select the target virtual lucky card for redeeming the number of interactions corresponding to the "beat the Nian beast" task through the virtual lucky card list, and click the "Redeem" button after completing the selection.

[0130] Specifically, for any of the five categories of virtual blessing cards mentioned above, the user can increase the number of selected virtual blessing cards of this type by clicking the "+" button corresponding to that type of virtual blessing card, or can increase the number of selected virtual blessing cards of this type by clicking the "-" button corresponding to that type of virtual blessing card. Since the number of "Longevity and Health Blessings" obtained by the user at this time is 15, the number of "Friendship Blessings" is 10, the number of "Prosperity and Strength Blessings" is 3, the number of "Family Harmony Blessings" is 7, and the number of "Prosperity and Prosperity Blessings" is 12, when the number of "Prosperity and Strength Blessings" selected by the user reaches 3, the client can switch the "+" button corresponding to "Prosperity and Strength Blessings" to a non-clickable state; in addition, for virtual blessing cards selected by the user with a number of 0, the client can switch the "-" button corresponding to that type of virtual blessing card to a non-clickable state.

[0131] In practical applications ( Figure 7B (not shown in the figure), the client can also display the virtual blessing cards obtained by the user in the virtual blessing card list, and the user can select the target virtual blessing card in the virtual blessing card list to redeem the number of interactions corresponding to the "beat the Nian beast" task.

[0132] When the client detects that the user clicks the "Redeem" button, it can respond to the click operation, obtain the target virtual lucky card selected by the user, generate a redemption request corresponding to the user based on the target virtual lucky card, and send the redemption request to the server.

[0133] Upon receiving the redemption request, the server can respond to the redemption request and redeem the user's interaction times corresponding to the "Fight the Nian Beast" task according to the preset redemption rules. The redemption rules can be pre-set by technical personnel based on actual needs. For example, the redemption rules may include two virtual lucky cards for one interaction time.

[0134] Assuming that the target virtual blessing cards selected by the user are 1 "Longevity and Health" and 3 "Prosperity and Power", the number of interactions corresponding to the "Fight the Nian Beast" task redeemed for the user based on these 4 virtual blessing cards is 2. Since the upper limit of the number of interactions corresponding to the "Fight the Nian Beast" task is 2, the upper limit of the number of interactions can be updated to 2+2=4. In other words, Figure 7A The upper limit of the number of interactions corresponding to the "Fight the Nian Beast" task marked in the "Fight the Nian Beast" interface shown has been updated to 4.

[0135] In addition, the target virtual blessing cards of 1 "Shou Kang Fu" and 3 "Fu Qiang Fu" can be deleted from the electronic certificate obtained by the user maintained by the server and / or client. Figure 3B The number of "Longevity and Health" marked in the "My Fortune Card" interface shown is updated to 14, and the number of "Prosperity and Strength" marked is updated to 0.

[0136] In one embodiment, when allocating the first amount of virtual resources to a user based on the interactive operations performed by the user in the interactive interface corresponding to the interactive task, virtual points may be allocated to the user based on the interactive operations performed by the user in the interactive interface. Subsequently, it may be further determined whether the virtual points allocated to the user have reached a preset threshold (the threshold may be pre-set by technical personnel based on actual needs). If so, the first amount of virtual resources may be allocated to the user.

[0137] Specifically, the first quantity allocated to the user may be proportional to the virtual points allocated to the user, that is, the higher the virtual points allocated to the user, the greater the first quantity allocated to the user.

[0138] Alternatively, different integral value intervals can be set in advance, and the corresponding number of virtual resources can be set for each integral value interval; subsequently, the integral value interval to which the virtual points allocated to the user belong can be determined first, and then the number of virtual resources corresponding to the integral value interval can be used as the first number, and the above-mentioned first number of virtual resources can be allocated to the user.

[0139] In another illustrated embodiment, when allocating the first amount of virtual resources to a user based on interactive operations performed by the user in the interactive interface corresponding to the interactive task, virtual points may be allocated to the user based on the interactive operations performed by the user in the interactive interface. Subsequently, in response to a redemption operation initiated by the user, the client may send a redemption request corresponding to the user to the server. The redemption request may include a preset number of virtual points to be redeemed.

[0140] Specifically, the interactive interface may include a points redemption option. Upon detecting a user triggering the points redemption option, the client may, in response to the triggering operation, output a list of digital benefits to the user, displaying a number of digital benefits available for redemption by the user in the list of digital benefits. The number of digital benefits available for redemption by the user may include digital benefits bound to the electronic certificate obtained by the user.

[0141] For example, the server can maintain the association between the electronic certificate and the corresponding access permissions of the digital rights, as shown in Table 2 below:

[0142]

[0143] Table 2

[0144] In this case, assuming that the user collects electronic certificate A, it can be considered that the user has the authority to obtain digital rights A, digital rights B, and digital rights C bound to electronic certificate A, that is, digital rights A, digital rights B, and digital rights C can be used as digital rights available for the user to collect.

[0145] The user can select the digital rights they want to redeem (called the target digital rights) from the digital rights list. After obtaining the target digital rights selected by the user, the client can generate a redemption request corresponding to the user based on the target digital rights and send the redemption request to the server.

[0146] When the server receives the exchange request, it can respond to the exchange request and exchange the target digital rights for the user based on the virtual points in the exchange request.

[0147] It should be noted that after the target digital rights are redeemed for the user based on the virtual points in the redemption request, the virtual points used to redeem the target digital rights can be deducted from the virtual points allocated to the user, that is, the virtual points in the redemption request can be deducted.

[0148] Subsequently, when the user cancels the target digital benefit, the first amount of virtual resources bound to the target digital benefit may be allocated to the user.

[0149] Specifically, the client may send a cancellation request corresponding to the target digital right to the server in response to a cancellation operation corresponding to the target digital right initiated by the user.

[0150] When receiving the cancellation request, the server may cancel the target digital benefit and allocate the first amount of virtual resources bound to the target digital benefit to the user after canceling the target digital benefit.

[0151] In practical applications, digital rights can be vouchers that provide users with discounts during their consumption, including digital coupons such as digital discount coupons and digital vouchers. For example, they can be discount coupons or vouchers that users can use to purchase goods in offline stores or online stores; or they can be redemption coupons corresponding to online app memberships, etc.

[0152] For example, if a user receives a digital benefit in the form of a discount coupon for use at an offline store, the user can purchase goods at the store and use the coupon when paying for the goods to enjoy the discount policy associated with the coupon. Once the user completes payment for the goods in accordance with the discount policy, the user is deemed to have redeemed the digital benefit.

[0153] Furthermore, the first amount of virtual resources can be bound to each digital benefit separately, so that when a user redeems a digital benefit, they can obtain the first amount of virtual resources bound to that digital benefit. The first amount of virtual resources bound to each digital benefit can be the same or different, and this specification does not impose any restrictions on this.

[0154] Continuing with the above-mentioned "Five Blessings Grand Prize" red envelope distribution scenario as an example, the server can maintain the association between the electronic certificate and the corresponding access permissions of the digital rights, as well as the amount of the blessing red envelope bound to each digital right, as shown in Table 3 below:

[0155]

[0156] Table 3

[0157] In this case, assuming that the user collects electronic certificate A, it can be considered that the user has the authority to obtain digital rights A, digital rights B, and digital rights C bound to electronic certificate A, that is, digital rights A, digital rights B, and digital rights C can be used as digital rights available for the user to collect.

[0158] Assuming further that the user redeems and writes off digital equity B, a red envelope of RMB 2.38 may be allocated to the user.

[0159] Please refer to Figure 8A and 8B , Figure 8A and 8B It is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification.

[0160] Combined with Figure 7A The "beat the Nian beast" interface shown is as follows Figure 8AAs shown, a text option can be output at a preset position (for example, the upper right corner of the interface), and the virtual points obtained by the user by performing the "beating the Nian beast" task can be displayed in the text option, and the virtual points displayed in the text option can be updated when the virtual points change.

[0161] In the "Fight the Nian Beast" interface, the client can output a "Redeem" button (i.e., the above-mentioned points redemption option) at a preset position corresponding to the display position of the text option (for example, below the display position of the text option). The user can click on the "Redeem" button; when the client detects the click operation, it can output the following to the user: Figure 8B The digital rights list shown may include a number of digital rights available for the user to claim.

[0162] The user can click on the "Redeem" button corresponding to the digital rights of store A in the digital rights list; when the client detects the click operation, it can generate a redemption request including the virtual points required to redeem the digital rights of store A, and send the redemption request to the server.

[0163] When the server receives the redemption request, it can respond to the redemption request, redeem the digital rights of store A for the user based on the virtual points in the redemption request, and send the digital rights of store A to the user.

[0164] Since the virtual points required to redeem the digital rights of store A are 500, the virtual points allocated to the user at this time are 1000 points, so the virtual points allocated to the user can be updated to 1000-500=500 points. Figure 8A The virtual points obtained by the user by performing the "beat the Nian beast" task output in the "beat the Nian beast" interface shown are updated to 500.

[0165] In order to further improve the user experience, when the above-mentioned electronic certificate is associated with the acquisition permission corresponding to the above-mentioned digital rights, the client can respond to the user's trigger operation for any one of the electronic certificates obtained by the user (called the target electronic certificate) and send a digital rights acquisition request corresponding to the target electronic certificate to the server.

[0166] When the server receives the digital rights acquisition request, it can respond to the digital rights acquisition request, randomly allocate digital rights to the user from a number of digital rights bound to the target electronic certificate, and send the allocated digital rights to the user.

[0167] That is, the server can send the digital rights allocated to the user to the client, so that the user can use the digital rights through the client.

[0168] Similar to the above description of digital rights, when a user cancels the digital rights, the first amount of virtual resources bound to the digital rights may be allocated to the user.

[0169] Please refer to Figure 9 , Figure 9 This is a schematic diagram of another display interface shown in an exemplary embodiment of this specification.

[0170] Combined with Figure 3A The "My Fu Card" interface shown in the figure is as follows: Figure 9 As shown, in the "My Fortune Card" interface, the client can provide a display location for each virtual fortune card obtained by the user. The user can view the previous virtual fortune card by clicking the "<" button and view the next virtual fortune card by clicking the ">" button.

[0171] The user can perform a trigger operation on the "Shou Kang Fu B" displayed in the "My Fortune Card" interface; the client can respond to the trigger operation and send a request to the server to obtain the digital rights corresponding to "Shou Kang Fu B".

[0172] In response to the received digital rights acquisition request, the server can randomly allocate digital rights to the user from the digital rights bound to "Shou Kangfu B" and send the allocated digital rights to the user.

[0173] In actual applications, the client may also allocate digital rights to the user based on the interactive operations performed by the user in the interactive interface corresponding to the interactive task.

[0174] For example, you can configure digital rights bound to various user interactive operations. Subsequently, based on the interactive operations performed by the user in the interactive interface, the digital rights bound to the interactive operations can be distributed to the user.

[0175] In one embodiment, virtual points may be allocated to a user based on the interactive operations performed by the user in the interactive interface corresponding to the interactive task. Subsequently, it may be determined whether the virtual points allocated to the user have reached a preset threshold (this threshold may be preset by technical personnel based on actual needs). If so, digital rights may be allocated to the user and the allocated digital rights may be delivered to the user.

[0176] For example, a pre-configured relationship between a threshold for virtual points and digital benefits can be established. Subsequently, a determination can be made as to whether the virtual points allocated to the user have reached the threshold; if so, the digital benefit corresponding to the threshold can be allocated to the user. In practical applications, multiple digital benefits can be assigned to a single threshold for virtual points. In this case, a digital benefit can be randomly selected from the multiple digital benefits corresponding to the threshold and allocated to the user.

[0177] Similar to the above description of digital rights, when a user cancels the digital rights, the first amount of virtual resources bound to the digital rights may be allocated to the user.

[0178] In actual applications, the above-mentioned interactive operation may include an operation in which the user interacts with the above-mentioned interactive interface by continuously emitting audio.

[0179] Specifically, the user can control the interactive operation triggered by the user option for interaction in the interactive interface by continuously emitting audio. Figure 6A Taking the “beat the Nian beast” interface shown as an example, the user can control the click operation triggered by the “beat the Nian beast” button in the “beat the Nian beast” interface by continuously emitting audio.

[0180] In this case, when allocating virtual points to the user based on the interactive operations performed by the user in the interactive interface, the audio data emitted by the user can be identified from the collected audio data, and the duration of the audio emitted by the user can be determined based on the identified audio data emitted by the user.

[0181] Specifically, when the user starts to perform an interactive operation in the interactive interface, the microphone can be called to collect audio data. Since the audio data collected by the microphone generally includes some noise (for example, natural noise such as wind and rain in the user's current environment; environmental noise such as passers-by talking, car horns, and construction site sounds; etc.) in addition to the audio data of the audio emitted by the user, audio recognition can be performed on the collected audio data to exclude the noise data in the audio data and identify the audio data emitted by the user, so that the duration of the audio emitted by the user can be determined based on the identified audio data emitted by the user.

[0182] Subsequently, virtual points may be allocated to the user based on the determined duration of the audio emitted by the user.

[0183] Specifically, the virtual points allocated to the user may be proportional to the duration of the audio emitted by the user, that is, the longer the duration of the audio emitted by the user, the higher the virtual points allocated to the user.

[0184] For example, assuming that the number of times a user performs interactive operations in the above interactive interface is 3, and assuming that the ratio of the duration of the audio emitted by the user to the virtual points is 1 / 100, then when the duration of the audio emitted by the user is recognized for the first time is 1 second, 100 virtual points can be allocated to the user; when the duration of the audio emitted by the user is recognized for the second time is 3 seconds, 300 virtual points can be allocated to the user; when the duration of the audio emitted by the user is recognized for the third time is 2 seconds, 200 virtual points can be allocated to the user. That is, after these three interactions, the virtual points allocated to the user are 100+200+300=600 points.

[0185] Alternatively, different duration value intervals can be set in advance, and corresponding virtual points can be configured for each duration value interval. Subsequently, the duration value interval to which the duration of the audio emitted by the user belongs can be determined, and virtual points can be allocated to the user based on the virtual points corresponding to the duration value interval.

[0186] For example, assuming that the number of times a user performs interactive operations in the above interactive interface is 3, and assuming that the corresponding relationship between the duration value range and the virtual points is as shown in Table 2 below:

[0187] Duration value range (unit: seconds) Virtual Points [0,3) 100 [3,6) 500 …… ……

[0188] Table 2

[0189] If the duration of the first recognized audio from the user is 1 second, since 1 falls within the interval [0,3), the user is assigned 100 virtual points. If the second recognized audio from the user is 3 seconds long, since 3 falls within the interval [3,6), the user is assigned 500 virtual points. If the third recognized audio from the user is 2 seconds long, since 2 falls within the interval [0,3), the user is assigned 100 virtual points. In other words, after these three interactions, the user's virtual points are 100 + 500 + 100 = 700.

[0190] In one embodiment shown, when it is determined that the virtual points allocated to the above-mentioned user reach a preset threshold (the threshold can be pre-set by a technician), a preset character text (the character text can be pre-set by a technician according to actual needs) can be output in the above-mentioned interactive interface.

[0191] Specifically, the client can detect in real time whether the virtual points allocated to the user have reached the above threshold. If so, the preset character text can be output in the above interactive interface.

[0192] In this case, content recognition can be further performed on the audio data identified from the collected audio data to obtain the character text corresponding to the audio data. Subsequently, it can be determined whether the identified character text corresponding to the audio data from the user matches the preset character text. If so, additional virtual points can be allocated to the user.

[0193] Please refer to Figure 10 , Figure 10 It is a schematic diagram of another interactive interface shown in an exemplary embodiment of this specification.

[0194] Combined with Figure 8A The "beat the Nian beast" interface shown is as follows Figure 10 As shown, assuming that the above-mentioned preset character text is "Happy Chinese New Year" and the above-mentioned threshold is 1000 points, since the virtual points currently allocated to the user are 1000 points, the character text "Happy Chinese New Year" can be output in the "Fight the Nian Beast" interface.

[0195] At this time, the audio data sent by the user identified from the collected audio data can be further identified to obtain the character text corresponding to the audio data sent by the user. If the identified character text is also "Happy Chinese New Year", it can be determined that the identified character text matches the above-mentioned preset character text, so that additional virtual points can be allocated to the user. For example, assuming that the preset additional virtual points are 500 points, the virtual points allocated to the user can be updated to 1000+500=1500 points. That is, Figure 10 The virtual points obtained by the user through the "Fight the Nian Beast" task output in the "Fight the Nian Beast" interface shown are updated to 1500.

[0196] It should be noted that there can be multiple above-mentioned thresholds; when it is determined that the virtual points allocated to the above-mentioned user reaches any one of these thresholds, the above-mentioned preset character text can be output in the above-mentioned interactive interface, and when the identified character text corresponding to the audio data sent by the user matches the preset character text, additional virtual points are allocated to the user.

[0197] Continue as Figure 8ATaking the "Fight the Nian Beast" interface shown as an example, the threshold value can include 1000 points, 2000 points, and 3000 points. When the virtual points allocated to the user reaches 1000 points, the character text "Happy Chinese New Year" can be output in the "Fight the Nian Beast" interface; when the virtual points allocated to the user reaches 2000 points, the character text "Happy Chinese New Year" can also be output in the "Fight the Nian Beast" interface; when the virtual points allocated to the user reaches 3000 points, the character text "Happy Chinese New Year" can also be output in the "Fight the Nian Beast" interface; and so on.

[0198] In actual applications, the above-mentioned interactive operation may include an operation in which a user interacts with the interactive interface by continuously performing a click operation in the above-mentioned interactive interface.

[0199] In this case, when allocating virtual points to the user based on the interactive operations performed by the user in the interactive interface, click data corresponding to the click operations performed by the user in the interactive interface can be collected, and the frequency of the click operations performed by the user in the interactive interface can be determined based on the collected click data.

[0200] Subsequently, virtual points may be allocated to the user based on the determined frequency of click operations performed by the user in the interactive interface.

[0201] Specifically, the virtual points allocated to the user may be proportional to the frequency of click operations performed by the user in the interactive interface, that is, the faster the frequency of click operations performed by the user in the interactive interface, the higher the virtual points allocated to the user.

[0202] Alternatively, different frequency value intervals can be set in advance, and corresponding virtual points can be configured for each frequency value interval. Subsequently, the frequency value interval to which the frequency of the click operation performed by the user in the interactive interface belongs can be determined, and virtual points can be allocated to the user based on the virtual points corresponding to the frequency value interval.

[0203] In one embodiment shown, when it is determined that the virtual points allocated to the above-mentioned user reach a preset threshold (the threshold can be pre-set by a technician), a preset character text (the character text can be pre-set by a technician according to actual needs) can be output in the above-mentioned interactive interface.

[0204] Specifically, the client can detect in real time whether the virtual points allocated to the user have reached the above threshold. If so, the above preset character text can be output in the above interactive interface.

[0205] In this case, the click location corresponding to the user's click operation in the interactive interface can be further determined based on the collected click data. Subsequently, it can be determined whether the determined click location matches the preset display position of the character text in the interactive interface. If so, additional virtual points can be allocated to the user.

[0206] It should be noted that there can be multiple above-mentioned thresholds; when it is determined that the virtual points allocated to the above-mentioned user reaches any one of these thresholds, the above-mentioned preset character text can be output in the above-mentioned interactive interface, and when the click position determined based on the click operation performed by the user in the interactive interface matches the display position of the above-mentioned preset character text in the interactive interface, additional virtual points can be allocated to the user.

[0207] In the above technical solution, when the number of categories of electronic vouchers obtained by a user reaches a threshold, the user can obtain the task authority corresponding to the preset interactive task and the authority to collect virtual resources in the preset virtual resource set, so that the client can output an interactive interface corresponding to the interactive task to the user and allocate a first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources can be accumulated to the second amount of virtual resources allocated to the user by the server from the virtual resource set, and distributed to the user. In this way, interactive tasks can be provided to users, so that users can obtain more virtual resources by performing interactive operations in the interactive interface corresponding to the interactive task, thereby improving the user experience in the virtual resource allocation process.

[0208] Please refer to Figure 11 , Figure 11 This is a flow chart of an interactive method based on electronic credentials shown as an exemplary embodiment of this specification.

[0209] Combined with Figure 1 The virtual resource allocation system shown in FIG. 1 , wherein the electronic certificate-based interaction method can be applied to a server in the virtual resource allocation system. The electronic certificate-based interaction method can include the following steps:

[0210] Step 1102 , receiving a permission acquisition request sent by the client when determining that the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0211] Step 1104: In response to the permission acquisition request, authorize the user with corresponding user permissions; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0212] Step 1106, returns the corresponding permission authorization result to the client, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the permission authorization result, and allocates a first amount of virtual resources to the user based on the interactive operation performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated to the user from the virtual resource set by the server, and distributed to the user account corresponding to the user.

[0213] In this embodiment, the interactive task is configured with an upper limit on the number of interactions;

[0214] The method further comprises:

[0215] receiving an exchange request sent by the client in response to an exchange operation initiated by the user; wherein the exchange request includes a target electronic certificate to be exchanged;

[0216] The target electronic voucher is used to redeem the number of interactions corresponding to the interactive task for the user, and the upper limit of the number of interactions corresponding to the interactive task is updated.

[0217] In this embodiment, the method further includes:

[0218] receiving a resource allocation request sent by the client after allocating a first amount of virtual resources to the user; wherein the resource allocation request includes the first amount;

[0219] In response to the resource allocation request, the first quantity is associated with a user account corresponding to the user and stored.

[0220] In this embodiment, the virtual resource includes a virtual red envelope.

[0221] The specific implementation of the above steps 1102 to 1106 can refer to Figure 2 The embodiments shown in this specification will not be described in detail here.

[0222] In the above technical solution, when the number of categories of electronic vouchers obtained by a user reaches a threshold, the user can obtain the task authority corresponding to the preset interactive task and the authority to collect virtual resources in the preset virtual resource set, so that the client can output an interactive interface corresponding to the interactive task to the user and allocate a first amount of virtual resources to the user based on the interactive operations performed by the user in the interactive interface; wherein, when the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources can be accumulated to the second amount of virtual resources allocated to the user by the server from the virtual resource set, and distributed to the user. In this way, interactive tasks can be provided to users, so that users can obtain more virtual resources by performing interactive operations in the interactive interface corresponding to the interactive task, thereby improving the user experience in the virtual resource allocation process.

[0223] Corresponding to the aforementioned embodiment of the interaction method based on electronic credentials, this specification also provides an embodiment of an interaction device based on electronic credentials.

[0224] The embodiments of the interactive device based on electronic credentials in this specification can be applied to electronic devices. The device embodiments can be implemented through software, hardware, or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the electronic device in which it is located reading the corresponding computer program instructions in the non-volatile memory into the memory and running it. From the hardware level, if Figure 12 The figure shows a hardware structure diagram of the electronic device where the interactive device of the electronic certificate is located. Figure 12 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 according to the actual function of the electronic certificate-based interaction, which will not be described in detail.

[0225] Please refer to Figure 13 , Figure 13 This is a block diagram of an interactive device based on an electronic certificate, shown as an exemplary embodiment of this specification. The interactive device based on the electronic certificate 130 can be applied to Figure 12 The electronic device shown has a client deployed therein; the electronic credential-based interaction device 130 may include:

[0226] The first determining module 1301 determines whether the number of categories of the electronic credentials obtained by the user reaches a preset threshold;

[0227] Authorization module 1302, if the number of categories of electronic credentials obtained by the user reaches a preset threshold, sends a permission acquisition request to the server, so that the server responds to the permission acquisition request, authorizes the corresponding user rights for the user, and returns the corresponding permission authorization result; wherein the user rights include task rights corresponding to preset interactive tasks and rights to collect virtual resources in a preset virtual resource set;

[0228] A first allocation module 1303 outputs an interactive interface corresponding to the interactive task to the user in response to the permission authorization result, and allocates a first amount of virtual resources to the user based on the interactive operation performed by the user in the interactive interface;

[0229] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0230] In this embodiment, the interactive task is configured with an upper limit on the number of interactions;

[0231] The device also includes (not shown in the figure):

[0232] The redemption module sends a redemption request to the server in response to the redemption operation initiated by the user, wherein the redemption request includes the target electronic certificate to be redeemed, so that the server responds to the redemption request, redeems the number of interactions corresponding to the interactive task for the user based on the target electronic certificate, and updates the upper limit of the number of interactions corresponding to the interactive task.

[0233] In this embodiment, the interactive interface includes an interactive invitation option;

[0234] The device also includes (not shown in the figure):

[0235] a first output module, in response to the user triggering the interactive invitation option, outputting a user list to the user; wherein the user list includes a number of users whose number of categories of electronic credentials obtained reaches a preset threshold;

[0236] The invitation module obtains the target user selected by the user in the user list, and sends an interactive invitation request to the client corresponding to the target user through the server, so that the client corresponding to the target user responds to the interactive invitation request and synchronously outputs the interactive interface to the target user, and the user and the target user perform multi-person interactive operations in the interactive interface.

[0237] In this embodiment, the device further includes (not shown in the figure):

[0238] The association module sends a resource allocation request to the server after allocating a first amount of virtual resources to the user, wherein the resource allocation request includes the first amount, so that the server associates and stores the first amount with the user account corresponding to the user in response to the resource allocation request.

[0239] In this embodiment, the authorization module 1302:

[0240] If the number of categories of electronic credentials obtained by the user reaches a preset threshold, a first user option corresponding to the user authority is output on a display interface corresponding to the electronic credentials;

[0241] In response to the user's triggering operation on the first user option, a permission acquisition request is sent to a server.

[0242] In this embodiment, the first allocation module 1303:

[0243] In response to the permission authorization result, outputting a second user option corresponding to the interactive task in a display interface corresponding to the electronic certificate;

[0244] In response to the user's triggering operation on the second user option, an interactive interface corresponding to the interactive task is output to the user.

[0245] In this embodiment, the first allocation module 1303:

[0246] allocating virtual points to the user based on interactive operations performed by the user in the interactive interface;

[0247] Determining whether the virtual integral reaches a preset threshold;

[0248] If the virtual points reach a preset threshold, a first amount of virtual resources is allocated to the user.

[0249] In this embodiment, the first allocation module 1303:

[0250] allocating virtual points to the user based on interactive operations performed by the user in the interactive interface;

[0251] In response to a redemption operation initiated by the user, a redemption request is sent to the server, wherein the redemption request includes a preset number of virtual points to be redeemed, so that the server, in response to the redemption request, redeems the digital benefit for the user based on the preset number of virtual points, and allocates a first number of virtual resources bound to the digital benefit to the user when the user redeems the digital benefit.

[0252] In this embodiment, the interactive operation includes an operation in which the user interacts with the interactive interface by continuously emitting audio;

[0253] The first allocation module 1303:

[0254] Identifying audio data emitted by a user from the collected audio data, and determining a duration of the audio emitted by the user based on the identified audio data;

[0255] Virtual points are allocated to the user based on the duration.

[0256] In this embodiment, the first allocation module 1303:

[0257] Determining whether the duration reaches a preset threshold;

[0258] If the duration reaches a preset threshold, virtual points corresponding to the preset threshold are allocated to the user.

[0259] In this embodiment, the device further includes (not shown in the figure):

[0260] A second output module, which outputs a preset character text in the interactive interface if the virtual points reach a preset threshold;

[0261] a first recognition module, performing content recognition on the audio data sent by the user to obtain character text corresponding to the audio data;

[0262] A second determination module determines whether the identified character text corresponding to the audio data matches the preset character text;

[0263] The second allocating module allocates additional virtual points to the user if the recognized character text corresponding to the audio data matches the preset character text.

[0264] In this embodiment, the interactive operation includes an operation in which the user interacts with the interactive interface by continuously performing a click operation in the interactive interface;

[0265] The first allocation module 1303:

[0266] Collecting click data corresponding to a click operation performed by the user in the interactive interface, and determining a frequency of the click operation performed by the user in the interactive interface based on the collected click data;

[0267] Virtual points are allocated to the user based on the frequency.

[0268] In this embodiment, the first allocation module 1303:

[0269] determining whether the frequency reaches a preset threshold;

[0270] If the frequency reaches a preset threshold, virtual points corresponding to the preset threshold are allocated to the user.

[0271] In this embodiment, the device further includes (not shown in the figure):

[0272] A third output module, which outputs a preset character text in the interactive interface if the virtual points reach a preset threshold;

[0273] a second recognition module, determining, based on the click data, a click position corresponding to a click operation performed by the user in the interactive interface;

[0274] A third determination module determines whether the click position matches the display position of the preset character text in the interactive interface;

[0275] The third allocation module allocates additional virtual points to the user if the click position matches the display position of the preset character text in the interactive interface.

[0276] In this embodiment, the virtual resource includes a virtual red envelope.

[0277] Please refer to Figure 14 , Figure 14 This is a block diagram of an interactive device based on an electronic certificate, shown as an exemplary embodiment of this specification. The interactive device based on the electronic certificate 140 can be applied to Figure 12 The electronic device shown has a server deployed therein; the electronic credential-based interaction device 140 may include:

[0278] The first receiving module 1401 receives a permission acquisition request sent by the client when it is determined that the number of categories of electronic credentials obtained by the user reaches a preset threshold;

[0279] The authorization module 1402, in response to the permission acquisition request, authorizes the user to obtain corresponding user permissions; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set;

[0280] Return module 1403 returns the corresponding permission authorization result to the client, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the permission authorization result, and allocates a first amount of virtual resources to the user based on the interactive operation performed by the user in the interactive interface;

[0281] When the virtual resources in the virtual resource set meet the allocation conditions, the first amount of virtual resources are added to the second amount of virtual resources allocated by the server to the user from the virtual resource set and distributed to the user account corresponding to the user.

[0282] In this embodiment, the interactive task is configured with an upper limit on the number of interactions;

[0283] The device also includes (not shown in the figure):

[0284] A second receiving module receives an exchange request sent by the client in response to an exchange operation initiated by the user; wherein the exchange request includes a target electronic certificate to be exchanged;

[0285] The redemption module redeems the number of interactions corresponding to the interactive task for the user based on the target electronic certificate, and updates the upper limit of the number of interactions corresponding to the interactive task.

[0286] In this embodiment, the device further includes (not shown in the figure):

[0287] a third receiving module, configured to receive a resource allocation request sent by the client after allocating a first amount of virtual resources to the user; wherein the resource allocation request includes the first amount;

[0288] The associating module is configured to associate and store the first quantity with a user account corresponding to the user in response to the resource allocation request.

[0289] In this embodiment, the virtual resource includes a virtual red envelope.

[0290] The implementation process of the functions and effects of each module in the above-mentioned device is specifically described in the implementation process of the corresponding steps in the above-mentioned method, and will not be repeated here.

[0291] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this specification. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0292] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email transceiver, game console, tablet computer, wearable device, or any combination of these devices.

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

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

[0295] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be used to store information using any method or technology. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0296] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0297] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0298] The terms used in one or more embodiments of this specification are for the purpose of describing specific embodiments only and are not intended to limit one or more embodiments of this specification. The singular forms "a," "an," "the," and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0299] It should be understood that although the terms first, second, third, etc. may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when..." or "when..." or "in response to determining."

[0300] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of this specification shall be included in the scope of protection of one or more embodiments of this specification.

Claims

1. An interactive method based on an electronic credential, the method being applied to a client, the method comprising: Determining whether the number of categories of electronic credentials obtained by the user reaches a preset threshold; If the number of categories of electronic credentials obtained by the user reaches a preset threshold, the server obtains the user rights corresponding to the user; wherein the user rights include task rights corresponding to preset interactive tasks and rights to collect virtual resources in a preset virtual resource set; In response to the user authority, outputting an interactive interface corresponding to the interactive task to the user, and allocating a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface; The first amount of virtual resources is added to the second amount of virtual resources allocated by the server to the user from the virtual resource set, and distributed to the user account corresponding to the user.

2. The method according to claim 1, wherein the interactive task is configured with an upper limit on the number of interactions; The method further comprises: In response to the redemption operation initiated by the user, a redemption request is sent to the server, wherein the redemption request includes the target electronic certificate to be redeemed, so that the server responds to the redemption request, redeems the number of interactions corresponding to the interactive task for the user based on the target electronic certificate, and updates the upper limit of the number of interactions corresponding to the interactive task.

3. The method according to claim 1, wherein the interactive interface includes an interactive invitation option; The method further comprises: In response to the user triggering the interactive invitation option, outputting a user list to the user; wherein the user list includes a number of users whose number of categories of electronic credentials obtained reaches a preset threshold; Obtain the target user selected by the user in the user list, and send an interaction invitation request to the client corresponding to the target user through the server, so that the client corresponding to the target user responds to the interaction invitation request and synchronously outputs the interaction interface to the target user, and the user and the target user perform multi-person interaction operations in the interaction interface.

4. The method according to claim 1, further comprising: After allocating a first amount of virtual resources to the user, a resource allocation request is sent to the server, wherein the resource allocation request includes the first amount, so that the server associates and stores the first amount with a user account corresponding to the user in response to the resource allocation request.

5. The method according to claim 1, wherein if the number of categories of electronic credentials obtained by the user reaches a preset threshold, sending a permission acquisition request to the server comprises: If the number of categories of electronic credentials obtained by the user reaches a preset threshold, a first user option corresponding to the user authority is output on a display interface corresponding to the electronic credentials; In response to the user's triggering operation on the first user option, a permission acquisition request is sent to a server.

6. The method according to claim 1, wherein outputting an interactive interface corresponding to the interactive task to the user comprises: Outputting a second user option corresponding to the interactive task in a display interface corresponding to the electronic certificate; In response to the user's triggering operation on the second user option, an interactive interface corresponding to the interactive task is output to the user.

7. The method according to claim 1, allocating a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface, comprising: allocating virtual points to the user based on interactive operations performed by the user in the interactive interface; Determining whether the virtual integral reaches a preset threshold; If the virtual points reach a preset threshold, a first amount of virtual resources is allocated to the user.

8. The method according to claim 1, allocating a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface, comprising: allocating virtual points to the user based on interactive operations performed by the user in the interactive interface; In response to a redemption operation initiated by the user, a redemption request is sent to the server, wherein the redemption request includes a preset number of virtual points to be redeemed, so that the server, in response to the redemption request, redeems the digital benefit for the user based on the preset number of virtual points, and allocates a first number of virtual resources bound to the digital benefit to the user when the user redeems the digital benefit.

9. The method according to claim 7 or 8, wherein the interactive operation comprises an operation in which the user interacts with the interactive interface by continuously emitting audio; The allocating virtual points to the user based on the interactive operation performed by the user in the interactive interface includes: Identifying audio data emitted by a user from the collected audio data, and determining a duration of the audio emitted by the user based on the identified audio data; Virtual points are allocated to the user based on the duration.

10. The method according to claim 9, wherein allocating virtual points to the user based on the duration comprises: Determining whether the duration reaches a preset threshold; If the duration reaches a preset threshold, virtual points corresponding to the preset threshold are allocated to the user.

11. The method according to claim 9, further comprising: If the virtual points reach a preset threshold, outputting a preset character text in the interactive interface; Performing content recognition on the audio data sent by the user to obtain character text corresponding to the audio data; Determining whether the recognized character text corresponding to the audio data matches the preset character text; If the recognized character text corresponding to the audio data matches the preset character text, additional virtual points are allocated to the user.

12. The method according to claim 7 or 8, wherein the interactive operation comprises an operation in which a user interacts with the interactive interface by continuously performing a click operation in the interactive interface; The allocating virtual points to the user based on the interactive operation performed by the user in the interactive interface includes: Determining a frequency of click operations performed by the user in the interactive interface; Virtual points are allocated to the user based on the frequency.

13. The method according to claim 12, wherein allocating virtual points to the user based on the frequency comprises: determining whether the frequency reaches a preset threshold; If the frequency reaches a preset threshold, virtual points corresponding to the preset threshold are allocated to the user.

14. The method according to claim 12, further comprising: If the virtual points reach a preset threshold, outputting a preset character text in the interactive interface; Determining a click position corresponding to a click operation performed by the user in the interactive interface; Determining whether the click position matches the display position of the preset character text in the interactive interface; If the click position matches the display position of the preset character text in the interactive interface, additional virtual points are allocated to the user.

15. An interactive method based on an electronic certificate, applied to a server, comprising: receiving a permission acquisition request sent by the client when it is determined that the number of categories of electronic credentials obtained by the user reaches a preset threshold; In response to the permission acquisition request, authorizing corresponding user permissions for the user, wherein the user permissions include task permissions corresponding to a preset interactive task and permissions to collect virtual resources in a preset virtual resource set, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the user permissions, and allocates a first amount of virtual resources to the user based on interactive operations performed by the user in the interactive interface; The first amount of virtual resources is added to the second amount of virtual resources allocated by the server to the user from the virtual resource set, and distributed to the user account corresponding to the user.

16. The method according to claim 15, wherein the interactive task is configured with an upper limit on the number of interactions; The method further comprises: receiving an exchange request sent by the client in response to an exchange operation initiated by the user; wherein the exchange request includes a target electronic certificate to be exchanged; The target electronic voucher is used to redeem the number of interactions corresponding to the interactive task for the user, and the upper limit of the number of interactions corresponding to the interactive task is updated.

17. The method according to claim 15, further comprising: receiving a resource allocation request sent by the client after allocating a first amount of virtual resources to the user; wherein the resource allocation request includes the first amount; In response to the resource allocation request, the first quantity is associated with a user account corresponding to the user and stored.

18. An interactive device based on an electronic certificate, the device being applied to a client, the device comprising: A first determination module determines whether the number of categories of electronic credentials obtained by the user reaches a preset threshold; The authorization module obtains user permissions corresponding to the user from the server if the number of categories of electronic credentials obtained by the user reaches a preset threshold; wherein the user permissions include task permissions corresponding to preset interactive tasks and permissions to collect virtual resources in a preset virtual resource set; a first allocation module, responsive to the user authority, outputting an interactive interface corresponding to the interactive task to the user, and allocating a first amount of virtual resources to the user based on an interactive operation performed by the user in the interactive interface; The first amount of virtual resources is added to the second amount of virtual resources allocated by the server to the user from the virtual resource set, and distributed to the user account corresponding to the user.

19. An interactive device based on an electronic certificate, applied to a server, comprising: A first receiving module receives a permission acquisition request sent by the client when it is determined that the number of categories of electronic credentials obtained by the user reaches a preset threshold; an authorization module, in response to the permission acquisition request, authorizing corresponding user permissions for the user, wherein the user permissions include task permissions corresponding to a preset interactive task and permissions to collect virtual resources in a preset virtual resource set, so that the client outputs an interactive interface corresponding to the interactive task to the user in response to the user permissions, and allocates a first amount of virtual resources to the user based on interactive operations performed by the user in the interactive interface; The first amount of virtual resources is added to the second amount of virtual resources allocated by the server to the user from the virtual resource set, and distributed to the user account corresponding to the user.

20. An electronic device comprising: processor; a memory for storing processor-executable instructions; The processor implements the method according to any one of claims 1-14 or 15-17 by running the executable instructions.

21. A computer-readable storage medium having computer instructions stored thereon, wherein when the instructions are executed by a processor, the method according to any one of claims 1 to 14 or 15 to 17 is implemented.

Citation Information

Patent Citations

  • Electronic resource distribution method and device

    CN106209577A

  • Virtual goods packet sending method, receiving method, devices and system

    CN106709705A