CN-113888148-B - Method and device for scheduling resources based on scheduling network
Abstract
The embodiment of the specification provides a method and a device for scheduling resources based on a scheduling network. The method is used for realizing resource scheduling among different accounts by using a scheduling network. The scheduling network characterizes the association relation among a plurality of accounts and comprises a plurality of account nodes and connecting edges among the account nodes. The executing body receives a resource scheduling request for requesting a call-in or call-out of a resource for the first account. The execution body can determine a plurality of second account nodes with association relation with the first account node from the dispatching network, determine a plurality of target account nodes from the plurality of second account nodes based on account information corresponding to the account nodes, and finally execute resource dispatching between the first account and the plurality of target accounts based on the plurality of target account nodes.
Inventors
- HUANG LINGYAN
- CAO LIANG
- CAI JIAXIAN
- ZHOU DAN
Assignees
- 支付宝(杭州)信息技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20211022
Claims (17)
- 1. A resource scheduling method based on a scheduling network is used for realizing carbon emission scheduling among different accounts by using the scheduling network, the scheduling network characterizes association relations among a plurality of accounts and comprises a plurality of account nodes and connecting edges among the account nodes, the scheduling network is a directed network, carbon emission flow direction information exists on any connecting edge, the accounts belong to corresponding institutions, the plurality of accounts correspond to different institutions, and carbon emission in the accounts is used for indicating compliance productivity owned by the corresponding institutions, and the method is executed by a scheduling platform and a plurality of institution devices and comprises the following steps: the scheduling platform receives a resource scheduling request, wherein the resource scheduling request is used for requesting to schedule resources for the carbon emission of a first account, and the resource scheduling request carries a designated association relation between accounts or a designated mechanism for scheduling resources; The dispatching platform determines a plurality of second account nodes which have the appointed association relation with the first account nodes in the dispatching network and have the same carbon emission flow direction information with the first account nodes at the connecting edges with the first account nodes as second account nodes, or determines the account nodes belonging to the appointed mechanism in the dispatching network as second account nodes; The scheduling platform determines a plurality of target account nodes from the plurality of second account nodes based on the available carbon emission amount information corresponding to the account nodes; and the mechanism equipment receives a resource scheduling instruction sent by the scheduling platform and executes carbon emission scheduling between the first account and a plurality of target accounts.
- 2. The method of claim 1, wherein the resource scheduling request is for requesting carbon emissions scheduling of a first amount of resources for the first account, and wherein any one account node further comprises a rate of change of carbon emissions gain when carbon emissions are scheduled.
- 3. The method of claim 2, the step of determining a number of target account nodes from the number of second account nodes based on available carbon emission information corresponding to the account nodes, comprising: And determining a plurality of target account nodes and corresponding carbon emission scheduling amounts from the plurality of second account nodes based on the first resource amount and the corresponding variability of the plurality of second account nodes respectively, so that the total carbon emission gain amount meets a preset condition, wherein the total carbon emission gain amount is determined based on the corresponding variability and the corresponding carbon emission scheduling amount.
- 4. The method of claim 3, wherein the number of target account nodes includes a third account node, and the carbon emissions of the corresponding third account includes a second carbon emissions that has not yet been accounted for; the step of performing carbon emission scheduling between the first account and a number of target accounts includes: executing carbon emission scheduling between the third account and a fourth account, so that the third account obtains the second carbon emission; based on the second carbon emissions, a carbon emissions schedule between the first account and the third account is performed.
- 5. The method of claim 1, wherein the association is used to characterize contractual relationships between institutions corresponding to accounts.
- 6. The method of claim 5, any one account node further comprising a carbon emission scheduling limit comprising at least one of: A first carbon emission scheduling limit set for a mechanism corresponding to the account node is used for limiting the overall scheduling of a plurality of accounts corresponding to the mechanism; and a second carbon emission scheduling limit set for the account corresponding to the account node.
- 7. The method of claim 6, the step of determining a number of target account nodes from the number of second account nodes based on the available carbon emissions corresponding to the account nodes, comprising: And determining a plurality of target account nodes meeting the corresponding carbon emission scheduling limit from the plurality of second account nodes.
- 8. The method of claim 1, the step of performing carbon emission scheduling between the first account and a number of target accounts, comprising: submitting a number of transactions to a blockchain network, the number of transactions generated based on carbon emission scheduling between the first account and a number of target accounts, respectively, the number of target accounts corresponding to the number of target account nodes, respectively.
- 9. A device for scheduling resources based on a scheduling network is used for scheduling carbon emission among different accounts by using the scheduling network, the scheduling network characterizes association relations among a plurality of accounts and comprises a plurality of account nodes and connecting edges among the account nodes, the scheduling network is a directed network, carbon emission flow direction information exists on any connecting edge, the accounts belong to corresponding institutions, the plurality of accounts correspond to different institutions, the carbon emission in the accounts is used for indicating compliance productivity owned by the corresponding institutions, the device comprises a first device deployed in a scheduling platform and a second device deployed in a plurality of institution equipment, and the first device comprises: The request receiving module is configured to receive a resource scheduling request, wherein the resource scheduling request is used for requesting to schedule resources for the carbon emission of a first account, and the resource scheduling request carries a designated association relation between accounts or a designated mechanism for scheduling resources; The node determining module is configured to determine a plurality of second account nodes, which have the appointed association relation with the first account nodes in the dispatching network and are consistent with the first carbon emission flow direction information, as second account nodes, or determine account nodes belonging to the appointed mechanism in the dispatching network as second account nodes; The target determining module is configured to determine a plurality of target account nodes from the plurality of second account nodes based on the available carbon emission amount information corresponding to the account nodes; The instruction sending module is configured to send a resource scheduling instruction to corresponding mechanism equipment based on the target account nodes; the second device includes: The instruction receiving module is configured to receive a resource scheduling instruction sent by the scheduling platform; And the resource scheduling module is configured to execute carbon emission scheduling between the first account and a plurality of target accounts.
- 10. The apparatus of claim 9, wherein the resource scheduling request is to request carbon emission scheduling of a first amount of resources for the first account, and wherein any one account node further comprises a rate of change of carbon emission gain when carbon emission is scheduled.
- 11. The apparatus of claim 10, the targeting module being specifically configured to: And determining a plurality of target account nodes and corresponding carbon emission scheduling amounts from the plurality of second account nodes based on the first resource amount and the corresponding variability of the plurality of second account nodes respectively, so that the total carbon emission gain amount meets a preset condition, wherein the total carbon emission gain amount is determined based on the corresponding variability and the corresponding carbon emission scheduling amount.
- 12. The apparatus of claim 9, the association relationship to characterize a contractual relationship between institutions corresponding to accounts.
- 13. The apparatus of claim 12, any one account node further comprising a carbon emission scheduling limit comprising at least one of: A first carbon emission scheduling limit set for a mechanism corresponding to the account node is used for limiting the overall scheduling of a plurality of accounts corresponding to the mechanism; and a second carbon emission scheduling limit set for the account corresponding to the account node.
- 14. The apparatus of claim 13, the targeting module is specifically configured to: And determining a plurality of target account nodes meeting the corresponding carbon emission scheduling limit from the plurality of second account nodes.
- 15. A system for carrying out resource scheduling based on a scheduling network is used for realizing carbon emission scheduling among different accounts by using the scheduling network, the scheduling network characterizes the association relation among a plurality of accounts and comprises a plurality of account nodes and connecting edges among the account nodes, the scheduling network is a directed network, carbon emission flow direction information exists on any connecting edge, the accounts belong to corresponding institutions, the plurality of accounts correspond to different institutions, and the carbon emission in the accounts is used for indicating the compliance capacity owned by the corresponding institutions, and the system comprises a scheduling platform and a plurality of institution devices: The scheduling platform is used for receiving a resource scheduling request, wherein the resource scheduling request is used for requesting the carbon emission amount of a first account to carry out resource scheduling, and the resource scheduling request carries a designated association relation between accounts or a designated mechanism for carrying out resource scheduling and first carbon emission amount flow direction information of the first account; determining a plurality of second account nodes which have the appointed association relation with a first account node in the dispatching network and have the connection edge carbon emission flow direction information between the first account nodes consistent with the first carbon emission flow direction information as second account nodes, or determining account nodes belonging to the appointed mechanism in the dispatching network as second account nodes; The mechanism equipment is used for receiving the resource scheduling instruction sent by the scheduling platform and executing carbon emission scheduling between the first account and a plurality of target accounts.
- 16. A computer readable storage medium having stored thereon a computer program which, when executed in a computer, causes the computer to perform the method of any of claims 1-8.
- 17. A computing device comprising a memory having executable code stored therein and a processor, which when executing the executable code, implements the method of any of claims 1-8.
Description
Method and device for scheduling resources based on scheduling network Technical Field One or more embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method and apparatus for scheduling resources based on a scheduling network. Background In a corporate enterprise, it is often involved in scheduling resources among multiple accounts of multiple principals. The plurality of principals may be, for example, a plurality of subsidiaries. And the account is used as a resource carrier and can bear the quantity of the resources which are attributed to the main body. The group needs to perform centralized overall management on the resources of a plurality of main bodies, so that the full utilization of the resources is realized. When the resources of multiple subjects are centrally and comprehensively managed, the funds of the multiple subjects are usually required to be analyzed and allocated manually, and the efficiency is low. Therefore, an improved solution is desired that enables more efficient and rational scheduling of multi-account resources. Disclosure of Invention One or more embodiments of the present disclosure describe a method and apparatus for scheduling resources based on a scheduling network, so as to more efficiently implement reasonable scheduling of resources of multiple accounts. The specific technical scheme is as follows. In a first aspect, an embodiment provides a method for scheduling resources based on a scheduling network, which is used for implementing resource scheduling among different accounts by using the scheduling network, wherein the scheduling network characterizes an association relation among a plurality of accounts and comprises a plurality of account nodes and connecting edges among the account nodes, and the method is executed by a computer and comprises the following steps: receiving a resource scheduling request, wherein the resource scheduling request is used for requesting to schedule resources for a first account; Determining a plurality of second account nodes with association relation with the first account node from the dispatching network; Determining a plurality of target account nodes from the plurality of second account nodes based on account information corresponding to the account nodes; and executing resource scheduling between the first account and the target accounts based on the target account nodes. In one embodiment, the resource scheduling request is used for requesting resource scheduling of a first resource amount for the first account, and the account information of any one account node includes a variability of a resource gain when the resource is scheduled. In one embodiment, the step of determining a plurality of target account nodes from the plurality of second account nodes based on account information corresponding to the account nodes includes: And determining a plurality of target account nodes and corresponding resource adjustment amounts from the plurality of second account nodes based on the first resource amount and the corresponding variability of the plurality of second account nodes respectively, so that the total resource gain amount meets a preset condition, wherein the total resource gain amount is determined based on the corresponding variability and the resource adjustment amount. In one embodiment, the plurality of target account nodes include a third account node, and the corresponding resources of the third account include second resource amount resources which are not yet checked out; the step of performing resource scheduling between the first account and the plurality of target accounts based on the plurality of target account nodes includes: executing resource scheduling between the third account and the fourth account, so that the third account obtains the second resource amount resource; And performing resource scheduling between the first account and the third account based on the second resource amount resource. In one embodiment, the accounts are assigned to corresponding institutions, the plurality of accounts correspond to different institutions, and the association is used for representing contract relationships among the institutions corresponding to the accounts. In one embodiment, the account information for any one account node includes a resource scheduling limit including at least one of: a first resource scheduling limit set for an organization corresponding to the account node is used for limiting the overall scheduling of a plurality of accounts corresponding to the organization; and setting a second resource scheduling limit for the account corresponding to the account node. In one embodiment, the step of determining a plurality of target account nodes from the plurality of second account nodes based on account information corresponding to the account nodes includes: And determining a plurality of target account nodes meeting corresponding resource sche