Asynchronous batch task processing method and system

A batch task and task processing technology, applied in the field of data processing, can solve the problems of increasing waiting time, affecting user experience, long time, etc., to achieve the effect of reducing waiting time, shortening task processing time, and improving user experience

Active Publication Date: 2016-03-09
CHINA CONSTRUCTION BANK
View PDF7 Cites 69 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, it takes a long time to process these tasks. Correspondingly, the user's w

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
  • Asynchronous batch task processing method and system
  • Asynchronous batch task processing method and system
  • Asynchronous batch task processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0042] The flow of the batch task processing method disclosed in the embodiment of the present application is as follows: figure 1 shown, including:

[0043] Step S101: Receive an asynchronous batch task request, which includes the task type and event parameters of each task in the asynchronous batch task;

[0044] In this embodiment, the event receiver receives an asynchronous batch task request, which includes the asynchronous batch task request sent by the user in real time. In...

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 asynchronous batch task processing method and an asynchronous batch task processing system. The asynchronous batch task processing method comprises the steps of: receiving an asynchronous batch task request; generating event information corresponding to the batch task request according to event parameters; generating task information corresponding to the batch task request according to the type of the task; polling a task queue; when the tasks according with to-be-processed conditions are found and an idle thread exists, initiating a task execution thread for the tasks according with the to-be-processed conditions according to a preset order by using the idle thread to execute a task processing procedure, until all tasks in the task queue are processed. According to the asynchronous batch task processing method, the batch tasks are processed in an asynchronous task manner, the tasks in the queue are sequentially processed by making the batch tasks into the task queue, and sequentially processing the tasks in the queue when the idle thread exists, and thereby the asynchronous processing of the batch tasks is achieved, the task processing time is shortened, the user waiting time is reduced, and the user experience is promoted.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to an asynchronous batch task processing method and system. Background technique [0002] With the development of the economy, the banking system has entered people's daily life more and more widely. In order to serve users, banks have launched more and more various businesses. This makes the bank data processing system need to face huge data processing tasks. [0003] It takes a long time to process these tasks, and correspondingly, the user's waiting time will increase, thus affecting the user experience to a certain extent. [0004] How to deal with these tasks quickly and effectively has become the primary problem faced by the bank data processing system. Contents of the invention [0005] In view of this, the present application provides an asynchronous batch task processing method and system to achieve the purpose of quickly and efficiently processing tas...

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/48
CPCG06F9/4881
Inventor 杨林陈刚陈悌宇蒋玉树冯德虎
Owner CHINA CONSTRUCTION BANK
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