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

Method and device for distributed task scheduling

A distributed task and scheduling device technology, applied to multi-programming devices, program startup/switching, etc., can solve the problems of no alarm mechanism, operation parameters that cannot be modified, and task backlogs, etc., and achieve the effect of avoiding mutual waiting

Active Publication Date: 2019-07-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the existing technology mainly has the following disadvantages: (1) The operating parameters cannot be modified, only the default values ​​are used; (2) The execution of sub-threads needs to wait for each other to restrict each other, which reduces the efficiency of task execution; (3) Threads may monopolize too many tasks , execute in parallel, while other threads cannot execute, resulting in low efficiency of task execution; (4) There is no alarm mechanism for task backlog

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
  • Method and device for distributed task scheduling
  • Method and device for distributed task scheduling
  • Method and device for distributed task scheduling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] According to the embodiment of the present invention, a method and device for distributed task scheduling are disclosed. In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of embodiments of the invention. It will be apparent, however, to one skilled in the art that embodiments of the invention may be practiced without these specific details.

[0026] figure 1 A schematic diagram of an apparatus 100 for distributed task scheduling according to an embodiment of the present invention is shown. Such as figure 1 As shown, the device 100 includes a parameter setting module 102 , a thread pool 104 , a controller module 106 and an alarm notification module 108 .

[0027] The parameter setting module 102 can modify the thread pool information, controller parameters and alarm notification parameters in the device during operation, so as to be used by other components in the device. ...

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 distributed task scheduling method and device. The method includes: a discloses a distributed task scheduling device receives a task executing request; the control module of the discloses a distributed task scheduling device determines whether a thread pool is busy or not; if not, the control module process the received task executing request and generate a task thread for the thread pool; the thread pool executes the generated task thread; the parameter setting module of the discloses a distributed task scheduling device determines whether to continue executing the executing thread generated by the thread pool or not after the task is completed.

Description

technical field [0001] The invention relates to timing task technology, in particular to a distributed task scheduling method and device. Background technique [0002] In recent years, with the development of the Internet, the characteristics of large data volume and high concurrency are prominent, and the requirements for system services are getting higher and higher; from the perspective of the system, request data should be preprocessed as much as possible to generate asynchronous tasks, and return results quickly, improving System response time and throughput, the system then processes asynchronous tasks on the preprocessing results, and finally completes user requests; but this will bring problems such as task control, step-by-step scheduling, and high efficiency. [0003] The existing method is mainly completed by several steps: (1) the system triggers the execution task operation request every predetermined time; (2) the system calculates the execution time of a singl...

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): G06F9/48
Inventor 徐贤军
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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