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

Timing task execution method, device and system based on time window

A time window and timed task technology, applied in the computer field, can solve the problems that the timing function cannot be quickly restored, the system has a single point, and there is no disaster recovery.

Pending Publication Date: 2021-04-09
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The biggest problem with the existing technology is that there is a single point in the system, the system is not robust enough, and there is no disaster recovery
If the machine where the scheduled task is located is down, the timing function cannot be quickly restored

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
  • Timing task execution method, device and system based on time window
  • Timing task execution method, device and system based on time window
  • Timing task execution method, device and system based on time window

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0084] The present invention fully analyzes the problem that there is a single point in the existing timing task system, the system is not robust enough, there is no disaster recovery, and if the machine where the timing task is located is down, the timing function cannot be quickly restored, and through the requirements of the timing task system , application scenarios, and in-depth analysis of existing problems, a high-availability timing task method, 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 embodiment of the invention provides a timed task execution method, device and system based on a time window. At least one worker periodically executes tasks in parallel at a specified scheduling interval, wherein the process that each worker schedules and executes the tasks each time comprises the steps: firstly, setting the corresponding time window, querying a task table according to the corresponding time window, and acquiring timing tasks from the task table to serve as respective corresponding preparation tasks; each worker executes a respective corresponding preparation task, and modifies the task state of the corresponding preparation task in the task table to execution completion. By means of the scheme, the single-point problem in a timed task system is solved, and the effects of achieving thermal disaster recovery and automatically recovering timed tasks without manual intervention are achieved.

Description

technical field [0001] The invention relates to the field of computers, in particular to a time window-based timing task execution method, device and system. Background technique [0002] Timed tasks are often used in software development. For example, the ERP system regularly sends emails at 6:00 p.m. every day to remind people to clock in after get off work; in the settlement system, it regularly checks the payment status of orders, cancels orders that are not paid after timeout, and releases commodity resources. At present, many companies use Linux timing task scripts to implement timing task technology. The advantage of this is simplicity and fast development. Especially those who use PHP language to develop the system, the language itself is a scripting language, it is easy to use the operating system to complete the scheduled task function without additional development. The biggest problem with the existing technology is that there is a single point in the system, ...

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/4825G06F9/4843
Inventor 刘利
Owner MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
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