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

Real-time task scheduling method and device, scheduling system and storage medium

A technology of real-time tasks and scheduling methods, applied in the computer field, can solve problems such as difficulty in meeting the real-time requirements of real-time tasks and low efficiency

Pending Publication Date: 2020-12-11
微医云(杭州)控股有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For real-time tasks, the existing technology requires users to manually create, which is inefficient and can only meet the worst-case running time requirements of real-time tasks, and it is difficult to meet the real-time requirements of real-time tasks

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
  • Real-time task scheduling method and device, scheduling system and storage medium
  • Real-time task scheduling method and device, scheduling system and storage medium
  • Real-time task scheduling method and device, scheduling system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] figure 1 It is a flow chart of the real-time task scheduling method provided by Embodiment 1 of the present invention. The technical solution of this embodiment is applicable to the situation that the scheduling system automatically creates real-time task objects and completes real-time task scheduling. The method can be executed by the real-time task scheduling device provided by the embodiment of the present invention. The device can be implemented in the form of software and / or hardware, and configured to be applied in the processor of the scheduling system. The method specifically includes the following steps:

[0041] S101. Create a real-time task object according to metadata of the real-time task detected in real time, and deliver the real-time task object to a corresponding queue table.

[0042] The scheduling system in this embodiment is built based on the kafka platform. Users publish real-time tasks in the task release area of ​​the scheduling system, but t...

Embodiment 2

[0059] figure 2 It is a structural block diagram of a real-time task scheduling device provided by an embodiment of the present invention. The device is used to execute the real-time task scheduling method provided by any of the above embodiments, and the device can be implemented by software or hardware. The unit includes:

[0060] The creating module 11 is configured to create a real-time task object according to the metadata of the real-time task detected in real time, and deliver the real-time task object to a corresponding queue table.

[0061] The consumption module 12 is configured to control the consumption thread to consume the real-time task objects in the corresponding queue table within the effective execution time interval.

[0062] Optionally, the creation module 11 is configured to analyze the configuration file of the real-time task detected in real time to obtain the metadata of the real-time task; store the metadata in the metadata table, and create a real...

Embodiment 3

[0070] Figure 4 A schematic structural diagram of the dispatching device provided in Embodiment 3 of the present invention, as shown in Figure 4 As shown, the device includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of processors 201 in the device may be one or more, Figure 4 Take a processor 201 as an example; the processor 201, memory 202, input device 203, and output device 204 in the device can be connected by bus or other methods, Figure 4 Take connection via bus as an example.

[0071] The memory 202, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the real-time task scheduling method in the embodiment of the present invention (for example, the creation module 11 and the consumption module 12). The processor 201 executes various functional applications and data processing of the device by run...

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 embodiment of the invention discloses a real-time task scheduling method and device, a scheduling system and a storage medium, and the method comprises the steps: building a real-time task objectaccording to the metadata, detected in real time, of a real-time task, and delivering the real-time task object to a corresponding queue table; and controlling a consumption thread to consume the real-time task object in an effective execution time interval in the corresponding queue table. The technical problem that it is difficult for a real-time task scheduling method in the prior art to meet the requirement of real-time tasks for real-time performance is solved.

Description

technical field [0001] The embodiments of the present invention relate to the computer field, and in particular, to a real-time task scheduling method, device, scheduling system, and storage medium. Background technique [0002] For the search system, a large number of full tasks, incremental tasks and real-time tasks are generated every day. Both full tasks and incremental tasks are regularly scheduled by the scheduling system to complete the timely update of the full index and incremental index. For real-time tasks, existing technologies require users to create them manually, which is inefficient and can only meet the running time requirements of real-time tasks in the worst case, and it is difficult to meet the real-time requirements of real-time tasks. [0003] Therefore, it is necessary to provide a real-time task scheduling method to improve the scheduling efficiency of real-time tasks. Contents of the invention [0004] Embodiments of the present invention provide...

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
IPC IPC(8): G06F9/48G06F9/54G06F16/22
CPCG06F9/4881G06F9/546G06F16/2282G06F2209/548
Inventor 张小军刘磊李灿
Owner 微医云(杭州)控股有限公司
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