Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Distributed call system for timed tasks

A timed task and distributed technology, applied in the computer field, can solve the problems of consuming local service resources, not being able to manually intervene, and not being able to make full use of cluster resources, so as to make full use of cluster resources, save local service resources, and avoid single-point failures Effect

Active Publication Date: 2022-02-18
BEIJING 58 INFORMATION TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the task execution process is invisible, it is impossible to control the pre-perception of the execution progress of the task and whether the execution is terminated due to abnormality; and because the task is executed locally, that is, the execution of the task is in the same JRE (JavaRuntime Environment, Java Runtime Environment) as the application. ), the impact on the performance of the application itself cannot be controlled, and there is a high probability that the performance of the application service will drop sharply due to abnormal timing tasks; during the execution of the scheduled tasks, manual intervention cannot be performed for batch data processing; and due to the Created locally and executed jointly on all local nodes, resulting in inability to fully utilize cluster resources
[0004] To sum up, the scheduled tasks configured through the Spring annotation @Scheduled method have the following defects: prone to single point of failure; consume local service resources; difficult to supervise the task execution process; cannot make full use of cluster resources

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 call system for timed tasks
  • Distributed call system for timed tasks

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0038] figure 1 is a schematic structural diagram of a distributed call system for timed tasks provided by an embodiment of the present invention, as shown in figure 1 As shown, the distributed calling system of the timing task includes:

[0039] The client cluster 101 includes a plurality of client nodes, and the client nodes are used to obtain task registration information, send task registration information corresponding to the client clust...

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 present invention provides a distributed call system for timed tasks. The system includes: a client cluster, including a plurality of client nodes, which are used to obtain task registration information and send it to the server node, and also send heartbeat information to integrate the user's operation The command is sent to the server node; the server cluster, including multiple server nodes, is used to create a scheduled task; when the scheduled task trigger time is reached, the task execution node is determined, and the task execution node executes the scheduled task; a task execution monitoring interface is provided to receive customer End node operation instructions and perform operations on scheduled tasks; ZooKeeper clusters are used to save the status information of client nodes and server nodes; MongoDB clusters are used to save task registration information and save task execution nodes and servers corresponding to scheduled tasks The ID of the node. The invention avoids a single point of failure, saves local service resources, and realizes the supervision of the task execution process.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a distributed call system for timed tasks. Background technique [0002] In the prior art, when configuring a scheduled task, the scheduled task is generally configured through the Spring annotation @Scheduled, for example: the configured scheduled task is @Scheduled(cron="0 0 0 / 1**?"), that is, every hour Execute a scheduled task once, and the configured scheduled task is executed locally on the server. [0003] Because the task execution process is invisible, it is impossible to control the pre-perception of the execution progress of the task and whether the execution is terminated due to abnormality; and because the task is executed locally, that is, the execution of the task is in the same JRE (JavaRuntime Environment, Java Runtime Environment) as the application. ), the impact on the performance of the application itself cannot be controlled, and there is a high probabili...

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/50G06F9/48H04L43/08H04L43/10H04L67/10H04L67/133
CPCG06F9/5083G06F9/4843H04L43/08H04L43/10H04L67/10H04L67/133
Inventor 肖向徐
Owner BEIJING 58 INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products