Unlock instant, AI-driven research and patent intelligence for your innovation.

Resource allocation method and device for a cloud platform

A resource allocation and cloud platform technology, applied in the field of cloud computing, can solve problems such as low efficiency, no resources, heavy workload, etc.

Active Publication Date: 2021-05-25
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the virtual machine will appear idling or low-load during the running process, when the number of idling virtual machines in physical machine A is large, the resources of the physical machine A will be wasted, and the resources that really need to be deployed on these high-cost physical machines The virtual machine of machine A often cannot be implemented because there are not enough resources
[0004] In the prior art, when it is necessary to improve the configuration of the virtual machine in each physical machine, the administrator usually manually migrates the virtual machine from one physical machine to another physical machine online, which is complex and requires a large workload. ,low efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Resource allocation method and device for a cloud platform
  • Resource allocation method and device for a cloud platform
  • Resource allocation method and device for a cloud platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] refer to figure 1 , shows a flow chart of a method for configuring resources on a cloud platform.

[0030] The embodiment of the present invention can be applied to a resource configuration system having a physical machine, a virtual machine, and an automatic migration model, wherein the physical machine corresponds to a physical machine identifier, and the virtual machine corresponds to a virtual machine identifier; each of the physical machines There are virtual machines set up.

[0031] In a specific application, multiple computer rooms are usually set up in a region, and physical machines are placed in the computer room, and different virtual machines are set in the physical machines, and various services are processed through the virtual machines. The physical machine ID usually includes not only the equipment ID of the physical machine, but also corresponds to the location ID of the computer room where the physical machine is located. Through the physical machine...

Embodiment 2

[0047] refer to figure 2 , showing a specific flow chart of a resource configuration method for a cloud platform.

[0048] The embodiment of the present invention can be applied to a resource configuration system having a physical machine, a virtual machine, and an automatic migration model, wherein the physical machine corresponds to a physical machine identifier, and the virtual machine corresponds to a virtual machine identifier; each of the physical machines There are virtual machines set up.

[0049] The method specifically may include the following steps:

[0050] Step 201: Obtain the load parameters of the virtual machine collected by each collector, wherein the collector is set in the virtual machine.

[0051] In the embodiment of the present invention, a collector is set in each virtual machine. The collector can be a program module running a script, or a module of other forms. The collector can monitor the operation of the virtual machine and record the load param...

Embodiment 3

[0114] refer to image 3 , showing a block diagram of a resource configuration device for a cloud platform, which is applied to a resource configuration system having a physical machine, a virtual machine, and an automatic migration model, wherein the physical machine corresponds to a physical machine identifier, and the virtual machine corresponds to a A virtual machine identifier; a virtual machine is set in each of the physical machines; the device may specifically include:

[0115]The idling virtual machine determining module 310 is configured to determine an idling virtual machine among the virtual machines.

[0116] The resource occupancy value determination module 320 of the idling virtual machine is configured to determine the resource occupancy value of each of the idling virtual machines.

[0117] The physical machine available resource acquisition module 330 is configured to acquire the available resources of each physical machine.

[0118] The sending module 340 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present invention provide a resource configuration method and device for a cloud platform. The method includes: determining an idle virtual machine in each virtual machine; determining the resource occupancy value of each idle virtual machine; obtaining available resources of each physical machine; The virtual machine ID and resource occupancy value of each idling virtual machine, as well as the available resources and location area models of each physical machine are sent to the automatic migration model; so that the automatic migration model outputs the virtual machine to be migrated and the physical location of the migration target according to the preset migration conditions. machine; configure the virtual machine to be migrated to the migration target physical machine. In the embodiment of the present invention, in the process of implementing resource configuration, the administrator only needs to set the migration conditions, and does not need to determine the virtual machine to be migrated and the physical machine to be migrated, and does not need to manually configure the virtual machine to be migrated to the migration target. The target physical machine steps are easy to operate.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, in particular to a resource configuration method and device for a cloud platform. Background technique [0002] With the development of virtualization technology, more and more cloud computing systems encapsulate services in virtual machines and map them to physical machines. One physical machine can map the services of multiple virtual machines. [0003] Due to the differences in the regional economic development where the physical machine is located, there will be differences in performance and cost in the erection of the physical machine. For example, the cost of setting up physical machine A in Shanghai will be higher than that of physical machine B in Xi’an. It can provide better performance and resources than physical machine B, such as shorter response time, etc. Because the virtual machine will appear idling or low-load during the running process, when the number of idlin...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/48G06F9/455
CPCG06F9/45558G06F9/4881G06F2009/4557
Inventor 林青云顾晓洁
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD