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

Distributed task scheduling method and system based on messaging middleware

A technology of message middleware and distributed tasks, which is applied in the distributed task scheduling method and system field based on message middleware, can solve problems such as memory overflow, low execution efficiency, and task scheduling systems that cannot meet business needs, and achieve improved Efficiency, ensuring reliability and stability, and improving operational performance

Active Publication Date: 2012-06-27
BEIJING TUOMING COMM TECH
View PDF3 Cites 112 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1) Single-machine version single-process application, once downtime occurs, it is impossible to ensure that the task is triggered correctly;
[0005] 2) Since it is a single-process application, there will be a risk of memory overflow when the number of tasks is too high, and the execution efficiency is low;
[0007] The existence of the above-mentioned shortcomings makes the single linear task scheduling system more and more unable to meet the existing business needs. The present invention is aimed at the above-mentioned problems. On the basis of including all the characteristics of Quartz, it provides a message-based The distributed task scheduling method of software ensures the reliability of task scheduling and execution, and provides a failover mechanism to improve the efficiency of task execution

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
  • Distributed task scheduling method and system based on messaging middleware
  • Distributed task scheduling method and system based on messaging middleware
  • Distributed task scheduling method and system based on messaging middleware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0045] figure 1 It shows a structural block diagram of a distributed task scheduling system based on message middleware in the present invention, and the system mainly includes the following modules:

[0046] Foreground user interface module 11: used to manage tasks and monitor task execution status by sending status request commands;

[0047] Platform management module 12: used to accept the status request command sent by the foreground user interface module, and send the response to the user interface module after generating a response;

[0048] Task saving module 13: used to save pending tasks into the task queue of the master node in the task scheduling module;

[0049] Task scheduling module 14: for distributing the tasks in the task queue to the available sub-nodes under the main node through the message middleware; the task s...

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 a system based on messaging middleware, belonging to the field of task scheduling of a distributed system. The scheduling of distributed tasks is carried out via message queuing, the tasks to be implemented are stored in a task queue of a master node at first and are then uniformly distributed into available sub-nodes under the master node through load equalization, and independent task processes are started by the sub-nodes to implement the tasks. During scheduling and implementation of the tasks, the real-time monitoring of the states of the master node and the sub-nodes can be realized through node monitoring. In case of faults, the tasks to be implemented or the tasks under implementation can be switched to the spare master node or the available sub-nodes. By adopting the method and the system, the independence of the tasks can be ensured, and the efficiency of task implementation can be improved. Due to the fault switching mechanism, the reliability of the scheduling and implementation of the tasks can be further ensured.

Description

technical field [0001] The invention relates to the field of task scheduling of distributed systems, in particular to a distributed task scheduling method and system based on message middleware. Background technique [0002] With the increasing scope of computer applications, the application of distributed real-time systems is becoming more and more extensive. Among them, the problem of task scheduling is a key issue in distributed real-time systems. A reasonable task scheduling algorithm for a distributed real-time system is of great significance to exerting the parallel performance of the system, ensuring the schedulability of real-time tasks, and maintaining the load balance of the network. [0003] In the existing task scheduling framework, Quartz scheduling provides a simple and powerful task scheduling mechanism. Quartz allows developers to flexibly define the scheduling time of triggers, and can map triggers and tasks associatively, such as according to the time inte...

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/48G06F9/50
Inventor 包博远许新科李永利常青
Owner BEIJING TUOMING COMM TECH
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