Electronic voucher-based interaction method, apparatus and electronic device
By using an interactive method based on electronic vouchers, users can obtain the right to claim a set of virtual resources after acquiring a certain number and types of electronic vouchers. They can then redeem digital rights to obtain more virtual resources, which solves the problem of insufficient interactivity in the allocation of virtual resources and improves the user experience.
Patent Information
- Application Number
- CN202211177147.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-20
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2041-01-20
AI Technical Summary
Existing virtual resource allocation methods are insufficient in terms of interactivity, which affects user experience.
Through an interactive method based on electronic vouchers, users obtain the right to claim a set of virtual resources after acquiring a certain number and type of electronic vouchers. They then obtain the first number of virtual resources by redeeming their digital rights, which are then added to the second number of virtual resources for distribution.
It improves the user experience in the virtual resource allocation process, enabling users to acquire more virtual resources through interactive tasks, thus increasing interactivity and engagement.
Smart Images

Figure CN115456608B_ABST
Abstract
Description
[0001] This application is a divisional application of the patent application with the application number "202110076166.1", the application date of January 20, 2021, and the name of "Interaction method, device and electronic equipment based on electronic voucher". TECHNICAL FIELD
[0002] One or more embodiments of the present specification relate to the technical field of computer applications, and particularly relate to an interaction method, device and electronic equipment based on electronic vouchers. BACKGROUND
[0003] With the development of network technology, various virtual resource allocation methods have emerged. Taking the allocation of virtual resources in the form of "red packets" as an example, users can put electronic greeting cards, gift money, etc. into "red packets", and then send the "red packets" to a certain user or to a group, which can be taken by members in the group. However, with the increasing richness of virtual resource allocation scenarios, how to improve the interactivity in the allocation of virtual resources is of great significance to improving user experience. SUMMARY
[0004] The present specification proposes an interaction method based on electronic vouchers, which is applied to a client; wherein a user obtains a taking permission of a virtual resource in a preset virtual resource set when the number of categories of electronic vouchers obtained by the user reaches a preset threshold; the method comprises:
[0005] obtaining a digital right issued by a server; wherein the digital right is bound to a first number of virtual resources;
[0006] In response to a cancellation operation initiated by the user and corresponding to the digital right, a cancellation request corresponding to the digital right is sent to the server, so that the server performs cancellation processing on the digital right in response to the cancellation request, and allocates the first number of virtual resources to the user when the digital right is cancelled.
[0007] Among them, when the user obtains the taking permission and the virtual resource in the virtual resource set meets the allocation condition, the first number of virtual resources is added to the second number of virtual resources allocated by the server from the virtual resource set to the user account corresponding to the user.
[0008] The present specification also proposes an interaction method based on electronic vouchers, which is applied to a server; wherein a user obtains a taking permission of a virtual resource in a preset virtual resource set when the number of categories of electronic vouchers obtained by the user reaches a preset threshold; the method comprises:
[0009] send a digital right to the client; wherein the digital right is bound to a first number of virtual resources;
[0010] obtain a cancellation request corresponding to the digital right sent by the client in response to the user initiating a cancellation operation corresponding to the digital right;
[0011] in response to the cancellation request, cancel the digital right, and when the digital right is cancelled, allocate the first number of virtual resources to the user;
[0012] wherein the first number of virtual resources is added to a second number of virtual resources allocated by the server to the user from the virtual resource set when the user obtains the collection permission and the virtual resources in the virtual resource set meet the allocation condition, and is distributed to a user account corresponding to the user.
[0013] The present specification also proposes an interactive device based on electronic vouchers, which is applied to a client; wherein a user obtains a collection permission of a virtual resource in a preset virtual resource set when a number of categories of obtained electronic vouchers reaches a preset threshold; the device comprises:
[0014] an obtaining module, which obtains a digital right issued by a server; wherein the digital right is bound to a first number of virtual resources;
[0015] a first allocation module, which, in response to the user initiating a cancellation operation corresponding to the digital right, sends a cancellation request corresponding to the digital right to the server, so that the server, in response to the cancellation request, cancels the digital right, and when the digital right is cancelled, allocates the first number of virtual resources to the user;
[0016] wherein the first number of virtual resources is added to a second number of virtual resources allocated by the server to the user from the virtual resource set when the user obtains the collection permission and the virtual resources in the virtual resource set meet the allocation condition, and is distributed to a user account corresponding to the user.
[0017] The present specification also proposes an interactive device based on electronic vouchers, which is applied to a server; wherein a user obtains a collection permission of a virtual resource in a preset virtual resource set when a number of categories of obtained electronic vouchers reaches a preset threshold; the device comprises:
[0018] an issuing module, which sends a digital right to a client; wherein the digital right is bound to a first number of virtual resources;
[0019] The first obtaining module obtains a redemption request corresponding to the digital entitlement sent by the client in response to the user initiating a redemption operation corresponding to the digital entitlement;
[0020] The first distribution module, in response to the redemption request, performs a redemption process on the digital entitlement, and distributes the first number of virtual resources to the user when the digital entitlement is redeemed.
[0021] The first number of virtual resources is added to a second number of virtual resources distributed to the user account corresponding to the user by the server from the set of virtual resources when the user obtains the collection permission and the virtual resources in the set of virtual resources meet the distribution condition.
[0022] The present specification also proposes an electronic device comprising:
[0023] A processor;
[0024] A memory for storing processor executable instructions;
[0025] The processor implements the steps of the above method by running the executable instructions.
[0026] The present specification also proposes a computer readable storage medium having computer instructions stored thereon, which instructions are executed by a processor to implement the steps of the above method.
[0027] In the above technical solution, the user can obtain the collection permission of the virtual resources in the preset set of virtual resources when the number of categories of the obtained electronic vouchers reaches the threshold value; the server can issue a digital entitlement to the user, so that the user can be allocated a first number of virtual resources by the server when the obtained digital entitlement is redeemed; wherein the first number of virtual resources can be added to a second number of virtual resources allocated to the user by the server from the set of virtual resources when the virtual resources in the set of virtual resources meet the distribution condition, and distributed to the user. In this way, on the one hand, the user can obtain the digital entitlement issued by the server, and on the other hand, the user can obtain a larger number of virtual resources by redeeming the obtained digital entitlement, thereby improving the user experience in the virtual resource distribution process. BRIEF DESCRIPTION OF DRAWINGS
[0028] Figure 1 is a schematic diagram of a virtual resource distribution system according to an example embodiment of the present specification;
[0029] Figure 2 is a flowchart of an electronic voucher-based interactive method according to an example embodiment of the present specification;
[0030] Figure 3A and 3B is a schematic diagram of a display interface according to an exemplary embodiment of the present specification;
[0031] Figure 4 is a schematic diagram of another display interface according to an exemplary embodiment of the present specification;
[0032] Figure 5A and 5B is a schematic diagram of still another display interface according to an exemplary embodiment of the present specification;
[0033] Figure 6A and 6B is a schematic diagram of an interactive interface according to an exemplary embodiment of the present specification;
[0034] Figure 7A and 7B is a schematic diagram of another interactive interface according to an exemplary embodiment of the present specification;
[0035] Figure 8A and 8B is a schematic diagram of still another interactive interface according to an exemplary embodiment of the present specification;
[0036] Figure 9 is a schematic diagram of still another display interface according to an exemplary embodiment of the present specification;
[0037] Figure 10 is a schematic diagram of still another interactive interface according to an exemplary embodiment of the present specification;
[0038] Figure 11 is a flowchart of another electronic voucher-based interactive method according to an exemplary embodiment of the present specification;
[0039] Figure 12 is a hardware structure diagram of an electronic device in which an electronic voucher-based interactive apparatus is located according to an exemplary embodiment of the present specification;
[0040] Figure 13 is a block diagram of an electronic voucher-based interactive apparatus according to an exemplary embodiment of the present specification;
[0041] Figure 14 is a block diagram of another electronic voucher-based interactive apparatus according to an exemplary embodiment of the present specification. DETAILED DESCRIPTION
[0042] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, like reference numerals refer to like elements, unless the context clearly dictates otherwise. The following description of exemplary embodiments is not representative of all possible embodiments consistent with one or more aspects of the present specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of the present specification as detailed in the appended claims.
[0043] It should be noted that the steps of the methods in other embodiments are not necessarily performed in the order shown and described in the specification. In some other embodiments, the steps of the methods can be more or less than those described in the specification. Furthermore, a single step described in the specification can be split into multiple steps in other embodiments; and multiple steps described in the specification can be combined into a single step in other embodiments.
[0044] In practical applications, in addition to a certain amount of virtual resources (for example, virtual red packets including a certain amount of gift money) configured by a user and distributed to other users, a virtual resource set (for example, a virtual red packet pool including a certain amount of bonus) including a certain amount of virtual resources can be pre-configured in the server, and the server can allocate virtual resources to users from the virtual resource set.
[0045] In some virtual resource allocation scenarios, a user can collect electronic vouchers of multiple categories, and when the number of collected electronic vouchers of the categories reaches a preset threshold, the user can obtain the right to claim virtual resources in a preset virtual resource set. For a user with the right to claim, the server can allocate virtual resources to the user from the virtual resource set, that is, the user can claim virtual resources in the virtual resource set.
[0046] For example, the virtual resources described above can be virtual red packets, and the virtual resource set described above can be a virtual red packet pool. In the red packet distribution scenario of "Five Blessings Big Prize" shown, the electronic vouchers can include "Longevity Blessing", "Friendship Blessing", "Prosperity Blessing", "Family Harmony Blessing", and "Wealth Blessing" and other 5 categories of virtual blessing cards. A user can collect virtual blessing cards through various channels, and after collecting the 5 categories of virtual blessing cards, the user can obtain the right to claim virtual red packets, and the server can distribute virtual red packets to users with the right to claim from the virtual red packet pool.
[0047] In the present specification, on the basis of the virtual resource allocation scenarios shown above, a brand new interactive mode is proposed.
[0048] In the new interactive mode, when the number of obtained electronic vouchers reaches a threshold, the user can obtain the task permission corresponding to the preset interactive task and the collection permission of the virtual resource 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 number of virtual resources to the user based on the interactive operation performed by the user in the interactive interface; wherein the first number of virtual resources can be added to the second number of virtual resources allocated by the server to the user from the virtual resource set when the virtual resource in the virtual resource set meets the allocation condition, and distributed to the user. In this way, the user can be provided with an interactive task, so that the user can obtain a larger number of virtual resources by performing an interactive operation in the interactive interface corresponding to the interactive task, thereby improving the user experience in the virtual resource allocation process.
[0049] Please refer to Figure 1 , Figure 1 is a schematic diagram of a virtual resource allocation system according to an example embodiment of the present specification.
[0050] As Figure 1 shown, in the virtual resource allocation system, the user can collect various types of electronic vouchers through the client. The client can maintain each electronic voucher collected by the user; or the client can send each electronic voucher collected by the user to the server, and the server can maintain each electronic voucher collected by the user. The server can maintain a preset virtual resource set and allocate virtual resources to the user from the virtual resource set; wherein the virtual resource set can include a certain number of virtual resources, and the number of virtual resources can be pre-set by technical personnel according to actual needs, for example: the virtual resource set can be a virtual red envelope pool including a certain amount of bonus.
[0051] Among them, the electronic device deployed with the client can be a computer, a mobile phone, a tablet device, a notebook computer, a personal digital assistant (PDA, Personal Digital Assistant) and the like; the electronic device deployed with the server can be a server and the like; the present specification does not limit this.
[0052] Please refer to Figure 2 , Figure 2 is a flowchart of an electronic voucher-based interactive method according to an example embodiment of the present specification.
[0053] In combination with the virtual resource allocation system as Figure 1 shown, the electronic voucher-based interactive method can be applied to the client in the virtual resource allocation system. The electronic voucher-based interactive method can include the following steps:
[0054] In step 202, a digital right issued by a server is acquired; wherein the digital right is bound to a first quantity of virtual resources;
[0055] In step 204, in response to the user-initiated cancellation operation corresponding to the digital right, a cancellation request corresponding to the digital right is sent to the server, so that the server performs cancellation processing on the digital right in response to the cancellation request, and allocates the first quantity of virtual resources to the user when the digital right is cancelled; wherein the first quantity of virtual resources is added to a second quantity of virtual resources allocated by the server to the user from the virtual resource set when the user acquires the collection permission and the virtual resources in the virtual resource set meet the allocation condition, and is distributed to a user account corresponding to the user.
[0056] The above-mentioned virtual resources can include any type of electronic resources that can be distributed and distributed online, for example: virtual resources can include electronic funds (such as "red envelopes"), electronic goods, electronic resources, electronic prizes, etc.
[0057] The above-mentioned electronic voucher includes any type of electronic voucher for obtaining the collection permission of the virtual resources in the preset virtual resource set. That is, the above-mentioned electronic voucher can be used as a voucher when the user extracts virtual resources from the server. The specific form of the electronic voucher can be a string, a number, a character, a password, a virtual card, etc., which is not limited in the present specification.
[0058] For example, a certain number of different categories of electronic vouchers can be pre-configured in the server, and the server can distribute different categories of electronic vouchers to specific user groups according to certain distribution rules. Users can collect electronic vouchers of multiple categories, and when the number of collected electronic voucher categories reaches a preset threshold, the user can obtain the collection permission of the virtual resources in the preset virtual resource set in the server.
[0059] Users can collect electronic vouchers of multiple categories through the above-mentioned client. The client can determine that the user has completed the collection of electronic vouchers when the number of categories of electronic vouchers acquired by the user reaches a preset threshold (which can be pre-set by a technician), so as to send a permission acquisition request to the above-mentioned server.
[0060] Specifically, the client can detect in real time whether the number of the electronic vouchers obtained by the user maintained by the client reaches the threshold. If yes, the client can output a user option (referred to as a first user option) operable by the user in a display interface corresponding to the electronic vouchers, and send a permission obtaining request corresponding to the user to the server in response to a triggering operation of the user on the first user option.
[0061] Alternatively, the client can detect in real time whether the number of the electronic vouchers obtained by the user maintained by the client reaches the threshold. If yes, the client can directly send a permission obtaining request corresponding to the user to the server.
[0062] Further, the client can output a user option operable by the user in a display interface corresponding to the electronic vouchers, and send an electronic voucher query request corresponding to the user to the server in response to a triggering operation of the user on the user option. The server can determine whether the number of the electronic vouchers obtained by the user maintained by the server reaches the threshold in response to the electronic query request when receiving the electronic voucher query request. If yes, the server can return a query confirmation information to the client, so that the client can determine that the number of the electronic vouchers obtained by the user reaches the threshold when receiving the query confirmation information, and send a permission obtaining request corresponding to the user to the server.
[0063] It should be noted that the permission obtaining request is used to request the corresponding user permission for the user whose number of obtained electronic vouchers reaches the threshold. The user permission can include: a task permission corresponding to an interactive task (which can be pre-set by a technical person according to actual needs); and a collection permission of a virtual resource in the virtual resource set; and the like.
[0064] For the user with the user permission, on the one hand, the user can perform the interactive task; on the other hand, the server can allocate a virtual resource to the user from the virtual resource set, i.e., the user can collect the virtual resource in the virtual resource set.
[0065] Please refer to Figure 3A and 3B , Figure 3A and 3B are schematic diagrams of a display interface according to an exemplary embodiment of the present specification.
[0066] Continuing with the above-mentioned "five-fortune big prize" red envelope issuing scene, as shown in Figure 3A and 3B , the display interface corresponding to the electronic vouchers can be a "my luck card" interface.
[0067] In the "My Fortune Cards" interface, on one hand, the client can provide display positions corresponding to the five types of virtual fortune cards (e.g., 5 positions arranged horizontally at the bottom of the interface) for the "Longevity Fortune", "Friendship Fortune", "Prosperity Fortune", "Family Fortune" and "Wealth Fortune" virtual fortune cards obtained by the user; on the other hand, the client can mark the number of the virtual fortune cards of any type in the display position corresponding to the type of the virtual fortune cards in the preset position (e.g., the upper right corner of the display position) corresponding to the display position, and update the marked number when the number of the virtual fortune cards of the type changes.
[0068] As shown in Figure 3A , the number of "Longevity Fortune" virtual fortune cards obtained by the user is 16, the number of "Friendship Fortune" virtual fortune cards is 11, the number of "Prosperity Fortune" virtual fortune cards is 4, the number of "Family Fortune" virtual fortune cards is 8, and the number of "Wealth Fortune" virtual fortune cards is 13.
[0069] Since there are five types of virtual fortune cards, the threshold for determining whether the user has completed the collection of virtual fortune cards can be set to 5 in advance. That is, when the user successfully collects the "Longevity Fortune", "Friendship Fortune", "Prosperity Fortune", "Family Fortune" and "Wealth Fortune" virtual fortune cards, it can be determined that the number of types of virtual fortune cards obtained by the user reaches the threshold. Accordingly, when the user does not collect any one or more types of virtual fortune cards among the five types of virtual fortune cards, it can be determined that the number of types of virtual fortune cards obtained by the user does not reach the threshold, for example, assuming that the number of "Longevity Fortune" virtual fortune cards obtained by the user is 16, the number of "Friendship Fortune" virtual fortune cards is 11, the number of "Prosperity Fortune" virtual fortune cards is 0, the number of "Family Fortune" virtual fortune cards is 8, and the number of "Wealth Fortune" virtual fortune cards is 13, since the user does not currently collect "Prosperity Fortune", it can be determined that the number of types of virtual fortune cards obtained by the user does not reach the threshold.
[0070] In this case, the client can detect in real time whether the number of types of virtual fortune cards obtained by the user reaches 5. If so, the client can output a "Synthesize" button (i.e., the first user option described above) that can be clicked by the user in a preset position (e.g., the center of the interface) in the "My Fortune Cards" interface. The user can perform a click operation on the "Synthesize" button; the client can send a permission acquisition request corresponding to the user to the server in response to the click operation when detecting the click operation of the user on the "Synthesize" button.
[0071] As shown in Figure 3BAs shown, the client can also update the number of virtual lucky cards in each of the above-mentioned five categories of virtual lucky cards marked in the "My Lucky Cards" interface in response to the click operation, i.e., reduce the number of virtual lucky cards in each category by 1, to indicate that 5 virtual lucky cards are consumed in the synthesis, and the 5 virtual lucky cards consumed are one from each of the five categories of virtual lucky cards. At this time, the number of "Longevity Lucky Cards" obtained by the user is 15, the number of "Friendship Lucky Cards" is 10, the number of "Prosperity Lucky Cards" is 3, the number of "Family Harmony Lucky Cards" is 7, and the number of "Wealth Lucky Cards" is 12.
[0072] In addition, the client can also switch the "Synthesize" button to an unclickable state (represented by a gray background color) and update the text in the "Synthesize" button to "Synthesizing..." in the "My Lucky Cards" interface, to indicate that the current request for obtaining the above-mentioned user permissions from the server.
[0073] When the server receives the above-mentioned permission obtaining request sent by the client, it can authorize the above-mentioned user permissions for the above-mentioned user in response to the permission obtaining request, and return the permission authorization result corresponding to the above-mentioned task permissions and the above-mentioned collection permissions.
[0074] Specifically, the server can return a permission authorization result indicating that the user is authorized with the task permissions corresponding to the above-mentioned interactive task and the collection permissions of the virtual resources in the above-mentioned virtual resource set in the above-mentioned user permissions when completing the authorization of the user permissions for the user.
[0075] When the client receives the above-mentioned permission authorization result returned by the server, it can output an interactive interface corresponding to the above-mentioned interactive task to the user in response to the permission authorization result.
[0076] In actual applications, the client can output a user option (referred to as a second user option) corresponding to the above-mentioned interactive task in the display interface corresponding to the above-mentioned electronic voucher in response to the above-mentioned permission authorization result, and output an interactive interface corresponding to the interactive task to the user in response to a trigger operation of the second user option.
[0077] Please refer to Figure 4 , Figure 4 is a schematic diagram of another display interface shown in an exemplary embodiment of the present specification.
[0078] As shown in the "My Lucky Cards" interface as shown in Figure 3B , the above-mentioned interactive task can be a "beat the New Year beast" task as shown in Figure 4 .
[0079] In the "My Fortune Cards" interface, the client can respond to the permission authorization result returned by the server by displaying a clickable "Open" button in a preset location (e.g., the center of the screen) and a text option in a corresponding preset location (e.g., above the "Open" button) to inform the user that they have been authorized to receive virtual red envelopes (i.e., virtual resources) from the aforementioned virtual red envelope pool (i.e., virtual resource set). For example, the text option might display "All five fortunes have been collected; you can receive a five-fortune red envelope." By clicking the "Open" button, the user can have the server allocate a red envelope from the virtual red envelope pool to that user.
[0080] On the other hand, in response to the permission authorization result returned by the server, the client can output a clickable "Go Fight the Nian Beast" button (i.e., the second user option) at another preset location (e.g., above the aforementioned text option), and output a text option at a corresponding preset location (e.g., to the left of the "Go Fight the Nian Beast" button) to prompt the user to click the "Go Fight the Nian Beast" button. For example, the text option might display "Fight the Nian Beast and receive more benefits!" The user can click the "Go Fight the Nian Beast" button to view the interactive interface corresponding to the "Fight the Nian Beast" task. When the client detects a user's click on the "Go Fight the Nian Beast" button, it can respond to the click by outputting the interactive interface corresponding to the "Fight the Nian Beast" task to the user.
[0081] After the client outputs the interactive interface corresponding to the above-mentioned interactive task to the user, it can allocate a first number of virtual resources to the user based on the interactive operation performed by the user in the interactive interface.
[0082] Specifically, the client can directly allocate a first number of virtual resources to the user based on the interactive operations performed by the user in the interactive interface. Alternatively, the client can send the interactive operations performed by the user in the interactive interface to the server, which will then allocate a first number of virtual resources to the user based on those operations.
[0083] It should be noted that the aforementioned first quantity of virtual resources can be added to the second quantity of virtual resources allocated by the server from the aforementioned virtual resource set to the aforementioned user when the virtual resources in the aforementioned virtual resource set meet the allocation conditions. This allows the server to distribute the accumulated virtual resources to the user account corresponding to that user. Specifically, the user account corresponding to that user can be the user account used by that user for logging into the client.
[0084] For the virtual resources allocated to the user, on one hand, the server can store the first number of virtual resources allocated to the user in association with the user account corresponding to the user; on the other hand, the server can allocate the second number of virtual resources to the user from the virtual resource set when the virtual resources in the virtual resource set meet the allocation condition, and add the first number of virtual resources to the second number of virtual resources to distribute the total number of virtual resources obtained by adding to the user account corresponding to the user. That is, the total number of virtual resources finally distributed to the user account corresponding to the user = second number + first number.
[0085] Specifically, the server can detect in real time whether the virtual resources in the virtual resource set meet the allocation condition, for example: a distribution time can be set for the virtual resource set, and when the current time reaches the distribution time, it is considered that the virtual resources in the virtual resource set meet the allocation condition.
[0086] Continuing with the above "five blessings big prize" red envelope distribution scenario, assuming that the draw time (i.e. the above distribution time) set for the virtual red envelope pool 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 envelope in the virtual red envelope pool meets the allocation condition.
[0087] In actual application, the client can send a resource allocation request corresponding to the user to the server after allocating the first number of virtual resources to the user; wherein the resource allocation request can include the first number. The server can store the first number in the resource allocation request in association with the user account corresponding to the user in response to the resource allocation request.
[0088] The user can obtain a certain number (all referred to as first number) of virtual resources multiple times by performing an interactive operation in the interactive interface corresponding to the above interactive task. That is, the client can allocate the first number of virtual resources to the user multiple times based on the interactive operation performed by the user in the interactive interface.
[0089] For example, a plurality of levels can be set in the interactive task, and the user can complete each level in the interactive task by performing an interactive operation in the interactive interface; the user can be allocated the first number of virtual resources by the client once for each level completed. Wherein, the first number of virtual resources allocated by the client to the user each time can be the same or different, which is not limited in the present specification.
[0090] In this case, the server can store in association the first number of virtual resources allocated to the user and the user account corresponding to the user, and when the virtual resource in the virtual resource set satisfies the allocation condition, the server can add the first number of virtual resources to the second number of virtual resources allocated to the user from the virtual resource set, and then distribute the total number of virtual resources to the user account corresponding to the user. That is, the total number of virtual resources distributed to the user account corresponding to the user = the second number + the sum of the first number of virtual resources allocated to the user each time.
[0091] In addition, the client can also output a text option in the display interface corresponding to the electronic voucher; wherein the text displayed in the text option can include the sum of the first number of virtual resources allocated to the user each time, for the user to view.
[0092] Taking the above-mentioned "five-fu big prize" red envelope distribution scenario as an example, the second number of virtual resources can be referred to as a five-fu red envelope, and the first number of virtual resources can be referred to as a five-fu red envelope.
[0093] Suppose user A performs an interactive operation in the interactive interface corresponding to the interactive task, and the client allocates five-fu red envelopes to user A three times; wherein the first five-fu red envelope allocated to user A has an amount of 1.88 yuan, the second five-fu red envelope allocated to user A has an amount of 2.88 yuan, and the third five-fu red envelope allocated to user A has an amount of 3.88 yuan, then the server can store in association the amounts of the three five-fu red envelopes and the user account corresponding to user A, as shown in Table 1 below:
[0094]
[0095] Table 1
[0096] In this case, the total amount of the five-fu red envelopes allocated to user A can be calculated as 1.88 + 2.88 + 3.88 = 8.64 yuan.
[0097] In order to facilitate the user to view the obtained five-fu red envelope, the client can output a text option in the display interface, and display the text "five-fu red envelope 8.64 yuan has been obtained" in the text option for the user to view.
[0098] When the virtual red envelope in the virtual red envelope pool satisfies the allocation condition, the server can allocate a five-fu red envelope to user A from the virtual red envelope pool.
[0099] Suppose the amount of the five-fortune red packet allocated to user A is 4.68 yuan, the server can add the total amount of 8.64 yuan of the add-fortune red packet obtained by the user to the five-fortune red packet with an amount of 4.68 yuan, and distribute the red packet obtained by the addition to the user account corresponding to user A. That is, the total amount of the red packet finally distributed to the user account corresponding to user A = 4.68 + 8.64 = 13.32 yuan.
[0100] Please refer to Figure 5A and 5B , Figure 5A and 5B is another schematic view of a display interface shown in an exemplary embodiment of the present specification.
[0101] In combination with the "My Fortune Card" interface shown in Figure 4 , as shown in Figure 5A and 5B , the second number of virtual resources, specifically, the five-fortune red packet; the first number of virtual resources, specifically, the add-fortune red packet.
[0102] In the "My Fortune Card" interface, on the one hand, the client can output an "open" button available for the user to click on a preset position (for example: the center of the interface), and output a text option in a preset position corresponding to the position (for example: above the "open" button) to prompt the user that he / she is authorized to receive the virtual red packet in the virtual red packet pool, for example: display the text "five-fortune has been collected, and can receive the five-fortune red packet" in the text option. Wherein, the user can click the "open" button to enable the server to allocate the five-fortune red packet to the user from the virtual red packet pool when the virtual red packet in the virtual red packet pool meets the allocation condition.
[0103] On the other hand, the client can output a text option on another preset position (for example: below the "open" button), and display the total amount of the add-fortune red packet obtained by the user in the text option for the user to view, for example: display the text "has obtained add-fortune red packet 8.64 yuan" in the text option.
[0104] As shown in Figure 5B , the client can also output a "view" button available for the user to click on a position corresponding to the text option (for example: behind the text option). The user can click the "view" button to view the add-fortune red packet allocated to the user each time. The client can jump to the "add-fortune red packet" interface when detecting the click operation of the user on the "view" button, and display the amount of the add-fortune red packet allocated to the user each time, the allocation time, the allocation reason (for example: completing the first level of interactive task) and other related information in the "add-fortune red packet" interface.
[0105] To improve the user engagement of the above-mentioned interactive task and further improve the user experience, the interactive interface corresponding to the above-mentioned interactive task can include an invitation option. When the client detects a triggering operation of the user on the invitation option, the client can output a user list to the user. The user list can include a plurality of users whose category number of electronic vouchers reaches the threshold value.
[0106] Specifically, the client can determine a friend account bound to the user account corresponding to the user based on the user account, and determine whether the category number of electronic vouchers associated with the friend account (i.e., the electronic vouchers obtained by the user corresponding to the friend account) reaches the threshold value. If so, the user corresponding to the friend account can be added to the above-mentioned user list.
[0107] The user as the inviter can select a user as the invitee (referred to as a target user) through the above-mentioned 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.
[0108] When the client corresponding to the target user receives the interactive invitation request, the client can synchronously output the above-mentioned interactive interface corresponding to the above-mentioned interactive task to the target user in response to the interactive invitation request, so that the inviter and the target user can perform a multi-person interactive operation in the interactive interface.
[0109] Please refer to Figure 6A and 6B , Figure 6A and 6B are schematic diagrams of an interactive interface according to an example embodiment of the present specification.
[0110] In combination with the "My Fortune Card" interface as shown in Figure 4 , the above-mentioned interactive task can be a "beat the New Year beast" task, and the above-mentioned interactive interface corresponding to the "beat the New Year beast" task can be a "beat the New Year beast" interface.
[0111] When the client detects a click operation of the user on the "go to beat the New Year beast" button in the "My Fortune Card" interface as shown in Figure 4 , the client can output the "beat the New Year beast" interface as shown in Figure 6A in response to the click operation.
[0112] In the "beat the New Year beast" interface, the user can perform an interactive operation corresponding to the "beat the New Year beast" task, so that the client or the server can assign virtual points to the user based on the interactive operation performed by the user.
[0113] Specifically, the user can perform a click operation on the "hit the New Year beast" button in the "hit the New Year beast" interface; the client can trigger the "firecracker car" corresponding to the "hit the New Year beast" button to fire "firecrackers" at the "New Year beast" when detecting the click operation. When the "firecrackers" hit the "New Year beast", the user can be allocated virtual points; the user can be allocated the first number of virtual resources based on the virtual points allocated to the user.
[0114] As shown in Figure 6A , in the "hit the New Year beast" interface, the client can output a "hit together" button (i.e. the above-mentioned invitation option) for the user to click on a preset position (e.g. the right side of the "hit the New Year beast" button). The user can perform a click operation on the "hit together" button; the client can output a user list as shown in Figure 6B to the user when detecting the click operation. The user list can include a number of users (e.g. Friend A, Friend B, and Friend C) whose category number of virtual lucky cards is 5.
[0115] The user can perform a click operation on the "invite" button corresponding to Friend A in the user list; the client can send an interactive invitation request to the client corresponding to Friend A through the server when detecting the click operation. The client corresponding to Friend A can output the "hit the New Year beast" interface as shown in Figure 6A to Friend A in response to the interactive invitation request when receiving the interactive invitation request.
[0116] To improve the user participation in the above-mentioned interactive task and further improve the user experience, an upper limit value of the number of interactions can be configured for the above-mentioned interactive task (the upper limit value of the number of interactions can be pre-set by technical personnel according to actual needs); the user can exchange the number of interactions corresponding to the interactive task using the above-mentioned electronic voucher.
[0117] In this case, the client can send an exchange request corresponding to the user to the server in response to the exchange operation initiated by the user. The exchange request can include an electronic voucher (referred to as a target electronic voucher) for exchanging the number of interactions corresponding to the interactive task.
[0118] Specifically, the above-mentioned interactive interface corresponding to the above-mentioned interactive task can include a number of exchange options. The client can output an electronic voucher list to the user and display the above-mentioned electronic voucher obtained by the user in the electronic voucher list in response to the trigger operation of the user on the number of exchange options when detecting the trigger operation.
[0119] The user can select a target electronic voucher from the list of electronic vouchers. After obtaining the target electronic voucher selected by the user, the client can generate a redemption request corresponding to the user based on the target electronic voucher, and send the redemption request to the server.
[0120] When the server receives the redemption request, it can respond to the redemption request by redeeming the number of interactions corresponding to the interaction task for the user based on the target electronic voucher, and updating the upper limit value of the number of interactions corresponding to the interaction task. For example, the current upper limit value of the number of interactions corresponding to the interaction task can be added to the number of interactions corresponding to the interaction task obtained by redemption, and the sum of the two values can be used as the updated upper limit value of the number of interactions corresponding to the interaction task.
[0121] It should be noted that after completing the redemption of the number of interactions corresponding to the interaction task for the user based on the target electronic voucher, the target electronic voucher can be deleted from the electronic vouchers obtained by the user from the server and / or the client.
[0122] In actual application, the upper limit value of the number of interactions corresponding to the interaction task can be reduced by 1 each time the user completes an interaction operation in the interaction interface corresponding to the interaction task. When the upper limit value of the number of interactions corresponding to the interaction task is reduced to 0, the client can output a text option to the user to prompt that the upper limit value of the number of interactions corresponding to the interaction task is 0, for example, the text "number of times used up, please redeem number of times" can be displayed in the text option.
[0123] For example, the interaction task can be configured with a task execution duration. When the user performs an interaction operation in the interaction interface for a duration that reaches the task execution duration, it can be considered that the user has completed an interaction operation in the interaction interface. Alternatively, when the user completes a level in the interaction task by performing an interaction operation in the interaction interface, it can be considered that the user has completed an interaction operation in the interaction interface.
[0124] Please refer to Figure 7A and 7B , Figure 7A and 7B are schematic diagrams of another interaction interface according to an example embodiment of the present specification.
[0125] As shown in Figure 6A , the "hit the New Year beast" interface, as shown in Figure 7A , in the "hit the New Year beast" interface, the client can mark the upper limit value of the number of interactions corresponding to the "hit the New Year beast" task on a preset position corresponding to the display position of the "hit the New Year beast" button (for example, the upper right corner of the display position), and update the marked upper limit value of the number of interactions when the upper limit value of the number of interactions changes.
[0126] In the interface of "hitting the New Year beast", the client can output a "redemption times" button (i.e. the above-mentioned times redemption option) at a preset position (for example, the left of the "hitting the New Year beast" button). The user can perform a click operation on the "redemption times" button; when the client detects the click operation, it can output a virtual lucky card list as shown in Figure 7B to the user. The virtual lucky card list can include the virtual lucky cards obtained by the user.
[0127] The user can select a target virtual lucky card for redeeming the interaction times corresponding to the "hitting the New Year beast" task through the virtual lucky card list, and perform a click operation on the "redemption" button after completing the selection.
[0128] Specifically, for any one category of virtual lucky cards in the above-mentioned 5 categories of virtual lucky cards, the user can increase the number of selected virtual lucky cards of this category through the "+" button corresponding to this category of virtual lucky cards, or can increase the number of selected virtual lucky cards of this category through the "-" button corresponding to this category of virtual lucky cards. Since the number of "longevity lucky cards" obtained by the user is 15, the number of "friendship lucky cards" is 10, the number of "prosperity lucky cards" is 3, the number of "family harmony lucky cards" is 7, and the number of "wealth lucky cards" is 12, when the number of "prosperity lucky cards" selected by the user reaches 3, the client can switch the "+" button corresponding to the "prosperity lucky card" to an unclickable state; in addition, for the virtual lucky card whose selected number is 0, the client can switch the "-" button corresponding to this category of virtual lucky cards to an unclickable state.
[0129] In actual application (not shown in Figure 7B ), the client can also display each virtual lucky card obtained by the user in the virtual lucky card list, and the user can select a target virtual lucky card for redeeming the interaction times corresponding to the "hitting the New Year beast" task in the virtual lucky card list.
[0130] When the client detects the click operation of the user on the "redemption" button, it can respond to the click operation, obtain the target virtual lucky card selected by the user, and generate a redemption request corresponding to the user based on the target virtual lucky card, and send the redemption request to the server.
[0131] When the server receives the redemption request, it can respond to the redemption request and redeem the interaction times corresponding to the "hitting the New Year beast" task for the user according to a preset redemption rule. The redemption rule can be preset by technical personnel according to actual needs, for example, the redemption rule can include 2 virtual lucky cards redeeming 1 interaction time.
[0132] Suppose the target virtual lucky cards selected by the user are 1 "Longevity Lucky" and 3 "Prosperity Lucky", the interaction times corresponding to the "Beat New Year Beast" task exchanged for the user based on the 4 virtual lucky cards are 2. Since the upper limit of the interaction times corresponding to the "Beat New Year Beast" task is 2 at this time, the upper limit of the interaction times can be updated to 2+2=4. That is, the upper limit of the interaction times marked in the "Beat New Year Beast" interface as shown in Figure 7A may be updated to 4.
[0133] In addition, 1 "Longevity Lucky" and 3 "Prosperity Lucky" as target virtual lucky cards can be deleted from the electronic voucher obtained by the user maintained by the server and / or the client. That is, the number of "Longevity Lucky" marked in the "My Lucky Card" interface as shown in Figure 3B may be updated to 14, and the number of "Prosperity Lucky" marked is updated to 0.
[0134] In an embodiment shown, when the first number of virtual resources is allocated to the user based on the interaction operation performed by the user in the interaction interface corresponding to the interaction task, the virtual points can be allocated to the user based on the interaction operation performed by the user in the interaction interface. Subsequently, it can be further determined whether the virtual points allocated to the user reach a preset threshold (which can be preset by the technician according to the actual demand). If yes, the first number of virtual resources is allocated to the user.
[0135] Specifically, the first number allocated to the user can be proportional to the virtual points allocated to the user, that is, the higher the virtual points allocated to the user, the more the first number allocated to the user.
[0136] Alternatively, different score value intervals can be preset, and the number of virtual resources corresponding to each score value interval can be set; subsequently, the score value interval to which the virtual points allocated to the user belongs can be determined first, and the number of virtual resources corresponding to the score value interval is taken as the first number, and the first number of virtual resources is allocated to the user.
[0137] In another embodiment shown, when the first number of virtual resources is allocated to the user based on the interaction operation performed by the user in the interaction interface corresponding to the interaction task, the virtual points can be allocated to the user based on the interaction operation performed by the user in the interaction interface. Subsequently, the client can send a redemption request corresponding to the user to the server in response to the redemption operation initiated by the user. The redemption request can include a preset number of virtual points to be redeemed.
[0138] Specifically, the above-mentioned interactive interface can include a point exchange option. When the client detects a triggering operation of the user on the point exchange option, the client can output a digital entitlement list to the user in response to the triggering operation, and display a plurality of digital entitlements available to the user in the digital entitlement list. Wherein the plurality of digital entitlements available to the user can include the digital entitlements bound to the electronic voucher obtained by the user.
[0139] For example, the server can maintain an association between the electronic voucher and the acquisition permission of the digital entitlement, as shown in Table 2 below:
[0140]
[0141] Table 2
[0142] In this case, assuming that the user collects the electronic voucher A, it can be considered that the user has the acquisition permission of the digital entitlement A, the digital entitlement B, and the digital entitlement C bound to the electronic voucher A, that is, the digital entitlement A, the digital entitlement B, and the digital entitlement C can be considered as the digital entitlements available to the user.
[0143] The user can select a digital entitlement (referred to as a target digital entitlement) that needs to be redeemed through the digital entitlement list. After obtaining the target digital entitlement selected by the user, the client can generate a redemption request corresponding to the user based on the target digital entitlement, and send the redemption request to the server.
[0144] When the server receives the redemption request, the server can redeem the target digital entitlement for the user based on the virtual points in the redemption request in response to the redemption request.
[0145] It should be noted that after the above-mentioned target digital entitlement is redeemed for the above-mentioned user based on the virtual points in the above-mentioned redemption request, the virtual points used to redeem the target digital entitlement, that is, the virtual points in the redemption request, can be deducted from the virtual points allocated to the user.
[0146] Subsequently, when the user cancels the target digital entitlement, the user can be allocated the above-mentioned first amount of virtual resources bound to the target digital entitlement.
[0147] Specifically, the client can send a cancellation request corresponding to the target digital entitlement to the server in response to a cancellation operation initiated by the user and corresponding to the target digital entitlement.
[0148] When the server receives the cancellation request, the server can cancel the target digital entitlement, and allocate the above-mentioned first amount of virtual resources bound to the target digital entitlement to the user after canceling the target digital entitlement.
[0149] In actual application, the digital right can be a voucher for providing a user with a discount in the consumption process of the user, including a digital discount coupon, a digital cash coupon, and the like. For example, it can be a discount coupon, a cash coupon, and the like used by the user to purchase a product in an offline entity store or an online store; or it can be a redemption coupon corresponding to a membership of an online APP; and the like.
[0150] Suppose that the digital right obtained by the user is a discount coupon used by the user in an offline entity store, the user can go to the entity store to purchase a product, and use the discount coupon when settling the purchased product to enjoy a discount strategy corresponding to the discount coupon. When the user completes payment for the purchased product according to the discount strategy, it is considered that the user cancels the digital right.
[0151] In addition, the first quantity of virtual resources can be bound to each digital right respectively, so that when the user cancels a certain digital right, the user can obtain the first quantity of virtual resources bound to the digital right. The first quantity of virtual resources bound to each digital right can be the same or different, which is not limited in the specification.
[0152] Continuing the red envelope distribution scene of the "Five Blessings Grand Prize" described above as an example, the server can maintain an association relationship between the electronic voucher and the acquisition right of the digital right, and the amount of the blessing red envelope bound to each digital right, as shown in Table 3 below:
[0153]
[0154] Table 3
[0155] In this case, suppose that the user collects the electronic voucher A, it is considered that the user has the acquisition right of the digital right A, the digital right B, and the digital right C bound to the electronic voucher A, that is, the digital right A, the digital right B, and the digital right C can be taken as the digital right available for the user to obtain.
[0156] Further suppose that the user exchanges and cancels the digital right B, the user can be allocated the blessing red envelope with an amount of 2.38 yuan.
[0157] Please refer to Figure 8A and 8B , Figure 8A and 8B are another schematic diagram of an interactive interface shown in an exemplary embodiment of the specification.
[0158] In combination with the "hit the New Year beast" interface as shown in Figure 7A , as shown in Figure 8AAs shown, the text option can be output on a preset position (for example, the upper right corner of the interface), and the virtual points obtained by the user by performing the "hit the New Year 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.
[0159] In the "hit the New Year beast" interface, the client can output a "redemption" button (that is, the above-mentioned points redemption option) on 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 perform a click operation on the "redemption" button; when the client detects the click operation, it can output a digital rights list as shown to the user; wherein the digital rights list can include a number of digital rights available to the user. Figure 8B
[0160] The user can perform a click operation on the "redemption" 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.
[0161] When the server receives the redemption request, it can redeem the digital rights of store A for the user based on the virtual points in the redemption request in response to the redemption request, and issue the digital rights of store A to the user.
[0162] 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. That is, the virtual points obtained by the user by performing the "hit the New Year beast" task in the "hit the New Year beast" interface as shown can be updated to 500. Figure 8A
[0163] In order to further improve the user experience, in the case that the above electronic voucher is associated with the acquisition permission corresponding to the above digital rights, the client can send a digital rights acquisition request corresponding to the target electronic voucher to the server in response to the user's trigger operation on any one of the electronic vouchers (referred to as target electronic voucher) obtained by the user.
[0164] When the server receives the digital rights acquisition request, it can randomly allocate digital rights to the user from a number of digital rights bound to the target electronic voucher in response to the digital rights acquisition request, and issue the allocated digital rights to the user.
[0165] 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.
[0166] Similar to the aforementioned description of digital rights, the first number of virtual resources bound to the digital rights may also be allocated to the user when the user cancels the digital rights.
[0167] Please refer to Figure 9 , Figure 9 This is a schematic diagram illustrating another display interface as shown in an exemplary embodiment of this specification.
[0168] Combination such as Figure 3A The "My Fortune Card" interface shown is as follows: Figure 9 As shown, in the "My Lucky Cards" interface, the client can provide display positions for each virtual lucky card that the user has obtained. Users can click the "<" button to view the previous virtual lucky card and click the ">" button to view the next virtual lucky card.
[0169] Users 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 benefits corresponding to "Shou Kang Fu B".
[0170] In response to the received request for digital rights acquisition, the server can randomly allocate digital rights to the user from the digital rights bound to "Shoukangfu B" and distribute the allocated digital rights to the user.
[0171] In practical applications, the client can also allocate digital rights to the user based on the interactive operations performed by the user in the interactive interface corresponding to the above-mentioned interactive tasks.
[0172] For example, digital benefits can be configured for various user interactions. Subsequently, based on the user's actions within the interactive interface, the digital benefits associated with those actions can be allocated to the user.
[0173] In one embodiment, virtual points can be allocated to the user based on the interactive operations performed by the user in the interactive interface corresponding to the aforementioned interactive task. Subsequently, it can be determined whether the virtual points allocated to the user have reached a preset threshold (this threshold can be preset by a technician according to actual needs). If so, digital benefits can be allocated to the user and issued to the user.
[0174] For example, a correspondence between a threshold of virtual points and a digital entitlement can be preconfigured. Subsequently, it can be determined whether the virtual points allocated to the user reach the threshold; if so, the digital entitlement corresponding to the threshold can be allocated to the user. In actual applications, a plurality of corresponding digital entitlements can be configured for a threshold of virtual points; at this time, a digital entitlement can be randomly selected from the digital entitlements corresponding to the threshold, and the digital entitlement can be allocated to the user.
[0175] Similarly to the foregoing description of the digital entitlement, the user can also be allocated the first quantity of virtual resources bound to the digital entitlement when the user redeems the digital entitlement.
[0176] In actual applications, the interactive operation can include an operation in which the user interacts with the interactive interface by continuously emitting audio.
[0177] Specifically, the user can control the interactive operation triggered by the user option for interaction in the interactive interface by continuously emitting audio. For example, as shown in the "hit the New Year beast" interface, the user can control the clicking operation triggered by the "hit the New Year beast" button in the "hit the New Year beast" interface by continuously emitting audio. Figure 6A
[0178] In this case, when the user is allocated virtual points based on the interactive operation 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.
[0179] Specifically, the microphone can be invoked to collect audio data when the user starts to perform the interactive operation in the interactive interface. Since the audio data collected by the microphone usually includes audio data of some noise (for example, natural noise such as wind noise, rain noise, etc. in the environment where the user is currently located; environmental noise such as passerby's speech, car horn sound, construction sound, etc.) in addition to the audio data of the audio emitted by the user, the collected audio data can be subjected to audio recognition 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.
[0180] Subsequently, the user can be allocated virtual points based on the determined duration of the audio emitted by the user.
[0181] Specifically, the virtual points allocated to the user can 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.
[0182] For example, assuming that the user performs the interactive operation in the interactive interface for 3 times, and assuming that the ratio of the duration of the audio issued by the user to the virtual points is 1 / 100, when the duration of the audio issued by the user is 1 second for the first time, 100 virtual points can be allocated to the user; when the duration of the audio issued by the user is 3 seconds for the second time, 300 virtual points can be allocated to the user; and when the duration of the audio issued by the user is 2 seconds for the third time, 200 virtual points can be allocated to the user. That is, after the 3 interactions, the virtual points allocated to the user are 100+200+300=600.
[0183] Alternatively, different duration value intervals can be pre-set, and corresponding virtual points can be configured for each duration value interval. Subsequently, the duration value interval to which the duration of the audio issued 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.
[0184] For example, assuming that the user performs the interactive operation in the interactive interface for 3 times, and assuming that the corresponding relationship between the duration value interval and the virtual points is shown in Table 2:
[0185]
[0186] Table 2
[0187] Therefore, when the duration of the audio issued by the user is 1 second for the first time, 1 belongs to the interval [0, 3), and thus 100 virtual points can be allocated to the user; when the duration of the audio issued by the user is 3 seconds for the second time, 3 belongs to the interval [3, 6), and thus 500 virtual points can be allocated to the user; and when the duration of the audio issued by the user is 2 seconds for the third time, 2 belongs to the interval [0, 3), and thus 100 virtual points can be allocated to the user. That is, after the 3 interactions, the virtual points allocated to the user are 100+500+100=700.
[0188] In an embodiment shown, when it is determined that the virtual points allocated to the user reach a preset threshold (which can be pre-set by a technician), a preset character text (which can be pre-set by a technician according to actual needs) can be output in the interactive interface.
[0189] Specifically, the client can detect in real time whether the virtual points allocated to the user reach the threshold. If yes, the preset character text can be output in the interactive interface.
[0190] In this case, the audio data issued by the user identified from the collected audio data can be further subjected to content recognition to obtain character text corresponding to the audio data issued by the user. Subsequently, it can be determined whether the identified character text corresponding to the audio data issued by the user matches the preset character text. If yes, the user can be allocated additional virtual points.
[0191] Please refer to Figure 10 , Figure 10 is a schematic diagram of still another interactive interface shown in an exemplary embodiment of the present specification.
[0192] In combination with the "hit the New Year beast" interface as shown in Figure 8A , as shown in Figure 10 , assuming that the preset character text is "Happy Spring Festival" and the threshold value is 1000 points, since the virtual points currently allocated to the user are 1000 points, the character text "Happy Spring Festival" can be output in the "hit the New Year beast" interface.
[0193] At this time, the audio data issued by the user identified from the collected audio data can be further subjected to content recognition to obtain character text corresponding to the audio data issued by the user. If the identified character text is also "Happy Spring Festival", it can be determined that the identified character text matches the preset character text, so that the user can be allocated additional virtual points. 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, the virtual points obtained by the user through the "hit the New Year beast" task and output in the "hit the New Year beast" interface as shown in Figure 10 can be updated to 1500.
[0194] It should be noted that there can be multiple threshold values; when it is determined that the virtual points allocated to the user reach any one of the threshold values, the preset character text can be output in the interactive interface, and when the identified character text corresponding to the audio data issued by the user matches the preset character text, the user can be allocated additional virtual points.
[0195] Continuing with the "hit the New Year beast" interface as shown in Figure 8AThe threshold value can include 1000 points, 2000 points, 3000 points, and when the virtual points assigned to the user reach 1000 points, the character text "Happy Spring Festival" can be output in the "Year Beast" interface; when the virtual points assigned to the user reach 2000 points, the character text "Happy Spring Festival" can also be output in the "Year Beast" interface; when the virtual points assigned to the user reach 3000 points, the character text "Happy Spring Festival" can also be output in the "Year Beast" interface; and so on.
[0196] In actual application, the above-mentioned interactive operation can include an operation of the user interacting with the interactive interface by continuously performing a click operation in the interactive interface.
[0197] In this case, when the virtual points are assigned to the user based on the interactive operation performed by the user in the interactive interface, the click data corresponding to the click operation performed by the user in the interactive interface can be collected, and the frequency of the click operation performed by the user in the interactive interface can be determined based on the collected click data.
[0198] Subsequently, the virtual points can be assigned to the user based on the determined frequency of the click operation performed by the user in the interactive interface.
[0199] Specifically, the virtual points assigned to the user can be proportional to the frequency of the click operation performed by the user in the interactive interface, that is, the faster the frequency of the click operation performed by the user in the interactive interface, the higher the virtual points assigned to the user.
[0200] Alternatively, different frequency value intervals can be set in advance, and corresponding virtual points can be configured for each frequency value interval, and 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 the virtual points assigned to the user can be based on the virtual points corresponding to the frequency value interval.
[0201] In one embodiment shown, when it is determined that the virtual points assigned to the user reach a preset threshold value (which can be set by a technician in advance), a preset character text (which can be set by a technician according to actual needs) can be output in the interactive interface.
[0202] Specifically, the client can detect in real time whether the virtual points assigned to the user reach the above-mentioned threshold value. If so, the above-mentioned preset character text can be output in the above-mentioned interactive interface.
[0203] In this case, the click position corresponding to the click operation performed by the user in the interactive interface can be further determined based on the collected click data. Subsequently, it can be determined whether the determined click position matches the display position of the preset character text in the interactive interface. If so, the user can be assigned additional virtual points.
[0204] It should be noted that there can be multiple thresholds. When it is determined that the virtual points assigned to the user reach any one of the thresholds, the preset character text can be output in the 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 preset character text in the interactive interface, the user can be assigned additional virtual points.
[0205] In the above technical solution, the user can obtain the right to claim virtual resources in the preset virtual resource set when the number of categories of electronic vouchers obtained by the user reaches a threshold; the server can issue digital rights to the user, so that when the user cancels the obtained digital rights, the server can assign the user a first number of virtual resources; wherein the first number of virtual resources can be added to the second number of virtual resources assigned by the server to the user from the virtual resource set when the virtual resources in the virtual resource set meet the allocation conditions. In this way, on the one hand, the user can obtain the digital rights issued by the server, and on the other hand, the user can obtain a larger number of virtual resources by canceling the obtained digital rights, thereby improving the user experience in the virtual resource allocation process.
[0206] Please refer to Figure 11 , Figure 11 is a flowchart of an electronic voucher-based interactive method according to an exemplary embodiment of the present specification.
[0207] In combination with the virtual resource allocation system as shown in Figure 1 , the electronic voucher-based interactive method can be applied to the server in the virtual resource allocation system; wherein the user obtains the right to claim virtual resources in a preset virtual resource set when the number of categories of electronic vouchers obtained by the user reaches a preset threshold; the electronic voucher-based interactive method can include the following steps:
[0208] Step 1102, sending a digital rights issue to the client; wherein the digital rights are bound to a first number of virtual resources;
[0209] Step 1104, obtaining a cancellation request corresponding to the digital rights sent by the client in response to the cancellation operation corresponding to the digital rights initiated by the user;
[0210] In response to the cancellation request, the digital entitlement is cancelled, and the first number of virtual resources is allocated to the user when the digital entitlement is cancelled; wherein the first number of virtual resources is added to a second number of virtual resources allocated by the server to the user from the virtual resource set when the user obtains the collection permission and the virtual resource in the virtual resource set meets the allocation condition, and is distributed to the user account corresponding to the user.
[0211] In the embodiment, the electronic voucher obtained by the user is respectively associated with the obtaining permission corresponding to the digital entitlement.
[0212] The method further comprises:
[0213] Obtaining the digital entitlement obtaining request sent by the client in response to the triggering operation of the user for any target electronic voucher obtained by the user.
[0214] In response to the digital entitlement obtaining request, a digital entitlement is randomly allocated to the user from a plurality of digital entitlements bound to the target electronic voucher, and the allocated digital entitlement is issued to the user.
[0215] In the embodiment, the method further comprises:
[0216] Obtaining the permission obtaining request sent by the client when the number of categories of electronic vouchers obtained by the user reaches a preset threshold.
[0217] In response to the permission obtaining request, the collection permission and the task permission are authorized for the user, and a corresponding permission authorization result is returned.
[0218] In the embodiment, the digital entitlement includes an electronic coupon.
[0219] The specific implementation of the above steps 1102 to 1106 can refer to the embodiments shown in Figure 2 The present specification will not be repeated here.
[0220] In the technical solution, when the number of the obtained electronic vouchers reaches the threshold, the user can obtain the right to obtain the virtual resource in the preset virtual resource set; the server can issue the digital right to the user, so that when the user cancels the obtained digital right, the server can allocate the first number of virtual resources to the user; and the first number of virtual resources can be added to the second number of virtual resources allocated by the server to the user from the virtual resource set when the virtual resource in the virtual resource set meets the allocation condition, and the virtual resource is distributed to the user. In this way, on the one hand, the user can obtain the digital right issued by the server, and on the other hand, the user can obtain a larger number of virtual resources by canceling the obtained digital right, thereby improving the user experience in the virtual resource allocation process.
[0221] Corresponding to the foregoing embodiment of the electronic voucher-based interaction method, the present specification also provides an embodiment of an electronic voucher-based interaction device.
[0222] The embodiment of the electronic voucher-based interaction device of the present specification can be applied to an electronic device. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a logically meaningful device, 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 for execution. From the hardware level, as shown in Figure 12 , it is a hardware structure diagram of an electronic device in which the electronic voucher-based interaction device of the present specification is located. In addition to the processor, memory, network interface, and non-volatile memory shown in Figure 12 , the electronic device in which the device is located in the embodiment can also include other hardware according to the actual function of the electronic voucher-based interaction, which will not be described again.
[0223] Please refer to Figure 13 , Figure 13 is a block diagram of an electronic voucher-based interaction device according to an example embodiment of the present specification. The electronic voucher-based interaction device 130 can be applied to an electronic device as shown in Figure 12 , in which a client is deployed; wherein when the number of obtained electronic vouchers reaches a preset threshold, the user obtains the right to obtain the virtual resource in the preset virtual resource set; the electronic voucher-based interaction device 130 can include:
[0224] The obtaining module 1301 obtains the digital right issued by the server; wherein the digital right is bound to the first number of virtual resources;
[0225] The first distribution module 1302, in response to the user initiating the redemption operation corresponding to the digital entitlement, sends a redemption request corresponding to the digital entitlement to the server, so that the server performs the redemption processing on the digital entitlement in response to the redemption request, and distributes the first number of virtual resources to the user when the digital entitlement is redeemed.
[0226] The first number of virtual resources is added to the second number of virtual resources distributed by the server to the user account corresponding to the user from the virtual resource set when the user obtains the collection permission and the virtual resource in the virtual resource set meets the distribution condition.
[0227] In this embodiment, the electronic voucher obtained by the user is respectively associated with the collection permission corresponding to the digital entitlement.
[0228] The device further comprises (not shown in the figure):
[0229] The second distribution module, in response to the user's trigger operation on any target electronic voucher obtained, sends a digital entitlement acquisition request to the server, so that the server randomly allocates digital entitlements to the user from a plurality of digital entitlements bound to the target electronic voucher in response to the digital entitlement acquisition request, and issues the allocated digital entitlements to the user.
[0230] In this embodiment, when the number of categories of electronic vouchers obtained by the user reaches a preset threshold, the user obtains the task permission corresponding to the preset interactive task.
[0231] The device further comprises (not shown in the figure):
[0232] The third distribution module outputs an interactive interface corresponding to the interactive task to the user, and distributes digital entitlements to the user based on the interactive operation performed by the user in the interactive interface.
[0233] In this embodiment, the third distribution module (not shown in the figure):
[0234] Distributes virtual points to the user based on the interactive operation performed by the user in the interactive interface.
[0235] Determine whether the virtual points reach a preset threshold.
[0236] If the virtual points reach the preset threshold, distribute digital entitlements to the user.
[0237] In this embodiment, the third distribution module (not shown in the figure):
[0238] allocate a virtual credit to the user based on an interaction operation performed by the user in the interaction interface;
[0239] in response to a redemption operation initiated by the user, send a redemption request to the server, wherein the redemption request includes a preset number of virtual credits to be redeemed, so that the server, in response to the redemption request, redeems a digital entitlement for the user based on the preset number of virtual credits, and allocates the redeemed digital entitlement to the user.
[0240] In this embodiment, the device further includes (not shown in the figure):
[0241] A determination module determines whether the number of categories of electronic vouchers obtained by the user reaches a preset threshold;
[0242] An authorization module sends an authority acquisition request to the server if the number of categories of electronic vouchers obtained by the user reaches the preset threshold, so that the server, in response to the authority acquisition request, authorizes the user with the collection authority and the task authority, and returns a corresponding authority authorization result.
[0243] In this embodiment, the digital entitlement includes an electronic coupon.
[0244] Please refer to Figure 14 , Figure 14 is a block diagram of an electronic voucher-based interaction device according to an exemplary embodiment of the present specification. The electronic voucher-based interaction device 140 can be applied to an electronic device as shown in Figure 12 , in which a server is deployed; wherein the user obtains a collection authority of a virtual resource in a preset virtual resource set when the number of categories of electronic vouchers obtained by the user reaches a preset threshold; the electronic voucher-based interaction device 140 can include:
[0245] A delivery module 1401 sends a digital entitlement to the client; wherein the digital entitlement is bound to a first number of virtual resources;
[0246] A first acquisition module 1402 acquires a cancellation request corresponding to the digital entitlement sent by the client in response to an operation initiated by the user and corresponding to the digital entitlement;
[0247] A first allocation module 1403, in response to the cancellation request, cancels the digital entitlement, and allocates the first number of virtual resources to the user when the digital entitlement is cancelled;
[0248] The first quantity of virtual resources will be added to the second quantity of virtual resources allocated by the server to the user from the virtual resource set when the user obtains the taking permission and a virtual resource in the virtual resource set meets an allocation condition, and then the virtual resource is issued to a user account corresponding to the user.
[0249] In the embodiment, the electronic voucher obtained by the user is associated with an obtaining permission corresponding to the digital entitlement respectively.
[0250] The apparatus further includes (not shown in the figure):
[0251] The second obtaining module obtains a digital entitlement obtaining request sent by the client in response to a triggering operation of the user on any target electronic voucher obtained by the user.
[0252] The second allocation module randomly allocates a digital entitlement to the user from a plurality of digital entitlements bound to the target electronic voucher in response to the digital entitlement obtaining request, and issues the allocated digital entitlement to the user.
[0253] In the embodiment, the apparatus further includes (not shown in the figure):
[0254] The third obtaining module obtains an obtaining permission request sent by the client when the number of categories of electronic vouchers obtained by the user reaches a preset threshold.
[0255] The authorization module authorizes the taking permission and a task permission corresponding to a preset interactive task for the user in response to the obtaining permission request, and returns a corresponding permission authorization result.
[0256] In the embodiment, the digital entitlement includes an electronic coupon.
[0257] The implementation process of the functions and roles of each module in the above apparatus is specifically described in the implementation process of the corresponding steps in the above method, which will not be repeated here.
[0258] For the device embodiment, since it basically corresponds to the method embodiment, the related parts are described in the part of the method embodiment. The device embodiment described above is only illustrative, and the modules described as separate components can or can not be physically separated, and the components displayed as modules can or can not be physical modules, i.e., they can be located in one place or distributed on multiple network modules. According to actual needs, some or all of the modules can be selected to achieve the purpose of the scheme of the present specification. Those skilled in the art can understand and implement it without creative labor.
[0259] The systems, apparatuses, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, and the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an e-mail device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0260] In a typical configuration, a computer includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.
[0261] The memory can include non-persistent memory in computer readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer readable media.
[0262] Computer readable media includes permanent and non-permanent, removable and non-removable media implemented by any method or technology for storing information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, disk storage, quantum memory, graphene-based storage medium or other magnetic storage device, or any other non-transmission medium that can be used to store information accessible by a computing device. According to the definition herein, computer readable media does not include transitory media such as modulated data signals and carriers.
[0263] It should also be noted that the terms "comprising", "including", or any other variant thereof are intended to cover non-exclusive inclusion, so that processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of additional identical elements in the process, method, article or device including the element.
[0264] The above-described embodiments of the application have several aspects, no single one of which is solely responsible for the application's desirable attributes. Without limiting the scope of this application as expressed by the claims which follow, some further examples of aspects of the application are discussed below.
[0265] The terminology used in this description is for the purpose of describing particular embodiments only and is not intended to limit one or more embodiments of the present description. As used in one or more embodiments of the present description and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0266] It is to be understood that the terms first, second, third, etc. can be used herein to describe various information, but such information should not be limited by these terms. These terms are used only to distinguish one piece of information from another. For example, a first information can also be termed a second information, and, similarly, a second information can also be termed a first information, without departing from the scope of one or more embodiments of the present description. The word "if' as used herein means "when" or "upon" or "in response to the determination" depending on the context.
[0267] The foregoing is considered as illustrative only of the principles of one or more embodiments of the present description. Further, since numerous modifications and changes can be made to the subject matter of one or more embodiments of the present description without departing from the scope of one or more embodiments of the present description, it is our intention that all such modifications and changes be considered as within the scope of one or more embodiments of the present description. Accordingly, the application is to be realized in a manner that obviates the aforementioned deficiencies.
Claims
1. An interactive method based on electronic vouchers, the method being applied to a client; the method comprising: The system outputs an interactive interface corresponding to the interactive task to the user, and allocates digital benefits to the user based on the interactive operations performed by the user in the interactive interface; wherein, the digital benefits include vouchers that provide discounts to the user during the user's consumption process; Obtain the digital rights issued by the server; wherein the digital rights are bound to a first number of virtual resources; In response to the user's revocation operation corresponding to the digital rights, a revocation request corresponding to the digital rights is sent to the server, so that the server responds to the revocation request, performs revocation processing on the digital rights, and allocates the first amount of virtual resources to the user when the digital rights are revoked. The first number of virtual resources is added to the second number of virtual resources allocated by the server from a preset set of virtual resources to the user, and then distributed to the user account corresponding to the user.
2. The method according to claim 1, wherein the electronic credentials obtained by the user are respectively associated with the access permissions corresponding to the digital rights; The method further includes: In response to the user's triggered operation for any of the acquired target electronic credentials, a digital rights acquisition request is sent to the server, so that the server responds to the digital rights acquisition request, randomly allocates digital rights to the user from a number of digital rights bound to the target electronic credentials, and distributes the allocated digital rights to the user.
3. The method according to claim 1, wherein allocating digital rights to the user based on the interactive operation performed by the user in the interactive interface includes: Based on the interactive operations performed by the user in the interactive interface, virtual points are allocated to the user; Determine whether the virtual points have reached a preset threshold; If the virtual points reach a preset threshold, digital benefits are allocated to the user.
4. The method according to claim 1, wherein allocating digital rights to the user based on the interactive operation performed by the user in the interactive interface includes: Based on the interactive operations performed by the user in the interactive interface, virtual points are allocated to the user; In response to the user's redemption operation, 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 responds to the redemption request, redeems digital rights for the user based on the preset number of virtual points, and allocates the redeemed digital rights to the user.
5. The method according to claim 1, wherein outputting the interactive interface corresponding to the interactive task to the user includes: In response to the permission authorization result returned by the server, which corresponds to the task permission of the preset interactive task and the permission to claim virtual resources in the preset virtual resource set, the interactive interface corresponding to the interactive task is output to the user.
6. The method according to claim 5, further comprising: Determine whether the number of categories of electronic credentials obtained by the user has reached a preset threshold; 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 user with the retrieval permission and the task permission, and returns the corresponding permission authorization result.
7. The method according to claim 1, wherein the digital rights include electronic coupons.
8. An interactive method based on electronic vouchers, the method being applied to a server; the method comprising: The client sends and distributes digital benefits; wherein, the digital benefits include vouchers that provide discounts to the user during the user's consumption process; the digital benefits are allocated to the user by the client based on the interactive operations performed by the user in the interactive interface corresponding to the interactive task output to the user; the digital benefits are bound to a first number of virtual resources; Obtain the client's response to the user's initiated reversal operation corresponding to the digital rights, and the reversal request corresponding to the digital rights sent; In response to the cancellation request, the digital rights are cancelled, and the first amount of virtual resources are allocated to the user upon cancellation of the digital rights. The first number of virtual resources is added to the second number of virtual resources allocated by the server from a preset set of virtual resources to the user, and then distributed to the user account corresponding to the user.
9. The method according to claim 8, wherein the electronic credentials obtained by the user are respectively associated with the access permissions corresponding to the digital rights; The method further includes: The client receives a digital rights acquisition request sent in response to the user's triggering operation for any of the acquired target electronic credentials. In response to the request to acquire digital rights, digital rights are randomly allocated to the user from a number of digital rights bound to the target electronic certificate, and the allocated digital rights are then distributed to the user.
10. The method according to claim 8, further comprising: The system returns a permission authorization result to the client, corresponding to the task permissions of the preset interactive task and the permission to claim virtual resources in the preset virtual resource set, so that the client responds to the permission authorization result and outputs an interactive interface corresponding to the interactive task to the user.
11. The method according to claim 10, wherein returning to the client the permission authorization result corresponding to the task permission of the preset interactive task and the permission to claim virtual resources in the preset virtual resource set includes: The client receives a permission request when it determines that the number of categories of electronic credentials obtained by the user has reached a preset threshold. In response to the permission acquisition request, the system grants the user the permission to claim the data and the corresponding task permissions for the preset interactive task, and returns the corresponding permission authorization result.
12. The method according to claim 8, wherein the digital rights include electronic coupons.
13. An interactive device based on electronic credentials, said device being applied to a client; The device includes: The third allocation module outputs an interactive interface corresponding to the interactive task to the user, and allocates digital benefits to the user based on the interactive operations performed by the user in the interactive interface; wherein, the digital benefits include vouchers that provide discounts to the user during the user's consumption process; The acquisition module acquires the digital rights issued by the server; wherein the digital rights are bound to a first number of virtual resources; The first allocation module, in response to the user's revocation operation corresponding to the digital rights, sends a revocation request corresponding to the digital rights to the server, so that the server responds to the revocation request, performs revocation processing on the digital rights, and allocates the first amount of virtual resources to the user when the digital rights are revoked. The first number of virtual resources is added to the second number of virtual resources allocated by the server from a preset set of virtual resources to the user, and then distributed to the user account corresponding to the user.
14. An interactive device based on electronic credentials, the device being used on a server; the device comprising: The distribution module sends digital benefits to the client; wherein, the digital benefits include vouchers that provide discounts to the user during the user's consumption process; the digital benefits are allocated to the user by the client based on the interactive operations performed by the user in the interactive interface corresponding to the interactive task output to the user; the digital benefits are bound to a first number of virtual resources; The first acquisition module acquires the client's response to the user's initiated revocation operation corresponding to the digital rights, and the revocation request corresponding to the digital rights sent by the client. The first allocation module, in response to the cancellation request, performs cancellation processing on the digital rights and allocates the first quantity of virtual resources to the user when the digital rights are cancelled. The first number of virtual resources is added to the second number of virtual resources allocated by the server from a preset set of virtual resources to the user, and then distributed to the user account corresponding to the user.
15. An electronic device comprising: processor; Memory used to store processor-executable instructions; The processor implements the method as described in any one of claims 1-12 by executing the executable instructions.
16. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the method as described in any one of claims 1-12.
Citation Information
Patent Citations
Service realization method and service realization device
CN106997545A
Interaction method and device based on electronic certificate and electronic equipment
CN111192053A