WO2021046775A1 - Resource scheduling, application, and control methods, apparatus, system, and storage medium - Google Patents

Resource scheduling, application, and control methods, apparatus, system, and storage medium Download PDF

Info

Publication number
WO2021046775A1
WO2021046775A1 PCT/CN2019/105456 CN2019105456W WO2021046775A1 WO 2021046775 A1 WO2021046775 A1 WO 2021046775A1 CN 2019105456 W CN2019105456 W CN 2019105456W WO 2021046775 A1 WO2021046775 A1 WO 2021046775A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
schedulable
bidding
resources
application
Prior art date
Application number
PCT/CN2019/105456
Other languages
French (fr)
Chinese (zh)
Inventor
陶云峰
卢毅军
宋军
唐治洋
奉有泉
冯亦挥
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Priority to CN201980097831.6A priority Critical patent/CN114008996A/en
Priority to PCT/CN2019/105456 priority patent/WO2021046775A1/en
Publication of WO2021046775A1 publication Critical patent/WO2021046775A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This application relates to the technical field of data centers, and in particular to a resource scheduling and application method, device, system, and storage medium.
  • IT equipment is generally scheduled according to the priority of the application, the load of the IT equipment, and other factors. For example, IT equipment is assigned to higher priority applications first, or the application is assigned to higher load applications. Light IT equipment. This resource scheduling method is simple and easy to implement, but the overall resource utilization rate of the computer room system or data center system is not high, and the overall energy efficiency is not high.
  • the embodiments of the present application provide a resource scheduling, application, and control method, device, system, and storage medium, which are used to improve overall resource utilization and improve overall energy efficiency.
  • the embodiment of the application provides a system, including: an application layer, an intermediate layer, and an IT resource layer; the intermediate layer is between the application layer and the IT resource layer, and is used to adopt a resource bidding and regulation mechanism to combine The resource requirements of the application layer perform resource scheduling on the IT resource layer.
  • An embodiment of the present application provides a resource scheduling method, including: obtaining resource requirements of upper-layer applications; using a resource bidding and regulation mechanism, combined with the resource requirements of the upper-layer applications, to perform resource scheduling on lower-layer IT resources.
  • the embodiment of the present application provides a resource control method, including: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, The schedulable resources participating in the resource bidding are regulated.
  • An embodiment of the present application also provides a resource application method, including: determining at least one task that a first application needs to complete and resource information that the at least one task needs to use; and determining the resource information that needs to be used by the at least one task The actual bid value given for the resource required for the at least one task application; generating a resource bid request based on the resource information required for the at least one task and the actual bid value given for the resource required for the at least one task application ; Send the resource bidding request to the resource scheduler for the resource scheduler to bid for the first application and other applications for schedulable resources; receive the first application returned by the resource scheduler The result of the program bidding application for schedulable resources.
  • the embodiment of this application also provides a resource application method, including: determining the number of resources that the first application needs to apply for this time and the total budget price of this resource application; according to the number of resources that need to be applied this time and the amount of this resource application Budget total price, generate resource bidding request; send the resource bidding request to the resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources; receive the resource scheduling The result of the first application bidding application for schedulable resources returned by the party.
  • the embodiment of the present application also provides a resource scheduling method, including: receiving a resource bid request, the resource bid request including: the number of resources that the first application needs to apply for this time and the total budget of the resource application; The number of resources that need to be applied for and the total budgeted price of this resource application.
  • a resource scheduling method including: receiving a resource bid request, the resource bid request including: the number of resources that the first application needs to apply for this time and the total budget of the resource application; The number of resources that need to be applied for and the total budgeted price of this resource application.
  • An embodiment of the present application also provides a resource control device, including: a memory and a processor; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program for use In: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, regulating and controlling the schedulable resources participating in the resource bidding.
  • the embodiment of the present application also provides a resource application device, including: a memory, a processor, and a communication component; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program , For: determining at least one task that the first application needs to complete and resource information that the at least one task needs to use; according to the resource information that the at least one task needs to use, it is determined to be required by the at least one task application The actual bid value given by the resource; generate a resource bid request based on the resource information needed to be used by the at least one task and the actual bid value given for the resource required for the at least one task application; The resource bidding request is sent to the resource dispatcher for the resource dispatcher to bid for the first application and other applications to bid for schedulable resources; and to receive the first application bidding application returned by the resource dispatcher The result of schedulable resources.
  • a resource application device including: a memory, a processor, and a communication component; the memory is used to store
  • the embodiment of the present application also provides a resource application device, including: a memory, a processor, and a communication component; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program , To: determine the number of resources that the first application needs to apply for this time and the total budget price of this resource application; generate resource bid requests based on the number of resources that need to be applied this time and the total budget price of this resource application; Send the resource bid request to the resource scheduler through the communication component, so that the resource scheduler can bid for the first application and other applications for schedulable resources and return; and receive the resource scheduler The returned result of the first application bidding for schedulable resources.
  • a resource application device including: a memory, a processor, and a communication component; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program , To: determine the number of resources that the first application needs to apply for this time and the total budget price of this resource application;
  • An embodiment of the present application also provides a resource scheduling device, including: a memory, a processor, and a communication component; the memory is used for storing a computer program; the processor is coupled with the memory and is used for executing the computer program , For: receiving a resource bid request through the communication component, the resource bid request including: the number of resources that the first application needs to apply for this time and the total budget of this resource application; the resources to be applied for according to this need
  • the actual bid value of at least one resource to be applied for is determined by the quantity and the total budget price of this resource application; according to the actual bid value of the at least one resource to be applied for, the bid application for the first application and other applications At least one resource to be applied for, and the resource application result of the first application is returned through the communication component.
  • An embodiment of the application also provides a resource management system, including: a resource scheduler, a resource demander, and a resource regulator; the resource demander is used to generate a resource bid request for a first application program; and the resource bid request Sent to the resource scheduler to participate in resource bidding; the resource scheduler is used to bid for the first application and other applications among the schedulable resources participating in the resource bidding according to the resource scheduling request Apply for schedulable resources; the resource regulator is used to monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, The schedulable resources participating in the resource bidding are regulated.
  • An embodiment of the application also provides a computer room system, including: at least one schedulable resource, at least one infrastructure, resource application equipment, resource scheduling equipment, and resource control equipment; the at least one infrastructure is the at least one schedulable resource Provide basic services; the resource demand device is used to generate a resource bid request for the first application; send the resource bid request to the resource scheduling device to participate in the resource bid; the resource scheduling device is used to The resource scheduling request, among the schedulable resources participating in the resource bidding, applies for schedulable resources for the first application program and other application programs for bidding; the resource control device is used to monitor the availability of the schedulable resources participating in the resource bidding State information in the resource market; according to the state information of the schedulable resource participating in the resource bidding in the resource market, regulating and controlling the schedulable resource participating in the resource bidding.
  • An embodiment of the present application also provides a data center system, including: at least one computer room, resource application equipment, resource scheduling equipment, and resource control equipment; each computer room includes at least one schedulable resource and at least one infrastructure.
  • the facility provides basic services for the at least one schedulable resource; the resource demand device is used to generate a resource bidding request for the first application program; and the resource bidding request is sent to the resource scheduling device to participate in the resource bidding;
  • the resource scheduling device is configured to, according to the resource scheduling request, apply for schedulable resources for the first application program and other application programs among the schedulable resources participating in the resource bidding;
  • the resource control device is configured to Monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, regulating and controlling the schedulable resources participating in the resource bidding.
  • the embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor is caused to implement the steps in the method embodiments of the present application.
  • an intermediate layer is added between the application layer and the IT resource layer, and the resource bidding and regulation mechanism is adopted in the intermediate layer, and resource scheduling is performed on the IT resource layer in combination with the resource requirements of the application layer, so that resources can be performed more reasonably.
  • Allocation is conducive to improving the overall resource utilization rate, thereby improving overall energy efficiency.
  • FIG. 1a is a schematic diagram of the structure and working principle of a system provided by an exemplary embodiment of this application;
  • FIG. 1b is a schematic diagram of the structure and working principle of another system provided by an exemplary embodiment of this application;
  • FIG. 1c is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application.
  • FIG. 1d is a schematic diagram of the structure and working principle of a resource management system provided by an exemplary embodiment of this application;
  • FIG. 1e is a schematic diagram of the usage state of servers on two cabinets in a computer room provided by an exemplary embodiment of this application;
  • FIG. 2 is a schematic structural diagram of a computer room system provided by an exemplary embodiment of this application.
  • FIG. 3 is a schematic structural diagram of a data center system provided by an exemplary embodiment of this application.
  • FIG. 4a is a schematic flowchart of a resource control method provided by an exemplary embodiment of this application.
  • FIG. 4b is a schematic flowchart of a resource application method provided by an exemplary embodiment of this application.
  • FIG. 4c is a schematic flowchart of another resource application method provided by an exemplary embodiment of this application.
  • FIG. 4d is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application.
  • FIG. 5a is a schematic structural diagram of a resource control device provided by an exemplary embodiment of this application.
  • FIG. 5b is a schematic structural diagram of a resource application device provided by an exemplary embodiment of this application.
  • FIG. 5c is a schematic structural diagram of another resource application device provided by an exemplary embodiment of this application.
  • Fig. 5d is a schematic structural diagram of a resource scheduling device provided by an exemplary embodiment of this application.
  • an intermediate layer is added between the application layer and the IT resource layer, and the intermediate layer is adopted
  • the resource bidding and regulation mechanism combined with the resource requirements of the application layer to perform resource scheduling on the IT resource layer, can allocate resources more reasonably, which is conducive to improving the overall resource utilization rate and thus the overall energy efficiency.
  • FIG. 1a is a schematic diagram of the structure and working principle of a system provided by an embodiment of the application. As shown in Figure 1a, the system is logically divided into: application layer, middle layer and IT resource layer; among them, the middle layer is between the application layer and the IT resource layer.
  • the IT resource layer is mainly responsible for providing various IT resources, such as cabinets, servers, and CPU, GPU, memory, network cards and other resources in the servers.
  • the IT resource in this embodiment may be a pure hardware resource form, or may be a resource form including hardware and software related to the normal operation of the hardware.
  • the server in IT resources includes hardware resources such as CPU, GPU, network card, memory, and hard disk at the same time. It can also contain software resources such as drivers for these hardware resources and operating systems.
  • the application layer includes at least one application program, and the operation of these applications depends on the IT resources provided by the IT resource layer.
  • IT resources provided by the IT resource layer can be applied for according to resource requirements. From the perspective of the application layer, more attention is paid to the performance brought by IT resources, but there is a lack of motivation to pay attention to other aspects of IT resources, such as the power consumption of IT resources.
  • an intermediate layer is added between the application layer and the IT resource layer, and the intermediate layer uses resources.
  • the bidding and control mechanism combined with the resource requirements of the application layer, performs resource scheduling on the IT resource layer.
  • the other aspects of IT resources are related to the competitive value of IT resources, and the bidding mechanism can stimulate the application layer to pay attention to other aspects of IT resources besides performance.
  • the power consumption of IT resources is related to the competitive value of IT resources.
  • the bidding mechanism can stimulate the application layer to pay attention to the power consumption of IT resources, which can allocate IT resources more reasonably. On the other hand, it can also improve the overall efficiency of IT resources.
  • the application program in this embodiment has a broader meaning, generally refers to any program code written for the application purpose of the user, including but not limited to: system application, desktop application, driver application, network application Programs, mobile phone applications, Internet of Things applications, etc.
  • these applications can be APP, client, cloud service, application system, business system, a certain functional module or unit in business system, etc.
  • the implementation of the intermediate layer is not limited.
  • the intermediate layer of this embodiment can be implemented in a pure software form, can also be implemented in a combination of software and hardware, or even implemented in pure hardware.
  • the embodiment of the present application does not limit the internal structure of the intermediate layer. All internal implementation structures that can use resource bidding and scheduling mechanisms to perform resource scheduling on the IT resource layer are applicable to the embodiments of the present application. In the following embodiments, an implementation structure of the intermediate layer will be given.
  • Fig. 1b is a schematic diagram of the structure and working principle of another system provided by an exemplary embodiment of this application.
  • the system includes: an application layer, an intermediate layer, and an IT resource layer; wherein, the intermediate layer is between the application layer and the IT resource layer.
  • the IT resource layer includes at least one schedulable IT resource.
  • schedulable IT resources are illustrated.
  • the middle layer includes: a resource scheduling node and a resource control node.
  • the resource scheduling node is closer to the role of the market (Market), and can also be called the market node.
  • the resource control node is mainly used to adopt a resource control mechanism to control IT resources that can participate in resource bidding in the IT resource layer.
  • the resource control node can determine how many IT resources are in the IT resource layer and which IT resources are eligible to enter the resource market to participate in resource bidding; it can adjust the number of IT resources that can participate in resource bidding in the IT resource layer, for example, Increase or decrease; the competitive value of IT resources that can participate in resource bidding in the resource market can also be adjusted, for example, it can be increased or decreased; and so on.
  • a resource bidding mechanism can be used to schedule IT resources in the IT resource layer that can participate in resource bidding in combination with the resource requirements of the application layer. For IT resources that have not participated in the resource bidding, the resource scheduling node cannot schedule these IT resources.
  • applications at the application layer have a resource account.
  • the resource account stores application resources, which can be virtual funds, actual funds, credit values, points, energy values, or equity values.
  • the resources in the resource account can be used to request access to any type of IT resources that exist in the resource market, such as CPU, hard disk, memory, network IO, and so on.
  • these IT resources entering the resource market come from the IT resource layer.
  • the resource scheduling node can schedule IT resources that can participate in the resource bidding according to the following principles. First, for any application, before using a certain IT resource, it needs to use the resources in the resource account to request the resource scheduling node to obtain its usage rights, that is, the resource scheduling node needs to request the IT resource according to the request of the application. Perform scheduling to determine whether the right to use the IT resource can be given to the application. Second, when multiple applications request the resource scheduling node to obtain the right to use the same resource, the resource scheduling node needs to allocate the resource to one of the applications according to the bidding rules. If the bidding rules are for the higher bidder, the resource scheduling node needs to allocate the right to use the resource to the application with the highest bid among multiple applications.
  • the resource scheduling node needs to allocate the right to use the resource to the application with the lowest bid among multiple applications.
  • the other application should release the resource, if the other application refuses to release it , Then it is necessary to request the resource from the resource scheduling node with a higher competitive value in order to continue to occupy the resource.
  • the middle layer in addition to a resource scheduling node and a resource regulation node, also includes a resource manager.
  • the resource manager is used to manage the IT resources in the IT resource layer, for example, it can control the power consumption of the IT resources in the IT resource layer.
  • the resource manager can monitor the load of each IT resource in the IT resource layer, and control the power consumption of each IT resource according to the load of each IT resource. For example, if it is found that a certain IT resource (take a server as an example) has no load at the time, and it is predicted that the server will not have any load in the future period, the server can be shut down, or the server can be controlled to enter a certain level of low Power consumption mode, or you can reduce the CPU frequency of the server, etc.
  • the machine learning model can be used to learn the relationship between the load and power consumption of each IT resource, and then according to the learned The relationship between the load and power consumption changes, and the power consumption control of each IT resource.
  • the machine learning model adopted by the resource manager is referred to as the first machine learning model.
  • the resource manager can also interact with the resource control node to feed back the running status of the related IT resource to the resource control node.
  • the resource manager may feed back to the resource control node the running status of the IT resource each time the power consumption control operation is executed.
  • the resource manager may also feed back to the resource control node the operating status of the IT resources required by the resource control node for control according to the request of the resource control node.
  • the running state of the IT resource may include the running state of the IT resource in a historical period, and may also include the running state of the IT resource in a future period.
  • the operating status of IT resources in the future includes but is not limited to: IT resources will enter low power consumption mode for 5 minutes, IT resources will work at a lower operating frequency for 30 minutes, IT resources will be shut down for 15 minutes, and so on.
  • the resource control mechanism can be used to control the IT resources that can participate in the resource bidding in the IT resource layer based on the operating status of the related IT resources fed back by the resource manager.
  • the resource control node can use the second machine learning model to learn the change law of IT resources participating in resource bidding in combination with the operating status of related IT resources fed back by the resource manager; use the resource control mechanism to control IT based on the learned change law IT resources in the resource layer that can participate in resource bidding.
  • the law of change learned by the second machine learning model includes but is not limited to: the number of IT resources that need to be increased in a certain period of time to participate in resource bidding, the amount to be increased, and which IT resources can be added to the market to participate in the bidding Etc.; or, in a certain period of time, it is necessary to reduce the number of IT resources that can participate in the resource bidding, the amount to be reduced, and which IT resources can be withdrawn from the market, etc.; or, when the conditions are met, it is necessary to adjust the participation in the resource bidding
  • the resource control node uses machine learning models in multiple places, and these machine learning models can be multiple or the same machine learning model, which is not limited.
  • the intermediate layer of this embodiment further includes: a proxy node.
  • the proxy node is mainly provided for applications in the application layer, and is mainly used to initiate a resource bidding request to the resource scheduling node for the application in the application layer to apply for resources.
  • the number of proxy nodes can be one or multiple, depending on the number of applications that need to use proxy nodes. For any application, if you need to use a proxy node, you can apply to the middle layer, and the middle layer can deploy the corresponding proxy node for the application.
  • the agent node may be a Broker (literally translated as a broker) node, but it is not limited to this.
  • the application program can initiate a resource bidding request to the resource scheduling node through the agent node to apply for resources. In simple terms, it is to request the resource scheduling node to purchase resources through the agent node. Of course, the application program can also directly initiate a resource bidding request to the resource scheduling node to apply for resources.
  • the resource information required by the application can be analyzed more comprehensively, intelligently, and reasonably, so that while ensuring system performance, it can further reduce the cost of purchasing resources. Further, if the cost is related to the power consumption of IT resources, it is beneficial to select IT resources with lower power consumption costs, thereby reducing the overall power consumption of the system.
  • artificial intelligence technology can be used, using a third machine learning model to learn the operating rules of the application program corresponding to the agent node.
  • the application program needs to complete at least A task and the resource information that these tasks need to use, etc.; based on the resource information that at least one task needs to use, a resource bidding request for the application can be generated.
  • the information contained in the resource bidding request will also be different.
  • the resource manager can also feed back the running status of related IT resources to the agent node to assist the agent node in generating resource bidding requests for the application.
  • the agent node can refer to the running status of related IT resources when giving competitive value for the resources required by the application. For example, if some IT resources will be closed in the future, it means that the number of such IT resources in the resource market will be reduced, and the agent node can appropriately increase the competitive value.
  • FIG. 1b shows only an exemplary implementation structure of the intermediate layer, and is not limited to this.
  • the working principle of each node or unit in the implementation structure is mainly introduced in general, and the specific or detailed implementation mode is not limited, and everything falls within the scope of the above general introduction.
  • Various detailed implementation manners are applicable to the embodiments of the present application.
  • resource control node For example, with regard to the technical means used by the resource control node to achieve the purpose of controlling IT resources to participate in resource bidding or not to participate in resource bidding, and the specific implementation methods for regulating IT resources that can participate in resource bidding in the IT resource layer, regarding the resource scheduling node Specific implementation manners for scheduling IT resources participating in resource bidding are not limited in the embodiments of this application, and exemplary solutions will be given in subsequent embodiments.
  • the resource scheduling method includes:
  • an implementation manner of step 12c includes: adopting a resource regulation mechanism to regulate the IT resources that can participate in resource bidding in lower-level IT resources; adopting a resource bidding mechanism, combined with the resource requirements of upper-layer applications, can participate in resource bidding for lower-level IT resources IT resources for scheduling.
  • resource bidding and resource regulation are two parallel operations in the resource scheduling process. The two operations will affect each other, and there is no strict order in execution.
  • the operating status of the related IT resources in the lower-level IT resources can be combined to regulate the IT resources in the lower-level IT resources that can participate in the resource bidding. For example, if some IT resources will be closed in the future, it means that the number of such IT resources in the resource market will be reduced. When requesting such IT resources, the competitive value can be appropriately increased.
  • the resource management system 100 adopts a resource bidding and regulation mechanism to perform management such as scheduling and regulation on the resources it manages.
  • the resource management system 100 can be used as a specific implementation of the intermediate layer in the foregoing embodiment, and can use a resource bidding and control mechanism to schedule IT resources in the IT resource layer in combination with the resource requirements of the application layer.
  • the resources that the resource management system 100 can manage are not limited to IT resources in the IT resource layer.
  • resources that can be managed by the resource management system 100 are referred to as schedulable resources.
  • the management here includes, but is not limited to: application, scheduling, regulation, and release of schedulable resources.
  • schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing resources, storage resources, or network resources) to the outside.
  • schedulable resources can be IT resources, for example, physical devices such as servers or printers, or hardware modules such as CPU, GPU, memory, network cards, or hard disks on the server.
  • schedulable resources can also be software resources, for example, software modules or units such as virtual machines and cloud services running on physical devices.
  • the server as a resource form, is a relatively common schedulable resource.
  • the schedulable resources managed by the resource management system 100 are resources in the resource management system 100. In other alternative embodiments, the schedulable resources managed by the resource management system 100 are resources in other systems other than the resource management system 100; other systems are authorized to entrust the resource management system 100 to manage their resources. In still other alternative embodiments, the schedulable resources managed by the resource management system 100 may also come from multiple systems, and multiple systems have an assisting relationship and can share resources. The schedulable resource managed by the resource management system 100 may be one or multiple.
  • the resource management system 100 includes: a resource scheduler 101, a resource demander 102, and a resource regulator 104.
  • the resource scheduling party 101, the resource demanding party 102, and the resource regulating party 104 cooperate to perform resource scheduling and regulation based on the resource bidding and regulation mechanism, which can make the resource scheduling more reasonable and help improve the overall resource utilization.
  • the resource demander 102 represents a party with resource demand, which can be an application with resource demand, or a functional module, SDK, plug-in, or independent service responsible for making resource application for an application with resource demand.
  • the resource demander 102 is similar to the application program in the application layer.
  • the application program with resource demand here also has a broader meaning, and generally refers to any program code written for the application purpose of the user.
  • the resource scheduling party 101 mainly adopts a resource bidding mechanism to schedule schedulable resources participating in the resource bidding.
  • the resource scheduling party 101 may be an application program, a business system, a service, or a hardware device with resource scheduling capabilities, which is not limited.
  • at least one schedulable resource managed by the resource management system 100 is divided into two types, one is schedulable resources that participate in resource bidding, and the other is schedulable resources that fail to participate in resource bidding. These two types of schedulable resources change dynamically, and this dynamic change is controlled by the resource regulator 104.
  • the resource control party 104 mainly adopts a resource control mechanism to control schedulable resources participating in resource bidding.
  • the resource control party 104 regulates the schedulable resources participating in resource bidding based on the resource control mechanism, and cooperates with the resource demander 102 and the resource dispatcher 101 to implement the resource application and scheduling process based on the resource bidding mechanism.
  • the process of resource regulation and the process of resource application and scheduling will be respectively described below.
  • the resource control party 104 can monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, perform the schedulable resources participating in the resource bidding Regulation.
  • the resource regulating party 104 regulates and regulates the schedulable resources participating in the resource bidding, and can assist the resource scheduler 101 in resource scheduling, which is beneficial to the resource scheduler 101 to perform resource scheduling more reasonably.
  • the state information of the schedulable resource participating in the resource bidding in the resource market can represent various states of the schedulable resource in the resource market, mainly including the running state and the bidding state.
  • the status information includes, but is not limited to: resource parameters that characterize the operating status of the schedulable resource in the resource market, and bidding parameters that characterize the bidding status of the schedulable resource in the resource market.
  • the resource parameters include, but are not limited to: resource parameters related to the performance of schedulable resources, and resource parameters related to the power consumption of schedulable resources.
  • the resource parameters related to the performance and power consumption of the schedulable resource will also be different.
  • the parameters related to the performance of the schedulable resource include: CPU main frequency, CPU utilization, etc.
  • the resource parameters related to the power consumption of the schedulable resource include: schedulable resource The rated power of the CPU, the actual power of the CPU, etc.
  • the resource parameters related to the power consumption of the schedulable resource may also include: the rated power and actual power of the host or the cabinet.
  • the bidding parameters may include any parameters related to the bidding of schedulable resources, for example, may include the bid value of the schedulable resource, the benchmark bid value, the actual bid value, the time for participating in the bidding, the number of bidding times, and so on.
  • the schedulable resources participating in the resource bidding can be regulated.
  • the regulation of schedulable resources participating in resource bidding includes at least one of the following regulation operations:
  • Regulation operation 1 According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the actual competitive value of the schedulable resources participating in the resource bidding in the resource market.
  • Control operation 2 According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the number of schedulable resources participating in the resource bidding.
  • the first schedulable resource whose bid value needs to be adjusted can be determined according to the state information of the schedulable resources participating in the resource bidding in the resource market;
  • the resource bidding request, the first resource bidding request includes the first actual bid value, which is used to adjust the actual bid value of the first schedulable resource in the resource market.
  • the first schedulable resource is a schedulable resource for which it is necessary to adjust its competitive value in the resource market.
  • it can be a schedulable resource with a high competitive value, or a schedulable resource with a low competitive value, or a bidding.
  • the first schedulable resource may be one or multiple.
  • the benchmark bid value and the transaction bid value of the schedulable resource can be combined to measure whether it is necessary to adjust the bid value of the schedulable resource in the resource market.
  • Transaction bid value refers to the bid value related to the successful application of the schedulable resource in the resource market by the application. For example, it can be the actual bid value successfully applied for by a certain application in a certain time (such as the most recent time), or it can also be It is the average value of the actual competitive value of the schedulable resource that has been successfully applied for multiple times over a period of time. For schedulable resources, its transaction value is dynamically changing.
  • the benchmark bid value refers to the lowest bid value that a schedulable resource should meet to participate in bidding in the resource market.
  • different methods are allowed to define the benchmark competition value of schedulable resources.
  • the benchmark bid value of the schedulable resource can be determined based on the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market, and the benchmark bid value can reflect the performance of the schedulable resource. Consumption.
  • the resource parameters that characterize the operating status of the schedulable resources participating in the resource bidding in the resource market will be different, which means that the benchmark bid value of the schedulable resources participating in the resource bidding will dynamically change.
  • the benchmark bid value of the schedulable resources participating in the resource bid can be calculated according to the resource parameters that characterize the operating status of the schedulable resources participating in the resource bidding in the resource market; from the characterization that the schedulable resources participating in the resource bidding are in the resource market In the bidding parameters of the bidding state, the transaction bid value of the schedulable resource participating in the resource bid is obtained; according to the benchmark bid value and the transaction bid value of the schedulable resource participating in the resource bidding, the first schedulable resource that needs to adjust the bid value is determined.
  • a machine learning model such as a cost prediction model
  • a cost prediction model can be combined to characterize the operation status of the schedulable resources participating in the resource bidding in the resource market.
  • the resource parameters are input to the cost prediction model, and the cost prediction model is used to calculate the benchmark bid value of schedulable resources participating in resource bidding.
  • Using machine learning models can improve the accuracy and precision of the calculation results.
  • an implementation manner for determining the first schedulable resource whose bid value needs to be adjusted includes: setting the benchmark of the schedulable resources participating in the resource bidding Comparing the bid value and the transaction value; from the schedulable resources participating in the resource bidding, obtain the schedulable resource whose transaction value is less than the benchmark bid value as the first schedulable resource. If the transaction bid value of the schedulable resource is less than its benchmark bid value, it indicates that the bid value of the schedulable resource is too low.
  • the resource regulator 104 may send a first resource bid request to the resource scheduler 101, and the first resource bid request carries a first actual bid value greater than the reference bid value to participate in the bid of the first schedulable resource. Since the first actual bid value is higher than the benchmark bid value, if other applications need to use the first schedulable resource, they need to give a higher bid value than the first actual bid value, so as to improve the first schedulable resource in the resource market. The purpose of the competitive value in.
  • a schedulable resource whose transaction bid value is less than the reference bid value as the first schedulable resource is only an exemplary implementation, and is not limited to the foregoing example.
  • a schedulable resource whose transaction bid value is less than the benchmark bid value and the difference between the benchmark bid value and the transaction bid value is greater than the set difference threshold may also be selected as the first schedulable resource.
  • a schedulable resource with a transaction bid value greater than the benchmark bid value and a difference greater than the set difference threshold (the bid value is too high) may also be selected as the first schedulable resource.
  • the second schedulable resource that needs to withdraw from the resource bid can be determined according to the state information of the schedulable resource participating in the resource bidding in the resource market; the second schedulable resource that needs to withdraw from the resource bidding can be determined; the second schedulable resource is sent to the resource scheduling party Resource bidding request.
  • the second resource bidding request contains a second actual bid value for applying for a second schedulable resource; after applying for the second schedulable resource, adjust the working status of the second schedulable resource to the extent that it is not sufficient to be able to participate in the resource
  • the bid request is to withdraw from the resource bidding.
  • the second actual competitive value should be a competitive value that can ensure to a large extent that the resource control party 104 successfully applies for the second schedulable resource.
  • the second actual bid value should be a higher bid value; under the lower bidder mechanism, the second actual bid value should be a lower bid value, such as lower than The benchmark bid value of the second actual bid value.
  • the status information of the schedulable resource participating in the resource bidding may be analyzed based on the status information of the schedulable resource participating in the resource bidding.
  • Load From the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource. The load is low, indicating that the utilization rate of schedulable resources is not high, and its power consumption is relatively large. Withdrawing it from resource bidding can save this part of power consumption and stimulate applications to bid for schedulable resources with higher utilization rates. The utilization rate of other schedulable resources can be improved, which is conducive to reducing the overall power consumption.
  • the load situation of a certain schedulable resource may be considered separately, and in addition, the overall load situation of the schedulable resource managed by the system may also be combined. If the overall load of schedulable resources is relatively light, it means that some schedulable resources will be withdrawn from resource bidding and will not affect system performance. Based on this, in another alternative embodiment, the load of the schedulable resource participating in the resource bidding may be analyzed according to the state information of the schedulable resource participating in the resource bidding in the resource market; it is determined that the load is lower than the second load.
  • the second load threshold is greater than the first load threshold. If the number of schedulable resources whose load is lower than the second load threshold is greater than the first number threshold, it means that most of the schedulable resources have lighter load, and the schedulable resources with lighter load can be withdrawn from the resource bidding. It can save power consumption without affecting system performance.
  • the working status requirements for being able to participate in resource bidding can be preset, and by adjusting the working status of the second schedulable resource to not meet the requirements for being able to participate in resource bidding, it is possible to withdraw it from resource bidding.
  • the working status requirements that can participate in resource bidding can be flexibly set.
  • Example 1 The working state where schedulable resources can participate in resource bidding is the on state.
  • the second schedulable resource can be closed to withdraw it from the resource bidding.
  • Example 2 The working state of a schedulable resource that can participate in resource bidding is that it must be in a low power consumption mode higher than a specified level.
  • the second schedulable resource is controlled to enter a low power consumption mode not higher than the specified level, so as to withdraw it from the resource bidding.
  • Example 3 The working state of a schedulable resource that can participate in resource bidding is that its working frequency is higher than the specified frequency.
  • the working frequency of the second schedulable resource is adjusted to be no higher than the specified frequency, so that it is withdrawn from the resource bidding.
  • the designated level or designated frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
  • control operation 2 it is also possible to determine the need to increase the schedulable resources that can participate in the resource bid based on the status information of the schedulable resources participating in the resource bidding in the resource market; never participate in the resource bidding Among the schedulable resources in, select the third schedulable resource that can participate in the resource bidding; and adjust the working state of the third schedulable resource to meet the requirements of being able to participate in the resource bidding to participate in the resource bidding.
  • the load of the schedulable resources participating in the resource bid can be analyzed; if the load is higher than the third load threshold, the number of schedulable resources is greater than The second quantity threshold determines that it is necessary to increase the schedulable resources that can participate in the resource bidding.
  • the number of schedulable resources whose load is higher than the third threshold is greater than the second threshold, it means that most of the schedulable resources have a heavy load, and the schedulable resources that can participate in resource bidding may not be enough, and the system performance May be adversely affected, so some schedulable resources can be added to participate in resource bidding to ensure system performance.
  • the process of selecting the third schedulable resource that can participate in the resource bidding can be combined with a machine learning model, such as a screening model, using the screening model for those that have never participated in the resource bidding.
  • the third schedulable resource that can participate in resource bidding is selected from the schedulable resources. Using machine learning models can improve selection efficiency and accuracy.
  • adjusting the working state of the third schedulable resource to meet the requirement of being able to participate in resource bidding is related to the requirement of being able to participate in resource bidding. For example, if the working state in which the schedulable resource can participate in the resource bidding is the on state, the third schedulable resource can be turned on to make it participate in the resource bidding. For another example, if the working state of a schedulable resource that can participate in resource bidding must be in a low-power mode higher than a specified level, the working state of the third schedulable resource can be adjusted to a low-power mode higher than the specified level. So as to make it participate in resource bidding.
  • the working frequency of the third schedulable resource can be adjusted to be higher than the specified frequency, so that it can participate in the resource bidding.
  • the resource demander 102 corresponding to the first application is taken as an example to describe the resource application and resource scheduling process based on the resource bidding mechanism.
  • the first application program may be any application program that has resource requirements and has the authority to use schedulable resources managed by the resource management system 100.
  • a resource bidding request may be generated for the first application program, and the resource bidding request may be sent to the resource scheduler 101 to participate in the resource bidding.
  • the resource bidding request sent by the resource demanding party 102 can be received, and according to the resource bidding request, among the schedulable resources participating in the resource bidding, the first application and other applications can apply for schedulable resources.
  • the resource scheduler 101 may also return the resource application result of the first application to the resource demander 102. After receiving the resource application result of the first application, the resource demander 102 may also perform subsequent operations according to the resource application result.
  • the resource scheduler 101 has different implementation manners for applying for schedulable resources for the first application and other applications among the schedulable resources participating in the resource bidding.
  • the resource demander 102 may generate a resource bid request in response to the resource application request.
  • the resource bid request includes the first actual bid value given by the first application program for the requested resource; send the resource bid request to the resource dispatcher 101 to The resource scheduler 101 bids for the first application and other applications to apply for the target schedulable resource based on the first actual bid value; and receives the result of the first application's application for the target schedulable resource returned by the resource scheduler 101.
  • the target schedulable resource is one or more schedulable resources among at least one schedulable resource managed by the resource management system 100.
  • the resource scheduler 101 For the resource scheduler 101, the resource bidding request of the first application program sent by the resource demander 102 can be received, and the first actual bid value given by the first application program for the requested resource can be obtained from the resource bidding request.
  • the resource scheduler 101 will also receive resource bidding requests of other applications. Among these applications, some applications may apply for the same schedulable resources as the first application, thereby forming a bidding relationship with the first application. For ease of description, the schedulable resources applied for by the first application and other applications that have a bidding relationship with the first application are referred to as target schedulable resources.
  • the resource scheduler 101 it is necessary to determine other applications that compete with the first application to apply for the target schedulable resource and the actual bid value given by the other applications for the requested resource; then, according to the first application for the requested resource The given first actual bid value and the actual bid value given by other applications that have a bidding relationship with the first application for the application resource, determine whether the first application can apply for the target schedulable resource; and apply the first application The application result of the program for the target schedulable resource is returned to the resource demander 102.
  • the first actual bid value represents the actual price paid by the first application for the requested resource; correspondingly, other actual bid values represent the actual price paid by other applications for the requested resource.
  • the realization form of the first actual bid value or other actual bid values is not limited. For example, it may be virtual funds, actual funds, credit values, and points in the resource account corresponding to the first application or other applications. , Energy value or equity value, etc.
  • the resource bidding request may include some other information in addition to the first actual bid value given by the first application for the requested resource.
  • the resource bidding request may also include the identification of the first application, and information capable of identifying the resources required by the first application.
  • the information capable of identifying the resource required by the first application may be the type of resource required by the first application, or may also be an identifier of the resource required by the first application.
  • the information capable of identifying the resource required by the first application may also include the resource type required by the first application and the identifier of the resource required by the first application at the same time.
  • the resource scheduler 101 may, according to the information capable of identifying the resources required by the first application included in the resource bidding request, in the resource bidding request Among schedulable resources, determine the target schedulable resource that the first application needs to apply for; then, based on the target schedulable resource, determine other applications that need to apply for the target schedulable resource, that is, there is a bidding relationship with the first application s application.
  • the mechanism of "the higher the price gets" is adopted, that is, the resource scheduler 101 will use the first application as the first application given by the application resource. 1.
  • the actual bid value is compared with the actual bid value given by other applications that have a bidding relationship with the first application for the application resource; if the first actual bid value is the highest actual bid value, it is determined that the first application can apply for the target. Scheduling resources; if the first actual bid value is not the highest actual bid value, it is determined that the first application fails to apply for the target schedulable resource.
  • other mechanisms such as "the lowest price” or "the closest average value” can also be used.
  • the resource scheduler 101 can compare the first actual bid value given by the first application for the requested resource with other applications (referring to the bidding relationship with the first application).
  • Application compare the actual competitive value given by the application resource; if the first actual competitive value is the lowest actual competitive value, determine that the first application applies for the target schedulable resource; if the first actual competitive value is not the lowest actual competitive value , It is determined that the first application fails to apply for the target schedulable resource.
  • the resource scheduler 101 can calculate the first actual bid value given by the first application for the requested resource and other applications (referring to the existence of a bid with the first application).
  • the relational application is the average bid value of the actual bid value given by the application resource; compare the actual bid value given by the first actual bid and other applications for the applied resource with the average bid value; if the first actual bid The bid value is the bid value closest to the average bid value, and it is determined that the first application has applied for the target schedulable resource; if the first actual bid value is not the closest to the average bid value, it is determined that the first application has failed to apply To the target schedulable resources.
  • resource scheduling is combined with a resource bidding mechanism.
  • the resource demander can give a reasonable actual bid value to participate in resource bidding according to the resource demand situation, and the resource scheduling party can participate in resource bidding according to the actual value given by each resource demander.
  • Resource scheduling with competitive value is conducive to more reasonable allocation of resources and is conducive to improving overall resource utilization.
  • the resource demander 102 determines at least one task that needs to be completed by the first application program and the resource information required by the at least one task in response to the resource application demand; and determines the resource required for the at least one task application based on the resource information that needs to be used by the at least one task
  • the actual bid value given; based on the resource information that at least one task needs to use and the actual bid value given for the resource required for at least one task request, a resource bid request is generated; the resource bid request is sent to the resource scheduler 101 for The resource scheduler 101 bids for the first application and other applications to apply for schedulable resources; and receives the result of the first application's bid for schedulable resources returned by the resource scheduler 101.
  • the resource bid request includes the resource information that each task needs to use and the actual bid value corresponding to each task.
  • the resource information that the task needs to use can be the type of resource that needs to be used, or the resource identifier.
  • the resource bidding request of the first application program sent by the resource demanding party 102 can be received, and the resource information required by the at least one task and the actual bidding corresponding to each of the at least one task can be obtained from the resource bidding request. value.
  • the resource scheduler 101 will also receive resource bidding requests of other applications. Among these resource bidding requests, there may be some application tasks that apply for the same schedulable resources as the tasks of the first application program, thereby forming a bidding relationship with the first application program.
  • a task that needs to be completed by the first application program can be used as a unit, and among the schedulable resources participating in the resource bidding, each task bids with other tasks to apply for schedulable resources.
  • the resource scheduler 101 can determine other tasks that apply for the same resource as the task and the actual competition value corresponding to other tasks; then, the actual competition value corresponding to the task corresponds to other tasks. To determine whether the task can apply for the required schedulable resources. After that, the resource scheduler 101 may feed back to the resource demander 102 the resource application result of each task to be completed by the first application program.
  • the resource scheduler 101 may, after obtaining the resource application result of each task that needs to be completed by the first application, feed back the resource application result of each task to the resource demander 102; or, it may also obtain each task every time. The result of the resource application is fed back to the resource demander 102.
  • the resource demander 102 may combine a machine learning model, such as an operation rule prediction model, to learn the operation rule of the first application program; according to the operation rule of the first application program, determine what the first application program needs to complete At least one task and at least one task needs to use resource information.
  • a machine learning model such as an operation rule prediction model
  • the reference competitive value of the schedulable resource in the process of determining the actual competitive value given for the resource required for at least one task application, the reference competitive value of the schedulable resource may be combined.
  • the reference bid value of the schedulable resource can be its current benchmark bid value, current actual bid value or historically highest actual bid value, etc.
  • the resource parameters of schedulable resources will change, and their benchmark competitive value will also change accordingly.
  • the candidate schedulable resource and its reference bid value can be determined from the known schedulable resource information according to the resource information that at least one task needs to use; according to the total budget price of this resource application and the reference bidding price of the candidate schedulable resource Value, determined as the actual competitive value given by the resources required for at least one task application.
  • the candidate schedulable resource refers to the schedulable resource that at least one task is likely to apply for.
  • the actual resource required for at least one task application can be given more accurately and reasonably.
  • the known schedulable resource information includes the reference bid value of the schedulable resource participating in the resource bidding, and this information can be transparently transmitted to the resource demander 102 by the market scheduler 101 or the resource regulator 104.
  • the system 100 further includes: a resource management and control party 103.
  • the resource management and control party 103 can provide schedulable resources to the system, and can also perform various management and control on the schedulable resources, such as power consumption control.
  • Managed schedulable resources mainly refer to schedulable resources that are subjected to power consumption control operations. The running status of these schedulable resources will change. These changes will affect the number of schedulable resources participating in resource bidding, which can indirectly affect resource demand. The actual competitive value given by the party 102 for each task.
  • the resource demander 102 can also use the resource management and control party 103 to feed back the operation status information of the managed and schedulable resources in the future period, which is at least one The actual competitive value given by the resources required for the task application will be adjusted.
  • a resource bid request may be generated based on the resource information required for the at least one task and the actual bid value given for the resources required for the at least one task application.
  • resource bidding requests may be generated for each task separately, and the resource bidding request for each task includes the resource information that the task needs to use and the actual bid value given for the required resources for the task application.
  • resource information that the task needs to use
  • actual bid value given for the required resources for the task application.
  • the resource scheduler 101 can obtain the resource information that each task needs to use and the actual competitive value given for the required resources for each task application, and then the task can be used as a unit. Bidding resources for each task.
  • the resource demander 102 determines the tasks that the first application program needs to complete, and determines the resource information it needs in units of tasks. This is conducive to selecting more reasonable resources for the first application program. Reduce unnecessary waste of resources and save power consumption.
  • the resource demander 102 determines the number of resources that the first application needs to apply for this time and the total budget price of this resource application; based on the number of resources that need to be applied this time and the total budget price of this resource application, Generate a resource bid request; send the resource bid request to the resource scheduler 101 for the resource scheduler 101 to bid for the first application with other applications for schedulable resources; receive the first application bid request returned by the resource scheduler 101 The result of schedulable resources.
  • the resource bidding request includes the number of resources that the first application needs to apply for this time and the total budget price of this resource application.
  • the resource demander 102 may determine the at least one task that the first application program needs to complete and the resource information that the at least one task needs to use according to the running law of the first application program; determine the resource information that needs to be used by the at least one task The number of resources that the first application needs to apply for this time.
  • the resource demander 102 may combine a machine learning model, such as an operation rule prediction model, to learn the operation rule of the first application program; according to the operation rule of the first application program, determine what the first application program needs to complete At least one task and at least one task needs to use resource information.
  • a machine learning model such as an operation rule prediction model
  • a resource bidding request can be received.
  • the resource bidding request includes: the number of resources that the first application needs to apply for this time and the total budget of this resource application; according to the first application's current needs From the schedulable resources participating in the resource bidding, determine at least one resource to be applied for and its actual bid value; based on the actual bid value of at least one resource to be applied for, it is the first application
  • the resource scheduler 101 may determine at least one resource to be applied for among the schedulable resources participating in resource bidding according to the number of resources to be applied for this time; according to the total budget price of this resource application and at least The reference bid value of a resource to be applied for is to determine the actual bid value of at least one resource to be applied for.
  • the reference competitive value of the resource to be applied for includes, but is not limited to: the current benchmark competitive value of the resource to be applied for, the maximum actual competitive value in the resource market, or the average competitive value in the resource market.
  • the resource scheduler 101 may determine at least one resource to be applied for among the schedulable resources participating in resource bidding according to the number of resources to be applied for this time; according to the number of resources to be applied for this time and the number of resources that need to be applied for this time The total budgeted price of resource applications is calculated and the average bid value is calculated as the actual bid value of at least one resource to be applied for.
  • the resource dispatcher can bid for each resource to be applied for for the first application program and other applications according to the actual bid value of each resource to be applied for.
  • the higher bidder’s mechanism, the lower bidder’s mechanism or the nearest average taker mechanism, etc. can be used.
  • the resource demander 102 only needs to provide the resource scheduler 101 with the amount of resources and the total budget required by the first application. Other operations are performed by the resource scheduler 101, and the resource demander 102 has a relatively large burden. Light and easy to implement.
  • the resource regulator 104 can combine the overall power consumption of at least one schedulable resource.
  • the schedulable resources participating in resource bidding are regulated.
  • it can improve the rationality of resource scheduling, on the other hand, it can reduce overall power consumption and improve overall energy efficiency.
  • the following embodiment provides a combination method.
  • the competitive value of the schedulable resource is combined with the power consumption of the schedulable resource.
  • the resource scheduler 104 considers the power consumption cost of the schedulable resource in the process of calculating the benchmark bid value of the schedulable resource; further, in the process of scheduling the schedulable resource participating in the resource bidding, the schedulable resource Based on the benchmark bid value, this is equivalent to scheduling the schedulable resources participating in the resource bidding on the basis of the power consumption cost of the schedulable resource.
  • the actual competitive value given by each application for application resources either refers to or is affected by the benchmark competitive value of schedulable resources. Therefore, the actual competitive value given by each application also reflects the schedulable resource’s benchmark competitive value.
  • the power consumption cost of scheduling resources is used to determine the power consumption cost of scheduling resources.
  • factors that have an impact on the power consumption cost of the schedulable resource include: the power consumption of the schedulable resource itself.
  • the resource parameters (such as rated power, actual power, etc.) of the schedulable resource can reflect the power consumption of the schedulable resource to a certain extent.
  • the resource regulator 104 may calculate the power consumption of the schedulable resource according to the resource parameter of the schedulable resource.
  • factors that have an impact on the power consumption cost of schedulable resources include many other factors.
  • the main consideration is the power consumption of the infrastructure on which the schedulable resource depends.
  • Infrastructure refers to the facilities that provide basic services for schedulable resources.
  • the infrastructure will be different, and there is no restriction on this.
  • the infrastructure can include cabinets that provide support services for the servers, air-conditioning equipment, fans or water-cooling equipment for cooling the servers, power equipment for powering the servers, switches that provide network connections for the servers, etc. .
  • the resource control party 104 calculates the benchmark bid value of the schedulable resource according to the resource parameter that characterizes the operating state of the schedulable resource in the resource market.
  • One embodiment includes: according to the operating state of the schedulable resource in the resource market. Calculate the power consumption of the schedulable resource; predict the power consumption cost of the schedulable resource according to the power consumption data of the schedulable resource and the infrastructure on which the schedulable resource depends; determine the power consumption cost of the schedulable resource The benchmark competition value of scheduling resources.
  • the power consumption of the infrastructure on which the schedulable resource depends is converted into the power consumption cost of the schedulable resource, and the measurement of the power consumption cost of the schedulable resource will be more reasonable, which is conducive to improving the rationality of resource scheduling.
  • the first example Through reasonable resource regulation, the overall power consumption of IDC can be reduced
  • the resource regulator 104 can bid for the servers in the cabinet 2 with a higher actual bid value, thereby increasing the actual competitive value of the servers in the cabinet 2 in the resource market.
  • the application program it will consider buying cheaper resources rather than more expensive resources. Therefore, the application program can be prevented from purchasing the server resources in the cabinet 2, so that the server resources in the cabinet 2 can withdraw from the resource bidding and save the overall power consumption.
  • the resource control party 104 can reduce the actual competitive value of the servers in the cabinet 1 to attract more applications to purchase the server resources in the cabinet 1 so as to give full play to the advantages of low-power devices and save overall power consumption.
  • the second example reduce the power consumption of the server through reasonable resource scheduling
  • the total budget that the application can control is 1150, and there are currently three servers, namely Server 1 (performance: 95, competitive value: 850), Server 2 (performance: 90, competitive value: 700) and server 3 (performance: 110, competitive value: 1200).
  • the competitive value represents the power consumption cost of the server; the high competitive value represents the high power consumption cost; the low competitive value represents the low power consumption cost.
  • resource 3 will be directly allocated to the application, and the actual power consumption cost is 1200*1 hour.
  • the resource demander 102 or the resource scheduler 104 can perceive the power consumption costs of different servers, and can allocate resources more reasonably.
  • the resource demander 102 or the resource scheduler 104 can purchase resources for 2 and a half hours according to the task that the application needs to complete, and then purchase resources for 3 and a half hours, so that the overall power consumption cost is half an hour of the power consumption of resource 2 plus 350
  • the power consumption of resource 3 in the first half hour is 600, which is 950 in total.
  • the scheduling method of this embodiment saves 250, but the resource performance obtained by the user is not lost, but the actual power consumption is reduced.
  • the resource scheduler 101, the resource demander 102, the resource regulator 104, and the resource management controller 103 in the resource scheduling system 100 described above correspond to the resource scheduling node, application layer, and application layer in the system embodiment shown in FIG. 1b, respectively.
  • Resource control node and resource manager For a detailed description of the resource scheduling node, application layer, resource control node, and resource manager, refer to the description of the resource scheduling party 101, the resource demanding party 102, the resource regulating party 104, and the resource managing party 103 in the embodiment shown in FIG. 1d. The description will not be repeated here.
  • the resource management system 100 can adopt a centralized deployment mode, that is, the resource scheduler 101, the resource demander 102, the resource management and control party 103, and the resource control party 104 are deployed on the same physical device (e.g., Servers, laptops or desktops), virtual machines or containers; alternatively, a distributed deployment method can also be adopted, that is, the resource scheduler 101, the resource demander 102, the resource control party 103, and the resource control party 104 are deployed in multiple locations. It can be implemented in a physical device, virtual machine, or container.
  • a distributed deployment method can also be adopted, that is, the resource scheduler 101, the resource demander 102, the resource control party 103, and the resource control party 104 are deployed in multiple locations. It can be implemented in a physical device, virtual machine, or container.
  • the resource scheduling party 101, the resource demanding party 102, the resource management and control party 103, and the resource control party 104 are respectively deployed in four different servers.
  • the resource scheduling party 101 and the resource demanding party 102 are deployed in one server, and the resource management and control party 103 and the resource control party 104 are deployed in another server.
  • the resource scheduling party 101, the resource demanding party 102, the resource management and control party 103, and the resource control party 104 can also be deployed in the cloud as required.
  • the resource management system 100 provided in this embodiment can be deployed in any application scenario with resource scheduling and control requirements, for example, it can be deployed in a computer room system, or can be deployed in a data center system.
  • the following embodiments will respectively provide a computer room system and a data center system for resource management based on a market competition mechanism.
  • FIG. 2 is a schematic diagram of the structure and working principle of a computer room system provided by an exemplary embodiment of this application.
  • the computer room system 200 of this embodiment includes: a computer room.
  • the computer room refers to a physical place where machinery and equipment are stored, such as a room or a factory building.
  • the computer room system 200 can be constructed separately or placed in other buildings.
  • the computer room system 200 further includes: at least one physical device 201, a resource scheduling device 202, a resource application device 203, and a resource control device 204 located in the computer room.
  • This embodiment does not limit the number of physical devices 201, and it may be one or multiple.
  • the device form of the physical device 201 is not limited.
  • the physical device 201 may be an IT-type device in a computer room and a refrigeration device for cooling the IT-type device, such as an air-conditioning device.
  • the at least one physical device 201 may include, but is not limited to: cabinet equipment, server equipment, terminal equipment, printers, hubs, power supply equipment, storage equipment, network switching equipment, air conditioning equipment, water cooling equipment, and so on.
  • the server device may include, but is not limited to, a conventional server, a server array, or a cloud server.
  • the power supply equipment can be storage battery equipment, dry battery equipment, or uninterruptible power supply (UPS).
  • Storage devices may include, but are not limited to: disks, disk arrays, hard disks, network storage devices (NAS), and so on.
  • this embodiment does not limit the device forms of the resource scheduling device 202, the resource application device 203, and the resource control device 204.
  • the resource scheduling device 202, the resource application device 203, and the resource control device 204 can be any computer devices with certain computing and processing capabilities, such as smart phones, laptops, desktop computers, tablet computers, smart watches, and other terminal devices, or they can be Server equipment such as conventional servers, cloud servers, or server arrays.
  • the physical device 201 in the computer room is divided into at least one schedulable resource and at least one infrastructure.
  • schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing, storage, or network) to the outside in the computer room.
  • the schedulable resource can be a physical device such as a server or printer in a computer room, or a hardware module such as a CPU, GPU, memory, network card, or hard disk on the server, or a virtual machine running on a physical device, Software modules or units such as cloud services.
  • physical servers are the most common schedulable resource.
  • Infrastructure refers to the facilities in the computer room that provide basic services for schedulable resources. According to the different schedulable resources, the infrastructure will be different, and there is no restriction on this. Take the server as an example of a schedulable resource.
  • the infrastructure can include cabinets that provide support services for the servers, air-conditioning equipment, fans or water-cooling equipment for cooling the servers, power equipment for powering the servers, switches that provide network connections for the servers, etc. .
  • schedulable resources are available resources in the computer room system 200, and the schedulable resources can be reasonably scheduled and regulated through the resource scheduling device 202 and the resource control device 204, which is beneficial to improve the resource utilization efficiency of the computer room system 200 and save energy. , It is of great significance to improve resource sharing and reduce operating costs.
  • the resource application device 203 mainly provides resource application services for at least one application program.
  • the resource application device 203 may run services, programs, plug-ins, patches, etc. related to the resource application, so as to realize the provision of resource application services for the application.
  • the resource application device 203 and the resource scheduling device 202 cooperate with each other to realize a resource scheduling scheme based on a resource bidding mechanism, which can make resource scheduling more reasonable and help improve overall resource utilization.
  • the resource application device 203 and the resource scheduling device 202 cooperate with each other, and the process of resource scheduling for any application program with resource requirements is the same or similar.
  • the process of resource application and resource scheduling based on the resource bidding mechanism is described.
  • the first application program may be any application program that has permission to use at least one schedulable resource.
  • a resource bidding request may be generated for the first application program, and the resource bidding request may be sent to the resource scheduling device 202 to participate in the resource bidding.
  • the resource bidding request sent by the resource applying device 203 can be received, and according to the resource bidding request, among the schedulable resources participating in the resource bidding, apply for schedulable resources for the first application and other applications.
  • the resource control device 204 can monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, perform the monitoring of the schedulable resources participating in the resource bidding Regulation.
  • the detailed process of resource scheduling and control based on the resource bidding and control mechanism and other related content can be referred to the foregoing embodiment, and will not be repeated here.
  • resource scheduling, resource bidding, and control mechanisms are combined, and schedulable resources can be scheduled according to the resource requirements of the application program, which can allocate resources more reasonably, which is conducive to improving overall resources. Utilization rate. Further, in a scenario that combines power consumption control, resource bidding and regulation mechanisms, with the goal of reducing power consumption costs, resource scheduling based on resource bidding and regulation mechanisms is conducive to improving overall energy efficiency.
  • FIG. 3 is a schematic structural diagram of a data center system provided by an exemplary embodiment of this application.
  • the data center system 300 includes: at least one computer room 301, a resource scheduling device 302, a resource application device 303, and a resource control device 304.
  • the data center system 300 can be built separately, or placed in other buildings, or distributed in different geographical locations.
  • each computer room 301 includes at least one physical device 305.
  • the number of physical devices contained in each computer room 301 may be one or multiple.
  • the computer room 301 in this embodiment is similar to the computer room in the embodiment shown in FIG. 2.
  • the related description of the physical device 305 and the computer room 301 please refer to the description in the embodiment shown in FIG. 2, which will not be repeated here.
  • the physical device 305 in each computer room 301 is divided into at least one schedulable resource and at least one infrastructure.
  • schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing, storage, or network) to the outside in the computer room.
  • schedulable resources and infrastructure please refer to the embodiment shown in FIG. 2, which will not be repeated here.
  • the difference between this embodiment and the embodiment shown in FIG. 2 is that the resource scheduling device 302, the resource application device 303, and the resource control device 304 no longer specifically serve a specific computer room, but serve the entire data center system 300, and need to The schedulable resources in each computer room 301 perform resource scheduling.
  • the resource scheduling device 302 no longer specifically serves a specific computer room, it can be physically deployed in a certain computer room or independently deployed outside each computer room.
  • the resource application device 303 of this embodiment mainly provides resource application services for application programs in each computer room.
  • the resource application device 303 cooperates with the resource scheduling device 302 and the resource control device 304 to realize a resource scheduling and control scheme based on the resource bidding and control mechanism, which can make resource scheduling and control more rational and help improve the overall resource utilization rate. .
  • resource scheduling, resource bidding, and control mechanisms are combined, and schedulable resources can be scheduled according to the resource requirements of the application program, which can allocate resources more reasonably, which is conducive to improving overall resources. Utilization rate. Further, in a scenario that combines power consumption control, resource bidding and regulation mechanisms, with the goal of reducing power consumption costs, resource scheduling based on resource bidding and regulation mechanisms is conducive to improving overall energy efficiency.
  • Fig. 4a is a schematic flowchart of a resource control method provided by an exemplary embodiment of this application. As shown in Figure 4a, the method includes:
  • the method in this embodiment is mainly described from the perspective of a resource control party, a resource control device, or a resource control node, and mainly describes how to perform resource control on schedulable resources participating in resource bidding according to a resource control mechanism.
  • step 42a includes at least one of the following regulation operations:
  • the number of schedulable resources participating in the resource bidding is adjusted.
  • adjusting the actual bid value of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding
  • the status information of the resource in the resource market determines the first schedulable resource whose bid value needs to be adjusted; sends a first resource bid request to the resource scheduler, and the first resource bid request includes the first actual bid value to adjust the first schedulable resource.
  • an implementation manner for determining the first schedulable resource that needs to adjust the bid value includes: according to the characterization that the schedulable resources participating in the resource bidding are in the resource market Calculate the benchmark bid value of the schedulable resources participating in the resource bidding; obtain the schedulable resources participating in the resource bidding from the bidding parameters representing the bidding status of the schedulable resources participating in the resource bidding in the resource market Transaction bid value: According to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, determine the first schedulable resource whose bid value needs to be adjusted.
  • an implementation manner for calculating the benchmark bid value of the schedulable resource participating in the resource bidding based on the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market includes: The resource parameters of the running state of the schedulable resources in the resource market are input into the cost prediction model, and the cost prediction model is used to calculate the benchmark bid value of the schedulable resources participating in the resource bidding.
  • an implementation manner for determining the first schedulable resource whose bid value needs to be adjusted includes: from among the schedulable resources participating in the resource bidding , Obtain the schedulable resource whose transaction bid value is less than the benchmark bid value as the first schedulable resource; among them, the first actual bid value is greater than the benchmark bid value.
  • adjusting the number of schedulable resources participating in the resource bidding according to the status information of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding in the resource market Status information, determine the second schedulable resource that needs to withdraw from the resource bidding; send a second resource bidding request to the resource scheduler, the second resource bidding request includes the second actual bid value, used to apply for the second schedulable resource; After the second schedulable resource, the working state of the second schedulable resource is adjusted to not meet the requirement of being able to participate in the resource bidding to withdraw from the resource bidding.
  • an implementation manner for determining the second schedulable resource that needs to withdraw from the resource bidding includes: according to the schedulable resources participating in the resource bidding in the resource market Analyze the load of the schedulable resource participating in the resource bidding; obtain the schedulable resource whose load is lower than the first load threshold from the schedulable resource participating in the resource bid as the second schedulable resource.
  • the method further includes: determining whether the number of schedulable resources whose load is lower than the second load threshold is greater than the first quantity Threshold; if the judgment result is yes, from the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource; wherein, the second load threshold is greater than the first load The amount threshold.
  • the foregoing adjustment of the working state of the second schedulable resource to the requirement of being able to participate in the resource bidding to withdraw from the resource bidding includes the following methods:
  • the designated level or designated frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
  • adjusting the number of schedulable resources participating in the resource bidding according to the status information of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding in the resource market Status information, determine the need to increase the schedulable resources that can participate in resource bidding; select the third schedulable resource that can participate in the resource bidding from the schedulable resources that have never participated in the resource bidding; and adjust the working status of the third schedulable resource to Meet the requirements to be able to participate in resource bidding to participate in resource bidding.
  • an implementation manner for determining the need to increase the schedulable resources that can participate in the resource bidding includes: according to the schedulable resources participating in the resource bidding in the resource State information in the market, analyze the load of schedulable resources participating in resource bidding; if the number of schedulable resources whose load is higher than the third load threshold is greater than the second threshold, determine the need to increase the schedulable resources that can participate in the resource bidding Resources.
  • Fig. 4b is a schematic flowchart of a resource application method provided by an exemplary embodiment of this application. As shown in Figure 4b, the method includes:
  • the method in this embodiment is mainly described from the perspective of the resource demander, the resource application device or the application layer. It mainly describes how to generate a resource bid request for the first application, and based on the resource bid request, the first application sends the resource dispatcher to the resource dispatcher. ,
  • the resource scheduling device or resource scheduling node applies for schedulable resources.
  • determining the at least one task to be completed by the first application program and the resource information that the at least one task needs to use includes: using an operation law prediction model to learn the operation law of the first application program; according to the first application The running law of the program determines at least one task to be completed by the first application program and resource information to be used by the at least one task.
  • determining the actual competitive value given for the resources required by the at least one task application based on the resource information required for the at least one task includes: according to the resource information required for the at least one task, from the known available resources The candidate schedulable resource and its reference bid value are determined in the scheduling resource information; the actual bid value given by the resource required for at least one task application is determined according to the total budget price of the resource application and the reference bid value of the candidate schedulable resource.
  • generating a resource bid request based on the resource information needed to be used by the at least one task and the actual bid value given for the resource required for the at least one task application includes: generating a resource bid request for each task,
  • the resource bidding request for each task includes the resource information that the task needs to use and the actual bid value given for the resource required for the task application; or, the resource information that needs to be used for at least one task and the resource required for at least one task application.
  • the actual bid value of is encapsulated in the same resource bid request.
  • the method further includes: according to the operation status information of the managed schedulable resource fed back by the resource management and control party in the future period, Adjust the actual competitive value given for the resources required to apply for at least one task.
  • the adjustment of the actual competitive value given by the resource required for the at least one task application includes: according to the resource The running status information of the managed and schedulable resources fed back by the management and control party in the future period, to determine whether the number of resources required for at least one task is less than the third number threshold in the future period; if the result of the judgment is yes, increase to at least one The actual competitive value given by the resources required for the task application.
  • Fig. 4c is a schematic flowchart of another resource application method provided by an exemplary embodiment of this application. As shown in Figure 4c, the method includes:
  • 41c Determine the number of resources that the first application needs to apply for this time and the total budget for this resource application.
  • the method in this embodiment is mainly described from the perspective of the resource demander, the resource application device or the application layer. It mainly describes how to generate a resource bid request for the first application, and based on the resource bid request, the first application sends the resource dispatcher to the resource dispatcher. ,
  • the resource scheduling device or resource scheduling node applies for schedulable resources.
  • determining the number of resources that the first application program needs to apply for this time includes: determining at least one task that the first application program needs to complete and at least one task that needs to be used according to the running law of the first application program Resource information: According to the resource information that at least one task needs to use, determine the number of resources that the first application needs to apply for this time.
  • Fig. 4d is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application. As shown in Figure 4d, the method includes:
  • the resource bidding request includes: the number of resources that the first application needs to apply for this time and the total budget price of this resource application.
  • the number of resources to be applied for this time and the total budget price of this resource application determine at least one resource to be applied for and its actual bid value among the schedulable resources participating in the resource bidding.
  • the method in this embodiment is mainly described from the perspective of a resource scheduling party, a resource scheduling device, or a resource scheduling node, and mainly describes how to allocate resources to schedulable resources based on the resource bidding mechanism and in combination with the resource requirements of the application program.
  • At least one resource to be applied for and its actual bid value are determined among the schedulable resources participating in the resource bidding, including: According to the number of resources to be applied for this time, at least one resource to be applied for is determined among the schedulable resources participating in resource bidding; according to the total budget price of this resource application and the reference bid value of at least one resource to be applied for, at least one resource to be applied for is determined The actual competitive value of the requested resource.
  • the reference bid value of the at least one resource to be applied for includes: the benchmark bid value of the at least one resource to be applied for, the average actual bid value in the resource market, or the maximum actual bid value in the resource market.
  • the actual competitive value of at least one resource to be applied for is determined according to the number of resources to be applied for this time and the total budget price of this resource application, including: according to the number of resources to be applied for this time, participating in Among the schedulable resources of resource bidding, at least one resource to be applied for is determined; based on the number of resources to be applied for this time and the total budgeted price of this resource application, the average bid value is calculated as the actual bid value of at least one resource to be applied for.
  • the execution subject of each step of the method provided in the foregoing embodiment may be the same device, or different devices may also be the execution subject of the method.
  • the execution subject of steps 41d to 44d may be device A; for another example, the execution subject of steps 41d and 42d may be device A, and the execution subject of step 43d may be device B; and so on.
  • Fig. 5a is a schematic structural diagram of a resource control device provided by an exemplary embodiment of this application. As shown in FIG. 5a, the resource control device includes: a memory 51a and a processor 52a.
  • the memory 51a is used to store computer programs and can be configured to store various other data to support operations on the resource control device. Examples of these data include instructions for any application or method operating on the resource control device, contact data, phone book data, messages, pictures, videos, etc.
  • the processor 52a coupled with the memory 51a, is used to execute a computer program for: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market , Regulate and control the schedulable resources participating in resource bidding.
  • the processor 52a when the processor 52a regulates the schedulable resources participating in the resource bidding, it is specifically configured to perform at least one of the following regulation operations:
  • the number of schedulable resources participating in the resource bidding is adjusted.
  • the processor 52a when the processor 52a adjusts the actual bid value of the schedulable resource participating in the resource bidding in the resource market, it is specifically configured to: according to the state information of the schedulable resource participating in the resource bidding in the resource market, Determine the first schedulable resource for which the bid value needs to be adjusted; send a first resource bid request to the resource dispatcher, the first resource bid request includes the first actual bid value to adjust the actual bid of the first schedulable resource in the resource market value.
  • the processor 52a determines the first schedulable resource for which the bid value needs to be adjusted, it is specifically configured to: calculate the schedulable resource participating in the resource bidding according to the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market The benchmark bid value of the resource; from the bidding parameters that characterize the bidding status of the schedulable resource participating in the resource bidding in the resource market, the transaction bid value of the schedulable resource participating in the resource bidding is obtained; according to the benchmark of the schedulable resource participating in the resource bidding The bid value and the transaction bid value determine the first schedulable resource that needs to adjust the bid value.
  • the processor 52a calculates the benchmark bid value of the schedulable resource participating in the resource bidding, it is specifically configured to: input the resource parameter representing the operating state of the schedulable resource participating in the resource bidding in the resource market into the cost prediction model , Use the cost prediction model to calculate the benchmark bid value of schedulable resources participating in resource bidding.
  • the processor 52a determines the first schedulable resource for which the bid value needs to be adjusted, it is specifically configured to obtain the schedulable resource whose transaction bid value is less than the reference bid value from the schedulable resources participating in the resource bidding as the first schedulable resource. 1. Dispatchable resources; among them, the first actual bid value is greater than the benchmark bid value.
  • the processor 52a when it adjusts the number of schedulable resources participating in the resource bidding, it is specifically configured to: according to the state information of the schedulable resources participating in the resource bidding in the resource market, determine the ones that need to withdraw from the resource bidding Second schedulable resource; send a second resource bidding request to the resource scheduler, the second resource bidding request includes the second actual bid value, used to apply for the second schedulable resource; after applying for the second schedulable resource, adjust the second resource bidding request 2.
  • the working state of the schedulable resource cannot meet the requirement of being able to participate in the resource bidding to exit the resource bidding.
  • the processor 52a determines the second schedulable resource that needs to withdraw from the resource bidding, it is specifically configured to: analyze the status information of the schedulable resource participating in the resource bidding in the resource market according to the status information of the schedulable resource participating in the resource bidding.
  • Load From the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource.
  • the processor 52a is further configured to: determine whether the number of schedulable resources whose load is lower than the second load threshold is greater than the first number threshold; if the determination result is yes, obtain from the schedulable resources participating in the resource bidding The schedulable resource whose load is lower than the first load threshold is used as the second schedulable resource; wherein, the second load threshold is greater than the first load threshold.
  • the processor 52a adjusts the working state of the second schedulable resource to a requirement of being able to participate in resource bidding, it is specifically configured to:
  • the working frequency of the second schedulable resource is adjusted to be no higher than the specified frequency; wherein, the specified level or specified frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
  • the processor 52a when the processor 52a adjusts the number of schedulable resources participating in the resource bidding, it is specifically configured to: according to the state information of the schedulable resources participating in the resource bidding in the resource market, determine that it is necessary to increase the number of schedulable resources participating in the resource bidding. Bidding schedulable resources; among the schedulable resources that have never participated in the resource bidding, select the third schedulable resource that can participate in the resource bidding; and adjust the working status of the third schedulable resource to meet the requirements of being able to participate in the resource bidding to participate Resource bidding.
  • the processor 52a determines that it is necessary to increase the schedulable resources that can participate in the resource bidding, it is specifically configured to: analyze the schedulable resources participating in the resource bidding according to the state information of the schedulable resources participating in the resource bidding in the resource market If the number of schedulable resources whose load is higher than the third load threshold is greater than the second number threshold, it is determined that it is necessary to increase the schedulable resources that can participate in resource bidding.
  • the resource control device further includes: a communication component 53a, a display 54a, a power supply component 55a, an audio component 56a and other components. Only some components are schematically shown in Fig. 5a, which does not mean that the resource control device only includes the components shown in Fig. 5a. In addition, the components in the dashed box in FIG. 5a are optional components, not mandatory components, and the specifics may depend on the product form of the resource control device.
  • the resource control device in this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or can be a server device such as a conventional server, a cloud server, or a server array.
  • the resource control device of this embodiment is implemented as a terminal device such as a desktop computer, a notebook computer, a smart phone, etc., it may include the components in the dashed box in FIG. 5a; if the resource control device of this embodiment is implemented as a conventional server, a cloud server, or a server Server devices such as arrays may not include the components in the dashed box in Figure 5a.
  • an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the resource control device in the foregoing method embodiment can be realized.
  • Fig. 5b is a schematic structural diagram of a resource application device provided by an exemplary embodiment of this application.
  • the resource application device includes: a memory 51b, a processor 52b, and a communication component 53b.
  • the memory 51b is used to store computer programs, and can be configured to store other various data to support operations on the resource application device. Examples of these data include instructions for any application or method to operate on the resource application device, contact data, phone book data, messages, pictures, videos, etc.
  • the processor 52b is coupled with the memory 51b and is configured to execute a computer program for: determining at least one task that needs to be completed by the first application program and resource information that needs to be used by the at least one task; according to the resource information that needs to be used by the at least one task, Determine the actual bid value given for the resources required for at least one task application; generate a resource bid request based on the resource information required for at least one task and the actual bid value given for the resources required for the at least one task application; through the communication component 53b
  • the resource bidding request is sent to the resource dispatcher for the resource dispatcher to bid for the first application and other applications to apply for schedulable resources; and to receive the result of the first application bidding for schedulable resources returned by the resource dispatcher.
  • the processor 52b determines the at least one task that needs to be completed by the first application program and the resource information that the at least one task needs to use, it is specifically configured to: use the operating law prediction model to learn the performance of the first application program.
  • Operation law According to the operation law of the first application program, at least one task to be completed by the first application program and resource information to be used by the at least one task are determined.
  • the processor 52b determines the actual bid value given for the resource required by the at least one task application, it is specifically configured to: according to the resource information required to be used by the at least one task, obtain information from the known schedulable resource information Determine the candidate schedulable resource and its reference bid value in the process; according to the total budget price of this resource application and the reference bid value of the candidate schedulable resource, determine the actual bid value given by the resources required for at least one task application.
  • the processor 52b when the processor 52b generates a resource bidding request, it is specifically configured to: generate a resource bidding request for each task separately, and the resource bidding request for each task includes resource information that the task needs to use and a request for the task. The actual bid value given by the required resources; or, encapsulate the resource information required for at least one task and the actual bid value given for the required resources for at least one task application into the same resource bid request.
  • the processor 52b determines the actual competitive value given by the resource required for the at least one task application, it is also used to: run the controlled schedulable resource in the future period according to the feedback of the resource management and control party Status information to adjust the actual competitive value given for the resources required for at least one task application.
  • the processor 52b when the processor 52b adjusts the actual competitive value given by the resource required for the at least one task application, it is specifically used to: according to the resource management and control party's feedback of the controlled schedulable resource in the future period of time Running status information, judging whether the number of resources required by at least one task is less than the third number threshold in the future period; if the judgment result is yes, increase the actual competition value given by the resources required by the at least one task application.
  • the resource application device further includes: a display 54b, a power supply component 55b, an audio component 56b and other components. Only some components are schematically shown in FIG. 5b, which does not mean that the resource application device only includes the components shown in FIG. 5b. In addition, the components in the dashed box in FIG. 5b are optional components, not mandatory components, and the specifics may depend on the product form of the resource application device.
  • the resource application device in this embodiment may be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or may be a server device such as a conventional server, a cloud server, or a server array.
  • the resource application device of this embodiment is implemented as a terminal device such as a desktop computer, notebook computer, smart phone, etc., it may include the components in the dashed box in Figure 5b; if the resource application device of this embodiment is implemented as a conventional server, cloud server or server Server devices such as arrays may not include the components in the dashed box in Figure 5b.
  • the embodiment of the present application also provides a computer-readable storage medium storing a computer program, which can implement each step in the method embodiment shown in FIG. 4b when the computer program is executed.
  • FIG. 5c is a schematic structural diagram of another resource application device provided by an exemplary embodiment of this application.
  • the resource application device includes: a memory 51c, a processor 52c, and a communication component 53c.
  • the memory 51c is used to store computer programs, and can be configured to store other various data to support operations on the resource application device. Examples of these data include instructions for any application or method to operate on the resource application device, contact data, phone book data, messages, pictures, videos, etc.
  • the processor 52c coupled with the memory 51c, is used to execute computer programs for: determining the number of resources that the first application needs to apply for this time and the total budget of this resource application; according to the amount of resources that need to be applied for this time and The total budget of this resource application generates a resource bid request; the resource bid request is sent to the resource scheduler through the communication component 53c, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources and return; And receiving the result of the first application bidding for schedulable resources returned by the resource scheduler.
  • the processor 52c determines the amount of resources that the first application program needs to apply for this time, it is specifically configured to: determine at least one task that the first application program needs to complete according to the running law of the first application program And resource information that needs to be used by at least one task; according to the resource information that needs to be used by at least one task, the number of resources that the first application needs to apply for this time is determined.
  • the resource application device further includes: a display 54c, a power supply component 55c, an audio component 56c and other components. Only some components are schematically shown in FIG. 5c, which does not mean that the resource application device only includes the components shown in FIG. 5c. In addition, the components in the dashed box in FIG. 5c are optional components, not mandatory components, and the specifics may depend on the product form of the resource application device.
  • the resource application device in this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or it can be a server device such as a conventional server, a cloud server, or a server array.
  • the resource application device of this embodiment is implemented as a terminal device such as a desktop computer, a notebook computer, a smart phone, etc., it may include the components in the dashed box in Figure 5c; if the resource application device of this embodiment is implemented as a conventional server, a cloud server or a server Server devices such as arrays may not include the components in the dashed box in Figure 5c.
  • an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which can implement each step in the method embodiment shown in FIG. 4c when the computer program is executed.
  • Fig. 5d is a schematic structural diagram of a resource scheduling device provided by an exemplary embodiment of this application.
  • the resource scheduling device includes: a memory 51d, a processor 52d, and a communication component 53d.
  • the memory 51d is used to store computer programs and can be configured to store various other data to support operations on the resource scheduling device. Examples of these data include instructions for any application or method operating on the resource scheduling device, contact data, phone book data, messages, pictures, videos, etc.
  • the processor 52d coupled with the memory 51d, is configured to execute a computer program for: receiving a resource bid request through the communication component 53d.
  • the resource bid request includes: the number of resources that the first application needs to apply for this time and the amount of this resource application Total budget price; Determine the actual competitive value of at least one resource to be applied for according to the number of resources to be applied for this time and the total budget price of this resource application; According to the actual competitive value of at least one resource to be applied for, it is the first application and Other applications bid for at least one resource to be applied for, and the resource application result of the first application is returned through the communication component.
  • the processor 52d when determining at least one resource to be applied for and its actual bid value, is specifically configured to: determine at least one of the schedulable resources participating in resource bidding according to the number of resources to be applied for this time A resource to be applied for; the actual competitive value of at least one resource to be applied for is determined based on the total budget price of this resource application and the reference bid value of at least one resource to be applied for.
  • the reference bid value of the at least one resource to be applied for includes: the benchmark bid value of the at least one resource to be applied for, the average actual bid value in the resource market, or the maximum actual bid value in the resource market.
  • the processor 52d determines the actual bid value of at least one resource to be applied for, it is specifically configured to: determine at least one of the schedulable resources participating in the resource bidding according to the number of resources to be applied for this time Resources to be applied for; based on the number of resources to be applied for this time and the total budget of this resource application, the average bid value is calculated as the actual bid value of at least one resource to be applied for.
  • the resource scheduling device further includes: a display 54d, a power supply component 55d, an audio component 56d and other components. Only some components are schematically shown in FIG. 5d, which does not mean that the resource scheduling device only includes the components shown in FIG. 5d. In addition, the components in the dashed box in FIG. 5d are optional components, not mandatory components, and the specifics may depend on the product form of the resource scheduling device.
  • the resource scheduling device of this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or can be a server device such as a conventional server, a cloud server, or a server array.
  • the resource scheduling device of this embodiment is implemented as a terminal device such as a desktop computer, notebook computer, smart phone, etc., it may include the components in the dashed box in Figure 5d; if the resource scheduling device of this embodiment is implemented as a conventional server, a cloud server or a server Server devices such as arrays may not include the components in the dashed box in Figure 5d.
  • an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the resource scheduling device in the foregoing method embodiment can be implemented.
  • FIGS 5a-5d can be implemented by any type of volatile or non-volatile storage device or their combination, 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.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory magnetic memory
  • flash memory magnetic disk or optical disk.
  • the communication components in Figures 5a-5d described above are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices.
  • the device where the communication component is located can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G/LTE, 5G and other mobile communication networks, or a combination of them.
  • the communication component receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component may further include a near field communication (NFD) module, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra wideband (UWB) technology, Bluetooth (BT) technology Wait.
  • NFD near field communication
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra wideband
  • Bluetooth Bluetooth
  • the above-mentioned display in Figs. 5a-5d includes a screen, and the screen may include a liquid crystal display (LDD) 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 the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
  • the power supply components in Figures 5a to 5d above provide power for various components of the equipment where the power supply component is located.
  • the power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device where the power supply component is located.
  • the audio components in Figs. 5a to 5d may be configured to output and/or input audio signals.
  • the audio component includes a microphone (MID).
  • MID microphone
  • the microphone is configured to receive external audio signals.
  • the received audio signal can be further stored in a memory or sent via a communication component.
  • the audio component further includes a speaker for outputting audio signals.
  • the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt 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 codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the 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, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.

Abstract

Embodiments of the present application provide resource scheduling, application, and control methods, an apparatus, a system, and a storage medium. In the embodiments of the present application, an intermediate layer is added in between an application layer and an IT resource layer, and a resource bidding and control mechanism is used in the intermediate layer, so as to combine resource requirements of the application layer to perform resource scheduling with respect to the IT resource layer. The invention thus enables reasonable resource allocation, improves the overall resource utilization rate, and promotes overall energy efficiency.

Description

资源调度、申请与调控方法、设备、系统及存储介质Resource scheduling, application and control method, equipment, system and storage medium 技术领域Technical field
本申请涉及数据中心技术领域,尤其涉及一种资源调度与申请方法、设备、系统及存储介质。This application relates to the technical field of data centers, and in particular to a resource scheduling and application method, device, system, and storage medium.
背景技术Background technique
随着云计算技术的发展,各类机房系统或数据中心(Data Center,DC)系统不断被部署,机房系统或数据中心系统承载的压力不断增加,能否合理利用机房系统或数据中心系统中的IT设备,提高IT设备的利用率,直接影响机房系统或数据中心系统的整体能效。With the development of cloud computing technology, various computer room systems or data center (Data Center, DC) systems are constantly being deployed, and the pressure carried by the computer room system or data center system continues to increase. Can the computer room system or data center system be used rationally? IT equipment, improving the utilization rate of IT equipment, directly affects the overall energy efficiency of the computer room system or data center system.
在现有技术中,一般是根据应用的优先级、IT设备的负载等因素对IT设备进行资源调度,例如,优先将IT设备分配给优先级较高的应用,或者优先将应用分配给负载较轻的IT设备。这种资源调度方式简单易于实施,但是机房系统或数据中心系统的整体资源利用率却不高,整体能效也不高。In the prior art, IT equipment is generally scheduled according to the priority of the application, the load of the IT equipment, and other factors. For example, IT equipment is assigned to higher priority applications first, or the application is assigned to higher load applications. Light IT equipment. This resource scheduling method is simple and easy to implement, but the overall resource utilization rate of the computer room system or data center system is not high, and the overall energy efficiency is not high.
发明内容Summary of the invention
本申请实施例提供一种资源调度、申请与调控方法、设备、系统及存储介质,用以提高整体资源利用率,提高整体能效。The embodiments of the present application provide a resource scheduling, application, and control method, device, system, and storage medium, which are used to improve overall resource utilization and improve overall energy efficiency.
本申请实施例提供一种系统,包括:应用层、中间层和IT资源层;所述中间层介于所述应用层与所述IT资源层之间,用于采用资源竞价与调控机制,结合所述应用层的资源需求对所述IT资源层进行资源调度。The embodiment of the application provides a system, including: an application layer, an intermediate layer, and an IT resource layer; the intermediate layer is between the application layer and the IT resource layer, and is used to adopt a resource bidding and regulation mechanism to combine The resource requirements of the application layer perform resource scheduling on the IT resource layer.
本申请实施例提供一种资源调度方法,包括:获取上层应用的资源需求;采用资源竞价与调控机制,结合所述上层应用的资源需求,对下层IT资源进 行资源调度。An embodiment of the present application provides a resource scheduling method, including: obtaining resource requirements of upper-layer applications; using a resource bidding and regulation mechanism, combined with the resource requirements of the upper-layer applications, to perform resource scheduling on lower-layer IT resources.
本申请实施例提供一种资源调控方法,包括:监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。The embodiment of the present application provides a resource control method, including: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, The schedulable resources participating in the resource bidding are regulated.
本申请实施例还提供一种资源申请方法,包括:确定第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息;根据所述至少一个任务需要使用的资源信息,确定为所述至少一个任务申请所需资源给出的实际竞价值;根据所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。An embodiment of the present application also provides a resource application method, including: determining at least one task that a first application needs to complete and resource information that the at least one task needs to use; and determining the resource information that needs to be used by the at least one task The actual bid value given for the resource required for the at least one task application; generating a resource bid request based on the resource information required for the at least one task and the actual bid value given for the resource required for the at least one task application ; Send the resource bidding request to the resource scheduler for the resource scheduler to bid for the first application and other applications for schedulable resources; receive the first application returned by the resource scheduler The result of the program bidding application for schedulable resources.
本申请实施例还提供一种资源申请方法,包括:确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。The embodiment of this application also provides a resource application method, including: determining the number of resources that the first application needs to apply for this time and the total budget price of this resource application; according to the number of resources that need to be applied this time and the amount of this resource application Budget total price, generate resource bidding request; send the resource bidding request to the resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources; receive the resource scheduling The result of the first application bidding application for schedulable resources returned by the party.
本申请实施例还提供一种资源调度方法,包括:接收资源竞价请求,所述资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,在参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值;根据所述至少一个待申请资源的实际竞价值,为所述第一应用程序与其它应用程序竞价申请所述至少一个待申请资源,并返回所述第一应用程序的资源申请结果。The embodiment of the present application also provides a resource scheduling method, including: receiving a resource bid request, the resource bid request including: the number of resources that the first application needs to apply for this time and the total budget of the resource application; The number of resources that need to be applied for and the total budgeted price of this resource application. Among the schedulable resources participating in the resource bidding, determine at least one resource to be applied for and its actual bid value; according to the actual bid value of the at least one resource to be applied for, Apply for the at least one resource to be applied for by bidding for the first application program with other application programs, and return the resource application result of the first application program.
本申请实施例还提供一种资源调控设备,包括:存储器和处理器;所述存储器,用于存储计算机程序;所述处理器,与所述存储器耦合,用于执行 所述计算机程序,以用于:监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。An embodiment of the present application also provides a resource control device, including: a memory and a processor; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program for use In: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, regulating and controlling the schedulable resources participating in the resource bidding.
本申请实施例还提供一种资源申请设备,包括:存储器、处理器以及通信组件;所述存储器,用于存储计算机程序;所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:确定第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息;根据所述至少一个任务需要使用的资源信息,确定为所述至少一个任务申请所需资源给出的实际竞价值;根据所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;通过所述通信组件将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;以及接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。The embodiment of the present application also provides a resource application device, including: a memory, a processor, and a communication component; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program , For: determining at least one task that the first application needs to complete and resource information that the at least one task needs to use; according to the resource information that the at least one task needs to use, it is determined to be required by the at least one task application The actual bid value given by the resource; generate a resource bid request based on the resource information needed to be used by the at least one task and the actual bid value given for the resource required for the at least one task application; The resource bidding request is sent to the resource dispatcher for the resource dispatcher to bid for the first application and other applications to bid for schedulable resources; and to receive the first application bidding application returned by the resource dispatcher The result of schedulable resources.
本申请实施例还提供一种资源申请设备,包括:存储器、处理器以及通信组件;所述存储器,用于存储计算机程序;所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;通过所述通信组件将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源并返回;以及接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。The embodiment of the present application also provides a resource application device, including: a memory, a processor, and a communication component; the memory is used to store a computer program; the processor is coupled with the memory and is used to execute the computer program , To: determine the number of resources that the first application needs to apply for this time and the total budget price of this resource application; generate resource bid requests based on the number of resources that need to be applied this time and the total budget price of this resource application; Send the resource bid request to the resource scheduler through the communication component, so that the resource scheduler can bid for the first application and other applications for schedulable resources and return; and receive the resource scheduler The returned result of the first application bidding for schedulable resources.
本申请实施例还提供一种资源调度设备,包括:存储器、处理器以及通信组件;所述存储器,用于存储计算机程序;所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:通过所述通信组件接收资源竞价请求,所述资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,确定至少一个待申请资源的实际竞价值;根据所述至少一个待申请资 源的实际竞价值,为所述第一应用程序与其它应用程序竞价申请所述至少一个待申请资源,并通过所述通信组件返回所述第一应用程序的资源申请结果。An embodiment of the present application also provides a resource scheduling device, including: a memory, a processor, and a communication component; the memory is used for storing a computer program; the processor is coupled with the memory and is used for executing the computer program , For: receiving a resource bid request through the communication component, the resource bid request including: the number of resources that the first application needs to apply for this time and the total budget of this resource application; the resources to be applied for according to this need The actual bid value of at least one resource to be applied for is determined by the quantity and the total budget price of this resource application; according to the actual bid value of the at least one resource to be applied for, the bid application for the first application and other applications At least one resource to be applied for, and the resource application result of the first application is returned through the communication component.
本申请实施例还提供一种资源管理系统,包括:资源调度方、资源需求方以及资源调控方;所述资源需求方,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度方,以参与资源竞价;所述资源调度方,用于根据所述资源调度请求,在参与资源竞价的可调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;所述资源调控方,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。An embodiment of the application also provides a resource management system, including: a resource scheduler, a resource demander, and a resource regulator; the resource demander is used to generate a resource bid request for a first application program; and the resource bid request Sent to the resource scheduler to participate in resource bidding; the resource scheduler is used to bid for the first application and other applications among the schedulable resources participating in the resource bidding according to the resource scheduling request Apply for schedulable resources; the resource regulator is used to monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, The schedulable resources participating in the resource bidding are regulated.
本申请实施例还提供一种机房系统,包括:至少一个可调度资源、至少一个基础设施、资源申请设备、资源调度设备以及资源调控设备;所述至少一个基础设施为所述至少一个可调度资源提供基础服务;所述资源需求设备,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度设备,以参与资源竞价;所述资源调度设备,用于根据所述资源调度请求,在参与资源竞价的可调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;所述资源调控设备,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。An embodiment of the application also provides a computer room system, including: at least one schedulable resource, at least one infrastructure, resource application equipment, resource scheduling equipment, and resource control equipment; the at least one infrastructure is the at least one schedulable resource Provide basic services; the resource demand device is used to generate a resource bid request for the first application; send the resource bid request to the resource scheduling device to participate in the resource bid; the resource scheduling device is used to The resource scheduling request, among the schedulable resources participating in the resource bidding, applies for schedulable resources for the first application program and other application programs for bidding; the resource control device is used to monitor the availability of the schedulable resources participating in the resource bidding State information in the resource market; according to the state information of the schedulable resource participating in the resource bidding in the resource market, regulating and controlling the schedulable resource participating in the resource bidding.
本申请实施例还提供一种数据中心系统,包括:至少一个机房、资源申请设备、资源调度设备以及资源调控设备;每个机房包括至少一个可调度资源和至少一个基础设施,所述至少一个基础设施为所述至少一个可调度资源提供基础服务;所述资源需求设备,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度设备,以参与资源竞价;所述资源调度设备,用于根据所述资源调度请求,在参与资源竞价的可调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;所述资源调控设备,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所 述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。An embodiment of the present application also provides a data center system, including: at least one computer room, resource application equipment, resource scheduling equipment, and resource control equipment; each computer room includes at least one schedulable resource and at least one infrastructure. The facility provides basic services for the at least one schedulable resource; the resource demand device is used to generate a resource bidding request for the first application program; and the resource bidding request is sent to the resource scheduling device to participate in the resource bidding; The resource scheduling device is configured to, according to the resource scheduling request, apply for schedulable resources for the first application program and other application programs among the schedulable resources participating in the resource bidding; the resource control device is configured to Monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, regulating and controlling the schedulable resources participating in the resource bidding.
本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,当所述计算机程序被处理器执行时,致使所述处理器实现本申请各方法实施例中的步骤。The embodiments of the present application also provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the processor is caused to implement the steps in the method embodiments of the present application.
在本申请实施例中,在应用层与IT资源层之间增加中间层,在中间层采用资源竞价与调控机制,结合应用层的资源需求对IT资源层进行资源调度,可更加合理地进行资源分配,有利于提高整体资源利用率,进而提高整体能效。In the embodiment of the present application, an intermediate layer is added between the application layer and the IT resource layer, and the resource bidding and regulation mechanism is adopted in the intermediate layer, and resource scheduling is performed on the IT resource layer in combination with the resource requirements of the application layer, so that resources can be performed more reasonably. Allocation is conducive to improving the overall resource utilization rate, thereby improving overall energy efficiency.
附图说明Description of the drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described here are used to provide a further understanding of the application and constitute a part of the application. The exemplary embodiments and descriptions of the application are used to explain the application, and do not constitute an improper limitation of the application. In the attached picture:
图1a为本申请示例性实施例提供的一种系统的结构及工作原理示意图;FIG. 1a is a schematic diagram of the structure and working principle of a system provided by an exemplary embodiment of this application;
图1b为本申请示例性实施例提供的另一种系统的结构及工作原理示意图;FIG. 1b is a schematic diagram of the structure and working principle of another system provided by an exemplary embodiment of this application;
图1c为本申请示例性实施例提供的一种资源调度方法的流程示意图;FIG. 1c is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application;
图1d为本申请示例性实施例提供的一种资源管理系统的结构及工作原理示意图;FIG. 1d is a schematic diagram of the structure and working principle of a resource management system provided by an exemplary embodiment of this application;
图1e为本申请示例性实施例提供的机房中两个机柜上服务器的使用状态示意图;FIG. 1e is a schematic diagram of the usage state of servers on two cabinets in a computer room provided by an exemplary embodiment of this application;
图2为本申请示例性实施例提供的一种机房系统的结构示意图;2 is a schematic structural diagram of a computer room system provided by an exemplary embodiment of this application;
图3为本申请示例性实施例提供的一种数据中心系统的结构示意图;FIG. 3 is a schematic structural diagram of a data center system provided by an exemplary embodiment of this application;
图4a为本申请示例性实施例提供的一种资源调控方法的流程示意图;FIG. 4a is a schematic flowchart of a resource control method provided by an exemplary embodiment of this application;
图4b为本申请示例性实施例提供的一种资源申请方法的流程示意图;FIG. 4b is a schematic flowchart of a resource application method provided by an exemplary embodiment of this application;
图4c为本申请示例性实施例提供的另一种资源申请方法的流程示意图;FIG. 4c is a schematic flowchart of another resource application method provided by an exemplary embodiment of this application;
图4d为本申请示例性实施例提供的一种资源调度方法的流程示意图;FIG. 4d is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application;
图5a为本申请示例性实施例提供的一种资源调控设备的结构示意图;FIG. 5a is a schematic structural diagram of a resource control device provided by an exemplary embodiment of this application;
图5b为本申请示例性实施例提供的一种资源申请设备的结构示意图;FIG. 5b is a schematic structural diagram of a resource application device provided by an exemplary embodiment of this application;
图5c为本申请示例性实施例提供的另一种资源申请设备的结构示意图;FIG. 5c is a schematic structural diagram of another resource application device provided by an exemplary embodiment of this application;
图5d为本申请示例性实施例提供的一种资源调度设备的结构示意图。Fig. 5d is a schematic structural diagram of a resource scheduling device provided by an exemplary embodiment of this application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the present application clearer, the technical solutions of the present application will be described clearly and completely in conjunction with specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
针对现有机房系统或数据中心系统的整体资源利用率不高,整体能效不高的技术问题,在本申请一些实施例中,在应用层与IT资源层之间增加中间层,在中间层采用资源竞价与调控机制,结合应用层的资源需求对IT资源层进行资源调度,可更加合理地进行资源分配,有利于提高整体资源利用率,进而提高整体能效。In view of the low overall resource utilization rate of the existing computer room system or data center system, and low overall energy efficiency technical problems, in some embodiments of the present application, an intermediate layer is added between the application layer and the IT resource layer, and the intermediate layer is adopted The resource bidding and regulation mechanism, combined with the resource requirements of the application layer to perform resource scheduling on the IT resource layer, can allocate resources more reasonably, which is conducive to improving the overall resource utilization rate and thus the overall energy efficiency.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1a为本申请实施例提供的一种系统的结构及工作原理示意图。如图1a所示,该系统在逻辑上被划分为:应用层、中间层和IT资源层;其中,中间层介于应用层与IT资源层之间。FIG. 1a is a schematic diagram of the structure and working principle of a system provided by an embodiment of the application. As shown in Figure 1a, the system is logically divided into: application layer, middle layer and IT resource layer; among them, the middle layer is between the application layer and the IT resource layer.
IT资源层主要负责提供各种IT资源,例如机柜、服务器、以及服务器中的CPU、GPU、内存、网卡等资源。需要说明的是,本实施例的IT资源可以是纯硬件的资源形态,也可以是包含硬件以及与硬件正常工作相关的软件在内的资源形态。以IT资源中的服务器为例,服务器同时包括CPU、GPU、网 卡、内存以及硬盘等硬件资源,也可包含这些硬件资源的驱动程序以及操作系统等软件资源。The IT resource layer is mainly responsible for providing various IT resources, such as cabinets, servers, and CPU, GPU, memory, network cards and other resources in the servers. It should be noted that the IT resource in this embodiment may be a pure hardware resource form, or may be a resource form including hardware and software related to the normal operation of the hardware. Take the server in IT resources as an example. The server includes hardware resources such as CPU, GPU, network card, memory, and hard disk at the same time. It can also contain software resources such as drivers for these hardware resources and operating systems.
应用层包括至少一个应用程序,这些应用程序的运行需要依赖IT资源层提供的IT资源。对应用层来说,可根据资源需求申请IT资源层提供的IT资源。从应用层的角度来看,更加注重IT资源带来的性能,但缺少动力去关注IT资源在其它方面的问题,例如IT资源的功耗。The application layer includes at least one application program, and the operation of these applications depends on the IT resources provided by the IT resource layer. For the application layer, IT resources provided by the IT resource layer can be applied for according to resource requirements. From the perspective of the application layer, more attention is paid to the performance brought by IT resources, but there is a lack of motivation to pay attention to other aspects of IT resources, such as the power consumption of IT resources.
为了让应用层在申请资源时能够同时考虑IT资源带来的性能和IT资源在其它方面的问题,在本实施例中,在应用层与IT资源层之间增加中间层,由中间层采用资源竞价与调控机制,结合应用层的资源需求对IT资源层进行资源调度。将IT资源在其它方面的问题与IT资源的竞价值相关联,通过竞价机制可以刺激应用层关注IT资源除性能之外在其它方面的问题。In order to allow the application layer to simultaneously consider the performance brought about by IT resources and other aspects of IT resources when applying for resources, in this embodiment, an intermediate layer is added between the application layer and the IT resource layer, and the intermediate layer uses resources. The bidding and control mechanism, combined with the resource requirements of the application layer, performs resource scheduling on the IT resource layer. The other aspects of IT resources are related to the competitive value of IT resources, and the bidding mechanism can stimulate the application layer to pay attention to other aspects of IT resources besides performance.
以IT资源的功耗为例,将IT资源的功耗与IT资源的竞价值相关联,通过竞价机制可以刺激应用层关注IT资源的功耗,这一方面可以更加合理地对IT资源进行分配,另一方面也可以提高IT资源的整体效能。Taking the power consumption of IT resources as an example, the power consumption of IT resources is related to the competitive value of IT resources. The bidding mechanism can stimulate the application layer to pay attention to the power consumption of IT resources, which can allocate IT resources more reasonably. On the other hand, it can also improve the overall efficiency of IT resources.
在此说明,本实施例中的应用程序具有较为广泛的意义,泛指任何针对用户的应用目的所编写的程序代码,包括但不限于:系统应用程序、桌面应用程序、驱动应用程序、网络应用程序、手机应用程序、物联网应用程序等。在产品形态上,这些应用程序可以是APP、客户端、云服务、应用系统、业务系统、业务系统中的某个功能模块或单元等。It is explained here that the application program in this embodiment has a broader meaning, generally refers to any program code written for the application purpose of the user, including but not limited to: system application, desktop application, driver application, network application Programs, mobile phone applications, Internet of Things applications, etc. In terms of product form, these applications can be APP, client, cloud service, application system, business system, a certain functional module or unit in business system, etc.
需要说明的是,在本申请实施例中,并不对中间层的实现做限定。例如,从软件和硬件角度来看,本实施例的中间层可以是纯软件的实现形式,也可以采用软硬结合的方式实现,甚至也可以采用纯硬件实现。It should be noted that, in the embodiments of the present application, the implementation of the intermediate layer is not limited. For example, from the perspective of software and hardware, the intermediate layer of this embodiment can be implemented in a pure software form, can also be implemented in a combination of software and hardware, or even implemented in pure hardware.
另外,无论是软件实现、硬件实现还是软硬结合的实现方式,本申请实施例并不对中间层的内部结构进行限定。凡是能够采用资源竞价与调度机制,对IT资源层进行资源调度的内部实现结构均适用于本申请实施例。在下面实施例中,将给出一种中间层的实现结构。In addition, whether it is a software implementation, a hardware implementation, or a combination of software and hardware implementation, the embodiment of the present application does not limit the internal structure of the intermediate layer. All internal implementation structures that can use resource bidding and scheduling mechanisms to perform resource scheduling on the IT resource layer are applicable to the embodiments of the present application. In the following embodiments, an implementation structure of the intermediate layer will be given.
图1b为本申请示例性实施例提供的另一种系统的结构及工作原理示意 图。如图1b所示,该系统包括:应用层、中间层和IT资源层;其中,中间层介于应用层与IT资源层之间。其中,IT资源层包括至少一个可调度的IT资源。在图1b中,以多台服务器为例,对可调度的IT资源进行图示。Fig. 1b is a schematic diagram of the structure and working principle of another system provided by an exemplary embodiment of this application. As shown in Figure 1b, the system includes: an application layer, an intermediate layer, and an IT resource layer; wherein, the intermediate layer is between the application layer and the IT resource layer. Among them, the IT resource layer includes at least one schedulable IT resource. In Figure 1b, taking multiple servers as an example, schedulable IT resources are illustrated.
如图1b所示,中间层包括:资源调度节点和资源调控节点。从发挥的作用来看,资源调度节点比较接近市场(Market)这个角色,也可称为市场(Market)节点。As shown in Figure 1b, the middle layer includes: a resource scheduling node and a resource control node. From the perspective of its role, the resource scheduling node is closer to the role of the market (Market), and can also be called the market node.
其中,资源调控节点主要用于采用资源调控机制,调控IT资源层中可参与资源竞价的IT资源。换句话说,资源调控节点可以决定IT资源层中有多少IT资源以及哪些IT资源有资格进入到资源市场中参与资源竞价;可以调整IT资源层中可参与资源竞价的IT资源的数量,例如可以增多,也可以减少;还可以调整可参与资源竞价的IT资源在资源市场中的竞价值,例如可以提高,也可以降低;等等。Among them, the resource control node is mainly used to adopt a resource control mechanism to control IT resources that can participate in resource bidding in the IT resource layer. In other words, the resource control node can determine how many IT resources are in the IT resource layer and which IT resources are eligible to enter the resource market to participate in resource bidding; it can adjust the number of IT resources that can participate in resource bidding in the IT resource layer, for example, Increase or decrease; the competitive value of IT resources that can participate in resource bidding in the resource market can also be adjusted, for example, it can be increased or decreased; and so on.
对资源调度节点来说,可采用资源竞价机制,结合应用层的资源需求对IT资源层中可参与资源竞价的IT资源进行调度。对于未参与资源竞价的IT资源,资源调度节点无法对这些IT资源进行调度。For resource scheduling nodes, a resource bidding mechanism can be used to schedule IT resources in the IT resource layer that can participate in resource bidding in combination with the resource requirements of the application layer. For IT resources that have not participated in the resource bidding, the resource scheduling node cannot schedule these IT resources.
在资源竞价机制下,应用层的应用程序都有一个资源账户。该资源账户存储有应用程序的资源,这些资源可以是虚拟资金、实际资金、信用值、积分、能量值或权益值等。其中,资源账户中的资源可以用来请求获取资源市场上存在的任何类型的IT资源,例如CPU、硬盘、内存、网络IO等的使用权。其中,进入资源市场中的这些IT资源来自于IT资源层。Under the resource bidding mechanism, applications at the application layer have a resource account. The resource account stores application resources, which can be virtual funds, actual funds, credit values, points, energy values, or equity values. Among them, the resources in the resource account can be used to request access to any type of IT resources that exist in the resource market, such as CPU, hard disk, memory, network IO, and so on. Among them, these IT resources entering the resource market come from the IT resource layer.
在资源竞价机制下,资源调度节点可以按照以下基于原则对可参与资源竞价的IT资源进行调度。第一、对任一应用程序来说,在使用某一IT资源之前,需要利用资源账户中的资源向资源调度节点请求获取它的使用权,即资源调度节点需要根据应用程序的请求对IT资源进行调度,以确定该IT资源的使用权是否可以给到该应用程序。第二、在有多个应用程序向资源调度节点请求获取同一资源的使用权的情况下,资源调度节点需要按照竞价规则将该资源分配给其中某个应用程序。竞价规则若是价高者得,则资源调度节点需 要将资源的使用权分配给多个应用程序中出价最高的应用程序。竞价规则若是价低者得,则资源调度节点需要将资源的使用权分配给多个应用程序中出价最低的应用程序。第三、在正常情况下,当有一应用程序以更高的竞价值向资源调度节点请求正在被另一应用程序使用的资源时,另一应用程序应该释放该资源,如果另一应用程序拒绝释放,则需要以再高的竞价值向资源调度节点请求该资源,以便继续占用该资源。Under the resource bidding mechanism, the resource scheduling node can schedule IT resources that can participate in the resource bidding according to the following principles. First, for any application, before using a certain IT resource, it needs to use the resources in the resource account to request the resource scheduling node to obtain its usage rights, that is, the resource scheduling node needs to request the IT resource according to the request of the application. Perform scheduling to determine whether the right to use the IT resource can be given to the application. Second, when multiple applications request the resource scheduling node to obtain the right to use the same resource, the resource scheduling node needs to allocate the resource to one of the applications according to the bidding rules. If the bidding rules are for the higher bidder, the resource scheduling node needs to allocate the right to use the resource to the application with the highest bid among multiple applications. If the bidding rule is the one with the lowest price, the resource scheduling node needs to allocate the right to use the resource to the application with the lowest bid among multiple applications. Third, under normal circumstances, when an application requests a resource that is being used by another application from the resource scheduling node with a higher competitive value, the other application should release the resource, if the other application refuses to release it , Then it is necessary to request the resource from the resource scheduling node with a higher competitive value in order to continue to occupy the resource.
在一些示例性实施例中,如图1b所示,中间层除了包括资源调度节点和资源调控节点之外,还包括:资源管理器。资源管理器,用于对IT资源层中的IT资源进行管理,例如可以对IT资源层中的IT资源进行功耗控制。In some exemplary embodiments, as shown in FIG. 1b, in addition to a resource scheduling node and a resource regulation node, the middle layer also includes a resource manager. The resource manager is used to manage the IT resources in the IT resource layer, for example, it can control the power consumption of the IT resources in the IT resource layer.
资源管理器可以监控IT资源层中各IT资源的负载情况,根据各IT资源的负载情况对各IT资源进行功耗控制。例如,若发现某IT资源(以服务器为例)当时没有负载,而且预测出该服务器在未来时段内也不会有任何负载,则可以关闭该服务器,或者可以控制该服务器进入某个级别的低功耗模式,或者也可以降低该服务器的CPU频率等。The resource manager can monitor the load of each IT resource in the IT resource layer, and control the power consumption of each IT resource according to the load of each IT resource. For example, if it is found that a certain IT resource (take a server as an example) has no load at the time, and it is predicted that the server will not have any load in the future period, the server can be shut down, or the server can be controlled to enter a certain level of low Power consumption mode, or you can reduce the CPU frequency of the server, etc.
进一步可选地,考虑到IT资源数量可能较多,负载情况较为复杂,可以将人工智能与功耗控制相结合,利用机器学习模型学习各IT资源的负载与功耗变化关系,进而根据学习到的负载与功耗变化关系,对各IT资源进行功耗控制。为了便于描述和区分,将资源管理器采用的机器学习模型称为第一机器学习模型。Further alternatively, considering that the number of IT resources may be large and the load situation is more complicated, artificial intelligence and power consumption control can be combined, and the machine learning model can be used to learn the relationship between the load and power consumption of each IT resource, and then according to the learned The relationship between the load and power consumption changes, and the power consumption control of each IT resource. In order to facilitate description and distinction, the machine learning model adopted by the resource manager is referred to as the first machine learning model.
除对IT资源进行功耗控制之外,资源管理器还可以与资源调控节点进行交互,向资源调控节点反馈相关IT资源的运行状态。例如,资源管理器可以将每次被执行功耗控制操作的IT资源的运行状态反馈给资源调控节点。又例如,资源管理器也可以根据资源调控节点的请求,将资源调控节点进行调控需要的IT资源的运行状态反馈给资源调控节点。这里IT资源的运行状态可以包括IT资源在历史时段内的运行状态,也可以包括IT资源在未来时段内的运行状态。IT资源在未来时段内的运行状态包括但不限于:IT资源将进入低功耗模式保持5分钟,IT资源将在某较低工作频率下工作30分钟,IT资源将被 关闭15分钟等等。In addition to controlling the power consumption of IT resources, the resource manager can also interact with the resource control node to feed back the running status of the related IT resource to the resource control node. For example, the resource manager may feed back to the resource control node the running status of the IT resource each time the power consumption control operation is executed. For another example, the resource manager may also feed back to the resource control node the operating status of the IT resources required by the resource control node for control according to the request of the resource control node. Here, the running state of the IT resource may include the running state of the IT resource in a historical period, and may also include the running state of the IT resource in a future period. The operating status of IT resources in the future includes but is not limited to: IT resources will enter low power consumption mode for 5 minutes, IT resources will work at a lower operating frequency for 30 minutes, IT resources will be shut down for 15 minutes, and so on.
对资源调控节点来说,可结合资源管理器反馈的相关IT资源的运行状态,采用资源调控机制,调控IT资源层中可参与资源竞价的IT资源。For the resource control node, the resource control mechanism can be used to control the IT resources that can participate in the resource bidding in the IT resource layer based on the operating status of the related IT resources fed back by the resource manager.
进一步,考虑到该调控过程比较复杂,可以结合人工智能技术来调控IT资源层中可参与资源竞价的IT资源。基于此,资源调控节点可结合资源管理器反馈的相关IT资源的运行状态,利用第二机器学习模型学习IT资源参与资源竞价的变化规律;采用资源调控机制,结合学习到的变化规律,调控IT资源层中可参与资源竞价的IT资源。其中,第二机器学习模型学习到的变化规律包括但不限于:在某个时段需要增加参与资源竞价的IT资源的数量、需要增加的量、以及可将哪些IT资源新增到市场中参与竞价等;或者,在某个时段需要减少可参与资源竞价的IT资源的数量、需要减少的量、以及可将哪些IT资源从市场中撤出等;或者,在满足哪些条件时需要调整参与资源竞价的IT资源在资源市场中的竞价值,如何调整,调整多少值等。其中,资源调控节点在多处使用到机器学习模型,这些机器学习模型可以是多个,也可以是同一个机器学习模型,对此不做限定。Further, considering the complexity of the regulation process, artificial intelligence technology can be combined to regulate the IT resources that can participate in resource bidding in the IT resource layer. Based on this, the resource control node can use the second machine learning model to learn the change law of IT resources participating in resource bidding in combination with the operating status of related IT resources fed back by the resource manager; use the resource control mechanism to control IT based on the learned change law IT resources in the resource layer that can participate in resource bidding. Among them, the law of change learned by the second machine learning model includes but is not limited to: the number of IT resources that need to be increased in a certain period of time to participate in resource bidding, the amount to be increased, and which IT resources can be added to the market to participate in the bidding Etc.; or, in a certain period of time, it is necessary to reduce the number of IT resources that can participate in the resource bidding, the amount to be reduced, and which IT resources can be withdrawn from the market, etc.; or, when the conditions are met, it is necessary to adjust the participation in the resource bidding The competitive value of IT resources in the resource market, how to adjust, how much to adjust, etc. Among them, the resource control node uses machine learning models in multiple places, and these machine learning models can be multiple or the same machine learning model, which is not limited.
进一步,在又一些示例性实施例中,如图1b所示,本实施例的中间层还包括:代理节点。代理节点主要是面向应用层的应用程序提供的,主要用于为应用层中的应用程序向资源调度节点发起资源竞价请求,以申请资源。代理节点的数量可以是一个,也可以是多个,可根据需要使用代理节点的应用程序的数量而定。对任一应用程序来说,如果需要使用代理节点,可以向中间层提出申请,中间层可以为该应用程序部署对应的代理节点。在一种实现上,代理节点可以是Broker(直译为经纪人)节点,但并不限于此。Further, in still other exemplary embodiments, as shown in FIG. 1b, the intermediate layer of this embodiment further includes: a proxy node. The proxy node is mainly provided for applications in the application layer, and is mainly used to initiate a resource bidding request to the resource scheduling node for the application in the application layer to apply for resources. The number of proxy nodes can be one or multiple, depending on the number of applications that need to use proxy nodes. For any application, if you need to use a proxy node, you can apply to the middle layer, and the middle layer can deploy the corresponding proxy node for the application. In one implementation, the agent node may be a Broker (literally translated as a broker) node, but it is not limited to this.
需要说明的是,应用程序可以通过代理节点向资源调度节点发起资源竞价请求,以申请资源,简单来说就是通过代理节点向资源调度节点请求购买资源。当然,应用程序也可以自己直接向资源调度节点发起资源竞价请求,以申请资源。It should be noted that the application program can initiate a resource bidding request to the resource scheduling node through the agent node to apply for resources. In simple terms, it is to request the resource scheduling node to purchase resources through the agent node. Of course, the application program can also directly initiate a resource bidding request to the resource scheduling node to apply for resources.
其中,借助于代理节点的优势,可以更全面、更智能、更合理地分析应 用程序需要的资源信息,这样在保证系统性能的同时,可以进一步降低购买资源消耗的成本。进一步,若该成本与IT资源的功耗相关联,有利于选择功耗成本更低的IT资源,进而降低系统的整体功耗。Among them, with the help of the advantages of proxy nodes, the resource information required by the application can be analyzed more comprehensively, intelligently, and reasonably, so that while ensuring system performance, it can further reduce the cost of purchasing resources. Further, if the cost is related to the power consumption of IT resources, it is beneficial to select IT resources with lower power consumption costs, thereby reducing the overall power consumption of the system.
可选地,为了实现上述目的,可以采用人工智能技术,利用第三机器学习模型,学习代理节点对应的应用程序的运行规律,基于该应用程序的运行规律,可以知道该应用程序需要完成的至少一个任务以及这些任务需要使用的资源信息等;根据至少一个任务需要使用的资源信息,可以生成该应用程序的资源竞价请求。根据资源调度节点所支持的资源竞价方式的不同,该资源竞价请求所包含的信息也会有所不同。Optionally, in order to achieve the above purpose, artificial intelligence technology can be used, using a third machine learning model to learn the operating rules of the application program corresponding to the agent node. Based on the operating rules of the application program, it can be known that the application program needs to complete at least A task and the resource information that these tasks need to use, etc.; based on the resource information that at least one task needs to use, a resource bidding request for the application can be generated. According to different resource bidding methods supported by the resource scheduling node, the information contained in the resource bidding request will also be different.
进一步,资源管理器还可以将有关IT资源的运行状态反馈给代理节点,以辅助代理节点为应用程序生成资源竞价请求。例如,代理节点在为应用程序所需资源给出竞价值的时候,可参考相关IT资源的运行状态。例如,若一些IT资源在未来时段内会被关闭,意味着资源市场中该类IT资源的数量会减少,代理节点可适当提高竞价值。Further, the resource manager can also feed back the running status of related IT resources to the agent node to assist the agent node in generating resource bidding requests for the application. For example, the agent node can refer to the running status of related IT resources when giving competitive value for the resources required by the application. For example, if some IT resources will be closed in the future, it means that the number of such IT resources in the resource market will be reduced, and the agent node can appropriately increase the competitive value.
需要说明的是,图1b给出的仅仅是中间层的一种示例性的实现结构,并不限于此。另外,在图1b所示实施例中,主要对该实现结构中各节点或单元的工作原理进行了概括性介绍,对具体或详细的实现方式不做限定,凡是属于上述概括性介绍范畴内的各种详细实现方式均适用于本申请实施例。例如,关于资源调控节点以何种技术手段达到控制IT资源参与资源竞价或不参与资源竞价的目的,以及调控IT资源层中可参与资源竞价的IT资源的具体实施方式,关于资源调度节点对可参与资源竞价的IT资源进行调度的具体实施方式等,本申请实施例均不做限定,示例性方案会在后续实施例中给出。It should be noted that FIG. 1b shows only an exemplary implementation structure of the intermediate layer, and is not limited to this. In addition, in the embodiment shown in FIG. 1b, the working principle of each node or unit in the implementation structure is mainly introduced in general, and the specific or detailed implementation mode is not limited, and everything falls within the scope of the above general introduction. Various detailed implementation manners are applicable to the embodiments of the present application. For example, with regard to the technical means used by the resource control node to achieve the purpose of controlling IT resources to participate in resource bidding or not to participate in resource bidding, and the specific implementation methods for regulating IT resources that can participate in resource bidding in the IT resource layer, regarding the resource scheduling node Specific implementation manners for scheduling IT resources participating in resource bidding are not limited in the embodiments of this application, and exemplary solutions will be given in subsequent embodiments.
基于上述系统,一种适用于中间层的资源调度方法如图1c所示。该资源调度方法包括:Based on the above system, a resource scheduling method suitable for the middle layer is shown in Figure 1c. The resource scheduling method includes:
11c、获取上层应用的资源需求。11c. Obtain the resource requirements of upper-layer applications.
12c、采用资源竞价与调控机制,结合上层应用的资源需求,对下层IT资源进行资源调度。12c. Use resource bidding and regulation mechanisms, and combine the resource requirements of upper-layer applications to perform resource scheduling on lower-layer IT resources.
进一步,步骤12c的一种实施方式包括:采用资源调控机制,调控下层IT资源中可参与资源竞价的IT资源;采用资源竞价机制,结合上层应用的资源需求,对下层IT资源中可参与资源竞价的IT资源进行调度。需要说明的是,资源竞价与资源调控是资源调度过程中的两个并行操作,两个操作会相互影响,且在执行上没有严格的先后顺序。Further, an implementation manner of step 12c includes: adopting a resource regulation mechanism to regulate the IT resources that can participate in resource bidding in lower-level IT resources; adopting a resource bidding mechanism, combined with the resource requirements of upper-layer applications, can participate in resource bidding for lower-level IT resources IT resources for scheduling. It should be noted that resource bidding and resource regulation are two parallel operations in the resource scheduling process. The two operations will affect each other, and there is no strict order in execution.
进一步,在采用资源调控机制,调控下层IT资源中可参与资源竞价的IT资源的过程中,可以结合下层IT资源中相关IT资源的运行状态,调控下层IT资源中可参与资源竞价的IT资源。例如,若一些IT资源在未来时段内会被关闭,意味着资源市场中该类IT资源的数量会减少,在请求这类IT资源时,可适当提高竞价值。Further, in the process of adopting a resource control mechanism to regulate the IT resources in the lower-level IT resources that can participate in the resource bidding, the operating status of the related IT resources in the lower-level IT resources can be combined to regulate the IT resources in the lower-level IT resources that can participate in the resource bidding. For example, if some IT resources will be closed in the future, it means that the number of such IT resources in the resource market will be reduced. When requesting such IT resources, the competitive value can be appropriately increased.
需要说明的是,在上述系统和方法实施例中,进一步可以将功耗管控和资源竞价与调控机制相结合,以降低功耗为目标,采用资源竞价与调控机制对IT资源进行调度和调控,借助于对IT资源的合理调度和调控,达到降低整体功耗,提升整体能效的目的。It should be noted that in the above system and method embodiments, it is possible to further combine power consumption control and resource bidding and regulation mechanisms, with the goal of reducing power consumption, using resource bidding and regulation mechanisms to schedule and regulate IT resources, With the help of reasonable scheduling and regulation of IT resources, the goal of reducing overall power consumption and improving overall energy efficiency is achieved.
在本申请下述示例性实施例中,将讨论一种资源管理系统100。该资源管理系统100采用资源竞价与调控机制,对其管理的资源进行调度和调控等管理。该资源管理系统100可以作为前述实施例中中间层的一种具体实现,可采用资源竞价与调控机制,结合应用层的资源需求对IT资源层中的IT资源进行调度。但是,资源管理系统100可以管理的资源并不仅限于IT资源层中的IT资源。在本申请下述示例性实施例中,将可被资源管理系统100管理的资源称为可调度资源。这里的管理包括但不限于:可调度资源的申请、调度、调控以及释放等。In the following exemplary embodiments of the present application, a resource management system 100 will be discussed. The resource management system 100 adopts a resource bidding and regulation mechanism to perform management such as scheduling and regulation on the resources it manages. The resource management system 100 can be used as a specific implementation of the intermediate layer in the foregoing embodiment, and can use a resource bidding and control mechanism to schedule IT resources in the IT resource layer in combination with the resource requirements of the application layer. However, the resources that the resource management system 100 can manage are not limited to IT resources in the IT resource layer. In the following exemplary embodiments of the present application, resources that can be managed by the resource management system 100 are referred to as schedulable resources. The management here includes, but is not limited to: application, scheduling, regulation, and release of schedulable resources.
其中,可调度资源是指可对外提供某种服务、功能或资源(例如计算资源、存储资源或网络资源)的资源设备、模块或单元。从资源形态来看,可调度资源可以是IT资源,例如可以是服务器或打印机等物理设备,或者可以是服务器上的CPU、GPU、内存、网卡或硬盘等硬件模块。当然,可调度资 源也可以是软件资源,例如可以是运行于物理设备上的虚拟机、云服务等软件模块或单元。通常来讲,服务器作为一种资源形态,是一种较为常见的可调度资源。Among them, schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing resources, storage resources, or network resources) to the outside. From the perspective of resource form, schedulable resources can be IT resources, for example, physical devices such as servers or printers, or hardware modules such as CPU, GPU, memory, network cards, or hard disks on the server. Of course, schedulable resources can also be software resources, for example, software modules or units such as virtual machines and cloud services running on physical devices. Generally speaking, the server, as a resource form, is a relatively common schedulable resource.
在一些可选实施例中,资源管理系统100负责管理的可调度资源是资源管理系统100内的资源。在另一些可选实施例中,资源管理系统100负责管理的可调度资源是资源管理系统100之外的其它系统内的资源;其它系统授权委托资源管理系统100对其资源进行管理。在又一些可选实施例中,资源管理系统100负责管理的可调度资源也可以是来自多个系统,多个系统具有协助关系,且可共享资源。资源管理系统100负责管理的可调度资源可以是一个,也可以是多个。In some alternative embodiments, the schedulable resources managed by the resource management system 100 are resources in the resource management system 100. In other alternative embodiments, the schedulable resources managed by the resource management system 100 are resources in other systems other than the resource management system 100; other systems are authorized to entrust the resource management system 100 to manage their resources. In still other alternative embodiments, the schedulable resources managed by the resource management system 100 may also come from multiple systems, and multiple systems have an assisting relationship and can share resources. The schedulable resource managed by the resource management system 100 may be one or multiple.
为了更好地对可调度资源进行管理,如图1d所示,资源管理系统100包括:资源调度方101、资源需求方102以及资源调控方104。资源调度方101、资源需求方102以及资源调控方104相配合,可基于资源竞价与调控机制进行资源调度和调控,可让资源调度更加合理化,有利于提高整体资源利用率。In order to better manage schedulable resources, as shown in FIG. 1d, the resource management system 100 includes: a resource scheduler 101, a resource demander 102, and a resource regulator 104. The resource scheduling party 101, the resource demanding party 102, and the resource regulating party 104 cooperate to perform resource scheduling and regulation based on the resource bidding and regulation mechanism, which can make the resource scheduling more reasonable and help improve the overall resource utilization.
其中,资源需求方102代表具有资源需求的一方,可以是具有资源需求的应用程序,或者是负责为具有资源需求的应用程序进行资源申请的功能模块、SDK、插件或独立的服务等。资源需求方102可以有一个或多个,主要负责以竞价方式向资源调度方101申请可调度资源。资源需求方102与应用层中的应用程序类似,这里具有资源需求的应用程序也具有较为广泛的意义,泛指任何针对用户的应用目的所编写的程序代码。Among them, the resource demander 102 represents a party with resource demand, which can be an application with resource demand, or a functional module, SDK, plug-in, or independent service responsible for making resource application for an application with resource demand. There may be one or more resource demanders 102, and they are mainly responsible for applying for schedulable resources from the resource dispatcher 101 in a bidding manner. The resource demander 102 is similar to the application program in the application layer. The application program with resource demand here also has a broader meaning, and generally refers to any program code written for the application purpose of the user.
其中,资源调度方101,主要采用资源竞价机制,对参与资源竞价的可调度资源进行调度。在实现形态上,资源调度方101可以是具有资源调度能力的应用程序、业务系统、服务或硬件设备等,对此不做限定。在本实施例中,资源管理系统100所管理的至少一个可调度资源被划分为两类,一类是参与资源竞价的可调度资源,另一类是未能参与资源竞价的可调度资源。这两类可调度资源是动态变化的,这种动态变化由资源调控方104控制。资源调控方104主要采用资源调控机制,对参与资源竞价的可调度资源进行调控。Among them, the resource scheduling party 101 mainly adopts a resource bidding mechanism to schedule schedulable resources participating in the resource bidding. In terms of implementation form, the resource scheduling party 101 may be an application program, a business system, a service, or a hardware device with resource scheduling capabilities, which is not limited. In this embodiment, at least one schedulable resource managed by the resource management system 100 is divided into two types, one is schedulable resources that participate in resource bidding, and the other is schedulable resources that fail to participate in resource bidding. These two types of schedulable resources change dynamically, and this dynamic change is controlled by the resource regulator 104. The resource control party 104 mainly adopts a resource control mechanism to control schedulable resources participating in resource bidding.
需要说明的是,资源调控方104基于资源调控机制对参与资源竞价的可调度资源进行调控的过程,与资源需求方102和资源调度方101相互配合基于资源竞价机制实现的资源申请与调度过程,是两个并行的操作。下面将分别对资源调控过程与资源申请与调度过程进行说明。It should be noted that the resource control party 104 regulates the schedulable resources participating in resource bidding based on the resource control mechanism, and cooperates with the resource demander 102 and the resource dispatcher 101 to implement the resource application and scheduling process based on the resource bidding mechanism. Are two parallel operations. The process of resource regulation and the process of resource application and scheduling will be respectively described below.
基于资源调控机制的资源调控:Resource regulation based on resource regulation mechanism:
对资源调控方104来说,可监控参与资源竞价的可调度资源在资源市场中的状态信息;根据参与资源竞价的可调度资源在资源市场中的状态信息,对参与资源竞价的可调度资源进行调控。其中,资源调控方104对参与资源竞价的可调度资源的调控,可辅助资源调度方101进行资源调度,有利于资源调度方101更加合理地进行资源调度。For the resource control party 104, it can monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, perform the schedulable resources participating in the resource bidding Regulation. Among them, the resource regulating party 104 regulates and regulates the schedulable resources participating in the resource bidding, and can assist the resource scheduler 101 in resource scheduling, which is beneficial to the resource scheduler 101 to perform resource scheduling more reasonably.
其中,参与资源竞价的可调度资源在资源市场中的状态信息可表征该可调度资源在资源市场中的各种状态,主要包括运行状态和竞价状态。相应地,这些状态信息包括但不限于:表征可调度资源在资源市场中的运行状态的资源参数,以及表征可调度资源在资源市场中的竞价状态的竞价参数等。Among them, the state information of the schedulable resource participating in the resource bidding in the resource market can represent various states of the schedulable resource in the resource market, mainly including the running state and the bidding state. Correspondingly, the status information includes, but is not limited to: resource parameters that characterize the operating status of the schedulable resource in the resource market, and bidding parameters that characterize the bidding status of the schedulable resource in the resource market.
其中,资源参数包括但不限于:与可调度资源的性能相关的资源参数,以及与可调度资源的功耗相关的资源参数。根据可调度资源实现形态的不同,与可调度资源的性能和功耗相关的资源参数也会有所差异。以可调度资源是机柜、服务或CPU为例,则与可调度资源的性能相关的参数包括:CPU主频率、CPU利用率等;与可调度资源的功耗相关的资源参数包括:可调度资源中CPU的额定功率、CPU实际功率等。若可调度资源是主机或机柜,则与可调度资源的功耗相关的资源参数还可以包括:主机或机柜的额定功率、实际功率等。The resource parameters include, but are not limited to: resource parameters related to the performance of schedulable resources, and resource parameters related to the power consumption of schedulable resources. Depending on the implementation form of the schedulable resource, the resource parameters related to the performance and power consumption of the schedulable resource will also be different. Taking the schedulable resource as a cabinet, service or CPU as an example, the parameters related to the performance of the schedulable resource include: CPU main frequency, CPU utilization, etc.; the resource parameters related to the power consumption of the schedulable resource include: schedulable resource The rated power of the CPU, the actual power of the CPU, etc. If the schedulable resource is a host or a cabinet, the resource parameters related to the power consumption of the schedulable resource may also include: the rated power and actual power of the host or the cabinet.
其中,竞价参数可以包括任何与可调度资源参与竞价相关的参数,例如可以包括可调度资源的成交竞价值、基准竞价值、实际竞价值、参与竞价时间、被竞价次数等等。Among them, the bidding parameters may include any parameters related to the bidding of schedulable resources, for example, may include the bid value of the schedulable resource, the benchmark bid value, the actual bid value, the time for participating in the bidding, the number of bidding times, and so on.
基于参与资源竞价的可调度资源在资源市场中的状态信息,可以对参与资源竞价的可调度资源进行调控。可选地,对参与资源竞价的可调度资源进 行调控,包括以下至少一种调控操作:Based on the status information of the schedulable resources participating in the resource bidding in the resource market, the schedulable resources participating in the resource bidding can be regulated. Optionally, the regulation of schedulable resources participating in resource bidding includes at least one of the following regulation operations:
调控操作1:根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源在资源市场中的实际竞价值。Regulation operation 1: According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the actual competitive value of the schedulable resources participating in the resource bidding in the resource market.
调控操作2:根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源的数量。Control operation 2: According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the number of schedulable resources participating in the resource bidding.
关于调控操作1:Regarding regulation operation 1:
在一些可选实施例中,在调控操作1中,可以根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源;向资源调度方发送第一资源竞价请求,第一资源竞价请求包括第一实际竞价值,用以调整第一可调度资源在资源市场中的实际竞价值。In some optional embodiments, in the regulation operation 1, the first schedulable resource whose bid value needs to be adjusted can be determined according to the state information of the schedulable resources participating in the resource bidding in the resource market; The resource bidding request, the first resource bidding request includes the first actual bid value, which is used to adjust the actual bid value of the first schedulable resource in the resource market.
其中,第一可调度资源是有必要调整其在资源市场中的竞价值的可调度资源,例如可以是竞价值过高的可调度资源,或者是竞价值过低的可调度资源,或者是竞价值超出设定范围的可调度资源等。其中,第一可调度资源可以是一个,也可以是多个。Among them, the first schedulable resource is a schedulable resource for which it is necessary to adjust its competitive value in the resource market. For example, it can be a schedulable resource with a high competitive value, or a schedulable resource with a low competitive value, or a bidding. The schedulable resource whose value exceeds the set range, etc. Wherein, the first schedulable resource may be one or multiple.
进一步可选地,可以结合可调度资源的基准竞价值和成交竞价值,来衡量是否有必要调整可调度资源在资源市场中的竞价值。成交竞价值是指与可调度资源在资源市场中被应用程序成功申请到有关的竞价值,例如可以是某次(例如最近一次)被某个应用程序成功申请到的实际竞价值,或者也可以是该可调度资源在一段时间多次被成功申请到的实际竞价值的平均值。对可调度资源来说,其成交竞价值是动态变化的。Further optionally, the benchmark bid value and the transaction bid value of the schedulable resource can be combined to measure whether it is necessary to adjust the bid value of the schedulable resource in the resource market. Transaction bid value refers to the bid value related to the successful application of the schedulable resource in the resource market by the application. For example, it can be the actual bid value successfully applied for by a certain application in a certain time (such as the most recent time), or it can also be It is the average value of the actual competitive value of the schedulable resource that has been successfully applied for multiple times over a period of time. For schedulable resources, its transaction value is dynamically changing.
基准竞价值是指可调度资源在资源市场中参与竞价应该满足的最低竞价值。在本实施例中,允许采用不同方式定义可调度资源的基准竞价值。在一可选实施例中,可以根据表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,来确定可调度资源的基准竞价值,该基准竞价值可以反映可调度资源的功耗。在不同时段,表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数会有所不同,这意味着参与资源竞价的可调度资源的基准竞价值会动态变化。The benchmark bid value refers to the lowest bid value that a schedulable resource should meet to participate in bidding in the resource market. In this embodiment, different methods are allowed to define the benchmark competition value of schedulable resources. In an optional embodiment, the benchmark bid value of the schedulable resource can be determined based on the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market, and the benchmark bid value can reflect the performance of the schedulable resource. Consumption. In different time periods, the resource parameters that characterize the operating status of the schedulable resources participating in the resource bidding in the resource market will be different, which means that the benchmark bid value of the schedulable resources participating in the resource bidding will dynamically change.
基于上述,可以根据表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算参与资源竞价的可调度资源的基准竞价值;从表征参与资源竞价的可调度资源在资源市场中的竞价状态的竞价参数中,获取参与资源竞价的可调度资源的成交竞价值;根据参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源。Based on the above, the benchmark bid value of the schedulable resources participating in the resource bid can be calculated according to the resource parameters that characterize the operating status of the schedulable resources participating in the resource bidding in the resource market; from the characterization that the schedulable resources participating in the resource bidding are in the resource market In the bidding parameters of the bidding state, the transaction bid value of the schedulable resource participating in the resource bid is obtained; according to the benchmark bid value and the transaction bid value of the schedulable resource participating in the resource bidding, the first schedulable resource that needs to adjust the bid value is determined.
进一步可选地,在计算参与资源竞价的可调度资源的基准竞价值的过程中,可以结合机器学习模型,例如成本预测模型,将表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数输入成本预测模型,利用成本预测模型计算参与资源竞价的可调度资源的基准竞价值。利用机器学习模型可提高计算结果的准确度和精确度。Further optionally, in the process of calculating the benchmark bid value of the schedulable resources participating in the resource bidding, a machine learning model, such as a cost prediction model, can be combined to characterize the operation status of the schedulable resources participating in the resource bidding in the resource market. The resource parameters are input to the cost prediction model, and the cost prediction model is used to calculate the benchmark bid value of schedulable resources participating in resource bidding. Using machine learning models can improve the accuracy and precision of the calculation results.
进一步可选地,根据参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源的一种实施方式包括:将参与资源竞价的可调度资源的基准竞价值和成交竞价值进行比较;从参与资源竞价的可调度资源中,获取成交竞价值小于基准竞价值的可调度资源作为第一可调度资源。如果可调度资源的成交竞价值小于其基准竞价值,说明可调度资源的竞价值过低,这类可调度资源的使用成本相对较高,有必要提高其在资源市场中的竞价值。之后,资源调控方104可以向资源调度方101发送的第一资源竞价请求,在第一资源竞价请求中携带大于基准竞价值的第一实际竞价值参与第一可调度资源的竞价。由于第一实际竞价值高于基准竞价值,后续其它应用程序若需要使用第一可调度资源需要给出比第一实际竞价值更高的竞价值,从而达到提高第一可调度资源在资源市场中的竞价值的目的。Further optionally, according to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, an implementation manner for determining the first schedulable resource whose bid value needs to be adjusted includes: setting the benchmark of the schedulable resources participating in the resource bidding Comparing the bid value and the transaction value; from the schedulable resources participating in the resource bidding, obtain the schedulable resource whose transaction value is less than the benchmark bid value as the first schedulable resource. If the transaction bid value of the schedulable resource is less than its benchmark bid value, it indicates that the bid value of the schedulable resource is too low. The cost of using this type of schedulable resource is relatively high, and it is necessary to increase its competitive value in the resource market. After that, the resource regulator 104 may send a first resource bid request to the resource scheduler 101, and the first resource bid request carries a first actual bid value greater than the reference bid value to participate in the bid of the first schedulable resource. Since the first actual bid value is higher than the benchmark bid value, if other applications need to use the first schedulable resource, they need to give a higher bid value than the first actual bid value, so as to improve the first schedulable resource in the resource market. The purpose of the competitive value in.
上述选择成交竞价值小于基准竞价值的可调度资源作为第一可调度资源仅为一种示例性实施方式,并不限于上述示例。例如,也可以选择成交竞价值小于基准竞价值且基准竞价值与成交竞价值的差值大于设定差值阈值的可调度资源作为第一可调度资源。又例如,也可以选择成交竞价值大于基准竞价值且两者之差大于设定差值阈值的可调度资源(竞价值过高)作为第一可调度资源。The foregoing selection of a schedulable resource whose transaction bid value is less than the reference bid value as the first schedulable resource is only an exemplary implementation, and is not limited to the foregoing example. For example, a schedulable resource whose transaction bid value is less than the benchmark bid value and the difference between the benchmark bid value and the transaction bid value is greater than the set difference threshold may also be selected as the first schedulable resource. For another example, a schedulable resource with a transaction bid value greater than the benchmark bid value and a difference greater than the set difference threshold (the bid value is too high) may also be selected as the first schedulable resource.
关于调控操作2:Regarding control operation 2:
在一些可选实施例中,在调控操作2中,可以根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调度资源;向资源调度方发送第二资源竞价请求,第二资源竞价请求包含第二实际竞价值,用以申请第二可调度资源;在申请到第二可调度资源之后,调整第二可调度资源的工作状态至不满足能够参与资源竞价的要求以退出资源竞价。其中,第二实际竞价值应该是一个能够在很大程度上保证资源调控方104成功申请到第二可调度资源的竞价值。例如,在价高者得机制下,第二实际竞价值应该是一个比较高的竞价值;在价低者得机制下,第二实际竞价值应该是一个比较低的竞价值,例如可低于第二实际竞价值的基准竞价值。In some optional embodiments, in the regulation operation 2, the second schedulable resource that needs to withdraw from the resource bid can be determined according to the state information of the schedulable resource participating in the resource bidding in the resource market; the second schedulable resource that needs to withdraw from the resource bidding can be determined; the second schedulable resource is sent to the resource scheduling party Resource bidding request. The second resource bidding request contains a second actual bid value for applying for a second schedulable resource; after applying for the second schedulable resource, adjust the working status of the second schedulable resource to the extent that it is not sufficient to be able to participate in the resource The bid request is to withdraw from the resource bidding. Among them, the second actual competitive value should be a competitive value that can ensure to a large extent that the resource control party 104 successfully applies for the second schedulable resource. For example, under the higher bidder mechanism, the second actual bid value should be a higher bid value; under the lower bidder mechanism, the second actual bid value should be a lower bid value, such as lower than The benchmark bid value of the second actual bid value.
可选地,在确定需要退出资源竞价的第二可调度资源的一可选实施例中,可以根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源。负载量较低,说明可调度资源的利用率不高,其功耗相对较大,将其退出资源竞价,可节约这部分功耗,而且可刺激应用程序竞价利用率较高的可调度资源,可提高其它可调度资源的利用率,有利于降低整体功耗。Optionally, in an optional embodiment of determining the second schedulable resource that needs to withdraw from the resource bidding, the status information of the schedulable resource participating in the resource bidding may be analyzed based on the status information of the schedulable resource participating in the resource bidding. Load: From the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource. The load is low, indicating that the utilization rate of schedulable resources is not high, and its power consumption is relatively large. Withdrawing it from resource bidding can save this part of power consumption and stimulate applications to bid for schedulable resources with higher utilization rates. The utilization rate of other schedulable resources can be improved, which is conducive to reducing the overall power consumption.
在上述可选实施例中,可以单独考虑某个可调度资源的负载情况,除此之外,还可以结合系统所管理的可调度资源的整体负载情况。如果可调度资源的整体负载都比较轻,说明将一些可调度资源退出资源竞价,不会影响到系统性能。基于此,在另一可选实施例中,可以根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;判断负载量低于第二负载量阈值的可调度资源的数量是否大于第一数量阈值;若判断结果为是,从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源;其中,第二负载量阈值大于第一负载量阈值。如果负载量低于第二负载量阈值的可调度资源的数量大于第一数量阈值,说明大多数可调度资源的负载量均较轻,可以将其中负载 量更轻的可调度资源退出资源竞价,可在不影响系统性能的情况下,节约功耗。In the foregoing optional embodiment, the load situation of a certain schedulable resource may be considered separately, and in addition, the overall load situation of the schedulable resource managed by the system may also be combined. If the overall load of schedulable resources is relatively light, it means that some schedulable resources will be withdrawn from resource bidding and will not affect system performance. Based on this, in another alternative embodiment, the load of the schedulable resource participating in the resource bidding may be analyzed according to the state information of the schedulable resource participating in the resource bidding in the resource market; it is determined that the load is lower than the second load. Whether the number of schedulable resources of the threshold is greater than the first number threshold; if the judgment result is yes, obtain the schedulable resource whose load is lower than the first load threshold from the schedulable resources participating in the resource bidding as the second schedulable resource ; Wherein, the second load threshold is greater than the first load threshold. If the number of schedulable resources whose load is lower than the second load threshold is greater than the first number threshold, it means that most of the schedulable resources have lighter load, and the schedulable resources with lighter load can be withdrawn from the resource bidding. It can save power consumption without affecting system performance.
在上述可选实施例中,可以预先设定能够参与资源竞价的工作状态要求,通过将第二可调度资源的工作状态调整至不满足能够参与资源竞价的要求,从而达到将其退出资源竞价的目的。可根据应用需求,灵活设定能够参与资源竞价的工作状态要求。下面给出几种示例:In the above optional embodiment, the working status requirements for being able to participate in resource bidding can be preset, and by adjusting the working status of the second schedulable resource to not meet the requirements for being able to participate in resource bidding, it is possible to withdraw it from resource bidding. purpose. According to application requirements, the working status requirements that can participate in resource bidding can be flexibly set. Several examples are given below:
示例1:可调度资源能够参与资源竞价的工作状态是开机状态。相应地,可以关闭第二可调度资源,从而将其退出资源竞价。Example 1: The working state where schedulable resources can participate in resource bidding is the on state. Correspondingly, the second schedulable resource can be closed to withdraw it from the resource bidding.
示例2:可调度资源能够参与资源竞价的工作状态是其必须处于高于指定级别的低功耗模式。相应地,控制第二可调度资源进入不高于指定级别的低功耗模式,从而将其退出资源竞价。Example 2: The working state of a schedulable resource that can participate in resource bidding is that it must be in a low power consumption mode higher than a specified level. Correspondingly, the second schedulable resource is controlled to enter a low power consumption mode not higher than the specified level, so as to withdraw it from the resource bidding.
示例3:可调度资源能够参与资源竞价的工作状态是其工作频率高于指定频率。相应地,将第二可调度资源的工作频率调整至不高于指定频率,从而将其退出资源竞价。其中,指定级别或指定频率对应于不满足能够参与资源竞价的要求。Example 3: The working state of a schedulable resource that can participate in resource bidding is that its working frequency is higher than the specified frequency. Correspondingly, the working frequency of the second schedulable resource is adjusted to be no higher than the specified frequency, so that it is withdrawn from the resource bidding. Among them, the designated level or designated frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
在另一些可选实施例中,在调控操作2中,还可以根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要增加可参与资源竞价的可调度资源;从未参与资源竞价的可调度资源中,选择可参与资源竞价的第三可调度资源;以及将第三可调度资源的工作状态调整至满足能够参与资源竞价的要求以参与资源竞价。In other optional embodiments, in the control operation 2, it is also possible to determine the need to increase the schedulable resources that can participate in the resource bid based on the status information of the schedulable resources participating in the resource bidding in the resource market; never participate in the resource bidding Among the schedulable resources in, select the third schedulable resource that can participate in the resource bidding; and adjust the working state of the third schedulable resource to meet the requirements of being able to participate in the resource bidding to participate in the resource bidding.
可选地,可以根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;若负载量高于第三负载量阈值的可调度资源的数量大于第二数量阈值,确定需要增加可参与资源竞价的可调度资源。如果负载量高于第三负载量阈值的可调度资源的数量大于第二数量阈值,说明大多数可调度资源的负载量较重,可以参与资源竞价的可调度资源量可能会不够用,系统性能可能会受到不利影响,因此可以新增一些可调度资源参与资源竞价,以保证系统性能。Optionally, according to the state information of the schedulable resources participating in the resource bidding in the resource market, the load of the schedulable resources participating in the resource bid can be analyzed; if the load is higher than the third load threshold, the number of schedulable resources is greater than The second quantity threshold determines that it is necessary to increase the schedulable resources that can participate in the resource bidding. If the number of schedulable resources whose load is higher than the third threshold is greater than the second threshold, it means that most of the schedulable resources have a heavy load, and the schedulable resources that can participate in resource bidding may not be enough, and the system performance May be adversely affected, so some schedulable resources can be added to participate in resource bidding to ensure system performance.
可选地,在从未参与资源竞价的可调度资源中,选择可参与资源竞价的第三可调度资源的过程中,可以结合机器学习模型,例如筛选模型,利用筛选模型从未参与资源竞价的可调度资源中选择可参与资源竞价的第三可调度资源。利用机器学习模型可提高选择效率和准确度。Optionally, among the schedulable resources that have never participated in the resource bidding, the process of selecting the third schedulable resource that can participate in the resource bidding can be combined with a machine learning model, such as a screening model, using the screening model for those that have never participated in the resource bidding. The third schedulable resource that can participate in resource bidding is selected from the schedulable resources. Using machine learning models can improve selection efficiency and accuracy.
其中,将第三可调度资源的工作状态调整至满足能够参与资源竞价的要求以参与资源竞价的方式,与能够参与资源竞价的要求有关。例如,若可调度资源能够参与资源竞价的工作状态是开机状态,可以开启第三可调度资源,从而使其参与资源竞价。又例如,若可调度资源能够参与资源竞价的工作状态必须是其处于高于指定级别的低功耗模式,则可以将第三可调度资源的工作状态调整至高于指定级别的低功耗模式,从而使其参与资源竞价。又例如,若可调度资源能够参与资源竞价的工作状态是其工作频率高于指定频率,则可以将第三可调度资源的工作频率调整至高于指定频率,从而使其参与资源竞价。Among them, adjusting the working state of the third schedulable resource to meet the requirement of being able to participate in resource bidding is related to the requirement of being able to participate in resource bidding. For example, if the working state in which the schedulable resource can participate in the resource bidding is the on state, the third schedulable resource can be turned on to make it participate in the resource bidding. For another example, if the working state of a schedulable resource that can participate in resource bidding must be in a low-power mode higher than a specified level, the working state of the third schedulable resource can be adjusted to a low-power mode higher than the specified level. So as to make it participate in resource bidding. For another example, if the working state of the schedulable resource capable of participating in resource bidding is that its working frequency is higher than the specified frequency, the working frequency of the third schedulable resource can be adjusted to be higher than the specified frequency, so that it can participate in the resource bidding.
需要说明的是,上述实施例仅是资源调控方104采用资源竞价机制对参与资源竞价的可调度资源进行调控的示例性实施方式,上述示例性实施例并不构成对本申请保护范围的限制。It should be noted that the foregoing embodiments are only exemplary implementations in which the resource regulator 104 uses a resource bidding mechanism to regulate schedulable resources participating in resource bidding, and the foregoing exemplary embodiments do not constitute a limitation on the protection scope of the present application.
基于资源竞价机制的资源申请与调度:Resource application and scheduling based on resource bidding mechanism:
在本实施例中,以第一应用程序对应的资源需求方102为例,对基于资源竞价机制的资源申请和资源调度过程进行说明。其中,第一应用程序可以是有资源需求,且有权限使用资源管理系统100所管理的可调度资源的任何应用程序。In this embodiment, the resource demander 102 corresponding to the first application is taken as an example to describe the resource application and resource scheduling process based on the resource bidding mechanism. The first application program may be any application program that has resource requirements and has the authority to use schedulable resources managed by the resource management system 100.
对资源需求方102来说,可为第一应用程序生成资源竞价请求,将该资源竞价请求发送给资源调度方101,以参与资源竞价。对资源调度方101来说,可接收资源需求方102发送的资源竞价请求,根据该资源竞价请求,在参与资源竞价的可调度资源中,为第一应用程序与其它应用程序申请可调度资源。For the resource demander 102, a resource bidding request may be generated for the first application program, and the resource bidding request may be sent to the resource scheduler 101 to participate in the resource bidding. For the resource scheduler 101, the resource bidding request sent by the resource demanding party 102 can be received, and according to the resource bidding request, among the schedulable resources participating in the resource bidding, the first application and other applications can apply for schedulable resources.
进一步,资源调度方101还可以将第一应用程序的资源申请结果返回给资源需求方102。资源需求方102在接收到第一应用程序的资源申请结果之后, 还可以根据该资源申请结果进行后续操作。Further, the resource scheduler 101 may also return the resource application result of the first application to the resource demander 102. After receiving the resource application result of the first application, the resource demander 102 may also perform subsequent operations according to the resource application result.
需要说明的是,资源需求方102为第一应用程序生成资源竞价请求的方式有多种,在不同生成方式中,资源竞价请求携带的信息也会有所不同。相应地,由于资源竞价请求所携带的信息不同,资源调度方101在参与资源竞价的可调度资源中,为第一应用程序与其它应用程序申请可调度资源的实施方式也会有所不同。下面给出几种示例性实施方式:It should be noted that there are multiple ways for the resource demander 102 to generate a resource bid request for the first application, and the information carried in the resource bid request may be different in different generation methods. Correspondingly, due to the different information carried in the resource bidding request, the resource scheduler 101 has different implementation manners for applying for schedulable resources for the first application and other applications among the schedulable resources participating in the resource bidding. Several exemplary implementations are given below:
示例性实施方式A1:Exemplary embodiment A1:
资源需求方102可响应于资源申请需求,生成资源竞价请求,该资源竞价请求包括第一应用程序为申请资源给出的第一实际竞价值;将该资源竞价请求发送给资源调度方101,以供资源调度方101根据第一实际竞价值为第一应用程序与其它应用程序竞价申请目标可调度资源;以及接收资源调度方101返回的第一应用程序对目标可调度资源的申请结果。其中,目标可调度资源是资源管理系统100所管理的至少一个可调度资源中的一个或多个可调度资源。The resource demander 102 may generate a resource bid request in response to the resource application request. The resource bid request includes the first actual bid value given by the first application program for the requested resource; send the resource bid request to the resource dispatcher 101 to The resource scheduler 101 bids for the first application and other applications to apply for the target schedulable resource based on the first actual bid value; and receives the result of the first application's application for the target schedulable resource returned by the resource scheduler 101. The target schedulable resource is one or more schedulable resources among at least one schedulable resource managed by the resource management system 100.
对资源调度方101来说,可接收资源需求方102发送的第一应用程序的资源竞价请求,并可从该资源竞价请求中获取第一应用程序为申请资源给出的第一实际竞价值。除了第一应用程序的资源竞价请求之外,资源调度方101还会接收到其它应用程序的资源竞价请求。在这些应用程序中,可能有一些应用程序会与第一应用程序申请相同的可调度资源,从而与第一应用程序形成竞价关系。为便于描述,将第一应用程序以及与第一应用程序存在竞价关系的其它应用程序所申请的可调度资源称为目标可调度资源。对资源调度方101来说,需要确定出与第一应用程序竞价申请目标可调度资源的其它应用程序以及其它应用程序为申请资源给出的实际竞价值;然后,根据第一应用程序为申请资源给出的第一实际竞价值和与第一应用程序存在竞价关系的其它应用程序为申请资源给出的实际竞价值,确定第一应用程序能否申请到目标可调度资源;并将第一应用程序对目标可调度资源的申请结果返回给资源需求方102。For the resource scheduler 101, the resource bidding request of the first application program sent by the resource demander 102 can be received, and the first actual bid value given by the first application program for the requested resource can be obtained from the resource bidding request. In addition to the resource bidding request of the first application, the resource scheduler 101 will also receive resource bidding requests of other applications. Among these applications, some applications may apply for the same schedulable resources as the first application, thereby forming a bidding relationship with the first application. For ease of description, the schedulable resources applied for by the first application and other applications that have a bidding relationship with the first application are referred to as target schedulable resources. For the resource scheduler 101, it is necessary to determine other applications that compete with the first application to apply for the target schedulable resource and the actual bid value given by the other applications for the requested resource; then, according to the first application for the requested resource The given first actual bid value and the actual bid value given by other applications that have a bidding relationship with the first application for the application resource, determine whether the first application can apply for the target schedulable resource; and apply the first application The application result of the program for the target schedulable resource is returned to the resource demander 102.
其中,第一实际竞价值代表第一应用程序为申请资源实际付出的代价;相应地,其它实际竞价值代表其它应用程序为申请资源实际付出的代价。在本实施例中,并不对第一实际竞价值或其它实际竞价值的实现形式进行限定,例如可以是第一应用程序或其它应用程序对应资源账户中的虚拟资金、实际资金、信用值、积分、能量值或权益值等。Among them, the first actual bid value represents the actual price paid by the first application for the requested resource; correspondingly, other actual bid values represent the actual price paid by other applications for the requested resource. In this embodiment, the realization form of the first actual bid value or other actual bid values is not limited. For example, it may be virtual funds, actual funds, credit values, and points in the resource account corresponding to the first application or other applications. , Energy value or equity value, etc.
在本申请实施例中,资源竞价请求除了包括第一应用程序为申请资源给出的第一实际竞价值之外,还可以包括一些其它信息。例如,资源竞价请求中还可以包括第一应用程序的标识,以及能够标识第一应用程序所需资源的信息等。其中,能够标识第一应用所需资源的信息可以是第一应用程序所需的资源类型,或者,也可以是第一应用程序所需的资源的标识。当然,能够标识第一应用所需资源的信息也可以同时包括第一应用程序所需的资源类型和第一应用程序所需的资源的标识。In the embodiment of the present application, the resource bidding request may include some other information in addition to the first actual bid value given by the first application for the requested resource. For example, the resource bidding request may also include the identification of the first application, and information capable of identifying the resources required by the first application. Wherein, the information capable of identifying the resource required by the first application may be the type of resource required by the first application, or may also be an identifier of the resource required by the first application. Of course, the information capable of identifying the resource required by the first application may also include the resource type required by the first application and the identifier of the resource required by the first application at the same time.
在资源竞价请求中包括能够标识第一应用程序所需资源的信息的情况下,资源调度方101可根据资源竞价请求中包括的能够标识第一应用程序所需资源的信息,在参与资源竞价的可调度资源中,确定第一应用程序需要申请的目标可调度资源;然后,再以目标可调度资源为依据,确定需要申请目标可调度资源的其它应用程序,即与第一应用程序存在竞价关系的应用程序。In the case that the resource bidding request includes information capable of identifying the resources required by the first application, the resource scheduler 101 may, according to the information capable of identifying the resources required by the first application included in the resource bidding request, in the resource bidding request Among schedulable resources, determine the target schedulable resource that the first application needs to apply for; then, based on the target schedulable resource, determine other applications that need to apply for the target schedulable resource, that is, there is a bidding relationship with the first application s application.
在上述示例中,在确定第一应用程序能否申请到目标可调度资源的过程中,采用“价高者得”机制,即资源调度方101会将第一应用程序为申请资源给出的第一实际竞价值和与第一应用程序存在竞价关系的其它应用程序为申请资源给出的实际竞价值进行比较;若第一实际竞价值是最高实际竞价值,确定第一应用程序申请到目标可调度资源;若第一实际竞价值不是最高实际竞价值,确定第一应用程序未能申请到目标可调度资源。除了采用“价高者得”机制之外,也可以采用“价低者得”或“最接近平均值者得”等其它机制。In the above example, in the process of determining whether the first application can apply for the target schedulable resource, the mechanism of "the higher the price gets" is adopted, that is, the resource scheduler 101 will use the first application as the first application given by the application resource. 1. The actual bid value is compared with the actual bid value given by other applications that have a bidding relationship with the first application for the application resource; if the first actual bid value is the highest actual bid value, it is determined that the first application can apply for the target. Scheduling resources; if the first actual bid value is not the highest actual bid value, it is determined that the first application fails to apply for the target schedulable resource. In addition to the "highest price" mechanism, other mechanisms such as "the lowest price" or "the closest average value" can also be used.
在采用“价低者得”机制的情况下,资源调度方101可以将第一应用程序为申请资源给出的第一实际竞价值与其它应用程序(是指与第一应用程序 存在竞价关系的应用程序)为申请资源给出的实际竞价值进行比较;若第一实际竞价值是最低实际竞价值,确定第一应用程序申请到目标可调度资源;若第一实际竞价值不是最低实际竞价值,确定第一应用程序未能申请到目标可调度资源。In the case of the "lowest price" mechanism, the resource scheduler 101 can compare the first actual bid value given by the first application for the requested resource with other applications (referring to the bidding relationship with the first application). Application) compare the actual competitive value given by the application resource; if the first actual competitive value is the lowest actual competitive value, determine that the first application applies for the target schedulable resource; if the first actual competitive value is not the lowest actual competitive value , It is determined that the first application fails to apply for the target schedulable resource.
在采用“最接近平均值者得”机制的情况下,资源调度方101可以计算第一应用程序为申请资源给出的第一实际竞价值与其它应用程序(是指与第一应用程序存在竞价关系的应用程序)为申请资源给出的实际竞价值的平均竞价值;将第一实际竞价和其它应用程序为申请资源给出的实际竞价值分别与该平均竞价值进行比较;若第一实际竞价值是最接近平均竞价值的竞价值,则确定第一应用程序申请到目标可调度资源;若第一实际竞价值不是最接近平均竞价值的竞价值,则确定第一应用程序未能申请到目标可调度资源。In the case of adopting the mechanism of "the one who is closest to the average value", the resource scheduler 101 can calculate the first actual bid value given by the first application for the requested resource and other applications (referring to the existence of a bid with the first application). The relational application) is the average bid value of the actual bid value given by the application resource; compare the actual bid value given by the first actual bid and other applications for the applied resource with the average bid value; if the first actual bid The bid value is the bid value closest to the average bid value, and it is determined that the first application has applied for the target schedulable resource; if the first actual bid value is not the closest to the average bid value, it is determined that the first application has failed to apply To the target schedulable resources.
在本申请上述实施例中,将资源调度与资源竞价机制相结合,资源需求方可根据资源需求情况给出合理的实际竞价值参与资源竞价,资源调度方可根据各资源需求方给出的实际竞价值进行资源调度,有利于对资源进行更加合理地分配,有利于提高整体资源利用率。In the above-mentioned embodiment of this application, resource scheduling is combined with a resource bidding mechanism. The resource demander can give a reasonable actual bid value to participate in resource bidding according to the resource demand situation, and the resource scheduling party can participate in resource bidding according to the actual value given by each resource demander. Resource scheduling with competitive value is conducive to more reasonable allocation of resources and is conducive to improving overall resource utilization.
示例性实施方式A2:Exemplary embodiment A2:
资源需求方102响应于资源申请需求,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息;根据至少一个任务需要使用的资源信息,确定为至少一个任务申请所需资源给出的实际竞价值;根据至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;将资源竞价请求发送给资源调度方101,以供资源调度方101为第一应用程序与其它应用程序竞价申请可调度资源;接收资源调度方101返回的第一应用程序竞价申请可调度资源的结果。The resource demander 102 determines at least one task that needs to be completed by the first application program and the resource information required by the at least one task in response to the resource application demand; and determines the resource required for the at least one task application based on the resource information that needs to be used by the at least one task The actual bid value given; based on the resource information that at least one task needs to use and the actual bid value given for the resource required for at least one task request, a resource bid request is generated; the resource bid request is sent to the resource scheduler 101 for The resource scheduler 101 bids for the first application and other applications to apply for schedulable resources; and receives the result of the first application's bid for schedulable resources returned by the resource scheduler 101.
其中,资源竞价请求中包括每个任务需要使用的资源信息和每个任务对应的实际竞价值。任务需要使用的资源信息可以是需要使用的资源类型,或者是资源标识。Among them, the resource bid request includes the resource information that each task needs to use and the actual bid value corresponding to each task. The resource information that the task needs to use can be the type of resource that needs to be used, or the resource identifier.
对资源调度方101来说,可接收资源需求方102发送的第一应用程序的 资源竞价请求,从该资源竞价请求中获取所述至少一个任务需要的资源信息以及至少一个任务各自对应的实际竞价值。除了第一应用程序的资源竞价请求之外,资源调度方101还会接收到其它应用程序的资源竞价请求。在这些资源竞价请求中,可能有一些应用程序的任务与第一应用程序的任务会申请相同的可调度资源,从而与第一应用程序形成竞价关系。对资源调度方101来说,可以第一应用程序需要完成的任务为单位,在参与资源竞价的可调度资源中,为每个任务与其它任务竞价申请可调度资源。对第一应用程序需要完成的任一任务,资源调度方101可以确定与该任务申请相同资源的其它任务以及其它任务对应的实际竞价值;然后,根据该任务对应的实际竞价值和其它任务对应的实际竞价值,确定该任务能否申请到所需的可调度资源。之后,资源调度方101可以将第一应用程序需要完成的各任务的资源申请结果反馈给资源需求方102。For the resource scheduler 101, the resource bidding request of the first application program sent by the resource demanding party 102 can be received, and the resource information required by the at least one task and the actual bidding corresponding to each of the at least one task can be obtained from the resource bidding request. value. In addition to the resource bidding request of the first application, the resource scheduler 101 will also receive resource bidding requests of other applications. Among these resource bidding requests, there may be some application tasks that apply for the same schedulable resources as the tasks of the first application program, thereby forming a bidding relationship with the first application program. For the resource scheduler 101, a task that needs to be completed by the first application program can be used as a unit, and among the schedulable resources participating in the resource bidding, each task bids with other tasks to apply for schedulable resources. For any task that the first application needs to complete, the resource scheduler 101 can determine other tasks that apply for the same resource as the task and the actual competition value corresponding to other tasks; then, the actual competition value corresponding to the task corresponds to other tasks. To determine whether the task can apply for the required schedulable resources. After that, the resource scheduler 101 may feed back to the resource demander 102 the resource application result of each task to be completed by the first application program.
可选地,资源调度方101可以在得到第一应用程序需要完成的各任务的资源申请结果后,一并将各任务的资源申请结果反馈给资源需求方102;或者,也可以每得到一个任务的资源申请结果向资源需求方102反馈一个。Optionally, the resource scheduler 101 may, after obtaining the resource application result of each task that needs to be completed by the first application, feed back the resource application result of each task to the resource demander 102; or, it may also obtain each task every time. The result of the resource application is fed back to the resource demander 102.
在一可选实施例中,资源需求方102可以结合机器学习模型,例如运行规律预测模型,学习第一应用程序的运行规律;根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息。当然,除了利用机器学习模型之外,也可以由人工或借助于某种分析工具,来分析第一应用程序的运行规律。无论是人工、借助于分析工具或者是利用机器学习模型,都可以结合第一应用程序在历史同时段或指定时段内产生的日志数据分析第一应用程序的运行规律。通过第一应用程序的运行规律可以了解到:第一应用程序在哪些时段运行、需要处理哪些任务、这些任务使用了哪些资源、这些任务的性能要求等信息。In an optional embodiment, the resource demander 102 may combine a machine learning model, such as an operation rule prediction model, to learn the operation rule of the first application program; according to the operation rule of the first application program, determine what the first application program needs to complete At least one task and at least one task needs to use resource information. Of course, in addition to using the machine learning model, it is also possible to analyze the operating law of the first application program manually or with the aid of a certain analysis tool. Whether it is manually, by means of analysis tools, or by using a machine learning model, the operation law of the first application program can be analyzed in combination with the log data generated by the first application program at the same period of history or within a specified time period. Through the running law of the first application program, it is possible to know: during which time period the first application program runs, which tasks need to be processed, which resources are used by these tasks, and the performance requirements of these tasks.
在一可选实施例中,在确定为至少一个任务申请所需资源给出的实际竞价值的过程中,可以结合可调度资源的参考竞价值。其中,可调度资源的参考竞价值可以是其当前的基准竞价值、当前的实际竞价值或历史最高的实际 竞价值等。随着时间的推移,可调度资源的资源参数会发生变化,其基准竞价值也会随之变化。基于此,可以根据至少一个任务需要使用的资源信息,从已知可调度资源信息中确定候选可调度资源及其参考竞价值;根据本次资源申请的预算总价和候选可调度资源的参考竞价值,确定为至少一个任务申请所需资源给出的实际竞价值。其中,候选可调度资源是指至少一个任务有可能会申请使用的可调度资源,以这些可调度资源的相关竞价值作为参考,可以更加准确、合理地为至少一个任务申请所需资源给出实际竞价值。其中,已知可调度资源信息包括参与资源竞价的可调度资源的参考竞价值,这些信息可由市场调度方101或资源调控方104透传给资源需求方102。In an optional embodiment, in the process of determining the actual competitive value given for the resource required for at least one task application, the reference competitive value of the schedulable resource may be combined. Among them, the reference bid value of the schedulable resource can be its current benchmark bid value, current actual bid value or historically highest actual bid value, etc. As time goes by, the resource parameters of schedulable resources will change, and their benchmark competitive value will also change accordingly. Based on this, the candidate schedulable resource and its reference bid value can be determined from the known schedulable resource information according to the resource information that at least one task needs to use; according to the total budget price of this resource application and the reference bidding price of the candidate schedulable resource Value, determined as the actual competitive value given by the resources required for at least one task application. Among them, the candidate schedulable resource refers to the schedulable resource that at least one task is likely to apply for. Using the relative competitive value of these schedulable resources as a reference, the actual resource required for at least one task application can be given more accurately and reasonably. Competitive value. Wherein, the known schedulable resource information includes the reference bid value of the schedulable resource participating in the resource bidding, and this information can be transparently transmitted to the resource demander 102 by the market scheduler 101 or the resource regulator 104.
在一可选实施例中,该系统100还包括:资源管控方103。资源管控方103可以向系统提供可调度资源,还可以对可调度资源进行各种管控,例如功耗控制。被管控可调度资源主要是指被执行功耗控制操作的可调度资源,这些可调度资源的运行状态会发生变化,这些变化会影响参与资源竞价的可调度资源的数量,进而可间接影响资源需求方102为各任务给出的实际竞价值。基于此,在为至少一个任务申请所需资源给出实际竞价值之后,资源需求方102还可以根据资源管控方103反馈的被管控可调度资源在未来时段内的运行状态信息,对为至少一个任务申请所需资源给出的实际竞价值进行调整。In an optional embodiment, the system 100 further includes: a resource management and control party 103. The resource management and control party 103 can provide schedulable resources to the system, and can also perform various management and control on the schedulable resources, such as power consumption control. Managed schedulable resources mainly refer to schedulable resources that are subjected to power consumption control operations. The running status of these schedulable resources will change. These changes will affect the number of schedulable resources participating in resource bidding, which can indirectly affect resource demand. The actual competitive value given by the party 102 for each task. Based on this, after applying for the required resources for at least one task and giving the actual competitive value, the resource demander 102 can also use the resource management and control party 103 to feed back the operation status information of the managed and schedulable resources in the future period, which is at least one The actual competitive value given by the resources required for the task application will be adjusted.
例如,可以根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,判断至少一个任务所需资源的数量在未来时段内是否少于第三数量阈值;若判断结果为是,说明至少一个任务所需的资源量会比较紧缺,为了提高成功申请到所需资源的概率,可增大为至少一个任务申请所需资源给出的实际竞价值。For example, it can be determined whether the number of resources required for at least one task is less than the third number threshold in the future period according to the running status information of the managed and schedulable resources fed back by the resource management and control party; if the result of the judgment is yes, It means that the amount of resources required for at least one task will be relatively scarce. In order to increase the probability of successfully applying for the required resources, the actual competitive value given for the resources required for at least one task application can be increased.
进一步,在为至少一个任务申请所需资源给出实际竞价值之后,可以根据至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求。Further, after the actual bid value is given for the resources required for the at least one task application, a resource bid request may be generated based on the resource information required for the at least one task and the actual bid value given for the resources required for the at least one task application.
在一可选实施例中,可以针对每个任务分别生成资源竞价请求,每个任务的资源竞价请求包括该任务需要使用的资源信息和为该任务申请所需资源 给出的实际竞价值。或者,也可以将至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值封装到同一资源竞价请求中。In an alternative embodiment, resource bidding requests may be generated for each task separately, and the resource bidding request for each task includes the resource information that the task needs to use and the actual bid value given for the required resources for the task application. Or, it is also possible to encapsulate the resource information required for at least one task and the actual bid value given for the resource required for the at least one task application into the same resource bidding request.
无论是哪种实施方式,对资源调度方101来说,都可以拿到每个任务需要使用的资源信息和为每个任务申请所需资源给出的实际竞价值,进而可以以任务为单位,为每个任务进行资源竞价。Regardless of the implementation mode, the resource scheduler 101 can obtain the resource information that each task needs to use and the actual competitive value given for the required resources for each task application, and then the task can be used as a unit. Bidding resources for each task.
在该示例性实施例中,资源需求方102确定第一应用程序需要完成的任务,以任务为单位确定其需要的资源信息,这有利于为第一应用程序选择更为合理地资源,有利于减少不必要的资源浪费,节约功耗。In this exemplary embodiment, the resource demander 102 determines the tasks that the first application program needs to complete, and determines the resource information it needs in units of tasks. This is conducive to selecting more reasonable resources for the first application program. Reduce unnecessary waste of resources and save power consumption.
示例性实施方式A3:Exemplary embodiment A3:
资源需求方102响应于资源申请需求,确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;将资源竞价请求发送给资源调度方101,以供资源调度方101为第一应用程序与其它应用程序竞价申请可调度资源;接收资源调度方101返回的第一应用程序竞价申请可调度资源的结果。In response to the resource application demand, the resource demander 102 determines the number of resources that the first application needs to apply for this time and the total budget price of this resource application; based on the number of resources that need to be applied this time and the total budget price of this resource application, Generate a resource bid request; send the resource bid request to the resource scheduler 101 for the resource scheduler 101 to bid for the first application with other applications for schedulable resources; receive the first application bid request returned by the resource scheduler 101 The result of schedulable resources.
其中,资源竞价请求中包括第一应用程序本次需要申请的资源数量和本次资源申请的预算总价。Among them, the resource bidding request includes the number of resources that the first application needs to apply for this time and the total budget price of this resource application.
可选地,资源需求方102可以根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务及至少一个任务需要使用的资源信息;根据至少一个任务需要使用的资源信息,确定第一应用程序本次需要申请的资源数量。Optionally, the resource demander 102 may determine the at least one task that the first application program needs to complete and the resource information that the at least one task needs to use according to the running law of the first application program; determine the resource information that needs to be used by the at least one task The number of resources that the first application needs to apply for this time.
在一可选实施例中,资源需求方102可以结合机器学习模型,例如运行规律预测模型,学习第一应用程序的运行规律;根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息。关于机器学习模型的相关描述可参见前述实施例,在此不再赘述。In an optional embodiment, the resource demander 102 may combine a machine learning model, such as an operation rule prediction model, to learn the operation rule of the first application program; according to the operation rule of the first application program, determine what the first application program needs to complete At least one task and at least one task needs to use resource information. For related descriptions of the machine learning model, please refer to the foregoing embodiments, which will not be repeated here.
对资源调度方101来说,可接收资源竞价请求,该资源竞价请求包括: 第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据第一应用程序本次需要申请的资源数量和本次资源申请的预算总价,从参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值;根据至少一个待申请资源的实际竞价值,为第一应用程序与其它应用程序竞价申请至少一个待申请资源,并返回所述第一应用程序的资源申请结果。For the resource scheduler 101, a resource bidding request can be received. The resource bidding request includes: the number of resources that the first application needs to apply for this time and the total budget of this resource application; according to the first application's current needs From the schedulable resources participating in the resource bidding, determine at least one resource to be applied for and its actual bid value; based on the actual bid value of at least one resource to be applied for, it is the first application The program bids with other applications to apply for at least one resource to be applied for, and returns the resource application result of the first application.
在一可选实施例中,资源调度方101可以根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次资源申请的预算总价和至少一个待申请资源的参考竞价值,确定至少一个待申请资源的实际竞价值。In an optional embodiment, the resource scheduler 101 may determine at least one resource to be applied for among the schedulable resources participating in resource bidding according to the number of resources to be applied for this time; according to the total budget price of this resource application and at least The reference bid value of a resource to be applied for is to determine the actual bid value of at least one resource to be applied for.
其中,待申请资源的参考竞价值包括但不限于:待申请资源当前的基准竞价值、在资源市场中的最大实际竞价值或在资源市场中的平均竞价值。Among them, the reference competitive value of the resource to be applied for includes, but is not limited to: the current benchmark competitive value of the resource to be applied for, the maximum actual competitive value in the resource market, or the average competitive value in the resource market.
在一可选实施例中,资源调度方101可以根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次需要申请的资源数量和本次资源申请的预算总价,计算平均竞价值作为至少一个待申请资源的实际竞价值。In an optional embodiment, the resource scheduler 101 may determine at least one resource to be applied for among the schedulable resources participating in resource bidding according to the number of resources to be applied for this time; according to the number of resources to be applied for this time and the number of resources that need to be applied for this time The total budgeted price of resource applications is calculated and the average bid value is calculated as the actual bid value of at least one resource to be applied for.
在获取每个待申请资源的实际竞价值之后,资源调度方可以根据每个待申请资源的实际竞价值,为第一应用程序与其它应用程序竞价申请每个待申请资源。在该竞价申请过程中,可以采用价高者得机制、价低者得机制或最近接平均值者得机制等,关于不同机制下的详细竞价过程可参见前述实施例中的描述,在此不再赘述。After obtaining the actual bid value of each resource to be applied for, the resource dispatcher can bid for each resource to be applied for for the first application program and other applications according to the actual bid value of each resource to be applied for. In the bidding application process, the higher bidder’s mechanism, the lower bidder’s mechanism or the nearest average taker mechanism, etc. can be used. For detailed bidding processes under different mechanisms, please refer to the description in the foregoing embodiment. Go into details again.
在本实施例中,资源需求方102只需将第一应用程序需要的资源数量和预算总价提供给资源调度方101,其它操作均由资源调度方101实施,资源需求方102的负担相对较轻,便于实施。In this embodiment, the resource demander 102 only needs to provide the resource scheduler 101 with the amount of resources and the total budget required by the first application. Other operations are performed by the resource scheduler 101, and the resource demander 102 has a relatively large burden. Light and easy to implement.
需要说明的是,在本申请各实施例中,可将功耗管控、资源竞价与调控机制相结合,资源调控方104作为功耗管控方,可结合至少一个可调度资源的整体功耗情况,以降低整体功耗为目标,对参与资源竞价的可调度资源进行调控。一方面可以提高资源调度的合理性,另一方面可以降低整体功耗, 提升整体能效。其中,将功耗管控、资源竞价与调控机制相结合的方式有多种,下面实施例给出一种结合方式。It should be noted that in each embodiment of the present application, power consumption management and control, resource bidding, and regulation mechanisms can be combined. As the power consumption control party, the resource regulator 104 can combine the overall power consumption of at least one schedulable resource. With the goal of reducing overall power consumption, the schedulable resources participating in resource bidding are regulated. On the one hand, it can improve the rationality of resource scheduling, on the other hand, it can reduce overall power consumption and improve overall energy efficiency. Among them, there are many ways to combine power consumption control, resource bidding, and regulation mechanisms. The following embodiment provides a combination method.
在该实施例中,将可调度资源的竞价值与可调度资源的功耗相结合。例如,资源调度方104在计算可调度资源的基准竞价值的过程中,考虑可调度资源的功耗成本;进一步,在对参与资源竞价的可调度资源进行调度的过程中,以可调度资源的基准竞价值为依据,这相当于以可调度资源的功耗成本为依据对参与资源竞价的可调度资源进行调度。另外,各应用程序申请资源给出的实际竞价值或者参考可调度资源的基准竞价值,或者受可调度资源的基准竞价值的影响,因此,各应用程序给出的实际竞价值也体现了可调度资源的功耗成本。In this embodiment, the competitive value of the schedulable resource is combined with the power consumption of the schedulable resource. For example, the resource scheduler 104 considers the power consumption cost of the schedulable resource in the process of calculating the benchmark bid value of the schedulable resource; further, in the process of scheduling the schedulable resource participating in the resource bidding, the schedulable resource Based on the benchmark bid value, this is equivalent to scheduling the schedulable resources participating in the resource bidding on the basis of the power consumption cost of the schedulable resource. In addition, the actual competitive value given by each application for application resources either refers to or is affected by the benchmark competitive value of schedulable resources. Therefore, the actual competitive value given by each application also reflects the schedulable resource’s benchmark competitive value. The power consumption cost of scheduling resources.
其中,对可调度资源的功耗成本具有影响的因素包括:可调度资源自身的功耗。其中,可调度资源的资源参数(例如额定功率、实际功率等)一定程度上可以体现可调度资源自身的功耗。资源调控方104可根据可调度资源的资源参数计算可调度资源的功耗。除此之外,对可调度资源的功耗成本具有影响的因素还包括很多其它因素。在本实施例中,重点考虑可调度资源所依赖的基础设施的功耗这个因素。基础设施是指为可调度资源提供基础服务的设施。根据可调度资源的不同,基础设施也会有所区别,对此不做限定。以可调度资源是服务器为例,基础设施可以包括为服务器提供支撑服务的机柜,为服务器降温的空调设备、风扇或水冷设备,为服务器供电的电力设备,为服务器提供网络连接的交换机,等等。Among them, factors that have an impact on the power consumption cost of the schedulable resource include: the power consumption of the schedulable resource itself. Among them, the resource parameters (such as rated power, actual power, etc.) of the schedulable resource can reflect the power consumption of the schedulable resource to a certain extent. The resource regulator 104 may calculate the power consumption of the schedulable resource according to the resource parameter of the schedulable resource. In addition, factors that have an impact on the power consumption cost of schedulable resources include many other factors. In this embodiment, the main consideration is the power consumption of the infrastructure on which the schedulable resource depends. Infrastructure refers to the facilities that provide basic services for schedulable resources. According to the different schedulable resources, the infrastructure will be different, and there is no restriction on this. Take the server as an example of a schedulable resource. The infrastructure can include cabinets that provide support services for the servers, air-conditioning equipment, fans or water-cooling equipment for cooling the servers, power equipment for powering the servers, switches that provide network connections for the servers, etc. .
基于上述,资源调控方104根据表征可调度资源在资源市场中的运行状态的资源参数,计算可调度资源的基准竞价值的一种实施方式包括:根据表征可调度资源在资源市场中的运行状态的资源参数,计算可调度资源的功耗;根据可调度资源的及可调度资源所依赖的基础设施的功耗数据预测可调度资源的功耗代价;根据可调度资源的功耗代价,确定可调度资源的基准竞价值。其中,将可调度资源所依赖的基础设施的功耗折算到可调度资源的功耗代价中,对可调度资源的功耗代价的衡量会更加合理,有利于提高资源调度的合 理性。Based on the above, the resource control party 104 calculates the benchmark bid value of the schedulable resource according to the resource parameter that characterizes the operating state of the schedulable resource in the resource market. One embodiment includes: according to the operating state of the schedulable resource in the resource market. Calculate the power consumption of the schedulable resource; predict the power consumption cost of the schedulable resource according to the power consumption data of the schedulable resource and the infrastructure on which the schedulable resource depends; determine the power consumption cost of the schedulable resource The benchmark competition value of scheduling resources. Among them, the power consumption of the infrastructure on which the schedulable resource depends is converted into the power consumption cost of the schedulable resource, and the measurement of the power consumption cost of the schedulable resource will be more reasonable, which is conducive to improving the rationality of resource scheduling.
其中,可调度资源的功耗代价越大,表示可调度资源对系统能耗的贡献越高,其功耗代价越高,其基准竞价值就越高;反之,可调度资源的功耗代价越小,表示可调度资源对系统能耗的贡献相对较低,其功耗代价越低,其基准竞价值就越低。Among them, the greater the power consumption cost of the schedulable resource, the higher the contribution of the schedulable resource to the system energy consumption, the higher the power consumption cost, and the higher the benchmark competition value; conversely, the higher the power consumption cost of the schedulable resource Small means that the schedulable resource has a relatively low contribution to the system's energy consumption. The lower the power consumption cost, the lower the benchmark competition value.
下面结合IDC场景中的两个例子对本申请技术方案带来的效果进行说明:The following describes the effects brought about by the technical solution of the present application in combination with two examples in the IDC scenario:
第一个例子:通过合理地资源调控,可降低IDC整体功耗The first example: Through reasonable resource regulation, the overall power consumption of IDC can be reduced
假设图1e所示IDC的机房中有两个机柜,分别是机柜1和机柜2。机柜1上运行有4台服务器,机柜2上运行有2台服务器。为了降低机柜1上服务器的温度,机柜1的冷却系统正常运行需要1200w。类似的,机柜2的冷却系统正常运行需要1000w。机柜1中每台服务器的平均功耗是1200w/4=300w,机柜2中每台服务器的平均功耗是1000w/2=500w。Assume that there are two cabinets in the IDC computer room shown in Figure 1e, cabinet 1 and cabinet 2, respectively. There are 4 servers running on cabinet 1 and 2 servers running on cabinet 2. In order to reduce the temperature of the server in the cabinet 1, the cooling system of the cabinet 1 needs 1200w for normal operation. Similarly, the cooling system of cabinet 2 needs 1000w for normal operation. The average power consumption of each server in the cabinet 1 is 1200w/4=300w, and the average power consumption of each server in the cabinet 2 is 1000w/2=500w.
一方面,资源调控方104可以通过更高的实际竞价值来竞购机柜2中的服务器,从而提高机柜2中服务器在资源市场中的实际竞价值。对应用程序来说会考虑购买更便宜的资源而不是更贵的资源,因此,可以阻止应用程序购买机柜2中的服务器资源,这样机柜2中的服务器资源可以退出资源竞价,节约整体功耗。On the one hand, the resource regulator 104 can bid for the servers in the cabinet 2 with a higher actual bid value, thereby increasing the actual competitive value of the servers in the cabinet 2 in the resource market. For the application program, it will consider buying cheaper resources rather than more expensive resources. Therefore, the application program can be prevented from purchasing the server resources in the cabinet 2, so that the server resources in the cabinet 2 can withdraw from the resource bidding and save the overall power consumption.
另一方面,资源调控方104可以通过降低机柜1中服务器的实际竞价值,以吸引更多应用程序购买机柜1中的服务器资源,充分发挥低功耗设备的优势,节约整体功耗。On the other hand, the resource control party 104 can reduce the actual competitive value of the servers in the cabinet 1 to attract more applications to purchase the server resources in the cabinet 1 so as to give full play to the advantages of low-power devices and save overall power consumption.
第二个例子:通过合理地资源调度,降低服务器的功耗The second example: reduce the power consumption of the server through reasonable resource scheduling
假设一应用程序需要一台具有性能为100的服务器运行1小时,该应用程序可控制的预算总价是1150,而当前有三台服务器,分别是服务器1(性能:95,竞价值:850)、服务器2(性能:90,竞价值:700)以及服务器3(性能:110,竞价值:1200)。其中,竞价值代表服务器的功耗成本;竞价值高,代表功耗成本高;竞价值低,代表功耗成本低。Assuming that an application requires a server with a performance of 100 to run for 1 hour, the total budget that the application can control is 1150, and there are currently three servers, namely Server 1 (performance: 95, competitive value: 850), Server 2 (performance: 90, competitive value: 700) and server 3 (performance: 110, competitive value: 1200). Among them, the competitive value represents the power consumption cost of the server; the high competitive value represents the high power consumption cost; the low competitive value represents the low power consumption cost.
按照传统的资源调度方案,会直接将资源3分配给应用程序,实际功耗成本是1200*1小时。但是,在本实施例中,基于资源竞价方式,资源需求方102或资源调度方104可感知不同服务器的功耗成本,可以更加合理地进行资源分配。例如,资源需求方102或资源调度方104可以根据应用程序需要完成的任务情况,购买资源2半个小时,然后购买资源3半小时,这样整体功耗成本是半小时资源2的功耗350加上半小时资源3的功耗600,一共为950。与功耗1200相比,本实施例的调度方法节省了250,但用户得到的资源性能并未损失,但是实际功耗却减少了。According to the traditional resource scheduling scheme, resource 3 will be directly allocated to the application, and the actual power consumption cost is 1200*1 hour. However, in this embodiment, based on the resource bidding method, the resource demander 102 or the resource scheduler 104 can perceive the power consumption costs of different servers, and can allocate resources more reasonably. For example, the resource demander 102 or the resource scheduler 104 can purchase resources for 2 and a half hours according to the task that the application needs to complete, and then purchase resources for 3 and a half hours, so that the overall power consumption cost is half an hour of the power consumption of resource 2 plus 350 The power consumption of resource 3 in the first half hour is 600, which is 950 in total. Compared with the power consumption of 1200, the scheduling method of this embodiment saves 250, but the resource performance obtained by the user is not lost, but the actual power consumption is reduced.
在此说明,上述资源调度系统100中的资源调度方101、资源需求方102、资源调控方104以及资源管控方103,分别对应于图1b所示系统实施例中的资源调度节点、应用层、资源调控节点以及资源管理器。关于对资源调度节点、应用层、资源调控节点以及资源管理器的详细描述,可参见图1d所示实施例中对资源调度方101、资源需求方102、资源调控方104以及资源管控方103的描述,在此不再赘述。It is explained here that the resource scheduler 101, the resource demander 102, the resource regulator 104, and the resource management controller 103 in the resource scheduling system 100 described above correspond to the resource scheduling node, application layer, and application layer in the system embodiment shown in FIG. 1b, respectively. Resource control node and resource manager. For a detailed description of the resource scheduling node, application layer, resource control node, and resource manager, refer to the description of the resource scheduling party 101, the resource demanding party 102, the resource regulating party 104, and the resource managing party 103 in the embodiment shown in FIG. 1d. The description will not be repeated here.
在部署实施上,本申请上述实施例提供的资源管理系统100可以采用集中式部署方式,即资源调度方101、资源需求方102、资源管控方103和资源调控方104部署在同一物理设备(如服务器、笔记本或台式机)、虚拟机或容器等中实现;或者,也可以采用分布式部署方式,即资源调度方101、资源需求方102、资源管控方103和资源调控方104分布部署在多台物理设备、虚拟机或容器等中实现。例如,资源调度方101、资源需求方102、资源管控方103和资源调控方104分别部署在四台不同的服务器中实现。又例如,资源调度方101和资源需求方102部署在一台服务器中实现,资源管控方103和资源调控方104部署在另一台服务器中实现。当然,资源调度方101、资源需求方102、资源管控方103和资源调控方104也可以根据需要部署在云端。In terms of deployment and implementation, the resource management system 100 provided in the above-mentioned embodiment of the present application can adopt a centralized deployment mode, that is, the resource scheduler 101, the resource demander 102, the resource management and control party 103, and the resource control party 104 are deployed on the same physical device (e.g., Servers, laptops or desktops), virtual machines or containers; alternatively, a distributed deployment method can also be adopted, that is, the resource scheduler 101, the resource demander 102, the resource control party 103, and the resource control party 104 are deployed in multiple locations. It can be implemented in a physical device, virtual machine, or container. For example, the resource scheduling party 101, the resource demanding party 102, the resource management and control party 103, and the resource control party 104 are respectively deployed in four different servers. For another example, the resource scheduling party 101 and the resource demanding party 102 are deployed in one server, and the resource management and control party 103 and the resource control party 104 are deployed in another server. Of course, the resource scheduling party 101, the resource demanding party 102, the resource management and control party 103, and the resource control party 104 can also be deployed in the cloud as required.
本实施例提供的资源管理系统100可被部署到任何具有资源调度和调控需求的应用场景中,例如可以被部署到机房系统中,也可以被部署到数据中 心系统等。下面实施例将分别提供一种基于市场竞争机制进行资源管理的机房系统和数据中心系统。The resource management system 100 provided in this embodiment can be deployed in any application scenario with resource scheduling and control requirements, for example, it can be deployed in a computer room system, or can be deployed in a data center system. The following embodiments will respectively provide a computer room system and a data center system for resource management based on a market competition mechanism.
图2为本申请示例性实施例提供的一种机房系统的结构及工作原理示意图。如图2所示,本实施例的机房系统200包括:机房,机房是指存放机器设备的物理场所,例如可以是一个房间或厂房等。机房系统200可以单独建设,也可以置于其他建筑之内。进一步,如图2所示,机房系统200还包括:位于机房内的至少一个物理设备201、资源调度设备202、资源申请设备203和资源调控设备204。本实施例并不限定物理设备201的数量,可以是一台,也可以是多台。FIG. 2 is a schematic diagram of the structure and working principle of a computer room system provided by an exemplary embodiment of this application. As shown in FIG. 2, the computer room system 200 of this embodiment includes: a computer room. The computer room refers to a physical place where machinery and equipment are stored, such as a room or a factory building. The computer room system 200 can be constructed separately or placed in other buildings. Further, as shown in FIG. 2, the computer room system 200 further includes: at least one physical device 201, a resource scheduling device 202, a resource application device 203, and a resource control device 204 located in the computer room. This embodiment does not limit the number of physical devices 201, and it may be one or multiple.
在本实施例中,并不限定物理设备201的设备形态。如图2所示,物理设备201可以是机房内的IT类设备和为IT类设备降温的制冷设备,例如空调设备。举例说明,至少一个物理设备201可以包括但不限于:机柜设备、服务器设备、终端设备、打印机、集线器、电源设备、存储设备、网络交换设备以及空调设备、水冷设备等。服务器设备可以是包括但不限于:常规服务器、服务器阵列或云服务器等。电源设备可以是蓄电池设备、干电池设备、或不间断电源(UPS)等。存储设备可以包括但不限于:磁盘、磁盘阵列、硬盘、网络存储设备(NAS)等。In this embodiment, the device form of the physical device 201 is not limited. As shown in FIG. 2, the physical device 201 may be an IT-type device in a computer room and a refrigeration device for cooling the IT-type device, such as an air-conditioning device. For example, the at least one physical device 201 may include, but is not limited to: cabinet equipment, server equipment, terminal equipment, printers, hubs, power supply equipment, storage equipment, network switching equipment, air conditioning equipment, water cooling equipment, and so on. The server device may include, but is not limited to, a conventional server, a server array, or a cloud server. The power supply equipment can be storage battery equipment, dry battery equipment, or uninterruptible power supply (UPS). Storage devices may include, but are not limited to: disks, disk arrays, hard disks, network storage devices (NAS), and so on.
同理,本实施例也不限定资源调度设备202、资源申请设备203和资源调控设备204的设备形态。资源调度设备202、资源申请设备203和资源调控设备204可以是任何具有一定计算和处理能力的计算机设备,例如可以是智能手机、笔记本电脑、台式电脑、平板电脑或智能手表等终端设备,也可以是常规服务器、云服务器或服务器阵列等服务器设备。Similarly, this embodiment does not limit the device forms of the resource scheduling device 202, the resource application device 203, and the resource control device 204. The resource scheduling device 202, the resource application device 203, and the resource control device 204 can be any computer devices with certain computing and processing capabilities, such as smart phones, laptops, desktop computers, tablet computers, smart watches, and other terminal devices, or they can be Server equipment such as conventional servers, cloud servers, or server arrays.
在本实施例中,从资源调度和调控的角度,将机房内的物理设备201划分为至少一个可调度资源和至少一个基础设施。其中,可调度资源是指机房内可对外提供某种服务、功能或资源(例如计算、存储或网络)的资源设备、模块或单元。举例说明,可调度资源可以是机房内的服务器或打印机等物理设备,或者可以是服务器上的CPU、GPU、内存、网卡或硬盘等硬件模块, 或者也可以是运行于物理设备上的虚拟机、云服务等软件模块或单元。通常来讲,物理服务器为最常见的可调度资源。基础设施是指机房内为可调度资源提供基础服务的设施。根据可调度资源的不同,基础设施也会有所区别,对此不做限定。以可调度资源是服务器为例,基础设施可以包括为服务器提供支撑服务的机柜,为服务器降温的空调设备、风扇或水冷设备,为服务器供电的电力设备,为服务器提供网络连接的交换机,等等。In this embodiment, from the perspective of resource scheduling and regulation, the physical device 201 in the computer room is divided into at least one schedulable resource and at least one infrastructure. Among them, schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing, storage, or network) to the outside in the computer room. For example, the schedulable resource can be a physical device such as a server or printer in a computer room, or a hardware module such as a CPU, GPU, memory, network card, or hard disk on the server, or a virtual machine running on a physical device, Software modules or units such as cloud services. Generally speaking, physical servers are the most common schedulable resource. Infrastructure refers to the facilities in the computer room that provide basic services for schedulable resources. According to the different schedulable resources, the infrastructure will be different, and there is no restriction on this. Take the server as an example of a schedulable resource. The infrastructure can include cabinets that provide support services for the servers, air-conditioning equipment, fans or water-cooling equipment for cooling the servers, power equipment for powering the servers, switches that provide network connections for the servers, etc. .
其中,可调度资源作为机房系统200中的可用资源,通过资源调度设备202和资源调控设备204可对可调度资源进行合理地资源调度和调控,有利于提高机房系统200的资源利用效率,节约能源,对提高资源共享和降低运营成本都具有极大意义。Among them, schedulable resources are available resources in the computer room system 200, and the schedulable resources can be reasonably scheduled and regulated through the resource scheduling device 202 and the resource control device 204, which is beneficial to improve the resource utilization efficiency of the computer room system 200 and save energy. , It is of great significance to improve resource sharing and reduce operating costs.
其中,资源申请设备203主要为至少一个应用程序提供资源申请服务。资源申请设备203可以是一个,也可以是多个。例如,资源申请设备203可以运行与资源申请相关的服务、程序、插件或补丁等,从而实现为应用程序提供资源申请服务。在本实施例中,资源申请设备203与资源调度设备202相互配合,可实现一种基于资源竞价机制的资源调度方案,可让资源调度更加合理化,有利于提高整体资源利用率。Among them, the resource application device 203 mainly provides resource application services for at least one application program. There may be one or more resource application devices 203. For example, the resource application device 203 may run services, programs, plug-ins, patches, etc. related to the resource application, so as to realize the provision of resource application services for the application. In this embodiment, the resource application device 203 and the resource scheduling device 202 cooperate with each other to realize a resource scheduling scheme based on a resource bidding mechanism, which can make resource scheduling more reasonable and help improve overall resource utilization.
其中,资源申请设备203与资源调度设备202相互配合,针对任何一个有资源需求的应用程序进行资源调度的过程均相同或类似。在本实施例中,以第一应用程序申请可调度资源为例,对基于资源竞价机制的资源申请和资源调度过程进行说明。其中,第一应用程序可以是有权限使用至少一个可调度资源的任何应用程序。Wherein, the resource application device 203 and the resource scheduling device 202 cooperate with each other, and the process of resource scheduling for any application program with resource requirements is the same or similar. In this embodiment, taking the application of the first application program for schedulable resources as an example, the process of resource application and resource scheduling based on the resource bidding mechanism is described. The first application program may be any application program that has permission to use at least one schedulable resource.
对资源申请设备203来说,可为第一应用程序生成资源竞价请求,将该资源竞价请求发送给资源调度设备202,以参与资源竞价。对资源调度设备202来说,可接收资源申请设备203发送的资源竞价请求,根据该资源竞价请求,在参与资源竞价的可调度资源中,为第一应用程序与其它应用程序申请可调度资源。For the resource application device 203, a resource bidding request may be generated for the first application program, and the resource bidding request may be sent to the resource scheduling device 202 to participate in the resource bidding. For the resource scheduling device 202, the resource bidding request sent by the resource applying device 203 can be received, and according to the resource bidding request, among the schedulable resources participating in the resource bidding, apply for schedulable resources for the first application and other applications.
对资源调控设备204来说,可监控参与资源竞价的可调度资源在资源市 场中的状态信息;根据参与资源竞价的可调度资源在资源市场中的状态信息,对参与资源竞价的可调度资源进行调控。For the resource control device 204, it can monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, perform the monitoring of the schedulable resources participating in the resource bidding Regulation.
关于资源调度设备202、资源申请设备203以及资源调控设备204相互配合,基于资源竞价与调控机制进行资源调度与调控的详细过程以及其它相关内容,可参见前述实施例,在此不再赘述。Regarding the cooperation of the resource scheduling device 202, the resource application device 203, and the resource control device 204, the detailed process of resource scheduling and control based on the resource bidding and control mechanism and other related content can be referred to the foregoing embodiment, and will not be repeated here.
在本实施例的数据中心系统中,将资源调度、资源竞价与调控机制相结合,可根据应用程序的资源需求对可调度资源进行资源调度,可更加合理地进行资源分配,有利于提高整体资源利用率。进一步,在将功耗管控、资源竞价与调控机制相结合的场景中,以降低功耗成本为目的,基于资源竞价和调控机制进行资源调度,有利于提高整体能效。In the data center system of this embodiment, resource scheduling, resource bidding, and control mechanisms are combined, and schedulable resources can be scheduled according to the resource requirements of the application program, which can allocate resources more reasonably, which is conducive to improving overall resources. Utilization rate. Further, in a scenario that combines power consumption control, resource bidding and regulation mechanisms, with the goal of reducing power consumption costs, resource scheduling based on resource bidding and regulation mechanisms is conducive to improving overall energy efficiency.
图3为本申请示例性实施例提供的一种数据中心系统的结构示意图。如图3所示,该数据中心系统300包括:至少一个机房301、资源调度设备302、资源申请设备303和资源调控设备304。数据中心系统300可以单独建设,也可以置于其他建筑之内,还可以是分布在不同地理位置。其中,每个机房301包括至少一台物理设备305。每个机房301包含的物理设备的数量,可以是一台,也可以是多台。FIG. 3 is a schematic structural diagram of a data center system provided by an exemplary embodiment of this application. As shown in FIG. 3, the data center system 300 includes: at least one computer room 301, a resource scheduling device 302, a resource application device 303, and a resource control device 304. The data center system 300 can be built separately, or placed in other buildings, or distributed in different geographical locations. Among them, each computer room 301 includes at least one physical device 305. The number of physical devices contained in each computer room 301 may be one or multiple.
本实施例中的机房301与图2所示实施例中的机房类似,关于物理设备305以及机房301的相关描述,可参见图2所示实施例中的描述,在此不再赘述。The computer room 301 in this embodiment is similar to the computer room in the embodiment shown in FIG. 2. For the related description of the physical device 305 and the computer room 301, please refer to the description in the embodiment shown in FIG. 2, which will not be repeated here.
在本实施例中,从资源调度的角度,将每个机房301内的物理设备305划分为至少一个可调度资源和至少一个基础设施。其中,可调度资源是指机房内可对外提供某种服务、功能或资源(例如计算、存储或网络)的资源设备、模块或单元。关于可调度资源及基础设施的相关说明可参见图2所示实施例,在此不再赘述。In this embodiment, from the perspective of resource scheduling, the physical device 305 in each computer room 301 is divided into at least one schedulable resource and at least one infrastructure. Among them, schedulable resources refer to resource devices, modules, or units that can provide certain services, functions, or resources (for example, computing, storage, or network) to the outside in the computer room. For related descriptions of schedulable resources and infrastructure, please refer to the embodiment shown in FIG. 2, which will not be repeated here.
本实施例与图2所示实施例的区别在于:资源调度设备302、资源申请设备303以及资源调控设备304不再专门服务于某个特定机房,而是服务于整 个数据中心系统300,需要对各机房301内的可调度资源进行资源调度。虽然资源调度设备302不再专门服务于某个特定机房,但是物理部署上,可以部署在某个机房内,也可以独立部署于各机房之外。The difference between this embodiment and the embodiment shown in FIG. 2 is that the resource scheduling device 302, the resource application device 303, and the resource control device 304 no longer specifically serve a specific computer room, but serve the entire data center system 300, and need to The schedulable resources in each computer room 301 perform resource scheduling. Although the resource scheduling device 302 no longer specifically serves a specific computer room, it can be physically deployed in a certain computer room or independently deployed outside each computer room.
同理,本实施例的资源申请设备303主要为各机房内的应用程序提供资源申请服务。资源申请设备303与资源调度设备302以及资源调控设备304相互配合,可实现一种基于资源竞价与调控机制的资源调度与调控方案,可让资源调度和调控更加合理化,有利于提高整体资源利用率。In the same way, the resource application device 303 of this embodiment mainly provides resource application services for application programs in each computer room. The resource application device 303 cooperates with the resource scheduling device 302 and the resource control device 304 to realize a resource scheduling and control scheme based on the resource bidding and control mechanism, which can make resource scheduling and control more rational and help improve the overall resource utilization rate. .
关于资源申请设备303、资源调度设备302及资源调控设备304相互配合,针对任何有资源需求的应用程序进行资源调度与调控的详细过程以及相关内容,可参见前述实施例,在此不再赘述。Regarding the cooperation of the resource application device 303, the resource scheduling device 302, and the resource control device 304, the detailed process and related content of resource scheduling and control for any application program with resource requirements can be referred to the foregoing embodiment, and will not be repeated here.
在本实施例的数据中心系统中,将资源调度、资源竞价与调控机制相结合,可根据应用程序的资源需求对可调度资源进行资源调度,可更加合理地进行资源分配,有利于提高整体资源利用率。进一步,在将功耗管控、资源竞价与调控机制相结合的场景中,以降低功耗成本为目的,基于资源竞价和调控机制进行资源调度,有利于提高整体能效。In the data center system of this embodiment, resource scheduling, resource bidding, and control mechanisms are combined, and schedulable resources can be scheduled according to the resource requirements of the application program, which can allocate resources more reasonably, which is conducive to improving overall resources. Utilization rate. Further, in a scenario that combines power consumption control, resource bidding and regulation mechanisms, with the goal of reducing power consumption costs, resource scheduling based on resource bidding and regulation mechanisms is conducive to improving overall energy efficiency.
图4a为本申请示例性实施例提供的一种资源调控方法的流程示意图。如图4a所示,该方法包括:Fig. 4a is a schematic flowchart of a resource control method provided by an exemplary embodiment of this application. As shown in Figure 4a, the method includes:
41a、监控参与资源竞价的可调度资源在资源市场中的状态信息。41a. Monitor the status information of the schedulable resources participating in the resource bidding in the resource market.
42a、根据参与资源竞价的可调度资源在资源市场中的状态信息,对参与资源竞价的可调度资源进行调控。42a. According to the state information of the schedulable resources participating in the resource bidding in the resource market, control the schedulable resources participating in the resource bidding.
本实施例方法主要是从资源调控方、资源调控设备或资源调控节点的角度进行的描述,主要描述了如何根据资源调控机制对参与资源竞价的可调度资源进行资源调控。The method in this embodiment is mainly described from the perspective of a resource control party, a resource control device, or a resource control node, and mainly describes how to perform resource control on schedulable resources participating in resource bidding according to a resource control mechanism.
在一可选实施例中,步骤42a包括以下至少一种调控操作:In an optional embodiment, step 42a includes at least one of the following regulation operations:
根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源在资源市场中的实际竞价值;According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the actual competitive value of the schedulable resources participating in the resource bidding in the resource market;
根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源的数量。According to the state information of the schedulable resources participating in the resource bidding in the resource market, the number of schedulable resources participating in the resource bidding is adjusted.
在一可选实施例中,根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源在资源市场中的实际竞价值,包括:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源;向资源调度方发送第一资源竞价请求,第一资源竞价请求包括第一实际竞价值,用以调整第一可调度资源在资源市场中的实际竞价值。In an optional embodiment, according to the state information of the schedulable resources participating in the resource bidding in the resource market, adjusting the actual bid value of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding The status information of the resource in the resource market determines the first schedulable resource whose bid value needs to be adjusted; sends a first resource bid request to the resource scheduler, and the first resource bid request includes the first actual bid value to adjust the first schedulable resource. The actual competitive value of scheduling resources in the resource market.
进一步,根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源的一种实施方式,包括:根据表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算参与资源竞价的可调度资源的基准竞价值;从表征参与资源竞价的可调度资源在资源市场中的竞价状态的竞价参数中,获取参与资源竞价的可调度资源的成交竞价值;根据参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源。Further, according to the state information of the schedulable resources participating in the resource bidding in the resource market, an implementation manner for determining the first schedulable resource that needs to adjust the bid value includes: according to the characterization that the schedulable resources participating in the resource bidding are in the resource market Calculate the benchmark bid value of the schedulable resources participating in the resource bidding; obtain the schedulable resources participating in the resource bidding from the bidding parameters representing the bidding status of the schedulable resources participating in the resource bidding in the resource market Transaction bid value: According to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, determine the first schedulable resource whose bid value needs to be adjusted.
进一步可选地,根据表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算参与资源竞价的可调度资源的基准竞价值的一种实施方式,包括:将表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数输入成本预测模型,利用成本预测模型计算参与资源竞价的可调度资源的基准竞价值。Further optionally, an implementation manner for calculating the benchmark bid value of the schedulable resource participating in the resource bidding based on the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market includes: The resource parameters of the running state of the schedulable resources in the resource market are input into the cost prediction model, and the cost prediction model is used to calculate the benchmark bid value of the schedulable resources participating in the resource bidding.
进一步可选地,根据参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源的一种实施方式,包括:从参与资源竞价的可调度资源中,获取成交竞价值小于基准竞价值的可调度资源作为第一可调度资源;其中,第一实际竞价值大于基准竞价值。Further optionally, according to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, an implementation manner for determining the first schedulable resource whose bid value needs to be adjusted includes: from among the schedulable resources participating in the resource bidding , Obtain the schedulable resource whose transaction bid value is less than the benchmark bid value as the first schedulable resource; among them, the first actual bid value is greater than the benchmark bid value.
在一可选实施例中,根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源的数量,包括:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调 度资源;向资源调度方发送第二资源竞价请求,第二资源竞价请求包含第二实际竞价值,用以申请第二可调度资源;在申请到第二可调度资源之后,调整第二可调度资源的工作状态至不满足能够参与资源竞价的要求以退出资源竞价。In an optional embodiment, adjusting the number of schedulable resources participating in the resource bidding according to the status information of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding in the resource market Status information, determine the second schedulable resource that needs to withdraw from the resource bidding; send a second resource bidding request to the resource scheduler, the second resource bidding request includes the second actual bid value, used to apply for the second schedulable resource; After the second schedulable resource, the working state of the second schedulable resource is adjusted to not meet the requirement of being able to participate in the resource bidding to withdraw from the resource bidding.
可选地,根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调度资源的一种实施方式,包括:根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源。Optionally, according to the state information of the schedulable resources participating in the resource bidding in the resource market, an implementation manner for determining the second schedulable resource that needs to withdraw from the resource bidding includes: according to the schedulable resources participating in the resource bidding in the resource market Analyze the load of the schedulable resource participating in the resource bidding; obtain the schedulable resource whose load is lower than the first load threshold from the schedulable resource participating in the resource bid as the second schedulable resource.
更进一步,在获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源之前,还包括:判断负载量低于第二负载量阈值的可调度资源的数量是否大于第一数量阈值;若判断结果为是,从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源;其中,第二负载量阈值大于第一负载量阈值。Furthermore, before acquiring the schedulable resource whose load is lower than the first load threshold as the second schedulable resource, the method further includes: determining whether the number of schedulable resources whose load is lower than the second load threshold is greater than the first quantity Threshold; if the judgment result is yes, from the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource; wherein, the second load threshold is greater than the first load The amount threshold.
可选地,上述调整第二可调度资源的工作状态至不满足能够参与资源竞价的要求以退出资源竞价,包括以下方式:Optionally, the foregoing adjustment of the working state of the second schedulable resource to the requirement of being able to participate in the resource bidding to withdraw from the resource bidding includes the following methods:
关闭第二可调度资源;或者Close the second schedulable resource; or
控制第二可调度资源进入不高于指定级别的低功耗模式;或者Control the second schedulable resource to enter a low power consumption mode not higher than the specified level; or
将第二可调度资源的工作频率调整至不高于指定频率;Adjust the working frequency of the second schedulable resource to not higher than the specified frequency;
其中,指定级别或指定频率对应于不满足能够参与资源竞价的要求。Among them, the designated level or designated frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
在一可选实施例中,根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源的数量,包括:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要增加可参与资源竞价的可调度资源;从未参与资源竞价的可调度资源中,选择可参与资源竞价的第三可调度资源;以及将第三可调度资源的工作状态调整至满足能够参与资源竞价的要求以参与资源竞价。In an optional embodiment, adjusting the number of schedulable resources participating in the resource bidding according to the status information of the schedulable resources participating in the resource bidding in the resource market includes: according to the schedulable resources participating in the resource bidding in the resource market Status information, determine the need to increase the schedulable resources that can participate in resource bidding; select the third schedulable resource that can participate in the resource bidding from the schedulable resources that have never participated in the resource bidding; and adjust the working status of the third schedulable resource to Meet the requirements to be able to participate in resource bidding to participate in resource bidding.
进一步可选地,根据参与资源竞价的可调度资源在资源市场中的状态信 息,确定需要增加可参与资源竞价的可调度资源的一种实施方式,包括:根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;若负载量高于第三负载量阈值的可调度资源的数量大于第二数量阈值,确定需要增加可参与资源竞价的可调度资源。Further optionally, according to the state information of the schedulable resources participating in the resource bidding in the resource market, an implementation manner for determining the need to increase the schedulable resources that can participate in the resource bidding includes: according to the schedulable resources participating in the resource bidding in the resource State information in the market, analyze the load of schedulable resources participating in resource bidding; if the number of schedulable resources whose load is higher than the third load threshold is greater than the second threshold, determine the need to increase the schedulable resources that can participate in the resource bidding Resources.
图4b为本申请示例性实施例提供的一种资源申请方法的流程示意图。如图4b所示,该方法包括:Fig. 4b is a schematic flowchart of a resource application method provided by an exemplary embodiment of this application. As shown in Figure 4b, the method includes:
41b、确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息。41b. Determine at least one task to be completed by the first application program and resource information to be used by the at least one task.
42b、根据至少一个任务需要使用的资源信息,确定为至少一个任务申请所需资源给出的实际竞价值。42b. Determine the actual competitive value given for the resources required by the at least one task application based on the information about the resources that at least one task needs to use.
43b、根据至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求。43b. Generate a resource bid request based on the resource information that at least one task needs to use and the actual bid value given for the resource required by the at least one task application.
44b、将资源竞价请求发送给资源调度方,以供资源调度方为第一应用程序与其它应用程序竞价申请可调度资源。44b. Send the resource bidding request to the resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources.
45b、接收资源调度方返回的第一应用程序竞价申请可调度资源的结果。45b. Receive the result of the first application bidding for schedulable resources returned by the resource scheduler.
本实施例方法主要是从资源需求方、资源申请设备或应用层的角度进行的描述,主要描述了如何为第一应用程序生成资源竞价请求,基于资源竞价请求为第一应用程序向资源调度方、资源调度设备或资源调度节点申请可调度资源。The method in this embodiment is mainly described from the perspective of the resource demander, the resource application device or the application layer. It mainly describes how to generate a resource bid request for the first application, and based on the resource bid request, the first application sends the resource dispatcher to the resource dispatcher. , The resource scheduling device or resource scheduling node applies for schedulable resources.
在一可选实施例中,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息,包括:利用运行规律预测模型,学习第一应用程序的运行规律;根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息。In an optional embodiment, determining the at least one task to be completed by the first application program and the resource information that the at least one task needs to use includes: using an operation law prediction model to learn the operation law of the first application program; according to the first application The running law of the program determines at least one task to be completed by the first application program and resource information to be used by the at least one task.
在一可选实施例中,根据至少一个任务需要使用的资源信息,确定为至少一个任务申请所需资源给出的实际竞价值,包括:根据至少一个任务需要使用的资源信息,从已知可调度资源信息中确定候选可调度资源及其参考竞价值;根据本次资源申请的预算总价和候选可调度资源的参考竞价值,确定 为至少一个任务申请所需资源给出的实际竞价值。In an optional embodiment, determining the actual competitive value given for the resources required by the at least one task application based on the resource information required for the at least one task includes: according to the resource information required for the at least one task, from the known available resources The candidate schedulable resource and its reference bid value are determined in the scheduling resource information; the actual bid value given by the resource required for at least one task application is determined according to the total budget price of the resource application and the reference bid value of the candidate schedulable resource.
在一可选实施例中,根据至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求,包括:针对每个任务分别生成资源竞价请求,每个任务的资源竞价请求包括任务需要使用的资源信息和为任务申请所需资源给出的实际竞价值;或者,将至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值封装到同一资源竞价请求中。In an optional embodiment, generating a resource bid request based on the resource information needed to be used by the at least one task and the actual bid value given for the resource required for the at least one task application includes: generating a resource bid request for each task, The resource bidding request for each task includes the resource information that the task needs to use and the actual bid value given for the resource required for the task application; or, the resource information that needs to be used for at least one task and the resource required for at least one task application. The actual bid value of is encapsulated in the same resource bid request.
在一可选实施例中,在确定为至少一个任务申请所需资源给出的实际竞价值之后,方法还包括:根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,对为至少一个任务申请所需资源给出的实际竞价值进行调整。In an optional embodiment, after determining the actual competitive value given for the resource required for the at least one task application, the method further includes: according to the operation status information of the managed schedulable resource fed back by the resource management and control party in the future period, Adjust the actual competitive value given for the resources required to apply for at least one task.
在一可选实施例中,根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,对为至少一个任务申请所需资源给出的实际竞价值进行调整,包括:根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,判断至少一个任务所需资源的数量在未来时段内是否少于第三数量阈值;若判断结果为是,增大为至少一个任务申请所需资源给出的实际竞价值。In an optional embodiment, according to the running status information of the managed and schedulable resources fed back by the resource management and control party in the future period, the adjustment of the actual competitive value given by the resource required for the at least one task application includes: according to the resource The running status information of the managed and schedulable resources fed back by the management and control party in the future period, to determine whether the number of resources required for at least one task is less than the third number threshold in the future period; if the result of the judgment is yes, increase to at least one The actual competitive value given by the resources required for the task application.
图4c为本申请示例性实施例提供的另一种资源申请方法的流程示意图。如图4c所示,该方法包括:Fig. 4c is a schematic flowchart of another resource application method provided by an exemplary embodiment of this application. As shown in Figure 4c, the method includes:
41c、确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价。41c. Determine the number of resources that the first application needs to apply for this time and the total budget for this resource application.
42c、根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求。42c. Generate a resource bid request based on the number of resources to be applied for this time and the total budget price of this resource application.
43c、将资源竞价请求发送给资源调度方,以供资源调度方为第一应用程序与其它应用程序竞价申请可调度资源。43c. Send the resource bidding request to the resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources.
44c、接收资源调度方返回的第一应用程序竞价申请可调度资源的结果。44c. Receive the result of the first application bidding for schedulable resources returned by the resource scheduler.
本实施例方法主要是从资源需求方、资源申请设备或应用层的角度进行 的描述,主要描述了如何为第一应用程序生成资源竞价请求,基于资源竞价请求为第一应用程序向资源调度方、资源调度设备或资源调度节点申请可调度资源。The method in this embodiment is mainly described from the perspective of the resource demander, the resource application device or the application layer. It mainly describes how to generate a resource bid request for the first application, and based on the resource bid request, the first application sends the resource dispatcher to the resource dispatcher. , The resource scheduling device or resource scheduling node applies for schedulable resources.
在一可选实施例中,确定第一应用程序本次需要申请的资源数量,包括:根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务及至少一个任务需要使用的资源信息;根据至少一个任务需要使用的资源信息,确定第一应用程序本次需要申请的资源数量。In an optional embodiment, determining the number of resources that the first application program needs to apply for this time includes: determining at least one task that the first application program needs to complete and at least one task that needs to be used according to the running law of the first application program Resource information: According to the resource information that at least one task needs to use, determine the number of resources that the first application needs to apply for this time.
图4d为本申请示例性实施例提供的一种资源调度方法的流程示意图。如图4d所示,该方法包括:Fig. 4d is a schematic flowchart of a resource scheduling method provided by an exemplary embodiment of this application. As shown in Figure 4d, the method includes:
41d、接收资源竞价请求,资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价。41d. Receive a resource bidding request. The resource bidding request includes: the number of resources that the first application needs to apply for this time and the total budget price of this resource application.
42d、根据本次需要申请的资源数量和本次资源申请的预算总价,在参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值。42d. According to the number of resources to be applied for this time and the total budget price of this resource application, determine at least one resource to be applied for and its actual bid value among the schedulable resources participating in the resource bidding.
43d、根据至少一个待申请资源的实际竞价值,为第一应用程序与其它应用程序竞价申请至少一个待申请资源,并返回第一应用程序的资源申请结果。43d. According to the actual bid value of the at least one resource to be applied for, bid for at least one resource to be applied for for the first application and other applications, and return the resource application result of the first application.
本实施例方法主要是从资源调度方、资源调度设备或资源调度节点的角度进行的描述,主要描述了如何基于资源竞价机制,结合应用程序的资源需求对可调度资源进行资源。The method in this embodiment is mainly described from the perspective of a resource scheduling party, a resource scheduling device, or a resource scheduling node, and mainly describes how to allocate resources to schedulable resources based on the resource bidding mechanism and in combination with the resource requirements of the application program.
在一可选实施例中,根据本次需要申请的资源数量和本次资源申请的预算总价,在参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值,包括:根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次资源申请的预算总价和至少一个待申请资源的参考竞价值,确定至少一个待申请资源的实际竞价值。In an optional embodiment, according to the number of resources to be applied for this time and the total budget price of this resource application, at least one resource to be applied for and its actual bid value are determined among the schedulable resources participating in the resource bidding, including: According to the number of resources to be applied for this time, at least one resource to be applied for is determined among the schedulable resources participating in resource bidding; according to the total budget price of this resource application and the reference bid value of at least one resource to be applied for, at least one resource to be applied for is determined The actual competitive value of the requested resource.
可选地,至少一个待申请资源的参考竞价值包括:至少一个待申请资源的基准竞价值、在资源市场中的平均实际竞价值或在资源市场中的最大实际竞价值。Optionally, the reference bid value of the at least one resource to be applied for includes: the benchmark bid value of the at least one resource to be applied for, the average actual bid value in the resource market, or the maximum actual bid value in the resource market.
在一可选实施例中,根据本次需要申请的资源数量和本次资源申请的预 算总价,确定至少一个待申请资源的实际竞价值,包括:根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次需要申请的资源数量和本次资源申请的预算总价,计算平均竞价值作为至少一个待申请资源的实际竞价值。In an optional embodiment, the actual competitive value of at least one resource to be applied for is determined according to the number of resources to be applied for this time and the total budget price of this resource application, including: according to the number of resources to be applied for this time, participating in Among the schedulable resources of resource bidding, at least one resource to be applied for is determined; based on the number of resources to be applied for this time and the total budgeted price of this resource application, the average bid value is calculated as the actual bid value of at least one resource to be applied for.
需要说明的是,上述实施例所提供方法的各步骤的执行主体均可以是同一设备,或者,该方法也由不同设备作为执行主体。比如,步骤41d至步骤44d的执行主体可以为设备A;又比如,步骤41d和42d的执行主体可以为设备A,步骤43d的执行主体可以为设备B;等等。It should be noted that the execution subject of each step of the method provided in the foregoing embodiment may be the same device, or different devices may also be the execution subject of the method. For example, the execution subject of steps 41d to 44d may be device A; for another example, the execution subject of steps 41d and 42d may be device A, and the execution subject of step 43d may be device B; and so on.
另外,在上述实施例及附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如41a、42a等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。In addition, in some of the processes described in the above embodiments and drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may be performed out of the order in which they appear in this document or performed in parallel. The operation sequence numbers such as 41a, 42a, etc., are only used to distinguish 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 sequentially or in parallel. It should be noted that the descriptions of "first" and "second" in this article are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, nor do they limit the "first" and "second" Are different types.
图5a为本申请示例性实施例提供的一种资源调控设备的结构示意图。如图5a所示,该资源调控设备包括:存储器51a和处理器52a。Fig. 5a is a schematic structural diagram of a resource control device provided by an exemplary embodiment of this application. As shown in FIG. 5a, the resource control device includes: a memory 51a and a processor 52a.
存储器51a,用于存储计算机程,并可被配置为存储其它各种数据以支持在资源调控设备上的操作。这些数据的示例包括用于在资源调控设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。The memory 51a is used to store computer programs and can be configured to store various other data to support operations on the resource control device. Examples of these data include instructions for any application or method operating on the resource control device, contact data, phone book data, messages, pictures, videos, etc.
处理器52a,与存储器51a耦合,用于执行计算机程序,以用于:监控参与资源竞价的可调度资源在资源市场中的状态信息;根据参与资源竞价的可调度资源在资源市场中的状态信息,对参与资源竞价的可调度资源进行调控。The processor 52a, coupled with the memory 51a, is used to execute a computer program for: monitoring the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market , Regulate and control the schedulable resources participating in resource bidding.
在一可选实施例中,处理器52a在对参与资源竞价的可调度资源进行调控时,具体用于执行以下至少一种调控操作:In an optional embodiment, when the processor 52a regulates the schedulable resources participating in the resource bidding, it is specifically configured to perform at least one of the following regulation operations:
根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资 源竞价的可调度资源在资源市场中的实际竞价值;According to the state information of the schedulable resources participating in the resource bidding in the resource market, adjust the actual competitive value of the schedulable resources participating in the resource bidding in the resource market;
根据参与资源竞价的可调度资源在资源市场中的状态信息,调整参与资源竞价的可调度资源的数量。According to the state information of the schedulable resources participating in the resource bidding in the resource market, the number of schedulable resources participating in the resource bidding is adjusted.
在一可选实施例中,处理器52a在调整参与资源竞价的可调度资源在资源市场中的实际竞价值时,具体用于:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源;向资源调度方发送第一资源竞价请求,第一资源竞价请求包括第一实际竞价值,用以调整第一可调度资源在资源市场中的实际竞价值。In an optional embodiment, when the processor 52a adjusts the actual bid value of the schedulable resource participating in the resource bidding in the resource market, it is specifically configured to: according to the state information of the schedulable resource participating in the resource bidding in the resource market, Determine the first schedulable resource for which the bid value needs to be adjusted; send a first resource bid request to the resource dispatcher, the first resource bid request includes the first actual bid value to adjust the actual bid of the first schedulable resource in the resource market value.
进一步,处理器52a在确定需要调整竞价值的第一可调度资源时,具体用于:根据表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算参与资源竞价的可调度资源的基准竞价值;从表征参与资源竞价的可调度资源在资源市场中的竞价状态的竞价参数中,获取参与资源竞价的可调度资源的成交竞价值;根据参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源。Further, when the processor 52a determines the first schedulable resource for which the bid value needs to be adjusted, it is specifically configured to: calculate the schedulable resource participating in the resource bidding according to the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market The benchmark bid value of the resource; from the bidding parameters that characterize the bidding status of the schedulable resource participating in the resource bidding in the resource market, the transaction bid value of the schedulable resource participating in the resource bidding is obtained; according to the benchmark of the schedulable resource participating in the resource bidding The bid value and the transaction bid value determine the first schedulable resource that needs to adjust the bid value.
进一步可选地,处理器52a在计算参与资源竞价的可调度资源的基准竞价值时,具体用于:将表征参与资源竞价的可调度资源在资源市场中的运行状态的资源参数输入成本预测模型,利用成本预测模型计算参与资源竞价的可调度资源的基准竞价值。Further optionally, when the processor 52a calculates the benchmark bid value of the schedulable resource participating in the resource bidding, it is specifically configured to: input the resource parameter representing the operating state of the schedulable resource participating in the resource bidding in the resource market into the cost prediction model , Use the cost prediction model to calculate the benchmark bid value of schedulable resources participating in resource bidding.
进一步可选地,处理器52a在确定需要调整竞价值的第一可调度资源时,具体用于:从参与资源竞价的可调度资源中,获取成交竞价值小于基准竞价值的可调度资源作为第一可调度资源;其中,第一实际竞价值大于基准竞价值。Further optionally, when the processor 52a determines the first schedulable resource for which the bid value needs to be adjusted, it is specifically configured to obtain the schedulable resource whose transaction bid value is less than the reference bid value from the schedulable resources participating in the resource bidding as the first schedulable resource. 1. Dispatchable resources; among them, the first actual bid value is greater than the benchmark bid value.
在一可选实施例中,处理器52a在调整参与资源竞价的可调度资源的数量时,具体用于:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调度资源;向资源调度方发送第二资源竞价请求,第二资源竞价请求包含第二实际竞价值,用以申请第二可调度资源;在申请到第二可调度资源之后,调整第二可调度资源的工作状态至不满足能 够参与资源竞价的要求以退出资源竞价。In an optional embodiment, when the processor 52a adjusts the number of schedulable resources participating in the resource bidding, it is specifically configured to: according to the state information of the schedulable resources participating in the resource bidding in the resource market, determine the ones that need to withdraw from the resource bidding Second schedulable resource; send a second resource bidding request to the resource scheduler, the second resource bidding request includes the second actual bid value, used to apply for the second schedulable resource; after applying for the second schedulable resource, adjust the second resource bidding request 2. The working state of the schedulable resource cannot meet the requirement of being able to participate in the resource bidding to exit the resource bidding.
可选地,处理器52a在确定需要退出资源竞价的第二可调度资源时,具体用于:根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源。Optionally, when the processor 52a determines the second schedulable resource that needs to withdraw from the resource bidding, it is specifically configured to: analyze the status information of the schedulable resource participating in the resource bidding in the resource market according to the status information of the schedulable resource participating in the resource bidding. Load: From the schedulable resources participating in the resource bidding, obtain the schedulable resource whose load is lower than the first load threshold as the second schedulable resource.
更进一步,处理器52a还用于:判断负载量低于第二负载量阈值的可调度资源的数量是否大于第一数量阈值;若判断结果为是,从参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为第二可调度资源;其中,第二负载量阈值大于第一负载量阈值。Furthermore, the processor 52a is further configured to: determine whether the number of schedulable resources whose load is lower than the second load threshold is greater than the first number threshold; if the determination result is yes, obtain from the schedulable resources participating in the resource bidding The schedulable resource whose load is lower than the first load threshold is used as the second schedulable resource; wherein, the second load threshold is greater than the first load threshold.
可选地,处理器52a在调整第二可调度资源的工作状态至不满足能够参与资源竞价的要求时,具体用于:Optionally, when the processor 52a adjusts the working state of the second schedulable resource to a requirement of being able to participate in resource bidding, it is specifically configured to:
关闭第二可调度资源;或者Close the second schedulable resource; or
控制第二可调度资源进入不高于指定级别的低功耗模式;或者Control the second schedulable resource to enter a low power consumption mode not higher than the specified level; or
将第二可调度资源的工作频率调整至不高于指定频率;其中,指定级别或指定频率对应于不满足能够参与资源竞价的要求。The working frequency of the second schedulable resource is adjusted to be no higher than the specified frequency; wherein, the specified level or specified frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
在一可选实施例中,处理器52a在调整参与资源竞价的可调度资源的数量时,具体用于:根据参与资源竞价的可调度资源在资源市场中的状态信息,确定需要增加可参与资源竞价的可调度资源;从未参与资源竞价的可调度资源中,选择可参与资源竞价的第三可调度资源;以及将第三可调度资源的工作状态调整至满足能够参与资源竞价的要求以参与资源竞价。In an alternative embodiment, when the processor 52a adjusts the number of schedulable resources participating in the resource bidding, it is specifically configured to: according to the state information of the schedulable resources participating in the resource bidding in the resource market, determine that it is necessary to increase the number of schedulable resources participating in the resource bidding. Bidding schedulable resources; among the schedulable resources that have never participated in the resource bidding, select the third schedulable resource that can participate in the resource bidding; and adjust the working status of the third schedulable resource to meet the requirements of being able to participate in the resource bidding to participate Resource bidding.
进一步可选地,处理器52a在确定需要增加可参与资源竞价的可调度资源时,具体用于:根据参与资源竞价的可调度资源在资源市场中的状态信息,分析参与资源竞价的可调度资源的负载量;若负载量高于第三负载量阈值的可调度资源的数量大于第二数量阈值,确定需要增加可参与资源竞价的可调度资源。Further optionally, when the processor 52a determines that it is necessary to increase the schedulable resources that can participate in the resource bidding, it is specifically configured to: analyze the schedulable resources participating in the resource bidding according to the state information of the schedulable resources participating in the resource bidding in the resource market If the number of schedulable resources whose load is higher than the third load threshold is greater than the second number threshold, it is determined that it is necessary to increase the schedulable resources that can participate in resource bidding.
进一步,如图5a所示,该资源调控设备还包括:通信组件53a、显示器54a、电源组件55a、音频组件56a等其它组件。图5a中仅示意性给出部分组 件,并不意味着资源调控设备只包括图5a所示组件。另外,图5a中虚线框内的组件为可选组件,而非必选组件,具体可视资源调控设备的产品形态而定。本实施例的资源调控设备可以实现为台式电脑、笔记本电脑或智能手机等终端设备,也可以是常规服务器、云服务器或服务器阵列等服务端设备。若本实施例的资源调控设备实现为台式电脑、笔记本电脑、智能手机等终端设备,可以包含图5a中虚线框内的组件;若本实施例的资源调控设备实现为常规服务器、云服务器或服务器阵列等服务端设备,则可以不包含图5a中虚线框内的组件。Furthermore, as shown in FIG. 5a, the resource control device further includes: a communication component 53a, a display 54a, a power supply component 55a, an audio component 56a and other components. Only some components are schematically shown in Fig. 5a, which does not mean that the resource control device only includes the components shown in Fig. 5a. In addition, the components in the dashed box in FIG. 5a are optional components, not mandatory components, and the specifics may depend on the product form of the resource control device. The resource control device in this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or can be a server device such as a conventional server, a cloud server, or a server array. If the resource control device of this embodiment is implemented as a terminal device such as a desktop computer, a notebook computer, a smart phone, etc., it may include the components in the dashed box in FIG. 5a; if the resource control device of this embodiment is implemented as a conventional server, a cloud server, or a server Server devices such as arrays may not include the components in the dashed box in Figure 5a.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中可由资源调控设备执行的各步骤。Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the resource control device in the foregoing method embodiment can be realized.
图5b为本申请示例性实施例提供的一种资源申请设备的结构示意图。如图5b所示,该资源申请设备包括:存储器51b、处理器52b以及通信组件53b。Fig. 5b is a schematic structural diagram of a resource application device provided by an exemplary embodiment of this application. As shown in FIG. 5b, the resource application device includes: a memory 51b, a processor 52b, and a communication component 53b.
存储器51b,用于存储计算机程序,并可被配置为存储其它各种数据以支持在资源申请设备上的操作。这些数据的示例包括用于在资源申请设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。The memory 51b is used to store computer programs, and can be configured to store other various data to support operations on the resource application device. Examples of these data include instructions for any application or method to operate on the resource application device, contact data, phone book data, messages, pictures, videos, etc.
处理器52b,与存储器51b耦合,用于执行计算机程序,以用于:确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息;根据至少一个任务需要使用的资源信息,确定为至少一个任务申请所需资源给出的实际竞价值;根据至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;通过通信组件53b将资源竞价请求发送给资源调度方,以供资源调度方为第一应用程序与其它应用程序竞价申请可调度资源;以及接收资源调度方返回的第一应用程序竞价申请可调度资源的结果。The processor 52b is coupled with the memory 51b and is configured to execute a computer program for: determining at least one task that needs to be completed by the first application program and resource information that needs to be used by the at least one task; according to the resource information that needs to be used by the at least one task, Determine the actual bid value given for the resources required for at least one task application; generate a resource bid request based on the resource information required for at least one task and the actual bid value given for the resources required for the at least one task application; through the communication component 53b The resource bidding request is sent to the resource dispatcher for the resource dispatcher to bid for the first application and other applications to apply for schedulable resources; and to receive the result of the first application bidding for schedulable resources returned by the resource dispatcher.
在一可选实施例中,处理器52b在确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息时,具体用于:利用运行规律 预测模型,学习第一应用程序的运行规律;根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务以及至少一个任务需要使用的资源信息。In an optional embodiment, when the processor 52b determines the at least one task that needs to be completed by the first application program and the resource information that the at least one task needs to use, it is specifically configured to: use the operating law prediction model to learn the performance of the first application program. Operation law: According to the operation law of the first application program, at least one task to be completed by the first application program and resource information to be used by the at least one task are determined.
在一可选实施例中,处理器52b在确定为至少一个任务申请所需资源给出的实际竞价值时,具体用于:根据至少一个任务需要使用的资源信息,从已知可调度资源信息中确定候选可调度资源及其参考竞价值;根据本次资源申请的预算总价和候选可调度资源的参考竞价值,确定为至少一个任务申请所需资源给出的实际竞价值。In an optional embodiment, when the processor 52b determines the actual bid value given for the resource required by the at least one task application, it is specifically configured to: according to the resource information required to be used by the at least one task, obtain information from the known schedulable resource information Determine the candidate schedulable resource and its reference bid value in the process; according to the total budget price of this resource application and the reference bid value of the candidate schedulable resource, determine the actual bid value given by the resources required for at least one task application.
在一可选实施例中,处理器52b在生成资源竞价请求时,具体用于:针对每个任务分别生成资源竞价请求,每个任务的资源竞价请求包括任务需要使用的资源信息和为任务申请所需资源给出的实际竞价值;或者,将至少一个任务需要使用的资源信息和为至少一个任务申请所需资源给出的实际竞价值封装到同一资源竞价请求中。In an optional embodiment, when the processor 52b generates a resource bidding request, it is specifically configured to: generate a resource bidding request for each task separately, and the resource bidding request for each task includes resource information that the task needs to use and a request for the task. The actual bid value given by the required resources; or, encapsulate the resource information required for at least one task and the actual bid value given for the required resources for at least one task application into the same resource bid request.
在一可选实施例中,处理器52b在确定为至少一个任务申请所需资源给出的实际竞价值之后,还用于:根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,对为至少一个任务申请所需资源给出的实际竞价值进行调整。In an optional embodiment, after the processor 52b determines the actual competitive value given by the resource required for the at least one task application, it is also used to: run the controlled schedulable resource in the future period according to the feedback of the resource management and control party Status information to adjust the actual competitive value given for the resources required for at least one task application.
在一可选实施例中,处理器52b对为至少一个任务申请所需资源给出的实际竞价值进行调整时,具体用于:根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,判断至少一个任务所需资源的数量在未来时段内是否少于第三数量阈值;若判断结果为是,增大为至少一个任务申请所需资源给出的实际竞价值。In an optional embodiment, when the processor 52b adjusts the actual competitive value given by the resource required for the at least one task application, it is specifically used to: according to the resource management and control party's feedback of the controlled schedulable resource in the future period of time Running status information, judging whether the number of resources required by at least one task is less than the third number threshold in the future period; if the judgment result is yes, increase the actual competition value given by the resources required by the at least one task application.
进一步,如图5b所示,该资源申请设备还包括:显示器54b、电源组件55b、音频组件56b等其它组件。图5b中仅示意性给出部分组件,并不意味着资源申请设备只包括图5b所示组件。另外,图5b中虚线框内的组件为可选组件,而非必选组件,具体可视资源申请设备的产品形态而定。本实施例的资源申请设备可以实现为台式电脑、笔记本电脑或智能手机等终端设备, 也可以是常规服务器、云服务器或服务器阵列等服务端设备。若本实施例的资源申请设备实现为台式电脑、笔记本电脑、智能手机等终端设备,可以包含图5b中虚线框内的组件;若本实施例的资源申请设备实现为常规服务器、云服务器或服务器阵列等服务端设备,则可以不包含图5b中虚线框内的组件。Furthermore, as shown in FIG. 5b, the resource application device further includes: a display 54b, a power supply component 55b, an audio component 56b and other components. Only some components are schematically shown in FIG. 5b, which does not mean that the resource application device only includes the components shown in FIG. 5b. In addition, the components in the dashed box in FIG. 5b are optional components, not mandatory components, and the specifics may depend on the product form of the resource application device. The resource application device in this embodiment may be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or may be a server device such as a conventional server, a cloud server, or a server array. If the resource application device of this embodiment is implemented as a terminal device such as a desktop computer, notebook computer, smart phone, etc., it may include the components in the dashed box in Figure 5b; if the resource application device of this embodiment is implemented as a conventional server, cloud server or server Server devices such as arrays may not include the components in the dashed box in Figure 5b.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述图4b所示方法实施例中的各步骤。Correspondingly, the embodiment of the present application also provides a computer-readable storage medium storing a computer program, which can implement each step in the method embodiment shown in FIG. 4b when the computer program is executed.
图5c为本申请示例性实施例提供的另一种资源申请设备的结构示意图。如图5c所示,该资源申请设备包括:存储器51c、处理器52c以及通信组件53c。FIG. 5c is a schematic structural diagram of another resource application device provided by an exemplary embodiment of this application. As shown in FIG. 5c, the resource application device includes: a memory 51c, a processor 52c, and a communication component 53c.
存储器51c,用于存储计算机程序,并可被配置为存储其它各种数据以支持在资源申请设备上的操作。这些数据的示例包括用于在资源申请设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。The memory 51c is used to store computer programs, and can be configured to store other various data to support operations on the resource application device. Examples of these data include instructions for any application or method to operate on the resource application device, contact data, phone book data, messages, pictures, videos, etc.
处理器52c,与存储器51c耦合,用于执行计算机程序,以用于:确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;通过通信组件53c将资源竞价请求发送给资源调度方,以供资源调度方为第一应用程序与其它应用程序竞价申请可调度资源并返回;以及接收资源调度方返回的第一应用程序竞价申请可调度资源的结果。The processor 52c, coupled with the memory 51c, is used to execute computer programs for: determining the number of resources that the first application needs to apply for this time and the total budget of this resource application; according to the amount of resources that need to be applied for this time and The total budget of this resource application generates a resource bid request; the resource bid request is sent to the resource scheduler through the communication component 53c, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources and return; And receiving the result of the first application bidding for schedulable resources returned by the resource scheduler.
在一可选实施例中,处理器52c在确定第一应用程序本次需要申请的资源数量时,具体用于:根据第一应用程序的运行规律,确定第一应用程序需要完成的至少一个任务及至少一个任务需要使用的资源信息;根据至少一个任务需要使用的资源信息,确定第一应用程序本次需要申请的资源数量。In an optional embodiment, when the processor 52c determines the amount of resources that the first application program needs to apply for this time, it is specifically configured to: determine at least one task that the first application program needs to complete according to the running law of the first application program And resource information that needs to be used by at least one task; according to the resource information that needs to be used by at least one task, the number of resources that the first application needs to apply for this time is determined.
进一步,如图5c所示,该资源申请设备还包括:显示器54c、电源组件55c、音频组件56c等其它组件。图5c中仅示意性给出部分组件,并不意味着资源申请设备只包括图5c所示组件。另外,图5c中虚线框内的组件为可选组件,而非必选组件,具体可视资源申请设备的产品形态而定。本实施例的资 源申请设备可以实现为台式电脑、笔记本电脑或智能手机等终端设备,也可以是常规服务器、云服务器或服务器阵列等服务端设备。若本实施例的资源申请设备实现为台式电脑、笔记本电脑、智能手机等终端设备,可以包含图5c中虚线框内的组件;若本实施例的资源申请设备实现为常规服务器、云服务器或服务器阵列等服务端设备,则可以不包含图5c中虚线框内的组件。Further, as shown in FIG. 5c, the resource application device further includes: a display 54c, a power supply component 55c, an audio component 56c and other components. Only some components are schematically shown in FIG. 5c, which does not mean that the resource application device only includes the components shown in FIG. 5c. In addition, the components in the dashed box in FIG. 5c are optional components, not mandatory components, and the specifics may depend on the product form of the resource application device. The resource application device in this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or it can be a server device such as a conventional server, a cloud server, or a server array. If the resource application device of this embodiment is implemented as a terminal device such as a desktop computer, a notebook computer, a smart phone, etc., it may include the components in the dashed box in Figure 5c; if the resource application device of this embodiment is implemented as a conventional server, a cloud server or a server Server devices such as arrays may not include the components in the dashed box in Figure 5c.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述图4c所示方法实施例中的各步骤。Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, which can implement each step in the method embodiment shown in FIG. 4c when the computer program is executed.
图5d为本申请示例性实施例提供的一种资源调度设备的结构示意图。如图5d所示,该资源调度设备包括:存储器51d、处理器52d以及通信组件53d。Fig. 5d is a schematic structural diagram of a resource scheduling device provided by an exemplary embodiment of this application. As shown in FIG. 5d, the resource scheduling device includes: a memory 51d, a processor 52d, and a communication component 53d.
存储器51d,用于存储计算机程序,并可被配置为存储其它各种数据以支持在资源调度设备上的操作。这些数据的示例包括用于在资源调度设备上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。The memory 51d is used to store computer programs and can be configured to store various other data to support operations on the resource scheduling device. Examples of these data include instructions for any application or method operating on the resource scheduling device, contact data, phone book data, messages, pictures, videos, etc.
处理器52d,与存储器51d耦合,用于执行计算机程序,以用于:通过通信组件53d接收资源竞价请求,资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;根据本次需要申请的资源数量和本次资源申请的预算总价,确定至少一个待申请资源的实际竞价值;根据至少一个待申请资源的实际竞价值,为第一应用程序与其它应用程序竞价申请至少一个待申请资源,并通过通信组件返回第一应用程序的资源申请结果。The processor 52d, coupled with the memory 51d, is configured to execute a computer program for: receiving a resource bid request through the communication component 53d. The resource bid request includes: the number of resources that the first application needs to apply for this time and the amount of this resource application Total budget price; Determine the actual competitive value of at least one resource to be applied for according to the number of resources to be applied for this time and the total budget price of this resource application; According to the actual competitive value of at least one resource to be applied for, it is the first application and Other applications bid for at least one resource to be applied for, and the resource application result of the first application is returned through the communication component.
在一可选实施例中,处理器52d在确定至少一个待申请资源及其实际竞价值时,具体用于:根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次资源申请的预算总价和至少一个待申请资源的参考竞价值,确定至少一个待申请资源的实际竞价值。In an optional embodiment, when determining at least one resource to be applied for and its actual bid value, the processor 52d is specifically configured to: determine at least one of the schedulable resources participating in resource bidding according to the number of resources to be applied for this time A resource to be applied for; the actual competitive value of at least one resource to be applied for is determined based on the total budget price of this resource application and the reference bid value of at least one resource to be applied for.
可选地,至少一个待申请资源的参考竞价值包括:至少一个待申请资源的基准竞价值、在资源市场中的平均实际竞价值或在资源市场中的最大实际竞价值。Optionally, the reference bid value of the at least one resource to be applied for includes: the benchmark bid value of the at least one resource to be applied for, the average actual bid value in the resource market, or the maximum actual bid value in the resource market.
在一可选实施例中,处理器52d在确定至少一个待申请资源的实际竞价 值时,具体用于:根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;根据本次需要申请的资源数量和本次资源申请的预算总价,计算平均竞价值作为至少一个待申请资源的实际竞价值。In an optional embodiment, when the processor 52d determines the actual bid value of at least one resource to be applied for, it is specifically configured to: determine at least one of the schedulable resources participating in the resource bidding according to the number of resources to be applied for this time Resources to be applied for; based on the number of resources to be applied for this time and the total budget of this resource application, the average bid value is calculated as the actual bid value of at least one resource to be applied for.
进一步,如图5d所示,该资源调度设备还包括:显示器54d、电源组件55d、音频组件56d等其它组件。图5d中仅示意性给出部分组件,并不意味着资源调度设备只包括图5d所示组件。另外,图5d中虚线框内的组件为可选组件,而非必选组件,具体可视资源调度设备的产品形态而定。本实施例的资源调度设备可以实现为台式电脑、笔记本电脑或智能手机等终端设备,也可以是常规服务器、云服务器或服务器阵列等服务端设备。若本实施例的资源调度设备实现为台式电脑、笔记本电脑、智能手机等终端设备,可以包含图5d中虚线框内的组件;若本实施例的资源调度设备实现为常规服务器、云服务器或服务器阵列等服务端设备,则可以不包含图5d中虚线框内的组件。Further, as shown in FIG. 5d, the resource scheduling device further includes: a display 54d, a power supply component 55d, an audio component 56d and other components. Only some components are schematically shown in FIG. 5d, which does not mean that the resource scheduling device only includes the components shown in FIG. 5d. In addition, the components in the dashed box in FIG. 5d are optional components, not mandatory components, and the specifics may depend on the product form of the resource scheduling device. The resource scheduling device of this embodiment can be implemented as a terminal device such as a desktop computer, a notebook computer, or a smart phone, or can be a server device such as a conventional server, a cloud server, or a server array. If the resource scheduling device of this embodiment is implemented as a terminal device such as a desktop computer, notebook computer, smart phone, etc., it may include the components in the dashed box in Figure 5d; if the resource scheduling device of this embodiment is implemented as a conventional server, a cloud server or a server Server devices such as arrays may not include the components in the dashed box in Figure 5d.
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,计算机程序被执行时能够实现上述方法实施例中可由资源调度设备执行的各步骤。Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed, each step that can be executed by the resource scheduling device in the foregoing method embodiment can be implemented.
上述图5a-图5d中的存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The above-mentioned memory in Figures 5a-5d can be implemented by any type of volatile or non-volatile storage device or their combination, 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.
上述图5a-图5d中的通信组件被配置为便于通信组件所在设备和其他设备之间有线或无线方式的通信。通信组件所在设备可以接入基于通信标准的无线网络,如WiFi,2G、3G、4G/LTE、5G等移动通信网络,或它们的组合。在一个示例性实施例中,通信组件经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件还可以包括近场通信(NFD)模块,射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术等。The communication components in Figures 5a-5d described above are configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G/LTE, 5G and other mobile communication networks, or a combination of them. 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 may further include a near field communication (NFD) module, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra wideband (UWB) technology, Bluetooth (BT) technology Wait.
上述图5a-图5d中的显示器包括屏幕,其屏幕可以包括液晶显示器(LDD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。The above-mentioned display in Figs. 5a-5d includes a screen, and the screen may include a liquid crystal display (LDD) 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 the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
上述图5a-图5d中的电源组件,为电源组件所在设备的各种组件提供电力。电源组件可以包括电源管理系统,一个或多个电源,及其他与为电源组件所在设备生成、管理和分配电力相关联的组件。The power supply components in Figures 5a to 5d above provide power for various components of the equipment where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device where the power supply component is located.
上述图5a-图5d中的音频组件,可被配置为输出和/或输入音频信号。例如,音频组件包括一个麦克风(MID),当音频组件所在设备处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器或经由通信组件发送。在一些实施例中,音频组件还包括一个扬声器,用于输出音频信号。The audio components in Figs. 5a to 5d may be configured to output and/or input audio signals. For example, the audio component includes a microphone (MID). When the device where the audio component is located is in an operating mode, such as call mode, recording mode, and voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component further includes a speaker for outputting audio signals.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt 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 codes.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。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, and 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 the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing equipment to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing equipment are generated It is a device that realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device. The device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment. The instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in a computer readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The 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, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下, 由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or they also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The foregoing descriptions are only examples of the present application, and are not used to limit the present application. For those skilled in the art, this application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the scope of the claims of this application.

Claims (42)

  1. 一种系统,其特征在于,包括:应用层、中间层和IT资源层;所述中间层介于所述应用层与所述IT资源层之间,用于采用资源竞价与调控机制,结合所述应用层的资源需求对所述IT资源层进行资源调度。A system, characterized by comprising: an application layer, an intermediate layer, and an IT resource layer; the intermediate layer is between the application layer and the IT resource layer, and is used to adopt a resource bidding and regulation mechanism to combine all The resource requirements of the application layer perform resource scheduling on the IT resource layer.
  2. 根据权利要求1所述的系统,其特征在于,所述IT资源层包括至少一个可调度的IT资源;所述中间层包括:资源调度节点和资源调控节点;The system according to claim 1, wherein the IT resource layer includes at least one schedulable IT resource; the intermediate layer includes: a resource scheduling node and a resource control node;
    所述资源调控节点,用于采用资源调控机制,调控所述IT资源层中可参与资源竞价的IT资源;The resource control node is used to adopt a resource control mechanism to control IT resources that can participate in resource bidding in the IT resource layer;
    所述资源调度节点,用于采用资源竞价机制,结合所述应用层的资源需求对所述IT资源层中可参与资源竞价的IT资源进行调度。The resource scheduling node is configured to use a resource bidding mechanism to schedule IT resources in the IT resource layer that can participate in resource bidding in combination with the resource requirements of the application layer.
  3. 根据权利要求2所述的系统,其特征在于,所述中间层还包括:资源管理器;The system according to claim 2, wherein the middle layer further comprises: a resource manager;
    所述资源管理器,用于对所述IT资源层中的IT资源进行功耗控制,并向所述资源调控节点反馈相关IT资源的运行状态。The resource manager is used to control the power consumption of the IT resources in the IT resource layer, and feed back the running status of the related IT resources to the resource control node.
  4. 根据权利要求3所述的系统,其特征在于,所述资源管理器具体用于:利用第一机器学习模型学习各IT资源的负载与功耗变化关系,根据学习到的负载与功耗变化关系,对所述各IT资源进行功耗控制。The system according to claim 3, wherein the resource manager is specifically configured to: use the first machine learning model to learn the relationship between the load and power consumption of each IT resource, and according to the learned relationship between the load and the power consumption , Perform power consumption control on each IT resource.
  5. 根据权利要求3所述的系统,其特征在于,所述资源调控节点具体用于:结合所述资源管理器反馈的相关IT资源的运行状态,利用第二机器学习模型学习IT资源参与资源竞价的变化规律;采用资源调控机制,结合学习到的变化规律,调控所述IT资源层中可参与资源竞价的IT资源。The system according to claim 3, wherein the resource control node is specifically used to combine the running status of related IT resources fed back by the resource manager, and use a second machine learning model to learn how IT resources participate in resource bidding. The law of change: A resource control mechanism is used, combined with the learned law of change, to control the IT resources in the IT resource layer that can participate in resource bidding.
  6. 根据权利要求3所述的系统,其特征在于,所述中间层还包括:代理节点,用于为所述应用层中的应用程序向所述资源调度节点发起资源竞价请求,以申请资源。The system according to claim 3, wherein the intermediate layer further comprises: a proxy node for initiating a resource bidding request to the resource scheduling node for an application in the application layer to apply for resources.
  7. 根据权利要求6所述的系统,其特征在于,所述代理节点具体用于:The system according to claim 6, wherein the proxy node is specifically configured to:
    利用第三机器学习模型,学习所述代理节点对应的应用程序的运行规律;Use the third machine learning model to learn the operating law of the application program corresponding to the agent node;
    根据所述代理节点对应的应用程序的运行规律,确定所述代理节点对应的应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息;Determine at least one task that needs to be completed by the application program corresponding to the agent node and resource information that the at least one task needs to use according to the operating law of the application program corresponding to the agent node;
    根据所述至少一个任务需要使用的资源信息,生成所述代理节点对应的应用程序的资源竞价请求。According to the resource information that the at least one task needs to use, a resource bidding request of the application program corresponding to the agent node is generated.
  8. 一种资源调度方法,其特征在于,包括:A resource scheduling method, characterized in that it comprises:
    获取上层应用的资源需求;Obtain the resource requirements of upper-level applications;
    采用资源竞价与调控机制,结合所述上层应用的资源需求,对下层IT资源进行资源调度。The resource bidding and regulation mechanism is adopted, combined with the resource requirements of the upper-layer applications, to perform resource scheduling on the lower-layer IT resources.
  9. 根据权利要求8所述的方法,其特征在于,采用资源竞价与调控机制,结合所述上层应用的资源需求,对下层IT资源进行资源调度,包括:The method according to claim 8, characterized in that, using a resource bidding and regulation mechanism and combining the resource requirements of the upper-layer application to perform resource scheduling on the lower-layer IT resources comprises:
    采用资源调控机制,调控下层IT资源中可参与资源竞价的IT资源;Adopt a resource control mechanism to control IT resources that can participate in resource bidding among lower-level IT resources;
    采用资源竞价机制,结合所述上层应用的资源需求,对所述下层IT资源中可参与资源竞价的IT资源进行调度。A resource bidding mechanism is used to schedule IT resources that can participate in resource bidding among the lower-level IT resources in combination with the resource requirements of the upper-layer application.
  10. 根据权利要求9所述的方法,其特征在于,采用资源调控机制,调控下层IT资源中可参与资源竞价的IT资源,包括:The method according to claim 9, characterized in that, adopting a resource control mechanism to regulate and control IT resources that can participate in resource bidding among lower-level IT resources, comprising:
    采用资源调控机制,结合所述下层IT资源中相关IT资源的运行状态,调控所述下层IT资源中可参与资源竞价的IT资源。A resource control mechanism is adopted, combined with the operating status of related IT resources in the lower-level IT resources, to regulate and control the IT resources in the lower-level IT resources that can participate in resource bidding.
  11. 一种资源调控方法,其特征在于,包括:A resource control method, which is characterized in that it comprises:
    监控参与资源竞价的可调度资源在资源市场中的状态信息;Monitor the status information of schedulable resources participating in resource bidding in the resource market;
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。According to the state information of the schedulable resources participating in the resource bidding in the resource market, the schedulable resources participating in the resource bidding are regulated and controlled.
  12. 根据权利要求11所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控,包括以下至少一种调控操作:The method according to claim 11, characterized in that, according to the state information of the schedulable resources participating in the resource bidding in the resource market, the regulation of the schedulable resources participating in the resource bidding includes at least one of the following regulation operating:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,调整所述参与资源竞价的可调度资源在资源市场中的实际竞价值;Adjust the actual bid value of the schedulable resource participating in the resource bidding in the resource market according to the state information of the schedulable resource participating in the resource bidding in the resource market;
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,调整所述参与资源竞价的可调度资源的数量。According to the state information of the schedulable resources participating in the resource bidding in the resource market, the quantity of the schedulable resources participating in the resource bidding is adjusted.
  13. 根据权利要求12所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,调整所述参与资源竞价的可调度资源在资源市场中的实际竞价值,包括:The method according to claim 12, wherein the actual bid value of the schedulable resource participating in the resource bidding in the resource market is adjusted according to the state information of the schedulable resource participating in the resource bidding in the resource market, include:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源;According to the state information of the schedulable resources participating in the resource bidding in the resource market, determine the first schedulable resource whose bid value needs to be adjusted;
    向资源调度方发送第一资源竞价请求,所述第一资源竞价请求包括第一实际竞价值,用以调整所述第一可调度资源在资源市场中的实际竞价值。A first resource bidding request is sent to the resource scheduler, where the first resource bidding request includes a first actual bid value for adjusting the actual bid value of the first schedulable resource in the resource market.
  14. 根据权利要求13所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要调整竞价值的第一可调度资源,包括:The method according to claim 13, wherein, according to the state information of the schedulable resources participating in the resource bidding in the resource market, determining the first schedulable resource that needs to adjust the bid value comprises:
    根据表征所述参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算所述参与资源竞价的可调度资源的基准竞价值;Calculating the benchmark bid value of the schedulable resource participating in the resource bidding according to the resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market;
    从表征所述参与资源竞价的可调度资源在资源市场中的竞价状态的竞价参数中,获取所述参与资源竞价的可调度资源的成交竞价值;Obtaining the transaction bid value of the schedulable resource participating in the resource bidding from the bidding parameter that characterizes the bidding status of the schedulable resource participating in the resource bidding in the resource market;
    根据所述参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源。According to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, the first schedulable resource whose bid value needs to be adjusted is determined.
  15. 根据权利要求14所述的方法,其特征在于,根据表征所述参与资源竞价的可调度资源在资源市场中的运行状态的资源参数,计算所述参与资源竞价的可调度资源的基准竞价值,包括:The method according to claim 14, wherein the benchmark bid value of the schedulable resource participating in the resource bidding is calculated according to the resource parameter characterizing the operating state of the schedulable resource participating in the resource bidding in the resource market, include:
    将表征所述参与资源竞价的可调度资源在资源市场中的运行状态的资源参数输入成本预测模型,利用所述成本预测模型计算所述参与资源竞价的可调度资源的基准竞价值。The resource parameter that characterizes the operating state of the schedulable resource participating in the resource bidding in the resource market is input into a cost prediction model, and the cost prediction model is used to calculate the benchmark bid value of the schedulable resource participating in the resource bidding.
  16. 根据权利要求14或15所述的方法,其特征在于,根据所述参与资源竞价的可调度资源的基准竞价值和成交竞价值,确定需要调整竞价值的第一可调度资源,包括:The method according to claim 14 or 15, characterized in that, according to the benchmark bid value and the transaction bid value of the schedulable resources participating in the resource bidding, determining the first schedulable resource whose bid value needs to be adjusted includes:
    从所述参与资源竞价的可调度资源中,获取成交竞价值小于基准竞价值的可调度资源作为所述第一可调度资源;其中,所述第一实际竞价值大于所述基准竞价值。From the schedulable resources participating in the resource bidding, a schedulable resource whose transaction bid value is less than a reference bid value is obtained as the first schedulable resource; wherein, the first actual bid value is greater than the reference bid value.
  17. 根据权利要求12所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,调整所述参与资源竞价的可调度资源的数量,包括:The method according to claim 12, wherein, according to the state information of the schedulable resources participating in the resource bidding in the resource market, adjusting the quantity of the schedulable resources participating in the resource bidding comprises:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调度资源;According to the state information of the schedulable resources participating in the resource bidding in the resource market, determine the second schedulable resource that needs to withdraw from the resource bidding;
    向资源调度方发送第二资源竞价请求,所述第二资源竞价请求包含第二实际竞价值,用以申请所述第二可调度资源;Sending a second resource bidding request to the resource scheduler, where the second resource bidding request includes a second actual bid value for applying for the second schedulable resource;
    在申请到所述第二可调度资源之后,调整所述第二可调度资源的工作状态至不满足能够参与资源竞价的要求以退出资源竞价。After the second schedulable resource is applied for, the working state of the second schedulable resource is adjusted to not meet the requirement of being able to participate in the resource bidding to withdraw from the resource bidding.
  18. 根据权利要求17所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要退出资源竞价的第二可调度资源,包括:The method according to claim 17, wherein, according to the state information of the schedulable resources participating in the resource bidding in the resource market, determining the second schedulable resource that needs to withdraw from the resource bidding comprises:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,分析所述参与资源竞价的可调度资源的负载量;Analyzing the load of the schedulable resource participating in the resource bidding in the resource market according to the state information of the schedulable resource participating in the resource bidding;
    从所述参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为所述第二可调度资源。From the schedulable resources participating in the resource bidding, obtain a schedulable resource whose load is lower than a first load threshold as the second schedulable resource.
  19. 根据权利要求18所述的方法,其特征在于,在获取负载量低于第一负载量阈值的可调度资源作为所述第二可调度资源之前,还包括:The method according to claim 18, wherein before acquiring a schedulable resource whose load is lower than a first load threshold as the second schedulable resource, the method further comprises:
    判断负载量低于第二负载量阈值的可调度资源的数量是否大于第一数量阈值;Judging whether the number of schedulable resources whose load is lower than the second load threshold is greater than the first number threshold;
    若判断结果为是,从所述参与资源竞价的可调度资源中,获取负载量低于第一负载量阈值的可调度资源作为所述第二可调度资源;If the judgment result is yes, obtain a schedulable resource whose load is lower than the first load threshold from the schedulable resources participating in the resource bidding as the second schedulable resource;
    其中,所述第二负载量阈值大于所述第一负载量阈值。Wherein, the second load threshold is greater than the first load threshold.
  20. 根据权利要求17-19任一项所述的方法,其特征在于,调整所述第二 可调度资源的工作状态至不满足能够参与资源竞价的要求以退出资源竞价,包括:The method according to any one of claims 17-19, wherein adjusting the working state of the second schedulable resource to a requirement of being able to participate in resource bidding to withdraw from the resource bidding comprises:
    关闭所述第二可调度资源;或者Close the second schedulable resource; or
    控制所述第二可调度资源进入不高于指定级别的低功耗模式;或者Controlling the second schedulable resource to enter a low power consumption mode not higher than a specified level; or
    将所述第二可调度资源的工作频率调整至不高于指定频率;Adjusting the working frequency of the second schedulable resource to not higher than a specified frequency;
    其中,指定级别或指定频率对应于不满足能够参与资源竞价的要求。Among them, the designated level or designated frequency corresponds to not meeting the requirement of being able to participate in resource bidding.
  21. 根据权利要求12所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,调整所述参与资源竞价的可调度资源的数量,包括:The method according to claim 12, wherein, according to the state information of the schedulable resources participating in the resource bidding in the resource market, adjusting the quantity of the schedulable resources participating in the resource bidding comprises:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要增加可参与资源竞价的可调度资源;According to the state information of the schedulable resources participating in the resource bidding in the resource market, it is determined that it is necessary to increase the schedulable resources that can participate in the resource bidding;
    从未参与资源竞价的可调度资源中,选择可参与资源竞价的第三可调度资源;以及Among the schedulable resources that have never participated in the resource bidding, select the third schedulable resource that can participate in the resource bidding; and
    将所述第三可调度资源的工作状态调整至满足能够参与资源竞价的要求以参与资源竞价。The working state of the third schedulable resource is adjusted to meet the requirement of being able to participate in the resource bidding to participate in the resource bidding.
  22. 根据权利要求21所述的方法,其特征在于,根据所述参与资源竞价的可调度资源在资源市场中的状态信息,确定需要增加可参与资源竞价的可调度资源,包括:The method according to claim 21, characterized in that, according to the state information of the schedulable resources participating in the resource bidding in the resource market, determining that it is necessary to increase the schedulable resources participating in the resource bidding comprises:
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,分析所述参与资源竞价的可调度资源的负载量;Analyzing the load of the schedulable resource participating in the resource bidding in the resource market according to the state information of the schedulable resource participating in the resource bidding;
    若负载量高于第三负载量阈值的可调度资源的数量大于第二数量阈值,确定需要增加可参与资源竞价的可调度资源。If the number of schedulable resources whose load is higher than the third load threshold is greater than the second number threshold, it is determined that it is necessary to increase the schedulable resources that can participate in resource bidding.
  23. 一种资源申请方法,其特征在于,包括:A resource application method, characterized in that it includes:
    确定第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息;Determine at least one task that needs to be completed by the first application program and resource information that the at least one task needs to use;
    根据所述至少一个任务需要使用的资源信息,确定为所述至少一个任务申请所需资源给出的实际竞价值;Determine the actual competitive value given for the resource required by the at least one task application according to the resource information that the at least one task needs to use;
    根据所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;Generating a resource bid request according to the resource information that the at least one task needs to use and the actual bid value given for the resource required for the at least one task application;
    将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;Sending the resource bid request to a resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources;
    接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。Receiving a result of the first application bidding for a schedulable resource returned by the resource scheduler.
  24. 根据权利要求23所述的方法,其特征在于,确定第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息,包括:The method according to claim 23, wherein determining at least one task to be completed by the first application program and resource information to be used by the at least one task comprises:
    利用运行规律预测模型,学习所述第一应用程序的运行规律;Use the operation rule prediction model to learn the operation rule of the first application program;
    根据所述第一应用程序的运行规律,确定所述第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息。According to the running law of the first application program, determine at least one task to be completed by the first application program and resource information to be used by the at least one task.
  25. 根据权利要求23所述的方法,其特征在于,根据所述至少一个任务需要使用的资源信息,确定为所述至少一个任务申请所需资源给出的实际竞价值,包括:The method according to claim 23, wherein, according to the resource information that the at least one task needs to use, determining the actual competitive value given for the resource required by the at least one task application comprises:
    根据所述至少一个任务需要使用的资源信息,从已知可调度资源信息中确定候选可调度资源及其参考竞价值;Determine candidate schedulable resources and their reference competitive value from the known schedulable resource information according to the resource information that the at least one task needs to use;
    根据本次资源申请的预算总价和所述候选可调度资源的参考竞价值,确定为所述至少一个任务申请所需资源给出的实际竞价值。According to the total budget price of this resource application and the reference bid value of the candidate schedulable resource, the actual bid value given for the resource required by the at least one task application is determined.
  26. 根据权利要求23所述的方法,其特征在于,根据所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值,生成所述资源竞价请求,包括:The method according to claim 23, wherein generating the resource bid request according to the resource information that the at least one task needs to use and the actual bid value given for the resource required by the at least one task application includes :
    针对每个任务分别生成资源竞价请求,每个任务的资源竞价请求包括所述任务需要使用的资源信息和为所述任务申请所需资源给出的实际竞价值;或者A resource bidding request is generated for each task separately, and the resource bidding request for each task includes the resource information that the task needs to use and the actual bid value given for the resources required by the task request; or
    将所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值封装到同一资源竞价请求中。The resource information that the at least one task needs to use and the actual bid value given for the resource required by the at least one task application are encapsulated into the same resource bidding request.
  27. 根据权利要求26所述的方法,其特征在于,在确定为所述至少一个 任务申请所需资源给出的实际竞价值之后,所述方法还包括:The method according to claim 26, wherein after determining the actual competitive value given for the resource required for the at least one task application, the method further comprises:
    根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,对为所述至少一个任务申请所需资源给出的实际竞价值进行调整。According to the operating state information of the managed and schedulable resource fed back by the resource management and control party in the future period of time, the actual competitive value given by the resource required for the at least one task application is adjusted.
  28. 根据权利要求27所述的方法,其特征在于,根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,对为所述至少一个任务申请所需资源给出的实际竞价值进行调整,包括:The method according to claim 27, characterized in that, according to the running status information of the managed and schedulable resource fed back by the resource management and control party in the future period, the actual competitive value given to the resource required for the at least one task application Make adjustments, including:
    根据资源管控方反馈的被管控可调度资源在未来时段内的运行状态信息,判断所述至少一个任务所需资源的数量在未来时段内是否少于第三数量阈值;Judging whether the number of resources required by the at least one task in the future period is less than the third number threshold in the future period according to the running state information of the managed and schedulable resource fed back by the resource management and control party in the future period;
    若判断结果为是,增大为所述至少一个任务申请所需资源给出的实际竞价值。If the judgment result is yes, increase the actual competitive value given for the resources required for the at least one task application.
  29. 一种资源申请方法,其特征在于,包括:A resource application method, characterized in that it includes:
    确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;Determine the number of resources that the first application needs to apply for this time and the total budget for this resource application;
    根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;Generate a resource bid request based on the number of resources to be applied for this time and the total budget price of this resource application;
    将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;Sending the resource bid request to a resource scheduler, so that the resource scheduler can bid for the first application and other applications to apply for schedulable resources;
    接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。Receiving a result of the first application bidding for a schedulable resource returned by the resource scheduler.
  30. 根据权利要求29所述的方法,其特征在于,确定第一应用程序本次需要申请的资源数量,包括:The method according to claim 29, wherein determining the number of resources that the first application program needs to apply for this time comprises:
    根据第一应用程序的运行规律,确定所述第一应用程序需要完成的至少一个任务及所述至少一个任务需要使用的资源信息;Determine at least one task that needs to be completed by the first application program and resource information that the at least one task needs to use according to the running law of the first application program;
    根据所述至少一个任务需要使用的资源信息,确定所述第一应用程序本次需要申请的资源数量。According to the resource information that the at least one task needs to use, the number of resources that the first application needs to apply for this time is determined.
  31. 一种资源调度方法,其特征在于,包括:A resource scheduling method, characterized in that it comprises:
    接收资源竞价请求,所述资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;Receiving a resource bid request, where the resource bid request includes: the number of resources that the first application needs to apply for this time and the total budget price of this resource application;
    根据本次需要申请的资源数量和本次资源申请的预算总价,在参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值;According to the number of resources to be applied for this time and the total budget price of this resource application, determine at least one resource to be applied for and its actual bid value among the schedulable resources participating in the resource bidding;
    根据所述至少一个待申请资源的实际竞价值,为所述第一应用程序与其它应用程序竞价申请所述至少一个待申请资源,并返回所述第一应用程序的资源申请结果。According to the actual bid value of the at least one resource to be applied for, bid for the at least one resource to be applied for for the first application and other applications, and return the resource application result of the first application.
  32. 根据权利要求31所述的方法,其特征在于,根据本次需要申请的资源数量和本次资源申请的预算总价,在参与资源竞价的可调度资源中,确定至少一个待申请资源及其实际竞价值,包括:The method according to claim 31, characterized in that, based on the number of resources to be applied for this time and the total budget price of this resource application, among the schedulable resources participating in the resource bidding, at least one resource to be applied for and its actual value are determined. Competitive value, including:
    根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;According to the number of resources to be applied for this time, at least one resource to be applied for is determined among the schedulable resources participating in the resource bidding;
    根据本次资源申请的预算总价和所述至少一个待申请资源的参考竞价值,确定所述至少一个待申请资源的实际竞价值。Determine the actual bid value of the at least one resource to be applied for according to the total budget price of the resource application and the reference bid value of the at least one resource to be applied for.
  33. 根据权利要求32所述的方法,其特征在于,所述至少一个待申请资源的参考竞价值包括:所述至少一个待申请资源的基准竞价值、在资源市场中的平均实际竞价值或在资源市场中的最大实际竞价值。The method according to claim 32, wherein the reference bid value of the at least one resource to be applied for comprises: the benchmark bid value of the at least one resource to be applied for, the average actual bid value in the resource market, or the reference bid value of the at least one resource to be applied for. The largest actual competitive value in the market.
  34. 根据权利要求31所述的方法,其特征在于,根据本次需要申请的资源数量和本次资源申请的预算总价,确定至少一个待申请资源的实际竞价值,包括:The method according to claim 31, characterized in that determining the actual competitive value of at least one resource to be applied for based on the number of resources to be applied for this time and the total budgeted price of this resource application, including:
    根据本次需要申请的资源数量,在参与资源竞价的可调度资源中,确定至少一个待申请资源;According to the number of resources to be applied for this time, at least one resource to be applied for is determined among the schedulable resources participating in the resource bidding;
    根据本次需要申请的资源数量和本次资源申请的预算总价,计算平均竞价值作为所述至少一个待申请资源的实际竞价值。According to the number of resources to be applied for this time and the total budgeted price of this resource application, the average bid value is calculated as the actual bid value of the at least one resource to be applied for.
  35. 一种资源调控设备,其特征在于,包括:存储器和处理器;A resource control device, which is characterized by comprising: a memory and a processor;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:The processor, coupled with the memory, is configured to execute the computer program for:
    监控参与资源竞价的可调度资源在资源市场中的状态信息;Monitor the status information of schedulable resources participating in resource bidding in the resource market;
    根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。According to the state information of the schedulable resources participating in the resource bidding in the resource market, the schedulable resources participating in the resource bidding are regulated and controlled.
  36. 一种资源申请设备,其特征在于,包括:存储器、处理器以及通信组件;A resource application device, characterized by comprising: a memory, a processor, and a communication component;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:The processor, coupled with the memory, is configured to execute the computer program for:
    确定第一应用程序需要完成的至少一个任务以及所述至少一个任务需要使用的资源信息;Determine at least one task that needs to be completed by the first application program and resource information that the at least one task needs to use;
    根据所述至少一个任务需要使用的资源信息,确定为所述至少一个任务申请所需资源给出的实际竞价值;Determine the actual competitive value given for the resource required by the at least one task application according to the resource information that the at least one task needs to use;
    根据所述至少一个任务需要使用的资源信息和为所述至少一个任务申请所需资源给出的实际竞价值,生成资源竞价请求;Generating a resource bid request according to the resource information that the at least one task needs to use and the actual bid value given for the resource required for the at least one task application;
    通过所述通信组件将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源;以及接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结果。Send the resource bid request to the resource scheduler through the communication component, so that the resource scheduler can bid for the first application with other applications for schedulable resources; and receive the return from the resource scheduler The result of the first application bidding for schedulable resources.
  37. 一种资源申请设备,其特征在于,包括:存储器、处理器以及通信组件;A resource application device, characterized by comprising: a memory, a processor, and a communication component;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:The processor, coupled with the memory, is configured to execute the computer program for:
    确定第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;Determine the number of resources that the first application needs to apply for this time and the total budget for this resource application;
    根据本次需要申请的资源数量和本次资源申请的预算总价,生成资源竞价请求;Generate a resource bid request based on the number of resources to be applied for this time and the total budget price of this resource application;
    通过所述通信组件将所述资源竞价请求发送给资源调度方,以供所述资源调度方为所述第一应用程序与其它应用程序竞价申请可调度资源并返回;以及接收所述资源调度方返回的所述第一应用程序竞价申请可调度资源的结 果。Send the resource bid request to the resource scheduler through the communication component, so that the resource scheduler can bid for the first application and other applications for schedulable resources and return; and receive the resource scheduler The returned result of the first application bidding for schedulable resources.
  38. 一种资源调度设备,其特征在于,包括:存储器、处理器以及通信组件;A resource scheduling device, which is characterized by comprising: a memory, a processor, and a communication component;
    所述存储器,用于存储计算机程序;The memory is used to store a computer program;
    所述处理器,与所述存储器耦合,用于执行所述计算机程序,以用于:The processor, coupled with the memory, is configured to execute the computer program for:
    通过所述通信组件接收资源竞价请求,所述资源竞价请求包括:第一应用程序本次需要申请的资源数量和本次资源申请的预算总价;Receive a resource bid request through the communication component, where the resource bid request includes: the number of resources that the first application needs to apply for this time and the total budget price of this resource application;
    根据本次需要申请的资源数量和本次资源申请的预算总价,确定至少一个待申请资源的实际竞价值;Determine the actual competitive value of at least one resource to be applied for according to the number of resources to be applied for this time and the total budget price of this resource application;
    根据所述至少一个待申请资源的实际竞价值,为所述第一应用程序与其它应用程序竞价申请所述至少一个待申请资源,并通过所述通信组件返回所述第一应用程序的资源申请结果。According to the actual bid value of the at least one resource to be applied for, bid for the at least one resource to be applied for for the first application and other applications, and return the resource application of the first application through the communication component result.
  39. 一种资源管理系统,其特征在于,包括:资源调度方、资源需求方以及资源调控方;A resource management system, characterized by comprising: a resource scheduling party, a resource demanding party, and a resource regulating party;
    所述资源需求方,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度方,以参与资源竞价;The resource demander is configured to generate a resource bidding request for the first application; send the resource bidding request to the resource scheduler to participate in the resource bidding;
    所述资源调度方,用于根据所述资源调度请求,在参与资源竞价的可调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;The resource scheduler is configured to apply for schedulable resources for the first application program and other application programs in the schedulable resources participating in the resource bidding according to the resource scheduling request;
    所述资源调控方,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。The resource regulator is used to monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, check the status information of the schedulable resources participating in the resource bidding Scheduling resources for regulation.
  40. 一种机房系统,其特征在于,包括:至少一个可调度资源、至少一个基础设施、资源申请设备、资源调度设备以及资源调控设备;所述至少一个基础设施为所述至少一个可调度资源提供基础服务;A computer room system, characterized by comprising: at least one schedulable resource, at least one infrastructure, resource application equipment, resource scheduling equipment, and resource control equipment; the at least one infrastructure provides the basis for the at least one schedulable resource service;
    所述资源需求设备,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度设备,以参与资源竞价;The resource demand device is configured to generate a resource bidding request for a first application program; send the resource bidding request to the resource scheduling device to participate in the resource bidding;
    所述资源调度设备,用于根据所述资源调度请求,在参与资源竞价的可 调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;The resource scheduling device is configured to, according to the resource scheduling request, apply for a schedulable resource for the first application program and other application programs among the schedulable resources participating in the resource bidding;
    所述资源调控设备,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。The resource control device is used to monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, check the status information of the schedulable resources participating in the resource bidding Scheduling resources for regulation.
  41. 一种数据中心系统,其特征在于,包括:至少一个机房、资源申请设备、资源调度设备以及资源调控设备;每个机房包括至少一个可调度资源和至少一个基础设施,所述至少一个基础设施为所述至少一个可调度资源提供基础服务;A data center system is characterized by comprising: at least one computer room, resource application equipment, resource scheduling equipment, and resource control equipment; each computer room includes at least one schedulable resource and at least one infrastructure, and the at least one infrastructure is The at least one schedulable resource provides basic services;
    所述资源需求设备,用于为第一应用程序生成资源竞价请求;将所述资源竞价请求发送给所述资源调度设备,以参与资源竞价;The resource demand device is configured to generate a resource bidding request for a first application program; send the resource bidding request to the resource scheduling device to participate in the resource bidding;
    所述资源调度设备,用于根据所述资源调度请求,在参与资源竞价的可调度资源中,为所述第一应用程序与其它应用程序竞价申请可调度资源;The resource scheduling device is configured to, according to the resource scheduling request, apply for a schedulable resource for the first application program and other application programs among the schedulable resources participating in the resource bidding;
    所述资源调控设备,用于监控参与资源竞价的可调度资源在资源市场中的状态信息;根据所述参与资源竞价的可调度资源在资源市场中的状态信息,对所述参与资源竞价的可调度资源进行调控。The resource control device is used to monitor the status information of the schedulable resources participating in the resource bidding in the resource market; according to the status information of the schedulable resources participating in the resource bidding in the resource market, check the status information of the schedulable resources participating in the resource bidding Scheduling resources for regulation.
  42. 一种存储有计算机程序的计算可读存储介质,其特征在于,当所述计算机程序被处理器执行时,致使所述处理器实现上述权利要求1-34任一项所述方法中的步骤。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to implement the steps in the method of any one of claims 1-34.
PCT/CN2019/105456 2019-09-11 2019-09-11 Resource scheduling, application, and control methods, apparatus, system, and storage medium WO2021046775A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980097831.6A CN114008996A (en) 2019-09-11 2019-09-11 Resource scheduling, applying and regulating method, device, system and storage medium
PCT/CN2019/105456 WO2021046775A1 (en) 2019-09-11 2019-09-11 Resource scheduling, application, and control methods, apparatus, system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/105456 WO2021046775A1 (en) 2019-09-11 2019-09-11 Resource scheduling, application, and control methods, apparatus, system, and storage medium

Publications (1)

Publication Number Publication Date
WO2021046775A1 true WO2021046775A1 (en) 2021-03-18

Family

ID=74866825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105456 WO2021046775A1 (en) 2019-09-11 2019-09-11 Resource scheduling, application, and control methods, apparatus, system, and storage medium

Country Status (2)

Country Link
CN (1) CN114008996A (en)
WO (1) WO2021046775A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153960A1 (en) * 2008-12-15 2010-06-17 Korea Advanced Institute Of Science And Technology Method and apparatus for resource management in grid computing systems
CN102075944A (en) * 2010-12-07 2011-05-25 南京邮电大学 Multi-Agent cooperation-based available resource management system and method in cognitive network
CN103338241A (en) * 2013-06-19 2013-10-02 合肥工业大学 Novel public cloud architecture and virtualized resource self-adaption configuration method thereof
CN105721565A (en) * 2016-01-29 2016-06-29 南京邮电大学 Game based cloud computation resource allocation method and system
CN109445931A (en) * 2018-08-31 2019-03-08 安徽四创电子股份有限公司 A kind of big data resource scheduling system and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516618B (en) * 2012-06-21 2018-08-28 阿里巴巴集团控股有限公司 A kind of information distribution method, system and relevant apparatus

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100153960A1 (en) * 2008-12-15 2010-06-17 Korea Advanced Institute Of Science And Technology Method and apparatus for resource management in grid computing systems
CN102075944A (en) * 2010-12-07 2011-05-25 南京邮电大学 Multi-Agent cooperation-based available resource management system and method in cognitive network
CN103338241A (en) * 2013-06-19 2013-10-02 合肥工业大学 Novel public cloud architecture and virtualized resource self-adaption configuration method thereof
CN105721565A (en) * 2016-01-29 2016-06-29 南京邮电大学 Game based cloud computation resource allocation method and system
CN109445931A (en) * 2018-08-31 2019-03-08 安徽四创电子股份有限公司 A kind of big data resource scheduling system and method

Also Published As

Publication number Publication date
CN114008996A (en) 2022-02-01

Similar Documents

Publication Publication Date Title
US11184236B2 (en) Methods and apparatus to control processing of telemetry data at an edge platform
Breitbach et al. Context-aware data and task placement in edge computing environments
US8359223B2 (en) Intelligent management of virtualized resources for cloud database systems
CN107003887A (en) Overloaded cpu setting and cloud computing workload schedules mechanism
KR101990411B1 (en) System for scaling resource based on priority in cloud system, apparatus and method thereof
Sathiyamoorthi et al. Adaptive fault tolerant resource allocation scheme for cloud computing environments
George et al. A review of different techniques in cloud computing
Supreeth et al. Comparative approach for VM scheduling using modified particle swarm optimization and genetic algorithm in cloud computing
WO2021046777A1 (en) Resource scheduling method, device, and system, resource application method, device, and system, resource pricing method, device, and system, and storage medium
EP3495952A1 (en) Prescriptive analytics based committed compute reservation stack for cloud computing resource scheduling
Li et al. A price-incentive resource auction mechanism balancing the interests between users and cloud service provider
NL2029681B1 (en) Efficient resource allocation for service level compliance
Huang et al. Adaptive processor frequency adjustment for mobile-edge computing with intermittent energy supply
Yadav et al. Maintaining container sustainability through machine learning
US11038755B1 (en) Computing and implementing a remaining available budget in a cloud bursting environment
WO2021046775A1 (en) Resource scheduling, application, and control methods, apparatus, system, and storage medium
Qavami et al. A learning automata based dynamic resource provisioning in cloud computing environments
Li et al. A research of resource scheduling strategy for cloud computing based on Pareto optimality M× N production model
Singh et al. Load-balancing strategy: employing a capsule algorithm for cutting down energy consumption in cloud data centers for next generation wireless systems
Li et al. A research of resource scheduling strategy with SLA restriction for cloud computing based on Pareto optimality M× N production model
CN113840007B (en) Load balancing method and device
Bindu et al. An Optimized Resource Allocation Model for Cloud Computing Using Ant Colony-based Auction Method
Venticinque et al. Reinforcement learning for resource allocation in cloud datacenter
US20230350722A1 (en) Apparatuses and methods for determining an interdependency between resources of a computing system
Almeida Characterizing and improving decision-making in Fog Radio Access Networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19945200

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19945200

Country of ref document: EP

Kind code of ref document: A1