Right and interest issuing method and device, equipment and storage medium
By displaying and pre-issuing target rights on the task display interface, the problem of users being unable to collect rights in time is solved, user experience and efficiency are improved, and resource recycling is carried out when the rights task is terminated.
Patent Information
- Application Number
- CN202311643826.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-01
- Publication Date
- 2025-06-03
AI Technical Summary
In the prior art, users are unable to collect rights in time after completing the incentive task, resulting in a decrease in user experience and human-computer interaction efficiency.
Provide a method of stake distribution, through a task display interface that displays target stake, responds to the user's task collection operation, obtains the authority verification results of the target account, and pre-issues the target stake to the user when the verification is passed until the stake task is terminated.
It improves user experience and human-computer interaction efficiency, encourages users to place orders through pre-issuance of rights and interests, and recycles resources when the rights and interests tasks are terminated, and encourages users to complete tasks.
Smart Images

Figure CN120088011A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular, to a method, apparatus, device, and storage medium for issuing rights and interests. Background Art
[0002] With the continuous development and growth of Internet technology, methods for motivating users to place orders on service platforms by means of rewards have emerged in an endless stream. For example, some platforms will set up some incentive tasks. After users complete the incentive tasks, the platforms will issue some rights and interests to the users according to the completion of the tasks by the users.
[0003] However, the completion of incentive tasks requires a certain amount of time, and there is a situation where users cannot receive rights and interests, which reduces the user experience and the efficiency of human-computer interaction. Summary of the Invention
[0004] The embodiments of this application provide a method, apparatus, device, and storage medium for issuing rights and interests, which can improve the user experience and the efficiency of human-computer interaction. The technical solutions are as follows:
[0005] In a first aspect, a method for issuing rights and interests is provided. The method includes:
[0006] Display a task display interface for a target right and interest. The task display interface is used to display the right and interest tasks required to receive the target right and interest, and the target right and interest is used to reduce the resource consumption when placing an order;
[0007] In response to a task receiving operation on the task display interface, obtain an authority verification result of a target account. The authority verification result is determined based on at least one of the account identifier and location information of the target account, and the authority verification result is used to indicate whether the target account has the right and interest receiving authority;
[0008] In response to the authority verification result indicating that the target account has the right and interest receiving authority, display the target right and interest pre-issued to the target account;
[0009] In response to the termination of the right and interest task, display the resource recovery information of the target account. The resource recovery information is determined based on the completion of the right and interest task corresponding to the target account and the usage of the target right and interest.
[0010] In a possible implementation manner, the obtaining an authority verification result of a target account in response to a task receiving operation on the task display interface includes:
[0011] In response to a task receiving operation on the task display interface, send a receiving request for the right and interest task to the server. The receiving request carries at least one of the account identifier and location information of the target account;
[0012] Obtain the permission verification result from the server.
[0013] In a possible implementation, the displaying the target rights and interests pre-granted to the target account in response to the permission verification result indicating that the target account has the right to receive rights and interests includes:
[0014] In response to the permission verification result indicating that the target account has the right to receive rights and interests, display a protocol display pop-up window on the task display interface, and the protocol display pop-up window is used to display the user protocol corresponding to the target rights and interests;
[0015] In response to the protocol confirmation operation on the protocol display pop-up window, display the target rights and interests pre-granted to the target account.
[0016] In a possible implementation, the displaying the target rights and interests pre-granted to the target account in response to the protocol confirmation operation on the protocol display pop-up window includes:
[0017] In response to the protocol confirmation operation on the protocol display pop-up window, display a resource authorization interface of the target account, and the resource authorization interface is used to request the permission to recover virtual resources when the rights and interests task is not completed;
[0018] In response to the permission confirmation operation on the resource authorization interface, display the target rights and interests pre-granted to the target account.
[0019] In a possible implementation, the displaying the target rights and interests pre-granted to the target account in response to the permission confirmation operation on the resource authorization interface includes:
[0020] In response to the permission confirmation operation on the resource authorization interface, determine the credit information of the target account;
[0021] When the credit information meets the preset credit conditions, display the target rights and interests pre-granted to the target account.
[0022] In a possible implementation, the displaying the target rights and interests pre-granted to the target account when the credit information meets the preset credit conditions includes:
[0023] When the credit information meets the preset credit conditions, display the task display interface and display a rights and interests receiving pop-up window on the task display interface, and the target rights and interests are displayed in the rights and interests receiving pop-up window.
[0024] In a possible implementation, the method further includes:
[0025] In the case that the credit information does not meet the preset credit conditions, display the task display interface and display an authorization failure prompt on the task display interface, where the authorization failure prompt is used to indicate that the credit information does not meet the preset credit conditions.
[0026] In a possible implementation manner, the method further includes:
[0027] In response to the permission verification result indicating that the target account does not have the right to receive benefits, the terminal displays a benefit receiving failure prompt, and the benefit receiving failure prompt carries the reason why the target account does not have the right to receive the benefits.
[0028] In a possible implementation manner, the obtaining the permission verification result of the target account in response to a task receiving operation on the task display interface includes:
[0029] In response to a task receiving operation on the task display interface, determine whether there is a logged-in account;
[0030] In the case that the target account exists, obtain the permission verification result of the target account.
[0031] In a possible implementation manner, the method further includes:
[0032] In the case that there is no logged-in account, display an account login pop-up window for logging in to an account.
[0033] In a possible implementation manner, the displaying the resource recovery information of the target account in response to the termination of the benefit task includes any one of the following:
[0034] In response to the termination of the benefit task and the completion of the benefit task, display the first resource recovery information of the target account, where the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered;
[0035] In response to the termination of the benefit task and the non-completion of the benefit task, display the second resource recovery information of the target account, where the second resource recovery information carries the amount of resources recovered by the target account, and the amount of resources recovered by the target account is determined based on the usage of the target benefit.
[0036] In a possible implementation manner, after displaying the target benefit pre-granted to the target account in response to the permission verification result indicating that the target account has the right to receive benefits, the method further includes:
[0037] In response to the benefit task not being terminated, display the completion progress of the benefit task and / or the usage progress of the target benefit.
[0038] In a possible implementation manner, after displaying the target rights and interests pre-granted to the target account in response to the rights verification result indicating that the target account has the rights and interests receiving permission, the method further includes:
[0039] When the rights and interests task has not terminated, in response to an operation to terminate the rights and interests task, display a termination confirmation pop-up window; in response to a confirmation operation on the termination confirmation pop-up window, display a task termination prompt, where the task termination prompt is used to indicate that the rights and interests task has terminated.
[0040] In a second aspect, a rights and interests granting method is provided, and the method includes:
[0041] In response to a receiving request for a rights and interests task, based on at least one of the account identifier and location information of the target account, determine the rights verification result of the target account, where the rights verification result is used to indicate whether the target account has the rights and interests receiving permission;
[0042] In response to the rights verification result indicating that the target account has the rights and interests receiving permission, pre-grant the target rights and interests to the target account, where the rights and interests task is the rights and interests task required to receive the target rights and interests, and the target rights and interests are used to reduce the amount of resources consumed when placing an order;
[0043] In response to the termination of the rights and interests task, determine the completion status of the rights and interests task corresponding to the target account and the usage status of the target rights and interests;
[0044] Based on the completion status of the rights and interests task and the usage status of the target rights and interests, determine the resource recovery information of the target account.
[0045] In a possible implementation manner, the determining the rights verification result of the target account based on at least one of the account identifier and location information of the target account includes:
[0046] When the account identifier is a preset account identifier and / or the location information is preset location information, determine that the target account has the rights and interests receiving permission;
[0047] When the account identifier is not the preset account identifier or the location information is not the preset location information, determine that the target account does not have the rights and interests receiving permission.
[0048] In a possible implementation manner, the pre-granting the target rights and interests to the target account in response to the rights verification result indicating that the target account has the rights and interests receiving permission includes:
[0049] In response to the permission verification result indicating that the target account has the right to receive the entitlement, send the user agreement corresponding to the target entitlement to the login terminal of the target account, so that the terminal displays a protocol display pop-up window on the task display interface;
[0050] In response to a protocol confirmation instruction for the user agreement, pre-distribute the target entitlement to the target account.
[0051] In a possible implementation manner, the step of "in response to a protocol confirmation instruction for the user agreement, pre-distribute the target entitlement to the target account" includes:
[0052] In response to a protocol confirmation instruction for the user agreement, determine the credit information of the target account;
[0053] If the credit information meets the preset credit conditions, pre-distribute the target entitlement to the target account.
[0054] In a possible implementation manner, the step of "in response to the termination of the entitlement task, determine the completion status of the entitlement task corresponding to the target account and the usage status of the target entitlement" includes:
[0055] In response to the termination of the entitlement task, perform an entitlement usage query based on the target account to obtain the usage status of the target entitlement corresponding to the target account;
[0056] Compare the first completion status of the entitlement task stored with the second completion status of the entitlement task of the target account stored in the payment platform to obtain the completion status of the entitlement task of the target account.
[0057] In a possible implementation manner, the step of "determine the resource recovery information of the target account based on the completion status of the entitlement task and the usage status of the target entitlement" includes any of the following:
[0058] If the entitlement task is completed, determine that the resource recovery information of the target account is the first resource recovery information, and the first resource recovery information is used to indicate that the target account does not need to have virtual resources recovered;
[0059] If the entitlement task is not completed, determine the amount of resources recovered by the target account based on the usage status of the target entitlement; based on the amount of resources recovered by the target account, determine the second resource recovery information of the target account.
[0060] In a possible implementation manner, after the step of "in response to the permission verification result indicating that the target account has the right to receive the entitlement, pre-distribute the target entitlement to the target account", the method further includes:
[0061] When the target account completes an order of a preset type, update the completion status of the entitlement task based on the amount of resources consumed by the order.
[0062] Thirdly, an entitlement granting device is provided. The device includes:
[0063] A task display interface display module, configured to display a task display interface of a target entitlement. The task display interface is used to display entitlement tasks required to claim the target entitlement, and the target entitlement is used to reduce the amount of resources consumed when placing an order.
[0064] A verification result acquisition module, configured to, in response to a task claiming operation on the task display interface, acquire a permission verification result of the target account. The permission verification result is determined based on at least one of the account identifier and location information of the target account, and the permission verification result is used to indicate whether the target account has the entitlement claiming permission.
[0065] An entitlement display module, configured to, in response to the permission verification result indicating that the target account has the entitlement claiming permission, display the target entitlement pre-granted to the target account.
[0066] A resource recovery information display module, configured to, in response to the termination of the entitlement task, display the resource recovery information of the target account. The resource recovery information is determined based on the completion status of the entitlement task corresponding to the target account and the usage status of the target entitlement.
[0067] In a possible implementation manner, the verification result acquisition module is configured to, in response to a task claiming operation on the task display interface, send a claiming request for the entitlement task to the server. The claiming request carries at least one of the account identifier and location information of the target account; and acquire the permission verification result from the server.
[0068] In a possible implementation manner, the entitlement display module is configured to, in response to the permission verification result indicating that the target account has the entitlement claiming permission, display a protocol display pop-up window on the task display interface. The protocol display pop-up window is used to display the user protocol corresponding to the target entitlement; and in response to a protocol confirmation operation on the protocol display pop-up window, display the target entitlement pre-granted to the target account.
[0069] In a possible implementation manner, the entitlement display module is configured to, in response to a protocol confirmation operation on the protocol display pop-up window, display a resource authorization interface of the target account. The resource authorization interface is used to request the permission to recover virtual resources when the entitlement task is not completed; and in response to a permission confirmation operation on the resource authorization interface, display the target entitlement pre-granted to the target account.
[0070] In a possible implementation, the rights and interests display module is configured to determine the credit information of the target account in response to a permission confirmation operation on the resource authorization interface; and display the target rights and interests pre-granted to the target account when the credit information meets the preset credit conditions.
[0071] In a possible implementation, the rights and interests display module is configured to display the task display interface and display a rights and interests collection pop-up window on the task display interface when the credit information meets the preset credit conditions, and the target rights and interests are displayed in the rights and interests collection pop-up window.
[0072] In a possible implementation, the device further includes:
[0073] An authorization failure prompt display module, configured to display the task display interface and display an authorization failure prompt on the task display interface when the credit information does not meet the preset credit conditions, and the authorization failure prompt is used to indicate that the credit information does not meet the preset credit conditions.
[0074] In a possible implementation, the device further includes:
[0075] A rights and interests collection failure prompt display module, configured to display a rights and interests collection failure prompt on the terminal in response to the permission verification result indicating that the target account does not have the rights and interests collection permission, and the rights and interests collection failure prompt carries the reason why the target account does not have the rights and interests collection permission.
[0076] In a possible implementation, the rights and interests display module is configured to determine whether there is a logged-in account in response to a task collection operation on the task display interface; and obtain the permission verification result of the target account when the target account exists.
[0077] In a possible implementation, the device further includes:
[0078] A login pop-up window display module, configured to display an account login pop-up window for logging in to an account when there is no logged-in account.
[0079] In a possible implementation, the resource recovery information display module is configured to perform any one of the following:
[0080] In response to the termination and completion of the rights and interests task, display the first resource recovery information of the target account, and the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered;
[0081] In response to the termination of the rights and interests task and the rights and interests task not being completed, display the second resource recovery information of the target account, where the second resource recovery information carries the amount of resources recovered by the target account, and the amount of resources recovered by the target account is determined based on the usage of the target rights and interests.
[0082] In a possible implementation manner, the device further includes a progress display module, configured to perform any one of the following:
[0083] In response to the rights and interests task not being terminated, display the completion progress of the rights and interests task and / or the usage progress of the target rights and interests.
[0084] In a possible implementation manner, the device further includes:
[0085] A task termination module, configured to, when the rights and interests task is not terminated, in response to a termination operation on the rights and interests task, display a termination confirmation pop-up window; in response to a confirmation operation on the termination confirmation pop-up window, display a task termination prompt, where the task termination prompt is used to indicate the termination of the rights and interests task.
[0086] In a fourth aspect, a rights and interests granting device is provided, where the device includes:
[0087] A verification result determination module, configured to, in response to a claim request for a rights and interests task, determine a permission verification result of the target account based on at least one of the account identifier and location information of the target account, where the permission verification result is used to indicate whether the target account has the right to claim rights and interests;
[0088] A rights and interests granting module, configured to, in response to the permission verification result indicating that the target account has the right to claim rights and interests, pre-grant target rights and interests to the target account, where the rights and interests task is the rights and interests task required to claim the target rights and interests, and the target rights and interests are used to reduce the amount of resources consumed when placing an order;
[0089] A situation determination module, configured to, in response to the termination of the rights and interests task, determine the completion situation of the rights and interests task corresponding to the target account and the usage situation of the target rights and interests;
[0090] A resource recovery information determination module, configured to determine the resource recovery information of the target account based on the completion situation of the rights and interests task and the usage situation of the target rights and interests.
[0091] In a possible implementation manner, the verification result determination module is configured to determine that the target account has the right to receive the benefit when the account identifier is a preset account identifier and / or the location information is preset location information; and determine that the target account does not have the right to receive the benefit when the account identifier is not the preset account identifier or the location information is not the preset location information.
[0092] In a possible implementation manner, the benefit distribution module is configured to, in response to the permission verification result indicating that the target account has the right to receive the benefit, send the user agreement corresponding to the target benefit to the login terminal of the target account, so that the terminal displays a protocol display pop-up window on the task display interface; and in response to a protocol confirmation instruction for the user agreement, pre-distribute the target benefit to the target account.
[0093] In a possible implementation manner, the benefit distribution module is configured to, in response to a protocol confirmation instruction for the user agreement, determine the credit information of the target account; and pre-distribute the target benefit to the target account when the credit information meets the preset credit conditions.
[0094] In a possible implementation manner, the situation determination module is configured to, in response to the termination of the benefit task, query the usage of the target benefit based on the target account to obtain the usage situation of the target benefit corresponding to the target account; and compare the first completion situation of the stored benefit task with the second completion situation of the benefit task of the target account stored in the payment platform to obtain the completion situation of the benefit task of the target account.
[0095] In a possible implementation manner, the resource recovery information determination module is configured to perform any one of the following:
[0096] When the benefit task is completed, determine that the resource recovery information of the target account is the first resource recovery information, and the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered;
[0097] When the benefit task is not completed, determine the amount of resources recovered by the target account based on the usage situation of the target benefit; and determine the second resource recovery information of the target account based on the amount of resources recovered by the target account.
[0098] In a possible implementation manner, the device further includes:
[0099] An update module, configured to, when the target account completes an order of a preset type, update the completion situation of the benefit task based on the amount of resources consumed by the order.
[0100] In a fifth aspect, a computer device is provided, which includes one or more processors and one or more memories. At least one computer program is stored in the one or more memories, and the computer program is loaded and executed by the one or more processors to implement the rights and interests distribution method.
[0101] In a sixth aspect, a computer-readable storage medium is provided. At least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the rights and interests distribution method.
[0102] In a seventh aspect, a computer program product or a computer program is provided. The computer program product or the computer program includes program code, and the program code is stored in a computer-readable storage medium. A processor of a computer device reads the program code from the computer-readable storage medium, and the processor executes the program code, so that the computer device executes the above-mentioned rights and interests distribution method.
[0103] Through the technical solution provided by the embodiments of the present application, a task display interface for a target right and interest is displayed. The task display interface is used to display the rights and interests tasks required to receive the target right and interest, and the target right and interest is used to reduce the amount of resources consumed when placing an order. In response to a task receiving operation on the task display interface, the target right and interest pre-granted to a target account is displayed, that is, the target right and interest is pre-granted without completing the rights and interests tasks, thereby motivating users to place orders. In response to the termination of the rights and interests task, resource recovery information of the target account is displayed. The resource recovery information is determined based on the completion situation of the rights and interests task corresponding to the target account and the usage situation of the target right and interest, serving the purpose of motivating users to place orders. In addition, pre-granting the target right and interest also improves the efficiency of rights and interests distribution and the user experience. Description of the Drawings
[0104] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0105] Figure 1 It is a schematic diagram of the implementation environment of a rights and interests distribution method provided by an embodiment of the present application;
[0106] Figure 2 It is a flowchart of a rights and interests distribution method provided by an embodiment of the present application;
[0107] Figure 3 It is a flowchart of another rights and interests distribution method provided by an embodiment of the present application;
[0108] Figure 4 It is a schematic diagram of a task display interface provided by an embodiment of the present application;
[0109] Figure 5 It is a schematic diagram of a permission verification provided by an embodiment of the present application;
[0110] Figure 6 It is a schematic diagram of a login pop-up window provided by an embodiment of the present application;
[0111] Figure 7 It is a schematic diagram of a protocol display pop-up window provided by an embodiment of the present application;
[0112] Figure 8 It is a schematic diagram of a resource authorization interface provided by an embodiment of the present application;
[0113] Figure 9 It is a schematic diagram of a benefit collection pop-up window provided by an embodiment of the present application;
[0114] Figure 10 It is a schematic diagram of an interface for terminating a benefit task provided by an embodiment of the present application;
[0115] Figure 11 It is a schematic diagram of a task settlement pop-up window provided by an embodiment of the present application;
[0116] Figure 12 It is a schematic diagram of another task settlement pop-up window provided by an embodiment of the present application;
[0117] Figure 13 It is a flowchart of another method for distributing benefits provided by an embodiment of the present application;
[0118] Figure 14 It is a flowchart of a benefit task in progress provided by an embodiment of the present application;
[0119] Figure 15 It is a flowchart of a benefit task settlement provided by an embodiment of the present application;
[0120] Figure 16 It is a schematic diagram of the structure of a benefit distribution device provided by an embodiment of the present application;
[0121] Figure 17 It is a schematic diagram of the structure of a benefit distribution device provided by an embodiment of the present application;
[0122] Figure 18 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present application;
[0123] Figure 19 It is a schematic diagram of the structure of a server provided by an embodiment of the present application. Detailed implementation manners
[0124] To make the objectives, technical solutions, and advantages of this application clearer, the following will further describe the embodiments of this application in detail with reference to the accompanying drawings.
[0125] In this application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions. It should be understood that there is no logical or chronological dependency between "first", "second", and "nth", nor are the quantity and execution order limited.
[0126] To illustrate the technical solutions provided in the embodiments of this application, the following will first introduce the terms related to the embodiments of this application.
[0127] Benefit: Reward, a means to attract users to place orders, that is, to motivate users to consume resources to complete orders.
[0128] Benefit task: A task that needs to be executed to claim a benefit.
[0129] Pre-release of benefit: Pre-release a benefit to a user without completing the benefit task.
[0130] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions. For example, the target account, location information, and order-related information involved in this application are all obtained under full authorization.
[0131] Figure 1 is a schematic diagram of the implementation environment of a benefit distribution method provided by an embodiment of this application. Refer to Figure 1 In this implementation environment, it may include a terminal 110 and a server 140.
[0132] The terminal 110 is connected to the server 140 through a wireless network or a wired network. Optionally, the terminal 110 is a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal 110 installs and runs an application program that supports benefit distribution.
[0133] The server 140 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. The server 140 provides background services for the application programs running on the terminal 110.
[0134] Those skilled in the art can be aware that the number of the above terminals can be more or less. For example, the above terminal is only one, or the above terminals are dozens or hundreds, or a larger number. At this time, other terminals are also included in the above implementation environment. The embodiments of the present application do not limit the number and device types of the terminals.
[0135] After introducing the implementation environment of the embodiments of the present application, the application scenarios of the embodiments of the present application will be introduced below in combination with the above implementation environment. In the following description process, the terminal is also the terminal 110 in the above implementation environment, and the server is also the server 140 in the above implementation environment. The embodiments of the present application can be applied to any application program that supports the issuance of rights and interests. For example, the technical solutions provided by the embodiments of the present application can be applied to takeaway application programs that support the issuance of rights and interests, can also be applied to group-buying application programs that support the issuance of rights and interests, and can also be applied to shopping application programs that support the issuance of rights and interests.
[0136] Taking the technical solution provided by the embodiments of the present application applied to a food delivery application program that supports entitlement issuance as an example, the food delivery application program runs on a terminal. A user can consume a certain amount of virtual resources to order food through this food delivery application program. The food delivery application program provides various entitlements for users. For example, the food delivery application program provides coupons for users. Using the coupons can deduct a certain amount of virtual resources when ordering food, that is, reduce the amount of resources consumed by the user when ordering food, so as to achieve the purpose of motivating the user to place an order. In the related art, a user needs to complete an entitlement task or consume a certain amount of virtual resources first to receive an entitlement, which will reduce the enthusiasm of the user to receive the entitlement and reduce the efficiency of human-computer interaction. After adopting the technical solution provided by the embodiments of the present application, it is possible to pre-issue entitlements to users, thereby motivating users to place orders. The terminal displays a task display interface for a target entitlement. This task display interface is used to display the entitlement tasks required to receive the target entitlement. The target entitlement is used to reduce the amount of resources consumed when placing an order, that is, reduce the amount of resources consumed when ordering food. In response to a task receiving operation on the task display interface, the server pre-issues the target entitlement to the target account, and the terminal displays the target entitlement pre-issued to the target account, so that the user can understand that the target entitlement is obtained, thereby motivating the user to place an order using the target entitlement. In addition, pre-issuing the target entitlement to the target account without completing the entitlement task reduces the receiving cost of the target entitlement and improves the efficiency of human-computer interaction. In response to the termination of the entitlement task, the terminal displays the resource recovery information of the target account. This resource recovery information is determined based on the completion situation of the entitlement task and the usage situation of the target entitlement. That is, in the case of not completing the entitlement task, there is a way to recover the used entitlement, thereby motivating users to place orders and improving the user experience.
[0137] It should be noted that the above is described by taking the technical solution provided by the embodiments of the present application applied to a food delivery application program that supports entitlement issuance as an example. In other possible implementation manners, the embodiments of the present application can be applied to other application programs that support entitlement issuance, and the embodiments of the present application do not limit this.
[0138] After introducing the implementation environment and application scenarios of the embodiments of the present application, the entitlement issuance method provided by the embodiments of the present application will be introduced below. Refer to Figure 2 , taking the execution entity as the terminal as an example, the method includes the following steps.
[0139] S210, the terminal displays a task display interface for a target entitlement. This task display interface is used to display the entitlement tasks required to receive the target entitlement. The target entitlement is used to reduce the amount of resources consumed when placing an order.
[0140] Among them, the target entitlement is the entitlement provided by the platform for users. When the platform is a food delivery platform, the target entitlement refers to the entitlement related to food delivery. When using the target entitlement to order food delivery, it can reduce the amount of resources consumed when placing an order. In this case, the target entitlement is a food delivery red envelope, coupon, or voucher, etc.; when the platform is a group buying platform, the target entitlement refers to the entitlement related to group buying. When using the target entitlement to purchase group buying goods, it can reduce the amount of resources consumed when placing an order. In this case, the target entitlement is a group buying red envelope, coupon, or voucher, etc. The embodiments of the present application do not limit the type of the target entitlement. The entitlement task refers to the task required to receive the target entitlement. In the embodiments of the present application, to receive the target entitlement, the entitlement task needs to be received first. The task display interface is a functional interface of the application currently running on the terminal. The task display interface is used to display the target entitlement and the entitlement task. Through the task display interface, the situation of the target entitlement and the entitlement task can be understood.
[0141] S220. In response to a task receiving operation on the task display interface, obtain an authentication result of the target account. The authentication result of the target account is determined based on at least one of the account identifier and location information of the target account. The authentication result of the target account is used to indicate whether the target account has the entitlement receiving permission.
[0142] Among them, the task receiving operation is used to receive the entitlement task, and the target account is the currently logged-in account.
[0143] S230. In response to the authentication result of the target account indicating that the target account has the entitlement receiving permission, the terminal displays the target entitlement pre-granted to the target account.
[0144] Among them, pre-granting the target entitlement to the target account means that, in the case where the entitlement task is not completed, the target entitlement is first granted to the target account, achieving the purpose of granting the entitlement first and then completing the entitlement task, which greatly improves the efficiency of receiving the entitlement.
[0145] S240. In response to the termination of the entitlement task, the terminal displays the resource recovery information of the target account. The resource recovery information of the target account is determined based on the completion situation of the entitlement task corresponding to the target account and the usage situation of the target entitlement.
[0146] Among them, the termination of the rights and interests task means that the rights and interests task is in a terminated state, that is, in a state where it cannot be continued. In some embodiments, the rights and interests task has a certain task execution duration. After receiving the rights and interests task, it is necessary to complete the rights and interests task within the task execution duration. If the task execution duration is exceeded, the rights and interests task will terminate. In some embodiments, the rights and interests task can also be terminated by the user actively. The resource recovery information is used to reflect the situation of recovering virtual resources from the target account, so as to encourage users to place orders and improve the user experience. The completion status of the rights and interests task includes the completion progress of the rights and interests task, and the usage status of the target rights and interests includes the usage progress of the target rights and interests.
[0147] Through the technical solution provided by the embodiments of the present application, a task display interface of the target rights and interests is displayed. The task display interface is used to display the rights and interests tasks required to receive the target rights and interests. The target rights and interests are used to reduce the amount of resources consumed when placing an order. In response to a task receiving operation on the task display interface, the target rights and interests pre-granted to the target account are displayed, that is, the target rights and interests are pre-granted without having to complete the rights and interests tasks, so as to encourage users to place orders. In response to the termination of the rights and interests task, the resource recovery information of the target account is displayed. The resource recovery information is determined based on the completion status of the rights and interests task corresponding to the target account and the usage status of the target rights and interests, serving the purpose of encouraging users to place orders. In addition, pre-granting the target rights and interests also improves the efficiency of rights and interests granting and the user experience.
[0148] The above S210-S240 is a simple description of the rights and interests granting method provided by the embodiments of the present application. Below, in combination with some examples, the rights and interests granting method provided by the embodiments of the present application will be described in more detail. Refer to Figure 3 , taking the execution entity as the terminal as an example, the method includes:
[0149] S310, the terminal displays a task display interface of the target rights and interests. The task display interface is used to display the rights and interests tasks required to receive the target rights and interests. The target rights and interests are used to reduce the amount of resources consumed when placing an order.
[0150] Among them, the target right is the right provided by the platform for users. When the platform is a food delivery platform, the target right refers to the right related to food delivery. When using the target right to order food delivery, the amount of resources consumed during the order placement can be reduced. In this case, the target right is a food delivery red envelope, coupon, or voucher, etc. When the platform is a group buying platform, the target right refers to the right related to group buying. When using the target right to purchase group buying goods, the amount of resources consumed during the order placement can be reduced. In this case, the target right is a group buying red envelope, coupon, or voucher, etc. The embodiments of the present application do not limit the type of the target right. The right task refers to the task required to obtain the target right. In the embodiments of the present application, to obtain the target right, the right task needs to be obtained first. The task display interface is a function interface of the application currently running on the terminal. The task display interface is used to display the target right and the right task. Through the task display interface, the situation of the target right and the right task can be understood. The amount of resources refers to the quantity of virtual resources, and the virtual resources refer to the resources that can be used for online payment.
[0151] In some embodiments, the right introduction information of the target right is displayed on the task display interface. The right introduction information is used to introduce the usage method of the target right. Through the right introduction information, the target right can be quickly understood. Correspondingly, the task introduction information of the right task is also displayed on the task display interface. The task introduction information is used to introduce the completion method of the right task and the situation of the unclaimed right recovery. Through the task introduction information, the right task can be quickly understood. Among them, the specific content and form of the right introduction information and the task introduction information are set by technical personnel according to the actual situation. The embodiments of the present application do not limit this.
[0152] In some embodiments, the target right includes multiple sub-rights. The usage quantity of the sub-rights also represents the usage progress of the target right. Taking the target right as a red envelope set as an example, the sub-right is the red envelope in the red envelope set. For example, if the target right is 5 red envelopes of 20 yuan each, then the sub-right is a single 20-yuan red envelope. Using 1 20-yuan red envelope increases the usage progress of the target right by 20%.
[0153] In some embodiments, the entitlement task is to consume a preset amount of resources within a preset duration, and both the preset duration and the preset amount are set by technicians according to the actual situation. For example, the preset duration is set to 30 days and the preset amount is set to 1000, etc. The embodiments of the present application do not limit this. Of course, in addition to consuming a preset amount of virtual resources within a preset duration as described above, the entitlement task can also be other types of tasks, such as completing a preset number of orders within a preset duration, or placing orders continuously for a preset number of days within a preset duration. In the following description, the example of the entitlement task being to consume a preset amount of resources within a preset duration will be used for illustration.
[0154] In a possible implementation manner, the terminal displays a first application interface of a target application, and the first application interface is a function interface provided by the target application. In response to an operation on the first application interface, the terminal switches the first application interface to a task display interface of the target entitlement.
[0155] Among them, the target application is any one of a food delivery application, a group buying application, and a shopping application. Correspondingly, the function provided by the first application interface is related to the type of the target application. When the target application is a food delivery application, the first application interface is a food delivery display interface, a food delivery order display interface, or a chat interface of the food delivery application. When the target application is a group buying application, the first application interface is a group buying item display interface, a group buying order display interface, or a chat interface of the group buying application. When the target application is a shopping application, the first application interface is a product display interface, a product order display interface, and a chat interface of the shopping application. In some embodiments, the first application interface is the main interface or the default interface of the target application, that is, the first application interface is the first function interface displayed after the target application is launched.
[0156] In this implementation manner, by operating on the first application interface of the target application, it is possible to control the switching and display of the task display interface of the target entitlement, and the interface display efficiency is relatively high.
[0157] For example, the terminal displays a first application interface of a target application, and the first application interface includes a plurality of interface switching controls. In response to a click operation on a target interface switching control among the plurality of interface switching controls, the terminal switches the first application interface to a task display interface of the target entitlement. The target interface switching control is the interface switching control corresponding to the task display interface, and the form of the target interface switching control can be a Banner advertisement, and the target entitlement can be promoted through the target interface switching control. For example, see Figure 4, the terminal displays a first application interface 400 of a target application, and the first application interface 400 includes multiple interface switching controls. In response to a click operation on a target interface switching control 401 among the multiple interface switching controls, the terminal switches the first application interface 400 to a task display interface 402 of the target entitlement.
[0158] The above embodiments have described the method for the terminal to display the task display interface of the target entitlement. Next, the display content on this task display interface will be described.
[0159] In some embodiments, the task display interface includes an entitlement task display area, an entitlement usage preview area, and a task collection control. The entitlement task display area is used to display the target entitlement and the entitlement tasks corresponding to the target entitlement; the entitlement usage preview area is used to display a preview order placement interface when placing an order using the target entitlement, so as to facilitate understanding the usage method and effect of the target entitlement; the task collection control is used to collect the entitlement tasks. In some embodiments, the task display interface further includes a protocol viewing control, and the protocol viewing control is used to view the user agreement of the entitlement tasks. For example, refer to Figure 4 , the task display interface 402 includes an entitlement task display area 403, an entitlement usage preview area 404, and a task collection control 405. In some embodiments, the task display interface is also referred to as a sales page.
[0160] S320, in response to a task collection operation on the task display interface, the terminal obtains an authority verification result of a target account, and the authority verification result is determined based on at least one of the account identifier and location information of the target account, and the authority verification result is used to indicate whether the target account has the entitlement collection authority.
[0161] Among them, the task collection operation is used to collect the entitlement tasks, and the target account is the currently logged-in account. The entitlement collection authority can be regarded as the qualification to collect the target entitlement / entitlement tasks. That the target account has the entitlement collection authority also means that the target account has the qualification to collect the target entitlement / entitlement tasks; that the target account does not have the entitlement collection authority also means that the target account does not have the qualification to collect the target entitlement / entitlement tasks.
[0162] In a possible implementation manner, in response to a task collection operation on the task display interface, the terminal sends a collection request for the entitlement task to the server, and the collection request carries at least one of the account identifier and location information of the target account. The terminal obtains an authority verification result from the server, and the authority verification result is used to indicate whether the target account has the entitlement collection authority, and the authority verification result is determined based on at least one of the account identifier and the location information.
[0163] Among them, the account identifier is used to uniquely identify the target account, such as the account number of the target account. The location information is used to represent the location of the terminal that logs in to the target account.
[0164] In this implementation manner, in response to a task receiving operation on the task display interface, a request to receive the entitlement task is sent to the server. The permission verification result of the target account is directly obtained from the server, and subsequent steps are then executed, with relatively high efficiency and accuracy of permission authentication.
[0165] For example, referring to Figure 5 , in response to a click operation on the task receiving control on the task display interface, the terminal sends a request to receive the entitlement task to the server, and the request to receive carries at least one of the account identifier and the location information of the target account. The server obtains the request to receive and obtains at least one of the account identifier and the location information from the request to receive. The server determines the permission verification result of the target account based on at least one of the account identifier and the location information. The terminal obtains the permission verification result from the server, and the permission verification result is used to indicate whether the target account has the entitlement to receive. For example, referring to Figure 4 , in response to a click operation on the task receiving control 405 on the task display interface 402, the terminal sends a request to receive the entitlement task to the server.
[0166] The above implementation manner is described by taking the example that the terminal determines whether the target account has the entitlement to receive through the server. In addition to the above implementation manner, the terminal can also determine whether the target account has the entitlement to receive through the following method.
[0167] In a possible implementation manner, in response to a task receiving operation on the task display interface, the terminal determines at least one of the account type and the location information of the target account. The terminal determines whether the target account has the entitlement to receive based on at least one of the account type and the location information of the target account.
[0168] In this implementation manner, the terminal can determine whether the target account has the entitlement to receive locally, with relatively high efficiency in determining the entitlement to receive, and at the same time saving the computing resources of the server.
[0169] For example, in response to a click operation on a task collection control on the task display interface, the terminal determines at least one of the account type and location information of the target account. When the account type of the target account is a preset account type and / or the location information is preset location information, the terminal determines that the target account has the privilege to collect the entitlement; when the account type of the target account is not the preset account type or the location information is not the preset location information, the terminal determines that the target account does not have the privilege to collect the entitlement. Wherein, the preset account type and the preset location information are sent by the server to the terminal in advance for the terminal to use.
[0170] It should be noted that in other possible embodiments, there may be no logged-in account on the terminal. In this case, the terminal can also perform the following steps.
[0171] In a possible embodiment, in response to a task collection operation on the task display interface, the terminal determines whether there is a logged-in account. When the target account exists, the terminal determines whether the target account has the privilege to collect the entitlement.
[0172] Among them, the method for determining whether the target account has the privilege to collect the entitlement can adopt the method provided in any of the above embodiments, which will not be elaborated here.
[0173] In this embodiment, before determining whether the target account has the privilege to collect the entitlement, it is first determined whether there is a logged-in account on the terminal. When the logged-in target account exists, it is then determined whether the target account has the privilege to collect the entitlement, avoiding incorrect determination of the privilege.
[0174] Based on the above embodiments, optionally, when there is no logged-in account, the terminal displays an account login pop-up window for logging in to the account.
[0175] In this embodiment, when there is no logged-in account, an account login pop-up window is displayed to log in to the account, and the efficiency of human-computer interaction is relatively high.
[0176] For example, referring to Figure 6 , in response to a click operation on the task collection control 405 on the task display interface 402, the terminal determines whether there is a logged-in account. When there is no logged-in account, the terminal displays an account login pop-up window 600. In some embodiments, the account login pop-up window 600 includes an account input area 601, a password input area 602, and a login control 603. The account input area 601 is used to input an account, the password input area 602 is used to input a password, and the login control 603 is used to log in to the account.
[0177] S330. In response to the permission verification result indicating that the target account has the right to claim the entitlement, the terminal displays a protocol display pop-up window on the task display interface, and the protocol display pop-up window is used to display the user agreement corresponding to the target entitlement.
[0178] In a possible implementation, refer to Figure 7 , in response to the permission verification result indicating that the target account has the right to claim the entitlement, the terminal displays a protocol display pop-up window 701 on the task display interface 700. The protocol display pop-up window 701 includes a protocol display area 702, a protocol confirmation control 703, and a protocol rejection control 704. The protocol display area 702 is used to display the user agreement corresponding to the target entitlement. The protocol confirmation control 703 is used to confirm the user agreement, and the protocol rejection control 704 is used to reject the user agreement. After clicking the protocol rejection control 704, the terminal will close the protocol display pop-up window 701.
[0179] In some embodiments, when the terminal displays the protocol display pop-up window 701, the protocol confirmation control 703 displayed on the protocol display pop-up window 701 is in a grayed-out state. In the grayed-out state, the protocol confirmation control 703 cannot be clicked, that is, it will not respond to click operations. After completing the browsing of the user agreement displayed in the protocol display area 702, the terminal adjusts the protocol confirmation control 703 from the grayed-out state to the active state. In the active state, the protocol confirmation control 703 can be clicked, that is, it will respond to click operations. Among them, completing the browsing of the user agreement includes that the browsing duration of the user agreement reaches a preset duration and the browsing position of the user agreement reaches a preset position. The preset duration and the preset position are set by technicians according to actual situations, and the embodiments of the present application do not limit this.
[0180] Optionally, after S320, the terminal can also perform the following steps.
[0181] In a possible implementation, in response to the permission verification result indicating that the target account does not have the right to claim the entitlement, the terminal displays a prompt for failed entitlement claim, and the prompt for failed entitlement claim carries the reason why the target account does not have the right to claim the entitlement.
[0182] In this implementation, in response to the permission verification result indicating that the target account does not have the right to claim the entitlement, a prompt for failed entitlement claim is displayed. Through the prompt for failed entitlement claim, the reason for being unable to claim the target entitlement can be known, improving the user experience and the efficiency of human-computer interaction.
[0183] In some embodiments, the reasons why the target account does not have the right to receive the benefit include that the account type of the target account is not the preset account type, the location information of the target account is not the preset location information, and the target account has received at least one of the preset benefits. The preset account type, the preset location information, and the preset benefits are set by technicians according to the actual situation, and the embodiments of the present application do not limit this.
[0184] For example, when the account type of the target account is not the preset account type, the benefit receiving failure prompt is: "You are not a special invited user and are temporarily not eligible to participate in the activity". When the location information of the target account is not the preset location information, the benefit receiving failure prompt is: "The city where you are located has not participated in the activity yet". When the target account has received the preset benefit, the benefit receiving failure prompt is: "You have received other benefits and are temporarily unable to participate in the activity". Of course, the above benefit receiving failure prompts are examples, and the embodiments of the present application do not limit the copywriting of the benefit receiving failure prompts.
[0185] S340, in response to a protocol confirmation operation on the protocol display pop-up window, the terminal displays a resource authorization interface of the target account, and the resource authorization interface is used to request the permission to recover virtual resources when the benefit task is not completed.
[0186] In a possible implementation manner, in response to a click operation on the protocol confirmation control in the protocol display pop-up window, the terminal starts the associated application and displays the resource authorization interface of the target account of the associated application. The associated application is a payment application having an association relationship with the target application, and virtual resources can be transferred in the target application through the associated application, and the target account is logged in to the associated application.
[0187] In this implementation manner, after performing the protocol confirmation operation, the associated application of the target application is started, and the resource authorization interface of the target account is displayed through the associated application, and subsequent virtual resource transfer is achieved through the associated application.
[0188] For example, in response to a click operation on the protocol confirmation control in the protocol display pop-up window, the terminal determines whether the associated application is installed. When the associated application is installed, the terminal starts the associated application and displays the resource authorization interface of the target account of the associated application. When the associated application is not installed, the terminal displays the installation interface of the associated application, and the download interface is used to install the associated application. See Figure 8, in response to a click operation on the protocol confirmation control 703 in the protocol display pop-up window 701, the terminal determines whether the associated application is installed. If the associated application is installed, the terminal launches the associated application and displays a resource authorization interface 800 for the target account of the associated application.
[0189] For example, in response to a click operation on the protocol confirmation control in the protocol display pop-up window, the terminal determines whether the associated application is installed. If the associated application is installed, the terminal launches the associated application. The terminal determines whether the account logged in to the associated application is the target account. If the account logged in to the associated application is the target account, the terminal displays a resource authorization interface for the target account of the associated application. If the account logged in to the associated application is not the target account, the terminal displays an account prompt message for the associated application, and the account prompt message is used to prompt logging in to the target account.
[0190] In some embodiments, the resource authorization interface includes an authorization protocol display area, an authorization confirmation control, and an authorization rejection control. The authorization protocol display area is used to display a resource authorization protocol. The authorization confirmation control is used to confirm the resource authorization protocol. The authorization rejection control is used to reject the resource authorization protocol. The resource authorization protocol includes the target rights and interests and the rights and interests task. For example, see Figure 8 , the resource authorization interface 800 includes an authorization protocol display area 801, an authorization confirmation control 802, and an authorization rejection control 803.
[0191] S350, in response to a permission confirmation operation on the resource authorization interface, the terminal determines the credit information of the target account.
[0192] Among them, the credit information is used to reflect the credit situation of the target account. The credit information is comprehensively determined based on the historical performance, asset situation, identity information, and social information of the target account. Of course, when determining the credit information of the target account based on the historical performance, asset situation, identity information, and social information of the target account, the use of the historical performance, asset situation, identity information, and social information of the target account has obtained the permission of the user using the target account. In some embodiments, the credit information is a credit value. The higher the credit value, the better the credit situation of the target account; the lower the credit value, the worse the credit situation of the target account.
[0193] In a possible implementation manner, in response to a click operation on the authorization confirmation control on the resource authorization interface, the terminal determines the credit information of the target account.
[0194] S360. When the credit information meets the preset credit conditions, the terminal displays the target entitlement that is to be pre-granted to the target account.
[0195] Among them, pre-granting the target entitlement to the target account means that, when the entitlement task is not completed, the target entitlement is first granted to the target account, achieving the purpose of granting the entitlement first and then completing the entitlement task, which greatly improves the efficiency of entitlement collection. The credit information meeting the preset credit conditions means that the credit situation reflected by the credit information conforms to the credit situation corresponding to the preset credit conditions. The preset credit conditions are set by technical personnel according to the actual situation, and the embodiments of the present application do not limit this.
[0196] In a possible implementation manner, when the credit information meets the preset credit conditions, the terminal displays the task display interface and displays an entitlement collection pop-up window on the task display interface, and the target entitlement is displayed in the entitlement collection pop-up window.
[0197] Taking the credit information as the credit value as an example, when the credit value of the target account is greater than or equal to the preset credit value, the terminal displays the task display interface and displays an entitlement collection pop-up window on the task display interface. The credit value of the target account being greater than or equal to the preset credit value also means that the credit information of the target account meets the preset credit conditions.
[0198] For example, see Figure 9 , when the credit information meets the preset credit conditions, the terminal displays the task display interface 900 and displays on the task display interface 900. The target entitlement 902 is displayed in the entitlement collection pop-up window 901.
[0199] Optionally, after S350, the terminal can also perform the following steps.
[0200] In a possible implementation manner, when the credit information does not meet the preset credit conditions, the terminal displays the task display interface and displays an authorization failure prompt on the task display interface, and the authorization failure prompt is used to indicate that the credit information does not meet the preset credit conditions.
[0201] Optionally, after S360, the terminal can also perform the following steps.
[0202] In a possible implementation manner, when the entitlement task is not terminated, in response to an operation to terminate the entitlement task, the terminal displays a termination confirmation pop-up window. In response to a confirmation operation on the termination confirmation pop-up window, the terminal displays a task termination prompt, and the task termination prompt is used to indicate that the entitlement task is terminated.
[0203] Among them, the termination operation of the entitlement task is used to actively terminate the entitlement task, and the termination confirmation pop-up window is used to reconfirm the request to terminate the entitlement task, thereby reducing the probability of misoperation.
[0204] In this implementation manner, the active termination of the entitlement task can be achieved through the termination operation of the entitlement task, improving the user's autonomy.
[0205] For example, when the entitlement task has not been terminated, in response to the termination operation of the entitlement task, the terminal determines whether the entitlement task is completed. When the entitlement task is completed, the terminal displays a termination confirmation pop-up window, and a first prompt message is displayed in the termination confirmation pop-up window, where the first prompt message is used to prompt that the entitlement task has been completed. When the entitlement task is not completed, the terminal determines the usage progress of the target entitlement. When the target entitlement has been used up, the terminal displays a termination confirmation pop-up window, and a second prompt message is displayed in the termination confirmation pop-up window, where the second prompt message is used to prompt the completion progress of the entitlement task and the amount of resources to be recovered. When the target entitlement has not been used up, the terminal displays a termination confirmation pop-up window, and a third prompt message is displayed in the termination confirmation pop-up window, where the third prompt message is used to prompt the usage progress of the target entitlement and the amount of resources to be recovered. In response to the confirmation operation on the termination confirmation pop-up window, the terminal displays a task termination prompt, and the task termination prompt is used to indicate the termination of the entitlement task.
[0206] For instance, see Figure 10, when the rights and interests task has not terminated, in response to a click operation on the termination control 1001 of the rights and interests task, the terminal determines whether the rights and interests task is completed. When the rights and interests task is completed, the terminal displays a termination confirmation pop-up window 1002, and a first prompt message is displayed in the termination confirmation pop-up window 1002, and the first prompt message is used to prompt that the rights and interests task has been completed. When the rights and interests task is not completed, the terminal determines the usage progress of the target rights and interests. When the target rights and interests are used up, the terminal displays a termination confirmation pop-up window 1003, and a second prompt message is displayed in the termination confirmation pop-up window 1003, and the second prompt message is used to prompt the completion progress of the rights and interests task and the amount of resources to be recovered. When the target rights and interests are not used up, the terminal displays a termination confirmation pop-up window 1004, and a third prompt message is displayed in the termination confirmation pop-up window 1004, and the third prompt message is used to prompt the usage progress of the target rights and interests and the amount of resources to be recovered. In response to a click operation on the confirmation control on the termination confirmation pop-up window 1002, the terminal displays a first task termination prompt 1005, and the first task termination prompt 1005 is used to indicate the termination of the rights and interests task and the amount of resources saved by using the target rights and interests. In response to a click operation on the confirmation control on the termination confirmation pop-up window 1003 or the termination confirmation pop-up window 1004, the terminal displays a second task termination prompt 1006, and the second task termination prompt 1006 is used to indicate the termination of the rights and interests task and the amount of resources to be recovered.
[0207] S370, in response to the termination of the rights and interests task, the terminal displays resource recovery information of the target account, and the resource recovery information is determined based on the completion status of the rights and interests task corresponding to the target account and the usage status of the target rights and interests.
[0208] Among them, the termination of the rights and interests task means that the rights and interests task is in a terminated state, that is, in a state where it cannot be continued. In some embodiments, the rights and interests task has a certain task execution duration. After receiving the rights and interests task, the rights and interests task needs to be completed within the task execution duration. If the task execution duration is exceeded, the rights and interests task terminates. In some embodiments, the rights and interests task can also be actively terminated by the user. The resource recovery information is used to reflect the situation of recovering virtual resources from the target account, so as to encourage users to place orders and improve the user experience. The completion status of the rights and interests task includes the completion progress of the rights and interests task, and the usage status of the target rights and interests includes the usage progress of the target rights and interests.
[0209] In a possible implementation manner, in response to the termination of the rights and interests task and the completion of the rights and interests task, the terminal displays first resource recovery information of the target account, and the first resource recovery information is used to indicate that the target account does not need to be recovered of virtual resources.
[0210] In some embodiments, the first resource recovery information further includes the amount of resources saved by using the target entitlement.
[0211] For example, referring to Figure 11 , in response to the termination and completion of the entitlement task, the terminal displays a first task settlement pop-up window 1101, and the first resource recovery information 1102 of the target account is displayed in the first task settlement pop-up window.
[0212] In a possible implementation manner, in response to the termination and non-completion of the entitlement task, the terminal displays second resource recovery information of the target account, and the second resource recovery information carries the amount of resources recovered from the target account, and the amount of resources recovered from the target account is determined based on the usage of the target entitlement.
[0213] In some embodiments, the second resource recovery information further includes the progress of using the target entitlement.
[0214] For example, referring to Figure 12 , in response to the termination and completion of the entitlement task, the terminal displays a second task settlement pop-up window 1201, and the second resource recovery information 1202 of the target account is displayed in the second task settlement pop-up window.
[0215] In some embodiments, a reclamation control 1203 is displayed in the second task settlement pop-up window 1201. Referring to Figure 12 and Figure 4 , in response to a click operation on the reclamation control 1203, the terminal displays the task display interface 402.
[0216] S380, in response to the non-termination of the entitlement task, the terminal displays at least one of the completion status of the entitlement task and the usage status of the target entitlement.
[0217] In a possible implementation manner, in response to the non-termination of the entitlement task, the completion progress of the entitlement task is displayed.
[0218] Wherein, when the entitlement task is to consume a preset amount of resources within a preset duration, the completion progress of the entitlement task is also the ratio of the amount of resources that have been consumed to the preset amount of resources.
[0219] In this implementation manner, by displaying the completion progress of the entitlement task, the user can be reminded of the completion status of the entitlement task, thereby motivating the user to complete the entitlement task.
[0220] In a possible implementation manner, in response to the non-termination of the entitlement task, the usage progress of the target entitlement is displayed.
[0221] Wherein, when the target entitlement includes multiple sub - entitlements, the usage progress of the target entitlement is the ratio of the number of used sub - entitlements to the total number of sub - entitlements.
[0222] In this implementation manner, by displaying the usage progress of the target entitlement, the user can be reminded of the usage situation of the target entitlement, thereby motivating the user to use the target entitlement.
[0223] All of the above - mentioned alternative technical solutions can be combined arbitrarily to form alternative embodiments of the present application, which will not be elaborated one by one here.
[0224] Through the technical solution provided by the embodiments of the present application, a task display interface of the target entitlement is displayed. The task display interface is used to display the entitlement tasks required to receive the target entitlement, and the target entitlement is used to reduce the amount of resources consumed when placing an order. In response to a task receiving operation on the task display interface, the target entitlement pre - issued to the target account is displayed, that is, the target entitlement is pre - issued without completing the entitlement tasks, thereby motivating the user to place an order. In response to the termination of the entitlement task, the resource recovery information of the target account is displayed. The resource recovery information is determined based on the completion situation of the entitlement task corresponding to the target account and the usage situation of the target entitlement, serving the purpose of motivating the user to place an order. In addition, pre - issuing the target entitlement also improves the efficiency of entitlement issuance and the user experience.
[0225] The above S310 - S380 illustrate the entitlement issuance method provided by the embodiments of the present application with the terminal as the execution subject. Next, the entitlement issuance method provided by the embodiments of the present application will be described with the server as the execution subject. Refer to Figure 13 , the method includes the following steps.
[0226] S1310, in response to a request for receiving an entitlement task, the server determines the permission verification result of the target account based on at least one of the account identifier and location information of the target account. The permission verification result is used to indicate whether the target account has the entitlement receiving permission.
[0227] Wherein, the server is also referred to as a merchant server or a merchant platform.
[0228] In a possible implementation manner, the receiving request carries at least one of the account identifier and location information of the target account. In response to the request for receiving an entitlement task, the server obtains at least one of the account identifier and location information of the target account from the receiving request. When the account identifier is a preset account identifier and / or the location information is preset location information, the server determines that the target account has the entitlement receiving permission. When the account identifier is not the preset account identifier or the location information is not the preset location information, the server determines that the target account does not have the entitlement receiving permission.
[0229] S1320, in response to the permission verification result indicating that the target account has the right to claim the entitlement, the server pre-grants the target entitlement to the target account, and the target entitlement is used to reduce the amount of resources consumed when placing an order.
[0230] In a possible implementation, in response to the permission verification result indicating that the target account has the right to claim the entitlement, the server sends the user agreement corresponding to the target entitlement to the login terminal of the target account, so that the terminal displays a protocol display pop-up window on the task display interface. In response to the protocol confirmation instruction for the user agreement, the server pre-grants the target entitlement to the target account.
[0231] Among them, pre-granting the target entitlement to the target account means pre-distributing the target entitlement to the target account for the target account to use when placing an order.
[0232] Next, the process of the server pre-granting the target entitlement to the target account in response to the protocol confirmation instruction for the user agreement will be introduced.
[0233] In a possible implementation, in response to the protocol confirmation instruction for the user agreement, the server determines the credit information of the target account. When the credit information meets the preset credit conditions, the server pre-grants the target entitlement to the target account.
[0234] In this implementation, in response to the protocol confirmation instruction for the user agreement, first determine the credit information of the target account, and when the credit information meets the preset credit conditions, then pre-grant the target entitlement to the target account, which improves the security of pre-granting the target entitlement.
[0235] For example, in response to the protocol confirmation instruction for the user agreement, the server sends a credit query request to the payment platform, and the credit query request carries the account identifier of the target account. The payment platform receives the credit query request and obtains the account identifier of the target account from the credit query request. The payment platform queries based on the account identifier of the target account to obtain the credit information of the target account. The payment platform sends the credit information to the server, and the server receives the credit information. When the credit information meets the preset credit conditions, the server pre-grants the target entitlement to the target account.
[0236] Optionally, after S1320, when the target account completes an order of a preset type, the server updates the completion status of the entitlement task based on the amount of resources consumed by the order.
[0237] Among them, the preset type of order is a catering order. Completing an order means that the order is in a completed state rather than in transit. Of course, this preset type can also be set by technicians according to actual situations, and the embodiments of this application do not limit this. Since the completion status of the rights and interests task is related to the amount of resources consumed, the completion status of the rights and interests task can be updated based on the amount of resources consumed by the order. Updating the completion status of the rights and interests task based on the amount of resources consumed by the order is also referred to as increasing the task progress of the forward transaction information.
[0238] Taking the rights and interests task of consuming a preset amount of resources within a preset duration as an example, consuming virtual resources to place a preset type of order can increase the completion progress of this rights and interests task.
[0239] In some embodiments, in the case where there is a virtual resource rollback for a preset type of order, the server updates the completion status of the rights and interests task based on the amount of rolled-back resources.
[0240] Among them, virtual resource rollback includes the full-order rollback and partial rollback of the resources consumed by the order. Since the completion status of the rights and interests task is related to the amount of resources consumed, in the case of virtual resource rollback, the server can update the completion status of the rights and interests task according to the actual situation to ensure the authenticity of the completion status of the rights and interests task. Updating the completion status of the rights and interests task based on the amount of rolled-back resources is also referred to as deducting the task progress of the reverse transaction information.
[0241] In some embodiments, the target rights and interests include multiple sub-rights and interests. The server updates the usage progress of the target rights and interests based on the usage and rollback situations of the sub-rights and interests.
[0242] For example, referring to Figure 14 , when the rights and interests task is enabled, the server obtains the forward transaction information of the preset type of order and advances the task completion progress based on the forward transaction information. The server obtains the reverse transaction information of the preset type of order and rolls back the task completion progress based on the reverse transaction information. Correspondingly, when the rights and interests task is enabled, the server generates an equity account for the target account and pre-issues the target rights and interests in this equity account. The server obtains the information on using the target rights and interests and the information on rolling back the target rights and interests.
[0243] S1330, in response to the termination of the rights and interests task, the server determines the completion status of the rights and interests task corresponding to the target account and the usage situation of the target rights and interests.
[0244] In a possible implementation, in response to the termination of the rights and interests task, the server queries the use of rights and interests based on the target account, and obtains the usage situation of the target rights and interests corresponding to the target account. The server checks the first completion situation of the rights and interests task stored with the second completion situation of the rights and interests task of the target account stored by the payment platform, and obtains the completion situation of the rights and interests task of the target account.
[0245] Among them, when the target account consumes virtual resources, it is achieved through the payment platform. Therefore, the total amount of virtual resources consumed by the target account during the execution of the rights and interests task period is recorded on the payment platform. This total amount of virtual resources can represent the completion situation of the rights and interests task, that is, the second completion situation of the rights and interests task. The target rights and interests are issued by the server, and the use of the target rights and interests and the execution of the rights and interests task both require passing through the server. Therefore, the usage situation of the target rights and interests and the first completion situation of the rights and interests task are stored on the server.
[0246] In this implementation, in response to the termination of the rights and interests task, the usage situation of the target rights and interests can be directly obtained. The first completion situation of the rights and interests task stored is compared with the second completion situation of the rights and interests task stored by the payment platform to obtain the completion situation of the rights and interests task of the target account, ensuring the authenticity of the usage situation of the target rights and interests and the completion situation of the rights and interests task.
[0247] For example, in response to the termination of the rights and interests task, the server queries the use of rights and interests based on the target account, and obtains the usage situation of the target rights and interests corresponding to the target account. The server obtains the second completion situation of the target rights and interests from the payment platform. The server checks the first completion situation with the second completion situation. When the first completion situation is the same as the second completion situation, the server determines the first completion situation or the second completion situation as the completion situation of the rights and interests task. When the first completion situation is different from the second completion situation, the server sends an error correction request to the payment platform. This verification request is used to request error correction for the first completion situation and the second completion situation. The payment platform receives the error correction request and, in response to the error correction request, corrects the first completion situation and the second completion situation to obtain the target completion situation of the rights and interests task of the target account. The payment platform sends the target completion situation to the server, and the server determines the target completion situation as the completion situation of the rights and interests task of the target account.
[0248] S1340, the server determines the resource recovery information of the target account based on the completion situation of the rights and interests task and the usage situation of the target rights and interests.
[0249] In a possible implementation, when the rights and interests task is completed, the server determines that the resource recovery information of the target account is the first resource recovery information, and the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered.
[0250] In a possible implementation, when the rights and interests task is not completed, the server determines the amount of resources to be recovered from the target account based on the usage of the target rights and interests. The server determines the second resource recovery information of the target account based on the amount of resources recovered from the target account.
[0251] Taking the usage progress of the target rights and interests as an example of the usage of the target rights and interests, when the rights and interests task is not completed, the server determines the amount of resources to be recovered from the target account based on the usage progress of the target rights and interests. The server determines the second resource recovery information of the target account based on the amount of resources recovered from the target account.
[0252] For example, the target rights and interests include multiple sub-rights and interests, and each sub-rights and interests corresponds to an amount of resources. When the rights and interests task is not completed, the server determines at least one used sub-rights and interests in the target rights and interests, and determines the amount of resources to be recovered from the target account based on the amount of resources corresponding to the at least one sub-rights and interests, that is, the server accumulates the amount of resources corresponding to the at least one used sub-rights and interests in the target rights and interests to obtain the amount of resources to be recovered from the target account. For example, the target rights and interests is a 100-yuan red envelope, the target rights and interests include 5 sub-rights and interests, and each sub-rights and interests is a 20-yuan red envelope. When the target account has used 3 sub-rights and interests, that is, a total of 60 yuan of red envelopes and the rights and interests task is not completed, the amount of resources to be recovered from the target account is also 60 yuan. The server determines the second resource recovery information of the target account based on the amount of resources recovered from the target account.
[0253] After S1340, the server can either execute S1350 below or execute S1360 below, and the embodiments of the present application do not make any limitations in this regard.
[0254] S1350, the server sends the resource recovery information to the terminal so that the terminal displays the resource recovery information.
[0255] S1360, the server recovers virtual resources from the target account based on the resource recovery information.
[0256] In a possible implementation, the server performs asynchronous polling deductions on the target account through a payment platform based on the resource recovery information to recover virtual resources from the target account.
[0257] For example, see Figure 15, in response to the termination of the entitlement task, the server determines whether the settlement of the entitlement task is completed. Completing the settlement means determining the resource recovery information. When the settlement of the entitlement task is completed, the server determines whether the entitlement task is completed. If the entitlement task is completed, the settlement is completed and virtual resources are not recovered from the target account. If the entitlement task is not completed, the settlement is completed and virtual resources are recovered from the target account based on the settlement situation. When the virtual resources are successfully recovered, the resource reflux is achieved. When the settlement of the entitlement task is not completed, the server continues to obtain the order information of the target account and determines the resource recovery information based on the order information.
[0258] Through the technical solution provided by the embodiments of the present application, in response to a request for receiving an entitlement task, a target entitlement is pre-granted to a target account. The target entitlement is used to reduce the amount of resources consumed when placing an order, that is, the target entitlement is pre-granted without completing the entitlement task, thereby motivating users to place orders. In response to the termination of the entitlement task, the completion status of the entitlement task corresponding to the target account and the usage status of the target entitlement are determined. Based on the task completion status and the usage status, the resource recovery information of the target account is determined, thereby achieving the purpose of motivating users to place orders. In addition, pre-granting the target entitlement also improves the efficiency of entitlement granting and the user experience.
[0259] Figure 16 is a schematic structural diagram of an entitlement granting device provided by the embodiments of the present application. Refer to Figure 16 , the device includes: a task display interface display module 1601, a verification result acquisition module 1602, an entitlement display module 1603, and a resource recovery information display module 1604.
[0260] The task display interface display module 1601 is used to display a task display interface of the target entitlement. The task display interface is used to display the entitlement task required to receive the target entitlement. The target entitlement is used to reduce the amount of resources consumed when placing an order.
[0261] The verification result acquisition module 1602 is used to, in response to a task receiving operation on the task display interface, acquire a permission verification result of the target account. The permission verification result is determined based on at least one of the account identifier and location information of the target account. The permission verification result is used to indicate whether the target account has the entitlement receiving permission.
[0262] The entitlement display module 1603 is used to, in response to the permission verification result indicating that the target account has the entitlement receiving permission, display the target entitlement pre-granted to the target account.
[0263] A resource recovery information display module 1604, configured to display the resource recovery information of the target account in response to the termination of the rights and interests task, where the resource recovery information is determined based on the completion status of the rights and interests task corresponding to the target account and the usage status of the target rights and interests.
[0264] In a possible implementation manner, the verification result acquisition module 1602 is configured to send a request to receive the rights and interests task to the server in response to a task receiving operation on the task display interface, where the receiving request carries at least one of the account identifier and location information of the target account. And obtain a permission verification result from the server.
[0265] In a possible implementation manner, the rights and interests display module 1603 is configured to display a protocol display pop-up window on the task display interface in response to the permission verification result indicating that the target account has the right to receive rights and interests, where the protocol display pop-up window is used to display the user protocol corresponding to the target rights and interests. In response to a protocol confirmation operation on the protocol display pop-up window, display the target rights and interests pre-granted to the target account.
[0266] In a possible implementation manner, the rights and interests display module 1603 is configured to display a resource authorization interface of the target account in response to a protocol confirmation operation on the protocol display pop-up window, where the resource authorization interface is used to request permission to recover virtual resources when the rights and interests task is not completed. In response to a permission confirmation operation on the resource authorization interface, display the target rights and interests pre-granted to the target account.
[0267] In a possible implementation manner, the rights and interests display module 1603 is configured to determine the credit information of the target account in response to a permission confirmation operation on the resource authorization interface. When the credit information meets the preset credit conditions, display the target rights and interests pre-granted to the target account.
[0268] In a possible implementation manner, the rights and interests display module 1603 is configured to display the task display interface and display a rights and interests receiving pop-up window on the task display interface when the credit information meets the preset credit conditions, and the target rights and interests are displayed in the rights and interests receiving pop-up window.
[0269] In a possible implementation manner, the device further includes:
[0270] An authorization failure prompt display module, configured to display the task display interface and display an authorization failure prompt on the task display interface when the credit information does not meet the preset credit conditions, where the authorization failure prompt is used to indicate that the credit information does not meet the preset credit conditions.
[0271] In a possible implementation manner, the device further includes:
[0272] The rights and interests collection failure prompt display module is used to respond to the permission verification result indicating that the target account does not have the right to collect rights and interests, and the terminal displays a rights and interests collection failure prompt, which carries the reason why the target account does not have the right to collect the rights and interests.
[0273] In a possible implementation manner, the rights and interests display module 1603 is used to respond to a task collection operation on the task display interface, and determine whether there is a logged-in account. In the case where the target account exists, obtain the permission verification result of the target account.
[0274] In a possible implementation manner, the device further includes:
[0275] The login pop-up window display module is used to display an account login pop-up window for logging in to an account in the case where there is no logged-in account.
[0276] In a possible implementation manner, the resource recovery information display module 1604 is used to perform any one of the following:
[0277] In response to the termination of the rights and interests task and the completion of the rights and interests task, display the first resource recovery information of the target account, where the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered.
[0278] In response to the termination of the rights and interests task and the non-completion of the rights and interests task, display the second resource recovery information of the target account, where the second resource recovery information carries the amount of resources recovered by the target account, and the amount of resources recovered by the target account is determined based on the usage of the target rights and interests.
[0279] In a possible implementation manner, the device further includes a progress display module, which is used to perform any one of the following:
[0280] In response to the non-termination of the rights and interests task, display the completion progress of the rights and interests task and / or the usage progress of the target rights and interests.
[0281] In a possible implementation manner, the device further includes:
[0282] The task termination module is used to, in the case where the rights and interests task is not terminated, respond to a termination operation on the rights and interests task, and display a termination confirmation pop-up window. In response to a confirmation operation on the termination confirmation pop-up window, display a task termination prompt, where the task termination prompt is used to indicate the termination of the rights and interests task.
[0283] It should be noted that when the rights and interests distribution device provided in the above embodiments distributes rights and interests, only the division of the above functional modules is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the rights and interests distribution device provided in the above embodiments and the embodiments of the rights and interests distribution method belong to the same concept. For the specific implementation process, please refer to the method embodiments and will not be elaborated here.
[0284] Through the technical solution provided by the embodiments of the present application, a task display interface for a target right and interest is displayed. The task display interface is used to display the rights and interests tasks required to receive the target right and interest, and the target right and interest is used to reduce the amount of resources consumed when placing an order. In response to a task receiving operation on the task display interface, the target right and interest pre-distributed to the target account is displayed, that is, the target right and interest is pre-distributed without completing the rights and interests tasks, thereby motivating users to place orders. In response to the termination of the rights and interests task, the resource recovery information of the target account is displayed. The resource recovery information is determined based on the completion status of the rights and interests task corresponding to the target account and the usage status of the target right and interest, serving the purpose of motivating users to place orders. In addition, pre-distributing the target right and interest also improves the efficiency of rights and interests distribution and the user experience.
[0285] Figure 17 is a schematic structural diagram of a rights and interests distribution device provided by an embodiment of the present application. Refer to Figure 17 , the device includes: a verification result determination module 1701, a rights and interests distribution module 1702, a situation determination module 1703, and a resource recovery information determination module 1704.
[0286] The verification result determination module 1701 is configured to, in response to a request for receiving a rights and interests task, determine a permission verification result of the target account based on at least one of the account identifier and location information of the target account, and the permission verification result is used to indicate whether the target account has the right to receive rights and interests;
[0287] The rights and interests distribution module 1702 is configured to, in response to the permission verification result indicating that the target account has the right to receive rights and interests, pre-distribute a target right and interest to the target account. The rights and interests task is the rights and interests task required to receive the target right and interest, and the target right and interest is used to reduce the amount of resources consumed when placing an order;
[0288] The situation determination module 1703 is configured to, in response to the termination of the rights and interests task, determine the completion status of the rights and interests task corresponding to the target account and the usage status of the target right and interest;
[0289] A resource recovery information determination module 1704, configured to determine resource recovery information of the target account based on the completion status of the rights and interests task and the usage status of the target rights and interests.
[0290] In a possible implementation manner, the verification result determination module 1701 is configured to determine that the target account has the right to receive the rights and interests when the account identifier is a preset account identifier and / or the location information is preset location information. When the account identifier is not the preset account identifier or the location information is not the preset location information, it is determined that the target account does not have the right to receive the rights and interests.
[0291] In a possible implementation manner, the rights and interests distribution module 1701 is configured to, in response to the permission verification result indicating that the target account has the right to receive the rights and interests, send the user agreement corresponding to the target rights and interests to the login terminal of the target account, so that the terminal displays a protocol display pop-up window on the task display interface. In response to a protocol confirmation instruction for the user agreement, pre-distribute the target rights and interests to the target account.
[0292] In a possible implementation manner, the rights and interests distribution module 1702 is configured to, in response to a protocol confirmation instruction for the user agreement, determine the credit information of the target account. When the credit information meets the preset credit conditions, pre-distribute the target rights and interests to the target account.
[0293] In a possible implementation manner, the situation determination module 1703 is configured to, in response to the termination of the rights and interests task, query the usage of the rights and interests based on the target account to obtain the usage status of the target rights and interests corresponding to the target account. Compare the first completion status of the rights and interests task stored with the second completion status of the rights and interests task of the target account stored in the payment platform to obtain the completion status of the rights and interests task of the target account.
[0294] In a possible implementation manner, the resource recovery information determination module 1704 is configured to perform any one of the following:
[0295] When the rights and interests task is completed, determine that the resource recovery information of the target account is the first resource recovery information, and the first resource recovery information is used to indicate that the virtual resources of the target account do not need to be recovered.
[0296] When the rights and interests task is not completed, determine the amount of resources recovered by the target account based on the usage status of the target rights and interests. Based on the amount of resources recovered by the target account, determine the second resource recovery information of the target account.
[0297] In a possible implementation manner, the device further includes:
[0298] An update module, configured to update the completion status of the rights and interests task based on the amount of resources consumed by the order when the target account completes an order of a preset type.
[0299] It should be noted that when the rights and interests distribution device provided in the above embodiment distributes rights and interests, only the division of the above functional modules is used for illustration. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the rights and interests distribution device provided in the above embodiment and the embodiment of the rights and interests distribution method belong to the same concept. For the specific implementation process, please refer to the method embodiment, which will not be elaborated here.
[0300] Through the technical solution provided in the embodiment of the present application, in response to a request for receiving a rights and interests task, a target right and interest is pre-distributed to a target account. The target right and interest is used to reduce the amount of resources consumed when placing an order, that is, the target right and interest is pre-distributed without completing the rights and interests task, thereby motivating users to place orders. In response to the termination of the rights and interests task, the completion status of the rights and interests task corresponding to the target account and the usage status of the target right and interest are determined. Based on the task completion status and the usage status, the resource recovery information of the target account is determined, thereby achieving the purpose of motivating users to place orders. In addition, pre-distributing the target right and interest also improves the efficiency of rights and interests distribution and the user experience.
[0301] The embodiment of the present application provides a computer device for executing the above method. The computer device can be implemented as a terminal or a server. First, the structure of the terminal will be introduced below:
[0302] Figure 18 It is a schematic structural diagram of a terminal provided in the embodiment of the present application. The terminal 1800 can be: a smart phone, a tablet computer, a notebook computer or a desktop computer. The terminal 1800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
[0303] Generally, the terminal 1800 includes: one or more processors 1801 and one or more memories 1802.
[0304] The processor 1801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), or PLA (Programmable Logic Array). The processor 1801 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the wake state, also known as the CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1801 may be integrated with a GPU (Graphics Processing Unit), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1801 may further include an AI (Artificial Intelligence) processor, and the AI processor is used to process computational operations related to machine learning.
[0305] The memory 1802 may include one or more computer-readable storage media, and the computer-readable storage media may be non-transitory. The memory 1802 may further include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1802 is used to store at least one computer program, and the at least one computer program is used to be executed by the processor 1801 to implement the rights and interests distribution method provided in the method embodiments of the present application.
[0306] In some embodiments, the terminal 1800 may further optionally include: a peripheral device interface 1803 and at least one peripheral device. The processor 1801, the memory 1802, and the peripheral device interface 1803 may be connected through a bus or signal lines. Each peripheral device may be connected to the peripheral device interface 1803 through a bus, signal lines, or a circuit board. Specifically, the peripheral devices include at least one of a radio frequency circuit 1804, a display screen 1805, a camera assembly 1806, an audio circuit 1807, and a power supply 1808.
[0307] The peripheral device interface 1803 can be used to connect at least one I / O (Input / Output) related peripheral device to the processor 1801 and the memory 1802. In some embodiments, the processor 1801, the memory 1802, and the peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1801, the memory 1802, and the peripheral device interface 1803 can be implemented on a separate chip or circuit board, and this embodiment does not limit this.
[0308] The radio frequency circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1804 communicates with a communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1804 converts an electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, and so on.
[0309] The display screen 1805 is used to display a UI (User Interface). The UI can include graphics, text, icons, videos, and any combination thereof. When the display screen 1805 is a touch display screen, the display screen 1805 also has the ability to collect touch signals on or above the surface of the display screen 1805. The touch signal can be input to the processor 1801 as a control signal for processing. At this time, the display screen 1805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard.
[0310] The camera assembly 1806 is used to collect images or videos. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Generally, the front camera is set on the front panel of the terminal, and the rear camera is set on the back of the terminal.
[0311] The audio circuit 1807 can include a microphone and a speaker. The microphone is used to collect sound waves of the user and the environment, and convert the sound waves into electrical signals and input them to the processor 1801 for processing, or input them to the radio frequency circuit 1804 to achieve voice communication.
[0312] The power supply 1808 is used to supply power to each component in the terminal 1800. The power supply 1808 can be alternating current, direct current, a disposable battery, or a rechargeable battery.
[0313] In some embodiments, the terminal 1800 further includes one or more sensors 1809. The one or more sensors 1809 include, but are not limited to: an acceleration sensor 1810, a gyroscope sensor 1811, a pressure sensor 1812, an optical sensor 1813, and a proximity sensor 1814.
[0314] The acceleration sensor 1810 can detect the magnitudes of accelerations on the three coordinate axes of the coordinate system established with the terminal 1800.
[0315] The gyroscope sensor 1811 can detect the body direction and rotation angle of the terminal 1800. The gyroscope sensor 1811 can cooperate with the acceleration sensor 1810 to collect the 3D actions of the user on the terminal 1800.
[0316] The pressure sensor 1812 can be disposed on the side frame of the terminal 1800 and / or the lower layer of the display screen 1805. When the pressure sensor 1812 is disposed on the side frame of the terminal 1800, it can detect the holding signal of the user on the terminal 1800, and the processor 1801 can perform left / right hand recognition or quick operation according to the holding signal collected by the pressure sensor 1812. When the pressure sensor 1812 is disposed on the lower layer of the display screen 1805, the processor 1801 can control the operable controls on the UI interface according to the pressure operation of the user on the display screen 1805.
[0317] The optical sensor 1813 is used to collect the ambient light intensity. In one embodiment, the processor 1801 can control the display brightness of the display screen 1805 according to the ambient light intensity collected by the optical sensor 1813.
[0318] The proximity sensor 1814 is used to collect the distance between the user and the front of the terminal 1800.
[0319] Those skilled in the art can understand that Figure 18 the structure shown in does not constitute a limitation on the terminal 1800, and it may include more or fewer components than shown in the figure, or combine certain components, or adopt different component arrangements.
[0320] The above computer device can also be implemented as a server. The structure of the server will be introduced below:
[0321] Figure 19It is a schematic structural diagram of a server provided by an embodiment of the present application. The server 1900 may vary greatly due to different configurations or performances, and may include one or more processors (Central Processing Units, CPUs) 1901 and one or more memories 1902. Among them, at least one computer program is stored in the one or more memories 1902, and the at least one computer program is loaded and executed by the one or more processors 1901 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server 1900 may also have components such as wired or wireless network interfaces, keyboards, and input / output interfaces for input / output. The server 1900 may also include other components for implementing the functions of the device, which will not be elaborated here.
[0322] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including a computer program. The above computer program can be executed by a processor to complete the rights and interests distribution method in the above embodiment. For example, the computer-readable storage medium can be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0323] In an exemplary embodiment, a computer program product or a computer program is also provided. The computer program product or the computer program includes program code, and the program code is stored in a computer-readable storage medium. The processor of the computer device reads the program code from the computer-readable storage medium, and the processor executes the program code, so that the computer device executes the above rights and interests distribution method.
[0324] In some embodiments, the computer program involved in the embodiments of the present application can be deployed to be executed on one computer device, or on multiple computer devices located at one place. Or, it can be executed on multiple computer devices distributed at multiple places and interconnected through a communication network. The multiple computer devices distributed at multiple places and interconnected through a communication network can form a blockchain system.
[0325] Those of ordinary skill in the art can understand that all or part of the steps to implement the above embodiments can be completed by hardware, or can be completed by a program instructing relevant hardware. The program can be stored in a computer-readable storage medium, and the above-mentioned storage medium can be a read-only memory, a disk, or an optical disc, etc.
[0326] The above are only alternative embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application shall be included within the protection scope of the present application.
Claims
1. A method for issuing rights and interests, characterized in that, the method includes: displaying a task display interface for a target right and interest, where the task display interface is used to display the right and interest tasks required to receive the target right and interest, and the target right and interest is used to reduce the amount of resources consumed when placing an order; responding to a task receiving operation on the task display interface, obtaining an authority verification result of a target account, where the authority verification result is determined based on at least one of the account identifier and location information of the target account, and the authority verification result is used to indicate whether the target account has the right and interest receiving authority; responding to the authority verification result indicating that the target account has the right and interest receiving authority, displaying the target right and interest pre-issued to the target account; responding to the termination of the right and interest task, displaying resource recovery information of the target account, where the resource recovery information is determined based on the completion situation of the right and interest task corresponding to the target account and the usage situation of the target right and interest.
2. The method according to claim 1, characterized in that, the obtaining an authority verification result of a target account in response to a task receiving operation on the task display interface includes: responding to a task receiving operation on the task display interface, sending a receiving request for the right and interest task to a server, where the receiving request carries at least one of the account identifier and location information of the target account; obtaining an authority verification result from the server.
3. The method according to claim 1, characterized in that, the method further includes: responding to the authority verification result indicating that the target account does not have the right and interest receiving authority, the terminal displays a right and interest receiving failure prompt, and the right and interest receiving failure prompt carries the reason why the target account does not have the right and interest receiving authority.
4. The method according to claim 1, characterized in that, the obtaining an authority verification result of a target account in response to a task receiving operation on the task display interface includes: responding to a task receiving operation on the task display interface, determining whether there is a logged-in account; in the case where the target account exists, obtaining an authority verification result of the target account.
5. The method according to claim 4, characterized in that, the method further includes: in the case where there is no logged-in account, displaying an account login pop-up window for logging in to an account.
6. A method for issuing rights and interests, characterized in that, the method includes: responding to a receiving request for a right and interest task, determining an authority verification result of the target account based on at least one of the account identifier and location information of the target account, where the authority verification result is used to indicate whether the target account has the right and interest receiving authority; responding to the authority verification result indicating that the target account has the right and interest receiving authority, pre-issuing a target right and interest to the target account, where the right and interest task is the right and interest task required to receive the target right and interest, and the target right and interest is used to reduce the amount of resources consumed when placing an order; responding to the termination of the right and interest task, determining the completion situation of the right and interest task corresponding to the target account and the usage situation of the target right and interest. Determine the resource recovery information of the target account based on the completion status of the entitlement task and the usage of the target entitlement.
7. An entitlement granting device, characterized in that, the device includes: A task display interface display module, configured to display a task display interface of a target entitlement, where the task display interface is used to display the entitlement task required to receive the target entitlement, and the target entitlement is used to reduce the amount of resources consumed when placing an order; A verification result acquisition module, configured to, in response to a task receiving operation on the task display interface, acquire the permission verification result of the target account, where the permission verification result is determined based on at least one of the account identifier and location information of the target account, and the permission verification result is used to indicate whether the target account has the entitlement receiving permission; An entitlement display module, configured to, in response to the permission verification result indicating that the target account has the entitlement receiving permission, display the target entitlement pre-granted to the target account; A resource recovery information display module, configured to, in response to the termination of the entitlement task, display the resource recovery information of the target account, where the resource recovery information is determined based on the completion status of the entitlement task corresponding to the target account and the usage of the target entitlement.
8. An entitlement granting device, characterized in that, the device includes: A verification result determination module, configured to, in response to a receiving request for an entitlement task, determine the permission verification result of the target account based on at least one of the account identifier and location information of the target account, where the permission verification result is used to indicate whether the target account has the entitlement receiving permission; An entitlement granting module, configured to, in response to the permission verification result indicating that the target account has the entitlement receiving permission, pre-grant a target entitlement to the target account, where the entitlement task is the entitlement task required to receive the target entitlement, and the target entitlement is used to reduce the amount of resources consumed when placing an order; A situation determination module, configured to, in response to the termination of the entitlement task, determine the completion status of the entitlement task corresponding to the target account and the usage of the target entitlement; A resource recovery information determination module, configured to determine the resource recovery information of the target account based on the completion status of the entitlement task and the usage of the target entitlement.
9. A computer device, characterized in that, the computer device includes one or more processors and one or more memories, and at least one computer program is stored in the one or more memories, and the computer program is loaded and executed by the one or more processors to implement the entitlement granting method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to implement the entitlement granting method according to any one of claims 1 to 6.