CN111767140A - Resource allocation method, system, medium and equipment of cloud computing system - Google Patents

Resource allocation method, system, medium and equipment of cloud computing system Download PDF

Info

Publication number
CN111767140A
CN111767140A CN202010567421.8A CN202010567421A CN111767140A CN 111767140 A CN111767140 A CN 111767140A CN 202010567421 A CN202010567421 A CN 202010567421A CN 111767140 A CN111767140 A CN 111767140A
Authority
CN
China
Prior art keywords
network resources
cloud computing
time periods
different time
configuration information
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202010567421.8A
Other languages
Chinese (zh)
Inventor
范明荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Jiuzhou Electric Group Co Ltd
Original Assignee
Sichuan Jiuzhou Electric Group Co Ltd
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 Sichuan Jiuzhou Electric Group Co Ltd filed Critical Sichuan Jiuzhou Electric Group Co Ltd
Priority to CN202010567421.8A priority Critical patent/CN111767140A/en
Publication of CN111767140A publication Critical patent/CN111767140A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a resource allocation method, a system, a medium and equipment of a cloud computing system, comprising the following steps: receiving a cloud computing service request sent by a user terminal; writing the operation task corresponding to the cloud computing service request into a task list; analyzing the operation tasks in the task list in sequence, and determining the network resources required by the operation tasks in different time periods; generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods; and distributing corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information. The invention can flexibly distribute the network resources in different time periods aiming at the operation tasks corresponding to the service requests of the users, thereby greatly improving the use efficiency of the network resources, the rationality of the resource distribution and the efficiency of the resource distribution.

Description

Resource allocation method, system, medium and equipment of cloud computing system
Technical Field
The invention relates to the field of cloud computing, in particular to a resource allocation method, a resource allocation system, a resource allocation medium and resource allocation equipment of a cloud computing system.
Background
Cloud computing functions to provide users with services in the form of leasing virtualized computing resources. In the prior art, when a cloud computing system allocates corresponding resources to service requests from users for processing, various requirements of the users are analyzed and allocated to corresponding background operation and maintenance departments in a manual auditing mode, and operation and maintenance personnel of each operation and maintenance department manually provide the required resources for the users.
Disclosure of Invention
In view of the above technical problems, the present invention provides a resource allocation method, system, medium, and device for a cloud computing system.
The technical scheme for solving the technical problems is as follows:
the invention provides a resource allocation method of a cloud computing system, which comprises the following steps:
receiving a cloud computing service request sent by a user terminal;
writing the operation task corresponding to the cloud computing service request into a task list;
analyzing the operation tasks in the task list in sequence, and determining the network resources required by the operation tasks in different time periods;
generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
and distributing corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the generating of the elastic configuration information according to the determined network resources required by the operation task in different time periods specifically includes:
and generating elastic configuration information according to the determined difference relation between the network resources required by the operation tasks in different time periods.
Further, analyzing the operation tasks in the task list in sequence to determine the network resources required by the operation tasks in different time periods, specifically comprising:
sequentially converting the operation tasks in the task list into a combination comprising at least one subtask;
respectively matching the at least one subtask with an available service directory, and determining whether an available service matched with the at least one subtask exists in the available service directory;
and determining network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
Further, according to the elastic configuration information, allocating corresponding network resources for executing the operation task at different time periods, specifically including:
and determining network resources corresponding to all subtasks of the operation task in different time periods according to the elastic configuration information, and using the network resources as the network resources allocated to the operation task.
In order to achieve the above object, the present invention further provides a resource allocation system of a cloud computing system, including:
the receiving module is used for receiving a cloud computing service request sent by a user terminal;
the writing module is used for writing the operation task corresponding to the cloud computing service request into a task list;
the analysis module is used for analyzing the operation tasks in the task list in sequence and determining the network resources required by the operation tasks in different time periods;
the generating module is used for generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
and the allocation module is used for allocating corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
Further, the generating module is specifically configured to generate the elastic configuration information according to the determined difference relationship between the network resources required by the operation task at different time periods.
Further, the analysis module specifically includes:
the conversion unit is used for sequentially converting the operation tasks in the task list into a combination containing at least one subtask;
the matching unit is used for respectively matching the at least one subtask with an available service directory and determining whether the available service directory has available services matched with the at least one subtask or not;
and the determining unit is used for determining the network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
Further, the allocation module is specifically configured to determine, according to the elastic configuration information, network resources corresponding to all subtasks of the operation task in different time periods, as the network resources allocated to the operation task.
The present invention also provides a computer-readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the above-described method.
The invention also provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method when executing the program.
The invention has the beneficial effects that: according to the operation tasks corresponding to the service requests of the users, the network resources can be flexibly distributed in different time periods, and the use efficiency, the reasonability and the efficiency of the resource distribution of the network resources are greatly improved.
Drawings
Fig. 1 is a flowchart of a resource allocation method of a cloud computing system according to an embodiment of the present invention;
fig. 2 is a block diagram of a resource allocation system of a cloud computing system according to an embodiment of the present invention.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Fig. 1 is a block diagram of a structure of a resource allocation method of a cloud computing system according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
11. receiving a cloud computing service request sent by a user terminal;
12. writing the operation task corresponding to the cloud computing service request into a task list;
13. analyzing the operation tasks in the task list in sequence, and determining the network resources required by the operation tasks in different time periods;
specifically, step 13 specifically includes:
131. sequentially converting the operation tasks in the task list into a combination comprising at least one subtask;
132. respectively matching the at least one subtask with an available service directory, and determining whether an available service matched with the at least one subtask exists in the available service directory;
133. and determining network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
14. Generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
specifically, step 14 specifically includes: and generating elastic configuration information according to the determined difference relation between the network resources required by the operation tasks in different time periods.
15. And distributing corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
Specifically, step 15 specifically includes: and determining network resources corresponding to all subtasks of the operation task in different time periods according to the elastic configuration information, and using the network resources as the network resources allocated to the operation task.
Fig. 2 is a block diagram of a resource allocation system of a cloud computing system according to an embodiment of the present invention, where the block diagram includes:
the receiving module is used for receiving a cloud computing service request sent by a user terminal;
the writing module is used for writing the operation task corresponding to the cloud computing service request into a task list;
the analysis module is used for analyzing the operation tasks in the task list in sequence and determining the network resources required by the operation tasks in different time periods;
the generating module is used for generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
and the allocation module is used for allocating corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
Optionally, in this embodiment, the generating module is specifically configured to generate the elastic configuration information according to the determined difference relationship between the network resources required by the operation task in different time periods.
Optionally, in this embodiment, the analysis module specifically includes:
the conversion unit is used for sequentially converting the operation tasks in the task list into a combination containing at least one subtask;
the matching unit is used for respectively matching the at least one subtask with an available service directory and determining whether the available service directory has available services matched with the at least one subtask or not;
and the determining unit is used for determining the network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
Optionally, in this embodiment, the allocating module is specifically configured to determine, according to the elastic configuration information, network resources corresponding to all subtasks of the operation task in different time periods, as the network resources allocated to the operation task.
An embodiment of the present invention further provides a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to perform the method steps in the above method embodiment; or storing the instructions corresponding to the software modules of the system embodiments.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the method steps in the above method embodiments are implemented.
The reader should understand that in the description of this specification, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the modules and units in the above described system embodiment may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A resource allocation method of a cloud computing system is characterized by comprising the following steps:
receiving a cloud computing service request sent by a user terminal;
writing the operation task corresponding to the cloud computing service request into a task list;
analyzing the operation tasks in the task list in sequence, and determining the network resources required by the operation tasks in different time periods;
generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
and distributing corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
2. The method for allocating resources of a cloud computing system according to claim 1, wherein generating elastic configuration information according to the determined network resources required by the operation task in different time periods specifically includes:
and generating elastic configuration information according to the determined difference relation between the network resources required by the operation tasks in different time periods.
3. The method according to claim 1 or 2, wherein the operation tasks in the task list are analyzed in sequence to determine network resources required by the operation tasks at different time periods, and specifically includes:
sequentially converting the operation tasks in the task list into a combination comprising at least one subtask;
respectively matching the at least one subtask with an available service directory, and determining whether an available service matched with the at least one subtask exists in the available service directory;
and determining network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
4. The method for allocating resources of a cloud computing system according to claim 3, wherein allocating corresponding network resources for executing the operation task at different time periods according to the elastic configuration information specifically includes:
and determining network resources corresponding to all subtasks of the operation task in different time periods according to the elastic configuration information, and using the network resources as the network resources allocated to the operation task.
5. A resource allocation system of a cloud computing system, comprising:
the receiving module is used for receiving a cloud computing service request sent by a user terminal;
the writing module is used for writing the operation task corresponding to the cloud computing service request into a task list;
the analysis module is used for analyzing the operation tasks in the task list in sequence and determining the network resources required by the operation tasks in different time periods;
the generating module is used for generating elastic configuration information according to the determined network resources required by the operation tasks in different time periods;
and the allocation module is used for allocating corresponding network resources for executing the operation tasks in different time periods according to the elastic configuration information.
6. The resource allocation system of the cloud computing system according to claim 5, wherein the generation module is specifically configured to generate the elastic configuration information according to the determined difference relationship between the network resources required by the operation task at different time periods.
7. The resource allocation system of the cloud computing system according to claim 5 or 6, wherein the analysis module specifically includes:
the conversion unit is used for sequentially converting the operation tasks in the task list into a combination containing at least one subtask;
the matching unit is used for respectively matching the at least one subtask with an available service directory and determining whether the available service directory has available services matched with the at least one subtask or not;
and the determining unit is used for determining the network resources corresponding to the available services in the cloud computing environment according to the time period corresponding to the at least one subtask.
8. The resource allocation system of the cloud computing system according to claim 7, wherein the allocation module is specifically configured to determine, according to the elastic configuration information, network resources corresponding to all subtasks of the operation task in different time periods, as the network resources allocated to the operation task.
9. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1 to 4.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 4 when executing the program.
CN202010567421.8A 2020-06-19 2020-06-19 Resource allocation method, system, medium and equipment of cloud computing system Pending CN111767140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010567421.8A CN111767140A (en) 2020-06-19 2020-06-19 Resource allocation method, system, medium and equipment of cloud computing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010567421.8A CN111767140A (en) 2020-06-19 2020-06-19 Resource allocation method, system, medium and equipment of cloud computing system

Publications (1)

Publication Number Publication Date
CN111767140A true CN111767140A (en) 2020-10-13

Family

ID=72721148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010567421.8A Pending CN111767140A (en) 2020-06-19 2020-06-19 Resource allocation method, system, medium and equipment of cloud computing system

Country Status (1)

Country Link
CN (1) CN111767140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923229A (en) * 2021-10-14 2022-01-11 京东科技信息技术有限公司 Elastic scheduling method and device for cloud computing resources and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001892A (en) * 2012-12-12 2013-03-27 中国联合网络通信集团有限公司 Network resource distribution method and system based on cloud computing
CN103713955A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 Method and device for managing resource dynamic allocation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103001892A (en) * 2012-12-12 2013-03-27 中国联合网络通信集团有限公司 Network resource distribution method and system based on cloud computing
CN103713955A (en) * 2013-12-31 2014-04-09 曙光云计算技术有限公司 Method and device for managing resource dynamic allocation

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923229A (en) * 2021-10-14 2022-01-11 京东科技信息技术有限公司 Elastic scheduling method and device for cloud computing resources and related equipment

Similar Documents

Publication Publication Date Title
Shafiq et al. A load balancing algorithm for the data centres to optimize cloud computing applications
US9213503B2 (en) Service provider management of virtual instances corresponding to hardware resources managed by other service providers
US9588813B1 (en) Determining cost of service call
Reda et al. Sort-Mid tasks scheduling algorithm in grid computing
CN103365713A (en) Resource dispatch and management method and device
Ramanathan et al. Towards optimal resource provisioning for Hadoop-MapReduce jobs using scale-out strategy and its performance analysis in private cloud environment
Chen et al. AAGA: Affinity-aware grouping for allocation of virtual machines
Belalem et al. Approaches to improve the resources management in the simulator CloudSim
CN110990143B (en) Task processing method, system, electronic device and storage medium
CN109582439B (en) DCN deployment method, device, equipment and computer readable storage medium
Singh et al. Cloud resource management optimization: taxonomy and research challenges
KR20160099762A (en) Cloud System for supporting auto-scaled Hadoop Distributed Parallel Processing System
KR101765725B1 (en) System and Method for connecting dynamic device on mass broadcasting Big Data Parallel Distributed Processing
CN112860450A (en) Request processing method and device
Chaudhary et al. An analysis of the load scheduling algorithms in the cloud computing environment: A survey
CN111767140A (en) Resource allocation method, system, medium and equipment of cloud computing system
CN110750330A (en) Virtual machine creating method, system, electronic equipment and storage medium
CN109491794A (en) Method for managing resource, device and electronic equipment
Lu et al. VM scaling based on Hurst exponent and Markov transition with empirical cloud data
Alworafi et al. Budget-aware task scheduling technique for efficient management of cloud resources
Fukuda et al. AgentTeamwork: Coordinating grid-computing jobs with mobile agents
Nino-Ruiz et al. Elastic scaling of e-infrastructures to support data-intensive research collaborations
US11663026B2 (en) Allocation of accelerator resources based on job type
Kang et al. Enhancing a strategy of virtualized resource assignment in adaptive resource cloud framework
CN113535358A (en) Task processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201013

RJ01 Rejection of invention patent application after publication