Task scheduling method and system

A task scheduling and task group technology, applied in the computer field, can solve the problems of slow system operation and large system resource consumption, and achieve the effect of reducing excessive consumption

Inactive Publication Date: 2017-06-23
ALIBABA GRP HLDG LTD
View PDF3 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above task scheduling method consumes a lot of system resources and may make the system run slower.

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

Embodiment Construction

[0018] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0019] In order to avoid excessive consumption of system resources and improve the running speed of the system when there are many scheduled tasks, the embodiment of the present application provides a task scheduling method, which adopts a centralized scheduling method for the scheduled tasks.

[0020] see figure 1 As an example, assume that there are four scheduled tasks, and scheduled tasks a...

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 relates to a task scheduling method and system. The method comprises the steps of starting timing of a timer to a first task group, wherein the first task group comprises at least one timing task same in timing time interval; and when the timing time interval corresponding to the first task group is up, notifying each timing task in the first task group to be executed. According to the method and the system, excessive system resource consumption of relatively numerous timing tasks is reduced.

Description

technical field [0001] The present disclosure relates to computer technology, in particular to a task scheduling method and system. Background technique [0002] In software development, we often encounter some scenarios where timers need to be used, such as regularly refreshing data, regularly querying the status of a certain event, etc. These regularly executed tasks can be called timed tasks. In related technologies, it is usually necessary to set a corresponding timer for each scheduled task, and the timer will notify the corresponding task to execute when the time arrives. For example, if the scheduled task needs to be executed every 2 minutes, then the timer will , and notify the task execution every 2 minutes. The timing when the timer is started as a task can also be called task scheduling. However, the above task scheduling method consumes a lot of system resources, which may make the system run slowly. Contents of the invention [0003] In order to overcome th...

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 Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881
Inventor 孟铮
Owner ALIBABA GRP HLDG LTD
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