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

A resource scheduling method and device

A resource scheduling and resource technology, applied in the database field, can solve the problems of untimely resource scheduling and scheduling errors, and achieve the effect of accurate resource scheduling

Active Publication Date: 2019-09-27
中国移动通信集团云南有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] From the above description, it can be seen that the current method of scheduling tasks of each module mainly relies on manual implementation, which will cause problems such as untimely resource scheduling and scheduling errors

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
  • A resource scheduling method and device
  • A resource scheduling method and device
  • A resource scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] The resource scheduling method of the embodiment of the present invention, such as figure 1 shown, including the following steps:

[0062] Step 101: Evaluate idle resources using the currently collected performance indicators; the performance indicators represent the usage of database resources; when it is determined that the load of the database is less than a preset value according to the evaluation results of idle resources, use the estimated periodic consumption of resources As a result, periodic estimation of idle resources is performed;

[0063] Here, the performance index may include a central processing unit (CPU, Central Processing Unit) and an input / output (I / O, Input / Output) usage index of the database; correspondingly, according to the CPU index and the IO usage index, perform Evaluation of idle resources.

[0064] When the load of the database is less than the preset value, it means that the load of the database is light. In this case, the tasks to be exe...

Embodiment 2

[0106] This embodiment describes the resource scheduling method in detail on the basis of the first embodiment.

[0107] First, estimate the periodic resource consumption of the database system, establish a queue task baseline library and an application baseline library, and correct the corresponding baselines in the baseline library.

[0108] Specifically, when estimating the periodic resource consumption of the database system, such as figure 2 As shown, the collection layer of the device applying the method of this embodiment is configured with a timing task for collecting database system performance data, so that the collection layer performs regular collection of database system performance data; the analysis layer of the device collects from the collection layer Extract the CPU and IO usage indicators from the performance data, create a system snapshot, and compare the snapshots of the CPU and IO usage on the same day of each month and at the same time every day to obta...

Embodiment 3

[0162] This embodiment is based on Embodiments 1 and 2. This embodiment provides a resource scheduling device, such as Figure 8 As shown, the device includes: a first evaluation unit 81, a second evaluation unit 82, a task matching unit 83 and a task execution unit 84; wherein,

[0163] The first evaluation unit 81 is configured to use the currently collected performance indicators to evaluate idle resources; the performance indicators represent the usage of database resources;

[0164] The second evaluation unit 82 is configured to use the estimated periodic consumption of resources to perform periodic estimation of idle resources when it is determined that the load of the database is less than a preset value according to the evaluation result of idle resources;

[0165] The task matching unit 83 is configured to match tasks to be executed from the task queue in the queue task baseline library according to the estimated periodic idle resources and the corresponding duration;...

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 discloses a resource scheduling method. The method comprises the following steps: evaluating spare resources by utilizing currently collected performance indexes, wherein the performance indexes represent the use conditions of database resources; when determining that the load of a database is smaller than a preset value according to the spare resource evaluation results, periodically estimating the spare resources by utilizing the estimated periodic resource consumption results; matching out a task to be performed from a task queue in a queued task baseline library according to the estimated periodic spare resources and corresponding duration, wherein the tasks in the task queue are related to database maintenance; performing the matched out task to be performed by utilizing the estimated periodic spare resources. The invention also discloses a resource scheduling device.

Description

technical field [0001] The invention relates to the field of databases, in particular to a resource scheduling method and device. Background technique [0002] Information technology has become a crucial productivity in the telecommunications industry, and the management and operation of massive information requires strong business system support. The stability of the business system will directly affect the trust and satisfaction of customers. How to grasp the usage rules of database resources, make reasonable and effective use of idle time, and alleviate business peaks is one of the very important responsibilities of the business support department. [0003] In the prior art, there are mainly two methods for scheduling tasks of each module as follows: [0004] 1) Realized by the timing task of the operating system of the business system or the database. Specifically, the database administrator (DBA, DataBase Administrator) judges based on experience that a certain period...

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): G06F16/2455G06F9/50
Inventor 汤坤
Owner 中国移动通信集团云南有限公司
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