Resource allocation method and device, electronic equipment and readable storage medium

By introducing a combination of direct allocation mode and question-and-answer allocation mode into the resource allocation method, the problem of lack of interest in resource allocation in the existing technology is solved, and higher user experience and interactivity are achieved.

CN118798975APending Publication Date: 2024-10-18CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410460004.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-17
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing resource allocation methods cannot meet the interesting needs of users, especially in virtual resource interaction scenarios, the resource allocation model is single and lacks interactivity and entertainment.

Method used

Using a combination of direct allocation mode and question and answer allocation mode, the initiator sets resources to extract questions and answers, and the target party allocates resources according to the answers, increasing interactivity and interest.

Benefits of technology

It improves the user experience, increases the fun and interactivity of resource allocation, and makes the resource allocation process more entertaining and participatory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798975A_ABST
    Figure CN118798975A_ABST
Patent Text Reader

Abstract

The invention discloses a resource allocation method and device, electronic equipment and a readable storage medium, and belongs to the technical field of wireless. The resource allocation method comprises the following steps: in response to a mode selection operation of an initiator, determining a resource allocation mode which at least comprises a direct allocation mode and a question and answer allocation mode; obtaining a first resource set in response to the first setting operation, and obtaining a second resource set and related resource extraction questions and resource extraction answers in response to the second setting operation; pushing the first message to the target party; the first message comprises at least one of first information, second information and the resource extraction question, the first information is related to a direct allocation mode, and the second information is related to a question and answer allocation mode; and receiving a response message returned by the target party, and executing an operation of allocating resources in the first resource set or the second resource set to the target party according to the response message. Therefore, the interestingness requirement of the user can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of wireless technology, and specifically relates to a resource allocation method, device, electronic device and readable storage medium. Background Art

[0002] With the development of information technology, people can share resources with others and receive shared resources anytime and anywhere through mobile phones, tablet computers and other terminals. Taking the virtual resource interaction in the form of "red envelopes" as an example, users can put electronic greeting cards, gifts, etc. into "red envelopes", and then distribute them to a certain user individually, or send them to a group, and then members of the group can receive them. However, the red envelope resources received at this time are usually preset or random, which cannot meet the user's interest needs. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a resource allocation method, device, electronic device and readable storage medium to solve the problem that related resource allocation methods cannot meet the user's interest needs.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, a resource allocation method is provided, which is applied to a first device and includes:

[0006] In response to the mode selection operation of the initiator, determining a resource allocation mode, wherein the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0007] In response to a first setting operation of the initiator for the direct allocation mode, acquiring a first resource set, and in response to a second setting operation of the initiator for the question-and-answer allocation mode, acquiring a second resource set and a resource extraction question and a resource extraction answer related to the second resource set;

[0008] Pushing a first message to a target party; wherein the first message includes at least one of first information, second information, and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0009] A response message returned by the target party is received, and according to the response message, an operation of allocating resources in the first resource set or the second resource set to the target party is performed.

[0010] Optionally, the performing, according to the response message, an operation of allocating resources in the first resource set or the second resource set to the target party includes any one of the following:

[0011] When the response content included in the response message indicates that the direct allocation mode is selected, allocating a preset number of resources in the first resource set to the target party, or allocating resources randomly extracted from the first resource set to the target party;

[0012] When the response content included in the response message is an answer input by the target party to the resource extraction question, the resources in the second resource set are allocated to the target party according to a match between the input answer and the resource extraction answer.

[0013] Optionally, the resource extraction answer includes at least one valid answer, and each valid answer corresponds to an answer weight; and allocating the resources in the second resource set to the target party according to a match between the input answer and the resource extraction answer includes any of the following:

[0014] When the input answer is a valid answer in the resource extraction answer, according to the answer weight corresponding to the input answer, the resources in the second resource set corresponding to the answer weight are allocated to the target party;

[0015] When the input answer is not a valid answer among the resource extraction answers, a preset number of resources in the second resource set are allocated to the target party, or resources randomly extracted from the second resource set are allocated to the target party, or no resources in the second resource set are allocated to the target party.

[0016] Optionally, in response to the initiator's second setting operation for the question-answer distribution mode, obtaining a second resource set and a resource extraction question and a resource extraction answer related to the second resource set includes at least one of the following:

[0017] In response to the initiator's operation of editing the question and the answer, obtaining a resource extraction question and a resource extraction answer related to the second resource set;

[0018] In response to the initiator's selection operation on the predefined question bank, obtaining resource extraction questions and resource extraction answers related to the second resource set;

[0019] In response to the initiator's selection operation on the predefined question bank and the editing operation on the selected question and answer, resource extraction questions and resource extraction answers related to the second resource set are obtained.

[0020] Optionally, when the response content included in the response message is an answer input by the target party to the resource extraction question, the input answer satisfies at least one of the following:

[0021] The input answer is invisible to the target object, and the target object includes at least one of the following: the initiator, the service provider, and all target parties;

[0022] The input answers are not included in the data statistics;

[0023] The statistical results obtained based on the input answers are invisible to the target objects, and the target objects include at least one of the following: the initiator, the service provider, and all target parties.

[0024] Optionally, the first message also includes third information, and the third information is used to prompt at least one of the following: the proportion of all resources in the first resource set to the total allocated resources, the proportion of all resources in the second resource set to the total allocated resources, and the ratio of all resources in the first resource set to all resources in the second resource set;

[0025] Alternatively, the first information is also used to indicate the proportion of all resources in the first resource set to the total allocated resources; and / or the second information is also used to indicate the proportion of all resources in the second resource set to the total allocated resources.

[0026] Optionally, the first device is a server, a service device, etc.

[0027] In a second aspect, a resource allocation method is provided, which is applied to a second device and includes:

[0028] Receiving a first message sent by a first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information, and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0029] Displaying the first message and receiving input information from the target party in response to the first message;

[0030] Send a response message to the first device; wherein the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in a first resource set or a second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

[0031] Optionally, the input information of the receiving target party for the first message includes:

[0032] The selection information for the question-answer allocation mode and the corresponding resource extraction question input by the target party is received, and the question-answer information for the selected resource extraction question is received input by the target party.

[0033] Optionally, the second device is a device corresponding to the target party.

[0034] In a third aspect, a resource allocation method is provided, which is applied to a third device, including:

[0035] Sending resources to be allocated to the first device;

[0036] receiving a mode selection operation of the initiator for the resource to be allocated, and sending information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, where the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0037] Receive the initiator's first setting operation for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, the first device determining the first resource set related to the direct allocation mode, and determining the second resource set related to the question-and-answer allocation mode and the resource extraction questions and resource extraction answers related to the second resource set, and based on the input information of the target party, perform an operation of allocating resources in the first resource set or the second resource set to the target party.

[0038] Optionally, the third device is a device corresponding to the initiator.

[0039] In a fourth aspect, a resource allocation apparatus is provided, which is applied to a first device and includes:

[0040] A determination module, configured to determine a resource allocation mode in response to a mode selection operation of the initiator, wherein the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0041] an acquisition module, configured to acquire a first resource set in response to a first setting operation of the initiator for the direct allocation mode, and to acquire a second resource set and a resource extraction question and a resource extraction answer related to the second resource set in response to a second setting operation of the initiator for the question-and-answer allocation mode;

[0042] A push module, configured to push a first message to a target party; wherein the first message includes at least one of first information, second information, and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0043] A first receiving module, used to receive a response message returned by the target party;

[0044] An execution module is used to execute an operation of allocating resources in the first resource set or the second resource set to the target party according to the response message.

[0045] In a fifth aspect, a resource allocation apparatus is provided, which is applied to a second device, including:

[0046] A second receiving module is configured to receive a first message sent by a first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information, and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0047] A display module, used for displaying the first message;

[0048] A third receiving module, configured to receive input information of the target party in response to the first message;

[0049] A first sending module is used to send a response message to the first device; wherein the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in a first resource set or a second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

[0050] In a sixth aspect, a resource allocation apparatus is provided, which is applied to a third device, including:

[0051] A second sending module, used for sending resources to be allocated to the first device;

[0052] A first transceiver module is used to receive a mode selection operation of the initiator for the resource to be allocated, and send information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, and the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0053] The second transceiver module is used to receive the first setting operation of the initiator for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, so that the first device determines the first resource set related to the direct allocation mode, and determines the second resource set related to the question-and-answer allocation mode and the resource extraction question and resource extraction answer related to the second resource set, and performs the operation of allocating resources in the first resource set or the second resource set to the target party based on the input information of the target party.

[0054] In the seventh aspect, an electronic device is provided, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect, or implements the steps of the method described in the second aspect, or implements the steps of the method described in the third aspect.

[0055] In an eighth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented, or the steps of the method described in the third aspect are implemented.

[0056] In a ninth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect, or the steps of the method described in the second aspect, or the steps of the method described in the third aspect.

[0057] Through the solution in the embodiment of the present application, a hybrid allocation mode such as a combination of a direct allocation mode and a question-and-answer allocation mode can be adopted, so that the target party can select the required direct allocation mode or question-and-answer allocation mode to allocate resources based on its own situation, thereby meeting the user's interest needs and improving the user's application experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 is a flow chart of a resource allocation method provided in an embodiment of the present application;

[0059] Figure 2 It is a schematic diagram of the interface and process of the red envelope recipient in a specific embodiment of the present application;

[0060] Figure 3 It is a schematic diagram of the interface and process of the red envelope sender in a specific embodiment of the present application;

[0061] Figure 4A and Figure 4BIt is a schematic diagram of question type settings in a specific embodiment of the present application;

[0062] Figure 5 is a schematic diagram of a red envelope interface in a specific embodiment of the present application;

[0063] Figure 6 is a flow chart of another resource allocation method provided in an embodiment of the present application;

[0064] Figure 7 is a flow chart of another resource allocation method provided in an embodiment of the present application;

[0065] Figure 8 is a structural diagram of a resource allocation device provided in an embodiment of the present application;

[0066] Fig. 9 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0067] Fig.10 is a structural diagram of another resource allocation device provided in an embodiment of the present application;

[0068] Fig.11 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0070] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more.

[0071] The resource allocation method, device, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0072] See also Figure 1 , Figure 1is a flow chart of a resource allocation method provided in an embodiment of the present application, the method is applied to a first device, the first device is a server, a service device, etc.; Figure 1 As shown, the method comprises the following steps:

[0073] Step 11: In response to the mode selection operation of the initiator, determine a resource allocation mode, where the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0074] Step 12: In response to the initiator's first setting operation for the direct allocation mode, a first resource set is obtained, and in response to the initiator's second setting operation for the question-and-answer allocation mode, a second resource set and a resource extraction question and a resource extraction answer related to the second resource set are obtained; wherein the first resource set includes a specified number of resources extracted from the resource set corresponding to the initiator (for example, based on the initiator's setting operation), and the second resource set includes a specified number of resources extracted from the resource set corresponding to the initiator (for example, based on the initiator's setting operation); the number of resources corresponding to the first resource set and the second resource set may be the same or different;

[0075] Step 13: Pushing a first message to the target party; the first message includes at least one of the first information, the second information and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; for example, the first information is used to prompt the selection of the direct allocation mode, and the second information is used to prompt the selection of the question-and-answer allocation mode;

[0076] Step 14: Receive a response message returned by the target party, and according to the response message, perform an operation of allocating resources in the first resource set or the second resource set to the target party.

[0077] It can be seen from the above embodiments that through the solution in the present application, a hybrid allocation mode such as a combination of a direct allocation mode and a question-and-answer allocation mode can be adopted, so that the target party can choose the required direct allocation mode or question-and-answer allocation mode to allocate resources based on its own situation, thereby meeting the user's interest needs and improving the user's application experience.

[0078] In the embodiment of the present application, the resource may be a resource in the form of a red envelope, a picture, a video, an audio, etc. The following specific embodiment takes the resource as an example to explain the present application in detail, but is not limited thereto, and the form of the resource may be selected based on actual business needs.

[0079] The direct allocation mode is to directly allocate resources. For example, taking the distribution of red envelopes as an example, Figure 2As shown, in the direct allocation mode, the initiator can send the red envelope directly to the target party through the first device (such as a server) in the form of equal-amount red envelopes or lucky red envelopes; after receiving the red envelope message, the target party can directly click to open the red envelope to obtain the corresponding red envelope amount.

[0080] The question-answer allocation mode allocates resources based on the answers to resource extraction questions. Figure 2 As shown, in the question-and-answer distribution mode, after the target party receives the red envelope message through the first device (such as a server), he needs to click to start answering, and then answer the displayed question such as "What grade is Ms. Zhang's child in elementary school?" and after submitting the answer, the red envelope is distributed based on the answer. For example: if the answer is wrong, there will be no red envelope, or only a small amount of "consolation prize" will be obtained; if the answer is correct, there will be a red envelope and the corresponding red envelope amount will be obtained.

[0081] based on Figure 2 The content shown compares the differences between the direct allocation model and the question-and-answer allocation model from the perspective of the red envelope recipient: Compared with the direct allocation model, the question-and-answer allocation model adds a question-answering link, and the answering results affect the final distribution of the red envelope amount. For example, if you answer correctly, you can receive a red envelope (i.e., participate in the red envelope amount distribution), but if you answer incorrectly, you cannot receive a red envelope; or, according to the correct answer, incorrect answer, or the degree of proximity to the correct answer, different red envelope bonus weight factors are allocated. When the number of red envelopes is less than the total number of people participating in the red envelope grabbing model, the red envelope grabbing in the direct allocation model is completely a matter of hand speed, and the quick hands get it, while the red envelope grabbing in the question-and-answer allocation model, because of the question-answering link, the slow hands still have the opportunity to participate, which increases the fun of the red envelope grabbing game. Further with the help of the question-answering mechanism, the interactivity of the red envelope grabbing game can be increased, the entertainment can be improved, and it is also expected to enhance the cohesion of the team and the intimacy between relatives, and improve the competitiveness of the corresponding products.

[0082] The first setting operation and the second setting operation may be input operations of the initiator on the display interface of the corresponding device. Figure 3 As shown, in the direct allocation mode, the initiator can set the number and total amount of red envelopes on the display interface of its corresponding device, and put money into the red envelopes; in the question-and-answer allocation mode, the initiator can set the number and total amount of red envelopes and set the questions on the display interface of its corresponding device, and after setting the questions, click the "Put Money into Red Envelopes" button to execute the operation of putting money into red envelopes. All answerers share the total fund pool (i.e., resources to be allocated). Optional, such as Figure 3 As shown, you can associate setting a topic with putting money into a red envelope. For example, you need to first click the "Set Topic" button to set the topic, and then the "Put Money into Red Envelope" button can be clicked after setting the topic, that is, you cannot click the "Put Money into Red Envelope" button before setting the topic.

[0083] The resource extraction questions can be selected from different types of questions, such as judgment questions, single-choice questions, multiple-choice questions, fill-in-the-blank questions, etc. The resource extraction questions can be selected from different types of questions, such as knowledge (such as history, geography, etc.), brain teasers, lantern riddles, couplets, company policies (such as three hearts and five forces, etc.), colleague relationships (such as who has the longest working years, who has the oldest child, etc.), family and friend relationships (such as the preferences of the elderly, children's grades, etc.), etc. By choosing questions reasonably, while improving the entertainment of the game, it is also expected to improve the cohesion of the team and the close relationship between relatives.

[0084] Optionally, the target party can choose the direct allocation mode or the question-and-answer allocation mode based on the first message received. For example, taking the distribution of red envelopes as an example, the question-and-answer mode (i.e., the question-and-answer allocation mode) or the traditional lucky red envelope mode (i.e., the direct allocation mode) can be selected.

[0085] In the application of this case, the initiator needs to set two resource allocation modes at the same time and leave flexibility to the target party, allowing it to choose any resource allocation mode. The basic considerations are as follows:

[0086] If the initiator only sets the question-and-answer distribution mode and requires the target party to choose the question-and-answer distribution mode, then in certain situations, for example, if the initiator (such as a company leader) sets the red envelope question to a very professional question, the target party (such as an employee) may "refuse" to answer the question to grab the red envelope, and the situation may be embarrassing.

[0087] The proposal of this application that "the initiator needs to set two resource allocation modes at the same time and leave flexibility to the target party, allowing it to choose any resource allocation mode at will" can avoid the above-mentioned embarrassing situation and improve user acceptance of this solution.

[0088] It should be pointed out that in the application embodiment, the initiator can issue red envelopes through the application installed on its corresponding device; similarly, the target party can receive red envelopes through the application installed on its corresponding device. Therefore, the initiator and target party involved in this application actually refer to: when the above-mentioned application is installed on any electronic device, and the registered account of the initiator is logged in to the application, the electronic device can be considered to represent the "initiator" at this time; and when the above-mentioned application is installed on any electronic device, and the registered account of the target party is logged in to the application, the electronic device can be considered to represent the "target party" at this time. The above-mentioned application can be an instant messaging application, etc.

[0089] Optionally, the initiator may set the resource extraction question and the resource extraction answer in different ways. The process of obtaining the resource extraction question and the resource extraction answer in the above step 12 may include:

[0090] (1) In response to the initiator's operation of editing the question and the answer, obtaining a resource extraction question and a resource extraction answer related to the second resource set; this may be understood as setting a personalized question;

[0091] (2) in response to the initiator's selection operation of a predefined question bank, obtaining a resource extraction question and a resource extraction answer related to the second resource set; the predefined question bank can be selected as a default question bank;

[0092] (3) In response to the initiator's selection operation on the predefined question bank and the editing operation on the selected question and answer, resource extraction questions and resource extraction answers related to the second resource set are obtained; this predefined question bank can be selected as a default question bank.

[0093] Optionally, when setting resource extraction questions and resource extraction answers, at least one valid answer can be set for each resource extraction question, that is, the corresponding resource extraction answer can include at least one valid answer, each valid answer has a corresponding answer weight, different valid answers can be assigned different answer weights, and the corresponding allocated resources such as the red envelope amount range are affected by the answer weight.

[0094] In an optional implementation, when setting resource extraction questions and answers based on the above method (1), such as Figure 3 Option 1 (personalized questions) shown in the figure may include: S1, selecting the question type, which is a required step; S2, setting the question stem, options and answers, which is a required step; S3, setting the validity and weight of the answer, which is an optional step; wherein,

[0095] For S1, when choosing a question type (must choose), the question types can include true or false questions, single-choice questions, multiple-choice questions, fill-in-the-blank questions, etc.

[0096] For S2, when setting the question stem, options and answers, for example:

[0097] ① For true or false questions, the stem (must be set) is a proposition; the options (provided by default, no need to set) are 2 radio buttons; the answer (must be set) is true or false;

[0098] ② For multiple-choice questions, such as Figure 4A As shown in the figure, the stem (must be set) is a question (such as what grade is Xiao Wang in?) or a statement with fill-in-the-blanks (such as Xiao Wang is in __ grade.); the options (must be set) are several radio buttons (or radio drop-down menus, progress bars, etc.), and the contents of the radio buttons need to be set / filled in (such as 1. First grade, 2. Second grade, 3. Third grade, ...); the answer (must be set) is which radio button is correct (such as 3 is the correct answer);

[0099] ③ For multiple-choice questions, the stem (must be set) is a question (e.g., the three hearts of the three hearts and five powers include which of the following?) or a statement with fill-in-the-blanks (e.g., the three hearts of the three hearts and five powers include __.); the options (must be set) are several checkboxes (or multiple-select drop-down menus), and the contents of the checkboxes need to be set / filled in (e.g., 1. Responsibility, 2. Diligence, 3. Sincerity, 4. Enterprising spirit...); the answer (must be set) is which checkbox combinations are correct (e.g., 1+2+3 is the correct answer);

[0100] ④For fill-in-the-blank questions, the stem (must be set) is a question (such as What grade is Xiao Wang in?) or a declarative sentence with fill-in-the-blanks (such as Xiao Wang is in ___ grade). The options do not need to be set; the answer (must be set) is text (such as third grade).

[0101] Optionally, you can set the validity and weight for the answer. This is an optional step. By default, one answer set in S2 is a valid answer (i.e., selecting this answer allows you to participate in resource (such as red envelope) allocation), and an answer not set in S2 is an invalid answer (i.e., selecting this answer does not allow you to participate in resource (such as red envelope) allocation). For example, one valid answer set in S2 can be set with a default weight (such as α=200%). In addition, the resource allocation initiator can modify the default weight of the valid answer (such as setting α=300%).

[0102] Optionally, the initiator can set more than one valid answer. All valid answers can use the default weight (for example, if there are 3 valid answers, the weight distribution is α 0 =200% (1 answer set in S2), α 1 =α 2 = 100% (other valid answers not set in S2), and the weights of these valid answers can also be modified independently. For example:

[0103] a) For a single-choice question, for example, the stem is 'What grade is Xiao Wang in? ', and the options are 1. First grade, 2. Second grade, 3. Third grade, ..., the valid answer set in S2 is 3. Third grade. Figure 4B (If you can click on Figure 4A In S3, you can set 2. Second grade and 4. Fourth grade as valid answers (the principle behind this is to tolerate certain deviations, reduce game difficulty, and increase game participation), and you can set weights for these three answers separately, such as: 3. Third grade has a weight of 200%, 2. Second grade has a weight of 50%, and 4. Fourth grade has a weight of 50%.

[0104] b) For multiple-choice questions, for example, if the question stem is 'Which of the three hearts of the three hearts and five powers are included? ', the options are 1. Responsibility, 2. Diligence, 3. Sincerity, 4. Enterprising spirit, and the valid answer set in S2 is 1+2+3; in S3, 1, 2, 3, 1+2, 1+3, 2+3 can be set as valid answers (the principle behind this is that multiple-choice questions allow fewer choices), and weights can be set for these answers respectively, such as: the weight of the valid answer 1+2+3 is 200%, the weight of the valid answers 1+2, 1+3 and 2+3 is 100%, and the weight of the valid answers 1, 2 and 3 is 50%.

[0105] c) For fill-in-the-blank questions, for example, if the question stem is 'What grade is Xiao Wang in? ', one valid answer set in S2 is grade 3, and in S3, you can set grade 3, three, 3, third grade of primary school, and third grade of primary school as valid answers (the principle behind this is that the text of the answer to the fill-in-the-blank question is relatively divergent, and the answer may have many text variants), and set the same weight for all valid answers.

[0106] In another optional implementation, when setting resource extraction questions and answers based on the above method (2), such as Figure 3 As shown in Option 2 (default question bank), the initiator can select questions from the default question bank (such as knowledge (such as history, geography, etc.), brain teasers, riddles, couplet question banks, etc.), thereby simplifying the difficulty of question setting and avoiding the cost of self-editing questions. In this case, the service provider can provide candidate question banks through the system default question bank, question bank mall, etc.; the question bank can be provided independently by the service provider, or it can be set and shared by other users. The question bank can also be customized according to specific social relationships (such as corporate APP, etc.).

[0107] In another optional implementation, when setting resource extraction questions and answers based on the above method (3), such as Figure 3 In option 3 (modify the default question bank) shown, the initiator can select questions from the default question bank, and then make some customized modifications to the default question bank, such as setting the question stem, options and answers in S2, and setting the validity and weight of the answers in S2. This can avoid editing the questions completely from scratch, simplify the difficulty of question setting, and avoid the cost of editing the questions completely from scratch.

[0108] Optionally, the solution in this application can support sharing the question bank for others to use. The sharing method can be point-to-point, point-to-multipoint (such as group sending), etc. through social APP, etc., or through the operator's question bank mall.

[0109] In the embodiment of the present application, the response message returned by the target party may be that the direct allocation mode is selected, or an answer to the resource extraction question is input. The above operation of allocating resources in the first resource set or the second resource set to the target party according to the response message may include any of the following:

[0110] (a) when the response content included in the response message indicates that the direct allocation mode is selected, a preset number of resources in the first resource set are allocated to the target party, or resources randomly extracted from the first resource set are allocated to the target party; the preset number may be set based on actual demand;

[0111] (b) When the response content included in the response message is an answer input by the target party to the resource extraction question, the resources in the second resource set are allocated to the target party according to the matching between the input answer and the resource extraction answer.

[0112] For example, taking the distribution of red envelopes as an example, for (a) above, the target party can Figure 5 Click the "Normal Red Packet" button on the red packet response page shown in the figure to select the direct distribution mode to obtain an equal amount of red packets or a lucky red packet; for the above (b), the target party can Figure 5 Click the "Answer" button on the red envelope response page shown to enter the question-answering interface, and enter the answer to the red envelope extraction question on the question-answering interface. It should be noted that the target party's input operation can take a variety of forms, such as keyboard input, voice input, etc., and this application does not limit this.

[0113] Optionally, the matching of the input answer and the resource extraction answer can be: 1) The input answer and the resource extraction answer are consistent, in which case the input answer and the resource extraction answer are considered to match and are completely matched; 2) For multiple-choice answers, if the input answer and the resource extraction answer are partially consistent, in which case the input answer and the resource extraction answer are considered to partially match; 3) If the input answer and the resource extraction answer are completely inconsistent, that is, the input answer is an incorrect answer, in which case the input answer and the resource extraction answer are considered to not match. This matching situation can be defined based on the actual needs of the initiator, and this application does not limit this.

[0114] Optionally, if the resource extraction answer includes at least one valid answer, each valid answer corresponds to an answer weight, the allocation of resources in the second resource set to the target party according to the matching between the input answer and the resource extraction answer may include any of the following:

[0115] (I) when the input answer is a valid answer in the resource extraction answer, according to the answer weight corresponding to the input answer, allocating the resources in the second resource set corresponding to the answer weight to the target party;

[0116] (II) When the input answer is not a valid answer among the resource extraction answers, a preset number of resources in the second resource set (for example, based on the setting operation of the initiator, similar to equal red envelopes, etc.) are allocated to the target party, or resources randomly extracted from the second resource set are allocated to the target party, or no resources in the second resource set are allocated to the target party.

[0117] Optionally, the answer weight can be customized by the resource initiator or pre-set by the service provider. For example, if the number of resources in the second resource set is N, the corresponding total number of resources is M, and the answer weight corresponding to the answer input by a target party is α, then The interval allocates resources to the target party, or directly Assigned to the target party.

[0118] For instance, taking the distribution of red envelopes as an example, the initiator of the red envelopes can set different total red envelope amounts (denoted as M1 and M2) and different total numbers of red envelopes (denoted as N1 and N2) for the question-answering mode (i.e., question-and-answer distribution mode) and the ordinary mode (i.e., direct distribution mode), and adopt different red envelope distribution processes for the question-answering mode and the ordinary mode respectively.

[0119] For example, the red envelope distribution process in the question answering mode (i.e., question-answering distribution mode) may include:

[0120] Step 0-0, initialization settings:

[0121] - Set the total amount of red envelopes in the answering mode (unit: minimum amount unit) to be equal to M1; where M1 is a positive integer, and M1 is the total amount of red envelopes in the answering mode initially set by the red envelope issuer;

[0122] - Set the total number of red envelopes in the question answering mode to N1; where N1 is a positive integer, and N1 is the total number of red envelopes in the question answering mode initially set by the red envelope issuer;

[0123] - Initialize L valid answers (L ≥ 1), and the corresponding weight set: [α 0 α 1 …α L-1 ], where valid answers are those that can participate in the red envelope distribution.

[0124] Step 0-1, if N1=0 (red envelopes have been sent out), or timeout occurs (such as no one has received the red envelopes for a few days), or the red envelope initiator actively ends the red envelope process, then jump to Step 0-4. Otherwise, continue the red envelope process.

[0125] Let's assume that the next user (such as user A) starts answering questions and jump to Step 0-2.

[0126] Step 0-2, if user A selects an invalid answer, use any of the following methods:

[0127] -Method 1: User A does not participate in the red envelope distribution and jumps to Step 0-1;

[0128] -Method 2: Set the red envelope amount of user A to X = min{M1, B}, where B is a preset parameter or a parameter entered by the red envelope initiator; set M1←M1-X, and jump to Step 0-1;

[0129] -Method 3: Randomly generate a positive integer R in the interval (0, min{M1, B}), where B is a preset parameter or a parameter entered by the red envelope initiator; set the red envelope amount of user A to X = R; set M1←M1-X, and jump to Step 0-1;

[0130] In method 1, M1 and N1 are not changed;

[0131] In Method 2 and Method 3, only the M1 value needs to be modified, but the N1 value is not modified. Note that Method 2 and Method 3 are "consolation prizes".

[0132] Optionally, user A cannot continue to grab red envelopes.

[0133] Optionally, user A may receive a prompt that the answer is wrong.

[0134] Step 0-3: If user A selects a valid answer and the weight of the valid answer is α, the following process is executed:

[0135] -exist A positive integer R is randomly generated within the interval, and the red envelope amount of user A is set to X = R, or the red envelope amount of user A is set to X = max{R, R0}, where R0 is the minimum red envelope amount;

[0136] -Set M1←M1-X, N1←N1-1;

[0137] - Return to Step 0-1.

[0138] Step 0-4, the red envelope process ends.

[0139] Optionally, all users can see the correct answer by clicking on the red envelope record. The correct answer cannot be viewed before the red envelope process ends to avoid collusion among the red envelope recipients.

[0140] It should be noted that the above minimum amount unit is the minimum unit of the red envelope amount, such as 1 cent, to ensure that M1 is a positive integer. Optionally, as an enhanced solution, M1 does not need integer constraints, and can be rounded off when determining the red envelope amount.

[0141] The above valid answers are the answers that can participate in the red envelope distribution. For example: For a multiple-choice question containing 3 items (A, B, C), there are 2 3 -1 = 7 candidate answers, 3 of which (such as A+B, A, B) can be specified as valid answers, and weights α are assigned to these 3 valid answers respectively l , l = 0, 1, 2, such as α 0 =200% (corresponding to the valid answer A+B), α 1 =100% (corresponding to the valid answer A), α 2 =100% (corresponding to the valid answer B). As for the other four answers (such as C, A+C, B+C, A+B+C), they are not valid answers (i.e., wrong answers) and will not participate in the subsequent red envelope distribution.

[0142] For another example, the red envelope distribution process in the normal mode (i.e., direct distribution mode) may include:

[0143] Step 1-0, initialization settings:

[0144] -Set the total amount of red envelopes in normal mode (unit: minimum amount unit) to be equal to M2; where M2 is a positive integer, and M2 is the total amount of red envelopes in normal mode initially set by the red envelope issuer;

[0145] -Set the total number of red envelopes in normal mode to N2; where N2 is a positive integer, and N2 is the total number of red envelopes in normal mode initially set by the red envelope issuer.

[0146] Step 1-1, if N2=0 (the red envelopes have been sent out), or timeout occurs (such as no one has received the red envelopes for a few days), or the red envelope initiator actively ends the red envelope process, then the red envelope process ends; otherwise, the red envelope process continues.

[0147] Let's assume that a user (such as user A) starts grabbing red envelopes and jump to Step 1-2.

[0148] Step 1-2, execute the following process:

[0149] - Randomly generate a positive integer R in the interval (0, M2) and set the red envelope amount of user A to X = R, or set the red envelope amount of user A to X = max{R, R0}, where R0 is the minimum red envelope amount;

[0150] -Set M2←M2-X, N2←N2-1;

[0151] - Return to Step 1-1.

[0152] Optionally, when all the ordinary red envelopes are grabbed, only the question-answering red envelope option will be displayed on the red envelope recipient interface.

[0153] Optionally, if the user can see the ordinary red envelopes first, but after clicking in, the ordinary red envelopes have been snatched up, the user will be prompted and can further choose whether to grab the red envelope for answering questions or give up grabbing the red envelope.

[0154] Optionally, when setting red envelope parameters, the red envelope issuer can choose whether to use the "simultaneous activation of ordinary red envelopes and answering red envelopes" function. If the red envelope issuer chooses to use the "simultaneous activation of ordinary red envelopes and answering red envelopes" function, it is necessary to set the fund pools for ordinary red envelopes and answering red envelopes respectively, and set the total number of ordinary red envelopes and answering red envelopes respectively. In an optional implementation, the user can choose the proportion of the amount of ordinary red envelopes or answering red envelopes to the fund pool, and choose the proportion of the number of ordinary red envelopes or answering red envelopes to the total number of red envelopes.

[0155] In an optional implementation, for privacy protection considerations, on the red envelope receiving status interface, ordinary red envelopes and answering red envelopes may not be distinguished, and the red envelope amounts may be sorted. In addition, on the red envelope receiving status interface, the red envelope receiving time may not be displayed.

[0156] In an embodiment of the present application, in order to encourage answering questions to enhance the fun, different resource pools (such as bonus pools) can be set for the question-answering allocation mode and the direct allocation mode, and prompts can be given to encourage the allocation of resources based on answering questions. Optionally, the first message pushed to the target party may also include third information, and the third information is used to prompt at least one of the following: the proportion of all resources in the first resource set to the total allocated resources, the proportion of all resources in the second resource set to the total allocated resources, and the ratio of all resources in the first resource set to all resources in the second resource set.

[0157] Optionally, the first information may also be used to indicate the proportion of all resources in the first resource set to the total allocated resources; and / or, the second information may also be used to indicate the proportion of all resources in the second resource set to the total allocated resources.

[0158] In this way, the difference between resource allocation in the question-and-answer allocation mode and the direct allocation mode can be prompted, thereby encouraging users to allocate resources based on answering questions.

[0159] For example, taking the distribution of red envelopes as an example, the size of the red envelope fund pool under the question-answering mode (i.e., question-answering allocation mode) and the normal mode (i.e., direct allocation mode) can be displayed on the red envelope interface. For example, if the size of the red envelope fund pool is 100 yuan, 90 yuan of it can be allocated to the red envelopes in the question-answering mode (i.e., 90% of the fund pool, a larger fund pool), and 10 yuan of it can be allocated to the red envelopes in the normal mode (i.e., 10% of the fund pool). This allocation information can be prompted on the red envelope interface. Alternatively, the red envelope interface simply prompts that the red envelope income is less in the normal mode. Alternatively, the button text of the ordinary red envelope is set to "Sunshine" or other text on the red envelope interface to imply that the red envelope amount in the normal mode is less.

[0160] In some application scenarios, the party issuing the red envelope (such as a company leader) may want to count the answer results. For example, the question is "What are the three hearts of the three hearts and five powers?" The leader wants to collect the answer results. In some application scenarios, the potential recipients of the red envelope (such as employees) have concerns about the public answer results and are unwilling to participate in the red envelope grab.

[0161] In order to deal with the above-mentioned similar problems, privacy protection is introduced in the embodiment of the present application to prevent the leakage of the user input answer. The service provider should provide a privacy option for the red envelope issuer to choose, and present the privacy option selected by the red envelope issuer in the red envelope interface of the red envelope recipient.

[0162] Optionally, in the case of introducing privacy protection, when the response content included in the response message returned by the target party is the answer input by the target party to the resource extraction question, the input answer may satisfy at least one of the following:

[0163] A) the input answer is invisible to the target object, and the target object includes at least one of the following: the initiator, the service provider, and all target parties;

[0164] B) The answers entered are not included in the data statistics;

[0165] C) The statistical results obtained based on the input answers are invisible to the target objects, and the target objects include at least one of the following: the initiator, the service provider, and all target parties.

[0166] For example, taking the distribution of red envelopes as an example, the privacy options provided by the service provider may include at least one of the following:

[0167] - Whether the answer of A is visible to B; A includes any of the following: all red envelope recipients, red envelope recipients with correct answers, and red envelope recipients with incorrect answers; B includes any of the following: red envelope issuers, service providers, and all participants;

[0168] -Whether the answer to A is included in the background data statistics (such as the average answer accuracy); A includes any of the following items: all red envelope recipients, red envelope recipients with correct answers, and red envelope recipients with incorrect answers;

[0169] -Whether the background data statistics (such as average answer accuracy) are visible to B; where B includes any of the following: the red envelope issuer, all participants (including but not limited to all red envelope recipients, such as other members in the group).

[0170] Optionally, the system may provide a default option (to protect privacy). For example, the default option includes one or more of the following: the answers of all red envelope recipients are not visible to the red envelope issuer and all game participants; the answers of all red envelope recipients can be included in the background data statistics; the background data statistics are visible to the red envelope issuer and all game participants.

[0171] See also Figure 6 , Figure 6 is a flow chart of a resource allocation method provided in an embodiment of the present application, the method is applied to a second device, and the second device is a device corresponding to the target party. Figure 6 As shown, the method comprises the following steps:

[0172] Step 61: receiving a first message sent by a first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; for example, the first information is used to prompt the selection of the direct allocation mode, and the second information is used to prompt the selection of the question-and-answer allocation mode;

[0173] Step 62: displaying the first message, and receiving input information of the target party in response to the first message;

[0174] Step 63: Send a response message to the first device; the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in the first resource set or the second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

[0175] Optionally, the first device is a server, a service device, etc.

[0176] It can be seen from the above embodiments that through the solution in the present application, a hybrid allocation mode such as a combination of a direct allocation mode and a question-and-answer allocation mode can be adopted, so that the target party can choose the required direct allocation mode or question-and-answer allocation mode to allocate resources based on its own situation, thereby meeting the user's interest needs and improving the user's application experience.

[0177] In the embodiment of the present application, the resources (such as resources to be allocated) may be resources in the form of red envelopes, pictures, videos, audios, etc.

[0178] The direct allocation mode, question-and-answer allocation mode, resource extraction questions, the first resource set, the second resource set, etc. can be referred to the explanations in the above embodiments and will not be repeated here.

[0179] The operation of allocating resources in the first resource set or the second resource set to the second device (ie, the target party) can be referred to the description in the above embodiment, which will not be repeated here.

[0180] Optionally, the input information of the target party for the first message may include: selection information of the question and answer allocation mode and the corresponding resource extraction question input by the target party, and question and answer information of the target party for the selected resource extraction question.

[0181] For example, taking the distribution of red envelopes as an example, the target party can Figure 5 Click the "Normal Red Packet" button on the red packet response page shown to select the direct allocation mode to obtain an equal amount of red packets or a lucky red packet; or the target party can Figure 5 Click the "Answer" button on the red envelope response page shown to enter the question-answering interface, and enter the answer to the red envelope extraction question on the question-answering interface. It should be noted that the target party's input operation can take a variety of forms, such as keyboard input, voice input, etc., and this application does not limit this.

[0182] Optionally, when the response content included in the response message is that the direct allocation mode is selected, the first device (such as a server) allocates a preset number of resources in the first resource set to the target party, or allocates resources randomly extracted from the first resource set to the target party; the preset number can be set based on actual needs. Alternatively, when the response content included in the response message is the answer input by the target party to the resource extraction question, the first device (such as a server) allocates the resources in the second resource set to the target party based on the matching of the input answer and the resource extraction answer.

[0183] Optionally, the matching of the input answer and the resource extraction answer can be: 1) The input answer and the resource extraction answer are consistent, in which case the input answer and the resource extraction answer are considered to match and are completely matched; 2) For multiple-choice answers, if the input answer and the resource extraction answer are partially consistent, in which case the input answer and the resource extraction answer are considered to partially match; 3) If the input answer and the resource extraction answer are completely inconsistent, that is, the input answer is an incorrect answer, in which case the input answer and the resource extraction answer are considered to not match. This matching situation can be defined based on the actual needs of the initiator, and this application does not limit this.

[0184] See also Figure 7 , Figure 7 is a flow chart of a resource allocation method provided in an embodiment of the present application, the method is applied to a third device, and the third device is a device corresponding to the initiator. Figure 7 As shown, the method comprises the following steps:

[0185] Step 71: Sending resources to be allocated to the first device; for example, the resources to be allocated may be determined based on an input operation of the initiator on the third device and sent to the first device;

[0186] Step 72: receiving a mode selection operation of the initiator for the resource to be allocated, and sending information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, where the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0187] Step 73: Receive the initiator's first setting operation for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, the first device determining the first resource set related to the direct allocation mode, and determining the second resource set related to the question-and-answer allocation mode and the resource extraction question and resource extraction answer related to the second resource set, and based on the input information of the target party, perform an operation of allocating resources in the first resource set or the second resource set to the target party.

[0188] Optionally, the first device is a server, a service device, etc.

[0189] It can be seen from the above embodiments that through the solution in the present application, a hybrid allocation mode such as a combination of a direct allocation mode and a question-and-answer allocation mode can be adopted, so that the target party can choose the required direct allocation mode or question-and-answer allocation mode to allocate resources based on its own situation, thereby meeting the user's interest needs and improving the user's application experience.

[0190] In the embodiment of the present application, the resources (such as resources to be allocated) may be resources in the form of red envelopes, pictures, videos, audios, etc.

[0191] The direct allocation mode, question-and-answer allocation mode, resource extraction questions, first setting operation, first resource set, second setting operation, second resource set, etc. can be referred to the explanations in the above embodiments and will not be repeated here.

[0192] The operation of allocating resources in the first resource set or the second resource set to the target party can be referred to the description in the above embodiment, which will not be repeated here.

[0193] It should be noted that the resource allocation method provided in the embodiment of the present application can be executed by a resource allocation device or a control module in the resource allocation device for executing the resource allocation method. In the embodiment of the present application, the resource allocation device provided in the embodiment of the present application is described by taking the resource allocation device executing the resource allocation method as an example.

[0194] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a resource allocation device provided in an embodiment of the present application, the device is applied to a first device, the first device is, for example, a server, a service device, etc.; Figure 8 As shown, the resource allocation device 80 includes:

[0195] A determination module 81, configured to determine a resource allocation mode in response to a mode selection operation of the initiator, wherein the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0196] An acquisition module 82, configured to acquire a first resource set in response to a first setting operation of the initiator for the direct allocation mode, and to acquire a second resource set and a resource extraction question and a resource extraction answer related to the second resource set in response to a second setting operation of the initiator for the question-and-answer allocation mode;

[0197] A push module 83 is used to push a first message to a target party; wherein the first message includes at least one of first information, second information and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0198] A first receiving module 84, configured to receive a response message returned by the target party;

[0199] The execution module 85 is used to execute the operation of allocating the resources in the first resource set or the second resource set to the target party according to the response message.

[0200] Through the solution in the embodiment of the present application, a hybrid allocation mode such as a combination of a direct allocation mode and a question-and-answer allocation mode can be adopted, so that the target party can select the required direct allocation mode or question-and-answer allocation mode to allocate resources based on its own situation, thereby meeting the user's interest needs and improving the user's application experience.

[0201] Optionally, the execution module 85 is specifically configured to execute any of the following:

[0202] When the response content included in the response message indicates that the direct allocation mode is selected, allocating a preset number of resources in the first resource set to the target party, or allocating resources randomly extracted from the first resource set to the target party;

[0203] When the response content included in the response message is an answer input by the target party to the resource extraction question, the resources in the second resource set are allocated to the target party according to a match between the input answer and the resource extraction answer.

[0204] Optionally, the resource extraction answer includes at least one valid answer, and each valid answer corresponds to an answer weight; the execution module 85 is also used for any of the following:

[0205] When the input answer is a valid answer in the resource extraction answer, according to the answer weight corresponding to the input answer, the resources in the second resource set corresponding to the answer weight are allocated to the target party;

[0206] When the input answer is not a valid answer among the resource extraction answers, a preset number of resources in the second resource set are allocated to the target party, or resources randomly extracted from the second resource set are allocated to the target party, or no resources in the second resource set are allocated to the target party.

[0207] Optionally, the acquisition module 82 is further used for at least one of the following:

[0208] In response to the initiator's operation of editing the question and the answer, obtaining a resource extraction question and a resource extraction answer related to the second resource set;

[0209] In response to the initiator's selection operation on the predefined question bank, obtaining resource extraction questions and resource extraction answers related to the second resource set;

[0210] In response to the initiator's selection operation on the predefined question bank and the editing operation on the selected question and answer, resource extraction questions and resource extraction answers related to the second resource set are obtained.

[0211] Optionally, when the response content included in the response message is an answer input by the target party to the resource extraction question, the input answer satisfies at least one of the following:

[0212] The input answer is invisible to the target object, and the target object includes at least one of the following: the initiator, the service provider, and all target parties;

[0213] The input answers are not included in the data statistics;

[0214] The statistical results obtained based on the input answers are invisible to the target objects, and the target objects include at least one of the following: the initiator, the service provider, and all target parties.

[0215] Optionally, the first message also includes third information, and the third information is used to prompt at least one of the following: the proportion of all resources in the first resource set to the total allocated resources, the proportion of all resources in the second resource set to the total allocated resources, and the ratio of all resources in the first resource set to all resources in the second resource set;

[0216] Alternatively, the first information is also used to indicate the proportion of all resources in the first resource set to the total allocated resources; and / or the second information is also used to indicate the proportion of all resources in the second resource set to the total allocated resources.

[0217] The resource allocation device 80 of the embodiment of the present application can implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0218] See also Fig. 9 , Fig. 9 is a structural diagram of a resource allocation device provided in an embodiment of the present application, the device is applied to a second device, and the second device is a device corresponding to the target party; Fig. 9 As shown, the resource allocation device 90 includes:

[0219] The second receiving module 91 is used to receive a first message sent by the first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected;

[0220] A display module 92, configured to display the first message;

[0221] A third receiving module 93, configured to receive input information of the target party in response to the first message;

[0222] The first sending module 94 is used to send a response message to the first device; wherein the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in the first resource set or the second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

[0223] Optionally, the first device is a server, a service device, etc.

[0224] Optionally, the third receiving module 93 is specifically used to: receive selection information input by the target party for the question and answer allocation mode and the corresponding resource extraction question, and receive question and answer information input by the target party for the selected resource extraction question.

[0225] The resource allocation device 90 of the embodiment of the present application can realize the above Figure 6 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0226] See also Fig.10 , Fig.10 is a structural diagram of a resource allocation device provided in an embodiment of the present application, the device is applied to a third device, and the third device is a device corresponding to the initiator; Fig.10 As shown, the resource allocation device 100 includes:

[0227] A second sending module 101, configured to send resources to be allocated to a first device;

[0228] The first transceiver module 102 is used to receive a mode selection operation of the initiator for the resource to be allocated, and send information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, and the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode;

[0229] The second transceiver module 103 is used to receive the first setting operation of the initiator for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, so that the first device determines the first resource set related to the direct allocation mode, and determines the second resource set related to the question-and-answer allocation mode and the resource extraction question and resource extraction answer related to the second resource set, and performs the operation of allocating resources in the first resource set or the second resource set to the target party based on the input information of the target party.

[0230] Optionally, the first device is a server, a service device, etc.

[0231] The resource allocation device 100 of the embodiment of the present application can implement the above Figure 7 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0232] Optional, such as Fig.11 As shown, an embodiment of the present application also provides an electronic device 110, including a processor 111, a memory 112, and a program or instruction stored in the memory 112 and executable on the processor 111. When the program or instruction is executed by the processor 111, each process of the above-mentioned resource allocation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0233] The present application also provides a computer program product, including computer instructions, which can achieve the above-mentioned Figure 1 , Figure 6 or Figure 7 The various processes of the method embodiment shown can achieve the same technical effect, and to avoid repetition, they will not be described again here.

[0234] The embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned resource allocation method embodiment can be implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

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

[0236] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0237] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0238] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a service classification device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0239] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A resource allocation method, applied to a first device, characterized in that: include: In response to the mode selection operation of the initiator, determining a resource allocation mode, wherein the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode; In response to a first setting operation of the initiator for the direct allocation mode, acquiring a first resource set, and in response to a second setting operation of the initiator for the question-and-answer allocation mode, acquiring a second resource set and a resource extraction question and a resource extraction answer related to the second resource set; Pushing a first message to a target party; wherein the first message includes at least one of first information, second information, and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; A response message returned by the target party is received, and according to the response message, an operation of allocating resources in the first resource set or the second resource set to the target party is performed.

2. The method according to claim 1, characterized in that The performing, according to the response message, an operation of allocating resources in the first resource set or the second resource set to the target party includes any one of the following: When the response content included in the response message indicates that the direct allocation mode is selected, allocating a preset number of resources in the first resource set to the target party, or allocating resources randomly extracted from the first resource set to the target party; When the response content included in the response message is an answer input by the target party to the resource extraction question, the resources in the second resource set are allocated to the target party according to a match between the input answer and the resource extraction answer.

3. The method according to claim 2, characterized in that The resource extraction answer includes at least one valid answer, and each valid answer corresponds to an answer weight; the allocating the resources in the second resource set to the target party according to the matching between the input answer and the resource extraction answer includes any of the following: When the input answer is a valid answer in the resource extraction answer, according to the answer weight corresponding to the input answer, the resources in the second resource set corresponding to the answer weight are allocated to the target party; When the input answer is not a valid answer among the resource extraction answers, a preset number of resources in the second resource set are allocated to the target party, or resources randomly extracted from the second resource set are allocated to the target party, or no resources in the second resource set are allocated to the target party.

4. The method according to claim 1, characterized in that: The step of obtaining, in response to the initiator's second setting operation for the question-answer distribution mode, a second resource set and a resource extraction question and a resource extraction answer related to the second resource set comprises at least one of the following: In response to the initiator's operation of editing the question and the answer, obtaining a resource extraction question and a resource extraction answer related to the second resource set; In response to the initiator's selection operation on the predefined question bank, obtaining resource extraction questions and resource extraction answers related to the second resource set; In response to the initiator's selection operation on the predefined question bank and the editing operation on the selected question and answer, resource extraction questions and resource extraction answers related to the second resource set are obtained.

5. The method according to claim 1, characterized in that When the response content included in the response message is the answer input by the target party to the resource extraction question, the input answer satisfies at least one of the following: The input answer is invisible to the target object, and the target object includes at least one of the following: the initiator, the service provider, and all target parties; The input answers are not included in the data statistics; The statistical results obtained based on the input answers are invisible to the target objects, and the target objects include at least one of the following: the initiator, the service provider, and all target parties.

6. The method according to any one of claims 1 to 5, characterized in that: The first message further includes third information, where the third information is used to prompt at least one of the following: a proportion of all resources in the first resource set to the total allocated resources, a proportion of all resources in the second resource set to the total allocated resources, and a ratio of all resources in the first resource set to all resources in the second resource set; or, The first information is also used to indicate the proportion of all resources in the first resource set to the total allocated resources; and / or, the second information is also used to indicate the proportion of all resources in the second resource set to the total allocated resources.

7. A resource allocation method, applied to a second device, characterized in that: include: Receiving a first message sent by a first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information, and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; Displaying the first message and receiving input information from the target party in response to the first message; Send a response message to the first device; wherein the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in a first resource set or a second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

8. The method according to claim 7, characterized in that The receiving target party's input information for the first message includes: The selection information for the question-answer allocation mode and the corresponding resource extraction question input by the target party is received, and the question-answer information for the selected resource extraction question is received input by the target party.

9. A resource allocation method, applied to a third device, characterized in that: include: Sending resources to be allocated to the first device; receiving a mode selection operation of the initiator for the resource to be allocated, and sending information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, where the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode; Receive the initiator's first setting operation for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, the first device determining the first resource set related to the direct allocation mode, and determining the second resource set related to the question-and-answer allocation mode and the resource extraction questions and resource extraction answers related to the second resource set, and based on the input information of the target party, perform an operation of allocating resources in the first resource set or the second resource set to the target party.

10. A resource allocation device, applied to a first device, characterized in that: include: A determination module, configured to determine a resource allocation mode in response to a mode selection operation of the initiator, wherein the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode; an acquisition module, configured to acquire a first resource set in response to a first setting operation of the initiator for the direct allocation mode, and to acquire a second resource set and a resource extraction question and a resource extraction answer related to the second resource set in response to a second setting operation of the initiator for the question-and-answer allocation mode; A push module, configured to push a first message to a target party; wherein the first message includes at least one of first information, second information, and the resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; A first receiving module, used to receive a response message returned by the target party; An execution module is used to execute an operation of allocating resources in the first resource set or the second resource set to the target party according to the response message.

11. A resource allocation device, applied to a second device, characterized in that: include: A second receiving module is configured to receive a first message sent by a first device for resources to be allocated; wherein the resource allocation mode of the resources to be allocated includes at least a direct allocation mode and a question-and-answer allocation mode, the first message includes at least one of first information, second information, and a resource extraction question, the first information is related to the direct allocation mode, the second information is related to the question-and-answer allocation mode, and the resource extraction question is used to be displayed after the question-and-answer allocation mode is selected; A display module, used for displaying the first message; A third receiving module, configured to receive input information of the target party in response to the first message; A first sending module is used to send a response message to the first device; wherein the response message includes the input information, and the response message is used by the first device to perform an operation of allocating resources in a first resource set or a second resource set to the second device, the first resource set is related to the direct allocation mode, and the second resource set is related to the question-and-answer allocation mode.

12. A resource allocation device, applied to a third device, characterized in that: include: A second sending module, used for sending resources to be allocated to the first device; A first transceiver module is used to receive a mode selection operation of the initiator for the resource to be allocated, and send information related to the mode selection operation to the first device, so that the first device determines a resource allocation mode, and the resource allocation mode includes at least a direct allocation mode and a question-and-answer allocation mode; The second transceiver module is used to receive the first setting operation of the initiator for the direct allocation mode and the second setting operation for the question-and-answer allocation mode, and send information related to the first setting operation and the second setting operation to the first device, so that the first device determines the first resource set related to the direct allocation mode, and determines the second resource set related to the question-and-answer allocation mode and the resource extraction question and resource extraction answer related to the second resource set, and performs the operation of allocating resources in the first resource set or the second resource set to the target party based on the input information of the target party.

13. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method according to any one of claims 1 to 6, or implements the steps of the method according to claim 7 or 8, or implements the steps of the method according to claim 9.

14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the steps of the method according to any one of claims 1 to 6, or implements the steps of the method according to claim 7 or 8, or implements the steps of the method according to claim 9.

15. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 6, or implement the steps of the method according to claim 7 or 8, or implement the steps of the method according to claim 9.