Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Intelligent capacity expanding and shrinking method and device, computer equipment and storage medium

A computer program and resource technology, applied in the computer field, can solve problems such as economic losses of operators, system crashes, and service quality degradation, and achieve the effects of ensuring the rational use of resources, ensuring stable operation, and preventing waste of resources

Pending Publication Date: 2019-06-21
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since system expansion generally takes 5-10 minutes, it is very dangerous that the original system resource supply is insufficient before the expansion is completed, which may lead to a decline in service quality and economic losses for operators, and cause server paralysis or even the entire system breakdown
Therefore, the existing expansion and contraction methods will be stretched in this case

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
  • Intelligent capacity expanding and shrinking method and device, computer equipment and storage medium
  • Intelligent capacity expanding and shrinking method and device, computer equipment and storage medium
  • Intelligent capacity expanding and shrinking method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] Such as figure 1 As shown, an intelligent expansion and contraction method of the present invention is shown, including the following steps:

[0045] Step S1, obtain the historical resource load data of the system to be expanded and reduced capacity and the resource amount at the current moment (the resource amount at the current moment is equal to the sum of the resource load amount and the idle resource amount of the system at the current moment), and the obtained historical resource load The data is stored in the CVS (Comma-Separated Values) table in chronological order. Among them, the historical resource load data of the system includes: the number of online instances corresponding to each moment of the system, the size of the CPU occupied by each instance per unit time, the size of the memory occupied by each instance per unit time, the service request volume of each instance, and the data such as response time. These data can reflect which time periods the syst...

Embodiment 2

[0057] Such as figure 2 As shown, an intelligent capacity expansion and contraction device is shown, including a data acquisition module, a prediction module, a calculation module, a capacity expansion module and a capacity reduction module. in:

[0058] The data acquisition module is used to obtain the corresponding historical resource load data of the system and the resource amount at the current moment (the resource amount at the current moment is equal to the sum of the resource load amount and the idle resource amount of the system at the current moment), and the acquired historical resource load data Saved in chronological order in a CSV table. Among them, the historical resource load data of the system includes: the number of online instances corresponding to each moment of the system, the size of the CPU occupied by each instance per unit time, the size of the memory occupied by each instance per unit time, the service request volume of each instance, and the data s...

Embodiment 3

[0071] This embodiment provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a rack server (including an independent server, or a multi- A server cluster composed of servers), etc. The computer device 20 of this embodiment at least includes but is not limited to: a memory 21 and a processor 22 that can communicate with each other through a system bus, such as Figure 4 shown. It should be pointed out that, Figure 4 Only computer device 20 is shown having components 21-22, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.

[0072] In this embodiment, the memory 21 (i.e., a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card type memory (for example, step SD or DX memory, etc.), random access memory (RAM), static random acc...

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

The invention provides an intelligent capacity expanding and shrinking method and device, computer equipment and a storage medium. The method comprises the steps that S1, acquiring historical resourceload data of a system; S2, predicting the resource demand quantity of the system at the next moment according to the historical resource load data; S3, calculating a difference value obtained by subtracting the resource quantity at the current moment from the resource demand quantity at the next moment of the system, executing a step S4 if the difference value is positive and the ratio of the difference value to the resource quantity at the current moment is greater than a preset capacity expansion percentage, and executing a step S5 if the difference value is negative and the ratio of the absolute value to the resource quantity at the current moment is greater than a preset capacity shrinkage percentage; S4, increasing the resource quantity of the system to be matched with the resource demand quantity at the next moment; and S5, reducing the resource quantity of the system to be matched with the resource demand quantity at the next moment. The method can ensure that the system has sufficient resource quantity when the resource demand is increased, avoid the situation of resource shortage or resource supply lag, and also can protect the system to release idle resources when the resources of the system are surplus.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to an intelligent capacity expansion and contraction method, device, computer equipment and storage medium. Background technique [0002] As we all know, when the service requests of the system are getting larger and larger, it needs to be expanded; when the service requests of the system are getting smaller and smaller, it needs to be reduced. At present, the dynamic expansion and contraction are generally performed according to the real-time service request volume of the system. For example, for a system responsible for providing employee login verification, its CPU usage and memory usage are usually low, but in the morning of every working day, employees log in at around 9:00, at this time, the CPU usage and memory usage The usage rate will skyrocket. Once it is detected that the amount of real-time service requests of the system exceeds a predetermined threshold, the...

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
IPC IPC(8): G06F9/50G06N20/00
Inventor 秦岭周晶
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products