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

Task scheduling method and device

A task scheduling and task configuration technology, applied in the computer field, can solve problems such as application server performance degradation, and achieve the effect of alleviating performance degradation and reducing implementation difficulty.

Pending Publication Date: 2020-05-26
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the present invention provides a task scheduling method and device, which can make the application server not need to rely on third-party components such as Quartz and Crontable, and effectively solve the problem of application server performance degradation and abnormality in the existing task scheduling that relies on third-party components. System compatibility and other issues

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

[0034] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0035] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0036] Before introducing the embodiments of the present invention in detail, some technical terms involved in the embodiments of the present invention will be described first.

[0037] Zookeeper: It is...

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, and relates to the technical field of computers. The method comprises the steps of reading task configuration information from a database,and assembling a task according to the task configuration information; triggering the task at regular time through a timer; and when the task is triggered regularly, sending a task execution instruction to a client node through long connection, so that the client node executes the task. Through the above steps, when task scheduling is carried out, the application server does not need to depend onQuartz, Crontable and other third-party components, and the problems that in existing task scheduling depending on the third-party components, the performance of the application server is reduced, andheterogeneous system compatibility is poor are effectively solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a task scheduling method and device. Background technique [0002] In the prior art, Java scheduled task scheduling solutions are generally implemented based on Quartz (an open source job scheduling framework written in Java) or Scheduler (thread pool). In addition, calling the JNI interface (JNI is the abbreviation of Java Native Interface, which provides several APIs to realize the communication between Java and other languages) through the Crontable component of the Linux system can also implement scheduled task scheduling. [0003] Third-party components such as Quartz and Crontable are often used for stand-alone task scheduling. That is to say, a Quartz or Crontable component needs to be separately deployed on each machine (such as an application server) to support task scheduling of native services. In addition, Quartz officially provides Quartz's cluster deploy...

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/4812
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