Batch task processing method and device and computer readable storage medium

A batch task and processing method technology, applied in the field of data transmission, can solve the problems of reduced task processing efficiency and inability to support centralized timing scheduling under multiple nodes at the same time, and achieve the effect of solving task processing efficiency reduction and improving task efficiency

Pending Publication Date: 2022-04-12
POSBANK
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a batch task processing method and its device, and a computer-readable storage medium, to at least solve the technical problem in the related art that the task processing efficiency is reduced due to the inability to simultaneously support multiple nodes under centralized timing scheduling

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
  • Batch task processing method and device and computer readable storage medium
  • Batch task processing method and device and computer readable storage medium
  • Batch task processing method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0034] According to an embodiment of the present invention, a method embodiment of a batch task processing method is provided, the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and, although in the flowchart The figures show a logical order, but in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0035] figure 1 is a flowchart of a batch task processing method according to an embodiment of the present invention, such as figure 1 As shown, the method includes the following steps:

[0036] Step S102, centrally trigger at least one target task in a predetermined manner, wherein the predetermined manner includes one of the following: polling mode and timing mode, the polling mode is a way of executing task triggers at predetermined intervals, and the timing mode is based on business needs The pre-set task trigger t...

Embodiment 2

[0067] According to another aspect of the embodiments of the present invention, a batch task processing device is also provided, image 3 is a schematic diagram of a batch task processing device according to an embodiment of the present invention, such as image 3 As shown, it includes: a trigger module 31 , an analysis module 33 and a first execution module 35 . The device for processing the batch task will be described below.

[0068] The triggering module 31 is used to centrally trigger at least one target task in a predetermined manner, wherein the predetermined manner includes one of the following: a polling manner and a timing manner, the polling manner is a manner of executing task triggers every predetermined period, and the timing manner is The method of executing task triggering according to the pre-set task trigger time point according to business requirements.

[0069] The parsing module 33 is configured to parse the at least one target task to obtain an execution ...

Embodiment 3

[0082] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, the computer-readable storage medium includes a stored computer program, wherein, when the computer program is run by a processor, the computer-readable storage medium is controlled A processing method for executing any one of the above-mentioned batch tasks.

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 batch task processing method and device and a computer readable storage medium. The method comprises the steps that at least one target task is triggered in a centralized mode in a preset mode, the preset mode comprises one of a polling mode and a timing mode, the polling mode is a mode of executing task triggering every preset period, and the timing mode is a mode of executing task triggering according to task triggering time points preset according to service requirements; the at least one target task is analyzed to obtain an execution mode of the at least one target task, and the execution mode comprises one of a concurrent mode and a non-concurrent mode; and executing at least one target task based on the execution mode. The technical problem that the task processing efficiency is reduced due to the fact that centralized timing scheduling under multiple nodes cannot be supported at the same time in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of data transmission, in particular to a batch task processing method and device thereof, and a computer-readable storage medium. Background technique [0002] At present, most of the timed tasks in the banking system can only be executed on a single machine. In the cluster mode, a type of timed task is only executed on one server, which causes a waste of server resources, and the current open source The scheduled task component Quartz uses the database lock mechanism to prevent the same scheduled task from running on multiple nodes at the same time, but in real scenarios, there are scenarios where the same scheduled task needs to be run on multiple nodes at the same time, so Quartz Not satisfied. [0003] Therefore, the method of timing triggering tasks in the existing technical field is firstly that it cannot be concurrent in the cluster mode, and secondly, it can only run on one node in the cluster mode, a...

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/50
Inventor 朱峰王飞龙李辉薛亮邓辉
Owner POSBANK
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
Try Eureka
PatSnap group products