Elastic management method and system for improving resource efficiency

By using machine learning models on cloud servers to predict resource requirements, and combining microservice grid architecture and container orchestration modules for resource pre-allocation and elastic scaling management, the problem of poor resource allocation in the existing technology is solved and resource allocation is achieved. Optimal distribution and efficient operation of the system.

CN118642852AInactive Publication Date: 2024-09-13BEIJING ZHIYE TECH IND CO LTD

Patent Information

Application Number
CN202410812838.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-22
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing resource elasticity management methods cannot pre-allocate according to predicted resource needs, resulting in poor resource allocation. They also lack indicator evaluation of elastic management strategies and cannot judge whether the strategies are optimal.

Method used

Use machine learning models to predict future resource needs through cloud servers, use microservice grid architecture and container orchestration modules for resource pre-allocation and elastic scaling management, and use real-time monitoring and log services for anomaly detection and optimization, and build artificial intelligence models to manage resources. Real-time optimization and evaluation of metrics for elastic management strategies.

Benefits of technology

It achieves the optimal allocation of resources, improves resource utilization, reduces costs, and increases system reliability and user experience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The invention relates to the technical field of resource flexible management, and discloses a flexible management method for improving resource efficiency, comprising the following steps: S1, resource demand prediction: predicting future resource demands; s2, resource pre-allocation: pre-allocating the resources; s3, elastic expansion management: dynamically adjusting resource allocation; s4, abnormity monitoring: monitoring an application program and a log; and S5, resource real-time optimization: optimizing the resources. The invention further discloses a system of the elastic management method for improving the resource efficiency. The system comprises a container service module, a cloud native database, a cloud server, a real-time monitoring module, a log service module and a micro-service grid architecture module. According to the method, future resource demands are predicted through a machine learning model, and then resources are pre-allocated; and then resource allocation is dynamically adjusted by adopting a corresponding elastic management strategy method, so that the resources can be effectively allocated by adopting the optimal elastic management strategy, the resource utilization rate is improved, the cost is reduced, the reliability is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of resource elasticity management, and in particular to an elasticity management method and system for improving resource efficiency. Background Art

[0002] With the popularization of cloud-native architecture technology, resource elasticity management has become a key element in the field of cloud computing; its application deployment and operation mode is based on containers, microservices and automated operation and maintenance; it uses the elastic resource scheduling of cloud computing to achieve high availability and elastic expansion of applications; through the application of elastic resources and the introduction of cloud-native architecture, enterprises can better respond to business changes, improve resource utilization and operation and maintenance efficiency, and achieve business innovation and development, which has important significance and application value.

[0003] A Chinese patent discloses an elastic management method for improving resource efficiency (Announcement No. CN117992228A). This patented technology can dynamically adjust resource quotas according to actual needs through predictive expansion and contraction and intelligent capacity planning, avoid resource waste and over-allocation, and improve resource utilization; by monitoring and measuring the performance indicators of applications, potential performance bottlenecks and resource shortages can be discovered in a timely manner; an intelligent fault recovery mechanism is designed that can automatically optimize and adjust when a fault occurs; by monitoring user experience indicators and adjusting resource configuration based on real-time data, it can respond to user needs in a timely manner, improving user experience and satisfaction. However, it cannot pre-allocate resources based on predicted resource needs, which can lead to poor resource allocation, and there is no evaluation of the indicators of the elastic management strategy, which makes it impossible to determine whether the elastic management strategy is optimal. Summary of the invention

[0004] The object of the present invention is to provide a flexible management method and system for improving resource efficiency, so as to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solutions: The elasticity management method for improving resource efficiency includes the following steps: S1. Resource demand prediction: The cloud server uses historical data and real-time data stored in the cloud native database to train the machine learning model and predict future resource demand through the machine learning model; S2. Resource pre-allocation: Split the application into several microservices through the microservice grid architecture module, and then use time series analysis, regression and clustering algorithms to identify resource demand patterns based on predicted resource demand, and pre-allocate resources to several microservices; S3, elastic scaling management: based on the pre-allocated resources and the actual load monitored in real time, the container orchestration and deployment module is used to trigger the elastic scaling mechanism, and the corresponding elastic management strategy method is used to dynamically adjust resource allocation, realize automatic elastic expansion and load balancing, and evaluate the indicators of the elastic management strategy for resource adjustment allocation; S4, Abnormal monitoring: Monitor the performance indicators, operation status and health status of the application online through the real-time monitoring module, and collect and analyze logs through the log service module, triggering early warnings and automatic corrective measures when abnormal conditions are detected; S5. Real-time resource optimization: Build an artificial intelligence model to identify resource bottlenecks and optimize them to avoid idle resources. At the same time, predict nodes that may fail, take failover and fault repair measures in advance, and maintain the stability and sustainability of the service.

[0006] As a further solution of the present invention: in the S3 step, the triggering conditions of the elastic scaling mechanism include indicator triggering, request triggering, time triggering and event triggering; wherein, under the indicator-based triggering conditions, the microservice triggers resource adjustment according to the indicators, and the indicators include CPU utilization and memory consumption rate; under the request-based triggering conditions, the microservice triggers resource adjustment according to the number of requests; in the time-based elastic triggering, the microservice triggers resource adjustment at a predetermined time; in the event-based elastic triggering, the system triggers resource adjustment when a specific event occurs.

[0007] As a further solution of the present invention: in the step S3, the elastic management strategy method includes a fixed elastic management strategy method, a dynamic elastic management strategy method and a comprehensive elastic management strategy method, wherein, under the fixed elastic management strategy method, the resource allocation is within a set range, and when the resource exceeds or falls below a threshold, an adjustment is made; Under the dynamic elastic management strategy approach, resource allocation is dynamically adjusted based on workload demand; Under the comprehensive elasticity management strategy method, it combines the fixed elasticity strategy method and the dynamic elasticity strategy method to provide fixed resource guarantees for critical workloads and dynamic resource adjustments for non-critical workloads.

[0008] As a further solution of the present invention: in the S3 step, the indicator evaluation of the elastic management strategy includes performance indicator evaluation, cost-effectiveness evaluation and reliability evaluation; among which, the performance indicator evaluation is used to analyze the response time, resource utilization and load balancing; the cost-effectiveness evaluation is used to analyze the actual utilization rate and cost of resources; and the reliability evaluation is used to simulate the reliability of faults and fault handling processes.

[0009] A system for an elastic management method for improving resource efficiency includes a container service module, a cloud native database, a cloud server, a real-time monitoring module, a log service module, and a microservice grid architecture module.

[0010] As a further solution of the present invention: the container orchestration and deployment module is used to package the application and all its dependencies into a container to ensure the consistency of the application running in different environments; and provide resource scheduling and elastic scaling functions, automatically adjust the number of container deployments, and achieve automatic elastic expansion and load balancing; The cloud-native database adopts hybrid cloud and multi-cloud strategies to achieve elastic resource management between different cloud servers and provide highly elastic database services; The cloud server is used to provide elastic and scalable cloud computing services; The real-time monitoring module is used to comprehensively monitor resource usage, performance indicators, operating status and health status, monitor and analyze user behavior, and prevent unauthorized access and resource abuse; The log service module is used to record key events and indicators, and provides data collection, processing, query analysis, monitoring and alarm, log auditing, and data delivery to quickly discover and solve problems.

[0011] The microservice grid architecture module is used to split the application into several small independent microservices. Each microservice is independently deployed and expanded, the data is distributed to multiple nodes, and replication and partitioning technology are used to achieve high availability and fault tolerance of data. Through redundant data backup, single point failures that cause system unavailability are avoided, thereby improving the elasticity and reliability of the application layer.

[0012] Compared with the prior art, the present invention has the following beneficial effects: The present invention first predicts future resource demands through a machine learning model, and then pre-allocates resources; then, according to the pre-allocated resources and the actual load monitored in real time, the corresponding elastic management strategy method is used to dynamically adjust resource allocation, while evaluating the indicators of the elastic management strategy, performing abnormal monitoring and real-time resource optimization, thereby ensuring that the best elastic management strategy is used to effectively allocate resources, improve resource utilization, reduce costs, increase reliability, and improve user experience. DETAILED DESCRIPTION

[0013] In an embodiment of the present invention, a flexible management method for improving resource efficiency includes the following steps: S1. Resource demand prediction: The cloud server uses historical data and real-time data stored in the cloud native database to train machine learning models, and predicts future resource demand through machine learning models, that is, predicts business peaks and valleys, so as to achieve early expansion or reduction operations; S2. Resource pre-allocation: Split the application into several microservices through the microservice grid architecture module, and then use time series analysis, regression and clustering algorithms to identify resource demand patterns based on predicted resource demand, and pre-allocate resources to several microservices. For example, in an e-commerce system, by predicting user visits and transaction volumes, pre-allocate the number of instances and resource scale to ensure the availability and stability of the e-commerce system. S3. Elastic scaling management: Based on the pre-allocated resources and the actual load monitored in real time, the container orchestration and deployment module is used to trigger the elastic scaling mechanism, and the corresponding elastic management strategy method is used to dynamically adjust resource allocation to achieve automatic elastic expansion and load balancing. For example, a small number of nodes are maintained to maintain daily business during non-business peaks. For example, after the start of the "Double Eleven" shopping festival, the business instantly reaches a peak, and the system quickly expands the number of working nodes. When the peak ends, the system automatically shrinks the capacity to maximize resource utilization. In addition, the indicators of the elastic management strategy for resource adjustment allocation are evaluated. S4. Abnormal monitoring: The real-time monitoring module monitors the performance indicators, operation status and health status of the application online, and the log service module collects and analyzes logs. When abnormal conditions are detected, early warnings and automatic corrective measures are triggered, such as restarting the container orchestration and deployment module and redeploying the cloud server, to ensure that problems can be quickly identified and resolved; S5. Real-time resource optimization: Build an artificial intelligence model to identify resource bottlenecks and optimize them to avoid idle resources. At the same time, predict nodes that may fail, take failover and fault repair measures in advance, and maintain the stability and sustainability of the service.

[0014] Preferably, in step S3, the triggering conditions of the elastic scaling mechanism include indicator triggering, request triggering, time triggering and event triggering; wherein, under indicator-based triggering conditions, the microservice triggers resource adjustment according to the indicators, and the indicators include CPU utilization and memory consumption rate; under request-based triggering conditions, the microservice triggers resource adjustment according to the number of requests; in time-based elastic triggering, the microservice triggers resource adjustment at a predetermined time; in event-based elastic triggering, the system triggers resource adjustment when a specific event occurs.

[0015] Preferably, in step S3, the elastic management strategy method includes a fixed elastic management strategy method, a dynamic elastic management strategy method and a comprehensive elastic management strategy method, wherein, under the fixed elastic management strategy method, resource allocation is within a set range, and adjustments are made when resources exceed or fall below a threshold; Under the dynamic elastic management strategy approach, resource allocation is dynamically adjusted based on workload demand; Under the comprehensive elasticity management strategy, it combines the fixed elasticity strategy and the dynamic elasticity strategy to provide fixed resource guarantees for critical workloads and dynamic resource adjustments for non-critical workloads, thereby achieving resource adjustments while ensuring that critical work is not affected.

[0016] Preferably, in step S3, the index evaluation of the elastic management strategy includes performance index evaluation, cost-effectiveness evaluation and reliability evaluation; wherein the performance index evaluation is used to analyze the response time, resource utilization and load balancing, so as to evaluate the response time, resource utilization and load balancing under different strategies; Cost-effectiveness evaluation is used to analyze the actual utilization and cost of resources, thereby evaluating the economic benefits of different strategies; Reliability assessment is used to simulate the reliability of failures and fault handling processes, thereby evaluating the performance of different failure scenarios under different strategies.

[0017] A system for an elastic management method for improving resource efficiency includes a container service module, a cloud native database, a cloud server, a real-time monitoring module, a log service module, and a microservice grid architecture module.

[0018] The container orchestration and deployment module is used to package the application and all its dependencies into containers to ensure the consistency of the application running in different environments. It also provides resource scheduling and elastic scaling functions, automatically adjusts the number of container deployments, and realizes automated elastic expansion and load balancing to adapt to changes in application load. Cloud-native databases use hybrid cloud and multi-cloud strategies to achieve elastic resource management between different cloud servers and provide highly elastic database services; Cloud servers are used to provide elastic and scalable cloud computing services; The real-time monitoring module is used to comprehensively monitor resource usage, performance indicators, operating status, and health status, monitor and analyze user behavior, and prevent unauthorized access and resource abuse; The log service module is used to record key events and indicators, and provides data collection, processing, query analysis, monitoring and alarm, log auditing, and data delivery to quickly discover and solve problems.

[0019] The microservice mesh architecture module is used to split the application into several small independent microservices. Each microservice is independently deployed and expanded, and the data is distributed to multiple nodes. Replication and partitioning technologies are used to achieve high availability and fault tolerance of data. Through redundant data backup, single point failures that cause system unavailability are avoided, thereby improving the elasticity and reliability of the application layer.

[0020] What is described above is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A flexible management method for improving resource efficiency, characterized in that: The following steps are involved: S1. Resource demand prediction: The cloud server uses historical data and real-time data stored in the cloud native database to train the machine learning model and predict future resource demand through the machine learning model; S2. Resource pre-allocation: Split the application into several microservices through the microservice grid architecture module, and then use time series analysis, regression and clustering algorithms to identify resource demand patterns based on predicted resource demand, and pre-allocate resources to several microservices; S3, elastic scaling management: based on the pre-allocated resources and the actual load monitored in real time, the container orchestration and deployment module is used to trigger the elastic scaling mechanism, and the corresponding elastic management strategy method is used to dynamically adjust resource allocation, realize automatic elastic expansion and load balancing, and evaluate the indicators of the elastic management strategy for resource adjustment allocation; S4, Abnormal monitoring: Monitor the performance indicators, operation status and health status of the application online through the real-time monitoring module, and collect and analyze logs through the log service module, triggering early warnings and automatic corrective measures when abnormal conditions are detected; S5. Real-time resource optimization: Build an artificial intelligence model to identify resource bottlenecks and optimize them to avoid idle resources. At the same time, predict nodes that may fail, take failover and fault repair measures in advance, and maintain the stability and sustainability of the service.

2. The elastic management method for improving resource efficiency according to claim 1, characterized in that: In the S3 step, the triggering conditions of the elastic scaling mechanism include indicator triggering, request triggering, time triggering and event triggering; wherein, under the indicator-based triggering conditions, the microservice triggers resource adjustment according to the indicators, and the indicators include CPU utilization and memory consumption rate; under the request-based triggering conditions, the microservice triggers resource adjustment according to the number of requests; in the time-based elastic triggering, the microservice triggers resource adjustment at a predetermined time; in the event-based elastic triggering, the system triggers resource adjustment when a specific event occurs.

3. The elastic management method for improving resource efficiency according to claim 1, characterized in that: In the step S3, the elastic management strategy method includes a fixed elastic management strategy method, a dynamic elastic management strategy method and a comprehensive elastic management strategy method, wherein, under the fixed elastic management strategy method, resource allocation is within a set range, and adjustments are made when resources exceed or fall below a threshold; Under the dynamic elastic management strategy approach, resource allocation is dynamically adjusted based on workload demand; Under the comprehensive elasticity management strategy method, it combines the fixed elasticity strategy method and the dynamic elasticity strategy method to provide fixed resource guarantees for critical workloads and dynamic resource adjustments for non-critical workloads.

4. The elastic management method for improving resource efficiency according to claim 1, characterized in that: In the S3 step, the indicator evaluation of the elastic management strategy includes performance indicator evaluation, cost-effectiveness evaluation and reliability evaluation; among them, the performance indicator evaluation is used to analyze the response time, resource utilization and load balancing; the cost-effectiveness evaluation is used to analyze the actual utilization rate and cost of resources; the reliability evaluation is used to simulate the reliability of faults and fault handling processes.

5. A system for implementing the elastic management method for improving resource efficiency as claimed in claim 1, characterized in that: It includes container service module, cloud native database, cloud server, real-time monitoring module, log service module and microservice grid architecture module.

6. The system of the elastic management method for improving resource efficiency according to claim 5, characterized in that: The container orchestration and deployment module is used to package the application and all its dependencies into a container to ensure the consistency of the application running in different environments; It also provides resource scheduling and elastic scaling functions, automatically adjusts the number of container deployments, and achieves automated elastic expansion and load balancing; The cloud-native database adopts hybrid cloud and multi-cloud strategies to achieve elastic resource management between different cloud servers and provide highly elastic database services; The cloud server is used to provide elastic and scalable cloud computing services.

7. The system of the elastic management method for improving resource efficiency according to claim 5, characterized in that: The real-time monitoring module is used to comprehensively monitor resource usage, performance indicators, operating status and health status, monitor and analyze user behavior, and prevent unauthorized access and resource abuse; The log service module is used to record key events and indicators, and provide data collection, processing, query analysis, monitoring and alarm, log auditing, and data delivery to quickly discover and solve problems; The microservice grid architecture module is used to split the application into several small independent microservices, each of which is independently deployed and expanded, distributes data to multiple nodes, and uses replication and partitioning technology to achieve high availability and fault tolerance of data; Through redundant data backup, we can avoid single point failures that could cause system unavailability, thereby improving the elasticity and reliability of the application layer.

Citation Information

Patent Citations

  • Elastic management method and device based on cloud native architecture

    CN117992228A

Cited By

  • Cloud computing analysis method, device and equipment of SaaS (Software as Service) system and storage medium

    CN119201620A

  • Server architecture and resource scheduling method

    CN119396255A

  • Multi-cloud service component exception supervision method and device, electronic equipment and storage medium

    CN120768788A