Resource allocation method, device, medium and product
By introducing technical means of multiple allocation and historical data considerations in the resource allocation method, the problem of unreasonable resource allocation is solved, the accuracy and rationality of resource allocation are achieved, and the waste of computing resources is reduced.
Patent Information
- Application Number
- CN202411945268.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-01
AI Technical Summary
In the process of resource allocation, the existing technology has unreasonable resource allocation due to single considerations, which affects resource usage experience and benefits. The repeated allocation operations are complex, consumes a large amount of computing resources, and even causes waste of computing resources.
A resource allocation method is proposed. By responding to resource allocation requests, the basic parameters and regional resource quotas of the target resource demander and its target area are determined, the historical data of the resource demander is obtained, and the pre-allocation model and prediction model are used for multiple allocations to ensure the accuracy and rationality of resource allocation.
By comprehensively considering the historical data of the resource demander and the multiple allocation results, the accuracy and rationality of resource allocation can be achieved, and the repeated allocation and computing resource consumption caused by unreasonable allocation are reduced.
Smart Images

Figure CN119740835A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and more particularly to a resource allocation method, device, medium and product. Background Art
[0002] In some resource usage scenarios, resource allocation is often involved. However, when allocating resources, various factors often lead to unreasonable resource allocation.
[0003] For example, when analyzing many resource demanders, the factors considered are relatively simple, resulting in uneven resource allocation among resource demanders. Some resource demanders are allocated too many resources, while some resource demanders are allocated resources that cannot meet their usage needs. The more resource demanders there are, the more obvious the problem of unreasonable resource allocation will be. If unreasonable resource allocation occurs, it will seriously affect the resource use experience and the benefits brought by the resources of the resource demanders. If serious unreasonable allocation occurs, it will be repeated for multiple times, and the resource allocation operation will be complicated, consuming a lot of computing resources, and even causing a waste of computing resources. Therefore, a solution that can effectively and reasonably allocate resources is needed. Summary of the invention
[0004] The present disclosure provides a resource allocation method, device, medium and product.
[0005] According to the first aspect of the present disclosure, a resource allocation method is provided. The method includes: in response to a resource allocation request, determining the target resource demander corresponding to the resource allocation request, and determining the target area where the target resource demander is located; determining the basic parameters of the target resource demander and the regional resource quota of the target area; obtaining the historical data of the resource demander within the target area; wherein the historical data is the historical consumption resource amount and the historical remaining resource amount of the resource demander; inputting the basic parameters into a first pre-allocation model to obtain a first allocation result; inputting the first allocation result and the historical data into a second pre-allocation model to obtain a second allocation result; inputting the first allocation result, the second allocation result and the regional resource quota into a prediction model to predict the target resource allocation quota of the target resource demander; and sending the target resource allocation quota to the target resource demander.
[0006] According to at least one embodiment of the present disclosure, based on historical data, a first resource demander whose resource quota utilization rate is lower than a first threshold for N consecutive months is determined, and based on the first allocation result and the historical data, the remaining resource quota of the first resource demander is determined; based on the historical data, a second resource demander whose resource quota utilization rate is greater than a second threshold for M consecutive months and the number of second resource demanders are determined; the remaining resource quota and the number of second resource demanders are input into a second pre-allocation model to obtain a second allocation result.
[0007] According to at least one embodiment of the present disclosure, the minimum quota of the resource demander is calculated based on the basic quota of the resource demander and the minimum guarantee coefficient of the resource demander in the basic parameters of the resource demander; the incentive quota of the resource demander is calculated based on the resource demander commission and the per capita commission of the resource demander in the basic parameters of the resource demander; the minimum quota of the resource demander, the incentive quota of the resource demander and the subsidy coefficient are input into the first pre-allocation model to obtain the first allocation result.
[0008] According to at least one embodiment of the present disclosure, the commission of the resource demander is determined based on the business type of the resource demander; the commission rankings of multiple resource demanders in the target area are obtained, and the commission per thousand of the resource demander is calculated using the top Q resource demanders and the regional basic quota; the per capita commission of the resource demander is determined based on the resource demander commission and the total number of resource demanders; the commission ranking of the resource demander in the target area is obtained, and the per capita commission per thousand of the resource demander is calculated using the top P resource demanders and the regional basic quota; the incentive quota for the resource demander is calculated using the resource demander commission, the commission per thousand of the resource demander quota, the per capita commission of the resource demander and the per capita commission per thousand of the resource demander quota.
[0009] According to at least one embodiment of the present disclosure, the commission coefficient of new goods and the new goods commission of the resource demander are obtained to calculate the first commission; the commission coefficient of second-hand goods and the second-hand goods commission of the resource demander are obtained to calculate the second commission; the rental commission coefficient and the rental commission of the resource demander are obtained to calculate the third commission; the positive review coefficient of the resource demander and the positive review commission of the resource demander are obtained to calculate the fourth commission; the first commission, the second commission, the third commission and the fourth commission are used to determine the commission of the resource demander.
[0010] According to at least one embodiment of the present disclosure, the number of first-role personnel, per capita resource consumption in the region and the first-role subsidy coefficient of the resource demander are obtained to calculate the first basic amount; the number of second-role personnel and per capita resource consumption in the region are obtained to calculate the second basic amount; it is determined whether the target resource demander is a new resource demander, and if so, the subsidy amount of the target resource demander is determined; the basic amount of the resource demander is determined using the first basic amount, the second basic amount and the subsidy amount; the regional basic amount is obtained by summing the basic amounts of the resource demanders of all resource demanders in the target area.
[0011] According to at least one embodiment of the present disclosure, the remaining total amount is calculated based on the remaining resource amount of each first resource demander; and the average resource amount allocated to each second resource demander is calculated as the second allocation result using the remaining total amount and the number of second resource demanders.
[0012] According to a second aspect of the present disclosure, a resource allocation system is provided, including: a determination module, for determining, in response to a resource allocation request, a target resource demander corresponding to the resource allocation request, and determining a target area where the target resource demander is located; the determination module is also used to determine the basic parameters of the target resource demander and the regional resource quota of the target area. An acquisition module is used to obtain historical data of resource demanders within the target area; wherein the historical data is the historical consumption of resources and the historical remaining resources of the resource demander. A first allocation module is used to input the basic parameters into a first pre-allocation model to obtain a first allocation result. A second allocation module is used to input the first allocation result and the historical data into a second pre-allocation model to obtain a second allocation result. A prediction module is used to input the first allocation result, the second allocation result and the regional resource quota into a prediction model to predict the target resource allocation quota of the target resource demander. A sending module is used to send the target resource allocation quota to the target resource demander.
[0013] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory storing execution instructions; and a processor executing the execution instructions stored in the memory, so that the processor executes the method of the first aspect of any embodiment of the present disclosure.
[0014] According to a fourth aspect of the present disclosure, a readable storage medium is provided, wherein the readable storage medium stores execution instructions, and when the execution instructions are executed by a processor, the method of the first aspect of any embodiment of the present disclosure is implemented.
[0015] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method of the first aspect of any embodiment of the present disclosure is implemented.
[0016] In the scheme provided by the present disclosure, a resource allocation method is used to budget and allocate resources required by each resource demander within a target area. In the resource allocation method, in response to a resource allocation request, the target resource demander corresponding to the resource allocation request is determined, and the target area where the target resource demander is located is determined; the basic parameters of the target resource demander and the regional resource quota of the target area are determined. The historical data of the resource demanders within the target area are obtained; wherein the historical data are the historical consumption of resources and the historical remaining resources of the resource demanders. The basic parameters are input into a first pre-allocation model to obtain a first allocation result. The first allocation result and the historical data are input into a second pre-allocation model to obtain a second allocation result. The first allocation result, the second allocation result and the regional resource quota are input into a prediction model to predict the target resource allocation quota of the target resource demander. Through the above method, the historical data of resource demanders are comprehensively considered, and the historical data is used as the basis for secondary resource allocation to avoid irrational resource allocation caused by uneven resource use in off-season and peak season. Therefore, after the first allocation, the possible resource usage in the actual use of each resource demander is judged in combination with historical data, and the secondary allocation is carried out in time. The target resource allocation quota of the target resource demander is predicted by combining the results of the two allocations, so as to ensure that the resources allocated to each resource demander are accurate and reasonable. Ultimately, the accuracy of resource allocation can be achieved, and the consumption of computing resources caused by repeated allocation due to unreasonable allocation can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings illustrate exemplary embodiments of the present disclosure and together with the description serve to explain the principles of the present disclosure. These drawings are included to provide a further understanding of the present disclosure and are incorporated in and constitute a part of this specification.
[0018] Figure 1 This is a schematic diagram of the structure of the resource allocation system proposed in the present disclosure.
[0019] Figure 2 The figure is a schematic diagram of the overall process of a resource allocation method according to an embodiment of the present disclosure.
[0020] Figure 3 A schematic diagram of the flow chart of the secondary resource allocation method provided in the present disclosure.
[0021] Figure 4 The present invention is a block diagram showing the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] The present disclosure is further described in detail below in conjunction with the accompanying drawings and examples. It is understood that the specific examples described herein are only used to explain the relevant content, rather than to limit the present disclosure. It should also be noted that, for ease of description, only the parts related to the present disclosure are shown in the accompanying drawings.
[0023] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present disclosure can be combined with each other. The technical solution of the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In the existing technology, an online and offline cooperation mode is adopted, in which the online service platform is responsible for managing all commodities, and the offline resource demanders and their staff also obtain commodity business opportunities through the service platform.
[0025] In order to facilitate the unified management and work incentives of resource demanders and their staff, internal resource distribution is adopted. Resource demanders and their staff can use resources to purchase commodity opportunities.
[0026] How to allocate these resources fairly and effectively and maintain a healthy resource ecosystem (avoid resource inflation or deflation) has become a challenge. Therefore, a resource allocation system (referred to as the resource demander budget pool) that uses resource demanders as the smallest unit for management and control is introduced as the terminal control valve. Before the start of each budget month, the system calculates the upper limit of resources that each resource demander should obtain. The resources obtained by each broker (staff member) under the resource demander will occupy the budget of the resource demander. After exceeding the budget, all staff members under the resource demander will no longer be able to obtain resources. This unreasonable resource allocation phenomenon seriously affects the work enthusiasm of the staff and the overall performance of the resource demander. Therefore, the present disclosure proposes a more reasonable resource allocation solution.
[0027] Explanation of terms.
[0028] For the convenience of description and to make the technical solutions of the specific implementation methods of the present disclosure easier to understand, before describing the resource allocation method implemented by the present disclosure, the technical terms involved in the specific implementation methods of the present disclosure are explained as follows.
[0029] Resources: In order to ensure that the goods on the service platform can be efficiently and fully utilized, the service platform distributes resources (for example, points or virtual currency) to resource demanders and their staff. Resource demanders can use resources to purchase business opportunities from the service platform. Generally speaking, the better the sales performance of resource demanders or staff, the more resources they need.
[0030] It should be noted that the above resource allocation scheme can be applied to various scenarios, for example, it can be applied to housing-related rental and sales scenarios, where the region mentioned above can be a city (for example, a city, province, district, county, township, etc.). The resource demander can be an offline store that undertakes the rental and sales business. The resources mentioned above can be virtual currency allocated by each store to the personnel in the store (including the first role and the second role) in exchange for housing rental and sales opportunity information.
[0031] Of course, the above method can also be used in game scenarios or other scenarios that require resource allocation. This is only used as an example and does not constitute a limitation on the technical solution of the present disclosure.
[0032] It should be noted that the service platform mentioned above is a platform for providing goods for sale or lease. The goods mentioned here have significant time fluctuation characteristics and regional differences, that is, the sales of goods have differences in off-season and peak season at different times, and the number of sales or lease transactions of goods in different regions also has significant differences. For ease of understanding, the following embodiments will be explained by taking the goods as houses as an example.
[0033] Figure 1 FIG. 1 is a schematic diagram of the structure of the resource allocation system proposed in the present disclosure. Figure 1 As shown, the system includes a software virtual module that implements the corresponding functions. Specifically, the system includes a determination module 11, which is used to respond to the resource allocation request, determine the target resource demander corresponding to the resource allocation request, and determine the target area where the target resource demander is located. The determination module 11 is also used to determine the basic parameters of the target resource demander and the regional resource quota of the target area.
[0034] The resource allocation request contains the demand identifier of the resource demander, which can be used to find the target resource demander. Furthermore, it is necessary to determine the target area to which the target resource demander belongs. Each target resource demander has an area attribute and belongs to only one area, which can be an administrative area such as a county, city, or district, or a man-made area, such as a commercial area, industrial area, or residential area.
[0035] The basic parameters of the resource demander mentioned here may include: one or more of the basic quota of the resource demander, the guaranteed quota of the resource demander, the incentive quota of the resource demander, the commission of the resource demander, the commission per thousand of the resource demander, the per capita commission of the resource demander, and the per capita commission per thousand of the resource demander.
[0036] Among them, the basic quota for resource demanders is issued according to the number of resource demanders. The resource quota issued is the per capita resource consumption quota of the area in recent months (such as 6 months). The region can provide a certain degree of support to the first role (such as newcomers) and new resource demanders; the amount that each person can be allocated is determined by the historical resource consumption. Lengthening the historical data cycle can avoid deviations caused by holidays and off-season fluctuations.
[0037] The minimum guaranteed amount for resource demanders is the basic amount of each resource demander multiplied by the minimum guaranteed coefficient for resource demanders. The minimum guaranteed coefficient for resource demanders is how much the region decides to allocate as the minimum guaranteed salary for resource demanders. Appropriately increasing the coefficient can reduce the significant income differences among staff members on the resource demanders caused by performance.
[0038] The commission for resource demanders is the weighted sum of commissions from multiple business lines, including new products (e.g., new homes), second-hand products (e.g., second-hand homes), resource demander leasing (e.g., house leasing), and resource demander reviews. Regions can assign different weights to different types of commissions based on management demands.
[0039] The per capita commission of the resource demander refers to the per capita commission obtained by dividing the commission of the resource demander by the total number of staff of the resource demander.
[0040] The commission incentive amount for resource demanders is the resource budget amount that can be converted through the resource demander commission and the per capita commission of the resource demander (converted here into thousand commissions, that is, how much resource budget amount is per 1 thousand commissions). Restricted resource demanders must determine whether they are within the incentive range of regional configuration based on the resource demander commission and commission ranking. The same is true for the per capita commission of resource demanders and the per capita commission ranking of resource demanders. After determining the thousand commission amount, it can be determined how much should be allocated to the top resource demanders according to the resource demander commission ranking, and how much can be allocated to resource demanders according to the per capita commission ranking of resource demanders.
[0041] In actual applications, some commodities have significant regional characteristics. For example, the leasing or selling of houses in different regions has different sales popularity and different levels of attention. Therefore, the basic parameters of resource demanders in different regions are different. For example, the basic quota of resource demanders in hot-selling areas is greater than that of resource demanders in cold areas. Similarly, the differences between regional project quotas in different regions are also quite obvious.
[0042] The acquisition module 12 is used to acquire the historical data of the resource demanders within the target area, wherein the historical data is the historical consumption quantity of resources and the historical remaining quantity of resources of the resource demanders, and the historical data is stored in the historical data storage device.
[0043] When allocating resources, each resource demander can actively send a resource allocation request to the service platform through the client, or the service platform can initiate the resource allocation task autonomously (for example, automatically sending it at an agreed periodic time).
[0044] The service platform refers to the server that provides commodities. The service platform is also used to perform tasks in the resource allocation system.
[0045] In addition, the historical data mentioned here can be stored in a dedicated local storage or cloud storage. Of course, if the server platform itself has strong storage capabilities, it can also be stored in the service platform.
[0046] The historical data mentioned here refers to the resource consumption and remaining resource quantity of the resource demander in the past few months. Generally, the historical data of the resource demander in the previous 6 months is obtained. It should be noted that the reason for obtaining several months of historical data here is to avoid the impact of fluctuations in resource consumption caused by the off-season and peak season on the subsequent resource budget of the resource demander. The more months included in the historical data obtained, the less adverse impact of normal fluctuations on the accuracy of the budget results, which can reduce the sudden increase in resource consumption in the peak season or increase the sudden decrease in resource consumption in the off-season.
[0047] The first allocation module 13 is used to input the basic parameters into the first pre-allocation model to obtain the first allocation result. The second allocation module 14 is used to input the first allocation result and the historical data into the second pre-allocation model to obtain the second allocation result.
[0048] In actual applications, when allocating resources to resource demanders, the disclosed solution proposes a two-allocation solution. Specifically, after obtaining the basic parameters of the resource demander, the first allocation result is calculated using the basic parameters. It should be noted that this first allocation result is calculated using the first pre-allocation model. However, in actual applications, due to regional differences among resource demanders and significant fluctuations in the off-season and peak season in the sales and leasing business of houses, the first allocation result may not be able to meet the actual usage needs of the resource demander.
[0049] In order to compensate for the adverse effects of unreasonable resource allocation on the resource demander caused by the first allocation result, the present disclosure proposes a secondary allocation scheme. Specifically, when performing secondary allocation on the resource demander, historical data and the first allocation result are comprehensively considered. Through the active secondary allocation method, the adverse effects of unreasonable allocation on the resource demander and the staff of the resource demander are avoided, as well as the waste of computing resources caused by a large number of repeated calculations in the traditional scheme to compensate for the adverse effects.
[0050] The historical data mentioned here refers to the resource consumption and resource surplus of the resource demander in the past few months.
[0051] In order to make the resource quota allocated to the resource demander more reasonable, a two-time allocation scheme is proposed. The two-time allocation is used to timely adjust or make up for the unreasonable resource allocation caused by the first allocation, and avoid or reduce the adverse effects on the resource demander or the staff of the resource demander due to unreasonable resource allocation.
[0052] The prediction module 15 is used to input the first allocation result, the second allocation result and the regional resource quota into the prediction model to predict the target resource allocation quota of the target resource demander.
[0053] When calculating the resource quota allocated to the target resource demander, the first allocation result and the second allocation result, as well as the resource quota of the region where the resource demander is located, are input into the prediction model, and the target resource allocation quota allocated to the target resource demander is obtained through comprehensive prediction. The prediction result obtained in this way is more accurate, which can make the resource quota finally allocated to each resource demander more reasonable, and effectively avoid or reduce the uneven allocation of resource demanders.
[0054] After the prediction result of the resource allocation quota of the resource demander is completed, the prediction result can be further sent to the corresponding client (for example, the client of the resource demander) by using the sending module 16. Then, the resource demander can allocate the resource to each specific staff member through the client operation.
[0055] Based on the above disclosed content, the resource allocation system is used to budget and allocate the resources required by each resource demander within the regional scope. In the resource allocation system, the determination module is used to respond to the resource allocation request, determine the target resource demander corresponding to the resource allocation request, and determine the target area where the target resource demander is located; the determination module is also used to determine the basic parameters of the target resource demander and the regional resource quota of the target area. The acquisition module is used to obtain the historical data of the resource demander within the target area; wherein the historical data is the historical consumption of resources and the historical remaining resources of the resource demander. The first allocation module is used to input the basic parameters into the first pre-allocation model to obtain the first allocation result. The second allocation module is used to input the first allocation result and the historical data into the second pre-allocation model to obtain the second allocation result. The prediction module is used to input the first allocation result, the second allocation result and the regional resource quota into the prediction model to predict the target resource allocation quota of the target resource demander. Through the above method, in the resource allocation system, the historical data of the resource demander is comprehensively considered, and the historical data is used as the basis for the secondary allocation of resources to avoid the irrational resource allocation caused by the uneven use of resources in the off-season and peak season. Therefore, after the first allocation, the possible resource usage in the actual use of each resource demander is judged in combination with the historical data, and the secondary allocation is carried out in time. The target resource allocation quota of the target resource demander is predicted in combination with the results of the two allocations, so as to ensure that the resources that each resource demander can be allocated are accurate and reasonable. Finally, the accuracy of resource allocation can be achieved, and the consumption of computing resources caused by repeated allocation due to unreasonable allocation can be reduced.
[0056] In one or more embodiments of the present disclosure, the second allocation module 14 is also used to determine, based on the historical data, a first resource demander whose resource quota utilization rate is lower than a first threshold for N consecutive months, and to determine, based on the first allocation result and the historical data, the remaining resource quota of the first resource demander; based on the historical data, determine a second resource demander whose resource quota utilization rate is greater than a second threshold for M consecutive months and the number of second resource demanders; and input the remaining resource quota and the number of second resource demanders into the second pre-allocation model to obtain the second allocation result.
[0057] The second allocation result mentioned here means that the budgeted resources of the first resource demander with low resource consumption demand are transferred to the second resource demander with high resource consumption demand. Thus, the amount of resources allocated to each resource demander is ensured to be more reasonable and accurate. The specific implementation method is as follows.
[0058] After obtaining the historical data, obtain the resource utilization rates of all resource demanders in the target area, and sort them according to the resource utilization rates of the resource demanders. When counting, obtain the first resource demander whose resource quota utilization rate is lower than the first threshold for N consecutive months. Alternatively, obtain the top 10% of the first resource demanders with the lowest resource quota utilization rate for N consecutive months. It can be seen that the selected first resource demander has a relatively weak consumption capacity based on the previously allocated resource quotas, and often has unused resources. If too many resources are allocated, it will cause waste and occupy the resources of other resource demanders.
[0059] When counting the remaining resource quota of the first resource demander, multiple first resource demanders are found, and the resource quotas actually consumed by the multiple first resource demanders in history are counted, and the average value of the resources actually consumed by each first resource demander in history is calculated, which is assumed to be A1. The allocated resources obtained after calculation are assumed to be A2. The remaining resource quota = A2-A1. In the above manner, the remaining resources of the first resource demander are calculated, and this part of the resources can be transferred to the second resource demander.
[0060] When statistics are collected, the second resource demanders whose resource quota usage rate is greater than the second threshold for M consecutive months are obtained. Alternatively, the top 10% of the second resource demanders with the highest resource quota usage rate for M consecutive months are obtained. It can be seen that the selected second resource demanders have relatively strong consumption capabilities based on the previously allocated resource quotas, and there is often a situation where resources are insufficient and the resources are occupied by other first resource demanders.
[0061] When transferring the resource quota of the first resource demander to the second resource demander, it can be secondary distributed according to the resource quota that each second resource demander lacks, or it can be evenly distributed. The specific average distribution method is as follows. Based on the remaining resource quotas of each first resource demander, the remaining total quota is calculated; using the remaining total quota and the number of second resource demanders, the average resource quota allocated to each second resource demander is calculated as the second distribution result. The second pre-allocation model is: the remaining total quota of the first resource demander / the number of second resource demanders = the second distribution result.
[0062] Specifically, suppose there are two first resource demanders, with remaining resource amounts A1 and B1 respectively, and the resource quota allocated at one time is A2. The total remaining quota of the first resource demanders is calculated to be A1+B1. Assuming that there are two second resource demanders that meet the conditions, when the remaining total quota is redistributed, the second allocation result is calculated to be C1=(A1+B1) / 2. Then, C1 can be allocated to the two second resource demanders.
[0063] Through the above method, after completing the primary allocation of resource demanders, the actual resource usage in historical data is further considered for secondary allocation. This makes the number of resources actually allocated to each resource demander more in line with actual usage needs and more reasonable. Internal secondary allocation has been performed before input to the prediction model to avoid waste of computing resources due to incorrect budgeting.
[0064] It should be noted that N and M defined here are not zero, and N and M may be equal or unequal.
[0065] In one or more embodiments of the present disclosure, the first allocation module 13 is also used to calculate the minimum quota of the resource demander based on the basic quota of the resource demander and the minimum guarantee coefficient of the resource demander in the basic parameters of the resource demander; calculate the incentive quota of the resource demander based on the resource demander commission and the per capita commission of the resource demander in the basic parameters of the resource demander; input the minimum quota of the resource demander, the incentive quota of the resource demander and the subsidy coefficient into the first pre-allocation model to obtain the first allocation result.
[0066] The minimum salary coefficient for resource demanders mentioned here refers to the minimum salary coefficient set for each resource demander based on the region. When the salary gap between resource demanders in different regions is too large, the minimum salary coefficient can be used to narrow the gap. At the same time, different minimum salary coefficients for resource demanders can also be used to promote the enthusiasm of resource demanders.
[0067] The basic quota for resource demanders mentioned here is issued according to the number of staff members of resource demanders. The basic quota for resource demanders issued is the per capita resource consumption quota in the region in the past 6 months (that is, the per capita resource consumption of all staff members in the resource demanders). Within the region, a certain degree of support can be given to the first role (for example, newcomers) and new resource demanders. For example, when newcomers join the resource demanders, the basic quota for the resource demanders can be increased. The amount of resources that can be allocated to each staff member in the resource demander is determined by the historical resource consumption. Extending the cycle can avoid deviations caused by holidays and off-season fluctuations.
[0068] The minimum guaranteed amount of the resource demander = the basic amount of the resource demander × the minimum guaranteed coefficient of the resource demander. The size of the minimum guaranteed coefficient of the resource demander can be set according to the actual situation.
[0069] The commission incentive amount for resource demanders is the resource budget amount that can be converted through the resource demander's commission and the per capita commission of the resource demander (converted here into thousand commissions, that is, how much resource budget amount is per 1 thousand commissions). Resource demanders with limited resource allocation must determine whether they are within the incentive range of regional configuration based on the resource demander's commission and commission ranking. That is, in the same region, different resource demanders have different incentive amounts. The same is true for the per capita commission of resource demanders and the per capita commission ranking of resource demanders. After determining the thousand commission amount, it can be determined how much should be allocated to the top resource demanders according to the resource demander commission ranking, and how much can be allocated to resource demanders according to the per capita commission ranking of resource demanders.
[0070] After obtaining the minimum quota of resource demanders, the incentive quota of resource demanders and the subsidy coefficient, the first allocation result is calculated using the minimum quota of resource demanders, the incentive quota of resource demanders and the subsidy coefficient. The first pre-allocation model is as follows: the first allocation result = minimum quota of resource demanders + incentive quota of resource demanders × subsidy coefficient.
[0071] Through the above method, the basic parameter budget of the resource demander can be integrated to obtain the one-time allocation quota for each resource demander in the region. The one-time allocation quota is the result of the prediction within the entire region and can meet the resource usage needs of most resource demanders in the region.
[0072] In one or more embodiments of the present disclosure, the first allocation module 13 is also used to determine the commission of the resource demander based on the business type of the resource demander; obtain the commission rankings of multiple resource demanders in the target area, and use the top Q resource demanders and the regional basic quota to calculate the commission per thousand of the resource demander; determine the per capita commission of the resource demander based on the resource demander commission and the total number of resource demanders; obtain the commission ranking of the resource demander in the target area, and use the top P resource demanders and the regional basic quota to calculate the per capita commission per thousand of the resource demander; use the resource demander commission, the commission per thousand of the resource demander quota, the per capita commission of the resource demander and the per capita commission per thousand of the resource demander quota to calculate the resource demander incentive quota.
[0073] In actual applications, different business types correspond to different resource demander commissions. The business types mentioned here include: new product business (for example, new house business), second-hand product business (for example, second-hand house business), rental business, and good reviews from resource demanders. New product business corresponds to the new product commission coefficient and the resource demander's new product commission, second-hand product business corresponds to the second-hand product commission coefficient and the resource demander's second-hand product commission, rental business corresponds to the rental commission coefficient and the resource demander's rental commission, and good reviews from resource demanders correspond to the resource demander's good review coefficient and the resource demander's good review commission.
[0074] After calculating the resource demander commission in the above manner, further sort according to the size of the door-point commission to obtain the resource demander commission ranking in the target area. Select the top Q resource demanders from the resource demander commission ranking. Sum the resource demander commissions of the selected Q resource demanders. Further, combined with the regional basic quota, calculate the resource demander commission quota.
[0075] The regional basic quota mentioned here is derived from the sum of the basic quotas of resource demanders. The calculation of the regional basic quota is mainly to provide a benchmark value for the composition of other regional budget items, such as the determination of regional performance subsidy quotas. The calculation process of the commission per thousand of resource demanders is as follows: It is necessary to calculate the sum of commissions of the top Q resource demanders (the range ratio of the top is a model parameter), multiply the regional basic quota by the commission incentive coefficient and then divide it by one thousandth of the sum of commissions to get the commission per thousand of resource demanders. The commission per thousand of resource demanders can be converted into the commission incentive budget quota of each top resource demander. The specific calculation formula is as follows: The commission per thousand of resource demanders = regional basic quota × 0.5 / (total commission of Q resource demanders / 1000).
[0076] The per capita commission of resource demanders refers to the total commission of resource demanders divided by the total number of staff in resource demanders. The specific calculation formula is as follows: per capita commission of resource demanders = total commission of resource demanders / number of staff in resource demanders.
[0077] Similarly, the average commission incentive quota per resource demander of each head P resource demander can be obtained, and the calculation formula is as follows: Average commission per thousand commission per resource demander = regional basic quota × 0.5 / (total average commission per P resource demander / 1000).
[0078] The sum of the per capita commission incentive quota of the resource demander and the per capita commission incentive quota of the resource demander is the total per capita incentive quota of the resource demander. The calculation formula is as follows: per capita incentive quota of the resource demander = (resource demander commission / (1000×resource demander commission per thousand commission quota)+per capita commission of the resource demander / (1000×per capita commission per thousand commission quota of the resource demander))×incentive coefficient.
[0079] It should be noted that the parameters P and Q here are non-zero integers, and P and Q may be equal or unequal.
[0080] The incentive amount for resource demanders calculated based on the above method is more in line with the actual situation of resource demanders. The incentive amount for resource demanders is calculated based on commissions, and the resource allocation amount is indirectly adjusted using commissions to obtain a more accurate incentive amount for resource demanders.
[0081] In one or more embodiments of the present application, the determination module 11 is also used to: obtain the new product commission coefficient and the new product commission of the resource demander to calculate the first commission; obtain the second-hand product commission coefficient and the second-hand product commission of the resource demander to calculate the second commission; obtain the rental commission coefficient and the rental commission of the resource demander to calculate the third commission; obtain the resource demander's positive review coefficient and the resource demander's positive review commission to calculate the fourth commission; use the first commission, the second commission, the third commission and the fourth commission to determine the resource demander's commission.
[0082] In actual applications, offline resource demanders usually have composite business capabilities, that is, a resource demander will perform multiple different businesses at the same time. Different types of businesses can bring different benefits, so the commissions corresponding to different business types may be different. The specific calculation process is as follows.
[0083] New product commission coefficient × new product commission of resource demander = first commission.
[0084] Second-hand goods commission coefficient × second-hand goods commission of resource demander = second commission.
[0085] Leasing commission coefficient × leasing commission of resource demander = third commission.
[0086] The resource demander's favorable review coefficient × the resource demander's favorable review commission = the fourth commission.
[0087] If the resource demander has other businesses, you can continue to add corresponding calculation formulas. If the resource demander only has one or two of the above four businesses, you can choose according to your needs when calculating the commission.
[0088] Assuming that the resource demander has the above four businesses at the same time, the resource demander's commission = first commission + second commission + third commission + fourth commission.
[0089] Through the above method, the commission of the resource demander is determined based on the actual business type of the resource demander. The commission of the resource demander can accurately reflect the actual business status of the resource demander, so that the allocated resources calculated using the commission of the resource demander are more accurate.
[0090] In one or more embodiments of the present disclosure, the determination module 11 is also used to: obtain the number of first-role personnel in the resource demander (which can be understood as the number of new personnel), the per capita resource consumption in the region and the first-role subsidy coefficient, and calculate the first basic amount; obtain the number of second-role personnel in the resource demander (which can be understood as: the number of elderly personnel), the per capita resource consumption in the region, and calculate the second basic amount; determine whether the target resource demander is a new resource demander, and if so, determine the subsidy amount of the target resource demander; use the first basic amount, the second basic amount and the subsidy amount to determine the basic amount of the resource demander.
[0091] The first role of resource demanders mentioned here can be understood as the newly hired staff members among the resource demanders. Due to their lack of work experience or business experience, it is necessary to provide more subsidies or resource quotas to the resource demanders.
[0092] The second role of resource demanders mentioned here can be understood as staff who have been employed for more than a certain period of time, or staff who have work experience or business experience before joining the resource demander. For these personnel, the resource demander will not provide more resource subsidies.
[0093] In a target area, there are multiple resource demanders at the same time, and these resource demanders have a certain intersection of goods, that is, the same product (for example, the same second-hand house) can be sold by multiple resource demanders at the same time. This means that the total number of goods in a region is limited, and the total number that can be sold each month is also a priority. Therefore, when allocating resources to each resource demander, it is necessary to consider comprehensively within the regional scope.
[0094] That is, when calculating the first basic quota, the first basic quota is calculated by comprehensively calculating the number of newcomers on the resource demand side, the per capita resource consumption in the region, and the subsidy coefficient for newcomers. The calculation formula is as follows: First basic quota = number of newcomers on the resource demand side × per capita resource consumption in the region × subsidy coefficient for newcomers. It should be noted that the per capita resource consumption in the region mentioned here can be the per capita resource consumption in the region in recent months, for example, the per capita resource consumption in the region in the past six months.
[0095] When calculating the second basic quota, the second basic quota is calculated by combining the number of elderly people on the resource demand side and the per capita resource consumption in the region. The calculation formula is as follows: second basic quota = number of elderly people on the resource demand side × per capita resource consumption in the region. It should be noted that the per capita resource consumption in the region mentioned here can be the per capita resource consumption in the region in recent months, for example, the per capita resource consumption in the region in the past six months.
[0096] In addition, the determination module 11 is also used to: obtain a regional basic quota by summing up the basic quotas of resource demanders of all resource demanders in the target area. The regional basic quota mentioned here is related to the total amount of goods in the target area. When calculating the regional basic quota, the sum of the basic quotas of all resource demanders in the region can be used as the regional basic quota of the region.
[0097] Based on the above, the basic quota for resource demanders is issued according to the number of resource demanders. The quota issued is the per capita resource consumption quota of the region in recent months. The region can provide a certain degree of support to newcomers and new stores (for example, by adjusting the newcomer subsidy coefficient). The amount of resources that each person can be allocated is determined by the historical resource consumption. Extending the cycle can avoid deviations caused by holidays and off-season fluctuations. This makes the basic quota for resource demanders more accurate and reasonable.
[0098] like Figure 2 The overall flow chart of the resource allocation method of one embodiment of the present disclosure is as follows. The resource allocation method can be Figure 1 The system and software virtual modules shown in the figure are implemented, and each software module consumes a certain amount of computing power during execution. Figure 2 As can be seen in , the resource allocation method specifically includes the following steps.
[0099] Step 201: In response to a resource allocation request, determine a target resource demander corresponding to the resource allocation request, and determine a target area where the target resource demander is located.
[0100] Step 202: Determine the basic parameters of the target resource demander and the regional resource quota of the target region.
[0101] Step 203: Acquire historical data of resource demanders within the target area; wherein the historical data is the historical consumption quantity of resources and the historical remaining quantity of resources of the resource demanders.
[0102] Step 204: input the basic parameters into the first pre-allocation model to obtain a first allocation result.
[0103] Step 205: Input the first allocation result and the historical data into the second pre-allocation model to obtain a second allocation result.
[0104] Step 206: Input the first allocation result, the second allocation result and the regional resource quota into the prediction model to predict the target resource allocation quota of the target resource demander.
[0105] Step 207: Send the target resource allocation quota to the target resource demander.
[0106] like Figure 3The following is a flow chart of the secondary resource allocation method provided by the present disclosure. Figure 3 It can be seen that the allocation method of the secondary allocation resources is as follows: Step 301: Based on the historical data, determine the first resource demander whose resource quota utilization rate is lower than the first threshold for N consecutive months, and determine the remaining resource quota of the first resource demander based on the first allocation result and the historical data. Step 302: Based on the historical data, determine the second resource demander whose resource quota utilization rate is greater than the second threshold for M consecutive months and the number of second resource demanders. Step 303: Input the remaining resource quota and the number of the second resource demanders into the second pre-allocation model to obtain the second allocation result.
[0107] Wherein, step 303 specifically includes: step 3031, based on the remaining resource quota of each first resource demander, calculate the remaining total quota. Step 3032, using the remaining total quota and the number of the second resource demanders, calculate the average resource quota allocated to each second resource demander as the second allocation result.
[0108] As shown in step 203, the allocation method of the first allocation result is as follows: based on the basic quota of the resource demander and the minimum guarantee coefficient of the resource demander in the basic parameters of the resource demander, the minimum guarantee quota of the resource demander is calculated; based on the resource demander commission and the per capita commission of the resource demander in the basic parameters of the resource demander, the incentive quota of the resource demander is calculated; the minimum guarantee quota of the resource demander, the incentive quota of the resource demander and the subsidy coefficient are input into the first pre-allocation model to obtain the first allocation result.
[0109] The method for determining the incentive quota for resource demanders includes: determining the commission of the resource demander based on the business type of the resource demander; obtaining the commission rankings of multiple resource demanders in the target area, and using the top Q resource demanders and the regional basic quota to calculate the commission per thousand quota for the resource demander; determining the per capita commission of the resource demander based on the commission of the resource demander and the total number of resource demanders; obtaining the commission ranking of the resource demander in the target area, and using the top P resource demanders and the regional basic quota to calculate the per capita commission per thousand quota for the resource demander; and calculating the incentive quota for the resource demander using the resource demander commission, the commission per thousand quota for the resource demander, the per capita commission of the resource demander and the per capita commission per thousand quota for the resource demander.
[0110] The method for determining the commission of the resource demander includes: obtaining the new product commission coefficient and the new product commission of the resource demander to calculate the first commission; obtaining the second-hand product commission coefficient and the second-hand product commission of the resource demander to calculate the second commission; obtaining the rental commission coefficient and the rental commission of the resource demander to calculate the third commission; obtaining the resource demander's positive review coefficient and the resource demander's positive review commission to calculate the fourth commission; using the first commission, the second commission, the third commission and the fourth commission to determine the resource demander's commission.
[0111] The method for determining the basic quota is as follows, which can be specifically divided into the method for determining the basic quota of the resource demander: obtain the number of personnel in the first role, the per capita resource consumption in the region and the subsidy coefficient of the first role in the resource demander, and calculate the first basic quota; obtain the number of personnel in the second role and the per capita resource consumption in the region in the resource demander, and calculate the second basic quota; determine whether the target resource demander is a new resource demander, and if so, determine the subsidy quota of the target resource demander; use the first basic quota, the second basic quota and the subsidy quota to determine the basic quota of the resource demander.
[0112] Method for determining regional basic quota: the regional basic quota is obtained by summing up the basic quotas of all resource demanders in the target area.
[0113] Based on the above disclosed content, in the resource allocation method, in response to a resource allocation request, the target resource demander corresponding to the resource allocation request is determined, and the target area where the target resource demander is located is determined; the basic parameters of the target resource demander and the regional resource quota of the target area are determined. The historical data of the resource demanders within the target area is obtained; wherein the historical data is the historical consumption of resources and the historical remaining resources of the resource demanders. The basic parameters are input into the first pre-allocation model to obtain a first allocation result. The first allocation result and the historical data are input into the second pre-allocation model to obtain a second allocation result. The first allocation result, the second allocation result and the regional resource quota are input into the prediction model to predict the target resource allocation quota of the target resource demander. Through the above method, in the resource allocation system, the historical data of the resource demander is comprehensively considered, and the historical data is used as the basis for the secondary allocation of resources to avoid the irrational resource allocation caused by the uneven use of resources in the off-season and peak season. Therefore, after the first allocation, the possible resource usage in the actual use of each resource demander is judged in combination with the historical data, and the secondary allocation is carried out in time. The target resource allocation quota of the target resource demander is predicted in combination with the results of the two allocations, so as to ensure that the resources that each resource demander can be allocated are accurate and reasonable. Finally, the accuracy of resource allocation can be achieved, and the consumption of computing resources caused by repeated allocation due to unreasonable allocation can be reduced.
[0114] The executor of the resource allocation method in the specific implementation manner of the present disclosure may be an electronic device such as a server (including a local server or a cloud server).
[0115] Therefore, based on any one of the above embodiments, the present disclosure further provides an electronic device, which can execute the resource allocation method of any one of the above embodiments of the present disclosure.
[0116] Figure 4 1 is a schematic block diagram of the structure of an electronic device 1000 according to an embodiment of the present disclosure.
[0117] The hardware structure of the electronic device 1000 can be implemented using a bus architecture. The bus architecture can include any number of interconnected buses and bridges, depending on the specific application and overall design constraints of the hardware. The bus 1100 connects various circuits including one or more processors 1200, memory 1300 and / or hardware modules together. The bus 1100 can also connect various other circuits 1400 such as peripherals, voltage regulators, power management circuits, external antennas, etc.
[0118] The bus 1100 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Component (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure only uses one connecting line, but does not mean that there is only one bus or one type of bus.
[0119] The present disclosure also provides a readable storage medium, in which a computer program is stored, and the computer program is used to implement the above method when executed by a processor. "Readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use in an instruction execution system, device or equipment or in combination with these instruction execution systems, devices or equipment. More specific examples of readable storage media include the following: an electrical connection portion (electronic device) with one or more wirings, a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable read-only memory (CDROM), etc.
[0120] The present disclosure also provides a computer program product. The method of the present disclosure can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed, the process or function of the present disclosure is executed in whole or in part.
[0121] The computer program or instructions may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The readable storage medium may be any available medium that can be accessed or a data storage device such as a server, data center, etc. that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid state drive. The computer readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0122] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0123] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0124] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0126] In the description of this specification, the description with reference to the terms "one embodiment / method", "some embodiments / methods", "example", "specific example", or "some examples" etc. means that the specific features, structures, or characteristics described in conjunction with the embodiment / method or example are included in at least one embodiment / method or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment / method or example. Moreover, the specific features, structures, or characteristics described may be combined in any one or more embodiments / methods or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments / methods or examples described in this specification and features of different embodiments / methods or examples, unless they are contradictory.
[0127] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0128] Those skilled in the art should understand that the above embodiments are only for the purpose of clearly illustrating the present disclosure, and are not intended to limit the scope of the present disclosure. For those skilled in the art, other changes or modifications may be made based on the above disclosure, and these changes or modifications are still within the scope of the present disclosure.
Claims
1. A resource allocation method, characterized in that: The method comprises: In response to a resource allocation request, determining a target resource demander corresponding to the resource allocation request, and determining a target area where the target resource demander is located; Determine the basic parameters of the target resource demander and the regional resource quota of the target area; Acquire historical data of resource demanders within the target area; wherein the historical data are historical consumption of resources and historical remaining resources of the resource demanders; Inputting the basic parameters into a first pre-allocation model to obtain a first allocation result; Inputting the first allocation result and the historical data into a second pre-allocation model to obtain a second allocation result; Inputting the first allocation result, the second allocation result and the regional resource quota into a prediction model to predict a target resource allocation quota of a target resource demander; The target resource allocation quota is sent to the target resource demander.
2. The method according to claim 1, characterized in that Inputting the first allocation result and the historical data into a second pre-allocation model to obtain a second allocation result includes: Based on the historical data, determining a first resource demander whose resource quota usage rate is lower than a first threshold for N consecutive months, and determining a remaining resource quota of the first resource demander based on the first allocation result and the historical data; Based on the historical data, determining the second resource demander and the number of the second resource demanders whose resource quota usage rate is greater than the second threshold for M consecutive months; The remaining resource amount and the number of the second resource demanders are input into the second pre-allocation model to obtain the second allocation result.
3. The method according to claim 1, characterized in that The step of inputting the basic parameters into a first pre-allocation model to obtain a first allocation result includes: Based on the basic quota of the resource demander and the minimum guarantee coefficient of the resource demander in the basic parameters of the resource demander, the minimum guarantee quota of the resource demander is calculated; Based on the resource demander commission and the per capita commission of the resource demander in the basic parameters of the resource demander, the incentive amount of the resource demander is calculated; The resource demander's guaranteed quota, the resource demander's incentive quota, and the subsidy coefficient are input into the first pre-allocation model to obtain the first allocation result.
4. The method according to claim 3, characterized in that The resource demander incentive amount is calculated based on the resource demander commission and the per capita commission of the resource demander in the basic parameters of the resource demander, including: Determining the resource demander's commission based on the resource demander's business type; Obtaining the commission rankings of multiple resource demanders in the target area, and calculating the commission amount of the resource demander by using the top Q resource demanders and the regional basic amount; Determine the per capita commission of the resource demander based on the commission of the resource demander and the total number of resource demanders; Obtain the commission ranking of resource demanders in the target area, and calculate the per capita commission amount per thousand of resource demanders by using the top P resource demanders and the basic amount of the area; The resource demander incentive quota is calculated using the resource demander commission, the resource demander commission per thousand quota, the resource demander per capita commission and the resource demander per capita commission per thousand quota.
5. The method according to claim 3, characterized in that: The determining the resource demander commission based on the business type of the resource demander includes: Obtain the new product commission coefficient and the new product commission of the resource demander, and calculate the first commission; Obtain the second-hand goods commission coefficient and the resource demander's second-hand goods commission, and calculate the second commission; Obtain the leasing commission coefficient and the resource demander's leasing commission, and calculate the third commission; Obtain the resource demander's favorable comment coefficient and the resource demander's favorable comment commission, and calculate the fourth commission; The resource demander commission is determined using the first commission, the second commission, the third commission, and the fourth commission.
6. The method according to claim 3, characterized in that Methods for determining the basic quota of the resource demander include: Obtain the number of first-role personnel in the resource demand side, the per capita resource consumption in the region, and the first-role subsidy coefficient, and calculate the first basic amount; Obtain the number of second-role personnel in the resource demand side and the per capita resource consumption in the region, and calculate the second basic quota; Determine whether the target resource demander is a new resource demander, and if so, determine the subsidy amount for the target resource demander; Determine the basic quota of the resource demander by using the first basic quota, the second basic quota and the subsidy quota; The method for determining the regional basic quota includes: obtaining the regional basic quota by summing up the basic quotas of resource demanders of all resource demanders in the target area.
7. The method according to claim 2, characterized in that: The step of inputting the remaining resource quota and the number of the second resource demanders into the second pre-allocation model to obtain the second allocation result includes: Calculate the remaining total amount based on the remaining resource amount of each of the first resource demanders; The remaining total amount and the number of the second resource demanders are used to calculate an average resource amount allocated to each of the second resource demanders as the second allocation result.
8. An electronic device, characterized in that: include: A memory storing execution instructions; as well as A processor, wherein the processor executes the execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1 to 7.
9. A readable storage medium, characterized in that: The readable storage medium stores execution instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.