Reward resource issuing method and device, electronic equipment and readable storage medium
By obtaining and displaying the fusion identification information of tasks on the client, determining the task module and completing the task, combining device and user information verification, the flexibility, scalability and security of the existing reward resource distribution methods are solved, and rewards are realized Accurate and safe distribution of resources.
Patent Information
- Application Number
- CN202411017053.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-26
AI Technical Summary
The existing methods of issuing reward resources are based on specific tasks, lack flexibility and scalability, and are difficult to ensure the accuracy and security of reward resources, and are easily fetched by maliciously.
By generating task acquisition requests on the client, obtaining and displaying the fusion identification information of multiple tasks, the user clicks on the task to determine the task module, and after completing the task, sending the task information to the server to distribute reward resources, and verifying it with the device and user information. to ensure the accuracy and security of distribution.
It improves the flexibility and scalability of the issuance of reward resources, enhances the accuracy and security of issuance, and avoids the risk of tasks being maliciously fetched.
Smart Images

Figure CN119027180A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, in particular to the field of artificial intelligence technology such as big data and cloud services. A method, device, electronic device and readable storage medium for issuing reward resources are provided. Background Art
[0002] With the rapid development of Internet technology, terminals can integrate more and more functions, resulting in an endless stream of applications (Application, APP) applied to terminals. Usually, these applications can adopt some reward strategies for users in order to improve user retention rate and user active time.
[0003] Existing methods for issuing reward resources are all based on specific tasks. When a user completes certain tasks in an application, certain reward resources will be issued to the user. Summary of the invention
[0004] According to a first aspect of the present disclosure, a method for issuing reward resources is provided, which is applied to a first client, and includes: in response to detecting that a user enters a target page, generating a first task acquisition request; sending the first task acquisition request to a server side, so that the server side obtains multiple first tasks and fusion identification information of the multiple first tasks according to the first task acquisition request; in response to receiving the multiple first tasks and the fusion identification information of the multiple first tasks returned by the server side, displaying the multiple first tasks in the target page; in response to detecting that the user clicks on the first task in the target page, determining a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task; after calling the first task module to complete the target first task, sending the target task information to the server side, so that the server side issues reward resources to the user according to the target task information.
[0005] According to a second aspect of the present disclosure, a method for issuing reward resources is provided, which is applied to a server side, comprising: in response to receiving a first task acquisition request sent by a first client, obtaining multiple first tasks; generating fusion identification information of the multiple first tasks based on task identification information of the multiple first tasks and first user information; sending the multiple first tasks and the fusion identification information of the multiple first tasks to the first client, so that the first client can determine a first task module; in response to receiving target task information sent by the first client, issuing reward resources to the user according to the target task information
[0006] According to a third aspect of the present disclosure, there is provided a device for issuing reward resources, which is located at a first client and includes: a generating unit for generating a first task acquisition request in response to detecting that a user enters a target page; a first sending unit for sending the first task acquisition request to a server side, so that the server side acquires a plurality of first tasks and fusion identification information of the plurality of first tasks according to the first task acquisition request; a display unit for displaying the plurality of first tasks in the target page in response to receiving the plurality of first tasks and fusion identification information of the plurality of first tasks returned by the server side; a first processing unit for determining a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task in response to detecting that the user clicks on the first task in the target page; and a calling unit for sending the target task information to the server side after calling the first task module to complete the target first task, so that the server side issues reward resources to the user according to the target task information.
[0007] According to a fourth aspect of the present disclosure, a device for issuing reward resources is provided, which is located on a server side and includes: a first acquisition unit, used to acquire multiple first tasks in response to receiving a first task acquisition request sent by a first client; a second processing unit, used to generate fusion identification information of the multiple first tasks based on the task identification information of the multiple first tasks and the first user information; a third sending unit, used to send the multiple first tasks and the fusion identification information of the multiple first tasks to the first client, so that the first client can determine the first task module; and a issuing unit, used to issue reward resources to the user according to the target task information in response to receiving the target task information sent by the first client.
[0008] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method as described above.
[0009] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause the computer to execute the method as described above.
[0010] According to a seventh aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the method as described above when executed by a processor.
[0011] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0013] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;
[0014] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;
[0015] Figure 3 is a schematic diagram according to a third embodiment of the present disclosure;
[0016] Figure 4 is a schematic diagram according to a fourth embodiment of the present disclosure;
[0017] Figure 5 is a schematic diagram according to a fifth embodiment of the present disclosure;
[0018] Figure 6 is a schematic diagram according to a sixth embodiment of the present disclosure;
[0019] Figure 7 It is a block diagram of an electronic device used to implement the method for issuing reward resources according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and mechanisms is omitted in the following description.
[0021] Figure 1 Schematic diagram of the first embodiment of the present disclosure. Figure 1 As shown, the method for issuing reward resources in this embodiment is applied to the first client and specifically includes the following steps:
[0022] S101, in response to detecting that a user enters a target page, generating a first task acquisition request;
[0023] S102, sending the first task acquisition request to a server, so that the server acquires a plurality of first tasks and fusion identification information of the plurality of first tasks according to the first task acquisition request;
[0024] S103, in response to receiving the plurality of first tasks and the fusion identification information of the plurality of first tasks returned by the server, displaying the plurality of first tasks on the target page;
[0025] S104, in response to detecting that the user clicks on the first task in the target page, determining a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task;
[0026] S105. After calling the first task module to complete the target first task, the target task information is sent to the server, so that the server distributes reward resources to the user according to the target task information.
[0027] The executor of the reward resource distribution method of this embodiment is the first client. On the one hand, task modules corresponding to different tasks are pre-set in the first client, and the target first task is completed by calling the first task module, which can improve the flexibility of task execution when distributing reward resources to users. In the case of subsequent new tasks, it is only necessary to set the corresponding task module in the first client, thereby improving the scalability of tasks when distributing reward resources to users. On the other hand, the first client obtains the first task and its corresponding fusion identification information by interacting with the server, which can improve the accuracy of the first task module determined according to the target fusion identification information, thereby improving the accuracy of the distribution of reward resources.
[0028] The first client in this embodiment is an application (Application, APP); the target page in this embodiment is a page in the first client specifically used to distribute reward resources to users, and the user can enter the target page by clicking a corresponding button; the reward resources in this embodiment include point resources, coupon resources, red envelope resources, virtual props resources, etc.
[0029] This embodiment executes the first task acquisition request generated by S101, which is used to obtain the first task displayed in the target page of the client and the fusion identification information of the first task from the server; the first task acquisition request includes first user information reflecting the user identity (such as the user's UID), and the first user information is used by the server to generate the fusion identification information.
[0030] In this embodiment, after executing S101 to generate the first task acquisition request, executing S102 to send the first task request to the server.
[0031] In order to improve the accuracy of the acquired first task, this embodiment may further acquire activity type information when executing S102, and then send the acquired activity type information together with the first task acquisition request to the server, so that the server acquires multiple first tasks according to the activity type information.
[0032] The activity type information obtained by executing S102 in this embodiment is used to reflect which activity the first task obtained from the server corresponds to, such as daily activities, New Year activities, etc.
[0033] After executing S102 to send the first task acquisition request to the server, this embodiment executes S103 to display the multiple first tasks on the target page in response to receiving the multiple first tasks and the fusion identification information of the multiple first tasks returned by the server.
[0034] That is to say, the first client of this embodiment obtains the first task to be displayed in the target page in real time by interacting with the server, which can improve the timeliness of the first task.
[0035] After executing S103 to display multiple first tasks in the target page, this embodiment executes S104, in response to detecting that the user clicks on the first task in the target page, to determine the first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task.
[0036] In this embodiment, the target fusion identification information is the fusion identification information corresponding to the target first task, and the first task module is the task module corresponding to the target first task in the first client.
[0037] When executing S104 and determining the first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task, this embodiment can adopt the following implementation method: obtaining a task list, which includes multiple fusion identification information and multiple task information corresponding to the multiple fusion identification information; obtaining task information corresponding to the target fusion identification information from the task list as the target task information; and using the task module corresponding to the target task information as the first task module.
[0038] That is to say, the first client in this embodiment determines the first task module based on the target task information corresponding to the target fusion identification information, thereby making full use of the correspondence between the existing task information and the task module, without the need to reconstruct the correspondence between the fusion identification information and the task module.
[0039] In this embodiment, task information includes identification information (such as user identification information (used to reflect user identity, which may be the same as or different from the first user information) and task identification information, and the task identification information of different tasks is unique), activity type information (such as daily activities or New Year activities), task behavior (that is, what specific behaviors the task is to complete, such as page jump behavior, behavior of performing operations after page jump, behavior of performing operations in other clients), task completeability status (for example, whether the task is completed automatically or requires manual triggering by the user to complete), the number of times the task can be completed, special task identification (used in special scenarios, such as cooperating with other clients to complete the task), task reward information (that is, what kind of reward is issued to the user after completing the task, and information such as the quantity, value, and number of days of the reward issued), etc.
[0040] In this embodiment, when executing S104, the first client may obtain the task list locally, that is, the task list is obtained by the first client before obtaining the first task, for example, when the user opens the first client, the first client obtains the task list through the server.
[0041] In addition, when executing S104 to obtain the task list, the present embodiment can adopt the following implementation method: generate a second task acquisition request; send the generated second task acquisition request to the server side, so that the server side obtains the task information and fusion identification information of multiple second tasks according to the second task acquisition request; generate a task list according to the task information and fusion identification information of the multiple second tasks returned by the server side, that is, use the fusion identification information as the key and the task information as the value.
[0042] In this embodiment, the second task acquisition request includes second user information, and the second user information includes first user information and tag information for reflecting user interests.
[0043] In this embodiment, after the user starts the first client, the first client will register the task module according to the task information. Different tasks correspond to different task modules, such as a task module corresponding to a page jump task, a task module corresponding to a task of browsing the home page for 30 seconds, a task module corresponding to a task of uploading a file, etc.; after completing the registration of the task module, the first client in this embodiment can call the registered task module to complete the corresponding task.
[0044] When executing S104 in this embodiment, the task module corresponding to the task identification information in the target task information may be used as the first task module.
[0045] In this embodiment, after executing S104 to determine the first task module, executing S105 to call the first task module to complete the target first task, the target task information is sent to the server side, so that the server side can issue reward resources to the user according to the target task information.
[0046] When executing S105 to call the first task module to complete the target first task, this embodiment can call the first task module to jump to the page, thereby completing the target first task; or the first task module can be called to start the task listener to monitor the user's behavior after jumping to the corresponding page, and complete the target first task after monitoring the user to complete the corresponding operation (such as uploading files, browsing for 30 seconds, etc.).
[0047] When executing S105 to send the target task information to the server, this embodiment may also include the following contents: obtaining device information, such as the device ID and device model of the terminal device where the first client is located; generating first verification information based on the device information and the target user information. The target user information in this embodiment may be the first user information, the second user information, or the user identification information in the target task information; sending the target task information, the device information, the target user information and the first verification information to the server, so that after the server completes the verification based on the device information, the target user information and the first verification information, it can issue reward resources to the user based on the target task information.
[0048] That is to say, this embodiment generates the first verification information through the client, so that the server can perform verification based on the generated first verification information, and then distribute the reward resources, thereby avoiding the problem of malicious swiping of tasks and illegally obtaining reward resources, and can further improve the accuracy and security of the distribution of reward resources.
[0049] It is understandable that if the target user information in this embodiment is the user identification information in the target task information, when executing S105 in this embodiment, it is not necessary to send the target user information to the server side.
[0050] Figure 2 is a schematic diagram according to the second embodiment of the present disclosure. Figure 2 As shown, the method for issuing reward resources in this embodiment may also include the following contents:
[0051] S201, in response to determining that the target first task is a preset task according to the target task information, determining a second client according to the target task information;
[0052] S202: Send the target fusion identification information to the second client, so that after the second client is started, it calls a second task module determined according to the target fusion identification information to complete the target first task.
[0053] That is to say, the first client in this embodiment can also send the target fusion identification information to the second client when it is determined that the target first task needs to be completed by the second client, so that the second client can call the second task module corresponding to the target fusion identification information to complete the target first task, thereby realizing linkage between different clients and improving the scope of application when issuing reward resources.
[0054] When executing S201, this embodiment determines that the target first task needs to be completed on other clients based on the task behavior in the target task information, then the target first task is determined to be a preset task, and then the second client is determined based on the target task information; that is, the preset task in this embodiment is a task that needs to be completed on other clients.
[0055] When executing S202 in this embodiment, the first client can also generate a token or use the task special identifier in the target task information as a token, and send the token together with the target fusion identifier information to the second client, so that after completing the target first task, the second client sends the target task information together with the token to the server to issue reward resources.
[0056] In this embodiment, the second task module is the task module corresponding to the target first task in the second client.
[0057] The process of the second client determining the second task module according to the target fusion information in this embodiment is similar to the process of the first client determining the first task module according to the target fusion information in the above embodiment, and will not be described in detail here.
[0058] Similarly, when the second client is started, it will register the task module according to the task information, and different tasks correspond to different task modules; for example, if the target first task is to perform a page jump in the second client, this embodiment will use the task module corresponding to the page jump in the second client as the second task module.
[0059] Figure 3 is a schematic diagram according to the third embodiment of the present disclosure. Figure 3 As shown in , the reward resource distribution method of this embodiment is applied to the server side and specifically includes the following steps:
[0060] S301, in response to receiving a first task acquisition request sent by a first client, acquiring a plurality of first tasks;
[0061] S302, generating fusion identification information of the plurality of first tasks according to the task identification information of the plurality of first tasks and the first user information;
[0062] S303, sending the plurality of first tasks and fusion identification information of the plurality of first tasks to the first client, so that the first client can determine a first task module;
[0063] S304: In response to receiving the target task information sent by the first client, issuing reward resources to the user according to the target task information.
[0064] That is to say, the server of this embodiment achieves the purpose of issuing reward resources to the user by interacting with the first client, which can improve the accuracy of issuing reward resources.
[0065] When executing S301 , this embodiment may randomly obtain multiple tasks from the candidate tasks in the database as multiple first tasks.
[0066] When executing S301 to obtain multiple first tasks, this embodiment may also adopt the following method: receiving activity type information sent by the first client; and selecting tasks corresponding to the received activity type information from candidate tasks as the multiple first tasks.
[0067] That is to say, the server in this embodiment can acquire the first task according to the activity type information sent by the first client, so that the acquired first task corresponds to a specific activity type, thereby improving the accuracy of the acquired first task.
[0068] In this embodiment, when executing S302, if the first task acquisition request does not include the first user information, the server may send an information acquisition request to the first client to receive the first user information sent by the first client.
[0069] When executing S302 , this embodiment may use the MD5 algorithm to generate fusion identification information of the task according to the task identification information of the task and the first user information.
[0070] The server side in this embodiment can also perform the following contents: in response to receiving a second task acquisition request sent by the first client, obtain multiple second tasks and task information of multiple second tasks. In this embodiment, all tasks in the database can be used as second tasks; based on the task identification information of the multiple second tasks and the first user information, generate fusion identification information of the multiple second tasks; send the task information and the fusion identification information of the multiple second tasks to the first client, so that the first client can generate a task list based on the task information and the fusion identification information of the multiple second tasks.
[0071] When acquiring multiple second tasks, the server in this embodiment can also acquire the task corresponding to the tag information from the database as the second task based on the tag information included in the second user information in the second task acquisition request, that is, the second task is the task corresponding to the user's interest, which can further improve the accuracy of the acquired second task.
[0072] When executing S304 to issue reward resources to the user according to the target task information, the server in this embodiment may first determine the target account according to the user identification information in the target task information, and then issue corresponding reward resources to the target account according to the task reward information in the target task information.
[0073] In order to further improve the accuracy of the issuance of reward resources, this embodiment can also adopt the following implementation method when executing S304 to issue reward resources to users according to target task information: receiving device information, target user information and first verification information sent by the first client; generating second verification information based on the device information and the target user information; and issuing reward resources to the user according to the target task information when it is determined that the first verification information is the same as the second verification information.
[0074] That is to say, the server side of this embodiment determines whether to issue reward resources to the user by verifying the generated second verification information with the first verification information sent by the first client, which can improve the accuracy of the issuance of reward resources and avoid the problem of malicious swiping of tasks and illegally obtaining reward resources.
[0075] The server of this embodiment may also execute the following: in response to receiving the target task information sent by the second client, issuing reward resources to the user according to the target task information.
[0076] If the server side of this embodiment also receives the token sent by the second client, it can also verify the token before issuing reward resources, for example, determining whether the token is the same as the special task identifier in the target task information, or after sending a token acquisition request to the first client, determining whether the token returned by the first client is the same as the token sent by the second client, etc.
[0077] Figure 4 is a schematic diagram according to a fourth embodiment of the present disclosure. Figure 4The flowchart of issuing reward resources of this embodiment is shown in the figure: S401, after starting the first client, register the task module; S402, the first client obtains the task list according to the task information and fusion identification information of the second task returned by the server; S403, the first client generates first verification information according to the device information and the target user information, and sends the first verification information to the server; S404, after the first client detects that the user enters the target page, it obtains the second task returned by the server and displays it in the target page; S405, after the first client detects that the user clicks on the first task, according to the target fusion identification information of the clicked target first task, Obtain target task information; S406. The first client performs task verification according to the target task information, for example, verifying whether there is a task corresponding to the target task information; S407. When the first client determines that the verification is passed, it determines the first task module according to the target task information, otherwise the process ends directly; S408. After the first client calls the determined first task module to complete the target first task, it sends the target task information, device information and target user information to the server; S409. The server generates second verification information according to the device information and the target user information, and when it determines that the second verification information is the same as the first verification information, it issues a reward to the user according to the target task information.
[0078] Figure 5 is a schematic diagram according to the fifth embodiment of the present disclosure. Figure 5 As shown, the reward resource distribution device of this embodiment is located at the first client and includes:
[0079] A generating unit 501 is configured to generate a first task acquisition request in response to detecting that a user enters a target page;
[0080] A first sending unit 502 is used to send the first task acquisition request to a server end, so that the server end acquires multiple first tasks and fusion identification information of the multiple first tasks according to the first task acquisition request;
[0081] A display unit 503, configured to display the multiple first tasks on the target page in response to receiving the multiple first tasks and the fusion identification information of the multiple first tasks returned by the server;
[0082] A first processing unit 505 is configured to, in response to detecting that the user clicks on the first task in the target page, determine a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task;
[0083] The calling unit 506 is used to call the first task module to complete the target first task, and then send the target task information to the server side, so that the server side can distribute reward resources to the user according to the target task information.
[0084] The first task acquisition request generated by the generation unit 501 is used to obtain the first task displayed in the target page of the client and the fusion identification information of the first task from the server; the first task acquisition request includes first user information used to reflect the user identity (such as the user's UID), and the first user information is used by the server to generate the fusion identification information.
[0085] In this embodiment, after the generating unit 501 generates the first task acquisition request, the first sending unit 502 sends the first task request to the server.
[0086] To improve the accuracy of the acquired first task, the first sending unit 502 may further acquire activity type information, and then send the acquired activity type information together with the first task acquisition request to the server, so that the server acquires multiple first tasks according to the activity type information.
[0087] The activity type information obtained by the first sending unit 502 is used to reflect which activity the first task obtained from the server corresponds to, such as daily activities, New Year activities, etc.
[0088] In this embodiment, after the first sending unit 502 sends the first task acquisition request to the server, the display unit 503 displays the multiple first tasks on the target page in response to receiving the multiple first tasks and the fusion identification information of the multiple first tasks returned by the server.
[0089] That is to say, the first client of this embodiment obtains the first task to be displayed in the target page in real time by interacting with the server, which can improve the timeliness of the first task.
[0090] In this embodiment, after the display unit 503 displays multiple first tasks in the target page, the first processing unit 504 determines the first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task in response to detecting that the user has clicked on the first task in the target page.
[0091] In this embodiment, the target fusion identification information is the fusion identification information corresponding to the target first task, and the first task module is the task module corresponding to the target first task in the first client.
[0092] When the first processing unit 504 determines the first task module corresponding to the target first task based on the target fusion identification information of the clicked target first task, it can adopt the following implementation method: obtain a task list, which includes multiple fusion identification information and multiple task information corresponding to the multiple fusion identification information; obtain the task information corresponding to the target fusion identification information from the task list as the target task information; and use the task module corresponding to the target task information as the first task module.
[0093] That is to say, the first processing unit 504 determines the first task module according to the target task information corresponding to the target fusion identification information, thereby making full use of the correspondence between the existing task information and the task module, without the need to reconstruct the correspondence between the fusion identification information and the task module.
[0094] In this embodiment, task information includes identification information (such as user identification information (used to reflect user identity, which may be the same as or different from the first user information) and task identification information, and the task identification information of different tasks is unique), activity type information (such as daily activities or New Year activities), task behavior (that is, what specific behaviors the task is to complete, such as page jump behavior, behavior of performing operations after page jump, behavior of performing operations in other clients), task completeability status (for example, whether the task is completed automatically or requires manual triggering by the user to complete), the number of times the task can be completed, special task identification (used in special scenarios, such as cooperating with other clients to complete the task), task reward information (that is, what kind of reward is issued to the user after completing the task, and information such as the quantity, value, and number of days of the reward issued), etc.
[0095] The first processing unit 504 may obtain the task list locally, that is, the task list is obtained by the first client before obtaining the first task, for example, when the user opens the first client, the first client obtains the task list through the server.
[0096] In addition, when obtaining the task list, the first processing unit 504 can adopt the following implementation method: generate a second task acquisition request; send the generated second task acquisition request to the server side, so that the server side obtains the task information and fusion identification information of multiple second tasks according to the second task acquisition request; generate a task list based on the task information and fusion identification information of the multiple second tasks returned by the server side, that is, use the fusion identification information as the key and the task information as the value.
[0097] In this embodiment, the second task acquisition request includes second user information, and the second user information includes first user information and tag information for reflecting user interests.
[0098] The first processing unit 504 may use the task module corresponding to the task identification information in the target task information as the first task module.
[0099] In this embodiment, after the first processing unit 504 determines the first task module and the calling unit 505 calls the first task module to complete the target first task, the target task information is sent to the server side so that the server side can distribute reward resources to the user according to the target task information.
[0100] When calling the first task module to complete the target first task, the calling unit 505 can call the first task module to jump to the page, thereby completing the target first task; it can also call the first task module to jump to the corresponding page, start the task listener to monitor the user's behavior, and complete the target first task after monitoring the user to complete the corresponding operation (such as uploading files, browsing for 30 seconds, etc.).
[0101] When the calling unit 505 sends the target task information to the server side, it may also include the following contents: obtaining device information; generating first verification information based on the device information and the target user information; sending the target task information, device information, target user information and the first verification information to the server side, so that after the server side completes the verification based on the device information, the target user information and the first verification information, reward resources are distributed to the user according to the target task information.
[0102] That is to say, this embodiment generates the first verification information through the client, so that the server can perform verification based on the generated first verification information, and then distribute the reward resources, thereby avoiding the problem of malicious swiping of tasks and illegally obtaining reward resources, and can further improve the accuracy and security of the distribution of reward resources.
[0103] It is understandable that if the target user information in this embodiment is the user identification information in the target task information, the calling unit 505 does not need to send the target user information to the server side.
[0104] The reward resource distribution device 500 of this embodiment may also include a second sending unit 506, which is used to perform the following contents: in response to determining that the target first task is a preset task according to the target task information, determining the second client according to the target task information; sending the target fusion identification information to the second client, so that after the second client is started, it calls the second task module determined according to the target fusion identification information to complete the target first task.
[0105] That is to say, the first client in this embodiment can also send the target fusion identification information to the second client when it is determined that the target first task needs to be completed by the second client, so that the second client can call the second task module corresponding to the target fusion identification information to complete the target first task, thereby realizing linkage between different clients and improving the scope of application when issuing reward resources.
[0106] If the second sending unit 506 determines that the target first task needs to be completed on other clients based on the task behavior in the target task information, it determines that the target first task is a preset task, and then determines the second client based on the target task information; that is, the preset task in this embodiment is a task that needs to be completed on other clients.
[0107] The second sending unit 506 can also generate a token by the first client or use the task special identifier in the target task information as a token, and send the token together with the target fusion identifier information to the second client, so that after the second client completes the target first task, it sends the target task information and the token to the server to issue reward resources.
[0108] In this embodiment, the second task module is the task module corresponding to the target first task in the second client.
[0109] Figure 6 is a schematic diagram according to the sixth embodiment of the present disclosure. Figure 6 As shown in FIG. 6 , the reward resource distribution device 600 of this embodiment is located on the server side and includes:
[0110] A first acquisition unit 601 is configured to acquire a plurality of first tasks in response to receiving a first task acquisition request sent by a first client;
[0111] The second processing unit 602 is used to generate fusion identification information of the plurality of first tasks according to the task identification information of the plurality of first tasks and the first user information;
[0112] A third sending unit 603 is used to send the plurality of first tasks and fusion identification information of the plurality of first tasks to the first client, so that the first client can determine a first task module;
[0113] The issuing unit 604 is used to issue reward resources to the user according to the target task information in response to receiving the target task information sent by the first client.
[0114] The first acquisition unit 601 may randomly acquire multiple tasks from candidate tasks in the database as multiple first tasks.
[0115] When acquiring the multiple first tasks, the first acquisition unit 601 may also adopt the following method: receiving activity type information sent by the first client; and selecting tasks corresponding to the received activity type information from the candidate tasks as the multiple first tasks.
[0116] That is to say, the server in this embodiment can acquire the first task according to the activity type information sent by the first client, so that the acquired first task corresponds to a specific activity type, thereby improving the accuracy of the acquired first task.
[0117] If the first task acquisition request does not include the first user information, the server may send an information acquisition request to the first client to receive the first user information sent by the first client.
[0118] The reward resource distribution device 600 of this embodiment may also include a second acquisition unit 605, which is used to perform the following contents: in response to receiving a second task acquisition request sent by the first client, obtain multiple second tasks and task information of the multiple second tasks; generate fusion identification information of the multiple second tasks based on the task identification information of the multiple second tasks and the first user information; send the task information and the fusion identification information of the multiple second tasks to the first client, so that the first client can generate a task list based on the task information and the fusion identification information of the multiple second tasks.
[0119] When acquiring multiple second tasks, the second acquisition unit 605 can also acquire the task corresponding to the tag information from the database as the second task based on the tag information included in the second user information in the second task acquisition request, that is, the second task is the task corresponding to the user's interest, which can further improve the accuracy of the acquired second task.
[0120] When issuing reward resources to the user according to the target task information, the issuing unit 604 may first determine the target account according to the user identification information in the target task information, and then issue the corresponding reward resources to the target account according to the task reward information in the target task information.
[0121] In order to further improve the accuracy of the issuance of reward resources, the issuance unit 604 can also adopt the following implementation method when issuing reward resources to users according to the target task information: receiving device information, target user information and first verification information sent by the first client; generating second verification information based on the device information and the target user information; and issuing reward resources to the user according to the target task information when it is determined that the first verification information is the same as the second verification information.
[0122] That is to say, the server side of this embodiment determines whether to issue reward resources to the user by verifying the generated second verification information with the first verification information sent by the first client, which can improve the accuracy of the issuance of reward resources and avoid the problem of malicious swiping of tasks and illegally obtaining reward resources.
[0123] The issuing unit 604 of this embodiment may also execute the following: in response to receiving the target task information sent by the second client, issuing reward resources to the user according to the target task information.
[0124] If the issuing unit 604 also receives the token sent by the second client, it can also verify the token before issuing the reward resources, for example, determining whether the token is the same as the task special identifier in the target task information, or after sending a token acquisition request to the first client, determining whether the token returned by the first client is the same as the token sent by the second client, etc.
[0125] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0126] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0127] like Figure 7 , is a block diagram of an electronic device according to a method for distributing reward resources according to an embodiment of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples, and are not intended to limit the implementation of the present disclosure described herein and / or required.
[0128] like Figure 7 As shown, the device 700 includes a computing unit 701, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the device 700 can also be stored. The computing unit 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.
[0129] A number of components in the device 700 are connected to the I / O interface 705, including: an input unit 706, such as a keyboard, a mouse, etc.; an output unit 707, such as various types of displays, speakers, etc.; a storage unit 708, such as a disk, an optical disk, etc.; and a communication unit 709, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 709 allows the device 700 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0130] The computing unit 701 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 701 performs the various methods and processes described above, such as a method for issuing reward resources. For example, in some embodiments, the method for issuing reward resources may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 708.
[0131] In some embodiments, part or all of the computer program may be loaded and / or installed on the device 700 via the ROM 702 and / or the communication unit 709. When the computer program is loaded into the RAM 703 and executed by the computing unit 701, one or more steps of the method for issuing the reward resource described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to execute the method for issuing the reward resource in any other appropriate manner (e.g., by means of firmware).
[0132] Various implementations of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0133] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable reward resource dispensing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0134] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0135] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0136] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0137] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.
[0138] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0139] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A method for issuing reward resources, applied to a first client, include: In response to detecting that the user enters the target page, generating a first task acquisition request; Sending the first task acquisition request to a server side, so that the server side acquires the plurality of first tasks and fusion identification information of the plurality of first tasks according to the first task acquisition request; In response to receiving the plurality of first tasks and the fusion identification information of the plurality of first tasks returned by the server, displaying the plurality of first tasks on the target page; In response to detecting that the user clicks on the first task in the target page, determining a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task; After calling the first task module to complete the target first task, the target task information is sent to the server side, so that the server side can distribute reward resources to the user according to the target task information.
2. The method according to claim 1, in, The determining of the first task module corresponding to the target first task comprises: Get the task list; Acquire task information corresponding to the target fusion identification information from the task list as the target task information; The task module corresponding to the target task information is used as the first task module.
3. The method according to claim 2, in, The obtaining task list comprises: Generate a second task acquisition request; Sending the second task acquisition request to the server, so that the server acquires task information and fusion identification information of a plurality of second tasks according to the second task acquisition request; The task list is generated according to the task information and fusion identification information of the plurality of second tasks returned by the server.
4. The method according to claim 1, in, The sending of the target task information to the server includes: Get device information; Generate first verification information according to the device information and the target user information; The target task information, the device information, the target user information and the first verification information are sent to the server side, so that the server side can issue reward resources to the user according to the target task information after completing verification according to the device information, the target user information and the first verification information.
5. The method according to claim 1, further comprising: In response to determining that the target first task is a preset task according to the target task information, determining a second client according to the target task information; The target fusion identification information is sent to the second client, so that after the second client is started, it calls a second task module determined according to the target fusion identification information to complete the target first task.
6. A method for issuing reward resources, applied to the server side, include: In response to receiving a first task acquisition request sent by a first client, acquiring a plurality of first tasks; generating fusion identification information of the plurality of first tasks according to the task identification information of the plurality of first tasks and the first user information; sending the plurality of first tasks and fusion identification information of the plurality of first tasks to the first client, so that the first client can determine a first task module; In response to receiving the target task information sent by the first client, reward resources are issued to the user according to the target task information.
7. The method according to claim 6, further comprising: In response to receiving the second task acquisition request sent by the first client, acquiring a plurality of second tasks and task information of the plurality of second tasks; generating fusion identification information of the plurality of second tasks according to the task identification information of the plurality of second tasks and the first user information; The task information and the fusion identification information of the plurality of second tasks are sent to the first client, so that the first client generates a task list according to the task information and the fusion identification information of the plurality of second tasks.
8. The method according to claim 6, in, The issuing of reward resources to the user according to the target task information includes: Receiving device information, target user information and first verification information sent by the first client; Generate second verification information according to the device information and the target user information; When it is determined that the first verification information is the same as the second verification information, reward resources are issued to the user according to the target task information.
9. The method according to claim 6, further comprising: In response to receiving the target task information sent by the second client, reward resources are issued to the user according to the target task information.
10. A reward resource distribution device, located at a first client, include: A generating unit, configured to generate a first task acquisition request in response to detecting that a user enters a target page; A first sending unit, configured to send the first task acquisition request to a server end, so that the server end acquires a plurality of first tasks and fusion identification information of the plurality of first tasks according to the first task acquisition request; a display unit, configured to display the plurality of first tasks on the target page in response to receiving the plurality of first tasks and the fusion identification information of the plurality of first tasks returned by the server; A first processing unit is configured to, in response to detecting that the user clicks on the first task in the target page, determine a first task module corresponding to the target first task according to the target fusion identification information of the clicked target first task; The calling unit is used to call the first task module to complete the target first task, and then send the target task information to the server side, so that the server side can issue reward resources to the user according to the target task information.
11. The device according to claim 10, in, When determining the first task module corresponding to the target first task, the first processing unit specifically performs: Get the task list; Acquire task information corresponding to the target fusion identification information from the task list as the target task information; The task module corresponding to the target task information is used as the first task module.
12. The device according to claim 10, in, When obtaining the task list, the first processing unit specifically performs: Generate a second task acquisition request; Sending the second task acquisition request to the server, so that the server acquires task information and fusion identification information of a plurality of second tasks according to the second task acquisition request; The task list is generated according to the task information and fusion identification information of the plurality of second tasks returned by the server.
13. The device according to claim 10, in, When the calling unit sends the target task information to the server, the calling unit specifically performs: Get device information; Generate first verification information according to the device information and the target user information; The target task information, the device information, the target user information and the first verification information are sent to the server side, so that the server side can issue reward resources to the user according to the target task information after completing verification according to the device information, the target user information and the first verification information.
14. The apparatus according to claim 10, further comprising a second sending unit, configured to execute: In response to determining that the target first task is a preset task according to the target task information, determining a second client according to the target task information; The target fusion identification information is sent to the second client, so that after the second client is started, it calls a second task module determined according to the target fusion identification information to complete the target first task.
15. A reward resource distribution device, located on the server side, include: A first acquisition unit, configured to acquire a plurality of first tasks in response to receiving a first task acquisition request sent by a first client; A second processing unit, configured to generate fusion identification information of the plurality of first tasks according to the task identification information of the plurality of first tasks and the first user information; A third sending unit, configured to send the plurality of first tasks and fusion identification information of the plurality of first tasks to the first client, so that the first client can determine a first task module; The issuing unit is used to issue reward resources to the user according to the target task information in response to receiving the target task information sent by the first client.
16. The apparatus according to claim 15, further comprising a second acquisition unit, configured to execute: In response to receiving the second task acquisition request sent by the first client, acquiring a plurality of second tasks and task information of the plurality of second tasks; generating fusion identification information of the plurality of second tasks according to the task identification information of the plurality of second tasks and the first user information; The task information and the fusion identification information of the plurality of second tasks are sent to the first client, so that the first client generates a task list according to the task information and the fusion identification information of the plurality of second tasks.
17. The device according to claim 10, in, When the issuing unit issues the reward resource to the user according to the target task information, the issuing unit specifically performs: Receiving device information, target user information and first verification information sent by the first client; Generate second verification information according to the device information and the target user information; When it is determined that the first verification information is the same as the second verification information, reward resources are issued to the user according to the target task information.
18. The device according to claim 10, in, The issuing unit is further configured to execute: In response to receiving the target task information sent by the second client, reward resources are issued to the user according to the target task information.
19. An electronic device, include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.
20. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 9.
21. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 9.
