Resource acquisition method, device, computer device and storage medium

By displaying candidate virtual props on the interactive page and using congruent equations to calculate the results of the resource collection, the problem that users cannot obtain useful props is solved, and the interaction effect and resource collection efficiency are improved.

CN114073855BActive Publication Date: 2025-07-11TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010818795.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-14
Publication Date
2025-07-11
Estimated Expiration
2040-08-14

AI Technical Summary

Technical Problem

During interactive activities, users may not be able to obtain useful virtual props, resulting in poor interaction effects and affecting resource acquisition efficiency.

Method used

By displaying candidate virtual props under each target interactive item on the interactive page, selecting the target virtual props, and using the solutions and preset solutions of the congruent equation to compare the results of the calculation resource collection, ensure that the selected props are all useful props.

Benefits of technology

It improves the interaction effect of users, promotes user enthusiasm, improves the efficiency and activity of collecting interactive resources, and avoids the emergence of useless props.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114073855B_ABST
    Figure CN114073855B_ABST
Patent Text Reader

Abstract

This application relates to a method, device, computer device, and storage medium for resource collection. The method includes: displaying an interactive page; respectively displaying candidate virtual items under each target interactive item on the interactive page; in response to a selection operation triggered on the interactive page, selecting a target virtual item from the candidate virtual items under each target interactive item; after completing the selection operations of the target virtual items under each target interactive item, displaying a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with a preset solution; the item representative values corresponding to the target interactive items form the congruence number of the congruence equation, and the item representative values corresponding to the target virtual items form the modulus parameter of the congruence equation. Using this method can improve the interactive effect to enhance the efficiency of resource collection for interaction.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and particularly to a method and apparatus for resource collection, a computer device, and a storage medium. Background Art

[0002] With the continuous development of computer technology and network technology, users interact with others or activities initiated by the organizer through the network, collect virtual items during the interaction, and when a complete set of virtual items specified by the activity is collected, the user can obtain the corresponding interaction resources. For example, the user collects lucky cards by participating in an activity, and when the five specified lucky cards are collected, the user can obtain the corresponding rewards. However, when participating in an activity to collect virtual items, the obtained virtual items are usually random, so that the user may not obtain useful virtual items but a large number of useless and duplicate virtual items, thus resulting in poor interaction effects and affecting the collection of interaction resources. Summary of the Invention

[0003] Based on this, in view of the above technical problems, it is necessary to provide a method and apparatus for resource collection, a computer device, and a storage medium that can help improve the interaction effect and enhance the collection efficiency of interaction resources.

[0004] A resource collection method, the method comprising:

[0005] Display an interaction page;

[0006] On the interaction page, respectively display candidate virtual items under each target interaction item;

[0007] In response to a selection operation triggered on the interaction page, select a target virtual item from the candidate virtual items under each target interaction item;

[0008] After the selection operation of the target virtual item under each target interaction item is completed, display a resource collection result; the resource collection result is a result generated by comparing the solution of the congruence equation with a preset solution; the item representative values corresponding to the target interaction items constitute the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items constitute the modulus parameters of the congruence equation.

[0009] A resource collection apparatus, the apparatus comprising:

[0010] A page display module, configured to display an interaction page;

[0011] An item display module, configured to respectively display candidate virtual items under each target interaction item on the interaction page;

[0012] A selection module, configured to select a target virtual item from candidate virtual items under each target interaction item in response to a selection operation triggered on the interaction page;

[0013] A reward result display module, configured to display a resource reward result after completing the selection operation of the target virtual item under each target interaction item; the resource reward result is a result generated after comparing the solution of the congruence equation with a preset solution; the item representative values corresponding to the target interaction items constitute the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items constitute the modulus parameters of the congruence equation.

[0014] In one embodiment, the apparatus further includes:

[0015] A receiving module, configured to receive at least two candidate interaction items selected and sent by a second terminal; the candidate interaction items are interaction items selected by the second terminal from an interaction item set, and the interaction item set is generated and sent to the second terminal by a server;

[0016] The selection module is further configured to select corresponding target interaction items from the candidate interaction items in response to a selection instruction corresponding to the candidate interaction items.

[0017] In one embodiment, the interaction page includes a live interaction page for a live audience to interact with a host user, the first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

[0018] In one embodiment, the selection module is further configured to, when the resource reward result is a result generated after the solution of the congruence equation is compared with a preset solution and they are consistent, obtain an operation instruction generated when the resource reward result is triggered;

[0019] The page display module is further configured to enter a resource acquisition page according to the operation instruction;

[0020] In response to a resource selection operation on the resource acquisition page, obtain corresponding interaction resources from the resource acquisition page.

[0021] In one embodiment, the determination module is configured to, when the resource reward result is a result generated after the solution of the congruence equation is compared with a preset solution and they are inconsistent, determine the remaining interaction times;

[0022] The selection module is further configured to, when the remaining interaction times are greater than or equal to a preset interaction times, select new target interaction items from the candidate interaction items, and execute the step of selecting a target virtual item from candidate virtual items under each target interaction item.

[0023] In one embodiment, the obtaining module is further configured to, after completing the selection operation of the target virtual items under each target interaction item, obtain a preset solution pre-stored locally; or, after completing the selection operation of the target virtual items under each target interaction item, send a preset solution obtaining instruction to a second terminal, and receive the preset solution returned by the second terminal in response to the preset solution obtaining instruction;

[0024] Wherein, the preset solution is a target solution selected from a preset solution set; the preset solution set is generated by a server according to the respective item representative values corresponding to the interaction item set and the item representative values corresponding to the candidate interaction items.

[0025] A computer device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0026] Display an interaction page;

[0027] Display the candidate virtual items under each target interaction item on the interaction page respectively;

[0028] In response to a selection operation triggered on the interaction page, select a target virtual item from the candidate virtual items under each target interaction item;

[0029] After completing the selection operation of the target virtual items under each target interaction item, display a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interaction items constitute the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items constitute the modulus parameters of the congruence equation.

[0030] A computer-readable storage medium stores a computer program thereon. When the computer program is executed by a processor, the following steps are implemented:

[0031] Display an interaction page;

[0032] Display the candidate virtual items under each target interaction item on the interaction page respectively;

[0033] In response to a selection operation triggered on the interaction page, select a target virtual item from the candidate virtual items under each target interaction item;

[0034] After completing the selection operation of the target virtual items under each target interaction item, display a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interaction items constitute the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items constitute the modulus parameters of the congruence equation.

[0035] The above-mentioned resource collection method, device, computer equipment and storage medium can directly select the corresponding target virtual item from the candidate virtual items by displaying the candidate virtual items under each target interaction item on the interaction page, calculate the solution of the congruence equation based on the item representative values corresponding to all the selected target virtual items and the item representative values corresponding to the corresponding target interaction items, and obtain the resource collection result by comparing the solution of the congruence equation with the preset solution, so as to ensure that all the selected target virtual items are useful items, avoid a large number of useless and repeated virtual items, thereby improving the user's interaction effect, promoting the user's enthusiasm, and enhancing the collection efficiency and activity of the interaction resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is an application environment diagram of the resource collection method in an embodiment;

[0037] Figure 2 It is a schematic flowchart of the resource collection method in an embodiment;

[0038] Figure 3 It is a schematic diagram of the interface for displaying candidate virtual items in an embodiment;

[0039] Figure 4 It is a schematic diagram of the interface for displaying candidate virtual items in another embodiment;

[0040] Figure 5 It is a schematic flowchart of the steps for calculating the solution of the congruence equation and collecting resources in an embodiment;

[0041] Figure 6 It is a schematic flowchart of the resource collection method in another embodiment;

[0042] Figure 7 It is a schematic flowchart of the resource collection method in another embodiment;

[0043] Figure 8 It is a schematic diagram of the interface for selecting virtual items in an embodiment;

[0044] Figure 9 It is a schematic flowchart of the resource collection method in another embodiment;

[0045] Figure 10 It is a structural block diagram of the resource collection device in an embodiment;

[0046] Figure 11 It is a structural block diagram of the resource collection device in another embodiment;

[0047] Figure 12 It is an internal structure diagram of the computer equipment in an embodiment. Detailed implementation manners

[0048] In order to make the objectives, technical solutions and advantages of the present application more clear and understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0049] The resource acquisition method provided by the present application can be applied to an application environment as Figure 1 shown. In this application environment, it includes a first terminal 102, a second terminal 104 and a server 106. In the application environment of the resource acquisition method, the first terminal 102 can be a terminal on the user side, and the second terminal 104 can be a terminal of the interaction initiator or the activity initiator.

[0050] For example, in a live broadcast application scenario, the first terminal 102 can be a terminal of a live broadcast viewer, and the second terminal 104 can be a terminal of the host user. The host user can send candidate interaction items to the terminal 102 through the terminal 104, so as to initiate an interaction request to the live broadcast viewers. Among them, the candidate interaction items are interaction items generated by the server 106, and each candidate interaction item corresponds to an item representative value, and the item representative value can correspond to the congruence number in the congruence equation. The live broadcast viewers participate in the target interaction items of the host user (the target interaction items can be all or part of the candidate interaction items sent by the host user) through the terminal 102, and select target virtual items from multiple candidate virtual items under the target interaction items to interact with the host user, so as to obtain the corresponding resource acquisition result.

[0051] Among them, the target virtual item corresponds to a prop representative value, and the prop representative value can correspond to the modulus parameter in the congruence equation. The resource acquisition result is a result generated based on the comparison between the solution of the congruence equation and the preset solution. If the solution of the congruence equation is consistent with the preset solution, the resource acquisition result can indicate that the live broadcast viewer wins the prize, and the live broadcast viewer can obtain the corresponding interaction resources (such as prizes); if the solution of the congruence equation is inconsistent with the preset solution, the resource acquisition result can indicate that the live broadcast viewer does not win the prize, and the live broadcast viewer cannot obtain the corresponding interaction resources.

[0052] Among them, the first terminal 102 and the second terminal 104 can be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, etc., but are not limited thereto. The first terminal 102 and the second terminal 104 are installed with clients, and the clients can be a video client, a social client, a browser client, an education client, etc. Here, the number of the terminal 102 and the terminal 104 can be one or more respectively, and the number of the terminal 102 and the terminal 104 is not limited. For example, one or more terminals 104 initiate an activity to enable one or more terminals 102 to participate in the interaction items.

[0053] Server 106 can be an independent physical server, a server cluster composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud storage, and content delivery network (CDN). Among them, the content delivery network is an intelligent virtual network built on top of the existing network. Relying on the servers 106 deployed in various places, through functional modules such as load balancing, content distribution, and scheduling of the central platform, live viewers can obtain the required content nearby. For example, live viewers can obtain the live video of the host user nearby, reducing network congestion and improving the user access response speed and hit rate.

[0054] The terminals 102 and 104 can be connected to the server 106 through communication connection methods such as Bluetooth, USB (Universal Serial Bus), or network. This application does not limit this here.

[0055] In one embodiment, as Figure 2 shown, a resource acquisition method is provided. This method is applied to Figure 1 the terminal therein, or the terminal and the server cooperate to execute. In this embodiment, taking the application to the first terminal 102 as an example for illustration, it includes the following steps:

[0056] S202, display an interactive page.

[0057] Among them, according to different application scenarios, the interactive page can be a live interactive page or an activity participation page. The live interactive page can be a page for interaction between live viewers and host users during a live broadcast. The activity participation page can be an interactive page for an activity initiated by the activity organizer to users through the client, and users can participate in corresponding interactive projects through this activity participation page.

[0058] In one embodiment, the first terminal can display the interactive page after starting the client, or triggering the resource acquisition control or the interactive control. The client can be a video client, a social client, or other clients that can be used for live broadcasts or participating in activities (such as a web client).

[0059] Among them, starting the client refers to opening the client (that is, not logging in to the client using the login account and login password), or opening and logging in to the client using the login account and login password.

[0060] In one embodiment, the first terminal detects the startup operation of the client input, and logs in to the client according to the input login account and login password, or according to the login account and login password stored locally, or according to the method of face recognition or fingerprint recognition.

[0061] In one embodiment, after the client is started, the first terminal can establish a communication connection with the second terminal and the server. The communication connection can be a short connection or a long connection, so as to receive candidate interaction items sent by the second terminal and / or the server.

[0062] In one embodiment, various types of candidate interaction items can be directly displayed on the interaction page, or there is an entry for candidate interaction items on the interaction page. When the first terminal detects a trigger operation for the entry, the candidate interaction items are displayed in the form of an image floating layer, or in the form of a sub-interaction page. Interaction controls are set on the image floating layer so as to perform corresponding selection operations by triggering the interaction controls.

[0063] (1) For the live application scenario

[0064] In one embodiment, the interaction page is a live interaction page. On this interaction page, there can be two areas: a video live area and an item display area; the two areas can be adjacent to each other, or the item display area overlaps on the video live area. When the first terminal enters the interaction page, it can play the live video of the host user in the video live area of the interaction page, and display the candidate interaction items initiated by the host user in the item display area of the interaction page.

[0065] Among them, the host user can be the host followed by the live audience. When the live audience follows the host user, the first terminal can receive the live notification of the host user through the video client or the social client with video live, so as to enter the interaction page corresponding to the host user when receiving the live notification.

[0066] In addition, after the live audience follows the host user, the first terminal can directly enter the interaction page corresponding to the host user when starting the video client. If multiple host users are followed, the first terminal can directly enter the interaction page corresponding to the most interested host user, and switch to the interaction page corresponding to other host users when detecting a sliding operation.

[0067] (2) For the activity participation application scenario

[0068] In one embodiment, the interaction page is an activity participation page. On this interaction page, the terminal can display various different types of candidate interaction items. The different types of candidate interaction items can be interaction items initiated by the same organizer, or interaction items initiated by different organizers.

[0069] Among them, on the interactive page, in addition to different types of candidate interactive items, recommended information or product introductions can also be included for users to click and view.

[0070] S204, display the candidate virtual props under each target interactive item on the interactive page respectively.

[0071] Among them, the interactive item can refer to an item that can be interacted with, such as an activity task or an interactive mini-game. The target interactive item can refer to the interactive item that the user wants to participate in. For example, if some or all of the candidate interactive items are selected from the candidate interactive items for participation, then the selected interactive items are the target interactive items. Another example is that the first terminal directly receives the target interactive items pushed by the second terminal in sequence. That is, after the first terminal completes a target interactive item, it will receive the new target interactive items pushed by the second terminal. The candidate interactive items can refer to the interactive items pushed by the second terminal to the first terminal for the user to select items through the first terminal.

[0072] In one embodiment, the first terminal receives at least two candidate interactive items selected and sent by the second terminal; the candidate interactive items are the interactive items selected by the second terminal from the interactive item set, and the interactive item set is generated and sent to the second terminal by the server; in response to the selection instruction corresponding to the candidate interactive item, the corresponding target interactive item is selected from the candidate interactive items.

[0073] Among them, the server can generate multiple candidate interactive items, thus forming an interactive item set composed of the multiple candidate interactive items, and generate a preset solution set according to the interactive item set and the candidate interactive props under each candidate interactive item in the interactive item set. Each candidate interactive item corresponds to a project representative value, and the project representative value is a prime number or other integer. In subsequent embodiments, the case where the project representative value is a prime number is used for elaboration. Each candidate interactive prop corresponds to a prop representative value, and the prop representative value can represent the congruence number of the congruence equation.

[0074] In one embodiment, the first terminal can display the candidate virtual props under all target interactive items on the interactive page. For example, as Figure 3 shown, each target interactive item and the candidate virtual props under each target interactive item are displayed on the interactive page. For example, target interactive item a and the candidate virtual props a1, a2, and a3 under target interactive item a are displayed on the interactive page. The user can select the corresponding target virtual prop from the candidate virtual props under each target interactive item. For example, select virtual prop a3 under target interactive item a.

[0075] In another embodiment, the first terminal displays the candidate virtual props under each target interactive item on the interactive page in sequence according to the interactive rounds. For example, as Figure 4As shown, candidate virtual items under the current round of target interaction items are displayed on the interaction page, namely virtual item 1, virtual item 2, and virtual item 3. The user can select the corresponding target virtual item from the candidate virtual items under the current round of target interaction items.

[0076] In one embodiment, for the live broadcast application scenario, the first terminal includes the terminal of the live broadcast audience, and the second terminal includes the terminal of the host user. The interaction page includes a live broadcast interaction page for the live broadcast audience and the host user to interact.

[0077] In one embodiment, for the live broadcast application scenario or the event participation scenario, on the interaction page, when the first terminal receives at least two candidate interaction items sent by the second terminal, it can select at least two target interaction items from the candidate interaction items of the same type or different types according to the input selection instruction.

[0078] S206, in response to the selection operation triggered on the interaction page, select the target virtual item from the candidate virtual items under each target interaction item.

[0079] Among them, the virtual item can be a virtualized and interactive item. The candidate virtual item can refer to all selectable virtual items under the target interaction item. The target virtual item can refer to the virtual item selected from the candidate virtual items. Each virtual item corresponds to a prop representative value. When the user selects a target virtual item, the prop representative value corresponding to the target virtual item can be obtained.

[0080] In one embodiment, the first terminal detects the selection operation triggered on the interaction page in real time. When the selection operation is detected, the target virtual item corresponding to the selection operation is selected from the candidate virtual items under each target interaction item.

[0081] In one embodiment, after successively selecting the target virtual item from the candidate virtual items under the target interaction item, the first terminal can obtain the item representative value corresponding to the target interaction item and the prop representative value corresponding to the target virtual item.

[0082] S208, after completing the selection operation of the target virtual item under each target interaction item, display the resource collection result; the resource collection result is the result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interaction items form the congruence numbers of the congruence equation, and the prop representative values corresponding to the target virtual items form the modulus parameters of the congruence equation.

[0083] Among them, the resource acquisition result can be used to indicate whether the user corresponding to the first terminal has the resource acquisition permission. When the resource acquisition result is the result generated after comparing the solution of the congruence equation with the preset solution and they are consistent, it indicates that the user has the resource acquisition permission; when the resource acquisition result is the result generated after comparing the solution of the congruence equation with the preset solution and they are inconsistent, it indicates that the user does not have the resource acquisition permission.

[0084] The project representative value can refer to the project value corresponding to the target interaction project. Each target interaction project corresponds to a project representative value, and the project representative values corresponding to each interaction project are relatively prime to each other. For example, the project representative value corresponding to the target interaction project a is 3, and the project representative value corresponding to the target interaction project b is 5, and 3 and 5 are relatively prime to each other. The above modular parameters are relatively prime to each other. Relatively prime means that the modular parameters are integers with only 1 as the common divisor.

[0085] The prop representative value can refer to the prop value corresponding to the target interaction prop. Each target interaction prop corresponds to a prop representative value.

[0086] The congruence equation can be a system of linear congruence equations in one variable, and its general expression is:

[0087]

[0088] Among them, a1, a2, …, a n represent congruence numbers, and m1, m2, …, m n represent modular parameters. In the above congruence equation, if any two numbers among m1, m2, …, m n are relatively prime, then for any integers a1, a2, …, a n the equation has a solution.

[0089] Its solution can be obtained through the following method:

[0090] 1) Let be the product of m1, m2, …, m n , and set M i = M / m i , that is, M i is the product of n - 1 integers other than m i ;

[0091] 2) Let be the modular multiplicative inverse of M i modulo m i , t i M i ≡ 1 (mod m i ),

[0092] 3) The general solution form of the congruence equation is: For \(k\in Z\), under the modulus \(M\), the above congruence equation has only one solution

[0093] The solution process of the congruence equation can be directly performed on the first terminal or on the server. Therefore, the solution process of the congruence equation can be divided into the following two methods:

[0094] Method 1: Solve the congruence equation on the first terminal.

[0095] In one embodiment, after completing the selection operation of the target virtual items under each target interaction item, the first terminal obtains the item representative value corresponding to each selected target virtual item; obtains the item representative value corresponding to the target interaction item corresponding to each target virtual item; constructs a congruence equation according to the item representative value and the item representative value; and calculates the solution of the congruence equation.

[0096] When obtaining the item representative value and the item representative value, the item representative value is used as the modulus parameter of the congruence equation, and the item representative value is used as the congruence number of the congruence equation, so as to obtain a solvable congruence equation.

[0097] For example, assume that the user corresponding to the first terminal participates in three target interaction items, and the corresponding item representative values are 3, 5, and 7 respectively; the item representative values corresponding to the target interaction items under the three target interaction items are 2, 3, and 2 respectively. Then in the above congruence equation, \(m_1 = 3\), \(m_2 = 5\), \(m_3 = 7\); \(a_1 = 2\), \(a_2 = 3\), \(a_3 = 2\). Thus, the product \(M\) of the three modulus parameters \(m_1\), \(m_2\), and \(m_3\) is 105, the corresponding \(M_1 = 35\), \(M_2 = 21\), \(M_3 = 15\). The number-theoretic reciprocals \(t_1 = 2\), \(t_2 = 1\), \(t_3 = 1\) can be calculated. Finally, the general solution is \(x = 233 + k\times105\), \(k\in Z\). When \(k = -2\), the minimum solution \(x = 23\) can be obtained.

[0098] By determining whether the solution of the congruence equation is consistent with the preset solution, if it is consistent, it means that the user corresponding to the first terminal has the resource receiving permission.

[0099] Method 2: Solve the congruence equation on the server.

[0100] In one embodiment, after completing the selection operation of the target virtual items under each target interaction item, the first terminal obtains the item representative value corresponding to each selected target virtual item; obtains the item representative value corresponding to the target interaction item corresponding to each target virtual item; and sends the item representative value and the item representative value to the server, so that the server constructs a congruence equation according to the item representative value and the item representative value, and calculates the solution of the congruence equation.

[0101] Here, the solution of the congruence equation can be calculated by referring to the solution method in method 1, and it can be determined whether the solution of the congruence equation is consistent with the preset solution. If not, it means that the user corresponding to the first terminal does not have the authority to collect resources.

[0102] In one embodiment, the step of the first terminal sending the project representative value and the prop representative value to the server may specifically include: the first terminal obtains a user identifier; sends the project representative value, the prop representative value and the user identifier to the server; wherein the user identifier is used to add the user identifier to the resource collection list when the server calculates the solution of the congruence equation based on the project representative value and the prop representative value, and the solution is consistent with a preset solution, and sends the resource collection list to the second terminal.

[0103] The first terminal may encapsulate the project representative value, the prop representative value and the user identifier into a data packet, and then send the data packet to the server.

[0104] In one embodiment, the first terminal generates a data pair including a project representative value and an item representative value, encapsulates the data pair and a user identifier into a data packet, and sends the data packet to the server.

[0105] In order to understand this solution more clearly and intuitively, we will explain it here in combination with specific application scenarios, such as Figure 5 As shown, the live broadcast user initiated three interactive mini-games (i.e., the target interactive projects mentioned above) to the live broadcast audience, which are target interactive mini-games ac. Correspondingly, each target interactive mini-game corresponds to multiple candidate interactive props, such as props a1-a3, props b1-b3, and props c1-c3. The candidate virtual props under each interactive mini-game will be displayed on the first terminal respectively, and the live broadcast audience can select a target virtual prop in turn from the candidate virtual props under each interactive mini-game displayed (such as selecting props a1, props b2, and props c2 respectively), and then obtain the prop representative value corresponding to each target virtual prop and the project representative value corresponding to the corresponding target interactive project, and then input the prop representative value and the project representative value into the congruence equation respectively, as the modulus parameter and the congruence number of the congruence equation respectively, and then calculate the solution of the congruence equation. When the solution of the congruence equation is inconsistent with the target solution selected by the live broadcast user, it means that the user has not won the prize and the user cannot get the corresponding prize; when the solution of the congruence equation is consistent with the target solution selected by the live broadcast user, it means that the user has won the prize and can get the corresponding prize.

[0106] In the above embodiments, by respectively displaying candidate virtual items under each target interaction item on the interaction page, the corresponding target virtual item can be directly selected from the candidate virtual items. Based on the item representative values corresponding to all selected target virtual items and the item representative values corresponding to the corresponding target interaction items, the solution of the congruence equation is calculated. According to the comparison between the solution of the congruence equation and the preset solution, the resource collection result is obtained, so as to ensure that all selected target virtual items are useful items, avoid a large number of useless and repetitive virtual items, improve the user interaction effect, promote the enthusiasm of users, and improve the collection efficiency and activity of interaction resources.

[0107] As Figure 6 shown, in one embodiment, the method may further include:

[0108] S602, display the interaction page.

[0109] S604, respectively display candidate virtual items under each target interaction item on the interaction page.

[0110] S606, in response to a selection operation triggered on the interaction page, select a target virtual item from the candidate virtual items under each target interaction item.

[0111] S608, after completing the selection operation of the target virtual items under each target interaction item, display the resource collection result.

[0112] Among them, the resource collection result is the result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interaction items constitute the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items constitute the modulus parameters of the congruence equation.

[0113] In one embodiment, the step of obtaining the preset solution may include: after the first terminal completes the selection operation of the target virtual items under each target interaction item, obtaining the preset solution pre-stored locally; or, after the first terminal completes the selection operation of the target virtual items under each target interaction item, sending a preset solution acquisition instruction to the second terminal and receiving the preset solution returned by the second terminal in response to the preset solution acquisition instruction.

[0114] Among them, the preset solution is the target solution selected from the preset solution set; the preset solution set is generated by the server according to the item representative values corresponding to the interaction item set and the item representative values corresponding to the candidate interaction items.

[0115] In one embodiment, the server combines the respective item representative values corresponding to each interaction item in the interaction item set and the respective prop representative values corresponding to the candidate interaction props under each interaction item, that is, combines each item representative value and the corresponding prop representative value, substitutes the results of each combination into the congruence equation, and obtains the solutions of the congruence equations corresponding to each combination, thereby forming a preset solution set.

[0116] As an example, the organizer corresponding to the second terminal can select one or more solutions from the solutions of various combinations (i.e., the preset solution set) as the target solutions for winning the prize (i.e., the above-mentioned preset solutions). When the user corresponding to the first terminal completes the selection operation of the target virtual props under each target interaction item, calculates the solution of the congruence equation based on the item representative value and the prop representative value, and if the solution corresponding to the user is consistent with the target solution, it is determined that the user wins the prize and can receive the corresponding prize.

[0117] For the specific processes of S602 - S608 above, reference can be made to S202 - 208 in the above-mentioned embodiment.

[0118] S610, determine whether the resource acquisition result is the result generated by comparing the solution of the congruence equation with the preset solution and being consistent.

[0119] S612, if so, obtain the operation instruction generated when the resource acquisition result is triggered.

[0120] Among them, the fact that the solution of the congruence equation is consistent with the preset solution indicates that the user corresponding to the first terminal has the permission to acquire resources.

[0121] S614, enter the resource acquisition page according to the operation instruction.

[0122] Among them, multiple acquirable resources can be displayed on the resource acquisition page. Different resources can correspond to different levels, and the higher the level, the greater the value of the resource. The more target items the user completes and the solution of the corresponding congruence equation is consistent with the preset solution, the higher the level corresponding to the user, and thus higher-level resources can be obtained.

[0123] S616, acquire the corresponding interaction resources from the resource acquisition page.

[0124] S618, if not, determine the remaining interaction times.

[0125] Among them, the fact that the solution of the congruence equation is inconsistent with the preset solution indicates that the user corresponding to the first terminal does not have the permission to acquire resources. If the user does not have the permission to acquire resources during this interaction process, it can be determined whether the remaining interaction times are greater than or equal to the preset interaction times to determine whether to continue the interaction to acquire the corresponding resources.

[0126] S620. When the remaining number of interaction times is greater than or equal to the preset number of interaction times, a new target interaction item is selected from the candidate interaction items, and S606 is executed again.

[0127] In the above embodiments, after completing the selection operation of the target virtual item under each target interaction item, the resource receiving result is obtained by comparing the solution of the congruence equation with the preset solution. When the resource receiving result is the result generated after the comparison between the solution of the congruence equation and the preset solution is consistent, the corresponding interaction resource is obtained from the resource acquisition page; when the resource receiving result is the result generated after the comparison between the solution of the congruence equation and the preset solution is inconsistent, it is necessary to determine whether to continue the interaction to receive the interaction resource according to the remaining number of interaction times, so as to improve the user's interaction effect, and at the same time, it is beneficial to promote the user's enthusiasm, improve the receiving efficiency and activity of the interaction resource.

[0128] In one embodiment, as Figure 7 shown, the method may further include:

[0129] S702. The server generates an interaction item set and a corresponding preset solution set.

[0130] S704. The server sends the interaction item set and the corresponding preset solution set to the second terminal.

[0131] S706. The second terminal selects multiple candidate interaction items from the interaction item set, and selects the corresponding preset solution from the preset solution set according to the candidate interaction items.

[0132] S708a. The second terminal sends the candidate interaction items and the preset solution to the first terminal.

[0133] Among them, when the first terminal calculates the solution of the congruence equation, the preset solution can be compared with the solution of the congruence equation, and the resource receiving result is obtained according to the comparison result.

[0134] S708b. The second terminal sends the selected preset solution to the server.

[0135] Among them, after the first terminal completes the selection operation of the target virtual item under each target interaction item, the item representative value corresponding to the target interaction item and the item representative value corresponding to the target virtual item are sent to the server. When the server calculates the solution of the congruence equation according to the item representative value and the item representative value, the preset solution is compared with the solution of the congruence equation, the resource receiving result is obtained according to the comparison result, and then the receiving result is returned to the first terminal for display.

[0136] S710. The first terminal selects some or all of the received candidate interaction items as target interaction items.

[0137] S712. The first terminal displays candidate virtual items under each target interaction item on the interaction page respectively.

[0138] S714. In response to a selection operation triggered on the interaction page, a target virtual item is selected from the candidate virtual items under each target interaction item.

[0139] S716. After completing the selection operation of the target virtual items under each target interaction item, a resource collection result is displayed.

[0140] Wherein, the resource collection result is a result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interaction items form the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items form the modulus parameters of the congruence equation.

[0141] In one embodiment, after the first terminal completes the selection operation of the target virtual items under each target interaction item, it obtains the item representative value corresponding to each selected target virtual item; obtains the item representative value corresponding to the target interaction item corresponding to each target virtual item; constructs a congruence equation according to the item representative value and the item representative value; and calculates the solution of the congruence equation.

[0142] In one embodiment, after the first terminal completes the selection operation of the target virtual items under each target interaction item, it obtains the item representative value corresponding to each selected target virtual item; obtains the item representative value corresponding to the target interaction item corresponding to each target virtual item; sends the item representative value and the item representative value to the server, so that the server constructs a congruence equation according to the item representative value and the item representative value, and calculates the solution of the congruence equation.

[0143] In one embodiment, the first terminal obtains a user identifier; sends the item representative value, the item representative value and the user identifier to the server; wherein, the user identifier is used to add the user identifier to the resource collection list and send the resource collection list to the second terminal when the server calculates the solution of the congruence equation according to the item representative value and the item representative value and the solution is consistent with the preset solution.

[0144] In one embodiment, the first terminal receives at least two candidate interaction items selected and sent by the second terminal; the candidate interaction items are interaction items selected by the second terminal from the interaction item set, and the interaction item set is generated and sent to the second terminal by the server; in response to the selection instruction corresponding to the candidate interaction item, the corresponding target interaction item is selected from the candidate interaction items.

[0145] In one embodiment, the interaction page includes a live interaction page for the live audience to interact with the host user, the first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

[0146] In one embodiment, when the resource collection result is the result generated after the solution of the congruence equation is compared with the preset solution and they are consistent, the first terminal obtains the operation instruction generated when the resource collection result is triggered; enters the resource acquisition page according to the operation instruction; and in response to the resource selection operation on the resource acquisition page, obtains the corresponding interactive resource from the resource acquisition page.

[0147] In one embodiment, when the resource collection result is the result generated after the solution of the congruence equation is compared with the preset solution and they are inconsistent, the first terminal determines the remaining interaction times; when the remaining interaction times are greater than or equal to the preset interaction times, it selects a new target interaction item from the candidate interaction items, and performs the step of selecting the target virtual item from the candidate virtual items under each target interaction item.

[0148] In one embodiment, after completing the selection operation of the target virtual item under each target interaction item, the first terminal obtains the preset solution pre-stored locally; or, after completing the selection operation of the target virtual item under each target interaction item, it sends a preset solution acquisition instruction to the second terminal and receives the preset solution returned by the second terminal in response to the preset solution acquisition instruction; wherein, the preset solution is the target solution selected from the preset solution set; the preset solution set is generated by the server according to the respective item representative values corresponding to the interaction item set and the item representative values corresponding to the candidate interactive items.

[0149] As an example, the above method can be applied to all products related to activities such as red envelopes, lotteries, and rewards. For example, as Figure 8 shown, users participating in the activity can select large-category items (i.e., the above-mentioned interaction items), such as selecting categories A, B, and C, and then select small-category items (i.e., the above-mentioned interactive items) from the large-category items A, B, and C, such as selecting small-category items A1, A2, A3, etc. from categories A, B, and C respectively. The winning method is a combination of certain small-category items within the large-category items. For example, the combination of small-category item A1 in category A, small-category item B1 in category B, and small-category item C2 in category C can win the prize.

[0150] Specifically, as Figure 9 shown, the process of implementing the above interactive lottery is as follows:

[0151] (1) The generator of large-category items (each large-category item corresponds to a prime number) in the server generates a set of interactive items for a large category (i.e., the above-mentioned interaction item set, and this set of interactive items corresponds to a set of prime numbers, that is, each large-category item in the set of interactive items corresponds to a prime number in the set of prime numbers, and the prime numbers in the set of prime numbers are different from each other).

[0152] (2) The server generates a lottery set (i.e., the above-mentioned preset solution set) according to the set of interactive items.

[0153] (3) The server synchronizes the major items and the lottery set in the interactive item collection to the client of the organizer, which can be operated through the client.

[0154] (4) The organizer extracts a major item (i.e., the above-mentioned interactive item) from the interactive item collection through the client on the terminal (such as the live host through a PC / mobile phone) and sends it to the participant's terminal.

[0155] (5) The participant participates in the interaction and selects a minor interactive item according to this major item (this minor interactive item corresponds to a congruence number).

[0156] (6) If there are multiple interactions, repeat steps 3 - 5.

[0157] (7) After the interaction ends, the organizer extracts one or more target solutions from the lottery set.

[0158] (8) The server checks whether the solution of the congruence equation corresponding to the participant is the same as the target solution extracted by the organizer. If they are the same, it means the participant wins the prize; if not, it means the participant does not win the prize.

[0159] (9) Synchronize the result to the participant so that the participant can determine whether they win the prize.

[0160] For example, during the event (such as a live broadcast), the organizer can randomly select a major item (this major item corresponds to a prime number m n ), for this major item, the user has m n options for minor category interactive items (0, 1, 2, 3, m n - 1, etc., m n congruence numbers). For example, if the user selects a minor category interactive item and its corresponding congruence number is 2, then this interaction generates a pair of numbers (m n , 2). Suppose there are three such interactions, then the corresponding congruence equations are as follows:

[0161]

[0162] Calculate the above congruence equations to obtain the corresponding solutions. Then compare the solutions of the congruence equations with the solutions extracted by the organizer. Those with the same solutions are the winners, and the winning list can be obtained.

[0163] Through the solution of the above embodiments, participants can interactively select props, calculate the solution of the congruence equation based on the prime numbers and congruence numbers corresponding to each selected prop, and determine whether they win the prize according to whether the solution is consistent with the target solution. This avoids users collecting a large number of useless props, improves the interactive effect of users, and is also conducive to promoting the enthusiasm and activity of users. In addition, participants can freely choose props, increasing the fun of the lottery. Moreover, they don't know the relationship between this prop and the final winning in advance, retaining the element of unknown.

[0164] It should be understood that although Figure 2 , 6 , each step in the flowcharts of 7 is shown in sequence according to the indication of the arrow, but these steps are not necessarily executed in the order indicated by the arrow. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, Figure 2 , 6 , at least a part of the steps in 7 may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same moment, but can be executed at different moments. The execution order of these steps or stages is not necessarily sequential either, but can be executed alternately or in turn with at least a part of other steps or steps in other steps.

[0165] In one embodiment, as Figure 10 shown, a resource receiving device is provided. This device can be a software module, a hardware module, or a combination of both to become a part of a computer device. Specifically, the device includes: a page display module 1002, a prop display module 1004, a selection module 1006, and a receiving result display module 1008, where:

[0166] The page display module 1002 is used to display an interactive page;

[0167] The prop display module 1004 is used to respectively display candidate virtual props under each target interactive item on the interactive page;

[0168] The selection module 1006 is used to, in response to a selection operation triggered on the interactive page, select a target virtual prop from the candidate virtual props under each target interactive item;

[0169] The receiving result display module 1008 is used to display the resource receiving result after completing the selection operation of the target virtual props under each target interactive item; the resource receiving result is the result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interactive items form the congruence numbers of the congruence equation, and the prop representative values corresponding to the target virtual props form the modulus parameters of the congruence equation.

[0170] In one embodiment, the device further includes: an acquisition module 1010, a construction module 1012, and a calculation module 1014; wherein:

[0171] The acquisition module 1010 is configured to, after the selection operation of the target virtual items under each target interaction item is completed, acquire the item representative value corresponding to each selected target virtual item; and acquire the item representative value corresponding to the target interaction item corresponding to each target virtual item;

[0172] The construction module 1012 is configured to construct a congruence equation according to the item representative value and the item representative value;

[0173] The calculation module 1014 is configured to calculate the solution of the congruence equation.

[0174] In one embodiment, the device further includes: a sending module 1016; wherein:

[0175] The acquisition module 1010 is further configured to, after the selection operation of the target virtual items under each target interaction item is completed, acquire the item representative value corresponding to each selected target virtual item; and acquire the item representative value corresponding to the target interaction item corresponding to each target virtual item;

[0176] The sending module 1016 is configured to send the item representative value and the item representative value to the server, so that the server constructs a congruence equation according to the item representative value and the item representative value, and calculates the solution of the congruence equation.

[0177] In one embodiment, the sending module 1016 is further configured to: generate a data pair including the item representative value and the item representative value; acquire the user identifier; encapsulate the data pair and the user identifier into a data packet; send the data packet to the server; the user identifier is used to add the user identifier to the resource collection list and send the resource collection list to the second terminal when the server calculates the solution of the congruence equation according to the item representative value and the item representative value and the solution is consistent with the preset solution.

[0178] In one embodiment, the device further includes: a receiving module 1018; wherein:

[0179] The receiving module 1018 is configured to receive at least two candidate interaction items selected and sent by the second terminal; the candidate interaction items are interaction items selected by the second terminal from the interaction item set, and the interaction item set is generated and sent to the second terminal by the server;

[0180] The selection module 1006 is further configured to select the corresponding target interaction item from the candidate interaction items in response to the selection instruction corresponding to the candidate interaction item.

[0181] In one embodiment, the interactive page includes a live interactive page where the live audience interacts with the host user. The first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

[0182] In the above embodiment, by respectively displaying the candidate virtual items under each target interactive item on the interactive page, the corresponding target virtual item can be directly selected from the candidate virtual items. Based on the item representative values corresponding to all the selected target virtual items and the item representative values corresponding to the corresponding target interactive items, the solution of the congruence equation is calculated. According to the comparison between the solution of the congruence equation and the preset solution, the resource acquisition result is obtained, so as to ensure that all the selected target virtual items are useful items, avoid a large number of useless and repetitive virtual items, thereby improving the user's interaction effect, and at the same time being conducive to promoting the user's enthusiasm, improving the acquisition efficiency and activity of interactive resources.

[0183] In one embodiment, the selection module 1006 is further configured to, when the resource acquisition result is the result generated after the comparison between the solution of the congruence equation and the preset solution is consistent, obtain the operation instruction generated by the trigger of the resource acquisition result;

[0184] The page display module 1002 is further configured to enter the resource acquisition page according to the operation instruction;

[0185] The acquisition module 1010 is further configured to, in response to the resource selection operation on the resource acquisition page, obtain the corresponding interactive resources from the resource acquisition page.

[0186] In one embodiment, the device further includes: a determination module 1020; wherein:

[0187] The determination module 1020 is configured to, when the resource acquisition result is the result generated after the comparison between the solution of the congruence equation and the preset solution is inconsistent, determine the remaining interaction times;

[0188] The selection module 1006 is further configured to, when the remaining interaction times are greater than or equal to the preset interaction times, select a new target interactive item from the candidate interactive items, and perform the step of selecting the target virtual item from the candidate virtual items under each target interactive item.

[0189] In one embodiment, the acquisition module 1010 is further configured to, after completing the selection operation of the target virtual items under each target interactive item, obtain the preset solution pre-stored locally;

[0190] The acquisition module 1010 is further configured to, after completing the selection operation of the target virtual items under each target interactive item, send a preset solution acquisition instruction to the second terminal, and receive the preset solution returned by the second terminal in response to the preset solution acquisition instruction;

[0191] Among them, the preset solution is the target solution selected from the preset solution set; the preset solution set is generated by the server according to the respective item representative values corresponding to the interactive item set and the item representative value corresponding to the candidate interactive prop.

[0192] In the above embodiments, after completing the selection operation of the target virtual prop under each target interactive item, the resource receiving result is obtained by comparing the solution of the congruence equation with the preset solution. When the resource receiving result is the result generated after the solution of the congruence equation is consistent with the preset solution, the corresponding interactive resource is obtained from the resource acquisition page; when the resource receiving result is the result generated after the solution of the congruence equation is inconsistent with the preset solution, it is necessary to determine whether to continue the interaction to receive the interactive resource according to the remaining interaction times, thereby improving the user's interaction effect, promoting the user's enthusiasm, and enhancing the receiving efficiency and activity of the interactive resource.

[0193] For the specific limitations of the resource receiving device, reference can be made to the limitations on the resource receiving method in the above text, which will not be elaborated here. Each module in the above resource receiving device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor in the computer device in hardware form or be independent of it, or be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0194] In one embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 12 shown. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be implemented through WIFI, a carrier network, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a resource receiving method. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the outer shell of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0195] Those skilled in the art can understand, Figure 12The structure shown is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0196] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are performed: displaying an interactive page; respectively displaying candidate virtual items under each target interactive item on the interactive page; in response to a selection operation triggered on the interactive page, selecting a target virtual item from the candidate virtual items under each target interactive item; after completing the selection operations of the target virtual items under each target interactive item, displaying a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with a preset solution; the item representative value corresponding to the target interactive item constitutes the congruence number of the congruence equation, and the item representative value corresponding to the target virtual item constitutes the modulus parameter of the congruence equation.

[0197] In one embodiment, when the computer program is executed by the processor, the processor is further caused to perform the following steps: after completing the selection operations of the target virtual items under each target interactive item, obtaining the item representative value corresponding to each selected target virtual item; obtaining the item representative value corresponding to the target interactive item corresponding to each target virtual item; constructing a congruence equation according to the item representative value and the item representative value; calculating the solution of the congruence equation.

[0198] In one embodiment, when the computer program is executed by the processor, the processor is further caused to perform the following steps: after completing the selection operations of the target virtual items under each target interactive item, obtaining the item representative value corresponding to each selected target virtual item; obtaining the item representative value corresponding to the target interactive item corresponding to each target virtual item; sending the item representative value and the item representative value to the server, so that the server constructs a congruence equation according to the item representative value and the item representative value, and calculates the solution of the congruence equation.

[0199] In one embodiment, when the computer program is executed by the processor to perform the step of sending the item representative value and the item representative value to the server, the processor specifically performs the following steps: obtaining a user identifier; sending the item representative value, the item representative value, and the user identifier to the server; wherein, the user identifier is used to add the user identifier to the resource collection list and send the resource collection list to the second terminal when the server calculates the solution of the congruence equation according to the item representative value and the item representative value and the solution is consistent with the preset solution.

[0200] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: receiving at least two candidate interaction items selected and sent by a second terminal; the candidate interaction items being interaction items selected by the second terminal from an interaction item set, the interaction item set being generated and sent to the second terminal by a server; and in response to a selection instruction corresponding to a candidate interaction item, selecting a corresponding target interaction item from the candidate interaction items.

[0201] In one embodiment, the interaction page includes a live interaction page for a live audience to interact with a host user, the first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

[0202] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: when the resource collection result is a result generated after the solution of the congruence equation is compared with a preset solution and is consistent, obtaining an operation instruction generated by the triggering of the resource collection result; entering a resource acquisition page according to the operation instruction; and in response to a resource selection operation on the resource acquisition page, obtaining corresponding interaction resources from the resource acquisition page.

[0203] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: when the resource collection result is a result generated after the solution of the congruence equation is compared with a preset solution and is inconsistent, determining the remaining interaction times; when the remaining interaction times are greater than or equal to a preset interaction times, selecting a new target interaction item from the candidate interaction items, and performing the step of selecting a target virtual item from the candidate virtual items under each target interaction item.

[0204] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: after completing the selection operation of the target virtual items under each target interaction item, obtaining a preset solution pre-stored locally; or, after completing the selection operation of the target virtual items under each target interaction item, sending a preset solution acquisition instruction to the second terminal, and receiving the preset solution returned by the second terminal in response to the preset solution acquisition instruction; wherein the preset solution is a target solution selected from a preset solution set; the preset solution set is generated by the server according to the respective item representative values corresponding to the interaction item set and the prop representative values corresponding to the candidate interaction props.

[0205] In one embodiment, a computer-readable storage medium is provided, storing a computer program which, when executed by a processor, performs the following steps: presenting an interactive page; presenting candidate virtual items under each target interactive item on the interactive page; in response to a selection operation triggered on the interactive page, selecting a target virtual item from the candidate virtual items under each target interactive item; after completing the selection operations of the target virtual items under each target interactive item, displaying a resource collection result; the resource collection result is a result generated by comparing the solution of a congruence equation with a preset solution; the item representative values corresponding to the target interactive items form the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items form the modulus parameters of the congruence equation.

[0206] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: after completing the selection operations of the target virtual items under each target interactive item, obtaining the item representative values corresponding to each selected target virtual item; obtaining the item representative values corresponding to the target interactive items corresponding to each target virtual item; constructing a congruence equation according to the item representative values and the item representative values; and calculating the solution of the congruence equation.

[0207] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: after completing the selection operations of the target virtual items under each target interactive item, obtaining the item representative values corresponding to each selected target virtual item; obtaining the item representative values corresponding to the target interactive items corresponding to each target virtual item; sending the item representative values and the item representative values to the server, so that the server constructs a congruence equation according to the item representative values and the item representative values, and calculates the solution of the congruence equation.

[0208] In one embodiment, when the computer program is executed by the processor to perform the step of sending the item representative values and the item representative values to the server, the processor specifically performs the following steps: obtaining a user identifier; sending the item representative values, the item representative values and the user identifier to the server; wherein the user identifier is used to add the user identifier to the resource collection list and send the resource collection list to a second terminal when the server calculates the solution of the congruence equation according to the item representative values and the item representative values and the solution is consistent with the preset solution.

[0209] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: receiving at least two candidate interactive items selected and sent by a second terminal; the candidate interactive items are interactive items selected by the second terminal from an interactive item set, and the interactive item set is generated and sent to the second terminal by the server; and in response to a selection instruction corresponding to the candidate interactive items, selecting corresponding target interactive items from the candidate interactive items.

[0210] In one embodiment, the interactive page includes a live interactive page for the live audience to interact with the host user. The first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

[0211] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: when the resource collection result is the result generated after the solution of the congruence equation is compared and consistent with the preset solution, obtain the operation instruction generated when the resource collection result is triggered; enter the resource acquisition page according to the operation instruction; in response to the resource selection operation on the resource acquisition page, obtain the corresponding interactive resource from the resource acquisition page.

[0212] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: when the resource collection result is the result generated after the solution of the congruence equation is compared and inconsistent with the preset solution, determine the remaining number of interactions; when the remaining number of interactions is greater than or equal to the preset number of interactions, select a new target interaction item from the candidate interaction items, and perform the step of selecting the target virtual item from the candidate virtual items under each target interaction item.

[0213] In one embodiment, when the computer program is executed by a processor, the processor is further caused to perform the following steps: after completing the selection operation of the target virtual item under each target interaction item, obtain the preset solution pre-stored locally; or, after completing the selection operation of the target virtual item under each target interaction item, send a preset solution acquisition instruction to the second terminal, and receive the preset solution returned by the second terminal in response to the preset solution acquisition instruction; wherein, the preset solution is the target solution selected from the preset solution set; the preset solution set is generated by the server according to the respective item representative values corresponding to the interaction item set and the item representative values corresponding to the candidate interactive items.

[0214] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.

[0215] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, storage, database, or other medium used in the various embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0216] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the various technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered to be within the scope described in this specification.

[0217] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the scope of the invention patent. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.

Claims

1. A resource acquisition method, characterized in that, The method includes: Displaying an interactive page; Displaying candidate virtual props under each target interactive item on the interactive page; the candidate virtual props are virtualized item props for interaction for selection, and each virtual prop in the candidate virtual props has a corresponding prop representative value; In response to a selection operation triggered on the interactive page, selecting a target virtual prop from the candidate virtual props under each target interactive item; After completing the selection operation of the target virtual props under each target interactive item, displaying a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with a preset solution; the item representative values corresponding to the target interactive items constitute the congruence numbers of the congruence equation, and the prop representative values corresponding to the target virtual props constitute the modulus parameters of the congruence equation.

2. The method according to claim 1, wherein The method further includes: After completing the selection operation of the target virtual props under each target interactive item, obtaining the prop representative value corresponding to each selected target virtual prop; Obtaining the item representative value corresponding to the target interactive item corresponding to each target virtual prop; Constructing the congruence equation according to the prop representative value and the item representative value; Calculating the solution of the congruence equation.

3. The method according to claim 2, wherein The method further includes: After completing the selection operation of the target virtual props under each target interactive item, obtaining the prop representative value corresponding to each selected target virtual prop; Obtaining the item representative value corresponding to the target interactive item corresponding to each target virtual prop; Sending the item representative value and the prop representative value to the server, so that the server constructs a congruence equation according to the prop representative value and the item representative value, and calculates the solution of the congruence equation.

4. The method according to claim 3, wherein The method is applied to a first terminal, and the sending the item representative value and the prop representative value to the server includes: Obtaining a user identifier; Sending the item representative value, the prop representative value, and the user identifier to the server; Wherein, the user identifier is used to add the user identifier to the resource collection list and send the resource collection list to a second terminal when the server calculates the solution of the congruence equation according to the item representative value and the prop representative value, and the solution is consistent with the preset solution.

5. The method according to claim 1, characterized in that, The method is applied to a first terminal, and the method further includes: Receiving at least two candidate interactive items selected and sent by the second terminal; the candidate interactive items are interactive items selected by the second terminal from an interactive item set, and the interactive item set is generated and sent to the second terminal by the server; In response to a selection instruction corresponding to the candidate interactive item, selecting a corresponding target interactive item from the candidate interactive items.

6. The method according to claim 4 or 5, characterized in that, The interactive page includes a live interactive page for live audience to interact with the host user, the first terminal includes the terminal of the live audience, and the second terminal includes the terminal of the host user.

7. The method according to any one of claims 1 to 5, characterized in that, The method further includes: When the resource collection result is a result generated after comparing the solution of the congruence equation with the preset solution and they are consistent, obtaining an operation instruction generated by triggering the resource collection result; Entering a resource acquisition page according to the operation instruction; In response to a resource selection operation on the resource acquisition page, obtain corresponding interactive resources from the resource acquisition page.

8. The method according to any one of claims 1 to 5, characterized in that, The method further includes: When the resource collection result is a result generated after the solution of the congruence equation is compared with a preset solution and they are inconsistent, determine the remaining number of interactive times; When the remaining number of interactive times is greater than or equal to a preset number of interactive times, select a new target interactive item from the candidate interactive items, and perform the step of selecting a target virtual item from the candidate virtual items under each target interactive item.

9. The method according to any one of claims 1 to 5, characterized in that The method further includes: After completing the selection operation of the target virtual items under each target interactive item, obtain the preset solution pre-stored locally; or, After completing the selection operation of the target virtual items under each target interactive item, send a preset solution acquisition instruction to a second terminal, and receive the preset solution returned by the second terminal in response to the preset solution acquisition instruction; Wherein, the preset solution is a target solution selected from a preset solution set; the preset solution set is generated by the server according to the respective item representative values corresponding to the interactive item set and the item representative values corresponding to the candidate virtual items.

10. A resource collection device, characterized in that, The device includes: A page display module for displaying an interactive page; A prop display module for respectively displaying the candidate virtual items under each target interactive item on the interactive page; the candidate virtual items are virtualized item props for interaction for selection, and each virtual item in the candidate virtual items has a corresponding item representative value; A selection module for, in response to a selection operation triggered on the interactive page, selecting a target virtual item from the candidate virtual items under each target interactive item; A collection result display module for, after completing the selection operation of the target virtual items under each target interactive item, displaying a resource collection result; the resource collection result is a result generated after comparing the solution of the congruence equation with the preset solution; the item representative values corresponding to the target interactive items form the congruence numbers of the congruence equation, and the item representative values corresponding to the target virtual items form the modulus parameters of the congruence equation.

11. The device according to claim 10, characterized in that, The device further includes: An acquisition module for, after completing the selection operation of the target virtual items under each target interactive item, obtaining the item representative values corresponding to each selected target virtual item; obtaining the item representative values corresponding to the target interactive items corresponding to each target virtual item; A construction module for constructing the congruence equation according to the item representative values and the item representative values; A calculation module for calculating the solution of the congruence equation.

12. The device according to claim 11, characterized in that, The device further includes: The acquisition module is further configured to, after completing the selection operation of the target virtual items under each target interactive item, obtain the item representative values corresponding to each selected target virtual item; obtain the item representative values corresponding to the target interactive items corresponding to each target virtual item; A sending module for sending the item representative values and the item representative values to the server, so that the server constructs a congruence equation according to the item representative values and the item representative values, and calculates the solution of the congruence equation.

13. The device according to claim 12, characterized in that, The sending module is further configured to: generate a data pair including the item representative value and the prop representative value; obtain a user identifier; encapsulate the data pair and the user identifier into a data packet; and send the data packet to the server; The user identifier is used to add the user identifier to the resource collection list and send the resource collection list to the second terminal when the server calculates the solution of the congruence equation based on the item representative value and the prop representative value and the solution is consistent with the preset solution.

14. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 9 are implemented.

15. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Methods, devices and system of presenting application program

    CN108335144A