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

Overtime task scheduling system and method

A task scheduling and task technology, applied in the Internet field, can solve problems such as increasing database pressure, wasting system resources, overtime tasks, etc., to achieve the effect of ensuring timeliness and saving system resources

Active Publication Date: 2021-04-20
ZHEJIANG KOUBEI NETWORK TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the timeout task scheduling mainly includes: the timer class that comes with JDK based on memory implementation; the timeout class based on database implementation. However, no matter whether it is memory implementation or persistence implementation, timeout tasks need to be polled. In general, Polling is performed at fixed time intervals. However, it is unreasonable to set the polling time interval too large or too small. If the time interval is set too large, the timeout task will time out seriously. If the time interval is set too small, the polling will be too short. Frequent, a waste of system resources, in addition, if it is a persistent timeout task, it will also increase the pressure on the database

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
  • Overtime task scheduling system and method
  • Overtime task scheduling system and method
  • Overtime task scheduling system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0040] figure 1 A schematic structural diagram of an overtime task scheduling system according to an embodiment of the present invention is shown. like figure 1 As shown, the system includes: a scheduling engine 100 and a plurality of overtime task executors 110, wherein each overtime task executor polls overtime tasks according to different time granularities;

[0041] The scheduling engine 100 is used to: provide overtime task ...

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 an overtime task scheduling system and method. Among them, the system includes: the scheduling engine provides overtime task registration service; according to the registration information or the end polling notification message returned by any overtime task executor, the overtime task is distributed to the corresponding overtime task executor or callback notification service is provided by using a preset algorithm ;The timeout task executor polls the timeout task at the time granularity of the timeout task executor according to the timeout task distributed by the scheduling engine, and returns a polling notification message to the scheduling engine after the polling ends, and polls at an irregular time interval The overtime task not only ensures the timeliness of the overtime task, can be called in time, but also saves system resources, overcomes the problem of serious timeout of the overtime task due to the time interval setting is too large when polling according to a fixed time interval, and If the time interval is set too small, the polling will be too frequent, which will cause waste of system resources and other problems.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an overtime task scheduling system and method. Background technique [0002] In the current marketing activities, there are many tasks that need to be triggered according to the specified time in the future, for example, the start time of the activity and the end time of the activity. For such tasks, a timeout task needs to be registered, and the corresponding business operation of the task will be called back after the timeout. [0003] At present, the timeout task scheduling mainly includes: the timer class that comes with JDK based on memory implementation; the timeout class based on database implementation. However, no matter whether it is memory implementation or persistence implementation, timeout tasks need to be polled. In general, Polling is performed at fixed time intervals. However, it is unreasonable to set the polling time interval too large or too small. If the...

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
CPCG06F9/4887
Inventor 王晓卫
Owner ZHEJIANG KOUBEI NETWORK 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