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

Task scheduling method and device

A task scheduling and task technology, applied in the direction of multi-program device, program startup/switching, etc., can solve the problem of low scheduling efficiency and achieve the effect of improving efficiency

Active Publication Date: 2015-08-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method of task scheduling adds lock and unlock data write operations twice during the process of each task being scheduled once. When the number of tasks to be scheduled is large, there is a problem of low scheduling efficiency.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0027] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0028] Please refer to figure 1 , which shows a process 100 of an embodiment of a method for task scheduling. This embodiment is mainly illustrated by using the method in an electronic device containing a processor, and the electronic device may include a smart phone, a tab...

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 task scheduling method and device. According to the specific implementation mode of the task scheduling method, following scheduling processing operation is periodically triggered according to the scheduling period. The scheduling processing operation includes the steps that scheduling time of current scheduling processing operation is obtained; time parameters of each task to be scheduled are obtained, wherein the time parameters comprise the recent use starting time of the tasks to be scheduled and the task executing period, and the task executing period is the interval between two adjacent execution starting time of the tasks to be scheduled; the task executing period, the recent use starting time and the tasks, meeting the preset condition, to be scheduled are output to a task pool; the tasks in the task pool are distributed and executed. By means of the implementation mode, the task scheduling efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of computers, in particular to the technical field of task scheduling processing, and in particular to a method and device for task scheduling. Background technique [0002] Task scheduling is an important part of the operating system. For the unified scheduling of periodic tasks, in the prior art, the scheduled task is mainly determined by judging that the time difference between the current time and the last execution start time of the task is greater than the task execution interval. In some implementations, in order to avoid the task being executed again Scheduling also needs to lock the task when the task is scheduled, and unlock the task when the current execution of the task is completed. In this method of task scheduling, two data write operations of locking and unlocking are added during the process of each task being scheduled once. When the number of tasks to be scheduled is large, ther...

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
Inventor 魏君颖樊富春杜菁菁胡星闫庆宏杨洋杨美燕杨尊好韩婷婷
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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