Resource allocation method, device, electronic device and storage medium

By detecting the interactive sequence information of the live broadcast room, determining the target business indicators based on the target interaction number, the problem of low resource allocation efficiency in the live broadcast room is solved, and automated and rational resource allocation is realized to ensure that resources are reasonably allocated according to the amount of interaction.

CN115775158BActive Publication Date: 2024-12-03BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111045704.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-12-03
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

The resource allocation efficiency and poor rationality in the live broadcast room are low, and manual dynamic control is required, resulting in the interaction process being inefficient enough.

Method used

By detecting the interaction sequence information to the target interaction sequence number, the target business indicators are determined based on the target interaction sequence number, thereby obtaining the target resources in the target resource pool, automatically distributing resources to the target user, and using multiple preset business indicators to arrange them in sequence. The cumulative amount of indicator interaction information is higher than the previous indicators, ensuring the rationality and flexibility of resource allocation.

Benefits of technology

It realizes automation of resource allocation, improves efficiency and rationality, ensures that the more users who answer correctly, the more resources they get, and improves the flexibility and user experience of resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115775158B_ABST
    Figure CN115775158B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resource allocation method, device, electronic device and storage medium. The method comprises: when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number, at least one target business indicator is determined from multiple preset business indicators according to the target interaction sequence number; wherein the multiple preset business indicators are preset business indicators arranged in order, and the cumulative number indicator of interaction information in the latter preset business indicator is higher than the cumulative number indicator of interaction information in the former preset business indicator; the target interaction sequence number is one of the multiple preset interaction sequence numbers; determining the target resource in the target resource pool corresponding to the target interaction sequence number; obtaining the target user in the live broadcast room who meets the at least one target business indicator; and issuing the target resource to the target user. According to the technical solution provided by the present disclosure, the resource allocation efficiency and allocation rationality in the live broadcast room interaction process can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a resource allocation method, device, electronic device and storage medium. Background Art

[0002] With the development of Internet applications, live broadcasting has attracted much attention, and the services in live broadcast rooms have become more and more diverse, such as the live broadcast question-answering service, where users in the live broadcast room answer a set of questions and can get incentives based on the number of correct answers. In related technologies, the total resources used for incentives are generally capped, and the resources used for incentives need to be manually and dynamically controlled, resulting in low resource allocation efficiency and poor rationality in the interactive process of the live broadcast room. Summary of the invention

[0003] The present disclosure provides a resource allocation method, device, electronic device and storage medium to at least solve the problem of how to improve the efficiency and rationality of resource allocation in the interactive process of a live broadcast room in the related art. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, a resource allocation method is provided, comprising:

[0005] When it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number, at least one target business indicator is determined from a plurality of preset business indicators according to the target interaction sequence number; wherein the plurality of preset business indicators are preset business indicators arranged in sequence, and the cumulative number indicator of interaction information in the latter preset business indicators is higher than the cumulative number indicator of interaction information in the former preset business indicators; and the target interaction sequence number is one of the plurality of preset interaction sequence numbers;

[0006] Determine a target resource in a target resource pool corresponding to the target interaction sequence number;

[0007] Acquire target users in the live broadcast room who meet at least one target business indicator;

[0008] The target resource is delivered to the target user.

[0009] In a possible implementation, the initial resource in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information are obtained;

[0010] Determine a first remaining resource in a first resource pool corresponding to the first interaction sequence number;

[0011] The target resource is determined based on the first remaining resource and the initial resource.

[0012] In a possible implementation manner, the step of obtaining initial resources in the target resource pool includes:

[0013] Obtaining initial user distribution information under each interaction sequence number in the interaction sequence information;

[0014] Based on the initial user distribution information, determining first resource allocation information corresponding to each preset interaction sequence number;

[0015] Obtaining total resources corresponding to the interaction sequence information;

[0016] The initial resources in the target resource pool are acquired according to the first resource allocation information and the total resources.

[0017] In a possible implementation manner, determining the target resource in the target resource pool corresponding to the target interaction sequence number includes:

[0018] Obtain target user distribution information of each interaction number from the target interaction number to the second interaction number under the plurality of preset business indicators, wherein the second interaction number is the interaction number corresponding to the last interaction information in the interaction sequence information;

[0019] Based on the target user distribution information, determine second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number;

[0020] Obtain the target remaining total resources corresponding to the target interaction sequence number;

[0021] The target resource is determined according to the second resource allocation information and the target remaining total resources.

[0022] In a possible implementation, the step of determining, based on the target user distribution information, the second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number includes:

[0023] Obtaining weight information corresponding to each of the plurality of preset business indicators;

[0024] The second resource allocation information is determined according to the weight information and the target user distribution information.

[0025] In a possible implementation manner, the step of sending the target resource to the target user includes:

[0026] Obtaining a first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information, and user statistical information associated with the first interaction sequence number; wherein the user statistical information associated with the first interaction sequence number refers to user statistical information under the at least one target business indicator when the interaction of the first interaction information corresponding to the first interaction sequence number ends;

[0027] Based on the user statistical information, determining user prediction information corresponding to each of the at least one target business indicator at the target interaction sequence number;

[0028] Determining, according to the user prediction information and the target resource, the user resources corresponding to each of the at least one target service indicators;

[0029] Dividing the target users into user subsets corresponding to the at least one target business indicator;

[0030] User resources with target service indicators corresponding to the user subset are issued to the users in the user subset.

[0031] In a possible implementation manner, the step of determining the user resources corresponding to each of the at least one target service indicators according to the user prediction information and the target resources includes:

[0032] Obtaining weight information corresponding to each of the at least one target business indicators;

[0033] Determining unit resource information based on the user prediction information, the target resource and the weight information;

[0034] The user resources corresponding to each of the at least one target business indicator are determined according to the unit resource information and the weight information.

[0035] In a possible implementation manner, the step of issuing user resources of target service indicators corresponding to the user subset to the user subset includes:

[0036] Obtain resource delivery statistics information corresponding to each of the at least one target business indicator before the target interaction sequence number;

[0037] Determine a target user subset for which the difference between the user resource and the resource delivery statistical information is greater than a resource threshold;

[0038] The target user resources corresponding to the resource delivery statistical information are delivered to the users in the target user subset.

[0039] In a possible implementation manner, after the step of issuing user resources of target service indicators corresponding to the user subset to the user subset, the method further includes:

[0040] When the target user does not match the user prediction information, acquiring second remaining resources in the target resource pool;

[0041] The second remaining resources are added to a second resource pool, where the second resource pool is a resource pool corresponding to an interaction sequence number after the target interaction sequence number.

[0042] According to a second aspect of an embodiment of the present disclosure, there is provided a resource allocation device, including:

[0043] The target business indicator determination module is configured to determine at least one target business indicator from a plurality of preset business indicators according to the target interaction sequence number when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number; wherein the plurality of preset business indicators are preset business indicators arranged in sequence, and the cumulative number indicator of interaction information in the latter preset business indicators is higher than the cumulative number indicator of interaction information in the former preset business indicators; and the target interaction sequence number is one of the plurality of preset interaction sequence numbers;

[0044] A target resource determination module is configured to determine a target resource in a target resource pool corresponding to the target interaction sequence number;

[0045] A target user acquisition module is configured to acquire target users in the live broadcast room who meet the at least one target business indicator;

[0046] The resource allocation module is configured to execute sending the target resource to the target user.

[0047] In a possible implementation, the target resource determination module includes:

[0048] An initial resource and first interaction sequence number acquisition unit is configured to acquire the initial resource in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information;

[0049] A first remaining resource determining unit is configured to determine a first remaining resource in a first resource pool corresponding to the first interaction sequence number;

[0050] The first target resource determining unit is configured to determine the target resource based on the first remaining resources and the initial resources.

[0051] In a possible implementation, the initial resource and first interaction sequence number obtaining unit includes:

[0052] The initial user distribution information acquisition subunit is configured to acquire the initial user distribution information under each interaction sequence number in the interaction sequence information;

[0053] A first resource allocation information determining subunit is configured to determine the first resource allocation information corresponding to each preset interaction sequence number based on the initial user distribution information;

[0054] A total resource acquisition subunit is configured to execute acquisition of total resources corresponding to the interaction sequence information;

[0055] The initial resource acquisition subunit is configured to acquire the initial resource in the target resource pool according to the first resource allocation information and the total resources.

[0056] In a possible implementation, the target resource determination module includes:

[0057] A target user distribution information acquisition unit is configured to execute acquisition of target user distribution information of each interaction number from the target interaction number to a second interaction number under the plurality of preset business indicators, wherein the second interaction number is an interaction number corresponding to the last interaction information in the interaction sequence information;

[0058] A second resource allocation information determining unit is configured to determine, based on the target user distribution information, second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number;

[0059] A target remaining total resource acquisition unit is configured to execute acquisition of the target remaining total resource corresponding to the target interaction sequence number;

[0060] The second target resource determining unit is configured to determine the target resource according to the second resource allocation information and the target remaining total resources.

[0061] In a possible implementation manner, the second resource allocation information determining unit includes:

[0062] A weight information acquisition subunit is configured to acquire weight information corresponding to each of the plurality of preset business indicators;

[0063] The second resource allocation information determining subunit is configured to determine the second resource allocation information according to the weight information and the target user distribution information.

[0064] In a possible implementation, the resource allocation module includes:

[0065] The user statistical information acquisition unit is configured to execute acquisition of a first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information, and user statistical information associated with the first interaction sequence number; wherein the user statistical information associated with the first interaction sequence number refers to user statistical information under the at least one target business indicator at the end of the interaction of the first interaction information corresponding to the first interaction sequence number;

[0066] A user prediction information determination unit is configured to determine, based on the user statistical information, user prediction information corresponding to each of the at least one target business indicator at the target interaction sequence number;

[0067] A user resource determination unit is configured to determine the user resources corresponding to each of the at least one target service indicators according to the user prediction information and the target resources;

[0068] A user subset division unit, configured to divide the target user into user subsets corresponding to the at least one target service indicator;

[0069] The resource allocation unit is configured to issue user resources corresponding to the target service indicators of the user subset to the users in the user subset.

[0070] In a possible implementation manner, the user resource determination unit includes:

[0071] A weight information acquisition subunit is configured to acquire weight information corresponding to each of the at least one target business indicator;

[0072] a unit resource information determination subunit, configured to determine unit resource information based on the user prediction information, the target resource and the weight information;

[0073] The user resource determination subunit is configured to determine the user resources corresponding to each of the at least one target business indicators according to the unit resource information and the weight information.

[0074] In a possible implementation manner, the resource allocation unit includes:

[0075] The resource delivery statistical information acquisition subunit is configured to execute the acquisition of the resource delivery statistical information corresponding to each of the at least one target business indicator before the target interaction sequence number;

[0076] A target user subset determination subunit is configured to determine a target user subset for which a difference between the user resource and the resource delivery statistical information is greater than a resource threshold;

[0077] The resource allocation subunit is configured to execute distribution of target user resources corresponding to the resource distribution statistical information to users in the target user subset.

[0078] In a possible implementation manner, the device further includes:

[0079] A second remaining resource acquisition unit is configured to acquire second remaining resources in the target resource pool when the target user does not match the user prediction information;

[0080] The remaining resource processing unit is configured to execute adding the second remaining resources to a second resource pool, where the second resource pool is a resource pool corresponding to an interaction sequence number after the target interaction sequence number.

[0081] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement a method as described in any one of the above-mentioned first aspects.

[0082] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any method described in the first aspect of the embodiment of the present disclosure.

[0083] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising computer instructions, which, when executed by a processor, enable a computer to execute any one of the methods described in the first aspect of an embodiment of the present disclosure.

[0084] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0085] When it is detected that the interactive sequence information in the live broadcast room reaches the target interactive number, the target business indicator is determined according to the target interactive number, so that the target resources are issued to the target user based on the target resources in the target resource pool corresponding to the target interactive number; the resource allocation can be automatically executed at any target interactive number to improve the efficiency of resource allocation; and by setting multiple preset business indicators as preset business indicators arranged in sequence, the cumulative number indicator of interactive information in the later preset business indicators is higher than the cumulative number indicator of interactive information in the previous preset business indicators, so that users are allocated resources when they have answered 5 questions correctly in total, and they can also be allocated resources when they have answered 10 questions correctly in total, so that the more correct answers are given, the more resources are allocated, thereby improving the rationality of resource allocation; in addition, by setting the target resources to correspond to the target interactive number, differentiated settings of different resources corresponding to different questions are realized, thereby improving the flexibility of resource allocation.

[0086] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0088] Figure 1 It is a schematic diagram of an application environment according to an exemplary embodiment.

[0089] Figure 2The present invention is a flowchart of a resource allocation method according to an exemplary embodiment.

[0090] Figure 3 It is a flow chart of a method for determining a target resource in a target resource pool corresponding to a target interaction sequence number according to an exemplary embodiment.

[0091] Figure 4 The present invention is a flow chart showing a method for obtaining initial resources in a target resource pool according to an exemplary embodiment.

[0092] Figure 5 It is a flow chart of a method for determining a target resource in a target resource pool corresponding to a target interaction sequence number according to an exemplary embodiment.

[0093] Figure 6 It is a flow chart of a method for determining second resource allocation information corresponding to each interaction sequence number from a target interaction sequence number to a second interaction sequence number based on target user distribution information according to an exemplary embodiment.

[0094] Figure 7 The present invention is a flow chart showing a method for delivering target resources to a target user according to an exemplary embodiment.

[0095] Figure 8 The present invention is a flowchart of a method for determining user resources corresponding to at least one target business indicator according to user prediction information and target resources according to an exemplary embodiment.

[0096] Fig. 9 The present invention is a block diagram of a resource allocation device according to an exemplary embodiment.

[0097] Fig.10 It is a block diagram of an electronic device for resource allocation according to an exemplary embodiment. DETAILED DESCRIPTION

[0098] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0099] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0100] Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology and machine learning / deep learning.

[0101] In recent years, with the research and progress of artificial intelligence technology, artificial intelligence technology has been widely used in many fields. The solution provided in the embodiment of the present application involves technologies such as machine learning / deep learning, which are specifically described by the following embodiments:

[0102] See also Figure 1 , Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment. Figure 1 As shown, the application environment may include a server 01 and a terminal 02 .

[0103] In an optional embodiment, server 01 can be used for resource allocation processing. Specifically, server 01 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0104] In an optional embodiment, the terminal 02 can be used to display the live broadcast room and display the target resource in the live broadcast room. Specifically, the terminal 02 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android system, IOS system, Linux, Windows, etc.

[0105] In addition, it should be noted that Figure 1 What is shown is only one application environment of the image processing method provided by the present disclosure.

[0106] In the embodiments of this specification, the server 01 and the terminal 02 may be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitation thereto.

[0107] It should be noted that the following figure shows a possible order of steps, which is not actually limited to this order. Some steps can be executed in parallel without relying on each other. The user information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to data for display, training data, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0108] Figure 2 FIG. 1 is a flow chart of a resource allocation method according to an exemplary embodiment. Figure 2 As shown, the following steps may be included.

[0109] In step S201, when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number, at least one target business indicator is determined from multiple preset business indicators according to the target interaction sequence number; wherein the multiple preset business indicators are preset business indicators arranged in order, and the cumulative number indicator of interaction information in the later preset business indicators is higher than the cumulative number indicator of interaction information in the previous preset business indicators. The target interaction sequence number may be one of the multiple preset interaction sequence numbers, and the multiple preset interaction sequence numbers may be pre-set, and may be all or part of the interaction sequence numbers in the interaction sequence information.

[0110] In an embodiment of the present specification, the interactive sequence information may include interactive information arranged in order and an interactive sequence number corresponding to each interactive information. The interactive information arranged in order may be a preset number of interactive information, and the present disclosure does not limit these. In one example, the interactive sequence information may be a set of interactive questions, and the set of interactive questions may include 25 (preset number) questions (interactive information). Each of the 25 questions may have a corresponding question number (interactive sequence number), and the 25 questions may be arranged in order based on the corresponding question number, for example, from question number 1 to question number 25. Among them, multiple preset interactive sequence numbers may be 5 to 25, and the target interactive sequence number may be one of multiple preset interactive sequence numbers. For example, when the interactive sequence information in the current live broadcast room proceeds to the answer to question 6, the target interactive sequence number may be 6.

[0111] In a possible implementation, the target interaction sequence number may correspond to a cumulative number of interaction information indicators in a plurality of preset business indicators. For example, a set of interactive questions including 25 questions, a plurality of preset business indicators and their respective cumulative number of interaction information indicators are as follows:

[0112] Preset business indicator 1, cumulative interactive information quantity indicator: 5 correct answers in total;

[0113] Preset business indicator 2, cumulative interactive information quantity indicator: answer 10 questions correctly in total;

[0114] Preset business indicator 3, cumulative interactive information quantity indicator: cumulatively answer 15 questions correctly;

[0115] Preset business indicator 4, cumulative interactive information quantity indicator: 20 questions answered correctly in total;

[0116] Preset business indicator 5, cumulative number of interactive information indicators: a total of 25 questions answered correctly.

[0117] Accordingly, the target interaction sequence number can be 5 to 25, that is, the target interaction sequence number can be the cumulative number of interaction information in the first preset business indicator to the cumulative number of interaction information in the last preset business indicator. That is to say, from the 5th question to the 25th question, it is necessary to count the users who meet any preset business indicator in the live broadcast room to distribute resources. The resources here can include virtual gifts, traffic, red envelopes, bonuses, etc., which are not limited in this disclosure.

[0118] In actual applications, when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction number, at least one target business indicator can be determined from multiple preset business indicators based on the target interaction number. That is to say, under different target interaction numbers, the target business indicators that need to be counted are also different.

[0119] As an example, a preset business indicator whose cumulative number of interactive information matches the target interactive sequence number can be used as the target business indicator. Here, the matching of the cumulative number of interactive information and the target interactive sequence number can mean that the cumulative number of interactive information is less than or equal to the target interactive sequence number. For example, in question 6, since the maximum number of correctly answered questions at this time is 6, the target business indicator determined can be preset business indicator 1; for another example, in question 10, since the maximum number of correctly answered questions at this time is 10, the target business indicator determined can be preset business indicator 1 and preset business indicator 2.

[0120] In step S203, it is determined that the target interaction sequence number corresponds to a target resource in a target resource pool.

[0121] In the embodiments of this specification, the resources in the resource pool corresponding to each preset interaction serial number can be pre-set, such as resource pool 1 to resource pool 21 corresponding to questions 5 to 25, and the resources in resource pool 1 to resource pool 21 can be pre-set respectively. In one example, the resources in the resource pool corresponding to different preset interaction serial numbers can be set based on the historical resource allocation information of the historical interaction sequence information. For example, 100 sets of interactive questions can be obtained, each set of questions includes 25 questions. Based on the historical resource allocation information of the 100 sets of questions, the resource mean corresponding to questions 5 to 25 can be obtained, so that the resource ratio of 21 resource words can be determined based on the resource mean. Furthermore, the resources of each resource pool can be obtained according to the total resources and the resource ratio corresponding to the current interaction sequence information. In this way, the target resources in the target resource pool corresponding to the target interaction serial number can be screened out.

[0122] In step S205, target users in the live broadcast room who meet at least one target business indicator are obtained.

[0123] In actual applications, the target interaction number is 10 for illustration, and it can be determined that at least one target business indicator includes preset business indicator 1 and preset business indicator 2. After the user in the live broadcast room answers the 10th question, based on the reference answer to the question, it can be counted that at the 10th question, there are 10 target users in the live broadcast room who have answered 5 questions correctly, that is, there are 10 target users who meet the preset business indicator 1; and at the 10th question, there are 3 target users in the live broadcast room who have answered 10 questions correctly, that is, there are 3 target users who meet the preset business indicator 2. In this way, the target users who meet at least one target business indicator in the live broadcast room are obtained.

[0124] It should be noted that, for example, in question 11, if the three people who meet the preset business indicator 2 do not answer question 11 correctly, the three people are no longer determined as target users who meet the preset business indicator 2, that is, the target user corresponds to the target interaction number, that is, one user is counted once by one preset business indicator; or, cumulatively answering N questions correctly can mean cumulatively answering N questions correctly at the target interaction number, and cumulatively answering N-1 questions correctly before the target interaction number. Here, N can be any cumulative number indicator of interactive information, such as 5, 10, etc.

[0125] In step S207, the target resource is delivered to the target user.

[0126] Based on the above example, the first resource can be distributed to 10 target users who meet the preset business indicator 1, and the second resource can be distributed to 3 target users who meet the preset business indicator 2. The sum of the 10 first resources and the 3 second resources can be the same as the target resource, so as to achieve the distribution of the target resource. The first resource can be smaller than the second resource so that users who answer more questions correctly can get more resources; or the first resource and the second resource can be the same, which is not limited in this disclosure.

[0127] When it is detected that the interactive sequence information in the live broadcast room reaches the target interactive number, the target business indicator is determined according to the target interactive number, so that the target resources are issued to the target user based on the target resources in the target resource pool corresponding to the target interactive number; the resource allocation can be automatically executed at any target interactive number to improve the efficiency of resource allocation; and by setting multiple preset business indicators as preset business indicators arranged in sequence, the cumulative number indicator of interactive information in the later preset business indicators is higher than the cumulative number indicator of interactive information in the previous preset business indicators, so that users are allocated resources when they have answered 5 questions correctly in total, and they can also be allocated resources when they have answered 10 questions correctly in total, so that the more correct answers are given, the more resources are allocated, thereby improving the rationality of resource allocation; in addition, by setting the target resources to correspond to the target interactive number, differentiated settings of different resources corresponding to different questions are realized, thereby improving the flexibility of resource allocation.

[0128] Figure 3 FIG. 1 is a flow chart showing a method for determining a target resource in a target resource pool corresponding to a target interaction sequence number according to an exemplary embodiment. Figure 3 As shown, in a possible implementation, step S203 may include:

[0129] In step S301, the initial resource in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information are obtained;

[0130] In step S303, a first remaining resource in a first resource pool corresponding to the first interaction sequence number is determined;

[0131] In step S305, target resources are determined based on the first remaining resources and the initial resources.

[0132] In practical applications, considering that after answering some questions, there may not be users who meet the target business indicators, or there are fewer users who meet the target business indicators and more initial resources, the remaining resources that have not been allocated can be placed in the next resource pool to achieve dynamic adjustment of resources. For example, in the fifth interactive question, there is only one user who has answered 5 questions correctly, and the initial resources in the resource pool corresponding to the fifth question take into account the resources of three users. In this case, the resource upper limit for a user to answer 5 questions correctly can be set, so that when the initial resources in the resource pool corresponding to the fifth question are higher than the resource upper limit, the resources can be issued to the user according to the resource upper limit. Thus, the first remaining resources in the resource pool corresponding to the fifth question can be obtained = the initial resources in the resource pool corresponding to the fifth question - the resource upper limit for the cumulative answer of 5 questions. In this way, when the target interaction sequence number is 6, the target resource can be determined based on the initial resources and the first remaining resources in the target resource pool corresponding to the fifth question. For example, all or part of the first remaining resources can be placed in the target resource pool, and together with the initial resources in the target resource pool, it can be used as the target resource, and this disclosure does not limit this.

[0133] By transferring the remaining resources to the resource pool corresponding to the subsequent interaction sequence number, dynamic adjustment of resources can be achieved, thereby improving the accuracy and flexibility of resource allocation.

[0134] Figure 4 FIG. 1 is a flow chart showing a method for obtaining initial resources in a target resource pool according to an exemplary embodiment. Figure 4 As shown, in a possible implementation, step S301 may include:

[0135] In step S401, initial user distribution information under each interaction sequence number in the interaction sequence information is obtained.

[0136] In an embodiment of the present specification, historical user distribution information of a certain number of historical interaction sequence information can be counted to obtain the initial user distribution information. The initial user distribution information may refer to the distribution information of the number of interaction information that corresponds to each interaction sequence number and cumulatively satisfies a preset condition, and the distribution information of the number of interaction information that cumulatively satisfies the preset condition may refer to the distribution information of the number of users who cumulatively answer a target number correctly, and the target number corresponds to the interaction sequence number, and the target number may include all integers from 1 to the interaction sequence number. For example, when the interaction sequence number is 5, the target number may include 1, 2, 3, 4, and 5. As an example, taking 25 interactive questions as the interaction sequence information, the initial user distribution information may be as shown in Table 1 below:

[0137] Table 1

[0138]

[0139] Taking the initial user distribution information corresponding to question 25 in Table 1 as an example, the initial user distribution information corresponding to question 25 can be the rightmost column in Table 1, which can be expressed as: cumulative correct answers to 1 question: 2 (2 users); cumulative correct answers to 2 questions: 4; ..., cumulative correct answers to 5 questions: 3; ...; cumulative correct answers to 25 questions: 2. Or it can be expressed as [2, 4, ..., 3, ..., 2].

[0140] In step S403, based on the initial user distribution information, first resource allocation information corresponding to each preset interaction sequence number in the interaction sequence information is determined.

[0141] In the embodiment of this specification, the first resource allocation information may be resource ratio information.

[0142] In one example, the target initial user distribution information of each preset interaction sequence number under multiple preset business indicators can be screened out from the initial user distribution information. For example, the target initial user distribution information of question 5 under preset business indicator 1 in Table 1 above is 7. Therefore, the first resource allocation information corresponding to each preset interaction sequence number in the interaction sequence information can be determined based on the target initial user distribution information. Taking the interaction sequence information as a set of interactive questions including 25 interactive questions as an example (the following is explained by this example), the first resource allocation information can be determined using the following formulas (1) and (2):

[0143]

[0144]

[0145] Among them, P i is the first resource allocation information corresponding to the preset interaction sequence number i; R is the total resources corresponding to the interaction sequence information; U is the total number of users who meet multiple preset business indicators under each preset interaction sequence number; is the number of users who meet the jth preset business indicator under the preset interaction sequence i; i and j are integers.

[0146] Optionally, different preset business indicators may be considered to have different weights, so that different resources may be obtained by satisfying different preset business indicators. In this case, the first resource allocation information may be determined using the following formulas (3) and (4):

[0147]

[0148]

[0149] Among them, W j is the weight of the jth preset business indicator; P i-w is the first resource allocation information corresponding to the preset interaction sequence number i; R is the total resources corresponding to the interaction sequence information; U w It is the weighted value of the total number of users who meet multiple preset business indicators under each preset interaction sequence number; is the number of users who meet the jth preset business indicator under the preset interaction sequence i; i and j are integers.

[0150] In another example, the first resource allocation information corresponding to each preset interaction number can be obtained based on the resource allocation prediction model. For example, the initial user distribution information can be input into the resource allocation prediction model to obtain the first resource allocation information corresponding to each preset interaction number. Among them, the resource allocation prediction model can be obtained by training a preset machine learning model based on sample data. The sample data can be a plurality of sample user distribution information, and the relevant content of Table 1 above can be referred to. Accordingly, a sample user distribution information can be the user distribution information of sample interaction questions 1 to 25: [6,0,...,0], [7,5,...,0],..., [3,2,...,2]. Therefore, a plurality of sample user distribution information can be input into the preset machine learning model to perform resource allocation prediction, and the sample output result can be as follows:

[0151] Question 5: Answer 5 questions correctly in total and allocate resource Z 5-1 ;

[0152] Question 6: Answer 5 questions correctly in total, allocate resource Z 5-2 ;

[0153] …

[0154] Question 25: Answer 5 questions correctly in total, allocate resource Z 5-25 , answer 10 questions correctly, allocate resource Z 10-25 , ..., answer 25 questions correctly in total, allocate resource Z 25-1 .

[0155] Therefore, based on the sample output results, the predicted mean and predicted variance of the allocated resources under each preset business indicator can be determined, and the loss information can be determined based on the predicted mean and predicted variance, the mean label and the variance label, and the preset machine learning model can be trained based on the loss information until the predicted mean and predicted variance are both less than the mean threshold and the variance threshold, thereby obtaining a resource allocation prediction model.

[0156] In step S405, the total resources corresponding to the interactive sequence information are obtained;

[0157] In step S407, initial resources in the target resource pool are acquired according to the first resource allocation information and the total resources.

[0158] In one example, the first target resource allocation information corresponding to the target interaction sequence number, such as the resource allocation ratio, can be screened out from the first resource allocation information, so that the product of the first target resource allocation information and the total resources can be used as the initial resource in the target resource pool.

[0159] The initial resources of each resource pool are determined by the initial user distribution information, so that the setting of the initial resources can match the user distribution information, thereby ensuring the rationality of resource allocation.

[0160] Figure 5 FIG. 1 is a flow chart showing a method for determining a target resource in a target resource pool corresponding to a target interaction sequence number according to an exemplary embodiment. Figure 5 As shown, in a possible implementation, step S203 may include:

[0161] In step S501, target user distribution information under each interaction number from the target interaction number to the second interaction number is obtained, and the second interaction number is the interaction number corresponding to the last interaction information in the interaction sequence information.

[0162] In one example, the target user distribution information here can be obtained from the initial distribution information, or can be obtained by referring to the method of the above step S401, and the present disclosure does not limit this. It should be noted that the target user distribution information can be the user distribution information corresponding to the target interaction sequence number to the second interaction sequence number. Taking the target interaction sequence number as 21 as an example, the target user distribution information can include the information of the five columns 21 to 25 in Table 1.

[0163] In step S503, based on the target user distribution information, second resource allocation information corresponding to each preset interaction number from the target interaction number to the second interaction number is determined;

[0164] In step S505, the target remaining total resources corresponding to the target interaction sequence number are obtained.

[0165] In practical applications, the total resources may be certain, so that the resources allocated before the target interaction number can be counted, and based on the total resources and the allocated resources, the remaining resources when the target interaction number is obtained can be used as the target remaining total resources corresponding to the target interaction number.

[0166] In step S507, target resources are determined according to the second resource allocation information and the target remaining total resources.

[0167] In one possible implementation, the second target resource allocation information corresponding to the target interaction number can be filtered out from the second resource allocation information. When the second target resource allocation information is resource proportion information, step S507 may include: taking the product of the second target resource allocation information and the target remaining total resources as the target resource.

[0168] For the specific implementation method of steps S501 to S507, please refer to the above S401 to S407 and will not be repeated here; it should be noted that, here, the value of i in the above formula can start from the target interaction number. For example, if the target interaction number is 16, the value of i can be [16, 25], and i can be an integer.

[0169] By redetermining the resource allocation information of each resource pool at the time of the target interaction number, the target resources under the target interaction number can be dynamically determined based on the target remaining total resources and the redetermined resource allocation information, so that each preset interaction number can be dynamically configured with target resources, which can improve the rationality and flexibility of resource allocation.

[0170] Figure 6 is a flow chart showing a method for determining second resource allocation information corresponding to each interaction sequence number from a target interaction sequence number to a second interaction sequence number based on target user distribution information according to an exemplary embodiment. Figure 6 As shown, in a possible implementation, step S503 may include:

[0171] In step S601, weight information corresponding to each of a plurality of preset business indicators is obtained;

[0172] In step S603, second resource allocation information is determined according to the weight information and the target user distribution information.

[0173] The implementation of steps S601 to S603 can refer to the implementation of step S403 above, which will not be described in detail here. It should be noted that the value of i in the above formula can start from the target interaction number, for example, if the target interaction number is 16, the value of i can be [16, 25], and i can be an integer.

[0174] By setting respective weights for multiple preset business indicators, the impact of weight information on the number of users can be considered when allocating resources to each resource pool, thereby improving the rationality and accuracy of resource allocation.

[0175] Figure 7 FIG. 1 is a flow chart of a method for delivering target resources to a target user according to an exemplary embodiment. Figure 7 As shown, in a possible implementation, step S207 may include:

[0176] In step S701, the first interaction number adjacent to the target interaction number in the interaction sequence information and the user statistical information associated with the first interaction number are obtained; wherein the user statistical information associated with the first interaction number may refer to the user statistical information under at least one target business indicator at the end of the interaction of the first interaction information corresponding to the first interaction number, that is, the user statistical information under at least one target business indicator may be satisfied at the target interaction number.

[0177] In step S703, based on the user statistical information, user prediction information corresponding to at least one target business indicator at the target interaction sequence number is determined;

[0178] In step S705, user resources corresponding to at least one target business indicator are determined according to the user prediction information and the target resources.

[0179] In one example, if the target interaction number is 10, the first interaction number may be 9, and the user statistics associated with the first interaction number may be: the cumulative number of users who answered 4 questions correctly at the first interaction number is 5, and the cumulative number of users who answered 9 questions correctly at the first interaction number is 3. Therefore, based on the preset answer accuracy rate and user statistics, user prediction information can be determined. Assuming that the preset answer accuracy rate is 1, the user prediction information can be determined as: the predicted number of users who answered 5 questions correctly at the target interaction number is 5, and the predicted number of users who answered 10 questions correctly at the target interaction number is 3. The present disclosure does not limit the preset answer accuracy rate, for example, it can be 0.8, etc.

[0180] Furthermore, a quotient obtained by dividing the target resource by the number of users represented by the user prediction information may be used as the user resource corresponding to each of the at least one target service indicators.

[0181] In step S707, the target users are divided into user subsets corresponding to at least one target business indicator.

[0182] In actual applications, users who meet the same target business indicators can be divided into the same user subset.

[0183] In step S709, user resources of target service indicators corresponding to the user subset are issued to the users in the user subset.

[0184] In one example, step S709 may include:

[0185] Obtain resource delivery statistics corresponding to at least one target business indicator before the target interaction sequence number;

[0186] Determine the target user subset for which the difference between the user resources and the resource delivery statistics is greater than the resource threshold;

[0187] Deliver resources to users in the target user subset and deliver target user resources corresponding to the statistical information.

[0188] In actual applications, for example, when answering question 9, the average resource value of users who have answered 5 questions correctly from question 5 to question 8 can be counted as resource delivery statistics, and the resource delivery statistics can be 20; if when answering question 9, it is determined that the user resources corresponding to the cumulative 5 correct answers are 50, in order to ensure that the resources obtained by users who meet the same preset business indicator are as similar as possible, when the difference between the user resources and the resource delivery statistics is greater than the resource threshold, the resource delivery statistics can be used to replace the user resources, so as to deliver the target user resources corresponding to the resource delivery statistics to the users in the target user subset. For example, 20 can be used here instead of 50, and a red envelope of 20 can be delivered to the user who has answered 5 questions correctly. By counting the delivered resources corresponding to at least one target business indicator before the target interaction sequence number, it is possible to effectively control the resources obtained by users who meet the same preset business indicator to be as similar as possible, thereby improving the experience of resource allocation.

[0189] Optionally, when the target user does not match the user prediction information, the second remaining resources in the target resource pool can be obtained; and the second remaining resources can be added to the second resource pool, which is the resource pool corresponding to the interaction number after the target interaction number. For example, it can be the resource pool corresponding to the interaction number after the target interaction number and adjacent to the target interaction number, or it can be the resource pool after the target interaction number and up to the second interaction number. In other words, the second remaining resources can be used by the subsequent adjacent resource pool, or can be shared by all subsequent resource pools. By processing the remaining resources in the target resource pool, the total remaining resources for subsequent allocation can be dynamically adjusted to improve the flexibility and rationality of resource allocation.

[0190] By acquiring user statistics information of a first interaction number adjacent to a target interaction number and dynamically predicting users who meet at least one target business indicator under the target interaction number, the efficiency of resource allocation can be improved.

[0191] Figure 8FIG. 1 is a flow chart showing a method for determining user resources corresponding to at least one target service indicator according to user prediction information and target resources according to an exemplary embodiment. Figure 8 As shown, in a possible implementation, step S705 may include:

[0192] In step 801, weight information corresponding to at least one target business indicator is obtained;

[0193] In step 803, unit resource information is determined based on the user prediction information, the target resource and the weight information;

[0194] In step 805, user resources corresponding to at least one target business indicator are determined according to the unit resource information and the weight information.

[0195] Taking the example in step S705 above as an example, for example, the user prediction information is: the predicted number of users who have answered 5 questions correctly at the target interaction number is 5, and the predicted number of users who have answered 10 questions correctly at the target interaction number is 3; the weight of the preset business indicator 1 is 1, and the weight of the preset business indicator 2 is 1.5. At the 10th question, the user resources corresponding to the preset business indicator 1 and the preset business indicator 2 can be determined based on the following formulas (5) to (7):

[0196]

[0197] R z1 =D 10 (6)

[0198] R z2 =1.5×D 10 (7)

[0199] Among them, R t D is the target resource; 10 It can represent the unit resource information corresponding to the target resource pool; R z1 is the user resource corresponding to the preset business indicator 1; R z2 It is the user resource corresponding to the preset business indicator 2. The user resource here may refer to the resource allocated to a user.

[0200] By setting corresponding weight information for the target business indicators, it is possible to differentiate user resources under different target business indicators, thereby ensuring that people who answer more questions cumulatively will receive more resources.

[0201] Fig. 9 is a block diagram of a resource allocation device according to an exemplary embodiment. Fig. 9 , the device may include:

[0202] The target business indicator determination module 901 is configured to determine at least one target business indicator from a plurality of preset business indicators according to the target interaction sequence number when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number; wherein the plurality of preset business indicators are preset business indicators arranged in sequence, and the cumulative interaction information quantity indicator in the latter preset business indicator is higher than the cumulative interaction information quantity indicator in the former preset business indicator; and the target interaction sequence number is one of the plurality of preset interaction sequence numbers;

[0203] The target resource determination module 903 is configured to determine the target resource in the target resource pool corresponding to the target interaction sequence number;

[0204] The target user acquisition module 905 is configured to acquire target users in the live broadcast room that meet at least one target business indicator;

[0205] The resource allocation module 907 is configured to execute the delivery of target resources to target users.

[0206] When it is detected that the interactive sequence information in the live broadcast room reaches the target interactive number, the target business indicator is determined according to the target interactive number, so that the target resources are issued to the target user based on the target resources in the target resource pool corresponding to the target interactive number; the resource allocation can be automatically executed at any target interactive number to improve the efficiency of resource allocation; and by setting multiple preset business indicators as preset business indicators arranged in sequence, the cumulative number indicator of interactive information in the later preset business indicators is higher than the cumulative number indicator of interactive information in the previous preset business indicators, so that users are allocated resources when they have answered 5 questions correctly in total, and they can also be allocated resources when they have answered 10 questions correctly in total, so that the more correct answers are given, the more resources are allocated, thereby improving the rationality of resource allocation; in addition, by setting the target resources to correspond to the target interactive number, differentiated settings of different resources corresponding to different questions are realized, thereby improving the flexibility of resource allocation.

[0207] In a possible implementation, the target resource determination module 903 may include:

[0208] The initial resource and first interaction sequence number acquisition unit is configured to execute acquisition of the initial resource in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information;

[0209] A first remaining resource determining unit is configured to determine a first remaining resource in a first resource pool corresponding to a first interaction sequence number;

[0210] The first target resource determining unit is configured to determine the target resource based on the first remaining resources and the initial resources.

[0211] In a possible implementation, the initial resource and first interaction sequence number obtaining unit may include:

[0212] The initial user distribution information acquisition subunit is configured to execute acquisition of initial user distribution information under each interaction sequence number in the interaction sequence information;

[0213] A first resource allocation information determining subunit is configured to determine the first resource allocation information corresponding to each preset interaction sequence number based on the initial user distribution information;

[0214] The total resource acquisition subunit is configured to execute acquisition of the total resources corresponding to the interaction sequence information;

[0215] The initial resource acquisition subunit is configured to acquire initial resources in the target resource pool according to the first resource allocation information and the total resources.

[0216] In a possible implementation, the target resource determination module 903 may include:

[0217] A target user distribution information acquisition unit is configured to execute acquisition of target user distribution information of each interaction number from the target interaction number to the second interaction number under a plurality of preset business indicators, wherein the second interaction number is the interaction number corresponding to the last interaction information in the interaction sequence information;

[0218] A second resource allocation information determining unit is configured to determine, based on target user distribution information, second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number;

[0219] A target remaining total resource acquisition unit is configured to execute acquisition of the target remaining total resource corresponding to the target interaction sequence number;

[0220] The second target resource determining unit is configured to determine the target resource according to the second resource allocation information and the target remaining total resources.

[0221] In a possible implementation manner, the second resource allocation information determining unit may include:

[0222] The weight information acquisition subunit is configured to acquire weight information corresponding to each of the plurality of preset business indicators;

[0223] The second resource allocation information determining subunit is configured to determine the second resource allocation information according to the weight information and the target user distribution information.

[0224] In a possible implementation, the resource allocation module 907 may include:

[0225] The user statistical information acquisition unit is configured to execute acquisition of a first interaction sequence number adjacent to a target interaction sequence number in the interaction sequence information, and user statistical information associated with the first interaction sequence number; wherein the user statistical information associated with the first interaction sequence number refers to user statistical information under at least one target business indicator when the interaction of the first interaction information corresponding to the first interaction sequence number ends;

[0226] A user prediction information determination unit is configured to determine user prediction information corresponding to at least one target business indicator at a target interaction sequence number based on user statistical information;

[0227] A user resource determination unit is configured to determine the user resources corresponding to at least one target service indicator according to the user prediction information and the target resources;

[0228] A user subset division unit, configured to divide the target user into user subsets corresponding to at least one target service indicator;

[0229] The resource allocation unit is configured to issue user resources corresponding to target service indicators of the user subset to users in the user subset.

[0230] In a possible implementation manner, the user resource determination unit may include:

[0231] A weight information acquisition subunit is configured to acquire weight information corresponding to at least one target business indicator;

[0232] The unit resource information determination subunit is configured to determine the unit resource information based on the user prediction information, the target resource and the weight information;

[0233] The user resource determination subunit is configured to determine the user resources corresponding to at least one target business indicator according to the unit resource information and the weight information.

[0234] In a possible implementation, the resource allocation unit may include:

[0235] The resource delivery statistics information acquisition subunit is configured to execute and acquire the resource delivery statistics information corresponding to at least one target business indicator before the target interaction sequence number;

[0236] A target user subset determination subunit is configured to determine a target user subset whose difference between user resources and resource delivery statistical information is greater than a resource threshold;

[0237] The resource allocation subunit is configured to execute the distribution of target user resources corresponding to the resource distribution statistics information to the users in the target user subset.

[0238] In a possible implementation, the device may further include:

[0239] A second remaining resource acquisition unit is configured to acquire second remaining resources in the target resource pool when the target user does not match the user prediction information;

[0240] The remaining resource processing unit is configured to execute adding the second remaining resource to the second resource pool, where the second resource pool is a resource pool corresponding to the interaction sequence number after the target interaction sequence number.

[0241] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0242] Fig.10 is a block diagram of an electronic device for resource allocation according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method of resource allocation is implemented.

[0243] Those skilled in the art will understand that Fig.10 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0244] In an exemplary embodiment, an electronic device is further provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the resource allocation method in the embodiment of the present disclosure.

[0245] In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the resource allocation method in the embodiment of the present disclosure. The computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0246] In an exemplary embodiment, a computer program product containing instructions is also provided. When the computer program product is executed on a computer, the computer is caused to execute the resource allocation method in the embodiment of the present disclosure.

[0247] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0248] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0249] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A resource allocation method, characterized in that: include: When it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number, at least one target business indicator is determined from a plurality of preset business indicators according to the target interaction sequence number; wherein the plurality of preset business indicators are preset business indicators arranged in sequence, and the cumulative number indicator of interaction information in the latter preset business indicators is higher than the cumulative number indicator of interaction information in the former preset business indicators; and the target interaction sequence number is one of the plurality of preset interaction sequence numbers; Determine a target resource in a target resource pool corresponding to the target interaction sequence number; Acquire target users in the live broadcast room who meet at least one target business indicator; Obtaining a first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information, and user statistical information associated with the first interaction sequence number; wherein the user statistical information associated with the first interaction sequence number refers to user statistical information under the at least one target business indicator when the interaction of the first interaction information corresponding to the first interaction sequence number ends; Based on the user statistical information, determining user prediction information corresponding to each of the at least one target business indicator at the target interaction sequence number; Determining, according to the user prediction information and the target resource, the user resources corresponding to each of the at least one target service indicators; Dividing the target users into user subsets corresponding to the at least one target business indicator; User resources with target service indicators corresponding to the user subset are issued to the users in the user subset.

2. The resource allocation method according to claim 1, characterized in that: The step of determining the target resource in the target resource pool corresponding to the target interaction sequence number comprises: Acquire the initial resources in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information; Determine a first remaining resource in a first resource pool corresponding to the first interaction sequence number; The target resource is determined based on the first remaining resource and the initial resource.

3. The resource allocation method according to claim 2, characterized in that: The step of obtaining the initial resources in the target resource pool includes: Obtaining initial user distribution information under each interaction sequence number in the interaction sequence information; Based on the initial user distribution information, determining first resource allocation information corresponding to each preset interaction sequence number; Obtaining total resources corresponding to the interaction sequence information; The initial resources in the target resource pool are acquired according to the first resource allocation information and the total resources.

4. The resource allocation method according to claim 1, characterized in that: Determining the target resource in the target resource pool corresponding to the target interaction sequence number includes: Obtain target user distribution information under each interaction sequence number from the target interaction sequence number to a second interaction sequence number, where the second interaction sequence number is the interaction sequence number corresponding to the last interaction information in the interaction sequence information; Based on the target user distribution information, determine second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number; Obtain the target remaining total resources corresponding to the target interaction sequence number; The target resource is determined according to the second resource allocation information and the target remaining total resource.

5. The resource allocation method according to claim 4, characterized in that: The step of determining the second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number based on the target user distribution information comprises: Obtaining weight information corresponding to each of the plurality of preset business indicators; The second resource allocation information is determined according to the weight information and the target user distribution information.

6. The resource allocation method according to claim 1, characterized in that: The step of determining the user resources corresponding to each of the at least one target service indicator according to the user prediction information and the target resource comprises: Obtaining weight information corresponding to each of the at least one target business indicators; Determining unit resource information based on the user prediction information, the target resource and the weight information; The user resources corresponding to each of the at least one target business indicator are determined according to the unit resource information and the weight information.

7. The resource allocation method according to claim 1, characterized in that: The step of issuing user resources corresponding to the target service indicators of the user subset to the user subset includes: Obtain resource delivery statistics information corresponding to each of the at least one target business indicator before the target interaction sequence number; Determine a target user subset for which the difference between the user resource and the resource delivery statistical information is greater than a resource threshold; The target user resources corresponding to the resource delivery statistical information are delivered to the users in the target user subset.

8. The resource allocation method according to claim 1, characterized in that: After the step of issuing user resources corresponding to the target service indicators of the user subset to the user subset, the method further includes: When the target user does not match the user prediction information, obtaining second remaining resources in the target resource pool; The second remaining resources are added to a second resource pool, where the second resource pool is a resource pool corresponding to an interaction sequence number after the target interaction sequence number.

9. A resource allocation device, characterized in that: include: The target business indicator determination module is configured to determine at least one target business indicator from a plurality of preset business indicators according to the target interaction sequence number when it is detected that the interaction sequence information in the live broadcast room reaches the target interaction sequence number; wherein the plurality of preset business indicators are preset business indicators arranged in sequence, and the cumulative number indicator of interaction information in the latter preset business indicators is higher than the cumulative number indicator of interaction information in the former preset business indicators; and the target interaction sequence number is one of the plurality of preset interaction sequence numbers; A target resource determination module is configured to determine a target resource in a target resource pool corresponding to the target interaction sequence number; A target user acquisition module is configured to acquire target users in the live broadcast room who meet the at least one target business indicator; A resource allocation module, configured to execute the sending of the target resource to the target user; Wherein, the resource allocation module includes: The user statistical information acquisition unit is configured to execute acquisition of a first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information, and user statistical information associated with the first interaction sequence number; wherein the user statistical information associated with the first interaction sequence number refers to user statistical information under the at least one target business indicator at the end of the interaction of the first interaction information corresponding to the first interaction sequence number; A user prediction information determination unit is configured to determine, based on the user statistical information, user prediction information corresponding to each of the at least one target business indicator at the target interaction sequence number; A user resource determination unit is configured to determine the user resources corresponding to each of the at least one target service indicators according to the user prediction information and the target resources; A user subset division unit, configured to divide the target user into user subsets corresponding to the at least one target service indicator; The resource allocation unit is configured to issue user resources corresponding to the target service indicators of the user subset to the users in the user subset.

10. The resource allocation device according to claim 9, characterized in that: The target resource determination module includes: An initial resource and first interaction sequence number acquisition unit is configured to acquire the initial resource in the target resource pool and the first interaction sequence number adjacent to the target interaction sequence number in the interaction sequence information; A first remaining resource determining unit is configured to determine a first remaining resource in a first resource pool corresponding to the first interaction sequence number; The first target resource determining unit is configured to determine the target resource based on the first remaining resources and the initial resources.

11. The resource allocation device according to claim 10, characterized in that: The initial resource and first interaction sequence number acquisition unit includes: The initial user distribution information acquisition subunit is configured to acquire the initial user distribution information under each interaction sequence number in the interaction sequence information; A first resource allocation information determining subunit is configured to determine the first resource allocation information corresponding to each preset interaction sequence number based on the initial user distribution information; A total resource acquisition subunit is configured to execute acquisition of total resources corresponding to the interaction sequence information; The initial resource acquisition subunit is configured to acquire the initial resource in the target resource pool according to the first resource allocation information and the total resources.

12. The resource allocation device according to claim 9, characterized in that: The target resource determination module includes: a target user distribution information acquisition unit configured to execute acquisition of target user distribution information of each interaction number from the target interaction number to a second interaction number under the plurality of preset business indicators, wherein the second interaction number is an interaction number corresponding to the last interaction information in the interaction sequence information; A second resource allocation information determining unit is configured to determine, based on the target user distribution information, second resource allocation information corresponding to each interaction number from the target interaction number to the second interaction number; A target remaining total resource acquisition unit is configured to execute acquisition of the target remaining total resource corresponding to the target interaction sequence number; The second target resource determining unit is configured to determine the target resource according to the second resource allocation information and the target remaining total resources.

13. The resource allocation device according to claim 12, characterized in that: The second resource allocation information determining unit includes: A weight information acquisition subunit is configured to acquire weight information corresponding to each of the plurality of preset business indicators; The second resource allocation information determining subunit is configured to determine the second resource allocation information according to the weight information and the target user distribution information.

14. The resource allocation device according to claim 9, characterized in that: The user resource determination unit comprises: A weight information acquisition subunit is configured to acquire weight information corresponding to each of the at least one target business indicator; a unit resource information determination subunit, configured to determine unit resource information based on the user prediction information, the target resource and the weight information; The user resource determination subunit is configured to determine the user resources corresponding to each of the at least one target business indicators according to the unit resource information and the weight information.

15. The resource allocation device according to claim 9, characterized in that: The resource allocation unit comprises: The resource delivery statistical information acquisition subunit is configured to execute the acquisition of the resource delivery statistical information corresponding to each of the at least one target business indicator before the target interaction sequence number; A target user subset determination subunit is configured to determine a target user subset for which a difference between the user resource and the resource delivery statistical information is greater than a resource threshold; The resource allocation subunit is configured to execute distribution of target user resources corresponding to the resource distribution statistical information to users in the target user subset.

16. The resource allocation device according to claim 9, characterized in that: The device also includes: A second remaining resource acquisition unit is configured to acquire second remaining resources in the target resource pool when the target user does not match the user prediction information; The remaining resource processing unit is configured to execute adding the second remaining resources to a second resource pool, where the second resource pool is a resource pool corresponding to an interaction sequence number after the target interaction sequence number.

17. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource allocation method according to any one of claims 1 to 8.

18. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource allocation method according to any one of claims 1 to 8.

19. A computer program product comprising computer instructions, characterized in that When the computer instructions are executed by a processor, the resource allocation method according to any one of claims 1 to 8 is implemented.