Task scheduling method and system

A task scheduling and task technology, applied in the computer field, can solve the problem that the processing ability of scheduling nodes depends on the reading and writing ability of the database, and achieve the effects of improving concurrent processing performance, avoiding conflicts, and reducing the number of visits

Active Publication Date: 2016-04-06
CHENGDU HUAWEI TECH
View PDF4 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Each scheduling node in the scheduling cluster executes different tasks. For any scheduling node, each time a task is executed, the database needs to be read and written once, and the task to be executed is read, so that the processing capability of a single scheduling node depends on the database. read and write capabilities; and, in order to ensure that a given task is only executed on a single scheduling node, the current solution is: when the schedul

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
  • Task scheduling method and system
  • Task scheduling method and system
  • Task scheduling method and system

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0024] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0025] See figure 1 , Is a schematic diagram of a task scheduling system architecture provided by an embodiment of the present invention, such as figure 1 As shown, the task scheduling system includes a scheduling cluster, a business cluster and a task database.

[0026] The scheduling cluster includes at least one sched...

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 embodiment of the invention discloses a task scheduling method and system. A scheduling node obtains waiting tasks belonging to the scheduling node in a preset time period from a task database according to a preset algorithm. The scheduling node stores the obtained waiting tasks in the task resource pool of the scheduling node. When the execution time of the tasks in the task resource pool is arrived, the scheduling node sends a task triggering message to a business node; the business node processes the waiting tasks according to the task triggering message. In the task scheduling process, a plurality of tasks belonging to the scheduling node in the preset time period are drawn from the task database by the scheduling node; the access times of the task database is reduced; the processing capability of the single scheduling node is improved; the shared lock mechanism of the database is unnecessarily used in the task scheduling process; the wait resource is reduced; and the concurrent processing performance of mass tasks is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a task scheduling method and system. Background technique [0002] A cloud server is a computing service that is simple, efficient, and has elastically scalable processing capabilities. Elastic scaling refers to the management service that automatically adjusts its elastic computing resources according to the user's business needs and strategies. It can automatically increase cloud host instances when business grows, and automatically reduce cloud host instances when business declines. Users can specify timing policies, period policies, and monitoring trigger policies to achieve elastic scaling; among them, timing policies and period policies will generate a large number of tasks in public cloud scenarios, and these tasks need to be dispatched by the dispatch center. [0003] Each scheduling node in the scheduling cluster executes different tasks. For any scheduling no...

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/48G06F17/30
CPCG06F9/4881G06F16/2322
Inventor 王涛程通达李克然王朗
Owner CHENGDU HUAWEI TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products