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

Business processing method and device based on thread pool

A business processing and thread pool technology, applied in the computer field, can solve problems such as thread processing that cannot support priority, asynchronous multi-data thread pool without weight function, and priority function.

Active Publication Date: 2017-06-06
CHINA UNIONPAY
View PDF8 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the asynchronous multi-data thread pool has no weight function and cannot support priority thread processing, so that the asynchronous multi-data thread pool cannot prioritize urgent tasks and important tasks
[0004] To sum up, the current thread pool processing system does not have a priority function when processing business

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
  • Business processing method and device based on thread pool
  • Business processing method and device based on thread pool
  • Business processing method and device based on thread pool

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments . 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.

[0059] figure 1 A schematic flowchart of a thread pool-based business processing method provided by an embodiment of the present invention, as shown in figure 1 shown, including the following steps:

[0060] S101: Receive the pending business and resolve the pending business into N tasks; N is greater than or equal to 1;

[0061]S102: According to the business type of the business to be processed, obtain the configuration file of the bus...

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 business processing method and device based on a thread pool. The method and device are used for making a thread pool processing system have the priority function when processing business. The business processing method includes the steps that business to be processed is received and analyzed into N tasks, wherein N is larger than or equal to 1; configuration files of the business to be processed are obtained according to business types of the business to be processed, wherein the configuration files include task queue information of the business to be processed and task priority of the various tasks analyzed by the business to be processed; the N tasks are put into task queues corresponding to the business to be processed according to the task priority of the various tasks, wherein the task queues have priority; the N tasks are sequentially put into the thread pool according to the task queue priority. Due to the task queue priority, business with higher priority is processed first. Besides, the tasks in the task queues also have priority so that the important tasks can be processed first.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a thread pool-based business processing method and device. Background technique [0002] Nowadays, with the vigorous development of the financial industry, the data pressure faced by the financial system, whether it is a real-time processing system or a batch processing system, is increasing. With the explosive growth of data, most financial systems have completed distributed storage of data, and related technologies are becoming more and more mature. Business processing is often accompanied by complex database operations. In order to realize the management of distributed databases and improve business processing efficiency, thread pool is a very effective business processing mechanism. [0003] At present, there are mainly two types of thread pool-based business processing systems: synchronous single-database thread pool system and asynchronous multi-data thread pool ...

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/48G06F9/50G06F17/30
CPCG06F9/4881G06F9/5038G06F16/2453
Inventor 吴文昊吕伊蒙冯哲
Owner CHINA UNIONPAY
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