Resource allocation method and apparatus, and electronic device and storage medium

By conducting detailed analysis of the resource demander and inventory, an allocation plan for different resources is generated, which solves the resource allocation difficulties caused by insufficient resource inventory and improves the satisfaction of the resource demander.

WO2025129637A1PCT designated stage expired Publication Date: 2025-06-26BOE TECHNOLOGY GROUP CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/141014
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2025-06-26

AI Technical Summary

Technical Problem

In the resource allocation scenario, resource inventory cannot meet the needs of all resource demanders at the same time, resulting in low satisfaction of resource demanders, which in turn causes difficulties in subsequent resource management and resource allocation.

Method used

By determining the total demand of each resource for multiple resources based on the demand quantity of multiple resources by each resource demander, and comparing the inventory with the total demand quantity, the demand satisfaction information of each resource is determined. Based on the demand-meeting information and the total number of resource demanders, a resource allocation plan is generated, including strategies such as full satisfaction, partial satisfaction and allocation based on demand satisfaction.

Benefits of technology

The resource allocation problem in the case of insufficient resource inventory is solved. Through a non-random allocation plan, the resource needs of multiple resource demanders can be met as much as possible and the satisfaction of resource demanders can be improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023141014_26062025_PF_FP_ABST
    Figure CN2023141014_26062025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a resource allocation method and apparatus, and an electronic device and a storage medium. The method comprises: on the basis of required quantities of a plurality of resources by each resource demander, determining respective total required quantities of the plurality of resources; comparing respective stock quantities of the plurality of resources with the respective total required quantities of the plurality of resources, so as to determine requirement satisfaction information of each of the plurality of resources; and on the basis of the requirement satisfaction information of each of the plurality of resources and the total number of resource demanders for each resource, generating a resource allocation scheme. Thus, the problem of resource allocation in the case of insufficient resource stock is solved; and instead of random allocation, a resource allocation scheme is generated on the basis of satisfaction information of each resource and the total number of resource demanders for each resource, such that the resource requirements of multiple resource demanders can be satisfied to the greatest extent possible, thereby improving the degree of satisfaction of the resource demanders.
Need to check novelty before this filing date? Find Prior Art

Description

Resource allocation method, device, electronic device and storage medium Technical Field

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

[0002] In resource distribution scenarios (e.g., allocation scenarios of IoT devices), it is easy for resource inventory to fail to meet the needs of all resource demanders at the same time.

[0003] Different resource demanders have different demands for different resources. If resources are allocated randomly, it will be impossible for all resource demanders to fully meet their demands, resulting in low satisfaction among resource demanders and causing difficulties in subsequent resource management and allocation.

[0004] Therefore, when resource inventory is insufficient, how to allocate resources is a technical problem that needs to be solved urgently.

[0005] Summary of the Invention

[0006] In view of the above problems, embodiments of the present application provide a resource allocation method, apparatus, electronic device, and storage medium to overcome the above problems or at least partially solve the above problems.

[0007] In a first aspect of an embodiment of the present application, a resource allocation method is disclosed, the method comprising:

[0008] Determining the total demand for each of the multiple resources based on the demand for the multiple resources by each resource demander;

[0009] comparing the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine demand satisfaction information for each of the multiple resources;

[0010] A resource allocation plan is generated according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource.

[0011] Optionally, comparing the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine demand satisfaction information for each of the multiple resources includes:

[0012] Determining the relationship between the inventory and total demand of each of the multiple resources;

[0013] When the inventory of a resource is greater than or equal to the total demand, the demand satisfaction information of the resource is determined to be satisfied;

[0014] When the inventory of a resource is less than the total demand, the demand satisfaction information of the resource is determined to be unsatisfied demand.

[0015] Optionally, generating a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0016] For the first type of resource whose demand satisfaction information is satisfied, determining that the allocation strategy for the first type of resource is: an allocation strategy for completely satisfying the demand;

[0017] With the goal of fully satisfying the demands of the various resource demanders for the first resource, the first resource is allocated to generate a first sub-allocation plan for the first resource.

[0018] Optionally, generating a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0019] For the second type of resource whose demand satisfaction information indicates that the demand is not met, when the total number of demanders of the second type of resource is one, determining that the allocation strategy for the second type of resource is: an allocation strategy for partially meeting the demand;

[0020] With the goal of partially satisfying the demand of a resource demander for the second resource, the second resource is allocated to generate a second sub-allocation plan for the second resource.

[0021] Optionally, generating a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0022] For a third resource whose demand satisfaction information indicates that the demand is not met, when the total number of parties demanding the third resource is at least two, determining the resource demand satisfaction of each resource demander who needs the third resource, and determining that the allocation scheme for the third resource is: an allocation strategy based on resource demand satisfaction;

[0023] The third type of resources are allocated in descending order of resource demand satisfaction, to generate a third sub-allocation plan for the third type of resources.

[0024] Optionally, determining the resource demand satisfaction of each resource demander requiring the third type of resource includes:

[0025] For each demander that needs the third resource, determining the ratio of the demand quantity of the third resource by the resource demander to the inventory of the third resource;

[0026] In the case where the total number of types of the third type of resources is one, determining the resource demand satisfaction of the resource demander according to a proportion corresponding to the resource demander;

[0027] In the case that the total number of types of the third type of resources is at least two, the resource demand degree of the resource demander is determined according to the sum of the at least two proportions corresponding to the resource demander.

[0028] Optionally, allocating the third type of resources in descending order of resource demand satisfaction to generate a third sub-allocation scheme for the third type of resources includes:

[0029] With the goal of fully or partially satisfying the needs of the first resource demander, performing a resource allocation on the third resource, the first resource demander being the resource demander with the highest resource demand satisfaction;

[0030] With the goal of fully or partially satisfying the needs of the next resource demander, a resource allocation is performed on the third resource remaining after the previous resource allocation;

[0031] Repeat the above steps until the resource allocation stop condition is met, where the resource allocation stop condition is: the remaining amount of the third resource is zero, and / or the allocation of the third resource is completed for each demander who needs the third resource.

[0032] Optionally, the multiple resources include: different types of hardware devices, or the multiple resources include: different types of virtual resources.

[0033] Optionally, the multiple resources are resources obtained through entry verification.

[0034] Optionally, it also includes:

[0035] Displaying a resource demander page through the terminal according to the description information of each resource demander;

[0036] In response to a user's editing operation on the resource demander's page, updating data on the resource demander's page;

[0037] The terminal is controlled to display an updated resource demander page according to the updated data of the resource demander page.

[0038] Optionally, it also includes:

[0039] Displaying a resource page through the terminal according to the description information of the multiple resources;

[0040] In response to a user's editing operation on the resource page, updating data on the resource page;

[0041] The terminal is controlled to display an updated resource page according to the updated data of the resource page.

[0042] Optionally, it also includes:

[0043] In response to a resource allocation request sent by a terminal, controlling the terminal to display a resource allocation page;

[0044] In response to a user's editing operation on the resource allocation page, obtaining the quantity of resources required by each resource demander for the plurality of resources;

[0045] Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource, including:

[0046] In response to a resource allocation generation request triggered by a user on the resource allocation page, generating a resource allocation plan based on demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource;

[0047] The terminal is controlled to display the resource allocation plan.

[0048] According to a second aspect of the embodiments of the present application, a resource allocation device is disclosed, the device comprising:

[0049] A first determining module is configured to determine the total demand amount of each of the multiple resources according to the demand amount of each resource demander for the multiple resources;

[0050] A second determining module is configured to compare the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine demand satisfaction information of each of the multiple resources;

[0051] The first generating module is configured to generate a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource.

[0052] The third aspect of the embodiments of the present application discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and runnable on the processor. When the processor executes the computer program, the steps of the resource allocation method described in the first aspect of the embodiments of the present application are implemented.

[0053] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the resource allocation method described in the first aspect of the embodiment of the present application are implemented.

[0054] The embodiments of the present application include the following advantages:

[0055] In an embodiment of the present application, the total demand for each of the multiple resources is determined based on the quantity of demand for each resource by each resource demander. The inventory of each of the multiple resources is then compared with the total demand for each of the multiple resources to determine demand satisfaction information for each of the multiple resources. A resource allocation plan is then generated based on the demand satisfaction information for each of the multiple resources and the total number of resource demanders for each resource. This solves the resource allocation problem in the case of insufficient resource inventory. Because the resource allocation plan is generated based on the satisfaction information for each resource and the total number of resource demanders for each resource, rather than randomly allocating resources, it is able to meet the resource demands of multiple resource demanders as much as possible, thereby improving the satisfaction of the resource demanders. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0057] FIG1 is a flowchart of a resource allocation method according to an embodiment of the present application;

[0058] FIG2 is a flowchart of another resource allocation method provided in an embodiment of the present application;

[0059] FIG3 is a schematic diagram of an allocation scheme for IoT devices provided in an embodiment of the present application;

[0060] FIG4 is a schematic diagram of a resource demander page provided in an embodiment of the present application:

[0061] FIG5 is a schematic diagram of a resource page provided in an embodiment of the present application:

[0062] FIG6 is a schematic diagram of a resource allocation page provided in an embodiment of the present application:

[0063] FIG7 is a schematic diagram of the structure of a resource allocation system provided in an embodiment of the present application;

[0064] FIG8 is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application;

[0065] FIG9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. Specific embodiments

[0066] To make the above-mentioned purposes, features, and advantages of this application more clearly understood, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of this application.

[0067] The present application is described in detail below with reference to various embodiments.

[0068] Example 1

[0069] According to an embodiment of the present application, an embodiment of a resource allocation method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0070] Referring to Figure 1, Figure 1 is a flowchart of the steps of a resource allocation method provided by an embodiment of the present application. As shown in Figure 1, a resource allocation method provided by an embodiment of the present application may include steps S110 to S130:

[0071] Step S110: determining the total demand amount of each of the multiple resources according to the demand amount of each resource demander for the multiple resources.

[0072] In this embodiment of the present application, different resource demanders have different requirements for different resources. The total demand for each resource is determined by the requirements of each resource demander for multiple resources. For example, there are two resource demanders, A and B. Resource demander A's requirements for resource a, resource b, and resource c are 5, 7, and 1, respectively. Resource demander B's requirements for resource a, resource b, and resource c are 1, 4, and 2, respectively. In this case, the total demand for resource a is 6, the total demand for resource b is 11, and the total demand for resource c is 3.

[0073] Step S120: Compare the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine demand satisfaction information of each of the multiple resources.

[0074] In the embodiment of the present application, multiple resources exist in the resource warehouse, and the inventory of each resource may be different. By comparing the inventory of each resource with the total demand for that resource, the demand satisfaction information of each resource is determined, that is, whether the inventory of each resource meets the total demand for that resource is determined. The demand satisfaction information of a resource includes whether the demand is met or not met.

[0075] Step S130: Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource.

[0076] In the embodiments of the present application, each resource may be required by multiple resource demanders, and the number of resource demanders for each resource may be different (for example, resource a is required by both resource demander A and resource demander B; resource b is required by both resource demander A, resource demander B, and resource demander C). Furthermore, the demand satisfaction information for each resource may be different. The resource allocation scheme corresponding to whether the resource inventory meets the total demand for the resource will be different. To meet the resource demands of multiple resource demanders as much as possible, a resource allocation scheme is generated based on the resource demand satisfaction information for each resource and the total number of resource demanders for each resource, thereby implementing resource allocation.

[0077] Through the above steps, when allocating resources, the total demand for each resource is determined based on the quantity demanded by each resource demander. The inventory of each resource is then compared with the total demand to determine the demand satisfaction information for each resource. A resource allocation plan is then generated based on the demand satisfaction information for each resource and the total number of resource demanders for each resource. This solves the resource allocation problem when resource inventory is insufficient. Because the resource allocation plan is generated based on the satisfaction information for each resource and the total number of resource demanders for each resource, it is not a random allocation. This allows the resource demands of multiple resource demanders to be met as much as possible, improving their satisfaction.

[0078] The present application will be described in detail below in conjunction with the above implementation steps.

[0079] In an optional embodiment, the multiple resources include: different types of hardware devices, or the multiple resources include: different types of virtual resources.

[0080] For example, in a home IoT scenario, multiple IoT devices need to be allocated to multiple medical institutions (i.e., resource demanders). In this case, the multiple resources are different types of IoT devices, such as IoT blood pressure monitors, IoT body fat scales, IoT blood glucose meters, and IoT sleep monitors. In a home IoT scenario, after allocating multiple IoT devices to multiple medical institutions, the medical institutions will distribute the allocated IoT devices to target patients for vital sign monitoring. Each medical institution will then have the authority to read the vital sign data monitored by the IoT devices distributed to it.

[0081] In an optional embodiment, the multiple resources are resources obtained through entry verification.

[0082] In the embodiment of the present application, in order to ensure the legitimacy of resources, the various resources used for allocation are resources obtained through input verification, wherein input verification refers to verifying the resource generation manufacturer, resource quality, etc.

[0083] In an optional embodiment, the inventory of each of the multiple resources is compared with the total demand of each of the multiple resources to determine the demand satisfaction information of each of the multiple resources, including: determining the size relationship between the inventory of each of the multiple resources and the total demand; when the inventory of a resource is greater than or equal to the total demand, determining the demand satisfaction information of the resource to be satisfied; when the inventory of a resource is less than the total demand, determining the demand satisfaction information of the resource to be unsatisfied.

[0084] For example, the total demand for resource a is 18, the total demand for resource b is 25, and the total demand for resource c is 10; while the inventory of resource a is 4, the inventory of resource b is 30, and the inventory of resource c is 10. By comparing the total demand for each resource with the inventory of that resource, it is determined that the demand satisfaction information for resource a is not met, the demand satisfaction information for resource b is met, and the demand satisfaction information for resource c is met.

[0085] Considering that the demand satisfaction information of each resource is different and the total number of resource demanders of each resource is different, in order to meet the resource demands of multiple resource demanders as much as possible and improve the satisfaction of resource demanders, a resource allocation plan is generated based on the demand satisfaction information of each resource and the total number of resource demanders of each resource. Specifically, there are three cases: (1) the resource allocation plan when the resource demand information shows that the demand is met; (2) the resource allocation plan when the resource demand information shows that the demand is not met and the total number of resource demanders is one; (3) the resource allocation plan when the resource demand information shows that the demand is not met and the total number of resource demanders is at least two.

[0086] The resource allocation schemes in three cases are described below.

[0087] The first type is that the resource demand information is the resource allocation plan under the condition of meeting the demand.

[0088] In an optional embodiment, generating a resource allocation plan based on demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0089] For the first type of resource whose demand satisfaction information is satisfied, determining that the allocation strategy for the first type of resource is: an allocation strategy for completely satisfying the demand;

[0090] With the goal of fully satisfying the demands of the various resource demanders for the first resource, the first resource is allocated to generate a first sub-allocation plan for the first resource.

[0091] In this embodiment of the present application, the first sub-allocation plan for the first resource refers to a resource allocation plan when resource demand information indicates that the resource is satisfied. The first resource refers to all resources among multiple resources whose resource demand satisfaction information indicates that the resource is satisfied. In other words, the first resource may include multiple resource types. The inventory of the first resource fully meets the resource needs of all resource demanders. Therefore, for the first resource, the resource is allocated directly according to the resource demand of each resource demander. In this case, the allocation of the first resource fully meets the resource needs of all resource demanders.

[0092] For example, the inventory of resource D is 100 units. Requesters A, B, and C each demand 10, 3, and 20 units, respectively. This means the total demand for resource D is 33 units, and the demand satisfaction information for resource D is "satisfied." In this case, resource D is allocated directly to each requester based on the quantity they requested.

[0093] The second type is a resource allocation plan when the resource demand information indicates that the demand is not met and the total number of demanders of the resource is one.

[0094] In an optional embodiment, generating a resource allocation plan based on demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0095] For the second type of resource whose demand satisfaction information indicates that the demand is not met, when the total number of demanders of the second type of resource is one, determining that the allocation strategy for the second type of resource is: an allocation strategy for partially meeting the demand;

[0096] With the goal of partially satisfying the demand of a resource demander for the second resource, the second resource is allocated to generate a second sub-allocation plan for the second resource.

[0097] In the embodiments of the present application, the second sub-allocation plan for the second type of resource refers to a resource allocation plan when the resource demand information indicates that the demand is not met and the total number of resource demanders is one. The second type of resource refers to all resources among multiple resources for which the demand satisfaction information indicates that the demand is not met and the total number of resource demanders is one. In other words, the second type of resource can include multiple resource types. Although the inventory of the second type of resource does not meet the total demand of the resource demanders, since there is only one resource demander who needs the resource, the resource is directly allocated to the corresponding resource demander to maximize the satisfaction of the resource demander's demand for the second type of resource.

[0098] For example, the inventory of resource F is 20, the demand for resource D by resource demander e is 30, and only resource demander e needs resource F. In this case, 20 resources F are directly allocated to resource demander e.

[0099] The third type is a resource allocation plan when the resource demand information indicates that the demand is not met and the total number of demanders of the resource is at least two.

[0100] In an optional embodiment, generating a resource allocation plan based on demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource includes:

[0101] For a third resource whose demand satisfaction information indicates that the demand is not met, when the total number of parties demanding the third resource is at least two, determining the resource demand satisfaction of each resource demander who needs the third resource, and determining that the allocation scheme for the third resource is: an allocation strategy based on resource demand satisfaction;

[0102] The third type of resources are allocated in descending order of resource demand satisfaction, to generate a third sub-allocation plan for the third type of resources.

[0103] In this embodiment of the present application, the third sub-allocation plan for the third type of resource refers to a resource allocation plan when the resource demand information indicates that the demand is not met and the total number of resource demanders is at least two. The third type of resource refers to all resources among multiple resources for which the demand satisfaction information indicates that the demand is not met and the total number of resource demanders is at least two. In other words, the third type of resources can include multiple resource types.

[0104] Since the inventory of the third resource type doesn't meet the total demand from resource demanders, in order to meet the resource needs of multiple resource demanders as much as possible, the resource demand satisfaction of each resource demander is determined. The greater the resource demand satisfaction of a resource demander, the smaller the resource quantity required, and the easier it is to meet the resource demand. Therefore, the third resource type is allocated in descending order of resource demand satisfaction. In other words, the third resource is preferentially allocated to resource demanders with smaller resource quantities to meet the resource needs of as many resource demanders as possible.

[0105] In an optional embodiment, determining the resource demand satisfaction of each resource demander requiring the third resource includes:

[0106] For each demander that needs the third resource, determining the ratio of the demand quantity of the third resource by the resource demander to the inventory of the third resource;

[0107] In the case where the total number of types of the third type of resources is one, determining the resource demand satisfaction of the resource demander according to a proportion corresponding to the resource demander;

[0108] In the case that the total number of types of the third type of resources is at least two, the resource demand degree of the resource demander is determined according to the sum of the at least two proportions corresponding to the resource demander.

[0109] In the embodiment of the present application, each resource demander has a different demand quantity for the third resource. Therefore, based on the demand quantity of each resource demander for the third resource, the resource demand satisfaction of the resource demander is calculated, that is, the resource demand satisfaction of the resource demander is calculated based on the ratio of the demand quantity of the third resource to the inventory of the third resource. The ratio of the inventory of the third resource is negatively correlated with the resource demand satisfaction. That is, the greater the ratio of the inventory of the third resource, the greater the demand quantity of the third resource by the resource demander, and the more difficult it is to satisfy the resource demand of the resource demander, that is, the resource demand satisfaction of the resource demander is small; the smaller the ratio of the inventory of the third resource, the smaller the demand quantity of the third resource by the resource demander, and the more easily the resource demand of the resource demander is satisfied, that is, the resource demand satisfaction of the resource demander is large.

[0110] Specifically, when determining the resource demand satisfaction of a resource demander, the sum of the proportions of each resource in the third resource type is calculated to serve as the resource demander's weight coefficient. If there is only one type of the third resource, the proportion of that resource type is used as the resource demander's weight coefficient, and the resource demand satisfaction of the resource demander is further determined based on the weight coefficient. In one embodiment, the reciprocal of the weight coefficient is used as the resource demand satisfaction.

[0111] For example, the weight coefficient calculation of each resource demander is expressed as:

[0112] Among them, S(a,D) represents the third resource demanded by resource demander a, and the resource types of the third resource demanded by resource demander a include D types, N(p) represents the total inventory of multiple resources, l ab Indicates the quantity of resource b in the third resource required by resource demander a, n b Indicates the inventory of resource b in the third resource, W a represents the weight coefficient of resource demander a. Then W a The reciprocal of is taken as the resource demand satisfaction.

[0113] In an optional embodiment, allocating the third type of resources in descending order of resource demand satisfaction to generate a third sub-allocation scheme for the third type of resources includes:

[0114] With the goal of fully or partially satisfying the needs of the first resource demander, performing a resource allocation on the third resource, the first resource demander being the resource demander with the highest resource demand satisfaction;

[0115] With the goal of fully or partially satisfying the needs of the next resource demander, a resource allocation is performed on the third resource remaining after the previous resource allocation;

[0116] Repeat the above steps until the resource allocation stop condition is met, where the resource allocation stop condition is: the remaining amount of the third resource is zero, and / or the allocation of the third resource is completed for each demander who needs the third resource.

[0117] In this embodiment of the present application, for resource allocation, the third type of resource required by the first resource demander is preferentially allocated to the first resource demander to fully or partially meet the resource demand of the first resource demander. Then, among the remaining third type of resources, the third type of resource required by the next resource demander is allocated to the next resource demander to fully or partially meet the resource demand of the next resource demander, until the allocation of the third type of resources is completed.

[0118] For example, let's take the third resource type as an example and explain its allocation. The inventory of resource E is 30 units. Resource demanders a, b, c, and d each demand 2, 10, 15, and 35 units of resource E, respectively. The order of resource demand satisfaction, from highest to lowest, is resource demander a, b, c, and d. When allocating resources, priority is given to resource demander a, with 2 resources allocated, b to 10 resources, and c to 15 resources. The remaining 3 resources are then allocated to resource demander d. This allocation method satisfies the resource demands of all three demanders (resource demanders a, b, and c). If resources are not allocated in descending order of resource demand satisfaction, such as by prioritizing resource demander d, the resource demands of all demanders will remain unmet.

[0119] For another example, let's illustrate the allocation of the third resource, where there are two types of resources. The inventory of resource F is 30 units, and the inventory of resource G is 6 units. Resource demanders a, b, c, and d each demand 2, 10, 15, and 35 units of resource F, respectively. They each demand 1, 7, 15, and 20 units of resource G, respectively. The order of resource demand satisfaction, from highest to lowest, is resource demander a, then resource demander b, then resource demander c, then resource demander d. When allocating resources, 2 resources F and 1 resource G are allocated to resource demander a first to fully meet the resource needs of resource demander a; then, from the remaining 28 resources F and 5 resources G, 10 resources F and 5 resources G are allocated to resource demander b to fully meet the resource needs of resource demander b for resource F and partially meet the resource needs of resource G; at this point, resource G has been allocated and will not be allocated subsequently. Then, from the remaining 18 resources F, 15 resources F are allocated to resource demander c and 3 resources F are allocated to resource demander d.

[0120] Through the above embodiments, the resource allocation problem in the case of insufficient resource inventory can be solved. Since the resource allocation plan is generated based on the satisfaction information of each resource and the total number of resource demanders of each resource, it is not randomly allocated, and thus the resource needs of multiple resource demanders can be met as much as possible, thereby improving the satisfaction of resource demanders.

[0121] The present application is described below with reference to a specific implementation method.

[0122] FIG2 is a flow chart of another resource allocation method provided in an embodiment of the present application, as shown in FIG2 , including:

[0123] Step S210: determining the total demand amount of each of the multiple resources according to the demand amount of each resource demander for the multiple resources.

[0124] Step S220: The inventory of each of the multiple resources is compared with the total demand for each of the multiple resources to determine demand satisfaction information for each of the multiple resources. Specifically, the demand satisfaction information for each resource is determined based on the relative size between the inventory of each resource and the total demand. If the inventory of a resource is greater than or equal to the total demand, the demand satisfaction information for that resource is determined to be satisfied; if the inventory of a resource is less than the total demand, the demand satisfaction information for that resource is determined to be unsatisfied.

[0125] Step S230: For the first resource whose demand satisfaction information satisfies the demand, determine that the allocation strategy for the first resource is: an allocation strategy that fully satisfies the demand; that is, with the goal of fully satisfying the demand of each resource demander for the first resource, allocate the first resource and generate a first sub-allocation plan for the first resource.

[0126] Step S240: For the second resource whose demand satisfaction information is that the demand is not met, when the total number of demanders of the second resource is one, determine that the allocation strategy of the second resource is: an allocation strategy that partially meets the demand; that is, with the goal of partially meeting the demand of one resource demander for the second resource, allocate the second resource to generate a second sub-allocation plan for the second resource.

[0127] Step S250: For the third resource whose demand satisfaction information is that the demand is not met, when the total number of third resource demanders is at least two, determine the resource demand satisfaction of each resource demander who needs the third resource, and determine the allocation plan for the third resource: an allocation strategy based on resource demand satisfaction; and then allocate the third resource in order from large to small in terms of resource demand satisfaction, to generate a third sub-allocation plan for the third resource.

[0128] In the embodiment of the present application, after determining the demand satisfaction information of each resource in step S220, the subsequent execution steps are determined based on the demand satisfaction information of each resource. That is, if the demand satisfaction information of the resource is satisfied, step S230 is executed to fully satisfy the resource demands of all resource demanders for the first resource. If the demand satisfaction information of the resource is not satisfied, step S240 or step S250 is executed. Specifically, if there is only one resource demander for the resource, step S240 is executed. If there is at least one resource demander for the resource, step S250 is executed to fully or partially satisfy the resource demands of multiple resource demanders.

[0129] In this way, the resource allocation problem in the case of insufficient resource inventory is solved. Since the resource allocation plan is generated based on the satisfaction information of each resource and the total number of resource demanders of each resource, it is not randomly allocated, and thus the resource needs of multiple resource demanders can be met as much as possible, thereby improving the satisfaction of resource demanders.

[0130] Furthermore, the allocation scheme for allocating multiple IoT devices to multiple medical institutions in the home IoT scenario is explained. Specifically, the three medical institutions are Institution 1, Institution 2, and Institution 3, which require a total of four devices to monitor the vital signs of target patients (hypertension, diabetes, obesity, sleep respiratory diseases, etc.). The inventory (equipment pool) contains 30 IoT blood pressure monitors, 40 IoT body fat scales, 34 IoT blood glucose meters, and 20 IoT sleep monitors. Institution 1 requires 10 IoT blood pressure monitors and 14 IoT blood glucose meters; Institution 2 requires 20 IoT blood pressure monitors and 10 IoT body fat scales; Institution 3 requires 104 IoT blood glucose meters and 200 IoT sleep monitors.

[0131] First, compare the number of devices in the device pool with the required number:

[0132] There are 30 IoT blood pressure monitors in stock, and the total demand of each institution is exactly 30. That is, the demand satisfaction information of IoT blood pressure monitors is to meet the demand, and they can be directly allocated according to the demand quantity of each institution without further calculation.

[0133] There are 34 IoT blood glucose meters in stock, and the total demand of various institutions is 118, which cannot meet the needs of all institutions. That is, the demand satisfaction information of the IoT blood glucose meters is not met, and they cannot be issued directly, and further calculation is needed.

[0134] There are 40 IoT body fat scales in stock, and the total demand of various institutions is 10. That is, the demand satisfaction information of IoT body fat scales is to meet the demand, and they can be directly allocated according to the demand quantity of each institution without further calculation.

[0135] There are 20 IoT sleep monitors, and the total demand of various institutions is 200, which cannot meet the needs of all institutions. That is, the demand satisfaction information of IoT sleep monitors is not met, but only one institution (i.e., institution 3) needs IoT sleep monitors, so they can be directly issued to the institution to meet part of its needs without further calculation.

[0136] Afterwards, according to the calculation method of the resource demand satisfaction of the resource demand party mentioned above, the resource demand satisfaction of each resource demand party is determined. Specifically, excluding the devices that do not need to be calculated, the weight coefficients of the Internet of Things blood glucose meters of institutions 1, 2 and 3 are calculated as follows: W1 = 0.412, W2 = 0, W3 = 3.059, and since the resource demand satisfaction is negatively correlated with the weight coefficient, the resource demand satisfaction of the Internet of Things blood glucose meters of institutions 1, 2 and 3 is determined. From small to large, they are institutions 2, 1 and 3. Since institution 2 has a demand for networked blood glucose meters of 0, no allocation is required. Now the 14 Internet of Things blood glucose meters required by institution 1 are allocated, and the remaining 20 Internet of Things blood glucose meters are allocated to institution 3. Figure 3 illustrates the allocation scheme of multiple Internet of Things devices. It can be seen that the resource requirements of institutions 1 and 2 are fully met, and only the resource requirements of institution 3 are partially met. Therefore, the resource allocation method provided in the embodiment of the present application can meet the resource requirements of multiple resource demand parties as much as possible and improve the satisfaction of resource demand parties.

[0137] In the embodiment of the present application, the resource allocation method is executed in a computer system such as a set of computer executable instructions, and the resource demander is edited and displayed through a terminal, specifically including the following steps A1 to A3:

[0138] Step A1: displaying a resource demander page through the terminal according to the description information of each resource demander;

[0139] Step A2: in response to the user's editing operation on the resource demander's page, updating the data on the resource demander's page;

[0140] Step A3: controlling the terminal to display the updated resource demander page according to the updated data of the resource demander page.

[0141] In the embodiment of the present application, the terminal refers to a user device, such as a computer, a mobile phone, etc. The descriptive information of the resource demander includes information such as the identifier of the resource demander, the name of the resource demander, the superior resource demander of the resource demander, and the creator of the resource demand. As shown in Figure 4, the computer system for executing resource allocation displays the descriptive information of each resource demander on the resource demander page through the terminal according to the descriptive information of each resource demander. When the computer system detects the user's editing operation on the resource demander page, it updates the data on the resource demander page and controls the terminal to display the updated resource demander page according to the updated data on the resource demander page. Among them, the user's editing operation on the resource demander page includes adding a new resource demander, deleting a resource demander, and modifying the descriptive information of the resource demander.

[0142] Furthermore, the computer system for executing resource allocation edits and displays resources through a terminal, specifically including the following steps B1 to B3:

[0143] Step B1: displaying a resource page through the terminal according to the description information of the plurality of resources;

[0144] Step B2: in response to the user's editing operation on the resource page, updating the data on the resource page;

[0145] Step B3: controlling the terminal to display the updated resource page according to the updated data of the resource page.

[0146] In the embodiment of the present application, the description information of the resource includes the resource type, resource name, resource serial number, the unit to which the resource belongs, etc. As shown in Figure 5, the user can enter the description information of the resource through the resource page, and the computer system displays the description information of each resource on the resource page through the terminal based on the description information of the resource. When the computer system detects that the user is editing the resource page,

[0147] When the resource page is updated, the data on the resource page is updated, and the terminal is controlled to display the updated resource page according to the updated data on the resource page. Among them, the user's editing operations on the resource page include adding resources, deleting resources, and modifying the description information of the resources. In specific implementation, in order to ensure the legitimacy of the resources, after adding new resources or modifying the description information of the resources through the resource page, the legitimacy of the resources is verified (that is, the resource generation manufacturer, resource quality, etc. are verified). Only resources that pass the verification can be displayed on the resource page and used for subsequent resource allocation.

[0148] Furthermore, the computer system for executing resource allocation executes the resource allocation method and controls the terminal to display the resource allocation plan, which specifically includes the following steps C1 to C4:

[0149] Step C1: In response to a resource allocation request sent by a terminal, controlling the terminal to display a resource allocation page;

[0150] Step C2: in response to the user's editing operation on the resource allocation page, obtaining the quantity of resources required by each resource demander for the plurality of resources;

[0151] Step C3: in response to a resource allocation generation request triggered by the user on the resource allocation page, generating a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource;

[0152] Step C4: controlling the terminal to display the resource allocation plan.

[0153] In the embodiment of the present application, as shown in Figure 6, the user enters the quantity of resources required by each resource demander for multiple resources on the resource allocation page. For example, resource demander A enters a quantity of 100 for resource 1 and a quantity of 150 for resource 2, while resource demander B enters a quantity of 30 for resource 1 and a quantity of 20 for resource 2. When a resource allocation request is triggered, the computer system generates a resource allocation plan based on the demand satisfaction information for each of the multiple resources and the total number of resource demanders for each resource, and displays the resource allocation plan on the terminal.

[0154] The embodiment of the present application also provides a resource allocation system, which implements resource allocation based on the resource allocation method provided by the present application. As shown in Figure 7, the resource allocation system includes: a resource entry module, an organization creation module and a resource allocation module. The resource is entered through the resource entry module, and after the resource is verified, the resource is stored in the inventory so that the various resources in the inventory can be allocated later; the organization creation module is used to create resource demanders in the system and verify the legitimacy of each resource demander; the resource allocation module is used to input the resource requirements of each resource demander, and after the resource requirements of the resource demander are input, a resource allocation plan is generated according to the resource allocation method provided in the embodiment of the present application.

[0155] The present application is described below in conjunction with another optional embodiment.

[0156] Example 2

[0157] An embodiment of the present application provides a resource allocation device, as shown in FIG8 , which is a schematic structural diagram of a resource allocation device provided in an embodiment of the present application, the device comprising:

[0158] A first determining module 810 is configured to determine the total demand amount of each of the multiple resources according to the demand amount of each resource demander for the multiple resources;

[0159] A second determining module 820 is configured to compare the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine demand satisfaction information of each of the multiple resources;

[0160] The first generating module 830 is configured to generate a resource allocation plan according to the demand satisfaction information of each resource among the multiple resources and the total number of resource demanders of each resource.

[0161] In an optional embodiment, the second determining module includes:

[0162] A first determining submodule is used to determine the size relationship between the inventory and the total demand of each resource among the multiple resources;

[0163] The second determining submodule is configured to determine that the demand satisfaction information of a resource is satisfied when the inventory of the resource is greater than or equal to the total demand;

[0164] The third determining submodule is configured to determine that the demand satisfaction information of a resource is unsatisfied when the inventory of the resource is less than the total demand.

[0165] In an optional embodiment, the first generating module includes:

[0166] A first strategy module is configured to determine, based on the demand satisfaction information indicating a first type of resource that satisfies the demand, that an allocation strategy for the first type of resource is an allocation strategy for completely satisfying the demand;

[0167] The first allocation module is configured to allocate the first resource with the goal of fully satisfying the demands of the resource demanders for the first resource, and generate a first sub-allocation plan for the first resource.

[0168] In some optional embodiments, the first generating module includes:

[0169] a second strategy module configured to, for a second resource whose demand satisfaction information indicates that the demand is not met, determine, when a total number of demanders of the second resource is one, that an allocation strategy for the second resource is: an allocation strategy for partially meeting the demand;

[0170] The second allocation module is configured to allocate the second resource with the goal of partially satisfying a demand of a resource demander for the second resource, and generate a second sub-allocation plan for the second resource.

[0171] In an optional embodiment, the first generating module includes:

[0172] a third strategy module configured to determine, for a third resource whose demand satisfaction information indicates that the demand is not met, a resource demand satisfaction degree of each resource demander who needs the third resource, when there are at least two third resource demanders, and determine an allocation strategy for the third resource: an allocation strategy based on resource demand satisfaction degree;

[0173] The third allocation module is configured to allocate the third type of resources in descending order of resource demand satisfaction, and generate a third sub-allocation plan for the third type of resources.

[0174] In an optional embodiment, the third policy module includes:

[0175] a fourth determining submodule, configured to determine, for each demander requiring the third resource, a ratio of the quantity of the third resource demanded by the resource demander to the inventory of the third resource;

[0176] a fifth determining submodule, configured to determine, when the total number of types of the third type of resources is one, a resource demand satisfaction degree of the resource demander according to a proportion corresponding to the resource demander;

[0177] The sixth determining submodule is configured to determine the resource demand of the resource demander according to the sum of at least two proportions corresponding to the resource demander when the total number of types of the third resource is at least two.

[0178] In an optional embodiment, the third allocation module includes:

[0179] A first allocation submodule is configured to allocate resources to the third type of resource with the goal of fully or partially satisfying a demand of a first resource demander, wherein the first resource demander is the resource demander with the highest degree of resource demand satisfaction;

[0180] The second allocation submodule is configured to allocate the third resource remaining after the previous resource allocation with the goal of fully or partially meeting the demand of the next resource demander;

[0181] The third allocation submodule is used to repeat the above steps until the resource allocation stop condition is met, where the resource allocation stop condition is: the remaining amount of the third resource is zero, and / or the allocation of the third resource is completed for each demander who needs the third resource.

[0182] In an optional embodiment, the multiple resources include: different types of hardware devices, or the multiple resources include: different types of virtual resources.

[0183] In an optional embodiment, the multiple resources are resources obtained through entry verification.

[0184] In an optional embodiment, the device includes:

[0185] A first display module is configured to display a resource demander page through the terminal according to the description information of each resource demander;

[0186] A first updating module, configured to update data on the resource demander's page in response to a user's editing operation on the resource demander's page;

[0187] The second display module is used to control the terminal to display the updated resource demander page according to the updated data of the resource demander page.

[0188] In an optional embodiment, the device includes:

[0189] a third display module, configured to display a resource page through the terminal according to the description information of the plurality of resources;

[0190] A second updating module, configured to update data on the resource page in response to a user's editing operation on the resource page;

[0191] The fourth display module is used to control the terminal to display the updated resource page according to the updated data of the resource page.

[0192] In an optional embodiment, the device includes:

[0193] a fifth display module, configured to control the terminal to display a resource allocation page in response to a resource allocation request sent by the terminal;

[0194] A first acquisition module is configured to obtain the quantity of resources required by each resource demander for the plurality of resources in response to an editing operation of the user on the resource allocation page;

[0195] a first generating module, configured to generate a resource allocation plan in response to a resource allocation generation request triggered by a user on the resource allocation page, based on demand satisfaction information of each resource among the multiple resources and a total number of resource demanders of each resource;

[0196] A sixth display module is used to control the terminal to display the resource allocation plan.

[0197] The present application also provides an electronic device, as shown in Figure 9, which is a schematic diagram of the structure of an electronic device provided in the present application. As shown in Figure 9, the electronic device 900 includes a memory 910 and a processor 920. The memory 910 and the processor 920 are connected via a bus. The memory 910 stores a computer program that can be executed on the processor 920 to implement the steps of the resource allocation method described in the present application.

[0198] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the resource allocation method described in the embodiment of the present application are implemented.

[0199] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0200] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods and devices according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0201] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0202] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce computer-implemented processing, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0203] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0204] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or terminal device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

[0205] The above is a detailed introduction to a resource allocation method, device, electronic device and storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, based on the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A resource allocation method, characterized in that, Including: Determine the total demand of each of the multiple resources according to the demand quantities of each resource requester for the multiple resources; Compare the inventory levels of the multiple resources with the total demand of the multiple resources respectively to determine the demand satisfaction information of each resource among the multiple resources; Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource requesters for each resource.

2. The method according to claim 1, wherein Compare the inventory levels of the multiple resources with the total demand of the multiple resources respectively to determine the demand satisfaction information of each resource among the multiple resources, including: Determine the magnitude relationship between the inventory level and the total demand of each resource among the multiple resources; When the inventory level of a resource is greater than or equal to the total demand, determine that the demand satisfaction information of this resource is demand satisfied; When the inventory level of a resource is less than the total demand, determine that the demand satisfaction information of this resource is demand not satisfied.

3. The method according to claim 1 or 2, characterized in that Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource requesters for each resource, including: For the first resource whose demand satisfaction information is demand satisfied, determine that the allocation strategy of the first resource is: an allocation strategy of fully satisfying the demand; Aim at fully satisfying the demand of each resource requester for the first resource, allocate the first resource, and generate the first sub-allocation plan of the first resource.

4. The method according to claim 1 or 2, characterized in that, Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource requesters for each resource, including: For the second resource whose demand satisfaction information is demand not satisfied, when the total number of resource requesters for the second resource is one, determine that the allocation strategy of the second resource is: an allocation strategy of partially satisfying the demand; Aim at partially satisfying the demand of one resource requester for the second resource, allocate the second resource, and generate the second sub-allocation plan of the second resource.

5. The method according to claim 1 or 2, characterized in that, Generate a resource allocation plan based on the demand satisfaction information of each resource among the multiple resources and the total number of resource requesters for each resource, including: For the third resource whose demand satisfaction information is demand not satisfied, when the total number of resource requesters for the third resource is at least two, determine the resource demand satisfaction degree of each resource requester who needs the third resource, and determine that the allocation plan of the third resource is: an allocation strategy of allocating according to the resource demand satisfaction degree; Allocate the third resource in the order from the largest to the smallest resource demand satisfaction degree, and generate the third sub-allocation plan of the third resource.

6. The method according to claim 5, wherein Determine the resource demand satisfaction degree of each resource requester who needs the third resource, including: For each requester who needs the third resource, determine the proportion of the demand quantity of this resource requester for the third resource in the inventory level of the third resource; When the total number of types of the third resource is one, determine the resource demand satisfaction degree of this resource requester according to the corresponding one proportion; When the total number of types of the third resource is at least two, determine the resource demand degree of the resource demander according to the sum of at least two ratios corresponding to the resource demander.

7. The method according to claim 5 or 6, characterized in that, Allocate the third resource in descending order of resource demand satisfaction degree to generate a third sub-allocation plan for the third resource, including: Taking fully satisfying or partially satisfying the demand of the first resource demander as the goal, perform a first resource allocation on the third resource, where the first resource demander is the resource demander with the highest resource demand satisfaction degree; Taking fully satisfying or partially satisfying the demand of the next resource demander as the goal, perform a resource allocation on the remaining third resource after the previous resource allocation; Repeat the above steps until the resource allocation stop condition is met. The resource allocation stop condition is: the remaining amount of the third resource is zero, and / or, the allocation of the third resource is completed for each demander who needs the third resource.

8. The method according to any one of claims 1-7, characterized in that The multiple resources include: different types of hardware devices, or, the multiple resources include: different types of virtual resources.

9. The method according to any one of claims 1-8, characterized in that, The multiple resources are resources obtained through input verification.

10. The method according to any one of claims 1-9, characterized in that, It further includes: According to the description information of each resource demander, display a resource demander page through the terminal; In response to the user's editing operation on the resource demander page, update the data on the resource demander page; Control the terminal to display the updated resource demander page according to the updated data on the resource demander page.

11. According to the method described in any one of claims 1-10, characterized in that, It further includes: According to the description information of the multiple resources, display a resource page through the terminal; In response to the user's editing operation on the resource page, update the data on the resource page; Control the terminal to display the updated resource page according to the updated data on the resource page.

12. The method according to any one of claims 1-11, characterized in that, It further includes: In response to a resource allocation request sent by the terminal, control the terminal to display a resource allocation page; In response to the user's editing operation on the resource allocation page, obtain the required quantities of the multiple resources by each resource demander; Generate a resource allocation plan according to the demand satisfaction information of each type of resource in the multiple resources and the total number of resource demanders for each type of resource, including: In response to a resource allocation generation request triggered by the user on the resource allocation page, generate a resource allocation plan according to the demand satisfaction information of each type of resource in the multiple resources and the total number of resource demanders for each type of resource; Control the terminal to display the resource allocation plan.

13. A resource allocation device, characterized in that, It includes: A first determination module, configured to determine the total demand of each of the multiple resources according to the required quantities of the multiple resources by each resource demander; A second determination module, configured to compare the inventory of each of the multiple resources with the total demand of each of the multiple resources to determine the demand satisfaction information of each type of resource in the multiple resources; A first generation module, configured to generate a resource allocation plan according to the demand satisfaction information of each type of resource in the multiple resources and the total number of resource demanders for each type of resource.

14. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the resource allocation method according to any one of claims 1-12.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the resource allocation method according to any one of claims 1-12.

Citation Information

Patent Citations

  • Resource allocation method and device, computer readable medium and electronic equipment

    CN110880070A

  • Resource allocation method and device, computer equipment and computer readable storage medium

    CN111553594A

  • Resource allocation method and device

    CN112149964A

  • Inventory processing method and device, electronic equipment and storage medium

    CN116051003A

  • Inventory management device, inventory management method, and program

    JP2009223726A