CROSS-REFERENCE TO RELATED APPLICATION(S) AND CLAIM OF PRIORITY

This application is based on and claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2019-0145665, filed on Nov. 14, 2019, in the Korean Intellectual Property Office, the disclosure of which is herein incorporated by reference in its entirety.

BACKGROUND

Field

The present disclosure relates generally to a method and a device for managing a cloud, and more particularly, to a cloud management device and a cloud management method for scheduling service resources in a cloud platform environment.

Description of Related Art

The features described in this section only provide background information regarding present embodiments, and do not constitute related-art technology.

The proportion of using a cloud environment rather than establishing an on-premise server environment when applications are developed and services are provided is increasing recently. However, there is no change in constraints of an operating system and a platform in executing various application in the cloud environment, and there still remain the problems of a slow development process and inflexible development and distribution methods of applications.

In addition, container-based micro services, which are capable of effectively using internal resources, and distributing and managing applications promptly on a second basis, have come to the market, but the container-based micro services have a limit to scaling out resources in response to increasing traffic of users.

Such a micro service does not allow mobility of services between container platforms, and has problems that it is difficult to flexibly scale out resources and to maximize mobility of services as collaboration between container platforms which flexibly provide extension and availability of services and are distributed geographically is needed.

To solve the above-mentioned problems, distributed and collaborative container platform technology has appeared, but there are still problems since resources are processed by sequential allocation of Round Robin scheduling other than scheduling for balanced resource allocation.

Accordingly, there is a demand for a method for balanced resource allocation in a large-scale distributed and collaborative container environment of a cloud.

SUMMARY

To address the above-discussed deficiencies of the prior art, it is a primary object of the present disclosure to provide a cloud management method and a cloud management device, which receive a resource allocation request for a specific service, calculate an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters; and determine a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score.

The technical objects to be achieved by the present disclosure are not limited to those mentioned in the above, and other technical objects that are not mentioned herein could be clearly understood by a person skilled in the art based on the following descriptions.

According to an embodiment of the present disclosure to achieve the above described object, a cloud management method by a cloud management device in a cloud platform environment includes: receiving a resource allocation request for a specific service; calculating an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters; and determining a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score.

In addition, calculating the idle resource current state score may include calculating by considering an idle CPU percentage, an idle memory percentage, an idle storage percentage, and an idle network percentage.

In addition, determining may include determining the node to allocate the resources for executing the requested specific service, by additionally considering a level of security.

In addition, determining may include determining the node to allocate the resources for executing the requested specific service, by additionally considering a number of times of occurrence of fault.

In addition, determining may include giving weights to the idle CPU percentage, the idle memory percentage, the idle storage percentage, the idle network percentage, the level of security, and the number of times of occurrence of fault, respectively, and determining the node to allocate the resources for executing the requested specific service, by additionally considering the weights.

In addition, the respective clusters may be positioned in different regions, and determining may include determining the node to allocate the resources for executing the requested specific service by additionally considering the regions of the respective clusters.

In addition, determining may include determining a node that has a highest idle resource current state score from among nodes of a cluster that satisfies a predetermined security condition by the requested specific service and exists in a predetermined region, as the node to allocate the resources for executing the requested specific service.

In addition, determining may include, when there does not exist a nod that contains the resources for executing the requested specific service, determining two or more nodes as the node to allocate the resources for executing the requested specific service.

In addition, determining may include determining two or more nodes in one cluster as the node to allocate the resources for executing the requested specific service.

According to an embodiment of the present disclosure, there is a provided a computer readable recording medium having a computer program recorded thereon for executing a cloud management method by a cloud management device in a cloud platform environment, the method including: receiving a resource allocation request for a specific service; calculating an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters; and determining a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score.

According to an embodiment of the present disclosure, a cloud management device includes: a communication unit configured to receive a resource allocation request for a specific service; and a controller configured to calculate an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters, and to determine a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score.

According to an embodiment of the present disclosure, a cloud system includes: a cloud management device configured to receive a resource allocation request for a specific service, to calculate an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters, and to determine a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score; and a cloud platform configured to allocate the resources for executing the specific service to the determined node.

According to various embodiments of the present disclosure, there are provided a cloud management method and a cloud management device, which receive a resource allocation request for a specific service, calculate an idle resource current state score regarding each resource of each node of each cluster by monitoring virtual resource usage current states of a plurality of nodes included in a plurality of clusters; and determine a node to allocate resources for executing the requested specific service, based on the calculated idle resource current state score. Accordingly, a score may be given to a resource current state of an associated cluster, and a resource candidate group can be selected in response to a service scheduling request, based on the score, and an optimal node can be selected based on required resources necessary for the service.

The effects that can be achieved by the present disclosure are not limited to those mentioned in the above, and other effects that are not mentioned herein could be clearly understood by a person skilled in the art based on the following descriptions.

Other aspects, advantages, and salient features of the invention will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses exemplary embodiments of the invention.

Before undertaking the DETAILED DESCRIPTION OF THE INVENTION below, it may be advantageous to set forth definitions of certain words and phrases used throughout this patent document: the terms “include” and “comprise,” as well as derivatives thereof, mean inclusion without limitation; the term “or,” is inclusive, meaning and/or; the phrases “associated with” and “associated therewith,” as well as derivatives thereof, may mean to include, be included within, interconnect with, contain, be contained within, connect to or with, couple to or with, be communicable with, cooperate with, interleave, juxtapose, be proximate to, be bound to or with, have, have a property of, or the like. Definitions for certain words and phrases are provided throughout this patent document, those of ordinary skill in the art should understand that in many, if not most instances, such definitions apply to prior, as well as future uses of such defined words and phrases.

