Resource processing method, device and storage medium

By generating and publishing resource reallocation information, potential resource objects are allowed to select and submit idle resources according to the threshold limit of the resource pool, solving the problems of resource idleness and low utilization in the existing technology, and realizing efficient reallocation and utilization of resources. .

CN112019454BActive Publication Date: 2024-10-18潘仲光
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201910458482.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-05-29
Publication Date
2024-10-18
Estimated Expiration
2040-04-15

AI Technical Summary

Technical Problem

The existing network resource allocation method results in idle resources, low utilization, and inability to effectively utilize resources such as bandwidth and storage space.

Method used

By generating resource reallocation information, including multiple resource pools and threshold resource quotas for each resource pool, potential resource objects are allowed to select resource pools based on the threshold quota and submit idle resources to realize resource reallocation.

Benefits of technology

It reduces idle resources, promotes resource flow, and improves resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112019454B_ABST
    Figure CN112019454B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a resource processing method, device and storage medium. In the embodiment of the present application, according to the resource reallocation trigger event, resource reallocation information including multiple resource pools and the threshold resource amount corresponding to each resource pool can be generated, and the resource reallocation information can be published, so that the potential resource object can select a resource pool according to the threshold resource amount corresponding to each resource pool, and submit the corresponding amount of idle resources to the selected resource pool, and the idle resources can be reallocated under the selected resource pool. In this way, the idle resources of the potential resource object can be reallocated, resource idleness can be reduced, resource flow can be promoted, and resource utilization can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of Internet technology, network resources are becoming more and more abundant. In order to enable users to have a better network experience, network resources need to be reasonably allocated. For example, in network communication, in order to enable users to have a better Internet experience, bandwidth resources need to be reasonably allocated.

[0003] In the existing network resource allocation method, specific resources are authorized to specific users, and other users cannot use these specific resources. This easily makes the authorized resources idle, resulting in a waste of network resources and low network resource utilization. Summary of the invention

[0004] Multiple aspects of the present application provide a resource processing method, device and storage medium to reduce resource waste and improve resource utilization.

[0005] The present application provides a resource processing method, including:

[0006] Generate resource reallocation information according to a resource reallocation trigger event, wherein the resource reallocation information includes multiple resource pools and a proportion of objects participating in each resource pool that can be reallocated to resources, and each resource pool corresponds to a threshold resource amount;

[0007] The resource reallocation information is published so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool.

[0008] The embodiment of the present application further provides a computer device, characterized in that it includes: a memory and a processor; wherein:

[0009] The memory is used to store computer programs;

[0010] The processor is coupled to the memory and is configured to execute the computer program for:

[0011] Generate resource reallocation information according to a resource reallocation trigger event, wherein the resource reallocation information includes multiple resource pools and a proportion of objects participating in each resource pool that can be reallocated to resources, and each resource pool corresponds to a threshold resource amount;

[0012] The resource reallocation information is published so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool.

[0013] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above method.

[0014] In the embodiment of the present application, according to the resource reallocation trigger event, resource reallocation information including multiple resource pools and the threshold resource amount corresponding to each resource pool can be generated, and the resource reallocation information can be published, so that the potential resource object can select a resource pool according to the threshold resource amount corresponding to each resource pool, and submit the corresponding amount of idle resources to the selected resource pool, and the idle resources can be reallocated under the selected resource pool. In this way, the idle resources of the potential resource object can be reallocated, resource idleness can be reduced, resource flow can be promoted, and resource utilization can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0016] Figure 1 A schematic diagram of a process flow of a resource processing method provided in an embodiment of the present application;

[0017] Figure 2a A flowchart of another resource processing method provided in an embodiment of the present application;

[0018] Figure 2b A flowchart of a method for determining resource reallocation qualifications of a resource pool provided in an embodiment of the present application;

[0019] Figure 3 A flowchart of another resource processing method provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0022] In view of the technical problem of low resource utilization in the existing system, the embodiment of the present application provides a solution. The basic idea is: according to the resource reallocation trigger event, resource reallocation information including multiple resource pools and the threshold resource amount corresponding to each resource pool can be generated, and the resource reallocation information can be published, so that the potential resource object can select a resource pool according to the threshold resource amount corresponding to each resource pool, and submit the corresponding amount of idle resources to the selected resource pool, and the idle resources can be reallocated under the selected resource pool. In this way, the idle resources of the potential resource object can be reallocated, which reduces resource idleness, promotes resource flow, and thus helps to improve resource utilization.

[0023] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0024] Figure 1 A schematic diagram of a resource processing method provided in an embodiment of the present application. Figure 1 As shown, the method includes:

[0025] 101. Generate resource reallocation information according to a resource reallocation triggering event, where the resource reallocation information includes multiple resource pools, and each resource pool corresponds to a threshold resource amount.

[0026] 102. Publish resource reallocation information so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool.

[0027] In this embodiment, in order to improve resource utilization, multiple resource pools may be set. In the embodiment of the present application, multiple refers to 2 or more. The threshold resource amounts corresponding to different resource pools may be different or the same. Furthermore, the threshold resource amounts of each resource pool may be different. Resource pools with the same threshold resource amounts may also exist in multiple resource pools. Among them, the number of funding pools with the same threshold resource amount is not limited, but is less than or equal to the number of resource pools included in the resource reallocation information.

[0028] In this embodiment, the amount of idle resources submitted by the potential resource object to the selected resource pool is greater than or equal to the threshold resource amount corresponding to the selected resource pool. Preferably, the amount of idle resources submitted by the potential resource object to the selected resource pool is equal to the threshold resource amount corresponding to the selected resource pool. Optionally, if the amount of idle resources submitted by the potential resource object to the selected resource pool is greater than the threshold resource amount corresponding to the selected resource pool, the portion of the idle resource amount obtained by the resource pool that is greater than the threshold resource amount of the resource pool may not participate in the resource reallocation of the resource pool.

[0029] In this embodiment, according to the resource reallocation trigger event, resource reallocation information including multiple resource pools and the threshold resource amount corresponding to each resource pool can be generated, and the resource reallocation information can be published, so that the potential resource object can select a resource pool according to the threshold resource amount corresponding to each resource pool, and submit the corresponding amount of idle resources to the selected resource pool, and the idle resources can be reallocated under the selected resource pool. In this way, the idle resources of the potential resource object can be reallocated, the idleness of resources can be reduced, the flow of resources can be promoted, and the resource utilization rate can be improved.

[0030] In the embodiment of the present application, for resource reallocation information, the resource reallocation information can be randomly generated according to a resource reallocation triggering event, or a certain generation strategy can be set.

[0031] For example, in some embodiments, the device generating resource reallocation information stores historical resource reallocation information corresponding to the resource reallocation event, and the historical resource reallocation information has reference value for the current resource reallocation information. Accordingly, an optional implementation of step 101 is: according to the resource reallocation triggering event, obtain the historical resource reallocation information corresponding to the resource reallocation event; and generate the current resource reallocation information according to the historical resource reallocation information.

[0032] For another example, in some embodiments, potential resource objects include: benchmark resource objects and auxiliary resource objects. Among them, the benchmark resource object can provide the idle resource amount that it is expected to submit to the resource reallocation information generating device, and these idle resource amounts are instructive for the setting of the number of resource pools in the resource reallocation information and the threshold resource amount of each resource pool. Accordingly, another optional implementation of step 101 is: according to the resource reallocation trigger event, obtain multiple idle resource amounts that are expected to be provided by multiple benchmark resource objects; and generate resource reallocation information based on the multiple idle resource amounts. Among them, a benchmark resource object can provide one idle resource amount, or it can provide multiple idle resource amounts, and the amount of each idle resource amount is different. For multiple idle resource amounts provided by a benchmark resource object, when generating resource reallocation information, each idle resource amount is divided into different resource pools.

[0033] Further, when generating resource reallocation information based on multiple idle resource amounts, these idle resource amounts can be divided into multiple resource groups according to the ranges to which these idle resource amounts belong, wherein the ranges of the idle resource amounts in each resource group do not overlap. For multiple idle resource amounts provided by a benchmark resource object, each idle resource amount is divided into a different resource group. Further, the number of resource pools can be determined based on the number of resource groups, wherein one resource group corresponds to one resource pool, i.e., the number of resource pools is equal to the number of resource groups. Further, the threshold resource amount under the corresponding resource pool can also be calculated based on the idle resource amount in each resource group. Optionally, the average value of the idle resource amount in each resource group can be used as the threshold resource amount under the corresponding resource pool; alternatively, the idle resource with the most occurrences in each resource group can be used as the threshold resource amount under the corresponding resource pool, and so on.

[0034] The resource processing method provided in this embodiment can be applied to various application scenarios. For different application scenarios, the resource reallocation trigger event and the content of the resource reallocation information are different. The following is an exemplary description of several common application scenarios.

[0035] Application scenario 1: In the field of network communication technology, in order to improve bandwidth utilization, bandwidth resources can be reallocated. In this application scenario, the resource reallocation trigger event can be the occurrence of network congestion. Accordingly, the resource reallocation information can be bandwidth reallocation information. Among them, the resource reallocation information may include multiple flow control queues, each flow control queue corresponding to a committed bandwidth. That is, in application scenario 1, the resource pool is a flow control queue, and the threshold resource amount of each resource pool is the committed bandwidth of each flow control queue.

[0036] In application scenario 1, when network congestion occurs, corresponding bandwidth reallocation information can be generated according to the degree of network congestion, and the bandwidth reallocation information can be published. The bandwidth reallocation information publishing device can be the network device where the network congestion occurs. Further, other network devices can select the flow control queue to provide idle bandwidth according to the committed bandwidth of each flow control queue, and provide the corresponding idle bandwidth to the selected flow control queue, so as to prepare to reallocate the idle bandwidth under the selected flow control queue.

[0037] Application scenario 2: In the field of data storage technology, in order to improve the utilization rate of storage space, storage space can be reallocated. In this application scenario, the resource reallocation trigger event can be insufficient storage space. Correspondingly, the resource reallocation information can be storage space reallocation information. Among them, the storage space reallocation information may include multiple storage pools, each storage pool corresponding to a threshold capacity. That is, in application scenario 2, the resource pool is a storage pool, and the threshold resource amount of each resource pool is the threshold capacity of each storage pool.

[0038] In application scenario 2, the bandwidth reallocation information publishing device may be a computer device with insufficient storage space. When the storage space is insufficient, corresponding storage space reallocation information may be generated according to the degree of insufficient storage space, and the storage space reallocation information may be published. Furthermore, other storage media may select a storage pool that provides free storage space according to the threshold capacity of each storage pool, and provide the corresponding free storage space to the selected storage pool, so as to prepare for reallocation of the free storage space under the selected storage pool.

[0039] Application scenario 3: In the financial field, in order to improve the utilization rate of idle funds, funds can be reallocated. In this application scenario, the resource reallocation trigger event can be the amount ratio required for a certain financial product. Correspondingly, the resource reallocation information can be fund reallocation information. Among them, the fund reallocation information may include multiple fund pools, each fund pool corresponds to a threshold amount. That is, in application scenario 3, the resource pool is a fund pool, and the threshold resource amount of each resource pool is the threshold amount of each fund pool.

[0040] In application scenario 3, the fund reallocation information publishing device can be a server-side device for financial products. When a financial product is formed, fund reallocation information can be generated according to the amount ratio required by the financial product. Furthermore, investors can select the fund pool that provides their idle funds according to the threshold amount of each fund pool, and provide the corresponding idle funds to the selected fund pool, so as to prepare for the reallocation of idle funds under the selected fund pool.

[0041] Application scenario 4: In competitive sports, in order to improve the utilization rate of idle funds, funds can be reallocated. In this application scenario, the resource reallocation trigger event can be the fund allocation required for a certain event. Correspondingly, the resource reallocation information can be fund reallocation information. Among them, the fund reallocation information may include multiple fund pools, each fund pool corresponds to a threshold amount. That is, in application scenario 4, the resource pool is a fund pool, and the threshold resource amount of each resource pool is the threshold amount of each fund pool.

[0042] In application scenario 4, the fund reallocation information publishing device can be a server device of the event organizing department. When organizing a certain event, fund reallocation information can be generated according to the amount ratio required for the event. Furthermore, investors or sponsors can select the fund pool to provide idle funds according to the threshold amount of each fund pool, and provide the corresponding idle funds to the selected fund pool, so as to prepare for the reallocation of idle funds under the selected fund pool.

[0043] In application scenario 4, the implementation form of the event is not limited. Optionally, the event can be a golf match, a table tennis match, a badminton match, a gymnastics match, etc., but is not limited thereto.

[0044] Application scenario 5: In a commercial bidding, when the tenderer has a bidding demand, the tenderer can generate corresponding bidding information according to the demand for each specification of the product. In this application scenario, the resource reallocation trigger event may be that the tenderer needs to bid, and accordingly, the resource reallocation information is the bidding information. Among them, the bidding information publishing device may be the server device of the tenderer. The bidding information includes: products of multiple specifications and the demand for materials of each specification of the product. That is, in application scenario 5, the threshold resource amount of each specification of the product is the demand for the corresponding material.

[0045] Further, in an embodiment of the present application, after the resource reallocation information is released, the idle resources under each resource pool may also be reallocated. Among them, the reallocation process of the idle resources under each resource pool is the same. Taking the first resource pool as an example, the reallocation process of the idle resources under each resource pool is exemplified below. Among them, the first resource pool is any resource pool among the multiple resource pools included in the resource reallocation information. Further, the resource reallocation information also includes: the proportion of objects that can be reallocated to resources among the objects participating in each resource pool.

[0046] Figure 2a A flow chart of another resource processing method provided in an embodiment of the present application. As shown in FIG2 , the method includes:

[0047] 201. For a first resource pool, obtain idle resources of corresponding amounts submitted by resource objects that are successfully selected in the first resource pool to achieve resource integration.

[0048] 202. When a resource reallocation condition is met, determine a resource object that meets the ranking requirement according to the ranking of resource objects in the first resource pool and the proportion of objects that can be reallocated to resources in the first resource pool.

[0049] 203. Allocate allocatable resources in the first resource pool to resource objects that meet the ranking requirements.

[0050] In this embodiment, the proportion of objects that can be reallocated to resources corresponding to the first resource pool refers to the proportion of objects that can be allocated to resources in the first resource pool to all resource objects in the first resource pool. Among them, the resource objects of the first resource pool refer to resource objects that have successfully selected the first resource pool and / or provided free resources to the first resource pool among potential resource objects, and the number of resource objects is multiple. In this embodiment, multiple refers to 2 or more. In some embodiments of the present application, for the convenience of description, the proportion of objects that can be reallocated to resources corresponding to the first resource pool is referred to as the proportion of objects corresponding to the first resource pool.

[0051] In this embodiment, the condition for performing the operations in step 202 and step 203 is that the first resource pool is qualified for resource reallocation. If the first resource pool is not qualified for resource reallocation, the first resource pool will be cancelled. For different application scenarios, the conditions for the first resource pool to be qualified for resource reallocation are different, which will be explained below and will not be repeated here.

[0052] Further, when the first resource pool is eligible for reallocation, the number W of resource objects that can be reallocated to resources in the first resource pool can be determined based on the proportion of objects that can be reallocated to resources corresponding to the first resource pool. Further, based on the rankings between the resource objects associated with the first resource pool, W resource objects that meet the ranking criteria are determined, and the allocable resources of the first resource pool are allocated to the W resource objects that meet the ranking criteria. Wherein, W is a positive integer, and its specific value can be determined based on the proportion of objects that can be reallocated to resources corresponding to the first resource pool and the number of resource objects in the first resource pool.

[0053] Optionally, the ranking between resource objects associated with the first resource pool may be calculated according to the service capabilities of the resource objects of the first resource pool. The resource objects with stronger service capabilities have higher rankings and higher priority in resource allocation. Further, in different application scenarios, the evaluation criteria for the service capabilities of resource objects are different. For example, in the above application scenario 1, the service capabilities of network devices may be evaluated according to the data forwarding capability of the network devices. For another example, in the above application scenario 2, the service capabilities of the storage medium may be evaluated according to the rate at which the storage medium reads and writes data. For another example, in the above application scenario 4, the service capabilities of the participating units may be evaluated according to the scores of the participating units. For individual competitions, one contestant is regarded as a participating unit; for team competitions, one team may be regarded as a participating unit. For another example, in the above application scenario 5, the service capabilities of the products produced by the product processing plants may be evaluated according to the quality of the products. For example, if the product is a drainage pipe, the service capabilities of the processing plants may be evaluated according to the ratio of the drainage volume to the soil drainage volume of the drainage pipes produced by the processing plants, wherein the larger the ratio, the stronger the service capabilities.

[0054] In this embodiment, for the idle resources under each resource pool, the resource objects with qualified ranking in each resource pool can be determined according to the rankings between the resource objects associated with the resource pool and the proportion of objects that can be reallocated to resources corresponding to the resource pool, and the allocatable resources in each resource pool can be allocated to these resource objects with qualified rankings, thereby realizing the reallocation of the idle resources corresponding to each resource pool, reducing idle resources, promoting resource flow, and thus helping to improve resource utilization.

[0055] In some embodiments, before step 203, the total amount of resources provided by the resource objects of the first resource pool may be obtained, and the total amount of resources may be used as the allocable resources of the first resource pool. Alternatively, the set reserved resource amount may be deducted from the total amount of resources of the first resource pool, and the remaining amount of resources may be used as the allocable resources of the first resource pool. For example, in the above-mentioned application scenario 1, the total bandwidth obtained by each flow control queue may reserve part of the bandwidth, and the remaining bandwidth after deducting the reserved bandwidth may be used as the allocable bandwidth of the flow control queue. For another example, in the above-mentioned application scenario 4, for the total amount obtained by each fund pool, the corresponding proportion of the amount may be reserved according to the agreed proportion as the participation funds of the participating units and the organization funds of the event organizer, and the remaining part may be used as the allocable funds of the fund pool. Among them, the participation funds of the participating units of each fund pool may be set by the event organizer, or by the participating units themselves, which is not limited here. The organization funds of the event organizer may be flexibly set by the event organizer. Among them, the participating organizer, the participating units and the sponsor (or investor) need to reach a consensus agreement on the agreed proportion.

[0056] Furthermore, under each resource pool, there are one or more resource objects that meet the ranking requirements. The number of resource objects that meet the ranking requirements can be determined by the total number of resource objects in each resource pool and the proportion of objects that can be reallocated to resources among the objects participating in the resource pool. Further, when there are multiple resource objects that meet the ranking requirements in the first resource pool, the allocatable resources of the first resource pool can be allocated to each resource object that meets the ranking requirements according to the set resource allocation ratio between the rankings. In other words, the amount of resources that can be allocated to each resource object that meets the ranking requirements is determined from the allocatable resources of the first resource pool according to the set resource allocation ratio between the rankings.

[0057] Among them, the resource allocation ratio between the set rankings can be set flexibly. For example, the resource allocation ratio between the rankings is an equal distribution, that is, the allocatable resources of the first resource pool are evenly distributed to each resource object that meets the ranking criteria. For another example, it is set according to the ranking of the resource objects that meet the ranking criteria, wherein the higher the ranking of the resource objects, the more resources they get. For example, the resources allocated to the resource object ranked first account for 40% of the allocatable resources of the first resource pool; the resources allocated to the resource object ranked second account for 20% of the allocatable resources of the first resource pool, and so on, but not limited to this.

[0058] Considering that the resource objects that meet the ranking criteria may have the same business capabilities, the ranking of these resource objects with the same business capabilities is the same. Assume that the number of resource objects that meet the ranking criteria in the first resource pool is X, that is, X represents the last ranking, where X can be determined based on the product of the number of resource objects in the first resource pool and the proportion of objects corresponding to the first resource pool. Optionally, the product can be rounded up, rounded down, or rounded to an approximate value to obtain an integer X. Furthermore, if there are Y resource objects ranked in the i-th position among the resource objects that meet the ranking requirements, where i=1,2...,(X-1); that is, the ranking in the i-th position is not the last position, and the total number Z of resource objects ranked in the first i positions is less than X, 2≤Y≤Z, and Y and Z are both integers, then the total amount of resources that can be allocated to the Y positions starting from the set (Z-Y+1)th position in the allocable resources of the first resource pool can be determined according to the set resource allocation ratio between the positions; and the total amount of resources that can be allocated to the Y positions starting from the (Z-Y+1)th position can be evenly distributed to the Y resource objects ranked in the i-th position. It should be noted that the resource objects ranked in the first i positions refer to the resource objects ranked from the 1st position to the i-th position. For example, assuming that X=10, i=4, Y=3, and there are 4 resource objects ranked in the top 3 ranks, that is, there are 3 resource objects ranked tied for the 4th place, and the total number of resource objects ranked in the top 4 ranks is Z=7, which is less than 10. Then, according to the set resource allocation ratio between the ranks, the total amount of resources that should be allocated to the previously set rankings of 5th, 6th and 7th can be determined; and the total amount of resources that should be allocated to the previously set rankings of 5th, 6th and 7th can be evenly distributed to the 3 resource objects that are actually tied for the 4th place.

[0059] Furthermore, for other ranked qualified resource objects that do not have a tied ranking, the remaining resources in the allocatable resources of the first resource pool can be allocated to the ranked qualified resource objects that do not have a tied ranking among the ranked qualified resource objects according to the set resource allocation ratio between the ranks.

[0060] Optionally, if there are Y resource objects ranked in parallel at the i-th place among the resource objects that meet the ranking requirements, and the total number of resource objects ranked in the top i places is greater than or equal to X, then according to the set resource allocation ratio between the rankings, the total amount of resources in the allocatable resources of the first resource pool that can be allocated to the self-set (Z-Y+1)th to the self-set Xth place is determined, and the total amount of resources that can be allocated to the self-set (Z-Y+1)th to the self-set Xth place is evenly distributed to the Y resource objects ranked in parallel at the i-th place. For example, assuming that X=10, i=7, Y=3, and there are 8 resource objects ranked in the first 6 ranks, that is, there are 3 resource objects ranked in the first 7th place, and the total number of resource objects ranked in the first 7 ranks is Z=11, which is greater than 10, where Z-Y+1=9. Then, according to the set resource allocation ratio between the ranks, the total amount of resources that should be allocated to the previously set rankings at the 9th and 10th places can be determined; and the total amount of resources that should be allocated to the previously set rankings at the 9th and 10th places can be evenly distributed to the 3 resource objects that are actually ranked in the 7th place.

[0061] Optionally, if the tie ranking occurs in the last ranking, that is, there are Y resource objects tied for the Xth place among the resource objects that meet the ranking criteria, then the total amount of resources that can be allocated to the resource object ranked at the Xth place in the allocatable resources of the first resource pool is determined according to the set resource allocation ratio between the rankings; and the total amount of resources that can be allocated to the resource object ranked at the Xth place is evenly distributed to the Y resource objects tied for the Xth place. For example, if X=10 and Y=3, then the total amount of resources that should be allocated to the resource object ranked at the 10th place in the allocatable resources of the first resource pool can be determined according to the set resource allocation ratio between the rankings, and the total amount of resources that should be allocated to the resource object ranked at the 10th place can be evenly distributed to the three resource objects in the ranking.

[0062] It should be noted that the number of resource objects at different ranks depends on the actual situation, that is, the value of Y is determined by the actual business capabilities of the resource objects.

[0063] In the case where the potential resource objects include a baseline resource object and an auxiliary resource object, each resource object may include: a baseline resource object and an auxiliary resource object. For each resource object, the number of baseline resource objects is 1, and the number of auxiliary resource objects may be 1 or more. Among them, the baseline resource object is mainly used to select a resource pool, and the auxiliary resource object is mainly used to provide a corresponding amount of idle resources for the resource pool selected by the baseline resource object. Optionally, the baseline resource object may also provide idle resources to the resource pool selected by it. In this case, the baseline resource object, in addition to selecting the resource pool, also serves as an auxiliary resource object.

[0064] In different application scenarios, the benchmark resource objects and auxiliary resource objects have different implementation forms. For example, in the above application scenario 4, the benchmark resource object can be a participating unit with competition qualifications, and the auxiliary resource object can be a sponsor or investor that provides sponsorship to each participating unit. For another example, in the above application scenario 5, the benchmark resource object can be a product processing plant with bidding qualifications, and the auxiliary resource object can be a supplier that provides materials to each processing plant.

[0065] Furthermore, when the number of auxiliary resource objects is one or more, each resource object includes at least two resource accounts, namely one benchmark resource account of the benchmark resource object and one or more auxiliary resource accounts of the auxiliary resource object. Accordingly, when allocating the allocatable resources of the first resource pool to each resource object that meets the ranking requirements, the amount of resources that can be allocated to each resource object that meets the ranking requirements can be determined from the allocatable resources of the first resource pool according to the set resource allocation ratio between the rankings. Furthermore, for the case where the potential resource objects include: benchmark resource objects and auxiliary resource objects, the ranking between the benchmark resource objects in the first resource pool can be calculated according to the business capabilities of the benchmark resource objects, and the ranking of each benchmark resource object can be used as the ranking of the corresponding resource object.

[0066] Further, for a resource object that meets the ranking criteria and includes at least two resource accounts, the amount of resources that can be allocated to the resource object can be distributed to each resource account of the resource object according to the resource ratio between the at least two resource accounts corresponding to the resource object. Among them, the resource ratio between the at least two resource accounts corresponding to the resource object refers to the ratio of the resources that can be allocated to each resource account to the resources allocated to the resource object. Further, the resource ratio between the at least two resource accounts corresponding to each resource object can be determined according to the contribution of each resource account to the successful selection of the first resource pool by the resource object. For the benchmark resource object, the contribution ratio of its selected resource pool can be preset, and for the auxiliary resource object, its contribution ratio can be determined according to the amount of idle resources it provides to the selected resource pool. For example, the contribution of the benchmark resource object to the selected resource pool can be preset to 30%, and the contribution ratio of the auxiliary resource object can be determined according to the ratio of the idle resources provided to the selected resource pool to the total resources obtained by the first resource pool multiplied by 70%.

[0067] It is worth noting that, in the case where the benchmark resource object provides idle resources to the selected resource pool, the benchmark resource object, in addition to the selected resource pool, also serves as an auxiliary resource object. The calculation method of its contribution ratio when serving as an auxiliary resource object is the same as the calculation method of the contribution ratio of other auxiliary resource objects, which will not be repeated here. In this case, the benchmark resource account and the auxiliary resource account corresponding to the benchmark resource object can be the same.

[0068] It is also worth noting that in the embodiment of the present application, the amount of idle resources provided by the auxiliary resource object to the resource pool selected by the reference resource object may be greater than the threshold resource amount corresponding to the resource pool, and the portion of the amount of idle resources provided by the auxiliary resource object to the resource pool selected by the reference resource object that exceeds the threshold resource amount corresponding to the resource pool may be retained by the reference resource object. For example, in the above-mentioned application scenario 4, assuming that the threshold amount of sub-event 1 is 1,000 yuan, a participating unit signs up to participate in sub-event 1, and the participating unit obtains a sponsorship of 1,500 yuan, then the 500 yuan exceeding the threshold amount of sub-event 1 can be retained by the participating unit.

[0069] Optionally, in the above application scenario 4, when distributing the resources allocable to the resource object to each resource account of the resource object, the funds that each resource account should receive can also be distributed to the corresponding resource account after deducting taxes.

[0070] Further, considering that the reference resource object in the potential resource object is mainly used to select the resource pool, the auxiliary resource object in the potential resource object is mainly used to provide the corresponding amount of idle resources for the resource pool selected by the reference resource object. Based on this, an optional implementation method of the above step 102 to publish the resource reallocation information is: sending the access address of the resource reallocation information to the reference resource object in the potential resource object. Further, the reference resource object can trigger the access address, enter the page of the resource reallocation information, and read the multiple resource pools included in the resource reallocation information and the threshold resource amount corresponding to each resource pool from the page. Correspondingly, for the resource reallocation information publishing device, in response to the triggering operation of the first resource object on the access address, the multiple resource pools included in the resource reallocation information and the threshold resource amount corresponding to each resource pool can be provided to the first resource object. Optionally, the barcode of the resource reallocation information can also be sent to the reference resource object in the potential resource object. Further, in response to the scanning operation of the first resource object on the barcode, the multiple resource pools included in the resource reallocation information and the threshold resource amount corresponding to each resource pool are provided to the first resource object. Wherein, the first resource object is any object in the reference resource object.

[0071] It should be noted that the "barcode" in the embodiments of the present application is a group of bar and space symbols arranged according to certain coding rules to represent information composed of certain characters, numbers and symbols, and is generally a graphical information carrier. From the perspective of the dimension of carrying information, the barcode in the embodiments of the present application may include a one-dimensional code (or barcode), a two-dimensional code or a three-dimensional code. One-dimensional codes may include but are not limited to: EAN code, UPC code, 39 code, Code 93 code, etc. Two-dimensional codes may include but are not limited to: PDF417 two-dimensional code, QR Code two-dimensional barcode, etc.

[0072] Further, the first resource object may select a resource pool from a plurality of resource pools. Accordingly, for the resource reallocation information publishing device, in response to the first resource object's selection operation on a plurality of resource pools, it may determine that the resource pool selected by the first resource object is the first resource pool, and provide the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool to the auxiliary resource object, so that the auxiliary resource object can determine whether to provide idle resources to the first resource pool. Among them, the resource interface information includes: the resource provision interface allocated by the first resource pool to the first resource object. The auxiliary resource object may determine whether to assist the first resource object through the basic information of the first resource object and the threshold resource amount corresponding to the first resource pool. If the second resource object in the auxiliary resource object determines to assist the first resource object, the second resource object may provide the first resource pool with idle resources of the corresponding amount through the resource interface information corresponding to the first resource pool allocated to the first resource object. Accordingly, the resource reallocation information publishing device receives the idle resources of the corresponding amount provided by the second resource object.

[0073] It should be noted that the second resource object is obtained by allocating resource interface information corresponding to the first resource pool to the first resource object. The resource reallocation information publishing device can determine that the idle resources provided by the second resource object to the first resource pool are auxiliary to the first resource object.

[0074] Furthermore, in different application scenarios, the information of the first resource object is also different. For example, in the above-mentioned application scenario 1, the information of the first resource object may be the model of the network device where the network congestion occurs, the size of its own bandwidth, the IP address or MAC address, and other information. For another example, in the above-mentioned application scenario 2, the information of the first resource object may be the model of the computer device with insufficient storage space, the size of its own storage space, the IP address or MAC address, and other information. For another example, in the above-mentioned application scenario 4, the information of the first resource object may be the brief information of the participating unit (name, professional age, historical participation or award record, etc.), and so on.

[0075] In the embodiment of the present application, the implementation form of the resource interface information is not limited. Optionally, the resource interface information can be a network address of a resource provider interface allocated by the first resource pool to the first resource object, or a barcode of the resource provider interface. The barcode can be a one-dimensional code, a two-dimensional code, or a three-dimensional code, but is not limited thereto.

[0076] Furthermore, the resource reallocation information publishing device may directly provide the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool to the auxiliary resource object, or may forward the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool to the auxiliary resource object. When the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool are forwarded by the first resource object to the auxiliary resource object, the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool may be sent to the first resource object. Accordingly, the first resource object forwards the information to the auxiliary resource object.

[0077] Optionally, the first resource object may also provide idle resources to the first resource pool through the resource interface information. The amount of idle resources provided by the first resource object can be set independently and is not limited here. For example, the first resource object may provide idle resources equal to the threshold resource amount of the first resource pool to the first resource pool through the resource interface information, or provide idle resources less than the threshold resource amount of the first resource pool to the first resource pool.

[0078] Furthermore, if the resource interface information is a QR code of a resource providing interface, the resource providing interface can be encoded to generate a corresponding QR code, and the QR code can be sent to the first resource object so that the first resource object can forward the QR code to the auxiliary resource object. Accordingly, the second resource object in the auxiliary resource object can provide a corresponding amount of idle resources to the first resource pool by scanning the QR code.

[0079] Optionally, the resource submission time can also be set, and after the resource reallocation information publishing device sends the resource interface information to the first resource object or the auxiliary resource object, the resource submission time can be counted down, and after the resource submission time countdown ends, the resource interface information is automatically invalid. Among them, the resource submission time can be flexibly set according to actual business needs, and is not limited here. For example, in the above-mentioned application scenario 1, the resource submission time can be flexibly set according to the demand for network data transmission rate. In application scenario 1, the resource submission time can be 1min, 30s, etc., but is not limited to this. In the above-mentioned application scenario 4, the resource submission time can be flexibly set according to the actual event time, for example, it can be one week, one month, two months, etc., but is not limited to this.

[0080] In the above embodiment, the number of second resource objects is 1 or more. In some application scenarios, the number of second resource objects is 1; in other application scenarios, the number of second resource objects is more than one, but only one second resource object triggers the resource interface information at a time. Based on these application scenarios, the resource reallocation information publishing device can respond to the triggering operation of the second resource object on the resource interface information, obtain the version number of the resource interface information used by the second resource object, and determine whether the version number of the resource interface information used by the second resource object is the same as the version number of the locally stored resource interface information; if the judgment result is yes, a resource provision page is provided to the second resource object. Furthermore, the second resource object can provide free resources to the first resource pool according to the requirements of the resource provision page. Accordingly, the resource reallocation information publishing device updates the version number of the locally stored resource interface information. For example, the version number of the locally stored resource interface information is increased by 1, and so on.

[0081] In actual applications, there may be a situation where multiple second resource objects trigger resource interface information at the same time. In this case, the system may crash due to multiple resource objects triggering resource interface information at the same time. In order to prevent this situation, the resource reallocation information publishing device can count the number of second resource objects whose version number of the resource interface information used is the same as the version number of the resource interface information stored locally; if there are multiple numbers, a confirmation request for whether to provide idle resources is sent to these multiple second resource objects, so that these second resource objects can respond with confirmation.

[0082] Accordingly, these second resource objects can respond to the confirmation request for whether to provide idle resources through their respective terminal devices. Accordingly, the resource reallocation information publishing device can determine the third resource object that first returns a confirmation response based on the received confirmation response, and provide a resource provision page to the third resource object so that the third resource object can provide idle resources to the first resource pool. Among them, the third resource object is the resource object that first confirms the confirmation request among the multiple second resource objects that receive the confirmation request for whether to provide idle resources.

[0083] In the embodiment of the present application, for the convenience of description and distinction, the total amount of idle resources provided by the second resource object to the first resource pool is defined as the first amount. Considering that the first amount may not reach the threshold resource amount of the first resource pool, after receiving the idle resource amount of the first amount submitted by the second resource object, it can also be determined whether the first amount is less than the threshold resource amount of the first resource pool. If the judgment result is that the first quota is equal to the threshold resource quota of the first resource pool, it is determined that the first resource object has successfully selected the first resource pool; if the judgment result is that the first quota is greater than the threshold resource quota of the first resource pool, it is determined that the first resource object has successfully selected the first resource pool, and the quota of the first quota higher than the threshold resource quota of the first resource pool is used as the reserved resource quota of the first resource object, and this part of the reserved resource quota is not included in the total amount of resources provided by the resource objects associated with the above-mentioned first resource pool; if the judgment result is that the first quota is less than the threshold resource quota of the first resource pool, before the end of the set resource submission time, a prompt message is sent to the first resource object to prompt the first resource object to increase the amount of resources that are still missing, wherein the amount of resources that are still missing is equal to the difference between the first quota and the threshold resource quota of the first resource pool. Optionally, the prompt message may include information such as the amount of resources that are still missing and / or the effective duration of the prompt message.

[0084] Further, the first resource object may respond to the prompt information to decide whether to increase the amount of resources that are still missing. If the first resource object decides to increase the amount of resources that are still missing, the prompt information may be confirmed. Accordingly, the resource reallocation information publishing device may provide resource interface information to the first resource object in response to the first resource object's confirmation operation on the prompt, and the first resource object may provide the amount of resources that are still missing through the resource interface information. Further, the resource reallocation information publishing device receives the amount of resources that are still missing provided by the first resource object, and determines that the first resource object has successfully selected the first resource pool.

[0085] If the first resource object decides not to increase the amount of resources that are still missing, it can perform a negative operation on the prompt information, for example, the first resource object can trigger a corresponding negative control or reply a negative answer through the terminal device it uses. Accordingly, the resource reallocation information publishing device can return the first amount of idle resources submitted by the second resource object to the second resource object in response to the first resource object's negative operation on the prompt, that is, the first resource object has not successfully selected the first resource pool.

[0086] Furthermore, the effective time for the first resource object to submit the missing resource amount can also be set, that is, the effective time of the specified time is set for the prompt information. If the missing resource amount is not received within the specified time, the idle resources of the first amount provided by the second resource object will be returned to the second resource object, that is, the first resource object has not successfully selected the first resource pool. Among them, the specified time includes the moment before the specified time is reached and the moment when the specified time is reached. Furthermore, the specific value of the specified time can be flexibly set according to actual needs, and is not limited here. For example, in the above-mentioned application scenario 4, the specified time can be 5 minutes, 10 minutes, half an hour, etc., but is not limited to this.

[0087] Further, in the embodiment of the present application, in order to make as many auxiliary resource objects as possible provide idle resources, after the validity period of the selected resource pool ends, it can be determined whether the number of benchmark resource objects selected for each resource pool is greater than or equal to the inverse of the object proportion corresponding to each resource pool. If there is a resource pool with a yes judgment result, the resource interface information corresponding to the resource pool with a yes judgment result is provided to the auxiliary resource object; if there is a resource pool with a no judgment result, the resource pools with a no judgment result can be merged to re-form a new resource pool, so that more auxiliary resource objects can provide idle resources. The first resource pool is still taken as an example for exemplary description.

[0088] For the first resource pool, after the selected validity period of the first resource pool ends, it can be determined whether the number S of the benchmark resource objects selected in the first resource pool is greater than or equal to the set number threshold N, wherein N is determined by the object ratio corresponding to the first resource pool. Further, N is greater than or equal to the inverse of the object ratio corresponding to the first resource pool. Preferably, N is equal to the inverse of the object ratio corresponding to the first resource pool. Further, if S≥N, the resource interface information corresponding to the first resource pool is provided to the auxiliary resource object. Correspondingly, if S<N, a candidate resource pool is determined from other resource pools, in which the benchmark resource objects corresponding to the selected first resource pool are greater than or equal to the inverse of the object ratio that can be reallocated to resources respectively after adding the benchmark resource objects selected in the first resource pool to other resource pools; wherein the other resource pools are resource pools other than the first resource pool in the multiple resource pools included in the resource reallocation information. Further, the benchmark resource objects selected in the first resource pool can be added to the second resource pool in the candidate resource pool whose threshold resource amount is the smallest difference from the threshold resource amount of the first resource pool, and the resource interface information corresponding to the second resource pool is provided to the auxiliary resource object.

[0089] Optionally, in some embodiments, if S<N, the reference resource object of the first resource pool may be directly added to the second resource pool.

[0090] Alternatively, before adding the reference resource object of the first resource pool to the second resource pool, a scheduling notification may be sent to the reference resource object of the selected first resource pool so that the reference resource object of the first resource pool can determine whether to join the second resource pool.

[0091] Accordingly, the reference resource object of the first resource pool may respond to the scheduling notification through its terminal device. If the reference resource object of the first resource pool decides to join the second resource pool, it may respond to the scheduling notification to the resource reallocation information publishing device through its terminal device, and return a confirmation message, which indicates that the reference resource object of the first resource pool agrees to join the second resource pool. Accordingly, if the reference resource object of the first resource pool decides not to join the second resource pool, it may respond to the scheduling notification to the resource reallocation information publishing device through its terminal device, and return a negative message, which indicates that the reference resource object of the first resource pool does not agree to join the second resource pool. Further, if the reference resource object of the first resource pool does not return a confirmation message within a preset duration, it is determined that the reference resource object of the first resource pool does not agree to join the second resource pool. The preset duration includes the time when the preset duration is reached and the time before the preset duration is reached.

[0092] Furthermore, the resource reallocation information publishing device may receive a confirmation message returned by the reference resource object of the selected first resource pool, and add the reference resource object that returns the confirmation message to the second resource pool.

[0093] For example, in the above application scenario 4, it is assumed that the winning ratios of sub-event 1, sub-event 2, and sub-event 3 are 110, 1 / 8, and 1 / 12 respectively; the threshold amount of sub-event 1 is 1,000 yuan, the threshold amount of sub-event 2 is 1,050 yuan, and the threshold amount of sub-event 3 is 1,100 yuan. After the registration of the sub-events is over, it is counted that there are 6 participating units registered for sub-event 1; 10 participating units registered for sub-event 2; and 13 participating units registered for sub-event 3. Then, it can be determined that the number of participating units registered for sub-event 1 is less than the reciprocal 10 of its winning ratio. Furthermore, it can be assumed that the 6 participating units registered for sub-event 1 will be added to sub-event 2 and sub-event 3 respectively. After adding, the number of participating units of sub-event 2 will be 16, which is greater than the reciprocal 8 of the winning ratio of sub-event 2; the number of participating units of sub-event 3 will be 19, which is also greater than the reciprocal 12 of the winning ratio of sub-event 3. Therefore, sub-event 2 and sub-event 3 are both candidate sub-events. Furthermore, since the difference between the threshold amount of sub-event 2 and the threshold amount of sub-event 1 is 50 yuan, and the difference between the threshold amount of sub-event 3 and the threshold amount of sub-event 1 is 100 yuan, the 6 participating units of sub-event 1 are added to sub-event 2.

[0094] Further, for the first resource pool in the above embodiment, before executing the operations of steps 202 and 203, it is necessary to determine whether the first resource pool is qualified for resource reallocation. Only when the first resource pool is qualified for resource reallocation, steps 202 and 203 are executed. Figure 2b An exemplary implementation of whether the first resource pool is qualified for resource reallocation is given. Figure 2b Whether the number M of resource objects successfully selected from the first resource pool meets the preset number threshold N is used as a condition for determining whether the first resource pool is eligible for resource reallocation. The preset number threshold N is determined based on the proportion of objects corresponding to the first resource pool. Preferably, the preset number threshold N is greater than or equal to the inverse of the proportion of objects corresponding to the first resource pool. The main steps are as follows:

[0095] S1: Count the number M of resource objects that are successfully selected from the first resource pool within the resource submission time corresponding to the first resource pool.

[0096] S2: Determine whether the number M of resource objects successfully selected from the first resource pool is greater than or equal to a set number threshold N. If the determination result is M≥N, execute step S9; if the determination result is M<N, execute step S3.

[0097] Optionally, in some embodiments, if the judgment result is M<N, the second resource pool may be directly cancelled.

[0098] S3: Determine whether the number Q of other resource objects is greater than or equal to (NM), where other resource objects refer to the amount of idle resources submitted that is greater than or equal to the threshold resource amount of the first resource pool, and resource objects of other resource pools are not successfully selected; if the judgment result is yes, execute step S4; if the judgment result is no, execute step S10.

[0099] S4: Select at least (NM) candidate resource objects from other resource objects.

[0100] Optionally, further, in the case where the number of other resource objects is greater than or equal to (NM), all other resource objects may be used as candidate resource objects. Alternatively, resource objects whose difference between the idle resource amount submitted by them and the threshold resource amount of the first resource pool falls within a preset difference range may be selected from other resource objects as candidate resource objects. Further, in step S4, if the number of other resource objects is greater than or equal to (NM), but the number of resource objects whose difference between the idle resource amount submitted by other resource objects and the threshold resource amount of the first resource pool falls within the preset difference range is less than (NM), then the first resource pool is cancelled.

[0101] S5: Sending a query message to the at least (NM) candidate resource objects, so that the at least (NM) candidate resource objects can determine whether to join the first resource pool.

[0102] The candidate resource object may respond to the inquiry message through its terminal device. If the candidate resource object decides to join the first resource pool, it may make a definite response to the inquiry message to the resource reallocation information publishing device through its terminal device, and return a definite message, which indicates that the candidate resource object agrees to join the first resource pool. Correspondingly, if the candidate resource object decides not to join the first resource pool, it may make a negative response to the inquiry message to the resource reallocation information publishing device through its terminal device, and return a negative message, which indicates that the candidate resource object agrees to join the first resource pool. Further, if the candidate resource object does not return a definite message when the preset time period arrives, it is determined that the candidate object does not agree to join the first resource pool.

[0103] S6: Receive the confirmation message returned by the candidate resource object determined to join the first resource pool, and count the number K of candidate resource objects that return the confirmation message. S7: Determine whether the number K of target resource objects that return the confirmation message is greater than or equal to (NM); if the judgment result is yes, execute step S8; if the judgment result is no, execute step S10.

[0104] S8: The K candidate resource objects that return confirmation messages are taken as K target resource objects, added into the first resource pool, and step S9 is executed.

[0105] Correspondingly, in step S8, the idle resources provided by the K target resource objects to other resource pools are added to the first resource pool.

[0106] S9: Determine whether the first resource pool is qualified to participate in resource reallocation.

[0107] S10: cancel the first resource pool, and return the idle resources provided by the resource objects successfully selected in the first resource pool in step S1 to these resource objects, and return the idle resources provided by the at least (NM) candidate resource objects to other resource pools to the at least (NM) candidate resource objects.

[0108] In some embodiments, after step S3, K target resource objects can also be selected from other resource objects, and these K target resource objects can be directly added to the first resource pool. Correspondingly, the idle resources provided by each target resource object to other resource pools are transferred to the first resource pool. In this embodiment, Q≤K≤(NM), that is, the target resource object can be all resource objects in other resource objects, or it can be part of the resource objects in other resource objects, but the number of these resource objects is at least (NM). Among them, regarding the selection method of the K target resource objects in this embodiment, please refer to the above-mentioned selection method of at least (NM) candidate resource objects, which will not be repeated here. In order to facilitate the understanding of the resource processing method provided in the above-mentioned embodiment, the resource processing method provided in the embodiment of the present application is exemplarily described below by taking the above-mentioned application scenario 4 as an example.

[0109] Figure 3 A flow chart of another resource processing method provided in an embodiment of the present application. This method is applicable to the server-side device of the event organizer. Among them, the server-side device refers to a computer device that can perform resource management, respond to service requests from terminal devices, and provide users with services related to resource processing. It generally has the ability to undertake and guarantee services. The server-side device can be a single server device, a cloud-based server array, or a virtual machine (Virtual Machine, VM) running in a cloud-based server array. In addition, the server-side device can also refer to other computing devices with corresponding service capabilities, such as computers and other terminal devices (running service programs), etc. Figure 3 As shown, the method includes:

[0110] 301. Generate fund reallocation information according to fund allocation information required for the event. The fund reallocation information includes: multiple sub-events, each sub-event corresponds to a fund pool, and each fund pool corresponds to a threshold amount.

[0111] The threshold amounts corresponding to different events may be the same or different. The fund reallocation information may be used as an event notification.

[0112] 302. Send the fund reallocation information to the benchmark resource object registered with the event organizer.

[0113] In this embodiment, the reference resource object is a participating unit, that is, a unit that is registered with the event organizer and may participate in the event. For example, if the event is a golf tournament, the reference resource object is a golf player registered with the golf tournament organizer.

[0114] 303. In response to the first contestant's selection operation of multiple sub-competitions, determine that the sub-competition selected by the first contestant is a first competition, and use the fund pool corresponding to the first competition as the first fund pool.

[0115] Among them, the first participating unit is any participating unit.

[0116] 304. Provide the information of the first participating unit and the threshold amount and resource interface information corresponding to the first fund pool to the auxiliary resource object.

[0117] In this embodiment, the auxiliary resource object is a sponsor or investor that may sponsor the first participating unit. For step 304, optionally, the event organizer may directly push the resource interface information corresponding to the first fund pool to each auxiliary resource object, or the event organizer may send the resource interface information corresponding to the first fund pool to the first participating unit, and the first participating unit forwards the resource interface information to the auxiliary resource object.

[0118] Furthermore, for an implementation method in which the event organizer sends the resource interface information corresponding to the first fund pool to the first participating unit, and the first participating unit forwards the resource interface information to the auxiliary resource object, the terminal device of the first participating unit may also submit funds to the first fund pool when receiving the resource interface information. If the funds submitted by the first participating unit are greater than or equal to the threshold amount corresponding to the first fund pool, it is determined that the first participating unit has successfully registered for the first event; if the funds submitted by the first participating unit are less than the threshold amount corresponding to the first fund pool, the first participating unit may forward the resource interface information to the auxiliary resource object. Accordingly, the terminal device of the auxiliary resource object receives the resource interface information and may provide idle funds to the first fund pool through the resource interface information. In the following steps, an example description is given using the situation in which the auxiliary resource object is required to assist in providing idle funds.

[0119] 305. Within the resource submission time, receive the idle funds provided by the second resource object to the first fund pool.

[0120] 306. Determine whether the total amount of idle funds provided by the second resource object to the first fund pool within the resource submission time is greater than or equal to the threshold amount corresponding to the first fund amount. If the determination result is yes, execute step 309; if the determination result is no, execute step 307.

[0121] If the total amount of idle funds provided by the second resource object to the first fund pool is greater than the threshold amount corresponding to the first fund amount, not only step 309 is executed, but also, according to the agreement, the difference between the total amount of idle funds provided by the second resource object to the first fund pool and the threshold amount corresponding to the first fund amount is reserved for the first participating unit, that is, this part of the difference does not participate in the resource reallocation in the subsequent steps 320-325

[0122] 307. Send a prompt message to the first participating unit to prompt the first participating unit to increase the missing amount, wherein the missing amount is equal to the difference between the total amount of idle funds provided by the second resource object to the first fund pool and the threshold amount corresponding to the first fund amount.

[0123] 308. If the missing amount submitted by the first participating unit is received within the specified time, execute step 309. If the missing amount submitted by the first participating unit is not received within the specified time, execute step 310.

[0124] 309 , determining that the first participating unit has successfully registered for the first competition, and continuing to execute step 311 .

[0125] 310 . Determine that the first participating unit has not successfully registered for the first competition, and continue to execute step 311 .

[0126] Optionally, when it is determined that the first participating unit has not successfully registered for the first competition, the idle funds provided by each second resource object that provides financial sponsorship to the first participating unit may be returned to the second resource objects.

[0127] 311. Count the number of participating units M that successfully register for the first competition within the validity period of the fund reallocation information.

[0128] 312. When the effective time of the fund reallocation information ends, determine whether the number M of the participating units that successfully registered for the first event is greater than or equal to the set number threshold N, where N is determined according to the winning ratio of the first event. Effectively, the set number threshold N is greater than or equal to the inverse of the winning ratio of the first event. If the judgment result is M≥N, execute step 319; if the judgment result is M<N, execute step 313.

[0129] 313: Determine whether the number Q of other participating units is greater than or equal to (NM), where other participating units refer to participating units whose sponsorship amount is greater than or equal to the threshold resource amount of the first fund pool and who have failed to successfully register for other events. If the judgment result is yes, execute step 314; if the judgment result is no, execute step 320.

[0130] 314: Select at least (NM) candidate participating units from other participating units.

[0131] 315: Sending an inquiry message to the at least (NM) candidate participating units, so that the at least (NM) candidate participating units can determine whether to participate in the first competition.

[0132] 316: Receive confirmation messages returned by the candidate participating units, and count the number K of candidate participating units that return confirmation messages.

[0133] 317: Determine whether the number K of candidate participating units that return confirmation messages is greater than or equal to (NM); if the determination result is yes, execute step 318; if the determination result is no, execute step 320.

[0134] 318: Determine that the K candidate participating units that have returned confirmation messages have successfully registered for the first event, and execute step 319.

[0135] Accordingly, in step 318, the idle resources provided by the K candidate participating units to other sub-events are added to the first fund pool.

[0136] 319: Determine that the first event is formed and the first fund pool is qualified to participate in resource reallocation, and continue to execute step 321.

[0137] 320: cancel the first competition, and return the idle resources provided by the second resource objects corresponding to the participating units that successfully registered for the first competition in step 310 to these resource objects, and return the idle resources provided by the K candidate participating units to other fund pools in the above step 318 to these K candidate participating units and their respective corresponding second resource objects.

[0138] Optionally, for the Q other participating units in the above step 313, if one or some participating units ultimately fail to successfully register for any event, the idle funds provided to the resource objects corresponding to these participating units will be returned to the corresponding resource objects.

[0139] 321. For the first fund pool corresponding to the first event, obtain the total amount of the first fund pool.

[0140] 322. Deduct the set reserved amount from the total amount of resources in the first fund pool to obtain the distributable funds in the first fund pool.

[0141] 323. After the competition is over, the rankings of the participating units corresponding to the first competition will be calculated based on the competition scores of the participating units that successfully registered for the first competition.

[0142] 324. The participating units that meet the ranking requirements shall be determined based on the rankings among the participating units corresponding to the first competition, combined with the winning ratio of the first competition and the number of participating units that successfully registered for the first competition.

[0143] Among them, if the product of the winning ratio of the first competition and the number of participating units that successfully registered for the first competition is not an integer, the product can be rounded up, rounded down, or rounded up to an approximate number to obtain the number of participating units that can win the award.

[0144] 325. The distributable funds in the first fund pool will be equally distributed to all participating units that meet the ranking requirements.

[0145] 326. With respect to the funds obtained by each participating unit, the funds obtained by the participating unit are distributed to the participating unit and its corresponding second resource object according to the fund allocation ratio between the participating unit and its corresponding second resource object.

[0146] The funding ratio of each participating unit can be preset, and the funding ratio of each second resource object can be allocated according to the ratio of the funding amount provided by each to the threshold amount of the first fund pool, after deducting the funding ratio of the participating unit. For example, the funding ratio of the participating unit can be preset as 30%, and the second resource objects that provide financial sponsorship to the participating unit can allocate the remaining 70% according to the ratio of the funding amount provided by each to the threshold amount of the first fund pool.

[0147] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 101 and 102 can be device A; for another example, the execution subject of step 101 can be device A, and the execution subject of step 102 can be device B; and so on.

[0148] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0149] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When these computer instructions are executed by one or more processors, the one or more processors are caused to execute each step in the above method.

[0150] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 4 As shown, the computer device includes: a memory 40a and a processor 40b.

[0151] The memory 40a is used to store computer programs.

[0152] The processor 40b is coupled to the memory 40a, and is used to execute a computer program for: generating resource reallocation information according to a resource reallocation trigger event, the resource reallocation information including multiple resource pools and the proportion of objects that can be reallocated to resources among the objects participating in each resource pool, and each resource pool corresponds to a threshold resource amount; publishing the resource reallocation information so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool. The threshold resource amounts corresponding to different resource pools can be the same or different.

[0153] In some embodiments, when generating resource reallocation information, the processor 40b is specifically used to: obtain multiple idle resource amounts expected to be provided by multiple benchmark resource objects based on a resource reallocation event; generate resource reallocation information based on multiple idle resource amounts, where the multiple benchmark resource objects are potential resource objects; and / or obtain historical resource reallocation information corresponding to the resource reallocation event based on the resource reallocation event; generate current resource reallocation information based on the historical resource reallocation information.

[0154] Further, when processor 40b generates resource reallocation information based on multiple idle resource amounts, it is specifically used to: divide the multiple idle resource amounts into multiple resource groups according to the ranges to which the multiple idle resource amounts belong; determine the number of multiple resource pools according to the number of resource groups; and calculate the threshold resource amount under the corresponding resource pool according to the idle resource amount in each resource group.

[0155] In some other embodiments, the resource reallocation information also includes: the proportion of objects that can be reallocated to resources among the objects participating in each resource pool. After issuing the resource reallocation information, the processor 40b is further used to: for the first resource pool, obtain the corresponding amount of idle resources submitted by the resource objects that have successfully selected the first resource pool to achieve resource integration; if the first resource pool is qualified for resource reallocation, determine the resource objects that meet the ranking requirements according to the ranking of the resource objects that have successfully selected the first resource pool and the proportion of objects that can be reallocated to resources corresponding to the first resource pool; allocate the allocable resources of the first resource pool to the resource objects that meet the ranking requirements; wherein the first resource pool is any resource pool among the multiple resource pools.

[0156] Optionally, before determining the resource objects that meet the ranking criteria according to the proportion of objects corresponding to the first resource pool, the processor 40b is further configured to: calculate the ranking between the resource objects associated with the first resource pool according to the business capabilities of the resource objects in the first resource pool.

[0157] Furthermore, if there are multiple resource objects that meet the ranking requirements, the processor 40b is specifically used to allocate the allocatable resources of the first resource pool to the resource objects that meet the ranking requirements according to the set resource allocation ratio between the ranks.

[0158] Optionally, when allocating the allocatable resources of the first resource pool to each resource object that meets the ranking requirements, the processor 40b is specifically used to: if there are Y resource objects ranked in parallel at the i-th place among the resource objects that meet the ranking requirements, and the total number Z of resource objects ranked in the top i places is less than X, then according to the set resource allocation ratio between the rankings, determine the total amount of resources in the allocatable resources of the first resource pool that can be allocated to the Y rankings starting from the set (Z-Y+1)th place; evenly distribute the total amount of resources that can be allocated to the Y rankings starting from the set (Z-Y+1)th place to the Y resource objects ranked in parallel at the i-th place; and according to the set resource allocation ratio between the rankings, allocate the remaining amount of resources in the allocatable resources of the first resource pool to the resource objects in the ranking that do not have a parallel ranking among the resource objects that meet the ranking requirements; wherein, i=1,2...,(X-1); if there are Y resource objects ranked in parallel at the i-th place among the resource objects that meet the ranking requirements, then allocate the remaining amount of resources in the allocatable resources of the first resource pool to the resource objects in the ranking that do not have a parallel ranking among the resource objects that meet the ranking requirements; wherein, i=1,2...,(X-1); If there are Y resource objects ranked in the i-th position, and the total number Z of resource objects ranked in the top i positions is greater than or equal to X, then according to the set resource allocation ratio between the rankings, the total amount of resources that can be allocated to the set (Z-Y+1)th to Xth positions in the allocable resources of the first resource pool is determined, and the total amount of resources that can be allocated to the set (Z-Y+1)th to Xth positions are evenly distributed to the Y resource objects ranked in parallel with the i-th position; if there are Y resource objects ranked in parallel with the Xth position among the resource objects that meet the ranking requirements, then according to the set resource allocation ratio between the rankings, the total amount of resources that can be allocated to the resource object ranked in the Xth position in the allocable resources of the first resource pool is determined; the total amount of resources that can be allocated to the resource object ranked in the Xth position are evenly distributed to the Y resource objects ranked in parallel with the Xth position; wherein X is the last rank set; 2≤Y≤Z, and Y and Z are both integers.

[0159] Furthermore, each resource object includes at least two resource accounts. When the processor 40b allocates the allocatable resources of the first resource pool to each resource object that meets the ranking requirements, it is specifically used to: determine the amount of resources that can be allocated to each resource object that meets the ranking requirements from the allocatable resources of the first resource pool according to the set resource allocation ratio between the rankings; and distribute the amount of resources that can be allocated to each resource object that meets the ranking requirements to each resource account of each resource object that meets the ranking requirements according to the resource allocation ratio between at least two resource accounts.

[0160] In some other embodiments, before allocating the allocatable resources of the first resource pool to the resource objects that meet the ranking requirements, the processor 40b is also used to: obtain the total amount of resources provided by the resource objects of the first resource pool; deduct the set reserved resource amount from the total amount of resources of the first resource pool to obtain the allocatable resources of the first resource pool.

[0161] In some further embodiments, before determining the resource objects that meet the ranking criteria, the processor 40b is further used to: count the number M of resource objects that are successfully selected from the first resource pool within the resource submission time corresponding to the first resource pool; and determine whether the number M of resource objects that are successfully selected from the first resource pool is greater than or equal to a set number threshold N; the set number threshold N can be determined according to the proportion of objects corresponding to the first resource pool. Preferably, N is greater than or equal to the inverse of the proportion of objects corresponding to the first resource pool; if M≥N, it is determined that the first resource pool is qualified to participate in resource reallocation.

[0162] Further, the processor 40b is also used to: if M<N, cancel the first resource pool; or if M<N, and the number of other resource objects Q is greater than or equal to (NM), select K target resource objects from other resource objects, and add the K target resource objects to the first resource pool, so that the first resource pool is eligible to participate in resource reallocation; wherein, (NM)≤K≤Q, and Q and K are positive integers; other resource objects refer to resource objects whose submitted idle resource amount is greater than or equal to the threshold resource amount of the first resource pool and whose resource objects of other resource pools have not been successfully selected.

[0163] Further, when the processor 40b selects K target resource objects from the other resource objects, it is specifically used to: select at least (NM) candidate resource objects from the other resource objects; send inquiry messages to at least (NM) candidate resource objects so that at least (NM) candidate resource objects can determine whether to join the first resource pool; receive confirmation messages returned by the candidate resource objects that are determined to join the first resource pool, and count the number K of candidate resource objects that return confirmation messages; if K≥(NM), the K candidate resource objects that return confirmation messages are used as the K target resource objects and added to the first resource pool. Correspondingly, if K<(NM), the first resource pool is cancelled.

[0164] In some other embodiments, the computer device further includes: a communication component 40c. The processor 40b publishes the resource reallocation information, including: sending the access address of the resource reallocation information to the reference resource object in the potential resource objects through the communication component 40c; in response to the triggering operation of the first resource object on the access address, providing the first resource object with multiple resource pools and the threshold resource amount corresponding to each resource pool; the first resource object is any object in the reference resource object.

[0165] Further, the potential resource objects also include: auxiliary resource objects. When the processor 40b obtains the corresponding amount of idle resources submitted by the resource object that successfully selects the first resource pool, it is specifically used to: determine the first resource pool selected by the first resource object in response to the first resource object's selection operation on multiple resource pools; provide the information of the first resource object and the threshold resource amount and resource interface information corresponding to the first resource pool to the auxiliary resource object through the communication component 40c, so that the auxiliary resource object can determine whether to provide idle resources to the first resource pool; and receive the second resource object through the communication component 40c to provide the corresponding amount of idle resources to the first resource pool through the resource interface information; the second resource object is one or more resource objects in the auxiliary resource object. Among them, the resource interface information is the network address and / or QR code of the resource providing interface.

[0166] Optionally, before receiving the information from the second resource object providing a corresponding amount of free resources to the first resource pool through resource interface information through the communication component 40c, the processor 40b is also used to: respond to the triggering operation of the second resource object on the resource interface information, and obtain the version number of the resource interface information used by the second resource object; determine whether the version number of the resource interface information used by the second resource object is the same as the version number of the resource interface information stored locally; if the judgment result is yes, provide a resource provision page to the second resource object through the communication component 40c, so that the second resource object can provide free resources to the first resource pool, and update the version number of the locally stored resource interface information.

[0167] Furthermore, when the processor 40b provides a resource provision page to the second resource object through the communication component 40c, it is specifically used to: count the number of second resource objects whose version number of the resource interface information used is the same as the version number of the locally stored resource interface information; if the number is multiple, send a confirmation request to these multiple second resource objects through the communication component 40c on whether to provide idle resources, so that these multiple second resource objects can respond with confirmation; determine the third resource object that returns the confirmation response first based on the received confirmation response, and provide a resource provision page to the third resource object through the communication component 40c, so that the third resource object can provide idle resources to the first resource pool.

[0168] Optionally, when the processor 40b provides the resource interface information corresponding to the first resource pool to the auxiliary resource object through the communication component 40c, it is specifically used to: determine whether the number S of the reference resource objects selected in the first resource pool is greater than or equal to the set number threshold N; wherein N can be determined according to the object proportion corresponding to the first resource pool. Preferably, the set number threshold N is greater than or equal to the inverse of the object proportion corresponding to the first resource pool; if S≥N, the resource interface information corresponding to the first resource pool is provided to the auxiliary resource object through the communication component 40c. Correspondingly, if S<N, a candidate resource pool is determined from other resource pools, in which the corresponding reference resource object of the selected first resource pool is greater than or equal to the inverse of the object proportion that can be reallocated to resources respectively after adding the reference resource object of the selected first resource pool to other resource pools; the reference resource object of the selected first resource pool is added to the second resource pool in the candidate resource pool whose threshold resource amount is the smallest difference from the threshold resource amount of the first resource pool; the resource interface information corresponding to the second resource pool is provided to the auxiliary resource object; the other resource pools are resource pools other than the first resource pool among the multiple resource pools.

[0169] Further, when the processor 40b adds the benchmark resource object of the selected first resource pool to the second resource pool in the candidate resource pool whose threshold resource amount is the smallest different from the threshold resource amount of the first resource pool, it is specifically used to: send a scheduling notification to the benchmark resource object of the selected first resource pool so that the benchmark resource object of the first resource pool can determine whether to join the second resource pool; receive a confirmation message returned by the benchmark resource object of the selected first resource pool, and add the benchmark resource object that returns the confirmation message to the second resource pool.

[0170] Further, if the resource interface information is a QR code of a resource providing interface, when the processor 40b provides the resource interface information corresponding to the first resource pool to the auxiliary resource object, it is specifically used to: encode the resource providing interface to generate a corresponding QR code; send the QR code to the first resource object through the communication component 40c, so that the first resource object forwards the QR code to the auxiliary resource object.

[0171] Optionally, when the processor 40b receives the free resources of the corresponding amount provided by the second resource object to the first resource pool through the resource interface information via the communication component 40c, it is specifically used to: receive the free resources of the first amount submitted by the second resource object through the communication component 40c; if the first amount is less than the threshold resource amount corresponding to the first resource pool, send a prompt message to the first resource object to prompt the first resource object to increase the amount of resources that are still missing; the amount of resources that are still missing is equal to the difference between the first amount and the threshold resource amount corresponding to the first resource pool; in response to the first resource object's confirmation operation on the prompt information, provide resource interface information to the first resource object so that the first resource object can submit the amount of resources that are still missing.

[0172] Furthermore, the processor 40b is further configured to return the idle resources of the first amount submitted by the second resource object to the second resource object if the missing resource amount is not received within a specified time period.

[0173] In some optional embodiments, such as Figure 4 As shown, the computer device may also include optional components such as a power supply component 40d, a display 40e, and an audio component 40f. Figure 4 The components are shown only schematically, and do not mean that the computer equipment must include Figure 4 The components shown do not necessarily mean that the computer equipment can only include Figure 4 Components shown.

[0174] The memory 40a is used to store computer programs and can be configured to store various other data to support operations on the computer device. The processor 40b can execute the computer program stored in the memory 40a to implement the corresponding control logic. The memory 40a can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0175] Wherein, the communication component 40c is configured to facilitate wired or wireless communication between the computer device and other devices. The computer device can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can also be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0176] The power supply assembly 40d is configured to provide power to various components of the computer device. The power supply assembly 40d may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply assembly is located.

[0177] The display 40e may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0178] The audio component 40f can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via the communication component 40c. In some embodiments, the audio component also includes a speaker for outputting an audio signal. For example, for a computer device with a language interaction function, voice interaction with a user can be achieved through the audio component 40f.

[0179] The computer device provided in this embodiment can generate resource reallocation information including multiple resource pools and threshold resource amounts corresponding to each resource pool according to a resource reallocation trigger event, and publish the resource reallocation information, so that the potential resource object can select a resource pool according to the threshold resource amount corresponding to each resource pool, and submit a corresponding amount of idle resources to the selected resource pool, and the idle resources can be reallocated under the selected resource pool. In this way, the idle resources of the potential resource object can be reallocated, resource idleness can be reduced, resource flow can be promoted, and resource utilization can be improved.

[0180] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.

[0181] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention 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.

[0182] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. 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.

[0183] 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.

[0184] 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 A step that specifies a function in one or more boxes.

[0185] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0186] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

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

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

[0189] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A resource processing method, characterized in that: include: Generate resource reallocation information according to a resource reallocation trigger event, wherein the resource reallocation information includes multiple resource pools and the proportion of objects participating in each resource pool that can be reallocated to resources; each resource pool corresponds to a threshold resource amount; Publishing the resource reallocation information so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool; For the first resource pool, obtaining idle resources of corresponding amounts submitted by resource objects that have successfully selected the first resource pool, so as to achieve resource integration; In the case where the first resource pool is eligible for resource reallocation, determining the resource objects that meet the ranking criteria according to the rankings of the resource objects that have been successfully selected from the first resource pool and the proportion of objects that can be reallocated to resources corresponding to the first resource pool; Allocating allocatable resources in the first resource pool to resource objects that meet the ranking requirements; The first resource pool is any resource pool among the multiple resource pools, and the proportion of objects that can be reallocated to resources corresponding to the first resource pool refers to the proportion of objects that can be allocated to resources in the first resource pool to all resource objects in the first resource pool; Among them, the method for determining the resource reallocation qualification includes: counting the number M of resource objects successfully selected from the first resource pool within the resource submission time corresponding to the first resource pool; judging whether the number M of resource objects successfully selected from the first resource pool is greater than or equal to a set quantity threshold N; the set quantity threshold N is determined according to the proportion of objects corresponding to the first resource pool; if M≥N, it is determined that the first resource pool is qualified to participate in resource reallocation.

2. The method according to claim 1, characterized in that If there are multiple resource objects that meet the ranking criteria, allocating the allocatable resources of the first resource pool to the resource objects that meet the ranking criteria includes: According to the set resource allocation ratio between rankings, the allocatable resources of the first resource pool are allocated to each resource object that meets the ranking requirements.

3. The method according to claim 2, characterized in that The allocating the allocable resources of the first resource pool to each resource object that meets the ranking requirement according to the set resource allocation ratio between the rankings includes: If there are Y resource objects ranked in parallel at the i-th place among the resource objects that have met the ranking requirements, and the total number Z of resource objects ranked in the top i places is less than X, then the total amount of resources that can be allocated to the Y rankings starting from the set (Z-Y+1)th place from the allocatable resources in the first resource pool is determined according to the set resource allocation ratio between the rankings; the total amount of resources that can be allocated to the Y rankings starting from the set (Z-Y+1)th place is evenly distributed to the Y resource objects ranked in parallel at the i-th place; and the remaining amount of resources in the allocatable resources in the first resource pool is allocated to the resource objects in the rankings that do not have a parallel ranking among the resource objects that have met the ranking requirements according to the set resource allocation ratio between the rankings; If there are Y resource objects ranked in parallel at the i-th position among the resource objects that meet the ranking criteria, and the total number Z of resource objects ranked in the top i positions is greater than or equal to X, then the total amount of resources that can be allocated to the self-set (Z-Y+1)th to Xth positions in the allocatable resources of the first resource pool is determined according to the set resource allocation ratio between the rankings, and the total amount of resources that can be allocated to the self-set (Z-Y+1)th to Xth positions are evenly distributed to the Y resource objects ranked in parallel at the i-th position; wherein, ; If there are Y resource objects ranked in parallel at the Xth place among the resource objects that meet the ranking criteria, then the total amount of resources that can be allocated to the resource object ranked in parallel at the Xth place among the allocatable resources in the first resource pool is determined according to the set resource allocation ratio between the rankings; the total amount of resources that can be allocated to the resource object ranked in parallel at the Xth place is evenly distributed to the Y resource objects ranked in parallel at the Xth place; Where X is the last rank set; 2≤Y≤Z, and Y and Z are both integers.

4. The method according to claim 2, characterized in that: Each resource object includes at least two resource accounts, and the allocating of the allocable resources of the first resource pool to each resource object that meets the ranking requirements according to the set resource allocation ratio between the rankings includes: According to the set resource allocation ratio between the rankings, determine the amount of resources that can be allocated to each resource object that meets the ranking requirements from the allocatable resources in the first resource pool; According to the resource allocation ratio between the at least two resource accounts, the resource amount that can be allocated to each resource object that meets the ranking requirement is distributed to each resource account of each resource object that meets the ranking requirement.

5. The method according to claim 1, characterized in that Before allocating the allocatable resources in the first resource pool to the resource objects that meet the ranking criteria, the method further includes: Obtaining the total amount of resources provided by the resource objects of the first resource pool; The set reserved resource amount is deducted from the total resource amount of the first resource pool to obtain the allocatable resources of the first resource pool.

6. The method according to claim 1, characterized in that Before determining the resource objects that meet the ranking criteria according to the rankings among the resource objects in the first resource pool and the proportion of objects corresponding to the first resource pool, the method further includes: According to the service capabilities of the resource objects in the first resource pool, a ranking among the resource objects associated with the first resource pool is calculated.

7. The method according to claim 1, characterized in that Also includes: If M<N, cancel the first resource pool; or If M<N, and the number of other resource objects Q is greater than or equal to (NM), then K target resource objects are selected from the other resource objects, and the K target resource objects are added to the first resource pool to make the first resource pool eligible to participate in resource reallocation; wherein, (NM)≤K≤Q, and Q and K are positive integers; the other resource objects refer to resource objects whose submitted idle resource amount is greater than or equal to the threshold resource amount of the first resource pool and whose resource objects from other resource pools have not been successfully selected.

8. The method according to claim 7, characterized in that The selecting K target resource objects from the other resource objects also includes: Select at least (NM) candidate resource objects from the other resource objects; Sending an inquiry message to the at least (NM) candidate resource objects, so that the at least (NM) candidate resource objects determine whether to join the first resource pool; receiving a confirmation message returned by the candidate resource objects determined to be added to the first resource pool, and counting the number K of candidate resource objects that return the confirmation message; If K ≥ (NM), the K candidate resource objects that return confirmation messages are used as the K target resource objects.

9. The method according to claim 1, characterized in that: Generate resource reallocation information according to the resource reallocation trigger event, including at least one of the following implementation methods: According to the resource reallocation event, a plurality of idle resource amounts that are expected to be provided by a plurality of reference resource objects are obtained; the resource reallocation information is generated according to the plurality of idle resource amounts, and the plurality of reference resource objects belong to the potential resource objects; or Acquire historical resource reallocation information corresponding to the resource reallocation event; The current resource reallocation information is generated according to the historical resource reallocation information.

10. The method according to claim 9, characterized in that The generating the resource reallocation information according to the plurality of idle resources comprises: Dividing the plurality of idle resource amounts into a plurality of resource groups according to the ranges to which the plurality of idle resource amounts belong; Determining the number of the plurality of resource pools according to the number of the resource groups; According to the idle resource amount in each resource group, the threshold resource amount under the corresponding resource pool is calculated.

11. The method according to claim 1, characterized in that: The publishing of the resource reallocation information includes: Sending the access address of the resource reallocation information to the reference resource object in the potential resource object; In response to a triggering operation of the first resource object on the access address, the multiple resource pools and the threshold resource amount corresponding to each resource pool are provided to the first resource object; the first resource object is any object among the reference resource objects.

12. The method according to claim 11, characterized in that The potential resource objects also include auxiliary resource objects, and the obtaining of the corresponding amount of idle resources submitted by the resource objects successfully selected from the first resource pool includes: In response to the first resource object's selection operation on the multiple resource pools, determining a first resource pool selected by the first resource object; Providing information of the first resource object and threshold resource amount and resource interface information corresponding to the first resource pool to the auxiliary resource object, so that the auxiliary resource object determines whether to provide idle resources to the first resource pool; and A second resource object is received to provide a corresponding amount of idle resources to the first resource pool through the resource interface information; the second resource object is one or more resource objects in the auxiliary resource object.

13. The method according to claim 12, characterized in that Providing the resource interface information corresponding to the first resource pool to the auxiliary resource object includes: Determine whether the number S of the benchmark resource objects selected in the first resource pool is greater than or equal to a set number threshold N; the set number threshold N is determined according to the proportion of objects corresponding to the first resource pool; If S≥N, the resource interface information corresponding to the first resource pool is provided to the auxiliary resource object.

14. The method according to claim 13, characterized in that Also includes: If S<N, determine from other resource pools a candidate resource pool whose corresponding benchmark resource objects are greater than or equal to the inverse of the proportion of objects that can be reallocated to resources after adding the benchmark resource objects of the selected first resource pool to the other resource pools; Selecting the reference resource object of the first resource pool to be added to a second resource pool in the candidate resource pool whose threshold resource amount has the smallest difference with the threshold resource amount of the first resource pool; Providing resource interface information corresponding to the second resource pool to the auxiliary resource object; The other resource pools are resource pools other than the first resource pool among the multiple resource pools.

15. The method according to claim 14, characterized in that The step of selecting the reference resource object of the first resource pool to be added to the second resource pool in the candidate resource pool, the second resource pool having the smallest difference between the threshold resource amount of the first resource pool and the threshold resource amount of the first resource pool, comprises: Sending a scheduling notification to the selected reference resource object of the first resource pool, so that the reference resource object of the first resource pool determines whether to join the second resource pool; Receive a confirmation message returned by the reference resource object selected in the first resource pool, and add the reference resource object that returns the confirmation message to the second resource pool.

16. The method according to claim 12, characterized in that The resource interface information is the network address and / or QR code of the resource providing interface.

17. The method according to claim 16, characterized in that If the resource interface information is a QR code of a resource providing interface, providing the resource interface information corresponding to the first resource pool to the auxiliary resource object includes: The resource providing interface is encoded to generate a corresponding two-dimensional code; the two-dimensional code is sent to the first resource object, so that the first resource object forwards the two-dimensional code to the auxiliary resource object.

18. The method according to claim 12, characterized in that Before receiving the second resource object providing a corresponding amount of idle resources to the first resource pool through the resource interface information, the method includes: In response to the triggering operation of the second resource object on the resource interface information, obtaining a version number of the resource interface information used by the second resource object; Determining whether the version number of the resource interface information used by the second resource object is the same as the version number of the locally stored resource interface information; If the judgment result is yes, a resource provision page is provided to the second resource object so that the second resource object can provide idle resources to the first resource pool, and the version number of the locally stored resource interface information is updated.

19. The method according to claim 18, characterized in that The providing the resource providing page to the second resource object includes: Counting the number of second resource objects whose version number of the used resource interface information is the same as the version number of the locally stored resource interface information; If the number is multiple, sending a confirmation request for whether to provide idle resources to the multiple second resource objects, so that the multiple second resource objects can make a confirmation response; According to the received confirmation responses, a third resource object that first returns a confirmation response is determined, and the resource provision page is provided to the third resource object so that the third resource object can provide idle resources to the first resource pool.

20. The method according to claim 12, characterized in that The receiving the second resource object to provide a corresponding amount of idle resources to the first resource pool through the resource interface information includes: receiving the idle resources of the first amount submitted by the second resource object; If the first quota is less than the threshold resource quota corresponding to the first resource pool, a prompt message is sent to the first resource object to prompt the first resource object to increase the missing resource quota; the missing resource quota is equal to the difference between the first quota and the threshold resource quota corresponding to the first resource pool; In response to the first resource object's determination operation on the prompt information, the resource interface information is provided to the first resource object so that the first resource object can submit the missing resource amount.

21. The method according to claim 20, characterized in that Also includes: If the missing resource amount is not received within the specified time period, the idle resources of the first amount submitted by the second resource object are returned to the second resource object.

22. The method according to any one of claims 1 to 21, characterized in that: The threshold resource amounts corresponding to different resource pools are the same.

23. A computer device, characterized in that: include: A memory and a processor; wherein, The memory is used to store computer programs; The processor is coupled to the memory and is configured to execute the computer program for: Generate resource reallocation information according to a resource reallocation trigger event, wherein the resource reallocation information includes multiple resource pools and a proportion of objects participating in each resource pool that can be reallocated to resources, and each resource pool corresponds to a threshold resource amount; Publishing the resource reallocation information so that potential resource objects can select a resource pool according to the threshold resource amount corresponding to each resource pool and submit a corresponding amount of idle resources to the selected resource pool, so as to perform resource reallocation under the selected resource pool; For the first resource pool, obtaining idle resources of corresponding amounts submitted by resource objects that have successfully selected the first resource pool, so as to achieve resource integration; In the case where the first resource pool is eligible for resource reallocation, determining the resource objects that meet the ranking criteria according to the rankings of the resource objects that have been successfully selected from the first resource pool and the proportion of objects that can be reallocated to resources corresponding to the first resource pool; Allocating allocatable resources in the first resource pool to resource objects that meet the ranking requirements; The first resource pool is any resource pool among the multiple resource pools, and the proportion of objects that can be reallocated to resources corresponding to the first resource pool refers to the proportion of objects that can be allocated to resources in the first resource pool to all resource objects in the first resource pool; Among them, the method for determining the resource reallocation qualification includes: counting the number M of resource objects successfully selected from the first resource pool within the resource submission time corresponding to the first resource pool; judging whether the number M of resource objects successfully selected from the first resource pool is greater than or equal to a set quantity threshold N; the set quantity threshold N is determined according to the proportion of objects corresponding to the first resource pool; if M≥N, it is determined that the first resource pool is qualified to participate in resource reallocation.

24. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the method according to any one of claims 1 to 21.

Citation Information

Patent Citations

  • Resources management method and device

    CN105912397A